From cc874ca56bb20180ee72f82d95026cefedc22aad 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, 5 Sep 2019 19:43:46 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/react/config/webpack.config.dev.js | 2 +-
.../react/src/modules/courses/css/Courses.css | 2 +-
.../shixunHomework/Listofworksstudentone.js | 3 +-
.../shixunHomework/ShixunWorkReport.js | 41 +++++++++++--------
4 files changed, 29 insertions(+), 19 deletions(-)
diff --git a/public/react/config/webpack.config.dev.js b/public/react/config/webpack.config.dev.js
index de3bffa48..15bba890a 100644
--- a/public/react/config/webpack.config.dev.js
+++ b/public/react/config/webpack.config.dev.js
@@ -32,7 +32,7 @@ module.exports = {
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s
// devtool: "cheap-module-eval-source-map",
// 开启调试
- devtool: "source-map", // 开启调试
+ //devtool: "source-map", // 开启调试
// These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle.
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
diff --git a/public/react/src/modules/courses/css/Courses.css b/public/react/src/modules/courses/css/Courses.css
index 74637571f..bea982aac 100644
--- a/public/react/src/modules/courses/css/Courses.css
+++ b/public/react/src/modules/courses/css/Courses.css
@@ -848,7 +848,7 @@ a.white-btn.use_scope-btn:hover{
font-family: MicrosoftYaHei;
font-weight: 400;
color: rgba(51,51,51,1);
- cursor: pointer;
+ /*cursor: pointer;*/
max-width: 825px;
overflow: hidden;
text-overflow: ellipsis;
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index b6ad61a40..73fd50e4a 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -2104,7 +2104,8 @@ class Listofworksstudentone extends Component {
this.setState({
userids: e.myid,
})
- this.viewtrainingt(e.myid);
+ // this.viewtrainingt(e.myid);
+ window.open(`/courses/${this.state.props.match.params.coursesId}/shixun_homeworks/${e.myid}/shixun_work_report`, '_blank');
}
// 关闭调分
cancelModulationModels = () => {
diff --git a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
index 05586a9ba..48671470e 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
@@ -213,7 +213,7 @@ class ShixunWorkReport extends Component {
let homeworkid=this.props.match.params.homeworkid;
const antIcon =
陈晓
+{data&&data.username}
- 通过: {data&&data.complete_count}/{data&&data.challenges_count} - 课堂最高完成效率: {data&&data.max_efficiency===null?'--':data&&data.max_efficiency} - 通关时间: {data&&data.passed_time===null?'--':data&&data.passed_time} -
- -
- 经验值: {data&&data.myself_experience}/{data&&data.total_experience}
- 完成效率: {data&&data.efficiency===null?'--':data&&data.efficiency}
- 实战耗时: {data&&data.time_consuming===null?'--':data&&data.time_consuming}
+
+