|
|
@@ -214,34 +214,6 @@ export default { |
|
|
|
showAddress:false, |
|
|
|
activeName:'nf', |
|
|
|
selectChooseOrder:-1, |
|
|
|
columns: [ |
|
|
|
{ |
|
|
|
text: '浙江', |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
text: '杭州', |
|
|
|
children: [{ text: '西湖区' }, { text: '余杭区' }], |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: '温州', |
|
|
|
children: [{ text: '鹿城区' }, { text: '瓯海区' }], |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: '福建', |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
text: '福州', |
|
|
|
children: [{ text: '鼓楼区' }, { text: '台江区' }], |
|
|
|
}, |
|
|
|
{ |
|
|
|
text: '厦门', |
|
|
|
children: [{ text: '思明区' }, { text: '海沧区' }], |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
], |
|
|
|
addrOptions: [], |
|
|
|
|
|
|
|
map: "", // 地图 |
|
|
@@ -302,7 +274,6 @@ export default { |
|
|
|
// 初始化地图 |
|
|
|
this.initMap(); |
|
|
|
this.getData(); |
|
|
|
|
|
|
|
}); |
|
|
|
}, |
|
|
|
methods: { |
|
|
@@ -312,12 +283,10 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
onConfirmDept({ selectedOptions }){ |
|
|
|
|
|
|
|
this.deptId = selectedOptions[selectedOptions.length-1].id; |
|
|
|
this.deptName = selectedOptions.map((option) => option.label).join('/'); |
|
|
|
this.getData(); |
|
|
|
this.showAddress = false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
tabChange(name){ |
|
|
|