|
@@ -40,6 +40,7 @@ const Content = React.createClass({
|
|
intellectualPropertyNum: data.data.intellectualPropertyNum,
|
|
intellectualPropertyNum: data.data.intellectualPropertyNum,
|
|
logoUrl: data.data.logoUrl,
|
|
logoUrl: data.data.logoUrl,
|
|
level: data.data.lvl,
|
|
level: data.data.lvl,
|
|
|
|
+ authentication:data.data.authentication, //0-专家 1--顾问
|
|
nickname: data.data.nickname,
|
|
nickname: data.data.nickname,
|
|
number: data.data.number,
|
|
number: data.data.number,
|
|
patentNum: data.data.patentNum,
|
|
patentNum: data.data.patentNum,
|
|
@@ -47,7 +48,7 @@ const Content = React.createClass({
|
|
techProjectNum: data.data.techProjectNum,
|
|
techProjectNum: data.data.techProjectNum,
|
|
type: data.data.type,
|
|
type: data.data.type,
|
|
uid: data.data.uid,
|
|
uid: data.data.uid,
|
|
- visible: data.data.type == '0'||data.data.type=='1' ? false : true
|
|
|
|
|
|
+ visible: (data.data.authentication||data.data.authentication=='0')&&data.data.type=='0'? false : true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}.bind(this)).always(function () {
|
|
}.bind(this)).always(function () {
|
|
@@ -90,7 +91,9 @@ const Content = React.createClass({
|
|
<div className="userdata-content">
|
|
<div className="userdata-content">
|
|
{(() => {
|
|
{(() => {
|
|
if (this.state.type == '0') {
|
|
if (this.state.type == '0') {
|
|
- return <p className="userdata-lvl">已个人认证</p>;
|
|
|
|
|
|
+ return <div>
|
|
|
|
+ {this.state.authentication=='0'?<p className="userdata-lvl">已专家认证</p>:this.state.authentication=='1'?<p className="userdata-lvl">已顾问认证</p>:<p className="userdata-lvl">已个人认证</p>}
|
|
|
|
+ </div>;
|
|
} else if(this.state.type == '1'){
|
|
} else if(this.state.type == '1'){
|
|
return <p className="userdata-lvl"><span>已企业认证</span></p>
|
|
return <p className="userdata-lvl"><span>已企业认证</span></p>
|
|
}
|
|
}
|
|
@@ -118,22 +121,14 @@ const Content = React.createClass({
|
|
})()
|
|
})()
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
- <p className="userdata-relate" style={{ 'display': 'none' }}>
|
|
|
|
- <Button className="relateqq"><img src={qq} alt="" /> QQ账号登录</Button>
|
|
|
|
- <Button className="relateweibo"><img src={weibo} alt="" />微博账号登录</Button>
|
|
|
|
- <Button className="relateweixin"><img src={weixin} alt="" />微信账号登录</Button>
|
|
|
|
- </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- {/* <div className="index-record">
|
|
|
|
- <p className="acc-title">我的轨迹</p>
|
|
|
|
- </div>*/}
|
|
|
|
<div className="index-activity">
|
|
<div className="index-activity">
|
|
<Collection nub={1}/>
|
|
<Collection nub={1}/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<Modal maskClosable={false}
|
|
<Modal maskClosable={false}
|
|
- title="实名认证提示"
|
|
|
|
|
|
+ title="认证提示"
|
|
visible={this.state.visible}
|
|
visible={this.state.visible}
|
|
onCancel={() => {
|
|
onCancel={() => {
|
|
this.setState({
|
|
this.setState({
|
|
@@ -143,11 +138,11 @@ const Content = React.createClass({
|
|
width='400px'
|
|
width='400px'
|
|
footer={[]} >
|
|
footer={[]} >
|
|
<p style={{ textAlign: 'center' }}>
|
|
<p style={{ textAlign: 'center' }}>
|
|
- <span>您还未进行认证,请完成认证,为您提供更多服务</span>
|
|
|
|
|
|
+ <span>您还未进行 ( 专家 / 顾问 ) 认证,请完成认证,为您提供更多服务</span>
|
|
</p>
|
|
</p>
|
|
<div style={{ marginTop: '20px', textAlign: 'center' }}>
|
|
<div style={{ marginTop: '20px', textAlign: 'center' }}>
|
|
- <Button type="primary" style={{marginRight:15}}><Link to="/personal">个人认证</Link></Button>
|
|
|
|
- <Button type="primary"><Link to="/unit">企业认证</Link></Button>
|
|
|
|
|
|
+ <Button type="primary" style={{marginRight:15}}><Link to="/personal">专家认证</Link></Button>
|
|
|
|
+ <Button type="primary"><Link to="/personal">顾问认证</Link></Button>
|
|
</div>
|
|
</div>
|
|
</Modal>
|
|
</Modal>
|
|
</Spin>
|
|
</Spin>
|