Commit 8c92cddc authored by 姬鋆屾's avatar 姬鋆屾

feated:窗口绩效汇总增加排序功能

parent 9f3000ba
......@@ -118,6 +118,20 @@ export default {
},
methods: {
handleSortChange({ column, prop, order }) {
console.log(column);
console.log(prop);
console.log(order);
if (order) {
let obj = {};
this.orderColList = [];
obj.colName = prop;
order == "ascending" ? (obj.sortKind = "asc") : (obj.sortKind = "desc");
this.orderColList.push(obj);
} else {
this.orderColList = [];
}
},
countDown() {
if (this.percent == 95) {
if (this.selection.length > 0) {
......@@ -130,6 +144,7 @@ export default {
...this.query,
page: 1,
size: -1,
orderColList: this.orderColList,
},
{ type: "excel", name: "窗口绩效汇总" }
)
......@@ -268,6 +283,7 @@ export default {
},
data() {
return {
orderColList: [],
toString: ["suggestion"],
endTime: "",
restTime: "15",
......
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