From 696be1edbf338905e98c5971a030324515ee7a81 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Fri, 5 Jul 2019 11:08:54 +0800
Subject: [PATCH 1/2] id
---
.../modules/courses/members/teacherList.js | 20 ++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js
index c0c450ac0..9e20bd64d 100644
--- a/public/react/src/modules/courses/members/teacherList.js
+++ b/public/react/src/modules/courses/members/teacherList.js
@@ -39,15 +39,17 @@ function buildColumns(that) {
render: (content, item, index) => {
return {(that.state.page - 1) * 20 + index + 1}
}
- },{
- title: '用户ID',
- width: 120,
- dataIndex: 'login',
- key: 'login',
- render: (login, record) => {
- return 8 ? login : ''}`}>{login}
- }
- }, {
+ }
+ // ,{
+ // title: '用户ID',
+ // width: 120,
+ // dataIndex: 'login',
+ // key: 'login',
+ // render: (login, record) => {
+ // return 8 ? login : ''}`}>{login}
+ // }
+ // }
+ , {
title: '姓名',
dataIndex: 'name',
width: 120,
From bca7a89c8c51cc0b22a942b415d9c16cc2c1c6a7 Mon Sep 17 00:00:00 2001
From: hjm <63528605@qq.com>
Date: Fri, 5 Jul 2019 14:11:31 +0800
Subject: [PATCH 2/2] && isAdmin
---
.../modules/courses/busyWork/reply/CommonWorkAppraiseReply.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js b/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js
index 146511712..e933bc411 100644
--- a/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js
+++ b/public/react/src/modules/courses/busyWork/reply/CommonWorkAppraiseReply.js
@@ -277,7 +277,7 @@ class CommonWorkAppraiseReply extends Component{
showModulationtype={this.showModulationtype}
addSuccess={this.addSuccess} ref={this.editorRef} totalCount={comment_scores.length}
onReply={this.onReply} placeholder={"请在此输入对本作品的评语,最大限制2000个字符"}
- showSameScore={isGroup}
+ showSameScore={isGroup && isAdmin}
> }
{/* ${!!comment_scores.length ? 'bor-bottom-greyE' : ''} */}