Commit 5ab72e26 authored by youjie's avatar youjie

no message

parent b9455cc0
......@@ -443,24 +443,22 @@ export default {
// 保存标记坐标
SavePositionStr() {
this.dataAll.TripMapList = JSON.parse(JSON.stringify(this.TripMapList));
return
this.TripMapList.forEach(x => {
x.CityList.forEach(y => {
this.citiesData.forEach(z => {
if (y.MName == z.name) {
y.Lng = z.Lng;
y.Lat = z.Lat;
}
});
});
// this.TripMapList.forEach(x => {
// x.CityList.forEach(y => {
// this.citiesData.forEach(z => {
// if (y.MName == z.name) {
// y.Lng = z.Lng;
// y.Lat = z.Lat;
// }
// });
// });
// this.countriesData.forEach(y => {
// if (x.MName == y.name) {
// x.Lng = y.Lng;
// x.Lat = y.Lat;
// }
// });
});
// });
},
// 导出地图片
getResultImg() {
......@@ -744,7 +742,6 @@ export default {
var marker = new mapboxgl.Marker({ color: "#d73b33", scale: 0.5 })
.setLngLat([item.longitude, item.latitude])
.addTo(this.map);
console.log(item.Lng,'=====')
if (item.Lng && item.Lat) {
this.addLabel(item, i, item);
} else {
......
......@@ -147,7 +147,7 @@
<el-input type="textarea" :autosize="{minRows: 1, maxRows: 8 }" resize="none"
placeholder="请输入行程大点信息" v-model="dayObj.TitleObj.Title"></el-input>
</el-form-item>
<el-form-item>
<el-form-item class="marginT10">
<el-input placeholder="请输入公里数" class="w120" v-model="dayObj.TitleObj.KMNumber">
<template slot="append">KM</template>
</el-input>
......@@ -226,7 +226,7 @@
</div>
</div>
<!-- 行程景点信息 -->
<div class="TC-warmTips TC-Comtitlediv" v-if="!dayObj.isRead" :class="{'showOther':TeamType==3}">
<div class="TC-SpecialInstruction clearfix column">
<div class="TC-leftTitle" style="height: 20px;">温馨提示</div>
......@@ -319,7 +319,7 @@
getScenicArray(){
let i = 1
let list = []
this.dayObj.ScenicArray.forEach(x=>{
x.Rank = 0
if(x.CouponsId===this.ScenicArraySingle){
......@@ -786,11 +786,11 @@
},
mounted() {},
components: {
hotelTrip,
trifficTrip,
noScenic,
"my-edit": MyEdit,
......
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