Commit 8b124742 authored by zhengke's avatar zhengke

修改

parent 03ae6b51
......@@ -292,7 +292,7 @@
<text style="margin-left: 20rpx;">{{currentBrachName}}</text>
</view>
<view style="width: 1px; flex: 1;">
<u-search placeholder="目的地名称" v-model="msg.searchKey" @search="getList" input-align="left" :value="msg.searchKey" text-color="#111"
<u-search placeholder="目的地名称" v-model="msg.searchKey" @search="getList(1)" input-align="left" :value="msg.searchKey" text-color="#111"
bg-color="rgba(0,0,0,0)" :show-action="false"></u-search>
</view>
</view>
......@@ -435,7 +435,9 @@
startCityId: -1,
companyId: 0,
searchKey: '', //搜索数据
priceOrderByField:2
priceOrderByField:2,
LineTeamIds: '',
PlaceIds: ''
},
time: '',
params: {
......@@ -524,11 +526,19 @@
},
created() {
this.getLineQuery();
this.research();
uni.setNavigationBarTitle({
title: "精品旅游线路"
})
},
onLoad(option) {
if(option&&option.LineTeamIds){
this.msg.LineTeamIds = option.LineTeamIds
}
if(option&&option.PlaceIds){
this.msg.PlaceIds = option.PlaceIds
}
this.research();
},
methods: {
//获取查询条件
getLineQuery() {
......@@ -683,8 +693,11 @@
this.getList();
},
//获取数据
getList() {
getList(type) {
if(type==1){
this.dataList=[];
this.msg.pageIndex=1;
}
uni.showLoading({
title:'加载中',
icon:'none'
......
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