This commit is contained in:
zhoutianchi
2025-12-31 12:58:09 +08:00
parent 92a4bdb115
commit ff0c0d4de8

View File

@@ -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