Browse Source

no message

linwenxin 2 months ago
parent
commit
f8b424a8ae

+ 11 - 4
src/views/setting/difficultyFee/difficultyExpenseApproval/InsuranceContractForm.vue

@@ -281,8 +281,8 @@ export default {
           md: 6,
           name: 'el-radio',
           options: [
-            { label: '是', value: '1' },
-            { label: '否', value: '2' }
+            { label: '是', value: 1 },
+            { label: '否', value: 2 }
           ],
           attributes: {
             disabled: [2, 3].includes(this.type)
@@ -355,8 +355,7 @@ export default {
         },
         {
           md: 6,
-          name: 'el-radio',
-          options: [],
+          name: 'el-input',
           attributes: {
             disabled: [3].includes(this.type)
           },
@@ -391,6 +390,14 @@ export default {
     }).then(res => {
       this.formData = { ...res.data }
       this.formDialog = true
+      if ([2].includes(this.type)) {
+        this.formData1 = {
+          ...this.formData?.workerInvolveApplyItems?.[0]
+          // appealUrl: this.formData?.workerInvolveApplyItems?.[0]?.appealUrl
+          //   ? res1.data.leLetterItems?.[0]?.appealUrl.split(',').map(url => ({ url }))
+          //   : []
+        }
+      }
     })
   },
   methods: {