mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 10:56:46 +08:00
提交
This commit is contained in:
@@ -1727,11 +1727,14 @@ import {downLoadZip} from "@/utils/zipdownload";
|
||||
state.permissionId = ''
|
||||
state.checkclick = []
|
||||
}
|
||||
const getByUserId = async () => {
|
||||
await getByUserId().then(res=>{
|
||||
// const getByUserIds = async () => {
|
||||
// const roleCode = userInfo.value
|
||||
// const roleId = roleCode.roleList.find(item=>item.roleCode=='quiz-admin') || null
|
||||
// const isQuizAdmin = roleId ? 1 : 0
|
||||
// await getByUserId({loginId:roleCode.userId,roleId,isQuizAdmin}).then(res=>{
|
||||
|
||||
})
|
||||
}
|
||||
// })
|
||||
// }
|
||||
const powerTrue = async () => {
|
||||
state.powerStatus.permission = state.checkclick.join(",")
|
||||
if(state.permissionId){
|
||||
@@ -1748,6 +1751,7 @@ import {downLoadZip} from "@/utils/zipdownload";
|
||||
message.success('启用成功')
|
||||
listData()
|
||||
saveListItem()
|
||||
getByUserIds()
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -1785,7 +1789,7 @@ import {downLoadZip} from "@/utils/zipdownload";
|
||||
powerSetting,
|
||||
of_power,
|
||||
powerTrue,
|
||||
getByUserId,
|
||||
getByUserIds,
|
||||
textDeleteAdd,
|
||||
searchStatusVal2,
|
||||
serchList,
|
||||
|
||||
Reference in New Issue
Block a user