fix bug
This commit is contained in:
1 parent
49cda3df29
commit
5fb274ab24
1 file changed
+2
-2
@@ -215,8 +215,8 @@
|
|||||||
watch: {
|
watch: {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.doUiAction('getTableData');
|
|
||||||
this.constantObj.userGroupRoleList = window.userInfo.userGroupRoleList.map(item=>item.groupId)
|
this.constantObj.userGroupRoleList = window.userInfo.userGroupRoleList.map(item=>item.groupId)
|
||||||
|
this.doUiAction('getTableData');
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(uiActionId, uiActionData) {
|
async doUiAction(uiActionId, uiActionData) {
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
async getTableData() {
|
async getTableData() {
|
||||||
this.isTableLoading = true;
|
this.isTableLoading = true;
|
||||||
var where = {}
|
var where = {}
|
||||||
if(this.constantObj.userGroupRoleList.includes('超级管理员')){
|
if(!this.constantObj.userGroupRoleList.includes('超级管理员')){
|
||||||
where.taskInitUser = '<$ ctx.userInfo.userId $>'
|
where.taskInitUser = '<$ ctx.userInfo.userId $>'
|
||||||
}
|
}
|
||||||
const result = await window.jianghuAxios({
|
const result = await window.jianghuAxios({
|
||||||
|
|||||||
Reference in new issue
Block a user