fix: 移动端我的发起和抄送没有数据 (#1368)
Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Reviewed-on: daoyoucloud/tachybase#1368 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
16bb3ff31d
commit
27ce763165
@ -112,11 +112,11 @@ const changService = (api, setData, user, filter, t, setDefaultData, cm, compile
|
||||
...item,
|
||||
title: `${user.data.data.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,
|
||||
};
|
||||
});
|
||||
result.sort((a, b) => {
|
||||
@ -125,7 +125,6 @@ const changService = (api, setData, user, filter, t, setDefaultData, cm, compile
|
||||
setData(result);
|
||||
setDefaultData(result);
|
||||
})
|
||||
|
||||
.catch(() => {
|
||||
console.error;
|
||||
});
|
||||
|
@ -243,11 +243,11 @@ export const changeWorkflowNoticeService = (api, t, cm, compile, input, setData,
|
||||
...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,
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user