diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index 7b62b99..394dbdf 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -174,7 +174,7 @@ }, onLoad(options) { this.LOADING = true - this.isnorefresh = options.refresh; + if (options.refresh) this.isnorefresh = options.refresh; if (options.activeTotal) { this.activeTotal = options.activeTotal } @@ -186,6 +186,16 @@ this.violatedStatus = options.violatedStatus 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() { this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');