diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue
index fbfe3bd2..70303212 100644
--- a/src/views/modules/base/organization/organization.vue
+++ b/src/views/modules/base/organization/organization.vue
@@ -463,12 +463,12 @@
-
+
+ :value="item.areaCode">
@@ -537,12 +537,12 @@
-
+
+ :value="item.areaCode">
@@ -1932,19 +1932,27 @@ export default {
},
handelZoing(val){
- this.agencyForm.level = val.level
- this.agencyForm.areaName = val.areaName
- this.agencyForm.areaCode = val.areaCode
-
+ this.zonings.forEach(item => {
+ if (item.areaCode == val) {
+ this.agencyForm.level = item.level
+ this.agencyForm.areaName = item.areaName
+ this.agencyForm.areaCode = item.areaCode
+ }
+ })
},
handelStreeOrCommunityZoing(val){
- this.OrgDetailsForm.level = val.level
- this.OrgDetailsForm.areaName = val.areaName
- this.OrgDetailsForm.areaCode = val.areaCode
+ this.zonings.forEach(item => {
+ if (item.areaCode == val) {
+ this.OrgDetailsForm.level = item.level
+ this.OrgDetailsForm.areaName = item.areaName
+ this.OrgDetailsForm.areaCode = item.areaCode
+ }
+ })
},
addAgency(row){
this.createAgencyDialogFlag = true
+ this.addNewAgencyRest()
this.getUser()
},
// 新增组织确定按钮