Ver código fonte

网点合同签约 状态改为中文

linwenxin 5 meses atrás
pai
commit
98426c8470

+ 7 - 4
src/views/setting/networkSigning/networkContractSigning/index.vue

@@ -198,7 +198,7 @@ export default {
           },
           formItemAttributes: {
             label: '个人实名状态',
-            prop: 'authStatus'
+            prop: 'authStatusText'
           }
         },
         {
@@ -381,7 +381,8 @@ export default {
           id: this.$route?.query?.id
         }).then(res => {
           this.formData = {
-            ...res.data
+            ...res.data,
+            authStatusText: { YES: '是', NO: '否' }[res.data.authStatus] || ''
           }
           this.$nextTick(() => {
             this.formType = 1
@@ -424,7 +425,8 @@ export default {
                 id: row.id
               }).then(res => {
                 this.formData = {
-                  ...res.data
+                  ...res.data,
+                  authStatusText: { YES: '是', NO: '否' }[res.data.authStatus] || ''
                 }
                 this.$nextTick(() => {
                   this.formType = 1
@@ -466,7 +468,8 @@ export default {
             id: row.id
           }).then(res => {
             this.formData = {
-              ...res.data
+              ...res.data,
+              authStatusText: { YES: '是', NO: '否' }[res.data.authStatus] || ''
             }
           })
         })