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({