From c88cf51bbf981349719ea32484c6b564cd57d051 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 17 Apr 2024 14:30:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/evaluation/evaluationUpload.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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,