bug修护
parent
8d08ce35fc
commit
3d637b6592
|
|
@ -181,8 +181,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;
|
||||||
return RESIGN_AUDIT_STATUS_LABEL[code] ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
|
const label = RESIGN_AUDIT_STATUS_LABEL[code];
|
||||||
|
return label ? <Tag color={AUDIT_STATUS_COLOR[code]}>{label}</Tag> : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue