Commit bff9a479 authored by danfuman's avatar danfuman

修改

parent 7bc62adb
...@@ -400,16 +400,22 @@ ...@@ -400,16 +400,22 @@
}, },
sortChange({ column, prop, order }){ sortChange({ column, prop, order }){
this.queryParams.orderName = prop this.queryParams.orderName = prop
this.paramsData.orderName = prop
if(column.order === "ascending"){ if(column.order === "ascending"){
this.queryParams.orderType = 'asc' this.queryParams.orderType = 'asc'
this.paramsData.orderType = 'asc'
}else if(column.order === "descending"){ }else if(column.order === "descending"){
this.queryParams.orderType = 'desc' this.queryParams.orderType = 'desc'
this.paramsData.orderType = 'desc'
}else { }else {
this.queryParams.orderType='' this.queryParams.orderType=''
this.queryParams.orderName='' this.queryParams.orderName=''
this.paramsData.orderType=''
this.paramsData.orderName=''
} }
this.pageIndex = 1; this.queryParams.pageNum =1
this.handleQuery() this.paramsData.pageNum =1
this.handleQuery(this.paramsData)
}, },
//分页 //分页
handleCurrentChange(e){ 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