|
@@ -398,23 +398,17 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onLoad(options) { |
|
|
onLoad(options) { |
|
|
// _this = this |
|
|
|
|
|
// this.isnorefresh = 'refresh'; |
|
|
|
|
|
// this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") |
|
|
|
|
|
// console.log(this.userInfo.showPhoneStatus) |
|
|
|
|
|
// if (this.isnorefresh == 'refresh') { |
|
|
|
|
|
// this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
|
|
|
// this.nextPage = 1; |
|
|
|
|
|
// this.recordList = [] |
|
|
|
|
|
// this.getFreeList() |
|
|
|
|
|
// this.getfindKeywordsList() |
|
|
|
|
|
// this.getFromSource(); |
|
|
|
|
|
// this.isRefresh = false; |
|
|
|
|
|
// this.getMyCustom() |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
this.LOADING = true |
|
|
|
|
|
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") |
|
|
|
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
|
|
|
let newmenulist = uni.getStorageSync('weapp_session_Menu_data'); |
|
|
|
|
|
this.permissions.commonly1 = newmenulist.khgl_ck; |
|
|
|
|
|
this.permissions.commonly2 = newmenulist.khgl_gj; |
|
|
|
|
|
_this = this |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onPullDownRefresh() { |
|
|
onPullDownRefresh() { |
|
|
|
|
|
this.LOADING = true |
|
|
this.nextPage = 1; |
|
|
this.nextPage = 1; |
|
|
this.isRefresh = true; |
|
|
this.isRefresh = true; |
|
|
this.resetFilter() |
|
|
this.resetFilter() |
|
@@ -430,26 +424,14 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onShow() { |
|
|
onShow() { |
|
|
this.LOADING = true |
|
|
|
|
|
let newmenulist = uni.getStorageSync('weapp_session_Menu_data'); |
|
|
|
|
|
this.permissions.commonly1 = newmenulist.khgl_ck; |
|
|
|
|
|
this.permissions.commonly2 = newmenulist.khgl_gj; |
|
|
|
|
|
_this = this |
|
|
|
|
|
this.isnorefresh = 'refresh'; |
|
|
|
|
|
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data") |
|
|
|
|
|
// console.log(this.userInfo.showPhoneStatus) |
|
|
|
|
|
this.nextPage = 1; |
|
|
|
|
|
this.$forceUpdate() |
|
|
|
|
|
this.recordList = [] |
|
|
|
|
|
this.buildingID = uni.getStorageSync('buildingID').id; |
|
|
|
|
|
if (this.isnorefresh == 'refresh') { |
|
|
|
|
|
|
|
|
if (this.isnorefresh != 'refresh') { |
|
|
|
|
|
this.recordList = [] |
|
|
this.getFreeList() |
|
|
this.getFreeList() |
|
|
this.getfindKeywordsList() |
|
|
this.getfindKeywordsList() |
|
|
this.getFromSource(); |
|
|
this.getFromSource(); |
|
|
this.isRefresh = false; |
|
|
this.isRefresh = false; |
|
|
this.getMyCustom() |
|
|
this.getMyCustom() |
|
|
} else { |
|
|
|
|
|
this.getMyCustom() |
|
|
|
|
|
|
|
|
this.isnorefresh = 'refresh'; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onReachBottom() { |
|
|
onReachBottom() { |
|
|