我的申请 数据过滤
This commit is contained in:
1 parent
3913e0e702
commit
49cda3df29
1 file changed
+5
-2
@@ -198,7 +198,6 @@
|
||||
|
||||
isViewDrawerShown: false,
|
||||
viewItem: {},
|
||||
userId: '<$ ctx.userInfo.userId $>',
|
||||
taskStatusColor:{
|
||||
'已通过': 'primary',
|
||||
'已拒绝': 'red',
|
||||
@@ -248,13 +247,17 @@
|
||||
|
||||
async getTableData() {
|
||||
this.isTableLoading = true;
|
||||
var where = {}
|
||||
if(this.constantObj.userGroupRoleList.includes('超级管理员')){
|
||||
where.taskInitUser = '<$ ctx.userInfo.userId $>'
|
||||
}
|
||||
const result = await window.jianghuAxios({
|
||||
data: {
|
||||
appData: {
|
||||
pageId: 'taskManagement',
|
||||
actionId: 'selectItemList',
|
||||
actionData: {},
|
||||
where:{taskInitUser: this.userId},
|
||||
where: where,
|
||||
orderBy: [{ column: 'operationAt', order: 'desc' }]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user