From bf5ae25d0db739cbbf79ae064ea1c59004fee1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com> Date: Mon, 27 Mar 2023 14:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=BC=98=E5=8C=96+=E5=91=98?= =?UTF-8?q?=E5=B7=A5=E4=BD=BF=E7=94=A8=E7=BB=9F=E8=AE=A1+=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/reportExcel/dayReport.vue | 3 ++- pages/reportExcel/weekReport.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/reportExcel/dayReport.vue b/pages/reportExcel/dayReport.vue index c0f7aa2..939cd60 100644 --- a/pages/reportExcel/dayReport.vue +++ b/pages/reportExcel/dayReport.vue @@ -621,7 +621,8 @@ // 获取日报详情 getMessage() { this.$u.get('/zkMessage/findByProjectId', { - id: this.id + id: this.id, + username: uni.getStorageSync('weapp_session_userInfo_data').username }).then(res => { console.log(res) let data = JSON.parse(res.zkMessage.content) diff --git a/pages/reportExcel/weekReport.vue b/pages/reportExcel/weekReport.vue index 23f2065..a3370cd 100644 --- a/pages/reportExcel/weekReport.vue +++ b/pages/reportExcel/weekReport.vue @@ -698,7 +698,8 @@ getMessage() { this.$u.get('/zkMessage/findByProjectId', { id: this.id, - houseId: uni.getStorageSync('buildingID').id + houseId: uni.getStorageSync('buildingID').id, + username: uni.getStorageSync('weapp_session_userInfo_data').username }).then(res => { let data = {} if (res.zkMessage.content) {