|
@ -2,10 +2,10 @@ |
|
|
<div class="warning-box"> |
|
|
<div class="warning-box"> |
|
|
<cpt-card> |
|
|
<cpt-card> |
|
|
<div class="card-title"> |
|
|
<div class="card-title"> |
|
|
<img class="title-icon" src="../../../../assets/img/shuju/title-tip.png" /> |
|
|
<img class="title-icon" |
|
|
|
|
|
src="../../../../assets/img/shuju/title-tip.png" /> |
|
|
<div class="title-label"> |
|
|
<div class="title-label"> |
|
|
<el-cascader |
|
|
<el-cascader v-model="selectAgency" |
|
|
v-model="selectAgency" |
|
|
|
|
|
:options="propTree" |
|
|
:options="propTree" |
|
|
:props="{ checkStrictly: true }" |
|
|
:props="{ checkStrictly: true }" |
|
|
:show-all-levels="false" |
|
|
:show-all-levels="false" |
|
@ -388,7 +388,8 @@ export default { |
|
|
label: item.agencyName, |
|
|
label: item.agencyName, |
|
|
value: item.agencyId + '-' + item.level, |
|
|
value: item.agencyId + '-' + item.level, |
|
|
level: item.level, |
|
|
level: item.level, |
|
|
children: this.getTreeData(item.subAgencyList)} |
|
|
children: this.getTreeData(item.subAgencyList) |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
_item = { |
|
|
_item = { |
|
|
label: item.agencyName, |
|
|
label: item.agencyName, |
|
@ -514,7 +515,7 @@ export default { |
|
|
//mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray |
|
|
//mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray |
|
|
this.$refs.map.loadMap(this.agencyInfo, null, null, this.distributionsList, this.iconUrlArray, null) |
|
|
this.$refs.map.loadMap(this.agencyInfo, null, null, this.distributionsList, this.iconUrlArray, null) |
|
|
} else { |
|
|
} else { |
|
|
this.$refs.map.refreshMap(null, this.unitMapList) |
|
|
this.$refs.map.refreshMap(null, this.distributionsList) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|