|
@@ -148,6 +148,7 @@ const DemandList = React.createClass({
|
|
employerContactsMobile: thisdata.employerContactsMobile,//需求联系方式
|
|
employerContactsMobile: thisdata.employerContactsMobile,//需求联系方式
|
|
employerContactsMailbox: thisdata.employerContactsMailbox,//需求联系邮箱
|
|
employerContactsMailbox: thisdata.employerContactsMailbox,//需求联系邮箱
|
|
createTime: thisdata.createTime,//录入时间
|
|
createTime: thisdata.createTime,//录入时间
|
|
|
|
+ createTimeFormattedDate: thisdata.createTimeFormattedDate,//跟进时间转格式
|
|
adminName: thisdata.adminName,//录入人
|
|
adminName: thisdata.adminName,//录入人
|
|
remark:thisdata.remark,//备注
|
|
remark:thisdata.remark,//备注
|
|
});
|
|
});
|
|
@@ -200,6 +201,7 @@ const DemandList = React.createClass({
|
|
remarks: thisdata.remarks,//跟进情况
|
|
remarks: thisdata.remarks,//跟进情况
|
|
result: thisdata.result,//跟进结果
|
|
result: thisdata.result,//跟进结果
|
|
createTime: thisdata.createTime,//跟进时间
|
|
createTime: thisdata.createTime,//跟进时间
|
|
|
|
+ createTimeFormattedDate: thisdata.createTimeFormattedDate,//录入时间转格式
|
|
});
|
|
});
|
|
};
|
|
};
|
|
this.state.pagination.current = data.data.pageNo;
|
|
this.state.pagination.current = data.data.pageNo;
|
|
@@ -398,8 +400,8 @@ const DemandList = React.createClass({
|
|
}
|
|
}
|
|
},{
|
|
},{
|
|
title: '最新跟进时间',
|
|
title: '最新跟进时间',
|
|
- dataIndex: 'lastFollowTime',
|
|
|
|
- key: 'lastFollowTime',
|
|
|
|
|
|
+ dataIndex: 'createTimeFormattedDate',
|
|
|
|
+ key: 'createTimeFormattedDate',
|
|
}
|
|
}
|
|
],
|
|
],
|
|
mateDataSource: [],
|
|
mateDataSource: [],
|
|
@@ -407,8 +409,8 @@ const DemandList = React.createClass({
|
|
lookColumns: [
|
|
lookColumns: [
|
|
{
|
|
{
|
|
title: '跟进时间',
|
|
title: '跟进时间',
|
|
- dataIndex: 'createTime',
|
|
|
|
- key: 'createTime',
|
|
|
|
|
|
+ dataIndex: 'createTimeFormattedDate',
|
|
|
|
+ key: 'createTimeFormattedDate',
|
|
},{
|
|
},{
|
|
title: '跟进结果',
|
|
title: '跟进结果',
|
|
dataIndex: 'result',
|
|
dataIndex: 'result',
|
|
@@ -660,9 +662,11 @@ const DemandList = React.createClass({
|
|
},
|
|
},
|
|
//点击新增
|
|
//点击新增
|
|
addmate(e){
|
|
addmate(e){
|
|
|
|
+
|
|
this.setState({
|
|
this.setState({
|
|
addmatevisible: true
|
|
addmatevisible: true
|
|
});
|
|
});
|
|
|
|
+ this.matereset();
|
|
this.mateTop();
|
|
this.mateTop();
|
|
},
|
|
},
|
|
//新增一条匹配记录
|
|
//新增一条匹配记录
|
|
@@ -787,9 +791,11 @@ const DemandList = React.createClass({
|
|
})
|
|
})
|
|
},
|
|
},
|
|
addmate1(){
|
|
addmate1(){
|
|
|
|
+
|
|
this.setState({
|
|
this.setState({
|
|
addmatevisible1: true
|
|
addmatevisible1: true
|
|
});
|
|
});
|
|
|
|
+ this.lookreset();
|
|
this.mateLoadData();
|
|
this.mateLoadData();
|
|
},
|
|
},
|
|
addmateNo1(){
|
|
addmateNo1(){
|
|
@@ -843,6 +849,19 @@ const DemandList = React.createClass({
|
|
this.state.releaseDateS = [];
|
|
this.state.releaseDateS = [];
|
|
this.loadData();
|
|
this.loadData();
|
|
},
|
|
},
|
|
|
|
+ matereset(){
|
|
|
|
+ this.state.mateContactMobile = undefined;//成果方联系方式
|
|
|
|
+ this.state.mateContacts = undefined;//成果联系人
|
|
|
|
+ this.state.mateOrganization = undefined;//匹配机构
|
|
|
|
+ this.state.mateSources = undefined;//来源
|
|
|
|
+ this.state.mateRemark = undefined;//备注
|
|
|
|
+ },
|
|
|
|
+ //点击新增跟进记录是清空里面的内容
|
|
|
|
+ lookreset(){
|
|
|
|
+ this.state.RowData.addcreateTime = undefined;
|
|
|
|
+ this.state.addresult = '';
|
|
|
|
+ this.state.addremarks = undefined;
|
|
|
|
+ },
|
|
searchSwitch() {
|
|
searchSwitch() {
|
|
this.setState({
|
|
this.setState({
|
|
searchMore: !this.state.searchMore
|
|
searchMore: !this.state.searchMore
|
|
@@ -1315,7 +1334,7 @@ const DemandList = React.createClass({
|
|
<Modal maskClosable={false} visible={this.state.lookvisible}
|
|
<Modal maskClosable={false} visible={this.state.lookvisible}
|
|
onOk={this.checkPatentProcess} onCancel={this.lookmateNo}
|
|
onOk={this.checkPatentProcess} onCancel={this.lookmateNo}
|
|
width='600px'
|
|
width='600px'
|
|
- title='跟进情况详情'
|
|
|
|
|
|
+ title='跟进情况列表'
|
|
footer=''
|
|
footer=''
|
|
className="admin-desc-content">
|
|
className="admin-desc-content">
|
|
<Form horizontal onSubmit={this.addhandleSubmit} id="add-form">
|
|
<Form horizontal onSubmit={this.addhandleSubmit} id="add-form">
|