|
@@ -75,117 +75,160 @@ const PersonFrom = Form.create()(React.createClass({
|
|
|
};
|
|
|
const FormItem = Form.Item;
|
|
|
return (
|
|
|
- <Form onSubmit={this.handleSubmit} className="hrSituation-form clearfix">
|
|
|
+ <Form onSubmit={this.handleSubmit} className="hrSituation-form">
|
|
|
<p className="hrSituation-title">总体情况</p>
|
|
|
- <span className="hrSituation-span">总数(人)</span>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="企业职工"
|
|
|
- >
|
|
|
- {getFieldDecorator('firmTotal', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- style={{marginRight:"50%"}}
|
|
|
- {...formItemLayout}
|
|
|
- label="科技人员"
|
|
|
- >
|
|
|
- {getFieldDecorator('techTotal', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <span className="hrSituation-span">在职人员(人)</span>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="企业职工"
|
|
|
- >
|
|
|
- {getFieldDecorator('firmInService', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="科技人员"
|
|
|
- >
|
|
|
- {getFieldDecorator('techInService', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <span className="hrSituation-span">兼职人员(人)</span>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="企业职工"
|
|
|
- >
|
|
|
- {getFieldDecorator('firmPartTime', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="科技人员"
|
|
|
- >
|
|
|
- {getFieldDecorator('techPartTime', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <span className="hrSituation-span">临时聘用人员(人)</span>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="企业职工"
|
|
|
- >
|
|
|
- {getFieldDecorator('firmPartTime', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="科技人员"
|
|
|
- >
|
|
|
- {getFieldDecorator('techPartTime', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <span className="hrSituation-span">外籍人员(人)</span>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="企业职工"
|
|
|
- >
|
|
|
- {getFieldDecorator('firmForeign', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <FormItem className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="科技人员"
|
|
|
- >
|
|
|
- {getFieldDecorator('techForeign', {
|
|
|
- initialValue: this.state.nickname || null
|
|
|
- })(
|
|
|
- <InputNumber />
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- <div className="clearfix" style={{ paddingLeft: '3.3%' }}>
|
|
|
- <Button className="set-submit" type="primary" htmlType="submit">保存</Button>
|
|
|
+ <div className="clearfix">
|
|
|
+ <span className="hrSituation-span">总数(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmTotal', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ style={{ marginRight: "50%" }}
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techTotal', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">在职人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmInService', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techInService', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">兼职人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmPartTime', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techPartTime', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">临时聘用人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmPartTime', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techPartTime', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">外籍人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmForeign', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techForeign', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">留学归国人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmAbroad', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techAbroad', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <span className="hrSituation-span">干人计划人员(人)</span>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="企业职工"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('firmCore', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="科技人员"
|
|
|
+ >
|
|
|
+ {getFieldDecorator('techCore', {
|
|
|
+ initialValue: this.state.nickname || null
|
|
|
+ })(
|
|
|
+ <InputNumber />
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
</div>
|
|
|
+ <p className="hrSituation-title">全体人员结构</p>
|
|
|
+ <Button className="set-submit" type="primary" htmlType="submit">保存</Button>
|
|
|
</Form >
|
|
|
);
|
|
|
},
|
|
@@ -207,7 +250,6 @@ const Person = React.createClass({
|
|
|
<Spin spinning={this.state.loading} className='spin-box'>
|
|
|
<div className="set-person">
|
|
|
<div className="acc-detail">
|
|
|
- <p className="acc-title">人力状况</p>
|
|
|
<PersonFrom spinState={this.spinChange} />
|
|
|
</div>
|
|
|
</div>
|