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,
|
...item,
|
||||||
title: `${nickName}的${categoryTitle}`,
|
title: `${nickName}的${categoryTitle}`,
|
||||||
categoryTitle: categoryTitle,
|
categoryTitle: categoryTitle,
|
||||||
statusTitle: t(statusType.label),
|
statusTitle: t(statusType?.label),
|
||||||
statusColor: statusType.color,
|
statusColor: statusType?.color || 'default',
|
||||||
reason: summary || [],
|
reason: summary || [],
|
||||||
priorityTitle: priorityType.label,
|
priorityTitle: priorityType?.label,
|
||||||
priorityColor: priorityType.color,
|
priorityColor: priorityType?.color,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
const filterResult = result.filter((value) => {
|
const filterResult = result.filter((value) => {
|
||||||
@ -171,12 +171,12 @@ const changeUsersJobsService = (api, t, cm, compile, input, setData, params, fil
|
|||||||
...item,
|
...item,
|
||||||
title: `${nickName}的${categoryTitle}`,
|
title: `${nickName}的${categoryTitle}`,
|
||||||
categoryTitle: categoryTitle,
|
categoryTitle: categoryTitle,
|
||||||
statusTitle: t(statusType.label),
|
statusTitle: t(statusType?.label),
|
||||||
statusColor: statusType.color,
|
statusColor: statusType?.color || 'default',
|
||||||
statusIcon: statusType.icon,
|
statusIcon: statusType?.icon,
|
||||||
reason: [],
|
reason: [],
|
||||||
priorityTitle: priorityType.label,
|
priorityTitle: priorityType?.label,
|
||||||
priorityColor: priorityType.color,
|
priorityColor: priorityType?.color,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
const filterResult = result.filter((value) => {
|
const filterResult = result.filter((value) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user