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

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