|
@@ -135,10 +135,10 @@ function TaskDetail(props: IPropsType) {
|
|
|
<div className={styles.leftInfo}>
|
|
|
<Row style={{ marginBottom: '15px' }}>
|
|
|
<Col className={styles.fontS24} span={12}>
|
|
|
- 工单编号:{record.Id}
|
|
|
+ 工单编号:{record.Id || '-'}
|
|
|
</Col>
|
|
|
<Col className={styles.fontS24} span={12}>
|
|
|
- 时间:{record.CreateTime}
|
|
|
+ 时间:{record.CreateTime || '-'}
|
|
|
</Col>
|
|
|
</Row>
|
|
|
<Row>
|
|
@@ -147,14 +147,14 @@ function TaskDetail(props: IPropsType) {
|
|
|
<span style={{ color: '#5697e4' }}>
|
|
|
{typeof record.Status === 'number'
|
|
|
? '-'
|
|
|
- : record.Status.label}
|
|
|
+ : record.Status?.label}
|
|
|
</span>
|
|
|
</Col>
|
|
|
<Col className={styles.fontS24} span={12}>
|
|
|
工单负责人:
|
|
|
{typeof record.Responsible === 'number'
|
|
|
? '-'
|
|
|
- : record.Responsible.CName}
|
|
|
+ : record.Responsible?.CName}
|
|
|
</Col>
|
|
|
</Row>
|
|
|
</div>
|