fix: 修改移动端审批待办没有数据 (#1376)
Reviewed-on: daoyoucloud/tachybase#1376 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: wjh <wwwjh0710@163.com> Co-committed-by: wjh <wwwjh0710@163.com>
This commit is contained in:
parent
88e9c50000
commit
bc563534a3
@ -127,11 +127,11 @@ const changeApprovalRecordsService = (api, params, filter, cm, compile, t, setDa
|
||||
...item,
|
||||
title: `${nickName}的${categoryTitle}`,
|
||||
categoryTitle: categoryTitle,
|
||||
statusTitle: t(statusType.label),
|
||||
statusColor: statusType.color,
|
||||
statusTitle: t(statusType?.label),
|
||||
statusColor: statusType?.color || 'default',
|
||||
reason: summary || [],
|
||||
priorityTitle: priorityType.label,
|
||||
priorityColor: priorityType.color,
|
||||
priorityTitle: priorityType?.label,
|
||||
priorityColor: priorityType?.color,
|
||||
};
|
||||
});
|
||||
const filterResult = result.filter((value) => {
|
||||
@ -171,12 +171,12 @@ const changeUsersJobsService = (api, t, cm, compile, input, setData, params, fil
|
||||
...item,
|
||||
title: `${nickName}的${categoryTitle}`,
|
||||
categoryTitle: categoryTitle,
|
||||
statusTitle: t(statusType.label),
|
||||
statusColor: statusType.color,
|
||||
statusIcon: statusType.icon,
|
||||
statusTitle: t(statusType?.label),
|
||||
statusColor: statusType?.color || 'default',
|
||||
statusIcon: statusType?.icon,
|
||||
reason: [],
|
||||
priorityTitle: priorityType.label,
|
||||
priorityColor: priorityType.color,
|
||||
priorityTitle: priorityType?.label,
|
||||
priorityColor: priorityType?.color,
|
||||
};
|
||||
});
|
||||
const filterResult = result.filter((value) => {
|
||||
|
Loading…
Reference in New Issue
Block a user