fix bug
This commit is contained in:
1 parent
49cda3df29
commit
5fb274ab24
1 file changed
+2
-2
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user