feat(area-selector): 重构地区选择器数据加载逻辑

- 将数据请求逻辑独立为 requestCityData 方法
- 集成腾讯地图行政区域 API 获取准确地区数据
- 实现地区数据格式转换适配组件需求
- 添加内置精简地区数据作为降级方案
- 优化异步处理和错误捕获机制
- 修复子级数据为空时的显示问题
This commit is contained in:
2026-04-03 21:02:53 +08:00
parent 1bf7caf34e
commit 0e1d55e17a
2 changed files with 311 additions and 51 deletions

26
.idea/workspace.xml generated
View File

@@ -4,7 +4,10 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="ec5c6cc2-d0e3-4470-b342-660aa89effe0" name="Changes" comment="新增:分享、下载图片、视频功能登" />
<list default="true" id="ec5c6cc2-d0e3-4470-b342-660aa89effe0" name="Changes" comment="feat(house): 添加房源卖价和总价功能并优化分享流程&#10;&#10;- 在房源添加页面添加卖价(元/平)和总价(万)输入字段&#10;- 实现卖价变动时总价自动计算功能&#10;- 在房源详情页显示卖价和总价信息&#10;- 调整物业费显示位置提升界面布局合理性&#10;- 更新服务器配置地址从gxwebsoft.com到websoft.top&#10;- 替换必看好房标签为特价好房标签统一显示&#10;- 修复房源详情页分享功能和海报生成流程&#10;- 添加跟进记录页面和相应跳转功能&#10;- 优化房源管理页面删除按钮显示逻辑&#10;- 实现闪屏页跳过功能和登录状态记忆&#10;- 添加房源海报生成组件支持分享推广&#10;- 修复分享路径参数传递和用户信息存储">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/uni_modules/liu-customize-sel/components/liu-customize-sel/liu-customize-sel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/uni_modules/liu-customize-sel/components/liu-customize-sel/liu-customize-sel.vue" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -26,6 +29,7 @@
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;master&quot;,
&quot;junie.onboarding.icon.badge.shown&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;/Users/gxwebsoft/APP/anshangjia-uniapp&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
@@ -33,6 +37,7 @@
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;,
&quot;to.speed.mode.migration.done&quot;: &quot;true&quot;,
&quot;ts.external.directory.path&quot;: &quot;/Applications/WebStorm.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/external&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
@@ -45,7 +50,7 @@
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-js-predefined-d6986cc7102b-6a121458b545-JavaScript-WS-251.25410.117" />
<option value="bundled-js-predefined-d6986cc7102b-e03c56caf84a-JavaScript-WS-252.23892.411" />
</set>
</attachedChunks>
</component>
@@ -69,6 +74,8 @@
<workItem from="1749367607857" duration="261000" />
<workItem from="1749367885938" duration="572000" />
<workItem from="1749371022185" duration="5619000" />
<workItem from="1770982606471" duration="56000" />
<workItem from="1775219711691" duration="652000" />
</task>
<task id="LOCAL-00001" summary="爱尚家接口合并到cms-api.websoft.top">
<option name="closed" value="true" />
@@ -102,15 +109,26 @@
<option name="project" value="LOCAL" />
<updated>1749474861846</updated>
</task>
<option name="localTasksCounter" value="5" />
<task id="LOCAL-00005" summary="feat(house): 添加房源卖价和总价功能并优化分享流程&#10;&#10;- 在房源添加页面添加卖价(元/平)和总价(万)输入字段&#10;- 实现卖价变动时总价自动计算功能&#10;- 在房源详情页显示卖价和总价信息&#10;- 调整物业费显示位置提升界面布局合理性&#10;- 更新服务器配置地址从gxwebsoft.com到websoft.top&#10;- 替换必看好房标签为特价好房标签统一显示&#10;- 修复房源详情页分享功能和海报生成流程&#10;- 添加跟进记录页面和相应跳转功能&#10;- 优化房源管理页面删除按钮显示逻辑&#10;- 实现闪屏页跳过功能和登录状态记忆&#10;- 添加房源海报生成组件支持分享推广&#10;- 修复分享路径参数传递和用户信息存储">
<option name="closed" value="true" />
<created>1770982645978</created>
<option name="number" value="00005" />
<option name="presentableId" value="LOCAL-00005" />
<option name="project" value="LOCAL" />
<updated>1770982645978</updated>
</task>
<option name="localTasksCounter" value="6" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_NEW_TODO" value="false" />
<MESSAGE value="爱尚家接口合并到cms-api.websoft.top" />
<MESSAGE value="新增:分享、下载图片、视频功能登" />
<option name="LAST_COMMIT_MESSAGE" value="新增:分享、下载图片、视频功能登" />
<MESSAGE value="feat(house): 添加房源卖价和总价功能并优化分享流程&#10;&#10;- 在房源添加页面添加卖价(元/平)和总价(万)输入字段&#10;- 实现卖价变动时总价自动计算功能&#10;- 在房源详情页显示卖价和总价信息&#10;- 调整物业费显示位置提升界面布局合理性&#10;- 更新服务器配置地址从gxwebsoft.com到websoft.top&#10;- 替换必看好房标签为特价好房标签统一显示&#10;- 修复房源详情页分享功能和海报生成流程&#10;- 添加跟进记录页面和相应跳转功能&#10;- 优化房源管理页面删除按钮显示逻辑&#10;- 实现闪屏页跳过功能和登录状态记忆&#10;- 添加房源海报生成组件支持分享推广&#10;- 修复分享路径参数传递和用户信息存储" />
<option name="LAST_COMMIT_MESSAGE" value="feat(house): 添加房源卖价和总价功能并优化分享流程&#10;&#10;- 在房源添加页面添加卖价(元/平)和总价(万)输入字段&#10;- 实现卖价变动时总价自动计算功能&#10;- 在房源详情页显示卖价和总价信息&#10;- 调整物业费显示位置提升界面布局合理性&#10;- 更新服务器配置地址从gxwebsoft.com到websoft.top&#10;- 替换必看好房标签为特价好房标签统一显示&#10;- 修复房源详情页分享功能和海报生成流程&#10;- 添加跟进记录页面和相应跳转功能&#10;- 优化房源管理页面删除按钮显示逻辑&#10;- 实现闪屏页跳过功能和登录状态记忆&#10;- 添加房源海报生成组件支持分享推广&#10;- 修复分享路径参数传递和用户信息存储" />
</component>
</project>

View File

@@ -133,51 +133,293 @@
async getData() {
// 加载数据
if (this.checkArr.length == this.tabList.length) return;
// 模拟数据
let list = [];
uni.showLoading({
title: '加载中...'
});
uni.showLoading({ title: '加载中...' });
if (this.checkArr.length) {
// 已有选择从缓存children取数据
var id = this.checkArr?.[this.id - 1]?.value
let idList = this.checkBox?.[this.id - 1]?.find(item => {
return item.value == id;
})
idList?.children.map(e => {
list.push(e);
});
uni.hideLoading();
this.$set(this.checkBox, this.id, list)
if (idList?.children && idList.children.length > 0) {
this.$set(this.checkBox, this.id, idList.children)
} else {
// 接口请求数据实例--------------
// console.log("cityList: ",this.cityList);
uni.request({
url: 'https://file.wsdns.cn/json/city.js',
success(res) {
res.data.map(e => {
list.push(e);
});
this.$set(this.checkBox, this.id, [])
}
})
// this.cityList.map(e => {
// list.push(e);
// });
uni.hideLoading();
this.$set(this.checkBox, this.id, list)
} else {
// 首次加载 - 使用 Promise 正确处理异步
try {
const res = await this.requestCityData()
if (res && res.data) {
this.$set(this.checkBox, this.id, res.data)
} else {
this.$set(this.checkBox, this.id, [])
}
//接口请求数据实例--------------
// let params = {
// code: this.checkArr && this.checkArr.length > 0 ? this.checkArr[this.checkArr.length - 1]
// .code : ''
// };
// await getData(params).then(res => {
// if (res.code == 200) {
// this.$set(this.checkBox, this.id, res.data);
// } else {
// this.$set(this.checkBox, this.id, []);
// }
// uni.hideLoading()
// })
} catch (e) {
console.error('获取城市数据失败:', e)
this.$set(this.checkBox, this.id, [])
} finally {
uni.hideLoading();
}
}
},
// 独立的请求方法 - 使用腾讯地图行政区域API
requestCityData() {
return new Promise((resolve, reject) => {
// 腾讯地图 WebService API 密钥(需要去腾讯位置服务申请)
const key = '7CBBZ-BLRL3-4EB35-RUCIH-XANPE-6FFTJ';
uni.request({
url: `https://apis.map.qq.com/ws/district/v1/list?key=${key}&output=json`,
method: 'GET',
timeout: 15000,
success: (res) => {
if (res.statusCode === 200 && res.data && res.data.status === 0) {
// 转换腾讯地图数据格式为组件需要的格式
const districtData = res.data.result;
const formattedData = this.formatDistrictData(districtData);
resolve({ data: formattedData });
} else {
// API失败时使用内置精简数据作为降级方案
console.warn('腾讯地图API失败使用内置数据');
resolve({ data: this.getFallbackData() });
}
},
fail: (err) => {
console.error('请求失败,尝试内置数据:', err);
// 网络失败时使用内置精简数据
resolve({ data: this.getFallbackData() });
}
});
});
},
// 转换腾讯地图数据格式
formatDistrictData(districtData) {
// 腾讯地图返回的是 [省数组, 市数组, 区数组] 的嵌套结构
const provinces = districtData[0] || [];
const cities = districtData[1] || [];
const districts = districtData[2] || [];
// 构建以parent_id为key的映射
const cityMap = {};
const districtMap = {};
cities.forEach(city => {
if (!cityMap[city.parent_id]) cityMap[city.parent_id] = [];
cityMap[city.parent_id].push({
id: city.id,
value: city.id,
label: city.fullname || city.name,
name: city.fullname || city.name,
children: []
});
});
districts.forEach(dist => {
if (!districtMap[dist.parent_id]) districtMap[dist.parent_id] = [];
districtMap[dist.parent_id].push({
id: dist.id,
value: dist.id,
label: dist.fullname || dist.name,
name: dist.fullname || dist.name,
children: []
});
});
// 组装完整的树形结构
return provinces.map(province => {
const provinceItem = {
id: province.id,
value: province.id,
label: province.fullname || province.name,
name: province.fullname || province.name,
children: cityMap[province.id] || []
};
// 补充区/县数据
provinceItem.children.forEach(city => {
city.children = districtMap[city.id] || [];
});
return provinceItem;
});
},
// 内置精简数据(常见省份,直辖市、港澳台)
getFallbackData() {
return [
{ id: '110000', value: '110000', label: '北京市', name: '北京市', children: [
{ id: '110100', value: '110100', label: '市辖区', name: '市辖区', children: [
{ id: '110101', value: '110101', label: '东城区', name: '东城区', children: [] },
{ id: '110102', value: '110102', label: '西城区', name: '西城区', children: [] },
{ id: '110105', value: '110105', label: '朝阳区', name: '朝阳区', children: [] },
{ id: '110106', value: '110106', label: '丰台区', name: '丰台区', children: [] },
{ id: '110107', value: '110107', label: '石景山区', name: '石景山区', children: [] },
{ id: '110108', value: '110108', label: '海淀区', name: '海淀区', children: [] },
{ id: '110109', value: '110109', label: '门头沟区', name: '门头沟区', children: [] },
{ id: '110111', value: '110111', label: '房山区', name: '房山区', children: [] },
{ id: '110112', value: '110112', label: '通州区', name: '通州区', children: [] },
{ id: '110113', value: '110113', label: '顺义区', name: '顺义区', children: [] },
{ id: '110114', value: '110114', label: '昌平区', name: '昌平区', children: [] },
{ id: '110115', value: '110115', label: '大兴区', name: '大兴区', children: [] },
{ id: '110116', value: '110116', label: '怀柔区', name: '怀柔区', children: [] },
{ id: '110117', value: '110117', label: '平谷区', name: '平谷区', children: [] },
{ id: '110118', value: '110118', label: '密云区', name: '密云区', children: [] },
{ id: '110119', value: '110119', label: '延庆区', name: '延庆区', children: [] }
]}
]},
{ id: '120000', value: '120000', label: '天津市', name: '天津市', children: [
{ id: '120100', value: '120100', label: '市辖区', name: '市辖区', children: [
{ id: '120101', value: '120101', label: '和平区', name: '和平区', children: [] },
{ id: '120102', value: '120102', label: '河东区', name: '河东区', children: [] },
{ id: '120103', value: '120103', label: '河西区', name: '河西区', children: [] },
{ id: '120104', value: '120104', label: '南开区', name: '南开区', children: [] },
{ id: '120105', value: '120105', label: '河北区', name: '河北区', children: [] },
{ id: '120106', value: '120106', label: '红桥区', name: '红桥区', children: [] },
{ id: '120110', value: '120110', label: '东丽区', name: '东丽区', children: [] },
{ id: '120111', value: '120111', label: '西青区', name: '西青区', children: [] },
{ id: '120112', value: '120112', label: '津南区', name: '津南区', children: [] },
{ id: '120113', value: '120113', label: '北辰区', name: '北辰区', children: [] },
{ id: '120114', value: '120114', label: '武清区', name: '武清区', children: [] },
{ id: '120115', value: '120115', label: '宝坻区', name: '宝坻区', children: [] },
{ id: '120116', value: '120116', label: '滨海新区', name: '滨海新区', children: [] },
{ id: '120117', value: '120117', label: '宁河区', name: '宁河区', children: [] },
{ id: '120118', value: '120118', label: '静海区', name: '静海区', children: [] },
{ id: '120119', value: '120119', label: '蓟州区', name: '蓟州区', children: [] }
]}
]},
{ id: '310000', value: '310000', label: '上海市', name: '上海市', children: [
{ id: '310100', value: '310100', label: '市辖区', name: '市辖区', children: [
{ id: '310101', value: '310101', label: '黄浦区', name: '黄浦区', children: [] },
{ id: '310104', value: '310104', label: '徐汇区', name: '徐汇区', children: [] },
{ id: '310105', value: '310105', label: '长宁区', name: '长宁区', children: [] },
{ id: '310106', value: '310106', label: '静安区', name: '静安区', children: [] },
{ id: '310107', value: '310107', label: '普陀区', name: '普陀区', children: [] },
{ id: '310109', value: '310109', label: '虹口区', name: '虹口区', children: [] },
{ id: '310110', value: '310110', label: '杨浦区', name: '杨浦区', children: [] },
{ id: '310112', value: '310112', label: '闵行区', name: '闵行区', children: [] },
{ id: '310113', value: '310113', label: '宝山区', name: '宝山区', children: [] },
{ id: '310114', value: '310114', label: '嘉定区', name: '嘉定区', children: [] },
{ id: '310115', value: '310115', label: '浦东新区', name: '浦东新区', children: [] },
{ id: '310116', value: '310116', label: '金山区', name: '金山区', children: [] },
{ id: '310117', value: '310117', label: '松江区', name: '松江区', children: [] },
{ id: '310118', value: '310118', label: '青浦区', name: '青浦区', children: [] },
{ id: '310120', value: '310120', label: '奉贤区', name: '奉贤区', children: [] },
{ id: '310151', value: '310151', label: '崇明区', name: '崇明区', children: [] }
]}
]},
{ id: '440000', value: '440000', label: '广东省', name: '广东省', children: [
{ id: '440100', value: '440100', label: '广州市', name: '广州市', children: [
{ id: '440103', value: '440103', label: '荔湾区', name: '荔湾区', children: [] },
{ id: '440104', value: '440104', label: '越秀区', name: '越秀区', children: [] },
{ id: '440105', value: '440105', label: '海珠区', name: '海珠区', children: [] },
{ id: '440106', value: '440106', label: '天河区', name: '天河区', children: [] },
{ id: '440111', value: '440111', label: '白云区', name: '白云区', children: [] },
{ id: '440112', value: '440112', label: '黄埔区', name: '黄埔区', children: [] },
{ id: '440113', value: '440113', label: '番禺区', name: '番禺区', children: [] },
{ id: '440114', value: '440114', label: '花都区', name: '花都区', children: [] },
{ id: '440115', value: '440115', label: '南沙区', name: '南沙区', children: [] },
{ id: '440117', value: '440117', label: '从化区', name: '从化区', children: [] },
{ id: '440118', value: '440118', label: '增城区', name: '增城区', children: [] }
]},
{ id: '440300', value: '440300', label: '深圳市', name: '深圳市', children: [
{ id: '440303', value: '440303', label: '罗湖区', name: '罗湖区', children: [] },
{ id: '440304', value: '440304', label: '福田区', name: '福田区', children: [] },
{ id: '440305', value: '440305', label: '南山区', name: '南山区', children: [] },
{ id: '440306', value: '440306', label: '宝安区', name: '宝安区', children: [] },
{ id: '440307', value: '440307', label: '龙岗区', name: '龙岗区', children: [] },
{ id: '440308', value: '440308', label: '盐田区', name: '盐田区', children: [] },
{ id: '440309', value: '440309', label: '龙华区', name: '龙华区', children: [] },
{ id: '440310', value: '440310', label: '坪山区', name: '坪山区', children: [] },
{ id: '440311', value: '440311', label: '光明区', name: '光明区', children: [] }
]},
{ id: '440600', value: '440600', label: '佛山市', name: '佛山市', children: [
{ id: '440604', value: '440604', label: '禅城区', name: '禅城区', children: [] },
{ id: '440605', value: '440605', label: '南海区', name: '南海区', children: [] },
{ id: '440606', value: '440606', label: '顺德区', name: '顺德区', children: [] },
{ id: '440607', value: '440607', label: '三水区', name: '三水区', children: [] },
{ id: '440608', value: '440608', label: '高明区', name: '高明区', children: [] }
]},
{ id: '441900', value: '441900', label: '东莞市', name: '东莞市', children: [
{ id: '441901', value: '441901', label: '东莞市', name: '东莞市', children: [] }
]},
{ id: '442000', value: '442000', label: '中山市', name: '中山市', children: [
{ id: '442001', value: '442001', label: '中山市', name: '中山市', children: [] }
]}
]},
{ id: '330000', value: '330000', label: '浙江省', name: '浙江省', children: [
{ id: '330100', value: '330100', label: '杭州市', name: '杭州市', children: [
{ id: '330102', value: '330102', label: '上城区', name: '上城区', children: [] },
{ id: '330105', value: '330105', label: '拱墅区', name: '拱墅区', children: [] },
{ id: '330106', value: '330106', label: '西湖区', name: '西湖区', children: [] },
{ id: '330108', value: '330108', label: '滨江区', name: '滨江区', children: [] },
{ id: '330109', value: '330109', label: '萧山区', name: '萧山区', children: [] },
{ id: '330110', value: '330110', label: '余杭区', name: '余杭区', children: [] },
{ id: '330111', value: '330111', label: '富阳区', name: '富阳区', children: [] },
{ id: '330112', value: '330112', label: '临安区', name: '临安区', children: [] },
{ id: '330113', value: '330113', label: '临平区', name: '临平区', children: [] },
{ id: '330114', value: '330114', label: '钱塘区', name: '钱塘区', children: [] }
]},
{ id: '330200', value: '330200', label: '宁波市', name: '宁波市', children: [
{ id: '330203', value: '330203', label: '海曙区', name: '海曙区', children: [] },
{ id: '330205', value: '330205', label: '江北区', name: '江北区', children: [] },
{ id: '330206', value: '330206', label: '北仑区', name: '北仑区', children: [] },
{ id: '330211', value: '330211', label: '镇海区', name: '镇海区', children: [] },
{ id: '330212', value: '330212', label: '鄞州区', name: '鄞州区', children: [] }
]},
{ id: '330300', value: '330300', label: '温州市', name: '温州市', children: [] },
{ id: '330400', value: '330400', label: '嘉兴市', name: '嘉兴市', children: [] },
{ id: '330500', value: '330500', label: '湖州市', name: '湖州市', children: [] },
{ id: '330600', value: '330600', label: '绍兴市', name: '绍兴市', children: [] },
{ id: '330700', value: '330700', label: '金华市', name: '金华市', children: [] },
{ id: '330800', value: '330800', label: '衢州市', name: '衢州市', children: [] },
{ id: '330900', value: '330900', label: '舟山市', name: '舟山市', children: [] },
{ id: '331000', value: '331000', label: '台州市', name: '台州市', children: [] },
{ id: '331100', value: '331100', label: '丽水市', name: '丽水市', children: [] }
]},
{ id: '320000', value: '320000', label: '江苏省', name: '江苏省', children: [
{ id: '320100', value: '320100', label: '南京市', name: '南京市', children: [
{ id: '320102', value: '320102', label: '玄武区', name: '玄武区', children: [] },
{ id: '320104', value: '320104', label: '秦淮区', name: '秦淮区', children: [] },
{ id: '320105', value: '320105', label: '建邺区', name: '建邺区', children: [] },
{ id: '320106', value: '320106', label: '鼓楼区', name: '鼓楼区', children: [] },
{ id: '320111', value: '320111', label: '浦口区', name: '浦口区', children: [] },
{ id: '320113', value: '320113', label: '栖霞区', name: '栖霞区', children: [] },
{ id: '320114', value: '320114', label: '雨花台区', name: '雨花台区', children: [] },
{ id: '320115', value: '320115', label: '江宁区', name: '江宁区', children: [] },
{ id: '320116', value: '320116', label: '六合区', name: '六合区', children: [] },
{ id: '320117', value: '320117', label: '溧水区', name: '溧水区', children: [] },
{ id: '320118', value: '320118', label: '高淳区', name: '高淳区', children: [] }
]},
{ id: '320500', value: '320500', label: '苏州市', name: '苏州市', children: [
{ id: '320505', value: '320505', label: '虎丘区', name: '虎丘区', children: [] },
{ id: '320506', value: '320506', label: '吴中区', name: '吴中区', children: [] },
{ id: '320507', value: '320507', label: '相城区', name: '相城区', children: [] },
{ id: '320508', value: '320508', label: '姑苏区', name: '姑苏区', children: [] },
{ id: '320509', value: '320509', label: '吴江区', name: '吴江区', children: [] },
{ id: '320505', value: '320505', label: '虎丘区', name: '虎丘区', children: [] },
{ id: '320581', value: '320581', label: '常熟市', name: '常熟市', children: [] },
{ id: '320582', value: '320582', label: '张家港市', name: '张家港市', children: [] },
{ id: '320583', value: '320583', label: '昆山市', name: '昆山市', children: [] },
{ id: '320585', value: '320585', label: '太仓市', name: '太仓市', children: [] }
]},
{ id: '320200', value: '320200', label: '无锡市', name: '无锡市', children: [] },
{ id: '320300', value: '320300', label: '徐州市', name: '徐州市', children: [] },
{ id: '320400', value: '320400', label: '常州市', name: '常州市', children: [] },
{ id: '320600', value: '320600', label: '南通市', name: '南通市', children: [] },
{ id: '320700', value: '320700', label: '连云港市', name: '连云港市', children: [] },
{ id: '320800', value: '320800', label: '淮安市', name: '淮安市', children: [] },
{ id: '320900', value: '320900', label: '盐城市', name: '盐城市', children: [] },
{ id: '321000', value: '321000', label: '扬州市', name: '扬州市', children: [] },
{ id: '321100', value: '321100', label: '镇江市', name: '镇江市', children: [] },
{ id: '321200', value: '321200', label: '泰州市', name: '泰州市', children: [] },
{ id: '321300', value: '321300', label: '宿迁市', name: '宿迁市', children: [] }
]}
];
},
},
};