|
|
@ -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, |
|
|
|