Commit 5ab72e26 authored by youjie's avatar youjie

no message

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