[update]
This commit is contained in:
@@ -197,8 +197,16 @@ export default {
|
||||
console.log(val,kk)
|
||||
},
|
||||
handleTableChange(pagination, filters, sorter) {
|
||||
this.queryParam.orderByField = 'nioNumber'
|
||||
this.queryParam.orderBy = (sorter.order === 'descend' ? 'asc': 'desc')
|
||||
let _i = sorter.order === 'descend' ? 'asc': 'desc'
|
||||
let _tt = {
|
||||
orderByField: 'nioNumber',
|
||||
orderBy: _i
|
||||
}
|
||||
this.queryParam = {
|
||||
...this.queryParam, ..._tt
|
||||
}
|
||||
// this.queryParam.orderByField = 'nioNumber'
|
||||
// this.queryParam.orderBy = (sorter.order === 'descend' ? 'asc': 'desc')
|
||||
this.getList()
|
||||
},
|
||||
onClick(val,kk) {
|
||||
@@ -340,6 +348,8 @@ export default {
|
||||
},
|
||||
addModelList() {
|
||||
this.pageNo = 1
|
||||
delete this.queryParam.orderBy
|
||||
delete this.queryParam.orderByField
|
||||
this.getList()
|
||||
},
|
||||
PersonnelSelectionChange(value, id) {
|
||||
|
||||
Reference in New Issue
Block a user