|
@@ -63,9 +63,7 @@ const FollowDetail = React.createClass({
|
|
|
},
|
|
|
//拜访意向服务列表单个删除
|
|
|
intentionDelet(e, index) {
|
|
|
- console.log(e);
|
|
|
- if(e.id) {
|
|
|
- this.setState({
|
|
|
+ this.setState({
|
|
|
loading:true,
|
|
|
selectedRowKeys: [],
|
|
|
});
|
|
@@ -75,7 +73,7 @@ const FollowDetail = React.createClass({
|
|
|
crossDomain: false,
|
|
|
url: globalConfig.context + "/api/admin/customer/againProjectTask",
|
|
|
data: {
|
|
|
- uid: e.uid,
|
|
|
+ uid: e.uids,
|
|
|
projectId:e.businessName,
|
|
|
}
|
|
|
}).done(function(data) {
|
|
@@ -89,7 +87,7 @@ const FollowDetail = React.createClass({
|
|
|
};
|
|
|
//this.deletelist(this.props.followData.id)
|
|
|
}.bind(this));
|
|
|
- }
|
|
|
+
|
|
|
},
|
|
|
//拜访modul函数
|
|
|
visitOk(e) {
|
|
@@ -184,7 +182,8 @@ const FollowDetail = React.createClass({
|
|
|
followSituation: thisdata.followSituation==null?undefined : String(thisdata.followSituation),
|
|
|
customerStatus: thisdata.customerStatus==null?undefined : String(thisdata.customerStatus),
|
|
|
remarks: thisdata.remarks,
|
|
|
- uid:thisdata.uid
|
|
|
+ uid:thisdata.uid,
|
|
|
+ uids:data.data.uid
|
|
|
|
|
|
});
|
|
|
}
|
|
@@ -193,6 +192,7 @@ const FollowDetail = React.createClass({
|
|
|
|
|
|
this.setState({
|
|
|
contacts: thedata.contacts,
|
|
|
+ uids:data.data.uid,
|
|
|
uid: thedata.uid,
|
|
|
data: listArr,
|
|
|
followTime: thedata.followTime,
|