diff --git a/src/views/evaluation/evaluationUpload.vue b/src/views/evaluation/evaluationUpload.vue index f756f9b1..ebc804e7 100644 --- a/src/views/evaluation/evaluationUpload.vue +++ b/src/views/evaluation/evaluationUpload.vue @@ -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,