From b51a3ba60b8f472b04c6bb62f6f83b3e0aadc96c Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 14 Oct 2022 15:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=E9=80=9A?= =?UTF-8?q?=E8=AE=AF=E5=BD=95=E7=95=8C=E9=9D=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/organization/organization.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 8833356ca..987130e57 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -1105,6 +1105,7 @@ export default { // 当前被操作的组织的级别 currentAgencyLevel: localStorage.getItem("level"), currentAreaCode: "", + currentAreaCodeSwitch: "", parentAreaCode: "", parentAgencyId: localStorage.getItem("agencyId"), parentAgencyLevel: localStorage.getItem("level"), @@ -2238,6 +2239,7 @@ export default { // 社区级为最低级组织,不展示下级组织列表 this.currentAgencyLevel = data.level; this.currentAreaCode = data.areaCode; + this.currentAreaCodeSwitch = data.areaCodeSwitch; if (data.parentList && data.parentList.length > 0) { this.parentAreaCode = data.parentList[data.parentList.length - 1].areaCode; @@ -2467,7 +2469,7 @@ export default { parentAgencyId: this.currentAgencyId, agencyName: this.agencyForm.agencyName, level: this.agencyForm.level, - areaCodeSwitch: "closed", + areaCodeSwitch: this.currentAreaCodeSwitch, areaCode: this.agencyForm.areaCode, areaName: this.agencyForm.areaName, contacts: this.agencyForm.contacts,