luzhenxing hace 6 días
padre
commit
dc71e24b6d

+ 0 - 9
src/views/wechat/contact/contact.data.ts

@@ -169,7 +169,6 @@ export const formSchema: FormSchema[] = [
     field: 'cname',
     label: t('whatsapp_contact.whatsappContact.cname'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'sex',
@@ -182,43 +181,36 @@ export const formSchema: FormSchema[] = [
         { label: '女', value: 2 },
       ],
     },
-    required: true,
   },
   {
     field: 'ctitle',
     label: t('whatsapp_contact.whatsappContact.ctitle'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cage',
     label: t('whatsapp_contact.whatsappContact.cage'),
     component: 'InputNumber',
-    required: true,
   },
   {
     field: 'cbirthday',
     label: t('whatsapp_contact.whatsappContact.cbirthday'),
     component: 'DatePicker',
-    required: true,
   },
   {
     field: 'carea',
     label: t('whatsapp_contact.whatsappContact.carea'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cbirtharea',
     label: t('whatsapp_contact.whatsappContact.cbirtharea'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cidcardNo',
     label: t('whatsapp_contact.whatsappContact.cidcardNo'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'markname',
@@ -231,7 +223,6 @@ export const formSchema: FormSchema[] = [
         maxRows: 5
       }
     },
-    required: true,
   },
 ];
 

+ 1 - 0
src/views/whatsapp/whatsapp_batch/WhatsappBatchDrawer.vue

@@ -91,6 +91,7 @@
   const templateList = ref<any[]>([]);
   const templateOptions = ref<SelectOption[]>([]);
 
+
   // 初始化表单数据
   const form = reactive<FormState>({
     taskName: '',

+ 0 - 11
src/views/whatsapp/whatsapp_contact/whatsappContact.data.ts

@@ -117,19 +117,16 @@ export const formSchema: FormSchema[] = [
     componentProps: {
       options: countryCodeList,
     },
-    required: true,
   },
   {
     field: 'phone',
     label: t('whatsapp_contact.whatsappContact.phone'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cname',
     label: t('whatsapp_contact.whatsappContact.cname'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'sex',
@@ -142,43 +139,36 @@ export const formSchema: FormSchema[] = [
         { label: '女', value: 2 },
       ],
     },
-    required: true,
   },
   {
     field: 'ctitle',
     label: t('whatsapp_contact.whatsappContact.ctitle'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cage',
     label: t('whatsapp_contact.whatsappContact.cage'),
     component: 'InputNumber',
-    required: true,
   },
   {
     field: 'cbirthday',
     label: t('whatsapp_contact.whatsappContact.cbirthday'),
     component: 'DatePicker',
-    required: true,
   },
   {
     field: 'carea',
     label: t('whatsapp_contact.whatsappContact.carea'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cbirtharea',
     label: t('whatsapp_contact.whatsappContact.cbirtharea'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'cidcardNo',
     label: t('whatsapp_contact.whatsappContact.cidcardNo'),
     component: 'Input',
-    required: true,
   },
   {
     field: 'markname',
@@ -191,7 +181,6 @@ export const formSchema: FormSchema[] = [
         maxRows: 5
       }
     },
-    required: true,
   },
 ];