From d7d50ff9f566210804e72525f7d51bf853f1a9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Mon, 25 Dec 2023 19:21:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=AD=9B=E9=80=89=E7=AE=A1=E5=BB=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/package/inspectionReport/inspectionReport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weapp/package/inspectionReport/inspectionReport.js b/weapp/package/inspectionReport/inspectionReport.js index e12e4c8..a098a2a 100644 --- a/weapp/package/inspectionReport/inspectionReport.js +++ b/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') } })