dev_hs
杨树林 6 years ago
parent ff96a521d9
commit 2867b3bd04

@ -19,6 +19,7 @@ import Trialapplicationysl from './modules/login/Trialapplicationysl';
import Trialapplicationreview from './modules/user/Trialapplicationreview';
import Addcourses from "./modules/courses/coursesPublic/Addcourses";
import AccountProfile from "./modules/user/AccountProfile";
import Certifiedprofessional from "./modules/modals/Certifiedprofessional"
import Trialapplication from './modules/login/Trialapplication'
import NotFoundPage from './NotFoundPage'
@ -305,7 +306,7 @@ class App extends Component {
<Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview>
<Addcourses {...this.props} {...this.state}/>
<AccountProfile {...this.props} {...this.state}/>
{/*<Certifiedprofessional {...this.props} {...this.state} />*/}
<Router>
<Switch>

@ -213,7 +213,13 @@ class Addcourses extends Component{
student:student
}
).then((response) => {
console.log(217);
console.log(response);
if(response === undefined){
this.setState({
Addcoursestype:false,
isSpin:false
});
return
}
if(response.data.status===0){
@ -254,7 +260,7 @@ class Addcourses extends Component{
});
this.setState({
Addcoursestype:false
})
});
if(Addcoursestype===true){
this.props.hideAddcoursestype();
}
@ -273,7 +279,8 @@ class Addcourses extends Component{
isSpin:false
})
}).catch((error) => {
console.log(error)
console.log(error);
console.log("报错了报错报错了");
this.setState({
isSpin:false
})

@ -169,6 +169,7 @@ class Goldsubject extends Component {
// console.log(user_school);
this.props.form.setFieldsValue({
school:user_school,
starttime:moment().format(dateFormat),
});
this.setState({
school:user_school,
@ -830,7 +831,7 @@ class Goldsubject extends Component {
{getFieldDecorator("checkboxgroup", {
initialValue: [
"announcement","online_learning","shixun_homework", "exercise",
"announcement","online_learning","shixun_homework","common_homework",
],
})(
<Checkbox.Group style={{width: "800px", marginTop: "10px"}}>

@ -1,6 +1,7 @@
import React, { Component } from 'react';
import { Modal} from 'antd';
import axios from 'axios';
import certfed from './certfed.css';
//认证职业
class Certifiedprofessional extends Component {
@ -70,12 +71,24 @@ class Certifiedprofessional extends Component {
centered={true}
visible={this.state.mydisplay}
width="600px"
heigth="307px"
>
<div className="educouddiv">
<div className={"tabeltext-alignleft"}><p style={{fontSize: "16px",marginTop:"46px"}}>请在完成条件后重试</p></div>
<div className="clearfix edu-txt-center" style={{marginTop:"98px"}}>
<div className={"tabeltext-alignleft fontsizecoirlysl"}><p style={{fontSize: "16px",marginTop:"26px"}}>请在完成条件后重试</p></div>
<div className="yslcentercerlfed edu-txt-center mt30" >
<div className="mr30">
<span className="fontsizecoirlysltwo">未实名认证</span>
</div>
<div >
<span className="fontsizecoirlysltwo">未职业认证</span>
</div>
</div>
<div className="clearfix edu-txt-center mt60">
<a className="task-btn mr30" onClick={()=>this.modalCancel()}>取消</a>
<a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>确认</a>
<a className="task-btn task-btn-orange" onClick={()=>this.setDownload()}>立即认证</a>
</div>
</div>
</Modal>

@ -0,0 +1,21 @@
.yslcenter
{
display: flex;
justify-content:center;
display: flex;
flex-direction:column;
}
.yslcentercerlfed
{ display: flex;
justify-content:center;
display: flex;
flex-direction:row;
}
.fontsizecoirlysl{
color: #333333;
font-size: 16px;
}
.fontsizecoirlysltwo{
font-size: 14px;
color: #979797;
}
Loading…
Cancel
Save