|
@@ -387,7 +387,23 @@ const Expert = React.createClass({
|
|
|
|
|
|
<FormItem className="half-item" {...formItemLayout} label="手机号码">
|
|
|
<span>{theData.mobile}</span>
|
|
|
- </FormItem>
|
|
|
+ </FormItem>
|
|
|
+ {this.state.auditStatus=='0'?
|
|
|
+ <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
+ {getFieldDecorator('societyTag', {
|
|
|
+ rules: [ { required: true, message: '此项为必填项!' } ],
|
|
|
+ initialValue: theData.societyTag
|
|
|
+ })(
|
|
|
+ <Select placeholder="客户社会属性">
|
|
|
+ {socialAttribute.map(function(item) {
|
|
|
+ return <Select.Option key={item.value}>{item.key}</Select.Option>;
|
|
|
+ })}
|
|
|
+ </Select>
|
|
|
+ )}
|
|
|
+ </FormItem>:
|
|
|
+ <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
+ <span>{getSocialAttribute(theData.societyTag)}</span>
|
|
|
+ </FormItem>}
|
|
|
<FormItem className="half-item" {...formItemLayout} label="行业">
|
|
|
{getFieldDecorator('industry', {
|
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
@@ -515,18 +531,7 @@ const Expert = React.createClass({
|
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
|
})(<Input placeholder="输入职称" maxLength={32}/>)}
|
|
|
</FormItem>
|
|
|
- <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
- {getFieldDecorator('societyTag', {
|
|
|
- rules: [ { required: true, message: '此项为必填项!' } ],
|
|
|
- initialValue: theData.societyTag
|
|
|
- })(
|
|
|
- <Select placeholder="客户社会属性">
|
|
|
- {socialAttribute.map(function(item) {
|
|
|
- return <Select.Option key={item.value}>{item.key}</Select.Option>;
|
|
|
- })}
|
|
|
- </Select>
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
+
|
|
|
</div>:this.state.authenticationState=='1'?
|
|
|
<div>
|
|
|
<FormItem className="half-item" {...formItemLayout} label="顾问类型">
|
|
@@ -541,18 +546,6 @@ const Expert = React.createClass({
|
|
|
</Select>
|
|
|
)}
|
|
|
</FormItem>
|
|
|
- <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
- {getFieldDecorator('societyTag', {
|
|
|
- rules: [ { required: true, message: '此项为必填项!' } ],
|
|
|
- initialValue: theData.societyTag
|
|
|
- })(
|
|
|
- <Select placeholder="客户社会属性">
|
|
|
- {socialAttribute.map(function(item) {
|
|
|
- return <Select.Option key={item.value}>{item.key}</Select.Option>;
|
|
|
- })}
|
|
|
- </Select>
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
</div>:''}
|
|
|
{this.state.authenticationState=='1'||this.state.authenticationState=='0'?<div className="clearfix pictures">
|
|
|
<div className="clearfix">
|
|
@@ -606,9 +599,7 @@ const Expert = React.createClass({
|
|
|
<FormItem className="half-item" {...formItemLayout} label="职称">
|
|
|
<span>{theData.professionalTitle}</span>
|
|
|
</FormItem>
|
|
|
- <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
- <span>{getSocialAttribute(theData.societyTag)}</span>
|
|
|
- </FormItem>
|
|
|
+
|
|
|
<div className="clearfix">
|
|
|
<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 13 }} label="专家照片">
|
|
|
<Upload className="demandDetailShow-upload"
|
|
@@ -672,9 +663,6 @@ const Expert = React.createClass({
|
|
|
<FormItem className="half-item" {...formItemLayout} label="顾问类型">
|
|
|
<span>{getAdviserType(theData.consultantType)}</span>
|
|
|
</FormItem>
|
|
|
- <FormItem className="half-item" {...formItemLayout} label="社会属性">
|
|
|
- <span>{getSocialAttribute(theData.societyTag)}</span>
|
|
|
- </FormItem>
|
|
|
<div className="clearfix">
|
|
|
<FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 13 }} label="顾问照片">
|
|
|
<Upload className="demandDetailShow-upload"
|