|
|
@ -65,6 +65,9 @@ class Exercisesetting extends Component{
|
|
|
|
publish_timetype:false,
|
|
|
|
publish_timetype:false,
|
|
|
|
end_timetype:false
|
|
|
|
end_timetype:false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log("Exercisesetting");
|
|
|
|
|
|
|
|
console.log("69");
|
|
|
|
|
|
|
|
console.log(props);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//加载
|
|
|
|
//加载
|
|
|
@ -183,6 +186,10 @@ class Exercisesetting extends Component{
|
|
|
|
//提交form表单
|
|
|
|
//提交form表单
|
|
|
|
handleSubmit = (e) => {
|
|
|
|
handleSubmit = (e) => {
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
|
|
if(this.props&&this.props.Commonheadofthetestpaper.exercise_status){
|
|
|
|
|
|
|
|
console.log("190");
|
|
|
|
|
|
|
|
console.log(this.props.Commonheadofthetestpaper.exercise_status);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.props.form.validateFieldsAndScroll((err, values) => {
|
|
|
|
this.props.form.validateFieldsAndScroll((err, values) => {
|
|
|
|
if(!err){
|
|
|
|
if(!err){
|
|
|
|