Commit 137324d1 authored by 黄奎's avatar 黄奎

页面修改

parent 5425f182
......@@ -68,32 +68,6 @@ export default {
this.dataList.lat = obj.lat;
this.dataList.lng = obj.lng;
this.dataList.address = obj.address;
var that = this;
if (obj.areaArray != null && obj.areaArray.length > 0) {
var q_msg = { area: JSON.stringify(obj.areaArray) };
that.apipost(
"dict_get_Destination_GetListByNames",
q_msg,
res => {
if (res.data.resultCode == 1) {
res.data.data.forEach(areaItem => {
switch (areaItem.CodeLevel) {
case 1:
this.dataList.country = areaItem.ID;
break;
case 2:
this.dataList.province = areaItem.ID;
break;
case 3:
this.dataList.city = areaItem.ID;
break;
}
});
}
},
null
);
}
this.$emit("headCallBack", this.dataList);
},
closeDialog() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment