diff --git a/p__Classrooms__Overview__index.async.js b/p__Classrooms__Overview__index.async.js index 664d88f040..d1bd6812db 100644 --- a/p__Classrooms__Overview__index.async.js +++ b/p__Classrooms__Overview__index.async.js @@ -317,63 +317,49 @@ var Page = function Page(_ref3) { }, { title: "学生数", dataIndex: "stu_num", - sorter: function sorter(a, b) { - return a.stu_num - b.stu_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "发布作业数", dataIndex: "work_num", - sorter: function sorter(a, b) { - return a.work_num - b.work_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "发布考试数", dataIndex: "exam_num", - sorter: function sorter(a, b) { - return a.exam_num - b.exam_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "资源数", dataIndex: "attachment_num", - sorter: function sorter(a, b) { - return a.attachment_num - b.attachment_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "讨论数", dataIndex: "discuss_num", - sorter: function sorter(a, b) { - return a.discuss_num - b.discuss_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "评测次数", dataIndex: "evaluation_num", - sorter: function sorter(a, b) { - return a.evaluation_num - b.evaluation_num; - }, + sorter: true, render: function render(text, record) { return text; } }, { title: "完成作业数", dataIndex: "complete_work_num", - sorter: function sorter(a, b) { - return a.complete_work_num - b.complete_work_num; - }, + sorter: true, render: function render(text, record) { return text; } diff --git a/p__Paths__Overview__index.async.js b/p__Paths__Overview__index.async.js index 1bc610d296..372ac9666f 100644 --- a/p__Paths__Overview__index.async.js +++ b/p__Paths__Overview__index.async.js @@ -263,9 +263,7 @@ var Page = function Page(_ref) { title: "学习总人数", width: 110, dataIndex: "learn_num", - sorter: function sorter(a, b) { - return a.learn_num - b.learn_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -273,9 +271,7 @@ var Page = function Page(_ref) { title: "Spoc学习人数", width: 120, dataIndex: "spoc_num", - sorter: function sorter(a, b) { - return a.spoc_num - b.spoc_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -283,9 +279,7 @@ var Page = function Page(_ref) { title: "自主学习人数", width: 120, dataIndex: "self_learn_num", - sorter: function sorter(a, b) { - return a.self_learn_num - b.self_learn_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -293,9 +287,7 @@ var Page = function Page(_ref) { title: "课件数", width: 80, dataIndex: "courseware_num", - sorter: function sorter(a, b) { - return a.courseware_num - b.courseware_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -303,9 +295,7 @@ var Page = function Page(_ref) { title: "实践项目数", dataIndex: "shixun_num", width: 110, - sorter: function sorter(a, b) { - return a.shixun_num - b.shixun_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -313,9 +303,7 @@ var Page = function Page(_ref) { title: "关卡数", width: 80, dataIndex: "challenge_num", - sorter: function sorter(a, b) { - return a.challenge_num - b.challenge_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -323,9 +311,7 @@ var Page = function Page(_ref) { title: "评测总次数", width: 110, dataIndex: "evaluation_num", - sorter: function sorter(a, b) { - return a.evaluation_num - b.evaluation_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -333,9 +319,7 @@ var Page = function Page(_ref) { title: "关卡通过总次数", width: 135, dataIndex: "clearance_num", - sorter: function sorter(a, b) { - return a.clearance_num - b.clearance_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -343,9 +327,7 @@ var Page = function Page(_ref) { title: "关卡平均通过率 (%)", width: 170, dataIndex: "clearance_rate", - sorter: function sorter(a, b) { - return a.clearance_rate - b.clearance_rate; - }, + sorter: true, render: function render(text, record) { return text; } diff --git a/p__Shixuns__Overview__index.async.js b/p__Shixuns__Overview__index.async.js index 3b46c18709..c7f78d3d2f 100644 --- a/p__Shixuns__Overview__index.async.js +++ b/p__Shixuns__Overview__index.async.js @@ -282,9 +282,7 @@ var Page = function Page(_ref3) { dataIndex: "shixun_num", width: 160, ellipsis: true, - sorter: function sorter(a, b) { - return a.shixun_num - b.shixun_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -292,9 +290,7 @@ var Page = function Page(_ref3) { title: "评测关卡数", width: 110, dataIndex: "challenge_num", - sorter: function sorter(a, b) { - return a.challenge_num - b.challenge_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -302,9 +298,7 @@ var Page = function Page(_ref3) { title: "评测总次数", width: 110, dataIndex: "evaluation_num", - sorter: function sorter(a, b) { - return a.evaluation_num - b.evaluation_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -312,9 +306,7 @@ var Page = function Page(_ref3) { title: "关卡通过总次数", dataIndex: "clearance_num", width: 140, - sorter: function sorter(a, b) { - return a.clearance_num - b.clearance_num; - }, + sorter: true, render: function render(text, record) { return text; } @@ -322,9 +314,7 @@ var Page = function Page(_ref3) { title: "关卡平均通过率 (%)", dataIndex: "clearance_rate", width: 200, - sorter: function sorter(a, b) { - return a.clearance_rate - b.clearance_rate; - }, + sorter: true, render: function render(text, record) { return text; }