dev_forum
杨树明 6 years ago
parent 9416d0df14
commit b63474c860

@ -1,6 +1,8 @@
import React, {Component} from 'react';
import {Button,notification} from 'antd';
import {broadcastChannelPostMessage} from 'educoder';
import MyEduCoderModal from './MyEduCoderModal';
import Notcompleted from './Notcompleted';
import axios from 'axios';
import './common.css'
import mytc from './img/mytc.png';
@ -155,6 +157,12 @@ class InterestpageComponent extends Component {
}
setMyEduCoderModals=()=>{
this.setState({
MyEduCoderModals:true
})
}
//兴趣页面点击
Interestcompletionpage(){
if(this.state.gouxuans.length === 0){
@ -179,7 +187,8 @@ class InterestpageComponent extends Component {
}).then((response) => {
if (response !== undefined) {
// this.Jumptotheinterestpage();
window.location.href = "/"
// window.location.href = "/"
this.setMyEduCoderModals()
}
@ -218,6 +227,13 @@ class InterestpageComponent extends Component {
// console.log(error);
// })
// }
setNotcompleteds=()=>{
this.setState({
Notcompleteds:true,
MyEduCoderModals:false
})
}
render() {
const {
gouxuans,
@ -228,6 +244,14 @@ class InterestpageComponent extends Component {
<div className="ysllogin_register_contents" style={{width:"800px",height: "600px"}}>
<MyEduCoderModal
modalsType={this.state.MyEduCoderModals}
setNotcompleteds={()=>{this.setNotcompleteds()}}
/>
<Notcompleted
modalsType={this.state.Notcompleteds}
/>
<div className="ysllogin_section">
<div className="mt15"><span className="yslspans1">请选择你的职业</span></div>
<div className="ysldivhome1" >

@ -14,11 +14,12 @@ class MyEduCoderModal extends Component {
}
modalCancel=()=>{
//取消
window.location.href = "/"
}
setDownload=()=>{
//立即联系
this.props.setNotcompleteds()
}

@ -12,11 +12,11 @@ class Notcompleted extends Component {
}
modalCancel=()=>{
//取消
window.location.href = "/";
}
setDownload=()=>{
//立即联系
window.location.href ='/account/profile';
}

Loading…
Cancel
Save