This commit is contained in:
zhaomeijing
2022-06-23 16:12:06 +08:00
parent 9cc7b57b5c
commit f1a49e4070
@@ -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) {