|
|
|
@ -135,6 +135,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
borredszfls:'',
|
|
|
|
|
total_scoretwo:0,
|
|
|
|
|
total_score:0,
|
|
|
|
|
immediatelyopen:false
|
|
|
|
|
}
|
|
|
|
|
// console.log("获取到的值")
|
|
|
|
|
// console.log("Trainingjobsetting")
|
|
|
|
@ -1758,6 +1759,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
Cancel: this.homeworkhide,
|
|
|
|
|
Saves: this.homeworkstartend,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
immediatelyopen:true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
@ -1799,6 +1801,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
}
|
|
|
|
|
// 立即发布
|
|
|
|
|
homeworkstartend = (ds, endtime) => {
|
|
|
|
|
debugger
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
|
|
|
|
|
|
let data = {}
|
|
|
|
@ -1914,6 +1917,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
typs: undefined,
|
|
|
|
|
starttimes: undefined,
|
|
|
|
|
starttimesend: undefined,
|
|
|
|
|
immediatelyopen:false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
cancelBox = () => {
|
|
|
|
@ -2401,6 +2405,7 @@ class Trainingjobsetting extends Component {
|
|
|
|
|
starttimes={this.state.starttimes}
|
|
|
|
|
starttimesend={this.state.starttimesend}
|
|
|
|
|
typs={this.state.typs}
|
|
|
|
|
immediatelyopen={this.state.immediatelyopen}
|
|
|
|
|
/> : ""}
|
|
|
|
|
|
|
|
|
|
<Modals
|
|
|
|
|