Browse Source

新增分享、日周报接口项目id字段

branch0222
douzhuo 3 years ago
parent
commit
d8f3c948cb
2 changed files with 8 additions and 4 deletions
  1. +4
    -2
      pages/reportExcel/dayReport.vue
  2. +4
    -2
      pages/reportExcel/weekReport.vue

+ 4
- 2
pages/reportExcel/dayReport.vue View File

@@ -568,7 +568,8 @@


forShare() { forShare() {
this.$u.get("/zkMessage/shareMessage", { this.$u.get("/zkMessage/shareMessage", {
id: this.id
id: this.id,
houseId: uni.getStorageSync('buildingID').id
}) })
}, },
// 跳转首页 // 跳转首页
@@ -580,7 +581,8 @@
// 获取日报详情 // 获取日报详情
getMessage() { getMessage() {
this.$u.get('/zkMessage/findByProjectId', { this.$u.get('/zkMessage/findByProjectId', {
id: this.id
id: this.id,
houseId: uni.getStorageSync('buildingID').id
}).then(res => { }).then(res => {
let data = {} let data = {}
if (res.zkMessage.content) { if (res.zkMessage.content) {


+ 4
- 2
pages/reportExcel/weekReport.vue View File

@@ -591,7 +591,8 @@
}, },
forShare() { forShare() {
this.$u.get("/zkMessage/shareMessage", { this.$u.get("/zkMessage/shareMessage", {
id: this.id
id: this.id,
houseId: uni.getStorageSync('buildingID').id
}) })
}, },


@@ -690,7 +691,8 @@
// 获取周报详情 // 获取周报详情
getMessage() { getMessage() {
this.$u.get('/zkMessage/findByProjectId', { this.$u.get('/zkMessage/findByProjectId', {
id: this.id
id: this.id,
houseId: uni.getStorageSync('buildingID').id
}).then(res => { }).then(res => {
// console.log(res) // console.log(res)
let data = {} let data = {}


Loading…
Cancel
Save