|
|
|
@ -73,8 +73,8 @@ class CoursesNew extends Component {
|
|
|
|
|
period: data.class_period===undefined?'':data.class_period===null?'':data.class_period===null?'':data.class_period==="null"?'':data.class_period+"",
|
|
|
|
|
credit: data.credit===undefined?'':data.credit===null?'':data.credit===null?'':data.credit==="null"?'':data.credit+"",
|
|
|
|
|
checkboxgroup: data.course_module_types,
|
|
|
|
|
Realnamecertification: data.authentication,
|
|
|
|
|
Professionalcertification:data.professional_certification,
|
|
|
|
|
// Realnamecertification: data.authentication,
|
|
|
|
|
// Professionalcertification:data.professional_certification,
|
|
|
|
|
endtime: data.end_date === undefined ? "" : moment(data.end_date, dateFormat),
|
|
|
|
|
school:data.school
|
|
|
|
|
|
|
|
|
@ -84,8 +84,8 @@ class CoursesNew extends Component {
|
|
|
|
|
datatime: data.end_date,
|
|
|
|
|
dataname:data.name,
|
|
|
|
|
is_public: data.is_public === 1 ? true : false,
|
|
|
|
|
Realnamecertification: data.authentication,
|
|
|
|
|
Professionalcertification:data.professional_certification,
|
|
|
|
|
// Realnamecertification: data.authentication,
|
|
|
|
|
// Professionalcertification:data.professional_certification,
|
|
|
|
|
addonAfteronelenone: data.class_period===undefined?'':data.class_period===null?'':data.class_period===null?'':data.class_period==="null"?'':data.class_period,
|
|
|
|
|
addonAfteronelentwo:data.credit===undefined?'':data.credit===null?'':data.credit===null?'':data.credit==="null"?'':data.credit,
|
|
|
|
|
|
|
|
|
@ -237,8 +237,8 @@ class CoursesNew extends Component {
|
|
|
|
|
end_date: datatime===undefined?"":datatime,
|
|
|
|
|
is_public: is_public === true || is_public === 1 ? 1 : 0,
|
|
|
|
|
course_module_types: values.checkboxgroup,
|
|
|
|
|
authentication: this.state.Realnamecertification,
|
|
|
|
|
professional_certification: this.state.Professionalcertification,
|
|
|
|
|
// authentication: this.state.Realnamecertification,
|
|
|
|
|
// professional_certification: this.state.Professionalcertification,
|
|
|
|
|
school:values.school
|
|
|
|
|
}
|
|
|
|
|
).then((response) => {
|
|
|
|
@ -313,8 +313,8 @@ class CoursesNew extends Component {
|
|
|
|
|
end_date: datatime===undefined?"":datatime,
|
|
|
|
|
is_public: is_public === true || is_public === 1 ? 1 : 0,
|
|
|
|
|
course_module_types: values.checkboxgroup,
|
|
|
|
|
authentication: this.state.Realnamecertification,
|
|
|
|
|
professional_certification: this.state.Professionalcertification,
|
|
|
|
|
// authentication: this.state.Realnamecertification,
|
|
|
|
|
// professional_certification: this.state.Professionalcertification,
|
|
|
|
|
school:values.school
|
|
|
|
|
}
|
|
|
|
|
).then((response) => {
|
|
|
|
@ -953,7 +953,7 @@ class CoursesNew extends Component {
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE padding10200 coursenavbox height100px" >
|
|
|
|
|
{/* <div className="stud-class-set bor-bottom-greyE padding10200 coursenavbox height100px" >
|
|
|
|
|
<span className={"fl"}>
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="加入课堂条件"
|
|
|
|
@ -978,7 +978,7 @@ class CoursesNew extends Component {
|
|
|
|
|
)}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div> */}
|
|
|
|
|
<div className="stud-class-set padding10200 coursenavbox bor-bottom-greyE">
|
|
|
|
|
<Form.Item
|
|
|
|
|
label="公开设置"
|
|
|
|
|