feat
parent
ee34cebb5e
commit
2ef8e75130
|
|
@ -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>;
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue