| @@ -174,7 +174,7 @@ | |||||
| }, | }, | ||||
| onLoad(options) { | onLoad(options) { | ||||
| this.LOADING = true | this.LOADING = true | ||||
| this.isnorefresh = options.refresh; | |||||
| if (options.refresh) this.isnorefresh = options.refresh; | |||||
| if (options.activeTotal) { | if (options.activeTotal) { | ||||
| this.activeTotal = options.activeTotal | this.activeTotal = options.activeTotal | ||||
| } | } | ||||
| @@ -186,6 +186,16 @@ | |||||
| this.violatedStatus = options.violatedStatus | this.violatedStatus = options.violatedStatus | ||||
| this.weijinTag = this.identList[options.violatedStatus].label | this.weijinTag = this.identList[options.violatedStatus].label | ||||
| } | } | ||||
| if (options.projectId) { | |||||
| this.buildingID = options.projectId; | |||||
| this.recordList = []; | |||||
| this.nextPage = 1; | |||||
| this.isRefresh = false; | |||||
| this.getMyCustom() | |||||
| this.getFreeList(); | |||||
| this.isnorefresh = ''; | |||||
| } | |||||
| }, | }, | ||||
| onShow() { | onShow() { | ||||
| this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | this.userInfo = uni.getStorageSync('weapp_session_userInfo_data'); | ||||