From d487c45f7f3ad5f1ecd71f032696db99365c9b1b Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Thu, 4 Jan 2024 14:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E7=9B=91=E7=9D=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../marketSupervision/enterpriseInformation/index.vue | 2 +- .../enterpriseInformation/options/basePage.vue | 2 +- .../options/components/SubCompany.vue | 9 +++++++++ .../options/components/managementSystem.vue | 10 ++++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue index 3ff1b71e..a7a64566 100644 --- a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue +++ b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue @@ -773,7 +773,7 @@ export default { } }; getChildren(res, items.data[0].parentid); - console.log("areasOptions", res); + // console.log("areasOptions", res); this.areasOptions = res; // 当不是admin时,默认行政区域 // if (this.$userProfile.createUid != "admin") { diff --git a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue index 57e68937..9555d1c2 100644 --- a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue +++ b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue @@ -460,7 +460,7 @@ export default { } }; getChildren(res, items.data[0].parentid); - console.log("areasOptions", res); + // console.log("areasOptions", res); this.areasOptions = res; // 当不是admin时,默认行政区域 // if (this.$userProfile.createUid != "admin") { diff --git a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/SubCompany.vue b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/SubCompany.vue index b88f4f30..2c19bd9c 100644 --- a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/SubCompany.vue +++ b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/SubCompany.vue @@ -247,10 +247,19 @@ export default { this.companyTypeOptions = response.data; }); }, + watch: { + enterpriseId: { + handler(n, o) { + this.enterpriseId = n; + this.getList(); + }, + }, + }, methods: { /** 查询分公司信息列表 */ getList() { this.loading = true; + this.queryParams.data.enterpriseId = this.enterpriseId; listOffice(this.queryParams).then((response) => { this.officeList = response.records; this.total = response.total; diff --git a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/managementSystem.vue b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/managementSystem.vue index 44614470..92752670 100644 --- a/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/managementSystem.vue +++ b/jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/components/managementSystem.vue @@ -251,10 +251,20 @@ export default { created() { this.getList(); }, + watch: { + enterpriseId: { + handler(n, o) { + this.enterpriseId = n; + this.getList(); + }, + }, + }, methods: { /** 查询管理体系信息列表 */ getList() { this.loading = true; + // console.log("this.enterpriseId", this.enterpriseId); + this.queryParams.data.enterpriseId = this.enterpriseId; listSystem(this.queryParams).then((response) => { this.systemList = response.records; this.total = response.total;