diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 40b343d06..90d9d638b 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -322,6 +322,8 @@ xs: { span: 24 }, sm: { span: 7 } }, + queryParamQuery:{}, + queryParam:{}, querySdtList: [], // 工程接口人 Dateline: {}, getquerySdtId: '', // 当前工程接口人的id @@ -331,6 +333,9 @@ }, mounted() { this.getHeader() + eventBUs.$on('getTableList', search => { + this.queryParamQuery = search + }) }, watch: { currentPersonRole: { @@ -565,7 +570,9 @@ if (!(result.some(val => val.value == res.result.userType))) { res.result.userType = result[0] ? result[0].value : '' } + this.queryParam = {...this.queryParamQuery} this.getTableList(res.result.userType) + } else { this.getTableList(result[0].value) } @@ -650,6 +657,7 @@ }, getTableListReset() { this.formInline = {} + this.queryParam = {} let params = { paramsManifestId: this.$route.query.id, pageNo: this.pageNo, @@ -735,7 +743,8 @@ userTypes: this.currentPersonRole || currentPersonRole, paramsManifestId: paramsManifestid, ...this.formInline, - ...currentPersonRole + ...currentPersonRole, + ...this.queryParam } this.loading = true getAction(url, params).then((res) => { diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 0ff67a9de..fbaf24817 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -424,6 +424,7 @@