MONSTER-ygh hai 11 meses
pai
achega
adef036f75
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  1. 5 4
      src/views/team/teamMr/index.vue

+ 5 - 4
src/views/team/teamMr/index.vue

@@ -152,21 +152,22 @@
             v-hasPermi="['teamMr:teamMr:delete']"
             v-if="(scope.row.checkStatus == 1 && name!=scope.row.createBy)||scope.row.checkStatus != 1"
           >删除</el-button>
-          <el-dropdown v-if="scope.row.checkStatus == 1" size="mini" @command="(command) => handleCommand(command, scope.row,scope.index)">
+          <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row,scope.index)">
             <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>
             <el-dropdown-menu slot="dropdown">
               <el-dropdown-item command="handleResetPwd" icon="el-icon-key"
+                v-if="scope.row.checkStatus == 1"
                 v-hasPermi="['teamMr:teamMr:resetting']">重置密码</el-dropdown-item>
               <el-dropdown-item command="rechargeBox" icon="el-icon-key"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy" 
+              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1" 
               v-hasPermi="['teamMr:teamMr:rechargeBox']"
                 >账户充值</el-dropdown-item>
               <el-dropdown-item command="creditGranting" icon="el-icon-circle-check"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy" 
+              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1" 
               v-hasPermi="['teamMr:teamMr:creditGranting']"
               >账户授信余额</el-dropdown-item>
               <el-dropdown-item command="creditGrantingBox" icon="el-icon-circle-check"
-              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy"
+              v-if="scope.row.checkStatus == 1 && name!=scope.row.createBy && scope.row.checkStatus == 1"
               v-hasPermi="['teamMr:teamMr:creditGrantingBox']" 
               >账户授信欠款</el-dropdown-item>
               <el-dropdown-item command="orderAll" icon="el-icon-circle-check"