|
|
@ -81,7 +81,7 @@ Page({ |
|
|
|
Request.get(getPatrolReport(params)).then(res => { |
|
|
|
wx.hideLoading(); |
|
|
|
this.setData({ |
|
|
|
report: res.rows.map(r => { |
|
|
|
report: res.rows?.filter(i=>i?.project?.type==='管廊')?.map(r => { |
|
|
|
const fileName = r.excelPath.substring(r.excelPath.lastIndexOf('/') + 1); |
|
|
|
return { ...r, fileName, inspectTm: moment(r.inspectTm).format('YYYY-MM-DD HH:mm:ss') } |
|
|
|
}) |
|
|
|