修改搜索查询
This commit is contained in:
@@ -73,13 +73,11 @@
|
||||
checkboxList: [],
|
||||
tableAll: false,
|
||||
indeterminate: false,
|
||||
searchParmes: {}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
eventBUs.$on('searchQuery', target => {
|
||||
this.searchParmes = target
|
||||
this.getTableList()
|
||||
eventBUs.$on('searchQuery', search => {
|
||||
this.getTableList(search)
|
||||
})
|
||||
eventBUs.$on('searchReset', target => {
|
||||
this.getTableList()
|
||||
@@ -118,9 +116,9 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
getTableList() {
|
||||
getTableList(search) {
|
||||
let params = {
|
||||
...searchParmes,
|
||||
...search,
|
||||
}
|
||||
getAction(this.url.tableList, params).then((res) => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user