Commit 99178047 by zhujian

'字段修改'

parent cc540568
...@@ -63,9 +63,9 @@ function DataAnalysic(props: any) { ...@@ -63,9 +63,9 @@ function DataAnalysic(props: any) {
ascend: 'CREATED_ASC', ascend: 'CREATED_ASC',
descend: 'ACCURACY_DESC' descend: 'ACCURACY_DESC'
}, },
examDuration: { userDuration: {
ascend: 'PASS_CNT_ASC', ascend: 'USER_DURATION_ASC',
descend: 'CREATED_DESC' descend: 'USER_DURATION_DESC'
}, },
} }
...@@ -145,9 +145,9 @@ function DataAnalysic(props: any) { ...@@ -145,9 +145,9 @@ function DataAnalysic(props: any) {
}, },
{ {
title: "考试用时", title: "考试用时",
dataIndex: "examDuration", dataIndex: "userDuration",
sorter: true, sorter: true,
sortOrder: field === "examDuration" ? order : sortStatus.type, sortOrder: field === "userDuration" ? order : sortStatus.type,
render: (text: any) => <span>{window.formatHourTime(text)} </span>, render: (text: any) => <span>{window.formatHourTime(text)} </span>,
}, },
......
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