Commit 814a3e3a authored by youjie's avatar youjie

no message

parent ab573e9d
...@@ -1691,11 +1691,12 @@ ...@@ -1691,11 +1691,12 @@
googleMap() { googleMap() {
this.selectAddress = false; this.selectAddress = false;
}, },
headCall(msg,type,headCall,index,address_detail) { headCall(msg,type,index,address_detail) {
// this.addMsg.QCountry = msg.country; // this.addMsg.QCountry = msg.country;
// this.addMsg.QProvince = msg.province; // this.addMsg.QProvince = msg.province;
// this.addMsg.QCity = msg.city; // this.addMsg.QCity = msg.city;
// this.addMsg.Address = msg.address; // this.addMsg.Address = msg.address;
// console.log(msg,type,index,address_detail,'-----')
if(type==1){ if(type==1){
this.addMsg.AirportList.forEach((x,i)=>{ this.addMsg.AirportList.forEach((x,i)=>{
if(i==index){ if(i==index){
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
placeholder="请输入需要检索的地名" name="address_detail" @input="search"/> placeholder="请输入需要检索的地名" name="address_detail" @input="search"/>
<!-- <input type="button" class="normalBtn sureBtn" value="搜索" @click="search"/> --> <!-- <input type="button" class="normalBtn sureBtn" value="搜索" @click="search"/> -->
</div> </div>
<div style="height: 320px;width: 100%;margin-top: 15px;" :id="`allmap_${id}${type}_${index}`"></div> <div style="height: 310px;width: 100%;margin-top: 15px;" :id="`allmap_${id}${type}_${index}`"></div>
<div style="margin-top: 10px;" v-if="address_detail">当前地址:{{address_detail}}</div> <div style="margin-top: 10px;" v-if="address_detail">已选地址:{{address_detail}}</div>
<div class="btnList"> <div class="btnList">
<input type="button" class="normalBtn sureBtn" value="确定" @click="sendMsg"/> <input type="button" class="normalBtn sureBtn" value="确定" @click="sendMsg"/>
<input type="button" class="hollowFixedBtn" value="取消" @click="closeDialog"/> <input type="button" class="hollowFixedBtn" value="取消" @click="closeDialog"/>
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
if (!this.point.lng) { if (!this.point.lng) {
this.Error("请点击地图上你需要选择的地址"); this.Error("请点击地图上你需要选择的地址");
} else { } else {
this.$emit("headCallBack", this.point,this.type,this.address_detail); this.$emit("headCallBack", this.point,this.type,this.index,this.address_detail);
this.$emit("refList"); this.$emit("refList");
} }
}, },
......
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