|
|
@ -20,6 +20,7 @@ import Startshixuntask from "../coursesPublic/Startshixuntask";
|
|
|
|
|
|
|
|
|
|
|
|
import TPMMDEditor from "../../tpm/challengesnew/TPMMDEditor";
|
|
|
|
import TPMMDEditor from "../../tpm/challengesnew/TPMMDEditor";
|
|
|
|
import DownloadMessageysl from "../../modals/DownloadMessageysl";
|
|
|
|
import DownloadMessageysl from "../../modals/DownloadMessageysl";
|
|
|
|
|
|
|
|
import Modals from "../../modals/Modals";
|
|
|
|
class ShixunHomeworkPage extends Component {
|
|
|
|
class ShixunHomeworkPage extends Component {
|
|
|
|
constructor(props) {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
super(props);
|
|
|
@ -34,6 +35,9 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
showmodel:false,
|
|
|
|
showmodel:false,
|
|
|
|
child:undefined,
|
|
|
|
child:undefined,
|
|
|
|
yslpros:false,
|
|
|
|
yslpros:false,
|
|
|
|
|
|
|
|
Modalstopval:"你在该实训的学习记录将被清空,无法恢复",
|
|
|
|
|
|
|
|
ModalsBottomval:"是否确认重做?",
|
|
|
|
|
|
|
|
ModalsType:false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -107,9 +111,28 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
workshowmodels(child){
|
|
|
|
workshowmodels(child){
|
|
|
|
child.workshowmodel();
|
|
|
|
child.workshowmodel();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// 确认是否下载
|
|
|
|
/// 重做的确认
|
|
|
|
|
|
|
|
ModalSaves=()=>{
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
ModalsType:false,
|
|
|
|
|
|
|
|
Modalstopval:""
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
//取消重做
|
|
|
|
|
|
|
|
ModalCancels=()=>{
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
ModalsType:false,
|
|
|
|
|
|
|
|
Modalstopval:""
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
//打开重做弹框
|
|
|
|
|
|
|
|
Modalcancelss=()=>{
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
Modalstopval:"你在该实训的学习记录将被清空,无法恢复",
|
|
|
|
|
|
|
|
ModalsBottomval:"是否确认重做?",
|
|
|
|
|
|
|
|
ModalsType:true,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
bindRef = ref => { this.child = ref }
|
|
|
|
bindRef = ref => { this.child = ref }
|
|
|
|
///////////////教师截止
|
|
|
|
///////////////教师截止
|
|
|
|
gotohome=()=>{
|
|
|
|
gotohome=()=>{
|
|
|
@ -128,7 +151,15 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
|
|
|
|
{/*<Modals*/}
|
|
|
|
|
|
|
|
{/* modalsType={this.state.ModalsType}*/}
|
|
|
|
|
|
|
|
{/* modalsTopval={this.state.Modalstopval}*/}
|
|
|
|
|
|
|
|
{/* modalsBottomval={this.state.ModalsBottomval}*/}
|
|
|
|
|
|
|
|
{/* modalSave={this.ModalSaves}*/}
|
|
|
|
|
|
|
|
{/* modalCancel={this.ModalCancels}*/}
|
|
|
|
|
|
|
|
{/* loadtype={false}*/}
|
|
|
|
|
|
|
|
{/*>*/}
|
|
|
|
|
|
|
|
{/*</Modals>*/}
|
|
|
|
|
|
|
|
|
|
|
|
<div className={"educontent mt10 mb20"} style={{width: "1200px"}}>
|
|
|
|
<div className={"educontent mt10 mb20"} style={{width: "1200px"}}>
|
|
|
|
|
|
|
|
|
|
|
@ -251,6 +282,9 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
{...this.props}
|
|
|
|
{...this.props}
|
|
|
|
data={teacherdatapage}
|
|
|
|
data={teacherdatapage}
|
|
|
|
/>}
|
|
|
|
/>}
|
|
|
|
|
|
|
|
{/*{this.props.isStudent() ?*/}
|
|
|
|
|
|
|
|
{/* <a className="fr color-blue font-16" onClick={()=>this.Modalcancelss()}>重做</a>*/}
|
|
|
|
|
|
|
|
{/* : "" }*/}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|