xinfeng 6 years ago
parent
commit
3c575d058b
1 changed files with 8 additions and 8 deletions
  1. 8 8
      pages/otherpage/companyVerifyInput/index.vue

+ 8 - 8
pages/otherpage/companyVerifyInput/index.vue

@@ -75,22 +75,22 @@
     },
     computed: {
       isSubmit() {
-        const { status } = this.dataInfo || {}
-        if ([ 1, 2 ].indexOf(Number(status)) !== -1) {
+        const { verify_status } = this.dataInfo || {}
+        if ([ 1, 2 ].indexOf(Number(verify_status)) !== -1) {
           return false
         }
         return true
       },
       calcBtnWord() {
-        let { status } = this.dataInfo || {}
-        status = Number(status || 0)
-        if (status === 0) {
+        let { verify_status } = this.dataInfo || {}
+        verify_status = Number(verify_status || 0)
+        if (verify_status === 0) {
           return '立即认证'
-        } else if (status === 1) {
+        } else if (verify_status === 1) {
           return '审核中'
-        } else if (status === 2) {
+        } else if (verify_status === 2) {
           return '认证通过'
-        } else if (status === 3) {
+        } else if (verify_status === 3) {
           return '立即认证'
         }
       }