Browse Source

feat:筛选管廊

master
zhaobing’ 1 year ago
parent
commit
d7d50ff9f5
  1. 2
      weapp/package/inspectionReport/inspectionReport.js

2
weapp/package/inspectionReport/inspectionReport.js

@ -81,7 +81,7 @@ Page({
Request.get(getPatrolReport(params)).then(res => {
wx.hideLoading();
this.setData({
report: res.rows?.filter(i=>i?.project?.type==='管廊')?.map(r => {
report: res.rows?.filter(i=>i?.excelPath.includes('xjGL'))?.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') }
})

Loading…
Cancel
Save