|  | @@ -26,7 +26,7 @@ import moment from 'moment';
 | 
												
													
														
															|  |  import './unit.less';
 |  |  import './unit.less';
 | 
												
													
														
															|  |  import { areaSelect } from '@/NewDicProvinceList';
 |  |  import { areaSelect } from '@/NewDicProvinceList';
 | 
												
													
														
															|  |  import { socialAttribute, industry,adviserType } from '@/dataDic.js';
 |  |  import { socialAttribute, industry,adviserType } from '@/dataDic.js';
 | 
												
													
														
															|  | -import { splitUrl,getAuthState,getAdviserType  } from '@/tools.js';
 |  | 
 | 
												
													
														
															|  | 
 |  | +import { splitUrl,getAuthState,getAdviserType ,getSocialAttribute } from '@/tools.js';
 | 
												
													
														
															|  |  const FormItem = Form.Item;
 |  |  const FormItem = Form.Item;
 | 
												
													
														
															|  |  const monthFormat = 'YYYY/MM';
 |  |  const monthFormat = 'YYYY/MM';
 | 
												
													
														
															|  |  //图片组件
 |  |  //图片组件
 | 
												
											
												
													
														
															|  | @@ -374,34 +374,43 @@ const Expert = React.createClass({
 | 
												
													
														
															|  |  							</Col>
 |  |  							</Col>
 | 
												
													
														
															|  |  						</Row>
 |  |  						</Row>
 | 
												
													
														
															|  |  						<div className="clearfix">
 |  |  						<div className="clearfix">
 | 
												
													
														
															|  | -							<FormItem className="half-item" {...formItemLayout} label="姓名">
 |  | 
 | 
												
													
														
															|  | 
 |  | +							{this.state.auditStatus=='0'?<FormItem className="half-item" {...formItemLayout} label="姓名">
 | 
												
													
														
															|  |  								{getFieldDecorator('identifyName', {
 |  |  								{getFieldDecorator('identifyName', {
 | 
												
													
														
															|  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 |  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 | 
												
													
														
															|  |  									initialValue: theData.identifyName
 |  |  									initialValue: theData.identifyName
 | 
												
													
														
															|  |  								})(<Input placeholder="输入姓名" maxLength={128}/>)}
 |  |  								})(<Input placeholder="输入姓名" maxLength={128}/>)}
 | 
												
													
														
															|  | 
 |  | +							</FormItem>:<FormItem className="half-item" {...formItemLayout} label="姓名">
 | 
												
													
														
															|  | 
 |  | +								<span>{theData.identifyName}</span>
 | 
												
													
														
															|  |  							</FormItem>
 |  |  							</FormItem>
 | 
												
													
														
															|  | 
 |  | +								
 | 
												
													
														
															|  | 
 |  | +							}
 | 
												
													
														
															|  | 
 |  | +							
 | 
												
													
														
															|  |  							<FormItem className="half-item" {...formItemLayout} label="手机号码">
 |  |  							<FormItem className="half-item" {...formItemLayout} label="手机号码">
 | 
												
													
														
															|  |  								<span>{theData.mobile}</span>
 |  |  								<span>{theData.mobile}</span>
 | 
												
													
														
															|  | -							</FormItem> 
 |  | 
 | 
												
													
														
															|  | -							<FormItem className="half-item" {...formItemLayout} label="行业">
 |  | 
 | 
												
													
														
															|  | -								{getFieldDecorator('industry', {
 |  | 
 | 
												
													
														
															|  | 
 |  | +							</FormItem>
 | 
												
													
														
															|  | 
 |  | +							{this.state.auditStatus=='0'?
 | 
												
													
														
															|  | 
 |  | +							<FormItem className="half-item" {...formItemLayout} label="社会属性">
 | 
												
													
														
															|  | 
 |  | +								{getFieldDecorator('societyTag', {
 | 
												
													
														
															|  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 |  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 | 
												
													
														
															|  | -									initialValue: theData.industry?theData.industry.toString():undefined
 |  | 
 | 
												
													
														
															|  | 
 |  | +									initialValue: theData.societyTag
 | 
												
													
														
															|  |  								})(
 |  |  								})(
 | 
												
													
														
															|  | -									<Select placeholder="选择行业">
 |  | 
 | 
												
													
														
															|  | -										{industry.map(function(item) {
 |  | 
 | 
												
													
														
															|  | 
 |  | +									<Select placeholder="客户社会属性">
 | 
												
													
														
															|  | 
 |  | +										{socialAttribute.map(function(item) {
 | 
												
													
														
															|  |  											return <Select.Option key={item.value}>{item.key}</Select.Option>;
 |  |  											return <Select.Option key={item.value}>{item.key}</Select.Option>;
 | 
												
													
														
															|  |  										})}
 |  |  										})}
 | 
												
													
														
															|  |  									</Select>
 |  |  									</Select>
 | 
												
													
														
															|  |  								)}
 |  |  								)}
 | 
												
													
														
															|  | -							</FormItem>
 |  | 
 | 
												
													
														
															|  | 
 |  | +							</FormItem>:
 | 
												
													
														
															|  |  							<FormItem className="half-item" {...formItemLayout} label="社会属性">
 |  |  							<FormItem className="half-item" {...formItemLayout} label="社会属性">
 | 
												
													
														
															|  | -								{getFieldDecorator('societyTag', {
 |  | 
 | 
												
													
														
															|  | 
 |  | +								<span>{getSocialAttribute(theData.societyTag)}</span>
 | 
												
													
														
															|  | 
 |  | +							</FormItem>}
 | 
												
													
														
															|  | 
 |  | +							<FormItem className="half-item" {...formItemLayout} label="行业">
 | 
												
													
														
															|  | 
 |  | +								{getFieldDecorator('industry', {
 | 
												
													
														
															|  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 |  |  									rules: [ { required: true, message: '此项为必填项!' } ],
 | 
												
													
														
															|  | -									initialValue: theData.societyTag
 |  | 
 | 
												
													
														
															|  | 
 |  | +									initialValue: theData.industry?theData.industry.toString():undefined
 | 
												
													
														
															|  |  								})(
 |  |  								})(
 | 
												
													
														
															|  | -									<Select placeholder="客户社会属性">
 |  | 
 | 
												
													
														
															|  | -										{socialAttribute.map(function(item) {
 |  | 
 | 
												
													
														
															|  | 
 |  | +									<Select placeholder="选择行业">
 | 
												
													
														
															|  | 
 |  | +										{industry.map(function(item) {
 | 
												
													
														
															|  |  											return <Select.Option key={item.value}>{item.key}</Select.Option>;
 |  |  											return <Select.Option key={item.value}>{item.key}</Select.Option>;
 | 
												
													
														
															|  |  										})}
 |  |  										})}
 | 
												
													
														
															|  |  									</Select>
 |  |  									</Select>
 | 
												
											
												
													
														
															|  | @@ -477,7 +486,7 @@ const Expert = React.createClass({
 | 
												
													
														
															|  |  								})(<Input type="textarea" rows={4} maxLength={512} placeholder="输入个人简介"/>)}
 |  |  								})(<Input type="textarea" rows={4} maxLength={512} placeholder="输入个人简介"/>)}
 | 
												
													
														
															|  |  							</FormItem>
 |  |  							</FormItem>
 | 
												
													
														
															|  |  						</div>
 |  |  						</div>
 | 
												
													
														
															|  | -						{(this.state.expert=='0'||this.state.auditStatus=='0'||this.state.expert==null)&&this.state.type!=null?
 |  | 
 | 
												
													
														
															|  | 
 |  | +						{(this.state.expert=='0'||this.state.auditStatus=='0'||this.state.expert==null||this.state.auditStatus=='3')&&this.state.type!=null?
 | 
												
													
														
															|  |  						<div>
 |  |  						<div>
 | 
												
													
														
															|  |  							<div className="clearfix btnGrounp">
 |  |  							<div className="clearfix btnGrounp">
 | 
												
													
														
															|  |  								<Radio.Group 
 |  |  								<Radio.Group 
 | 
												
											
												
													
														
															|  | @@ -491,7 +500,8 @@ const Expert = React.createClass({
 | 
												
													
														
															|  |  								<Button type="dashed" style={{marginLeft:20}} onClick={(e)=>{this.setState({authenticationState:undefined})}}>暂不认证</Button>
 |  |  								<Button type="dashed" style={{marginLeft:20}} onClick={(e)=>{this.setState({authenticationState:undefined})}}>暂不认证</Button>
 | 
												
													
														
															|  |  								<span style={{marginLeft:10,color:'#f00'}}>{this.state.auditStatus=='3'?"(认证失败:"+this.state.authMessage+')':''}</span>
 |  |  								<span style={{marginLeft:10,color:'#f00'}}>{this.state.auditStatus=='3'?"(认证失败:"+this.state.authMessage+')':''}</span>
 | 
												
													
														
															|  |  							</div>
 |  |  							</div>
 | 
												
													
														
															|  | -							{(this.state.authenticationState=='0'||this.state.auditStatus!='0')?<div className="patentBody">
 |  | 
 | 
												
													
														
															|  | 
 |  | +							{(this.state.authenticationState=='0'&&this.state.auditStatus!='0')?
 | 
												
													
														
															|  | 
 |  | +							<div className="patentBody">
 | 
												
													
														
															|  |  								<FormItem className="half-item" {...formItemLayout} label="毕业院校">
 |  |  								<FormItem className="half-item" {...formItemLayout} label="毕业院校">
 | 
												
													
														
															|  |  									{getFieldDecorator('graduateSchool', {
 |  |  									{getFieldDecorator('graduateSchool', {
 | 
												
													
														
															|  |  										initialValue: theData.graduateSchool,
 |  |  										initialValue: theData.graduateSchool,
 | 
												
											
												
													
														
															|  | @@ -589,6 +599,7 @@ const Expert = React.createClass({
 | 
												
													
														
															|  |  							<FormItem className="half-item" {...formItemLayout} label="职称">
 |  |  							<FormItem className="half-item" {...formItemLayout} label="职称">
 | 
												
													
														
															|  |  								<span>{theData.professionalTitle}</span>
 |  |  								<span>{theData.professionalTitle}</span>
 | 
												
													
														
															|  |  							</FormItem>
 |  |  							</FormItem>
 | 
												
													
														
															|  | 
 |  | +							
 | 
												
													
														
															|  |  							<div className="clearfix">
 |  |  							<div className="clearfix">
 | 
												
													
														
															|  |  								<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 13 }} label="专家照片">
 |  |  								<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 13 }} label="专家照片">
 | 
												
													
														
															|  |  										<Upload className="demandDetailShow-upload"
 |  |  										<Upload className="demandDetailShow-upload"
 |