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) {