diff --git a/apps/app-pc/src/pages/todo.tsx b/apps/app-pc/src/pages/todo.tsx index d3da81d..1c44ed3 100644 --- a/apps/app-pc/src/pages/todo.tsx +++ b/apps/app-pc/src/pages/todo.tsx @@ -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 || '默认身份'; } }, {