|
@@ -1009,8 +1009,16 @@ const config = computed(() => {
|
|
|
];
|
|
|
});
|
|
|
const getDict = () => {
|
|
|
- proxy.post("/areaInfo/list", { parentId: "0" }).then((res) => {
|
|
|
- countryData.value = res;
|
|
|
+ proxy.post("/customizeArea/list", { parentId: "0" }).then((res) => {
|
|
|
+ if (res && res.length > 0) {
|
|
|
+ countryData.value = res.map((item) => {
|
|
|
+ return {
|
|
|
+ ...item,
|
|
|
+ label: item.chineseName,
|
|
|
+ value: item.id,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
proxy
|
|
|
.post("/dictTenantData/page", {
|