|
@@ -211,7 +211,7 @@ const AchievementDetailForm = Form.create()(
|
|
|
message.warning(data.error[0].message);
|
|
|
}
|
|
|
}.bind(this),
|
|
|
- }).always(function () {}.bind(this));
|
|
|
+ }).always(function () { }.bind(this));
|
|
|
},
|
|
|
onSelect(value) {
|
|
|
let arr = this.state.cooperationProjects.filter((v) => v.id === value);
|
|
@@ -273,7 +273,7 @@ const AchievementDetailForm = Form.create()(
|
|
|
message.warning(data.error[0].message);
|
|
|
}
|
|
|
}.bind(this),
|
|
|
- }).always(function () {}.bind(this));
|
|
|
+ }).always(function () { }.bind(this));
|
|
|
},
|
|
|
|
|
|
render() {
|
|
@@ -335,6 +335,26 @@ const AchievementDetailForm = Form.create()(
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
+ <FormItem
|
|
|
+ className="mid-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="渠道类别"
|
|
|
+ >
|
|
|
+ {getFieldDecorator("channelType", {
|
|
|
+ rules: [{ required: true, message: "此项为必填项!" }],
|
|
|
+ initialValue: this.state.channelType,
|
|
|
+ })(
|
|
|
+ <Select placeholder="请选择">
|
|
|
+ <Select.Option value={1}>政府部门</Select.Option>
|
|
|
+ <Select.Option value={2}>民主党派</Select.Option>
|
|
|
+ <Select.Option value={3}>园区</Select.Option>
|
|
|
+ <Select.Option value={4}>民间组织</Select.Option>
|
|
|
+ <Select.Option value={5}>其他战略合作单位</Select.Option>
|
|
|
+ </Select>
|
|
|
+ )}
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
+ <div className="clearfix">
|
|
|
<FormItem {...formItemLayout} label="省-市-区">
|
|
|
{getFieldDecorator("ProvinceCity", {
|
|
|
rules: [{ required: true, message: "此项为必填项!" }],
|
|
@@ -372,28 +392,6 @@ const AchievementDetailForm = Form.create()(
|
|
|
<FormItem
|
|
|
className="mid-item"
|
|
|
{...formItemLayout}
|
|
|
- label="渠道类别"
|
|
|
- >
|
|
|
- {getFieldDecorator("channelType", {
|
|
|
- rules: [{ required: true, message: "此项为必填项!" }],
|
|
|
- initialValue: this.state.channelType,
|
|
|
- })(
|
|
|
- <Select placeholder="请选择">
|
|
|
- <Select.Option value={1}>政府部门</Select.Option>
|
|
|
- <Select.Option value={2}>民主党派</Select.Option>
|
|
|
- <Select.Option value={3}>园区</Select.Option>
|
|
|
- <Select.Option value={4}>民间组织</Select.Option>
|
|
|
- <Select.Option value={5}>
|
|
|
- 其他战略合作单位
|
|
|
- </Select.Option>
|
|
|
- </Select>
|
|
|
- )}
|
|
|
- </FormItem>
|
|
|
- </div>
|
|
|
- <div className="clearfix">
|
|
|
- <FormItem
|
|
|
- className="mid-item"
|
|
|
- {...formItemLayout}
|
|
|
label="联系电话"
|
|
|
>
|
|
|
{getFieldDecorator("contactMobile", {
|