dev_1.0.1
tangjie 2026-07-07 15:45:52 +08:00
parent ee34cebb5e
commit 2ef8e75130
3 changed files with 11 additions and 4 deletions

View File

@ -172,8 +172,8 @@ function PersonnelChangePage(props) {
width: 140, width: 140,
render: (_, record) => { render: (_, record) => {
const code = record.resignAuditStatus ?? record.auditStatus ?? record.auditStatusCode; const code = record.resignAuditStatus ?? record.auditStatus ?? record.auditStatusCode;
const label = RESIGN_AUDIT_STATUS_LABEL[code] ?? "-"; return RESIGN_AUDIT_STATUS_LABEL[code] ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
return <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag>;
}, },
}, },
{ {

View File

@ -91,7 +91,11 @@ export default function BasicInfoStep({ form, disabled }) {
</Form.Item> </Form.Item>
</Col> </Col>
<Col span={12}> <Col span={12}>
<Form.Item name="workplaceArea" label="工作场所建筑面积(㎡)"> <Form.Item
name="workplaceArea"
label="工作场所建筑面积(㎡)"
rules={[{ required: !disabled, message: "请输入工作场所建筑面积" }]}
>
<InputNumber style={{ width: "100%" }} min={0} placeholder="㎡" /> <InputNumber style={{ width: "100%" }} min={0} placeholder="㎡" />
</Form.Item> </Form.Item>
</Col> </Col>

View File

@ -151,7 +151,10 @@ function FilingFormPage(props) {
delete params.materials; delete params.materials;
} }
if (params.personnelList) { if (params.personnelList) {
body[`qualFilingPersonnel${word}AddCmds`] = params.personnelList; body[`qualFilingPersonnel${word}AddCmds`] = params.personnelList.map((item) => ({
...item,
personName: item.userName,
}));
delete params.personnelList; delete params.personnelList;
} }
if (params.equipmentList) { if (params.equipmentList) {