刘洋 hace 1 año
padre
commit
6bfc519c1f

+ 26 - 0
src/views/sop/sop-manage/office-sop/index.vue

@@ -448,6 +448,9 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'service',
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'leadId',
@@ -455,12 +458,18 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'leadId',
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'customName',
       label: '客户名称',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'taskKey',
@@ -472,6 +481,9 @@ const fields = computed(() => {
         appStore
           .getFlowDetailByType('OFFICE_SOP_FLOW')
           ?.setupList?.map((item) => ({ value: item, label: item })) || [],
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'crmUserId',
@@ -479,6 +491,9 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'crmUserId',
+      attrs: {
+        clearable: true,
+      },
     },
 
     {
@@ -486,12 +501,18 @@ const fields = computed(() => {
       label: '项目名称',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'sopNo',
       label: 'sop号',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'fastSearch',
@@ -501,6 +522,7 @@ const fields = computed(() => {
       colSpan: 6,
       options: fastSearchOptions.value,
       attrs: {
+        clearable: true,
         onChange: (val) => {
           let item = fastSearchOptions.value.find((v) => v.id == val);
           let content = JSON.parse(item.content);
@@ -521,6 +543,7 @@ const fields = computed(() => {
       colSpan: 6,
       options: fastShowOptions.value,
       attrs: {
+        clearable: true,
         onChange: (val) => {
           let item = fastShowOptions.value.find((v) => v.id == val);
           originColumns.value = JSON.parse(item.content);
@@ -537,6 +560,9 @@ const fields = computed(() => {
         { value: true, label: '是' },
         { value: false, label: '否' },
       ],
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'buttons',

+ 26 - 0
src/views/sop/sop-manage/student-sop/index.vue

@@ -461,6 +461,9 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'service',
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'leadId',
@@ -468,12 +471,18 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'leadId',
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'customName',
       label: '客户名称',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'taskKey',
@@ -485,6 +494,9 @@ const fields = computed(() => {
         appStore
           .getFlowDetailByType('CLOUD_MARK_SOP_FLOW')
           ?.setupList?.map((item) => ({ value: item, label: item })) || [],
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'crmUserId',
@@ -492,6 +504,9 @@ const fields = computed(() => {
       labelWidth: 104,
       colSpan: 6,
       cell: 'crmUserId',
+      attrs: {
+        clearable: true,
+      },
     },
 
     {
@@ -499,12 +514,18 @@ const fields = computed(() => {
       label: '项目名称',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'sopNo',
       label: 'sop号',
       labelWidth: 104,
       colSpan: 6,
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'fastSearch',
@@ -514,6 +535,7 @@ const fields = computed(() => {
       colSpan: 6,
       options: fastSearchOptions.value,
       attrs: {
+        clearable: true,
         onChange: (val) => {
           let item = fastSearchOptions.value.find((v) => v.id == val);
           let content = JSON.parse(item.content);
@@ -534,6 +556,7 @@ const fields = computed(() => {
       colSpan: 6,
       options: fastShowOptions.value,
       attrs: {
+        clearable: true,
         onChange: (val) => {
           let item = fastShowOptions.value.find((v) => v.id == val);
           originColumns.value = JSON.parse(item.content);
@@ -550,6 +573,9 @@ const fields = computed(() => {
         { value: true, label: '是' },
         { value: false, label: '否' },
       ],
+      attrs: {
+        clearable: true,
+      },
     },
     {
       prop: 'buttons',