|
|
@ -95,7 +95,7 @@ const PatrolRecord = (props) => { |
|
|
|
dataIndex: 'describe', |
|
|
|
showInDetail: true, |
|
|
|
key: 'describe', |
|
|
|
render: (text, record, index) => moment(record.lastInspectionTime).format('YYYY-MM-DD HH:mm:ss') || '--' |
|
|
|
render: (text, record, index) => record.lastInspectionTime ? moment(record.lastInspectionTime).format('YYYY-MM-DD HH:mm:ss') : '--' |
|
|
|
}, { |
|
|
|
title: '本次巡检日期', |
|
|
|
dataIndex: 'describe', |
|
|
@ -217,8 +217,8 @@ const PatrolRecord = (props) => { |
|
|
|
dataArr.push( |
|
|
|
<> |
|
|
|
<Row> |
|
|
|
<Col span={4} style={{}}>{k} :</Col> |
|
|
|
<Col span={20}> |
|
|
|
<Col span={5} style={{}}>{k} :</Col> |
|
|
|
<Col span={19}> |
|
|
|
{ |
|
|
|
inspectContent[k].isNormal ? '正常' : |
|
|
|
<Collapse ghost style={{ padding: 0 }}> |
|
|
@ -227,7 +227,7 @@ const PatrolRecord = (props) => { |
|
|
|
<Col span={4} style={{}}>巡查详情 :</Col> |
|
|
|
<Col span={20}>{inspectContent[k].msgInp}</Col> |
|
|
|
<Col span={4} style={{}}>严重等级 :</Col> |
|
|
|
<Col span={20}>{inspectContent[k].level}</Col> |
|
|
|
<Col span={20}>{inspectContent[k].level}</Col> |
|
|
|
<Col span={4} style={{}}>现场照片 :</Col> |
|
|
|
<Col span={20}> |
|
|
|
<Uploads |
|
|
|