调整试卷问卷发布

courseware
杨树明 5 years ago
parent 016d59bcaa
commit 481dff9e06

@ -35,7 +35,8 @@ class Immediatelypublish extends Component{
modalsType:false,
modalsTopval:"",
loadtype:false,
chooseId:undefined
chooseId:undefined,
immediatelyopen:false
}
}
//立即发布
@ -73,6 +74,7 @@ class Immediatelypublish extends Component{
Saves:this.homeworkstartend,
course_groups:response.data.course_groups,
starttimesend:response.data.end_time===undefined||response.data.end_time===null||response.data.end_time===""?undefined:response.data.end_time,
immediatelyopen:response.data.course_groups===null||response.data.course_groups.length===0?false:true,
})
}
@ -100,6 +102,7 @@ class Immediatelypublish extends Component{
Saves:this.homeworkstartend,
course_groups:response.data.course_groups,
starttimesend:response.data.end_time===undefined||response.data.end_time===null||response.data.end_time===""?undefined:response.data.end_time,
immediatelyopen:response.data.course_groups===null||response.data.course_groups.length===0?false:true,
})
}
}).catch((error) => {
@ -386,6 +389,7 @@ class Immediatelypublish extends Component{
starttimes={this.state.starttimes}
starttimesend={this.state.starttimesend}
typs={this.state.typs}
immediatelyopen={this.state.immediatelyopen}
/>:""}
{/* 公用的提示弹框 */}

Loading…
Cancel
Save