|
@@ -317,7 +317,7 @@ const Expert = React.createClass({
|
|
{getFieldDecorator('identifyName', {
|
|
{getFieldDecorator('identifyName', {
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
initialValue: theData.identifyName
|
|
initialValue: theData.identifyName
|
|
- })(<Input placeholder="输入姓名" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入姓名" maxLength={128}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="行业">
|
|
<FormItem className="half-item" {...formItemLayout} label="行业">
|
|
{getFieldDecorator('industry', {
|
|
{getFieldDecorator('industry', {
|
|
@@ -365,7 +365,7 @@ const Expert = React.createClass({
|
|
<FormItem className="half-item" {...formItemLayout} label="身份证号码">
|
|
<FormItem className="half-item" {...formItemLayout} label="身份证号码">
|
|
{getFieldDecorator('idNumber', {
|
|
{getFieldDecorator('idNumber', {
|
|
initialValue: theData.idNumber
|
|
initialValue: theData.idNumber
|
|
- })(<Input placeholder="身份证号码" />)}
|
|
|
|
|
|
+ })(<Input placeholder="身份证号码" maxLength={20}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
@@ -378,53 +378,53 @@ const Expert = React.createClass({
|
|
<FormItem className="half-item" {...formItemLayout} label="通信地址">
|
|
<FormItem className="half-item" {...formItemLayout} label="通信地址">
|
|
{getFieldDecorator('postalAddress', {
|
|
{getFieldDecorator('postalAddress', {
|
|
initialValue: theData.postalAddress
|
|
initialValue: theData.postalAddress
|
|
- })(<Input placeholder="输入通信地址" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入通信地址" maxLength={255}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="手机号码">
|
|
<FormItem className="half-item" {...formItemLayout} label="手机号码">
|
|
{getFieldDecorator('mobile', {
|
|
{getFieldDecorator('mobile', {
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
rules: [ { required: true, message: '此项为必填项!' } ],
|
|
initialValue: theData.mobile
|
|
initialValue: theData.mobile
|
|
- })(<Input placeholder="输入手机号码" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入手机号码" maxLength={16}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="固定电话">
|
|
<FormItem className="half-item" {...formItemLayout} label="固定电话">
|
|
{getFieldDecorator('fixedTel', {
|
|
{getFieldDecorator('fixedTel', {
|
|
initialValue: theData.fixedTel
|
|
initialValue: theData.fixedTel
|
|
- })(<Input placeholder="输入固定电话" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入固定电话" maxLength={13}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="QQ">
|
|
<FormItem className="half-item" {...formItemLayout} label="QQ">
|
|
{getFieldDecorator('qq', {
|
|
{getFieldDecorator('qq', {
|
|
initialValue: theData.qq
|
|
initialValue: theData.qq
|
|
- })(<Input placeholder="输入qq" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入qq" maxLength={16}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="电子邮箱">
|
|
<FormItem className="half-item" {...formItemLayout} label="电子邮箱">
|
|
{getFieldDecorator('email', {
|
|
{getFieldDecorator('email', {
|
|
initialValue: theData.email
|
|
initialValue: theData.email
|
|
- })(<Input placeholder="输入电子邮箱" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入电子邮箱" maxLength={128}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="毕业院校">
|
|
<FormItem className="half-item" {...formItemLayout} label="毕业院校">
|
|
{getFieldDecorator('graduateSchool', {
|
|
{getFieldDecorator('graduateSchool', {
|
|
initialValue: theData.graduateSchool
|
|
initialValue: theData.graduateSchool
|
|
- })(<Input placeholder="输入毕业院校全称" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入毕业院校全称" maxLength={32}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="专业类别">
|
|
<FormItem className="half-item" {...formItemLayout} label="专业类别">
|
|
{getFieldDecorator('majorCategory', {
|
|
{getFieldDecorator('majorCategory', {
|
|
initialValue: theData.majorCategory
|
|
initialValue: theData.majorCategory
|
|
- })(<Input placeholder="输入专业" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入专业" maxLength={16}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="职业资格">
|
|
<FormItem className="half-item" {...formItemLayout} label="职业资格">
|
|
{getFieldDecorator('qualification', {
|
|
{getFieldDecorator('qualification', {
|
|
initialValue: theData.qualification
|
|
initialValue: theData.qualification
|
|
- })(<Input placeholder="输入职业资格" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入职业资格" maxLength={32} />)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="就职单位">
|
|
<FormItem className="half-item" {...formItemLayout} label="就职单位">
|
|
{getFieldDecorator('workUnit', {
|
|
{getFieldDecorator('workUnit', {
|
|
initialValue: theData.workUnit
|
|
initialValue: theData.workUnit
|
|
- })(<Input placeholder="输入就职单位全称" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入就职单位全称" maxLength={64}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem className="half-item" {...formItemLayout} label="职称">
|
|
<FormItem className="half-item" {...formItemLayout} label="职称">
|
|
{getFieldDecorator('professionalTitle', {
|
|
{getFieldDecorator('professionalTitle', {
|
|
initialValue: theData.professionalTitle
|
|
initialValue: theData.professionalTitle
|
|
- })(<Input placeholder="输入职称" />)}
|
|
|
|
|
|
+ })(<Input placeholder="输入职称" maxLength={32}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
@@ -435,7 +435,7 @@ const Expert = React.createClass({
|
|
>
|
|
>
|
|
{getFieldDecorator('introduction', {
|
|
{getFieldDecorator('introduction', {
|
|
initialValue: theData.introduction
|
|
initialValue: theData.introduction
|
|
- })(<Input type="textarea" rows={4} />)}
|
|
|
|
|
|
+ })(<Input type="textarea" rows={4} maxLength={512}/>)}
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
<div className="clearfix pictures">
|
|
<div className="clearfix pictures">
|