Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions apps/app-pc/src/pages/todo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,22 @@ const TodoPage: React.FC = () => {
{
dataIndex: 'currentOperatorName',
title: '审批人',
render: (value, record) => {
// 已办记录展示「谁办的」(办理人,issue #306);历史数据没有办理人时回退到待办归属人。
return record.recordState ? (record.handleOperatorName || value) : value;
}
},
{
dataIndex: 'currentOperatorIdentity',
title: '身份',
render: (value) => {
// 记录归属身份(留痕信息):空表示默认身份(issue #288)。
// 列表本身不按身份过滤(issue #297),该列仅用于展示这条记录落在哪个身份下。
return value || '默认身份';
render: (value, record) => {
// 已办记录优先展示「以什么身份办的」(issue #306),
// 历史数据与待办记录展示待办归属身份(issue #288),空表示默认身份。
// 列表本身不按身份过滤(issue #297),该列仅用于展示留痕信息。
const identity = record.recordState
? (record.handleOperatorIdentity || record.currentOperatorIdentity)
: record.currentOperatorIdentity;
return identity || '默认身份';
}
},
{
Expand Down