dev_forum
杨树明 5 years ago
parent aafe6682fc
commit 7e6d229060

@ -132,7 +132,7 @@ class CoursesNew extends Component {
e.preventDefault();
let coursesId = this.props.match.params.coursesId;
let {is_public} = this.state
let {is_public,datatime} = this.state
// console.log(is_public)
if (coursesId != undefined) {
@ -173,7 +173,7 @@ class CoursesNew extends Component {
// console.log('Received values of form: ', values);
let {datatime} = this.state;
let url = "/courses/" + coursesId + ".json";
axios.put(url, {
course_list_name: values.course,
@ -227,7 +227,7 @@ class CoursesNew extends Component {
// debugger
//新建
// console.log('Received values of form: ', values);
let {datatime} = this.state;
let url = "/courses.json";
axios.post(url, {
course_list_name: values.course,

@ -382,7 +382,7 @@ class ShixunhomeWorkItem extends Component{
<a className="btn colorblue font-16" href={"/shixuns/"+discussMessage.shixun_identifier+"/challenges"} target={"_blank"}>实训详情</a>
{this.props.isAdminOrCreator()?<a onClick={()=>this.editname(discussMessage.name,discussMessage.homework_id)} className={"btn colorblue ml20 font-16"}>重命名</a>:""}
{/*<WordsBtn className="btn colorblue ml20 font-16" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>*/}
<WordsBtn className="btn colorblue font-16 ml20" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>
<WordsBtn className="btn colorblue font-16 ml15" to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/settings?tab=3`} > 设置</WordsBtn>
</div>:""}

@ -24,7 +24,7 @@
top: 0px !important;
}
#log_reg_content{
width:400px !important;
width:405px !important;
border-radius:6px;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}

@ -406,7 +406,7 @@ class Trialapplication extends Component {
top: 0px !important;
}
#log_reg_content{
width:400px !important;
width:405px !important;
border-radius:40px !important;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}

@ -424,7 +424,7 @@ class Trialapplicationysl extends Component {
top: 0px !important;
}
#log_reg_content{
width:400px !important;
width:405px !important;
border-radius:40px !important;
box-shadow:4px 8px 12px rgba(76,76,76,0.3);
}

Loading…
Cancel
Save