|
@@ -361,7 +361,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
//点击查看跟进记录,点击最新跟进的第一个按钮(跟进状态)执行的函数,将会出现很多跟进列表
|
|
|
setModal3VisibleOk(e) {
|
|
|
this.setState({ modal3Visible:true });
|
|
|
- this.state.data = [];
|
|
|
+ //this.state.data = [];
|
|
|
this.setState({
|
|
|
loading: true
|
|
|
});
|
|
@@ -422,6 +422,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
loading: false
|
|
|
});
|
|
|
}.bind(this));
|
|
|
+
|
|
|
},
|
|
|
|
|
|
//删除历史记录
|
|
@@ -862,11 +863,11 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
});
|
|
|
if (!data.error.length) {
|
|
|
message.success('修改成功!');
|
|
|
- this.setModal5Visiblecancel();
|
|
|
+ this.setModal5Visiblecancel();
|
|
|
} else {
|
|
|
message.warning(data.error[0].message);
|
|
|
}
|
|
|
- this.loadData();
|
|
|
+ this.Detailload(this.state.rowId);
|
|
|
}.bind(this));
|
|
|
}
|
|
|
})
|
|
@@ -1323,7 +1324,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
{getFieldDecorator('tag', {
|
|
|
initialValue: theData.tag
|
|
|
})(
|
|
|
- <Select placeholder="选择客户标签" >
|
|
|
+ <Select placeholder="选择客户标签" >
|
|
|
{
|
|
|
tag.map(function (item) {
|
|
|
return <Select.Option key={item.key} >{item.key}</Select.Option>
|
|
@@ -1340,7 +1341,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
{getFieldDecorator('remarks', {
|
|
|
initialValue: theData.remarks
|
|
|
})(
|
|
|
- <Input type="textarea" rows={4} />
|
|
|
+ <Input type="textarea" rows={4} onChange={(e) => { this.setState({ remarks: e.target.value }); }} />
|
|
|
)}
|
|
|
</FormItem>
|
|
|
</div>
|
|
@@ -2004,8 +2005,7 @@ const AchievementList = Form.create()(React.createClass({
|
|
|
before_customerStatus:record._customerStatus,
|
|
|
before_companyIntention:record._companyIntention,
|
|
|
before_followSituation:record._followSituation
|
|
|
- })
|
|
|
- console.log(record);
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
//删除功能,已经完成
|