Commit 6095ee5e authored by zhengke's avatar zhengke

修改跟团游

parent 7f0cfa25
......@@ -74,7 +74,6 @@ Page({
}
},
ChangeSite(val) {
console.log(val.detail);
this.data.listmsg.companyId = val.companyId;
this.data.listmsg.cityId = val.cityId;
this.setData({
......@@ -89,7 +88,6 @@ Page({
cityId: this.data.site.cityId,
}
app.$api('b2b_get_GetGroupSearchItem', tagmsg).then(res => {
console.log(res);
res.startCity.unshift({
id: 0,
startCityName: '不限'
......@@ -124,7 +122,6 @@ Page({
},
//点击月份的到出发结束日期
getStartMonth(e) {
console.log(e);
let year = new Date().getFullYear();
let month = e.target.dataset.type;
let firstdate = year + '-' + month + '-01';
......@@ -150,7 +147,6 @@ Page({
},
//点击过滤条件
changeOrderType(e) {
console.log(e);
let type = e.target.dataset.type;
if (this.data.orderindex == type) {
this.data.ordertype = this.data.ordertype == 0 ? 1 : 0
......@@ -162,9 +158,6 @@ Page({
orderindex: this.data.orderindex,
ordertype: this.data.ordertype
})
console.log(this.data.orderindex, 'orderindex');
console.log(this.data.ordertype, 'ordertype');
this.onLoad();
},
......@@ -184,12 +177,10 @@ Page({
this.setData({
listmsg: that.data.listmsg
})
console.log("listmsg", that.data.listmsg)
app.$api('b2b_get_GetB2BTravelPageList', that.data.listmsg).then(res => {
res.pageData.forEach(x => {
x.newImgCover = JSON.parse(x.imgCover);
})
console.log(res.pageData, 'ssss');
this.setData({
dataList: res.pageData,
ScreenStatus: false
......@@ -213,7 +204,6 @@ Page({
},
//点击出发城市
getStartCity(e) {
console.log(e);
this.data.listmsg.startCityId = e.target.dataset.id;
this.data.ckedStartCity = e.target.dataset.index;
this.setData({
......
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