dev_forum
杨树林 5 years ago
parent 95ebd4b709
commit c216bdf27a

@ -169,12 +169,17 @@ class Testpapersettinghomepage extends Component{
Loadtype:false
})
}
DownloadType=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
render(){
let {tab,visible,Commonheadofthetestpaper}=this.state;
@ -187,7 +192,7 @@ class Testpapersettinghomepage extends Component{
{...this.props}
value={this.state.DownloadMessageval}
modalCancel={this.Downloadcal}
modalsType={this.state.DownloadType}
modalsType={this.DownloadType}
/>
<div className={"educontent mb20"} style={{width:"1200px"}}>
{/* 公用的提示弹框 */}

@ -1360,13 +1360,6 @@ class Listofworks extends Component {
// });
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
ChangeTab=(e)=>{
this.props.ChangeTab(e);
}

@ -501,13 +501,6 @@ class ShixunStudentWork extends Component {
// console.log(error)
// });
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
ChangeTab=(e)=>{
this.props.ChangeTab(e);
}

@ -94,12 +94,6 @@ class ShixunWorkReport extends Component {
}
}
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
render() {
let{data} =this.state;
let category_id=data===undefined?"":data.category.category_id;

@ -1714,12 +1714,7 @@ class Trainingjobsetting extends Component {
// });
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
testscripttip =(e)=>{
if(e === 0){
this.setState({

@ -344,12 +344,6 @@ class Workquestionandanswer extends Component {
// console.log(error)
// });
}
Downloadcal=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
ChangeTab=(e)=>{
this.props.ChangeTab(e);
}

@ -19,7 +19,13 @@ class DownloadMessage extends Component {
this.modalCancel();
window.open(`/users/${this.props.user.login}/private_messages`)
}
DownloadType=()=>{
this.setState({
DownloadType:false,
DownloadMessageval:undefined
})
}
Downloadcal=()=>{
this.setState({
DownloadType:false,

Loading…
Cancel
Save