From 33a3ba0bcd5ce8865d9d4315ce809a6e92ada6d8 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Tue, 27 Aug 2019 14:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E5=87=BA=E5=8A=A0=E3=80=82=E3=80=82?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/courses/busyWork/CommonWorkPost.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/CommonWorkPost.js b/public/react/src/modules/courses/busyWork/CommonWorkPost.js index 5ac53a065..7e916e4cd 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkPost.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkPost.js @@ -735,8 +735,12 @@ render(){ disabled={item.commit_status || item.user_id == this.props.current_user.user_id ===true?true:false} className="fl " >
{item.user_name}
-
{item.group_name}
-
{item.student_id}
+
9 ? item.group_name : ''} + >{item.group_name}
+
12 ? item.student_id : ''} + >{item.student_id}
{item.commit_status===true?已提交 :""}
) @@ -766,8 +770,12 @@ render(){
{item.user_name}
-
{item.group_name}
-
{item.student_id}
+
9 ? item.group_name : ''} + >{item.group_name}
+
12 ? item.student_id : ''} + >{item.student_id}
{item.user_id != this.props.current_user.user_id ?
this.delecttask_status(item.user_id)}>
:""} )