From ca7a02d7ac38967a52dbcc40330c959eaf62ec2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Tue, 17 Mar 2020 14:06:23 +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
---
.../shixunHomework/Listofworksstudentone.js | 70 ++-----------------
1 file changed, 5 insertions(+), 65 deletions(-)
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
index cd8061906..f6e82d396 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js
@@ -3364,9 +3364,6 @@ class Listofworksstudentone extends Component {
axios.get(url).then((response) => {
if (response) {
if (response.data.status === 0) {
- // if(response.data.message!==undefined){
- // return;
- // }
setTimeout(() => {
this.setState({
loadingstate: true
@@ -3382,10 +3379,8 @@ class Listofworksstudentone extends Component {
} catch (e) {
}
-
- }, 2500);
+ }, 500);
}
- // this.props.history.replace( matchurl );
}
}).catch((error) => {
console.log(error)
@@ -3672,27 +3667,9 @@ class Listofworksstudentone extends Component {
- {/*{course_is_end===true?"":
*/}
- {/*{teacherdata&&teacherdata.update_score===true&&computeTimetype===true?*/}
- {/* (this.props.isNotMember()===false?*/}
- {/* 查看最新成绩*/}
- {/*
:""):*/}
- {/* teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
- {/* (this.props.isNotMember()===false?*/}
- {/* 查看最新成绩*/}
- {/*
:"")*/}
- {/*}*/}
- {/*}*/}
+
- {/* this.onSearchKeywordKeyUpt(e)}*/}
- {/* onInput={this.inputSearchValuest}*/}
- {/* onSearch={this.searchValuest}*/}
- {/*>*/}
+
{publicSearchs("请输入姓名或学号搜索",this.searchValuest,this.inputSearchValuest,this.inputSearchValuest)}
@@ -3993,27 +3970,7 @@ class Listofworksstudentone extends Component {
- {/*
计算成绩时间:{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}*/}
- {/* { course_is_end===true?"":teacherdata&&teacherdata.task_operation[0]==="开启挑战"?"":
*/}
- {/* {computeTimetype===true?*/}
- {/* (this.props.isNotMember()===false?*/}
- {/* (*/}
- {/* teacherdata&&teacherdata.update_score===true?*/}
- {/* */}
- {/* 查看最新成绩*/}
- {/*
*/}
- {/* :""*/}
- {/* )*/}
- {/* :"")*/}
- {/* :*/}
- {/* (teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
- {/* this.props.isNotMember()===false?*/}
- {/* */}
- {/* 查看最新成绩*/}
- {/*
*/}
- {/* :"")*/}
- {/* }*/}
- {/*}*/}
+
@@ -4238,24 +4195,7 @@ class Listofworksstudentone extends Component {
- {/*
计算成绩时间:{teacherdata&&teacherdata.calculation_time==null?"--": moment(teacherdata&&teacherdata.calculation_time).format('YYYY-MM-DD HH:mm')}*/}
- {/* { course_is_end===true?"":teacherdata&&teacherdata.task_operation&&teacherdata.task_operation[0]==="开启挑战"?"":
*/}
- {/* {computeTimetype===true?*/}
-
- {/* (this.props.isNotMember()===false?*/}
- {/* (*/}
- {/* teacherdata&&teacherdata.update_score===true?*/}
- {/* */}
- {/* 查看最新成绩*/}
- {/*
:""*/}
- {/* )*/}
- {/* :""):*/}
- {/* teacherdata&&teacherdata.homework_status!==undefined&&teacherdata.homework_status[0]=== "未发布"? "":*/}
- {/* (this.props.isNotMember()===false?*/}
- {/* 查看最新成绩*/}
- {/*
:"")*/}
- {/* }*/}
- {/*}*/}
+