mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
提交
This commit is contained in:
@@ -1727,11 +1727,14 @@ import {downLoadZip} from "@/utils/zipdownload";
|
|||||||
state.permissionId = ''
|
state.permissionId = ''
|
||||||
state.checkclick = []
|
state.checkclick = []
|
||||||
}
|
}
|
||||||
const getByUserId = async () => {
|
// const getByUserIds = async () => {
|
||||||
await getByUserId().then(res=>{
|
// 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 () => {
|
const powerTrue = async () => {
|
||||||
state.powerStatus.permission = state.checkclick.join(",")
|
state.powerStatus.permission = state.checkclick.join(",")
|
||||||
if(state.permissionId){
|
if(state.permissionId){
|
||||||
@@ -1748,6 +1751,7 @@ import {downLoadZip} from "@/utils/zipdownload";
|
|||||||
message.success('启用成功')
|
message.success('启用成功')
|
||||||
listData()
|
listData()
|
||||||
saveListItem()
|
saveListItem()
|
||||||
|
getByUserIds()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -1785,7 +1789,7 @@ import {downLoadZip} from "@/utils/zipdownload";
|
|||||||
powerSetting,
|
powerSetting,
|
||||||
of_power,
|
of_power,
|
||||||
powerTrue,
|
powerTrue,
|
||||||
getByUserId,
|
getByUserIds,
|
||||||
textDeleteAdd,
|
textDeleteAdd,
|
||||||
searchStatusVal2,
|
searchStatusVal2,
|
||||||
serchList,
|
serchList,
|
||||||
|
|||||||
Reference in New Issue
Block a user