subPackage/workbench/views/cshw.vue
@@ -71,9 +71,9 @@ } }, onShow() { this.currentRole = uni.getStorageSync("activeRole") this.resetParams() this.getSiteList() this.currentRole = uni.getStorageSync("activeRole") this.getSiteList() }, onReachBottom() { this.pagingParams.current++ @@ -85,9 +85,11 @@ const params = { placeName: this.keyWord, confirmFlag: this.tabStatus } } const { roleName } = this.currentRole const res = await getSiteMaintenanceData({ ...params, ...params, roleName, ...this.pagingParams }) console.log(res);