|
@@ -482,12 +482,12 @@ const getFieldReadonly = (i) => {
|
|
|
|
|
|
// 国家初始化
|
|
|
const cityOptionInit = () => {
|
|
|
- proxy.post("/areaInfo/list", { parentId: "0" }).then((res) => {
|
|
|
+ proxy.post("/customizeArea/list", { parentId: "0" }).then((res) => {
|
|
|
cityOption.value = res.data.map((item, index) => {
|
|
|
return {
|
|
|
...item,
|
|
|
index: index,
|
|
|
- text: item.chineseName,
|
|
|
+ text: item.name,
|
|
|
value: item.id,
|
|
|
children: [],
|
|
|
};
|
|
@@ -738,7 +738,7 @@ const handleRemove = (index,item) => {
|
|
|
const getAreaInfo = (selectedOptions, item, index) => {
|
|
|
showLoadingToast("加载中...");
|
|
|
proxy
|
|
|
- .post("/areaInfo/list", { parentId: selectedOptions.value })
|
|
|
+ .post("/customizeArea/list", { parentId: selectedOptions.value })
|
|
|
.then((res) => {
|
|
|
let countryIndex = selectedOptions.selectedOptions[0].index;
|
|
|
let provinceIndex =
|