Commit b37ec792 by 李嘉林

商户列表排序

parent d4403f15
...@@ -22,6 +22,8 @@ Component({ ...@@ -22,6 +22,8 @@ Component({
pageSize: 10, pageSize: 10,
shopTagIds: [], shopTagIds: [],
mallFlag: 1, mallFlag: 1,
sortColumn: 0,
sortType: 1,
}, },
WaterfallFlowList : [], WaterfallFlowList : [],
skeletonLoading: true, skeletonLoading: true,
...@@ -67,6 +69,8 @@ Component({ ...@@ -67,6 +69,8 @@ Component({
} }
this.setData({ this.setData({
['query.shopTagIds']: this.data.datas.componentData.selectMerchants == 0 ? [] : this.data.datas.componentData.selectLabelList, ['query.shopTagIds']: this.data.datas.componentData.selectMerchants == 0 ? [] : this.data.datas.componentData.selectLabelList,
"query.sortColumn": this.data.datas.componentData.sortType,
"query.sortType": this.data.datas.componentData.sortType == 0?1:0,
}) })
indexApi.get_multi_merchant_by_tags(this.data.query).then(res => { indexApi.get_multi_merchant_by_tags(this.data.query).then(res => {
this.setData({ 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