Commit 0b442076 authored by 黄奎's avatar 黄奎

开团修改

parent 2f7cc8b3
...@@ -331,7 +331,6 @@ var tripUtils = { ...@@ -331,7 +331,6 @@ var tripUtils = {
//行程-【交通对象】 //行程-【交通对象】
trafficObj: function () { trafficObj: function () {
console.log(ViittoFileUrl)
return { return {
ID: 0, ID: 0,
ConfigId: 0, ConfigId: 0,
......
...@@ -348,7 +348,7 @@ export default { ...@@ -348,7 +348,7 @@ export default {
} }
this.subConfig.DayList.length = this.subConfig.DayNum; this.subConfig.DayList.length = this.subConfig.DayNum;
} }
console.log("this.sub",this.subConfig);
}, },
//点击往后追加 //点击往后追加
...@@ -697,43 +697,41 @@ export default { ...@@ -697,43 +697,41 @@ export default {
var FreedomList = []; var FreedomList = [];
var WarmTipList = []; var WarmTipList = [];
var TitleList = []; var TitleList = [];
// this.subConfig.DayList.forEach((item, dayIndex) => { this.subConfig.DayList.forEach((item, dayIndex) => {
// var rank = 1; var rank = 1;
// if (item.dayArray != null && item.dayArray.length > 0) { if (item.dayArray != null && item.dayArray.length > 0) {
// item.dayArray.forEach(subItem => { item.dayArray.forEach(subItem => {
// subItem.childItem.Rank = rank; subItem.childItem.Rank = rank;
// subItem.childItem.dayNum = item.dayNum; subItem.childItem.dayNum = item.dayNum;
// subItem.Type = subItem.Type.toString(); subItem.Type = subItem.Type.toString();
// switch (subItem.Type) { switch (subItem.Type) {
// case this.$tripUtils.TypeKey.traffic: case this.$tripUtils.TypeKey.traffic:
// TrafficList.push(subItem.childItem); TrafficList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.scenic: case this.$tripUtils.TypeKey.scenic:
// ScenicList.push(subItem.childItem); ScenicList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.hotel: case this.$tripUtils.TypeKey.hotel:
// HotelList.push(subItem.childItem); HotelList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.dinner: case this.$tripUtils.TypeKey.dinner:
// DinnerList.push(subItem.childItem); DinnerList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.freedom: case this.$tripUtils.TypeKey.freedom:
// FreedomList.push(subItem.childItem); FreedomList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.warmtip: case this.$tripUtils.TypeKey.warmtip:
// WarmTipList.push(subItem.childItem); WarmTipList.push(subItem.childItem);
// break; break;
// case this.$tripUtils.TypeKey.title: case this.$tripUtils.TypeKey.title:
// TitleList.push(subItem.childItem); TitleList.push(subItem.childItem);
// break; break;
// } }
// rank++; rank++;
// }); });
// } }
// }); });
this.subConfig.DayList.forEach((item,dayIndex)=>{
})
var obj = { var obj = {
RemoveChild: this.subConfig.RemoveChild, RemoveChild: this.subConfig.RemoveChild,
RemoveImg: this.subConfig.RemoveImg, RemoveImg: this.subConfig.RemoveImg,
...@@ -758,9 +756,6 @@ export default { ...@@ -758,9 +756,6 @@ export default {
//防止首次初始化数据失败 //防止首次初始化数据失败
// this.emitData(); // this.emitData();
this.typeArrayList.push(this.$tripUtils.TypeArray[this.$tripUtils.TypeArray.length-1]); this.typeArrayList.push(this.$tripUtils.TypeArray[this.$tripUtils.TypeArray.length-1]);
// this.getSameJourney();
console.log(this.subConfig,'subConfigOld');
}, },
created() { created() {
if (this.isOpenGroup == undefined) { if (this.isOpenGroup == undefined) {
...@@ -772,10 +767,6 @@ export default { ...@@ -772,10 +767,6 @@ export default {
getDayNum() { getDayNum() {
return this.subConfig.DayNum; return this.subConfig.DayNum;
}, },
//获取目的地
// getCountryId() {
// return this.subArray.CountryID;
// },
getDayList() { getDayList() {
return this.subConfig.DayList; return this.subConfig.DayList;
} }
...@@ -785,16 +776,12 @@ export default { ...@@ -785,16 +776,12 @@ export default {
getDayNum(newValue, oldValue) { getDayNum(newValue, oldValue) {
this.createLineTrip(); this.createLineTrip();
}, },
//监听目的地国家是否改变 subConfig: {
// getCountryId(newValue, oldValue) { handler: function(newValue, oldValue) {
// this.createLineTrip(); this.emitData();
// }, },
// subConfig: { deep: true
// handler: function(newValue, oldValue) { }
// this.emitData();
// },
// deep: true
// }
} }
}; };
</script> </script>
\ No newline at end of file
...@@ -246,6 +246,7 @@ ...@@ -246,6 +246,7 @@
//行程回调 //行程回调
getDaysTrip(tripObj) { getDaysTrip(tripObj) {
this.PostDaysTrip = tripObj; this.PostDaysTrip = tripObj;
console.log("this.PostDaysTrip",this.PostDaysTrip);
}, },
/*获取行程特色内容对象*/ /*获取行程特色内容对象*/
getFeature(featureObj) { getFeature(featureObj) {
...@@ -266,7 +267,6 @@ ...@@ -266,7 +267,6 @@
if (this.PostConfig.fileList.length <= 5) { if (this.PostConfig.fileList.length <= 5) {
this.PostConfig.fileList.push(fileObj); this.PostConfig.fileList.push(fileObj);
} }
this.FeatureData.fileList.push(fileObj); this.FeatureData.fileList.push(fileObj);
} }
}, },
......
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