@@ -414,6 +414,10 @@ | |||||
'content-type': 'application/json', | 'content-type': 'application/json', | ||||
'Access-Token': uni.getStorageSync('weapp_session_login_data').token | 'Access-Token': uni.getStorageSync('weapp_session_login_data').token | ||||
}, | }, | ||||
data: { | |||||
}, | |||||
success: (res) => { | success: (res) => { | ||||
this.first(res.data.data.id) | this.first(res.data.data.id) | ||||
this.content = res.data.data.content | this.content = res.data.data.content | ||||
@@ -442,7 +446,8 @@ | |||||
url: config.service.notReadNum, | url: config.service.notReadNum, | ||||
method: "GET", | method: "GET", | ||||
data: { | data: { | ||||
id: uni.getStorageSync('weapp_session_userInfo_data').accountId | |||||
id: uni.getStorageSync('weapp_session_userInfo_data').accountId, | |||||
projectId: uni.getStorageSync('buildingID').id, | |||||
}, | }, | ||||
header: { | header: { | ||||
'content-type': 'application/json', | 'content-type': 'application/json', | ||||
@@ -206,6 +206,7 @@ | |||||
// 跳转日报 | // 跳转日报 | ||||
goReception(data, index) { | goReception(data, index) { | ||||
this.$store.commit('setMessageObj', data) | this.$store.commit('setMessageObj', data) | ||||
data.readFlag = 1 | |||||
if (data.messageType == 2) { | if (data.messageType == 2) { | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url: `/pages/mine/reportExcel/weekReport?id=${data.id}` | url: `/pages/mine/reportExcel/weekReport?id=${data.id}` | ||||
@@ -359,7 +359,7 @@ | |||||
} | } | ||||
if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) { | if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) { | ||||
this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3) | 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) { | if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) { | ||||
console.log(this.weekObj.avgJdsList.slice(0, 3)) | console.log(this.weekObj.avgJdsList.slice(0, 3)) | ||||