3
0

2 Коммиты 72520198d3 ... b338e73d55

Автор SHA1 Сообщение Дата
  kyoyue b338e73d55 Merge branch 'master' of http://git.ascrm.cn:3000/scrm/wechat-ui 5 месяцев назад
  kyoyue 1c068b7edf fix 5 месяцев назад
1 измененных файлов с 20 добавлено и 19 удалено
  1. 20 19
      src/views/wechat/batch_msg/components/userPhasesDrawer.vue

+ 20 - 19
src/views/wechat/batch_msg/components/userPhasesDrawer.vue

@@ -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 {