Browse Source

tijiao

dev
douzhuo 2 years ago
parent
commit
28aeed19ba
3 changed files with 8 additions and 2 deletions
  1. +6
    -1
      pages/index/index.vue
  2. +1
    -0
      pages/mine/messageList.vue
  3. +1
    -1
      pages/mine/reportExcel/dayReport.vue

+ 6
- 1
pages/index/index.vue View File

@@ -414,6 +414,10 @@
'content-type': 'application/json',
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
data: {
},
success: (res) => {
this.first(res.data.data.id)
this.content = res.data.data.content
@@ -442,7 +446,8 @@
url: config.service.notReadNum,
method: "GET",
data: {
id: uni.getStorageSync('weapp_session_userInfo_data').accountId
id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
projectId: uni.getStorageSync('buildingID').id,
},
header: {
'content-type': 'application/json',


+ 1
- 0
pages/mine/messageList.vue View File

@@ -206,6 +206,7 @@
// 跳转日报
goReception(data, index) {
this.$store.commit('setMessageObj', data)
data.readFlag = 1
if (data.messageType == 2) {
uni.navigateTo({
url: `/pages/mine/reportExcel/weekReport?id=${data.id}`


+ 1
- 1
pages/mine/reportExcel/dayReport.vue View File

@@ -359,7 +359,7 @@
}
if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) {
this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3)
this.lowest.push(this.weekObj.ZXLTopList[0])
this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1])
}
if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) {
console.log(this.weekObj.avgJdsList.slice(0, 3))


Loading…
Cancel
Save