1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user