From 156abe2c7bb36f975aa8607afdd7a12e96a505e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 27 Jun 2019 10:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tasks/GraduationTaskssettinglist.js | 3 +- public/react/src/modules/tpm/TPMBanner.js | 2 +- .../modules/tpm/TPMsettings/TPMsettings.js | 8 +- .../src/modules/tpm/component/TPMright.css | 3 +- .../tpm/shixunchild/Challenges/Challenges.js | 30 +- .../Collaborators/Collaborators.js | 1092 ++++++++--------- .../Propaedeutics/Propaedeu_tics.js | 220 ++-- .../tpm/shixunchild/Repository/Repository.js | 502 ++++---- 8 files changed, 935 insertions(+), 925 deletions(-) diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js index fe53c347c..3410b1fa5 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js @@ -101,7 +101,7 @@ class GraduationTaskssettinglist extends Component{ grouping: result.data.have_grouping === true ? worklists[i].grouping_name : null, submitstate: worklists[i].status === 0 ? "未提交" : worklists[i].status === 1 ? "按时提交" : worklists[i].status === 2 ? "延时提交" : "", turnovertime:worklists[i].update_time, - associationitems:result.data.have_grouping==false?"": {name:worklists[i].project_info === undefined ?"--": worklists[i].project_info.name,id:worklists[i].project_info.id}, + associationitems:result.data.have_grouping==false?"": {name:worklists[i].project_info === undefined ?"--": worklists[i].project_info.name,id:worklists[i].project_info===undefined?"":worklists[i].project_info.id}, teacherrating: worklists[i].teacher_comment_score, crossrating: {cross_comment_score:worklists[i].cross_comment_score,cross_comment_num:worklists[i].cross_comment_num}, finalscore: {work_score:worklists[i].final_score.work_score === null ? "--" : worklists[i].final_score.work_score, @@ -754,6 +754,7 @@ class GraduationTaskssettinglist extends Component{ }, { title: '操作', key: 'operation', + width:'100px', dataIndex: 'operation', className:'edu-txt-center', render: operation => ( diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js index 1a5ec22b4..0def84c98 100644 --- a/public/react/src/modules/tpm/TPMBanner.js +++ b/public/react/src/modules/tpm/TPMBanner.js @@ -877,7 +877,7 @@ class TPMBanner extends Component {
简介
-
@@ -262,7 +262,7 @@ class Challenges extends Component {
全部任务
- {this.props.identity < 4 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
+ {this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
: ""
}
- {this.props.identity < 4 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
+ {this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status=== 0 ?
第{key+1}关
- {this.props.identity<4?
+ {this.props.identity<5?
item.st === 1 ?
this.startshixunCombat(this.props.identity, item.challenge_id, "/editquestion")}
className="font-16 color05101a">{item.name}
@@ -359,7 +359,7 @@ class Challenges extends Component {
{item.delete_url != undefined &&
- this.showCollaboratorsvisible("cooperation")}
- className="edu-default-btn edu-greenback-btn fr mr20 height40"
- data-remote="true">
- + 添加合作者
-
- this.showCollaboratorsvisible("admin")}
- style={{display:this.props.identity===1?"block":"none"}}
- data-remote="true"
- className="edu-default-btn edu-greenback-btn fr mr20 height40">更换管理员
-
- 姓名
- 职位
- 单位
-
- {item.user.name}
-
- {item.user.shixun_manager === true ? "(管理员)" : ""}
- {item.user.identity}{item.user.school_name}
- 发布 {item.user.user_shixuns_count}
- {/*粉丝 */}
- {/*{item.user.fans_count}*/}
- {/**/}
- {item.user.brief_introduction}
您将不再拥有管理员的权限,但您仍是合作团队的一员
-
-
-
- {Searchadmin.length === 0 ?
-
+ this.showCollaboratorsvisible("cooperation")} + className="edu-default-btn edu-greenback-btn fr mr20 height40" + data-remote="true"> + + 添加合作者 + + this.showCollaboratorsvisible("admin")} + style={{display:this.props.identity===1?"block":"none"}} + data-remote="true" + className="edu-default-btn edu-greenback-btn fr mr20 height40">更换管理员 +
+ ++ 姓名 + 职位 + 单位 +
++ {item.user.name} + + {item.user.shixun_manager === true ? "(管理员)" : ""} +
+ +{item.user.identity}{item.user.school_name}
+ ++ 发布 {item.user.user_shixuns_count} + {/*粉丝 */} + {/*{item.user.fans_count}*/} + {/**/} +
+ +{item.user.brief_introduction}
+ + +- - {PropaedeuticsListcontent === undefined ||PropaedeuticsListcontent === ""? -
暂无数据哦~
-+ + {PropaedeuticsListcontent === undefined ||PropaedeuticsListcontent === ""? +
暂无数据哦~
+请上传当前实训中各个关卡涉及的所有文件
- 包括任务文件、执行文件,以及其他的必须文件
- 提交代码的方法:
- 1、在电脑上安装Git tortoise客户端,
- 或者其它熟悉的Git客户端
- 2、在Git客户端上向左侧的地址提交代码
- 注意:
- 请在Git客户端要求填写时,按照如下说明填写:
- * 用户名:使用您在本平台绑定的邮箱
- * 口令:使用您在本平台的登录口令
-
暂无数据哦~
-请上传当前实训中各个关卡涉及的所有文件
+ 包括任务文件、执行文件,以及其他的必须文件
+ 提交代码的方法:
+ 1、在电脑上安装Git tortoise客户端,
+ 或者其它熟悉的Git客户端
+ 2、在Git客户端上向左侧的地址提交代码
+ 注意:
+ 请在Git客户端要求填写时,按照如下说明填写:
+ * 用户名:使用您在本平台绑定的邮箱
+ * 口令:使用您在本平台的登录口令
+
暂无数据哦~
+