Commit 191ad0cb by chenwq

排序

1 parent 213a236a
...@@ -284,6 +284,8 @@ export default { ...@@ -284,6 +284,8 @@ export default {
}, },
handleClick(tab, event) { handleClick(tab, event) {
this.activeName = tab.name this.activeName = tab.name
this.searchForm.orderByType = ''
this.searchForm.orderByKey = ''
// this.changeTable(true) // this.changeTable(true)
this.tablePage = { this.tablePage = {
pageSize: 10, pageSize: 10,
...@@ -397,9 +399,9 @@ export default { ...@@ -397,9 +399,9 @@ export default {
templateCode: this.templateData.code, templateCode: this.templateData.code,
...this.getParams(), ...this.getParams(),
...this.tablePage, ...this.tablePage,
...sort,
orderByType: this.searchForm.orderByType, orderByType: this.searchForm.orderByType,
orderByKey: this.searchForm.orderByKey, orderByKey: this.searchForm.orderByKey,
...sort
} }
if (merchantIds.length) params2.staffUuidList = merchantIds if (merchantIds.length) params2.staffUuidList = merchantIds
// 表格 // 表格
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!