From 58da1ab1c3085e1e82ff1c48a984220eb6e4df8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Tue, 15 Oct 2019 17:15:46 +0800
Subject: [PATCH 01/23] =?UTF-8?q?=E8=B0=83=E6=95=B4=20issues/24776?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../shixunHomework/Listofworksstudentone.js | 26 +++++++++----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index 926e1b023..df4dbc956 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -2239,9 +2239,9 @@ class Listofworksstudentone extends Component {
var homeworkid = this.props.match.params.homeworkid;
let urll = `/homework_commons/${homeworkid}/works_list.json?`;
var order = "asc";
- // if (ordervlue === "update_time") {
- // order = "desc";
- // }
+ if (ordervlue === "update_time") {
+ order = "desc";
+ }
var checkedValuesines = checkedValuesine;
var checkedValuesineinfos = checkedValuesineinfo;
var searchtexts = searchtext
@@ -2653,15 +2653,15 @@ class Listofworksstudentone extends Component {
}
//排序
funordert = (e) => {
- // if (e === "update_time") {
- // // 时间
- // // 时间排序是从小到大
- // this.setState({
- // orders: "update_time",
- // loadingstate: true,
- // })
- // this.Startsortingt("update_time", this.state.course_groupyslstwo, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
- // }
+ if (e === "update_time") {
+ // 时间
+ // 时间排序是从小到大
+ this.setState({
+ orders: "update_time",
+ loadingstate: true,
+ })
+ this.Startsortingt("update_time", this.state.course_groupyslstwo, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
+ }
if (e === "work_score") {
// 成绩
@@ -3365,7 +3365,7 @@ class Listofworksstudentone extends Component {
{orders === "work_score" ? "成绩" : orders === "student_id" ? "学号" : ""}排序
From 96555dac6dd90e945c643a749dda4ae9248cab55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Tue, 15 Oct 2019 17:17:12 +0800
Subject: [PATCH 02/23] =?UTF-8?q?=E8=B0=83=E6=95=B4=20issues/24776=20?=
=?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=96=B9=E5=BC=8F=20=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/modules/courses/shixunHomework/Listofworksstudentone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index df4dbc956..17c6c1917 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -1991,7 +1991,7 @@ class Listofworksstudentone extends Component {
// var teacherlist = { //分页
// total: teacherdata.student_works.length, //数据总数量
// pageSize: teacherdata.student_works.length, //一页显示几条
- // current: this.state.page,
+ // current: this.state.page,
// }
} else {
// console.log("seacthdata设置数据2")
From fe47cc5d4da39340d7d161b190f58452d59c3a1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Tue, 15 Oct 2019 17:17:31 +0800
Subject: [PATCH 03/23] =?UTF-8?q?=E8=B0=83=E6=95=B4=20issues/24776=20?=
=?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=96=B9=E5=BC=8F=20=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/modules/courses/shixunHomework/Listofworksstudentone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index 17c6c1917..df4dbc956 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -1991,7 +1991,7 @@ class Listofworksstudentone extends Component {
// var teacherlist = { //分页
// total: teacherdata.student_works.length, //数据总数量
// pageSize: teacherdata.student_works.length, //一页显示几条
- // current: this.state.page,
+ // current: this.state.page,
// }
} else {
// console.log("seacthdata设置数据2")
From 50bb01e33735d9916769c479ced7f0e5aaa8f94a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Tue, 15 Oct 2019 17:29:51 +0800
Subject: [PATCH 04/23] =?UTF-8?q?=E8=B0=83=E6=95=B4=20issues/24776=20?=
=?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=96=B9=E5=BC=8F=20=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/modules/courses/shixunHomework/Listofworksstudentone.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index df4dbc956..c3c22f0f0 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -3362,7 +3362,7 @@ class Listofworksstudentone extends Component {