Browse Source

Merge branch 'master' into yantai_master

feature
dai 3 years ago
parent
commit
1d9340b57c
  1. 4
      src/views/modules/base/organization/organization.vue
  2. 4
      src/views/modules/renFangTongJi/cpts/shequtongji.vue

4
src/views/modules/base/organization/organization.vue

@ -1106,6 +1106,7 @@ export default {
//
currentAgencyLevel: localStorage.getItem("level"),
currentAreaCode: "",
currentAreaCodeSwitch: "",
parentAreaCode: "",
parentAgencyId: localStorage.getItem("agencyId"),
parentAgencyLevel: localStorage.getItem("level"),
@ -2239,6 +2240,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;
@ -2468,7 +2470,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,

4
src/views/modules/renFangTongJi/cpts/shequtongji.vue

@ -21,8 +21,8 @@ export default {
default: "",
},
orgIds: {
type: String,
default: "",
type: Array,
default: () => [],
},
},

Loading…
Cancel
Save