diff --git a/src/views/admin/system/role/changeRole-fir.vue b/src/views/admin/system/role/changeRole-fir.vue index f8d1132..7894ea1 100644 --- a/src/views/admin/system/role/changeRole-fir.vue +++ b/src/views/admin/system/role/changeRole-fir.vue @@ -17,7 +17,7 @@ import {listAllRole} from '/@/api/admin/role' import {Local, Session} from '/@/utils/storage'; import {useMessage} from "/@/hooks/message"; -import {querySchoolName} from "/@/api/admin/tenant" +// import {querySchoolName} from "/@/api/admin/tenant" const visible=ref(false) const radio=ref('') @@ -25,7 +25,7 @@ const allRole=reactive([]) const schoolName=ref('') const open=()=>{ - handleQuerySchoolName() + // handleQuerySchoolName() listAllRole().then(res=>{ Object.assign(allRole,res.data) radio.value=Local.get("roleCode") @@ -43,11 +43,11 @@ const handleChangeRole=(label:any)=>{ },500) } -const handleQuerySchoolName=()=>{ - querySchoolName({id:Session.get("tenantId")}).then((res:any)=>{ - schoolName.value=res.data - }) -} +// const handleQuerySchoolName=()=>{ +// querySchoolName({id:Session.get("tenantId")}).then((res:any)=>{ +// schoolName.value=res.data +// }) +// } defineExpose({ open