Преглед изворни кода

fix(会员信息管理):按钮状态修改

sufan пре 2 месеци
родитељ
комит
14fa3c497d
1 измењених фајлова са 8 додато и 12 уклоњено
  1. 8 12
      src/views/cyAccountManage/memberInfoManage/mainContent.vue

+ 8 - 12
src/views/cyAccountManage/memberInfoManage/mainContent.vue

@@ -218,7 +218,7 @@ export default {
                 icon: 'iconfont icon-shenhe',
                 power: 'addBocomVip',
                 tabPower: ['all'],
-                rowPower: ['核验成功'],
+                rowPower: ['核验成功'], // 客户核验状态  - 核验成功
                 category: 'addAccount'
               },
               {
@@ -226,11 +226,11 @@ export default {
                 icon: 'iconfont icon-xiugai',
                 power: 'updateBocom',
                 tabPower: ['all'],
-                rowPower: ['待生效', '生效'],
+                rowPower: [''],
                 category: 'finishEdit'
               },
               {
-                msg: '修改',
+                msg: 'B端新增的修改',
                 icon: 'iconfont icon-xiugai',
                 power: '',
                 tabPower: ['entered', 'pending'],
@@ -249,7 +249,7 @@ export default {
                 icon: 'iconfont icon-finish',
                 power: 'terminationBocom',
                 tabPower: ['all'],
-                rowPower: ['终止'],
+                rowPower: ['审核中', '审批退回', '开户中', ''],
                 category: 'stop'
               },
               {
@@ -257,7 +257,7 @@ export default {
                 icon: 'iconfont icon-shuaxin',
                 power: 'researchBocomInfo',
                 tabPower: ['all'],
-                rowPower: ['待生效', '生效'],
+                rowPower: ['开户中', ''], //
                 category: 'requery'
               }
             ]
@@ -296,14 +296,10 @@ export default {
         const { tabPower, rowPower } = item
         if (rowPower && rowPower.length) {
           if (tabPower.includes(tab)) {
-            if (row.stageStr === '终止') {
-              return false
-            } else if (row.stageStr === '暂存' || row.stageStr === '审批退回' || row.stageStr === '审核中') {
-              return rowPower.includes(row.stageStr)
-            } else if (row.verificationStatus === '核验成功') {
-              return row.customerStatus === '生效' && rowPower.includes(row.verificationStatus)
+            if (row.verificationStatus === '核验成功') {
+              return rowPower.includes(row.verificationStatus)
             } else {
-              return rowPower.includes(row.customerStatus)
+              return rowPower.includes(row.stageStr)
             }
           }
         } else {