|
|
@@ -175,16 +175,19 @@ |
|
|
|
},
|
|
|
|
|
|
|
|
updateInit() {
|
|
|
|
uni.request({
|
|
|
|
url: config.service.updateList,
|
|
|
|
method: "GET",
|
|
|
|
data: {
|
|
|
|
let obj = {
|
|
|
|
messageType: this.list[this.current].id,
|
|
|
|
projectId: uni.getStorageSync('buildingID').id,
|
|
|
|
id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
|
|
|
|
num: this.pageNum,
|
|
|
|
size: this.pageSize
|
|
|
|
},
|
|
|
|
}
|
|
|
|
if (this.current == 0) {
|
|
|
|
obj.projectId = uni.getStorageSync('buildingID').id
|
|
|
|
}
|
|
|
|
uni.request({
|
|
|
|
url: config.service.updateList,
|
|
|
|
method: "GET",
|
|
|
|
data: obj,
|
|
|
|
header: {
|
|
|
|
'content-type': 'application/json',
|
|
|
|
'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
|
|
|
|