From 5fb274ab242237af341a6c90dc297c179844a076 Mon Sep 17 00:00:00 2001 From: cxx Date: Fri, 17 May 2024 15:20:20 +0800 Subject: [PATCH] fix bug --- app/view/page/taskManagement.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/view/page/taskManagement.html b/app/view/page/taskManagement.html index 3d9c2e1..124fb09 100644 --- a/app/view/page/taskManagement.html +++ b/app/view/page/taskManagement.html @@ -215,8 +215,8 @@ watch: { }, mounted() { - this.doUiAction('getTableData'); this.constantObj.userGroupRoleList = window.userInfo.userGroupRoleList.map(item=>item.groupId) + this.doUiAction('getTableData'); }, methods: { async doUiAction(uiActionId, uiActionData) { @@ -248,7 +248,7 @@ async getTableData() { this.isTableLoading = true; var where = {} - if(this.constantObj.userGroupRoleList.includes('超级管理员')){ + if(!this.constantObj.userGroupRoleList.includes('超级管理员')){ where.taskInitUser = '<$ ctx.userInfo.userId $>' } const result = await window.jianghuAxios({