Commit bef80413 authored by liudong1993's avatar liudong1993
parents 972ee563 8c00c778
...@@ -220,6 +220,7 @@ ...@@ -220,6 +220,7 @@
TripCountryList: [], //行程国家 TripCountryList: [], //行程国家
TripCityList: [], //行程城市 TripCityList: [], //行程城市
TripMapList: [], TripMapList: [],
NotQueryCityList:[],//使用系统中的经纬度城市
}, },
//行程 //行程
FeatureData: { FeatureData: {
...@@ -878,6 +879,7 @@ ...@@ -878,6 +879,7 @@
this.PostConfig.TripCountryList = tempData.TripCountryList; this.PostConfig.TripCountryList = tempData.TripCountryList;
this.PostConfig.TripCityList = tempData.TripCityList; this.PostConfig.TripCityList = tempData.TripCityList;
this.PostConfig.TripMapList = tempData.TripMapList; this.PostConfig.TripMapList = tempData.TripMapList;
this.PostConfig.NotQueryCityList=tempData.NotQueryCityList;
this.PostConfig.MapUrl = tempData.MapUrl; this.PostConfig.MapUrl = tempData.MapUrl;
let arrList = function (list) { let arrList = function (list) {
list.forEach(x => { list.forEach(x => {
......
...@@ -399,11 +399,11 @@ ...@@ -399,11 +399,11 @@
<span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked" <span v-if="dayobject.checkState==$calendarUtils.checkState.noChecked"
class="other-month">{{dayobject.day.getDate()}}</span> class="other-month">{{dayobject.day.getDate()}}</span>
<!----> <!---->
<span v-if="dayobject.checkState==$calendarUtils.checkState.checked" <span v-if="dayobject.checkState==$calendarUtils.checkState.checked" class="checked1"
class="checked1" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
<!----> <!---->
<span <span v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue"
v-else-if="dayobject.checkState==$calendarUtils.checkState.hasValue" @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span> @click="clickedDay(dayobject)">{{dayobject.day.getDate()}}</span>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -1491,7 +1491,8 @@ ...@@ -1491,7 +1491,8 @@
QFlightDateEnd: this.QFlightDateEnd, QFlightDateEnd: this.QFlightDateEnd,
CreateBy: createBy, CreateBy: createBy,
AirTicketId: this.priceData.AirTicketId, AirTicketId: this.priceData.AirTicketId,
TCID: this.priceData.TCID TCID: this.priceData.TCID,
LineId: this.PostConfig.LineId
}; };
let that = this; let that = this;
......
...@@ -98,7 +98,6 @@ ...@@ -98,7 +98,6 @@
deviceMarkers: [], //城市Markers deviceMarkers: [], //城市Markers
allMapCityList: [], //地图显示所有城市 allMapCityList: [], //地图显示所有城市
countriesMarkers: [], //国家的Markers countriesMarkers: [], //国家的Markers
chooseCountry: [], //选中的国家 chooseCountry: [], //选中的国家
chooseCity: [], //选中的城市 chooseCity: [], //选中的城市
}; };
...@@ -481,7 +480,6 @@ ...@@ -481,7 +480,6 @@
filter: ["==", "NAME_ZH", x.name] filter: ["==", "NAME_ZH", x.name]
}); });
} }
if (x.MId != 651 && x.MId != 891) { if (x.MId != 651 && x.MId != 891) {
that.ClearSource("mapLayer-" + x.MId, 1) that.ClearSource("mapLayer-" + x.MId, 1)
that.ClearSource("mapLayerId-" + x.MId, 1) that.ClearSource("mapLayerId-" + x.MId, 1)
...@@ -570,6 +568,10 @@ ...@@ -570,6 +568,10 @@
async calcCitiesGeoInfoHandler() { async calcCitiesGeoInfoHandler() {
await Promise.all( await Promise.all(
this.citiesData.map(async cityItem => { this.citiesData.map(async cityItem => {
var isNotQueryCity = this.PostConfig.NotQueryCityList.find(cItem => {
return cItem === cityItem.MId;
});
if (!isNotQueryCity) {
var cityPosition = await this.getCityCoordinates(cityItem); var cityPosition = await this.getCityCoordinates(cityItem);
if (cityPosition && cityPosition.length == 2) { if (cityPosition && cityPosition.length == 2) {
cityItem.longitude = cityPosition[0]; cityItem.longitude = cityPosition[0];
...@@ -577,6 +579,7 @@ ...@@ -577,6 +579,7 @@
cityItem.Lat = cityPosition[1]; cityItem.Lat = cityPosition[1];
cityItem.latitude = cityPosition[1]; cityItem.latitude = cityPosition[1];
} }
}
}) })
); );
}, },
......
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