|
@@ -42,19 +42,19 @@
|
|
|
:options="accountList"
|
|
|
></Select>
|
|
|
</FormItem>
|
|
|
- <FormItem
|
|
|
- label="客户标签"
|
|
|
- name="labels"
|
|
|
- :rules="[{ required: true, message: '请选择' }]"
|
|
|
- >
|
|
|
+ <FormItem label="客户标签" name="labels">
|
|
|
<FormItem>
|
|
|
<Checkbox
|
|
|
- :disabled="btnDisabled"
|
|
|
- v-model:checked="form.checked"
|
|
|
- @change="handleSelectAll('labels', 'checked')"
|
|
|
- >
|
|
|
- 全选
|
|
|
- </Checkbox>
|
|
|
+ :disabled="btnDisabled"
|
|
|
+ v-model:checked="form.checked"
|
|
|
+ @change="handleSelectAll('labels', 'checked')"
|
|
|
+ >
|
|
|
+ 全选
|
|
|
+ </Checkbox>
|
|
|
+ <Tooltip>
|
|
|
+ <template #title>全选勾选后,包含所有联系人</template>
|
|
|
+ <QuestionCircleOutlined />
|
|
|
+ </Tooltip>
|
|
|
</FormItem>
|
|
|
|
|
|
<Select
|
|
@@ -71,19 +71,19 @@
|
|
|
></Select>
|
|
|
<!-- <span v-show="form.labels.length === 0" class="warning-style">请选择标签</span> -->
|
|
|
</FormItem>
|
|
|
- <FormItem
|
|
|
- label="客群标签"
|
|
|
- name="groupLabels"
|
|
|
- :rules="[{ required: true, message: '请选择' }]"
|
|
|
- >
|
|
|
+ <FormItem label="客群标签" name="groupLabels">
|
|
|
<FormItem>
|
|
|
<Checkbox
|
|
|
- :disabled="btnDisabled"
|
|
|
+ :disabled="btnDisabled"
|
|
|
v-model:checked="form.checked1"
|
|
|
@change="handleSelectAll('groupLabels', 'checked1')"
|
|
|
>
|
|
|
全选
|
|
|
</Checkbox>
|
|
|
+ <Tooltip>
|
|
|
+ <template #title>全选勾选后,包含所有群组</template>
|
|
|
+ <QuestionCircleOutlined />
|
|
|
+ </Tooltip>
|
|
|
</FormItem>
|
|
|
<Select
|
|
|
:disabled="btnDisabled || form.checked1"
|
|
@@ -174,6 +174,7 @@
|
|
|
SelectOptGroup,
|
|
|
SelectOption,
|
|
|
Checkbox,
|
|
|
+ Tooltip,
|
|
|
} from 'ant-design-vue';
|
|
|
import type { FormInstance } from 'ant-design-vue';
|
|
|
import { getLabelSelectList } from '@/api/wechat/label';
|
|
@@ -181,7 +182,7 @@
|
|
|
import MsgContant from './msgContant.vue';
|
|
|
import { getWxList } from '@/api/wechat/wx';
|
|
|
import { createBatchMsg, getBatchMsgById } from '@/api/wechat/batchMsg';
|
|
|
- import { UserOutlined, TeamOutlined } from '@ant-design/icons-vue';
|
|
|
+ import { UserOutlined, TeamOutlined,QuestionCircleOutlined } from '@ant-design/icons-vue';
|
|
|
const props = defineProps<{
|
|
|
visible: boolean;
|
|
|
msgId: {
|
|
@@ -377,7 +378,7 @@
|
|
|
// labels = (data.data?.labels ?? '').split(',') || [];
|
|
|
labels = data.data?.labels || [];
|
|
|
}
|
|
|
- if (data.data?.groupLabels.length === 1 && data.data?.groupLabels[0] === 0) {
|
|
|
+ if (data.data?.groupLabels.length === 1 && data.data?.groupLabels[0] === 0) {
|
|
|
checked1 = true;
|
|
|
groupLabels = actionLabelGroup.value;
|
|
|
} else {
|