From df193a6c5e230a89859356f0c482d61c06fdc5e0 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Sat, 29 Jun 2019 09:43:52 +0800
Subject: [PATCH] normal
---
.../src/modules/courses/busyWork/CommonWorkList.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/public/react/src/modules/courses/busyWork/CommonWorkList.js b/public/react/src/modules/courses/busyWork/CommonWorkList.js
index 4d5676c5a..46d06e300 100644
--- a/public/react/src/modules/courses/busyWork/CommonWorkList.js
+++ b/public/react/src/modules/courses/busyWork/CommonWorkList.js
@@ -31,7 +31,7 @@ function renderScore(score, content) {
} else if (score >= 60) {
color = '#FF6800'
}
- return
+ return
{score == null || score == undefined || score == '--' ? '--': (content || score)}
}
@@ -105,7 +105,7 @@ function buildColumns(that, student_works) {
{record.student_id}
),
@@ -121,7 +121,7 @@ function buildColumns(that, student_works) {
render: (text, record) => (
- {record.group_name}
+ {record.group_name}
),
} )
@@ -177,7 +177,7 @@ function buildColumns(that, student_works) {
}
return (
-
+
{status === 0 ? "未提交" : status === 1 ? "按时提交" : status === 2 ? "延时提交" : ""}
@@ -190,7 +190,7 @@ function buildColumns(that, student_works) {
render: (update_time, record) => (
- {update_time ? moment(update_time).format('YYYY-MM-DD HH:mm') : '--'}
+ {update_time ? moment(update_time).format('YYYY-MM-DD HH:mm') : '--'}
),
}])