Commit 534df6d8 authored by 姬鋆屾's avatar 姬鋆屾

parent ebc9884f
...@@ -458,16 +458,7 @@ export default { ...@@ -458,16 +458,7 @@ export default {
this.form.year = undefined; this.form.year = undefined;
this.form.month = undefined; this.form.month = undefined;
} }
if (this.form.orderCols1) {
this.form.orderColList = [
{
colName: "totalScore",
sortKind: this.form.orderCols1,
},
];
} else {
this.form.orderColList = "";
}
if (this.form.createTimeMonth) { if (this.form.createTimeMonth) {
// this.form.createTimeStart = this.form.createTimeMonth + "-01"; // this.form.createTimeStart = this.form.createTimeMonth + "-01";
// this.form.createTimeEnd = this.form.createTimeMonth + "-31"; // this.form.createTimeEnd = this.form.createTimeMonth + "-31";
......
...@@ -71,9 +71,9 @@ export default { ...@@ -71,9 +71,9 @@ export default {
this.$refs.dialogform.view(row); this.$refs.dialogform.view(row);
}, },
afterRender(data) { afterRender(data) {
data.dict.orderCols1 = { data.dict.sortKind = {
asc: "正序", 2: "正序",
desc: "倒序", 1: "倒序",
}; };
console.log(data); console.log(data);
this.config.columns.forEach((v) => { this.config.columns.forEach((v) => {
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
fuzzy: false, fuzzy: false,
}, },
{ {
name: "orderCols1", name: "sortKind",
type: "select", type: "select",
label: "总分排序方式", label: "总分排序方式",
fuzzy: false, fuzzy: false,
......
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