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