From 247f1ae764b9a0c65265c37ebddd0f36871e2ef8 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 8 Jul 2025 17:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E6=9D=A1=E6=B6=88=E6=81=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E8=AF=84=E4=BB=B7=E6=88=90=E5=8A=9F=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E4=B8=8A=E4=B8=80=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/message/message.js | 5 +++++ subpages/mine/checkInRecord/checkInRecord.js | 2 +- subpages/mine/evaluate/evaluate.js | 2 +- subpages/mine/repairList/repairList.js | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/message/message.js b/pages/message/message.js index 4e39ed0..a304520 100644 --- a/pages/message/message.js +++ b/pages/message/message.js @@ -14,6 +14,11 @@ Page({ onLoad: async function () { }, + onHide(){ + this.setData({ + tableData:[] + }) + }, onShow(){ this.getIntelligentMessage() diff --git a/subpages/mine/checkInRecord/checkInRecord.js b/subpages/mine/checkInRecord/checkInRecord.js index 1f4a209..ddc9647 100644 --- a/subpages/mine/checkInRecord/checkInRecord.js +++ b/subpages/mine/checkInRecord/checkInRecord.js @@ -107,7 +107,7 @@ Page({ }, toEvaluate(e){ wx.navigateTo({ - url: `/subpages/mine/evaluate/evaluate?id=${e.currentTarget.dataset.item.checkInRecId}`, + url: `/subpages/mine/evaluate/evaluate?id=${e.currentTarget.dataset.item.checkInRecId}&obj=${JSON.stringify({apartmentName:e.currentTarget.dataset.item.apartmentName,buildingName:e.currentTarget.dataset.item.buildingName,buildingName:e.currentTarget.dataset.item.buildingName,roomType:e.currentTarget.dataset.item.roomType,unitName:e.currentTarget.dataset.item.unitName,checkInRecId:e.currentTarget.dataset.item.checkInRecId,houseName:e.currentTarget.dataset.item.houseName})}`, }) } }) \ No newline at end of file diff --git a/subpages/mine/evaluate/evaluate.js b/subpages/mine/evaluate/evaluate.js index 8ea7b87..6c6f285 100644 --- a/subpages/mine/evaluate/evaluate.js +++ b/subpages/mine/evaluate/evaluate.js @@ -102,7 +102,7 @@ Page({ const {evaluateContent,releaseMethod,satisfiedZt,satisfiedHj,satisfiedFw,satisfiedTy,fileList} = this.data evaluateAdd({evaluateContent,releaseMethod,satisfiedZt,satisfiedHj,satisfiedFw,satisfiedTy,checkInRecId:this.data.info.checkInRecId,images:fileList}).then(res=>{ console.log(res); - if(res.data.code === 200){ + if(res.code === 200){ wx.showToast({ title: '评价成功', duration:2000, diff --git a/subpages/mine/repairList/repairList.js b/subpages/mine/repairList/repairList.js index bd707c3..e25f641 100644 --- a/subpages/mine/repairList/repairList.js +++ b/subpages/mine/repairList/repairList.js @@ -34,7 +34,7 @@ Page({ item.state = '无需维修' break; default: - state = '' + item.state = '' } })