From 62c9ba34c1fd959453b7894633d4b50c36e90806 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Tue, 23 Jul 2019 10:06:07 +0800
Subject: [PATCH 1/4] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tasks/GraduationTaskssettinglist.js | 10 ++++-----
public/react/src/modules/login/LoginDialog.js | 21 +++++++++++--------
public/react/src/modules/tpm/NewHeader.js | 8 +++----
.../tpm/shixunchild/Challenges/Challenges.js | 7 +++----
4 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
index 99c190063..291095008 100644
--- a/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
+++ b/public/react/src/modules/courses/graduation/tasks/GraduationTaskssettinglist.js
@@ -1203,14 +1203,14 @@ class GraduationTaskssettinglist extends Component{
{taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length!=0?
分班情况:
-
-
-
+ this.groupgroup(e,taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length)} style={{width: '1000px', paddingTop: '4px'}}>
+
+
+
- this.groupgroup(e,taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.length)} style={{ paddingTop: '4px'}}>
{taskslistdata.search_assistants&&taskslistdata.search_assistants.course_group_info.map((item,key)=>{
return(
-
+
{item.group_group_name}
({item.count})
diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js
index 3a401c7de..d587dc337 100644
--- a/public/react/src/modules/login/LoginDialog.js
+++ b/public/react/src/modules/login/LoginDialog.js
@@ -317,15 +317,18 @@ class LoginDialog extends Component {
});
}
handleDialogClose = () => {
- if(this.props.match===undefined){
- window.location.href="/";
- }else if(this.props.match.path==="/"){
- this.setState({
- isRender: false
- })
- }else{
- window.location.href="/";
- }
+ // if(this.props.match===undefined){
+ // window.location.href="/";
+ // }else if(this.props.match.path==="/"){
+ // this.setState({
+ // isRender: false
+ // })
+ // }else{
+ // window.location.href="/";
+ // }
+ this.setState({
+ isRender: false
+ })
}
loginEDU=()=>{
diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js
index b01dba4e0..5f7f485f8 100644
--- a/public/react/src/modules/tpm/NewHeader.js
+++ b/public/react/src/modules/tpm/NewHeader.js
@@ -534,10 +534,10 @@ submittojoinclass=(value)=>{