Commit c27593fb authored by huangyuanyuan's avatar huangyuanyuan

update

parent 4fe35650
...@@ -79,7 +79,7 @@ Page({ ...@@ -79,7 +79,7 @@ Page({
this.setData({ this.setData({
site: val.detail site: val.detail
}) })
this.onLoad(); this.getList();
}, },
// 获取行程天数及出发城市 // 获取行程天数及出发城市
GetStartInfo() { GetStartInfo() {
...@@ -158,7 +158,7 @@ Page({ ...@@ -158,7 +158,7 @@ Page({
orderindex: this.data.orderindex, orderindex: this.data.orderindex,
ordertype: this.data.ordertype ordertype: this.data.ordertype
}) })
this.onLoad(); this.getList();
}, },
//点击确定查询数据 //点击确定查询数据
...@@ -199,7 +199,7 @@ Page({ ...@@ -199,7 +199,7 @@ Page({
listmsg: this.data.listmsg, listmsg: this.data.listmsg,
showDays: this.data.showDays showDays: this.data.showDays
}) })
this.onLoad(); this.getList();
}, },
//点击出发城市 //点击出发城市
getStartCity(e) { getStartCity(e) {
...@@ -209,7 +209,7 @@ Page({ ...@@ -209,7 +209,7 @@ Page({
listmsg: this.data.listmsg, listmsg: this.data.listmsg,
ckedStartCity: this.data.ckedStartCity ckedStartCity: this.data.ckedStartCity
}) })
this.onLoad(); this.getList();
}, },
//跳转至详情 //跳转至详情
Godetail(e) { Godetail(e) {
...@@ -240,10 +240,11 @@ Page({ ...@@ -240,10 +240,11 @@ Page({
let that=this; let that=this;
if (options.lineId){ if (options.lineId){
that.data.listmsg.lineId=options.lineId; that.data.listmsg.lineId=options.lineId;
that.setData({
listmsg: that.data.listmsg,
})
} }
that.setData({
listmsg:that.data.listmsg,
})
this.GetStartInfo(); this.GetStartInfo();
let City = this.selectComponent("#CityComp"); let City = this.selectComponent("#CityComp");
City.getCityList(); City.getCityList();
......
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