feat 对齐接口字段
This commit is contained in:
@@ -182,7 +182,7 @@ function mapReportStatus(status?: ReportItem['reportStatus']) {
|
||||
function mapApiReportItem(item: ReportItem): ReportListRow {
|
||||
return {
|
||||
id: item.reportId,
|
||||
title: item.reportNo || item.projectName || '碾压报告',
|
||||
title: item.constructionSection ? `${item.constructionSection}压实作业报告` : '压实作业报告',
|
||||
deviceCode: item.deviceId || '-',
|
||||
status: mapReportStatus(item.reportStatus),
|
||||
time: formatDateTimeRange(item.workStartTime, item.workEndTime),
|
||||
|
||||
Reference in New Issue
Block a user