refactor(supervision): 优化隐患列表中整改负责人字段命名
- 将数据字段从 rectificationUserName 统一更改为 rectifyUserName - 更新表格列配置中的字段映射 - 更新详情表格中的字段引用 - 保持功能逻辑不变,仅调整代码一致性master
parent
8c4b1de441
commit
64cf00eccf
|
|
@ -236,7 +236,7 @@ const PrintModal = (props) => {
|
|||
render: (_, record) => record.hiddenFindTime ? dayjs(record.hiddenFindTime).format("YYYY-MM-DD HH:mm:ss") : "",
|
||||
},
|
||||
{ title: "确认人", dataIndex: "confirmUserName" },
|
||||
{ title: "整改负责人", dataIndex: "rectificationUserName" },
|
||||
{ title: "整改负责人", dataIndex: "rectifyUserName" },
|
||||
{ title: "隐患状态", dataIndex: "state", render: (_, record) => getLabelName({ list: HIDDEN_STATE_ENUM, status: record.state }) },
|
||||
{ title: "验收人", dataIndex: "hiddenYUserName" },
|
||||
]}
|
||||
|
|
@ -263,7 +263,7 @@ const PrintModal = (props) => {
|
|||
<td>{item.createName}</td>
|
||||
<td>{item.hiddenFindTime ? dayjs(item.hiddenFindTime).format("YYYY-MM-DD HH:mm:ss") : ""}</td>
|
||||
<td>{item.confirmUserName}</td>
|
||||
<td>{item.rectificationUserName}</td>
|
||||
<td>{item.rectifyUserName}</td>
|
||||
<td>{getLabelName({ list: HIDDEN_STATE_ENUM, status: item.state })}</td>
|
||||
<td>{item.hiddenYUserName}</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue