Commit bff9a479 authored by danfuman's avatar danfuman

修改

parent 7bc62adb
......@@ -400,16 +400,22 @@
},
sortChange({ column, prop, order }){
this.queryParams.orderName = prop
this.paramsData.orderName = prop
if(column.order === "ascending"){
this.queryParams.orderType = 'asc'
this.paramsData.orderType = 'asc'
}else if(column.order === "descending"){
this.queryParams.orderType = 'desc'
this.paramsData.orderType = 'desc'
}else {
this.queryParams.orderType=''
this.queryParams.orderName=''
this.paramsData.orderType=''
this.paramsData.orderName=''
}
this.pageIndex = 1;
this.handleQuery()
this.queryParams.pageNum =1
this.paramsData.pageNum =1
this.handleQuery(this.paramsData)
},
//分页
handleCurrentChange(e){
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment