From 6c19c8d213fd85992941c0899506763066ba9dfc Mon Sep 17 00:00:00 2001
From: caicai8 <1149225589@qq.com>
Date: Fri, 23 Aug 2019 15:27:12 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E6=A8=A1=E5=9D=97?=
=?UTF-8?q?=E7=9A=84=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/courses/exercise/ExerciseReviewAndAnswer.js | 8 +++++++-
.../src/modules/courses/exercise/question/shixunAnswer.js | 2 +-
public/react/src/modules/courses/poll/PollDetailIndex.js | 2 +-
public/react/src/modules/courses/poll/PollInfo.js | 2 +-
public/react/src/modules/courses/poll/PollNew.js | 6 ++++--
5 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js b/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js
index 91ca19e7d..cdbc7218b 100644
--- a/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js
+++ b/public/react/src/modules/courses/exercise/ExerciseReviewAndAnswer.js
@@ -479,6 +479,12 @@ class ExerciseReviewAndAnswer extends Component{
})
}
+ // 返回
+ returnBtn = () =>{
+ let coursesId=this.props.match.params.coursesId;
+ let eId=this.props.match.params.Id;
+ this.props.history.push(`/courses/${coursesId}/exercises/${eId}/student_exercise_list?tab=0`)
+ }
render(){
let coursesId=this.props.match.params.coursesId;
@@ -561,7 +567,7 @@ class ExerciseReviewAndAnswer extends Component{
{
(isAdmin || ( isStudent && exercise && user_exercise_status == 1)) ?
-
{this.props.match.params.news === undefined ? "新建问卷" : this.props.match.params.news === "new" ? "新建问卷" : "编辑问卷"}
- this.gotohome()} - className=" fr font-16">返回 + 返回