关掉代码上部门和租户判断

This commit is contained in:
RenCheng 2025-03-09 16:51:00 +08:00
parent cd5525b11e
commit e0bff81b85

View File

@ -104,11 +104,11 @@
// }); // });
this.isMultiDepart = false this.isMultiDepart = false
}else if(multi_depart==2){ }else if(multi_depart==2){
this.visible=true // this.visible=true
this.isMultiDepart = true // this.isMultiDepart = true
this.departList = loginResult.departs // this.departList = loginResult.departs
}else { }else {
this.isMultiDepart = false // this.isMultiDepart = false
} }
}, },
bizTenant(ids){ bizTenant(ids){
@ -118,11 +118,11 @@
this.tenant_id = ids; this.tenant_id = ids;
this.isMultiTenant = false this.isMultiTenant = false
}else{ }else{
this.visible = true // this.visible = true
this.isMultiTenant = true // this.isMultiTenant = true
getAction('/sys/tenant/queryList', {ids: ids}).then(res=>{ // getAction('/sys/tenant/queryList', {ids: ids}).then(res=>{
this.tenantList = res.result // this.tenantList = res.result
}) // })
} }
}, },
show(loginResult){ show(loginResult){