Quellcode durchsuchen

控制删除按钮权限,确权修改

xuefy vor 3 Jahren
Ursprung
Commit
3561cb7e90

+ 4 - 4
front-vue/src/views/service/credit/confirmationAudit.vue

@@ -1085,11 +1085,11 @@ export default {
     //确权
     confirmApproval(){
         //核心确权通过,直接盖章
-        if(this.form.zfiCoreStatus == '01'){
+        /* if(this.form.zfiCoreStatus == '01'){
             //预览文件
             this.getContractFile(false);
-        }else{
-                this.$refs["form"].validate(valid => {
+        }else{ */
+            this.$refs["form"].validate(valid => {
                 
                 if(!this.form.zfiCoreQuotaId){
                         this.$message({
@@ -1157,7 +1157,7 @@ export default {
                         });
                 }
             });
-        }
+        //}
 
          
     },

+ 1 - 1
front-vue/src/views/system/user/index.vue

@@ -83,7 +83,7 @@
                   scope.row.handleChange == '00' &&
                   company.scyId == '000000'
                 ">确认变更经办人</el-button>
-                            <el-button v-if="scope.row.userId !== 1" class="zap-button-confirmation" size="mini" type="text" @click="handleDelete(scope.row)" v-hasPermi="['system:user:remove']">删除</el-button>
+                            <el-button v-if="scope.row.userId !== 1 && scope.row.sucrHandler == '0'" class="zap-button-confirmation" size="mini" type="text" @click="handleDelete(scope.row)" v-hasPermi="['system:user:remove']">删除</el-button>
                             <el-button v-if="scope.row.status == '0'" class="zap-button-plain" size="mini" type="text" @click="handleResetPwd(scope.row)" v-hasPermi="['system:user:resetPwd']">重置</el-button>
                             <el-button v-if="scope.row.status != '0'" class="zap-button-primary" size="mini" type="text" @click="handleStatusChange(scope.row)" v-hasPermi="['system:user:statusChange']">解冻</el-button>
                         </template>