|
@ -183,7 +183,7 @@ Page({ |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
let dataSource = res.map(e => { |
|
|
let dataSource = res.map(e => { |
|
|
e.lastInspectionTime = moment(e.lastInspectionTime).format('YYYY-MM-DD'); |
|
|
e.lastInspectionTime = e.lastInspectionTime ? moment(e.lastInspectionTime).format('YYYY-MM-DD') : '--'; |
|
|
e.inspectionTime = moment(e.inspectionTime).format('YYYY-MM-DD'); |
|
|
e.inspectionTime = moment(e.inspectionTime).format('YYYY-MM-DD'); |
|
|
return e; |
|
|
return e; |
|
|
}) |
|
|
}) |
|
|