1
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
import {listAllRole} from '/@/api/admin/role'
|
import {listAllRole} from '/@/api/admin/role'
|
||||||
import {Local, Session} from '/@/utils/storage';
|
import {Local, Session} from '/@/utils/storage';
|
||||||
import {useMessage} from "/@/hooks/message";
|
import {useMessage} from "/@/hooks/message";
|
||||||
import {querySchoolName} from "/@/api/admin/tenant"
|
// import {querySchoolName} from "/@/api/admin/tenant"
|
||||||
|
|
||||||
const visible=ref(false)
|
const visible=ref(false)
|
||||||
const radio=ref('')
|
const radio=ref('')
|
||||||
@@ -25,7 +25,7 @@ const allRole=reactive([])
|
|||||||
const schoolName=ref('')
|
const schoolName=ref('')
|
||||||
|
|
||||||
const open=()=>{
|
const open=()=>{
|
||||||
handleQuerySchoolName()
|
// handleQuerySchoolName()
|
||||||
listAllRole().then(res=>{
|
listAllRole().then(res=>{
|
||||||
Object.assign(allRole,res.data)
|
Object.assign(allRole,res.data)
|
||||||
radio.value=Local.get("roleCode")
|
radio.value=Local.get("roleCode")
|
||||||
@@ -43,11 +43,11 @@ const handleChangeRole=(label:any)=>{
|
|||||||
},500)
|
},500)
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleQuerySchoolName=()=>{
|
// const handleQuerySchoolName=()=>{
|
||||||
querySchoolName({id:Session.get("tenantId")}).then((res:any)=>{
|
// querySchoolName({id:Session.get("tenantId")}).then((res:any)=>{
|
||||||
schoolName.value=res.data
|
// schoolName.value=res.data
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
open
|
open
|
||||||
|
|||||||
Reference in New Issue
Block a user