feat
parent
ee34cebb5e
commit
2ef8e75130
|
|
@ -172,8 +172,8 @@ function PersonnelChangePage(props) {
|
|||
width: 140,
|
||||
render: (_, record) => {
|
||||
const code = record.resignAuditStatus ?? record.auditStatus ?? record.auditStatusCode;
|
||||
const label = RESIGN_AUDIT_STATUS_LABEL[code] ?? "-";
|
||||
return <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag>;
|
||||
return RESIGN_AUDIT_STATUS_LABEL[code] ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
|
||||
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -91,7 +91,11 @@ export default function BasicInfoStep({ form, disabled }) {
|
|||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={12}>
|
||||
<Form.Item name="workplaceArea" label="工作场所建筑面积(㎡)">
|
||||
<Form.Item
|
||||
name="workplaceArea"
|
||||
label="工作场所建筑面积(㎡)"
|
||||
rules={[{ required: !disabled, message: "请输入工作场所建筑面积" }]}
|
||||
>
|
||||
<InputNumber style={{ width: "100%" }} min={0} placeholder="㎡" />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
|
|
|
|||
|
|
@ -151,7 +151,10 @@ function FilingFormPage(props) {
|
|||
delete params.materials;
|
||||
}
|
||||
if (params.personnelList) {
|
||||
body[`qualFilingPersonnel${word}AddCmds`] = params.personnelList;
|
||||
body[`qualFilingPersonnel${word}AddCmds`] = params.personnelList.map((item) => ({
|
||||
...item,
|
||||
personName: item.userName,
|
||||
}));
|
||||
delete params.personnelList;
|
||||
}
|
||||
if (params.equipmentList) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue