dengzhiguo 7 年之前
父節點
當前提交
b7e0f244c0
共有 1 個文件被更改,包括 11 次插入9 次删除
  1. 11 9
      js/component/manageCenter/demand/myTechDemand.jsx

+ 11 - 9
js/component/manageCenter/demand/myTechDemand.jsx

@@ -148,7 +148,8 @@ 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,//跟进时间转格式
+                            createTimeFormattedDate: thisdata.createTimeFormattedDate,//录入时间转格式
+                            lastFollowTimeFormattedDate: thisdata.lastFollowTimeFormattedDate,//跟进时间转格式
                             adminName: thisdata.adminName,//录入人
                             adminName: thisdata.adminName,//录入人
                             remark:thisdata.remark,//备注
                             remark:thisdata.remark,//备注
                         });
                         });
@@ -401,8 +402,8 @@ const DemandList = React.createClass({
                     }
                     }
                 },{
                 },{
                     title: '最新跟进时间',
                     title: '最新跟进时间',
-                    dataIndex: 'createTimeFormattedDate',
-                    key: 'createTimeFormattedDate',
+                    dataIndex: 'lastFollowTimeFormattedDate',
+                    key: 'lastFollowTimeFormattedDate',
                 }
                 }
             ],
             ],
             mateDataSource: [],
             mateDataSource: [],
@@ -653,6 +654,7 @@ const DemandList = React.createClass({
                     name: data.data.name,//需求名称
                     name: data.data.name,//需求名称
                     employerContactsMobile:data.data.employerContactsMobile,//联系人电话
                     employerContactsMobile:data.data.employerContactsMobile,//联系人电话
                     employerContactsMailbox:data.data.employerContactsMailbox,//联系人邮箱
                     employerContactsMailbox:data.data.employerContactsMailbox,//联系人邮箱
+                    createTimeFormattedDate:data.data.createTimeFormattedDate,//录入时间转格式
                 });
                 });
             }.bind(this),
             }.bind(this),
         }).always(function () {
         }).always(function () {
@@ -694,7 +696,7 @@ const DemandList = React.createClass({
                 loading: false
                 loading: false
             });
             });
             if (!data.error.length) {
             if (!data.error.length) {
-                message.success('新增项目成功!'); 
+                message.success('修改匹配跟进成功!'); 
                this.mateLoadData();
                this.mateLoadData();
                this.addmateNo();
                this.addmateNo();
             } else {
             } else {
@@ -727,7 +729,7 @@ const DemandList = React.createClass({
                 loading: false
                 loading: false
             });
             });
             if (!data.error.length) {
             if (!data.error.length) {
-                message.success('新增项目成功!'); 
+                message.success('新增匹配跟进成功!'); 
                this.mateLoadData();
                this.mateLoadData();
                this.addmateNo();
                this.addmateNo();
             } else {
             } else {
@@ -799,12 +801,12 @@ const DemandList = React.createClass({
     		addmatevisible1: true 
     		addmatevisible1: true 
     	});
     	});
     	this.lookreset();
     	this.lookreset();
-    	this.mateLoadData();
     },
     },
     addmateNo1(){
     addmateNo1(){
     	this.setState({ 
     	this.setState({ 
     		addmatevisible1: false 
     		addmatevisible1: false 
-    	})
+    	});
+    	this.mateLoadData();
     },
     },
     lookmate(){
     lookmate(){
     	this.setState({ 
     	this.setState({ 
@@ -1083,7 +1085,7 @@ const DemandList = React.createClass({
 				                            labelCol={{ span: 6 }}
 				                            labelCol={{ span: 6 }}
 				                        	wrapperCol={{ span: 12 }}
 				                        	wrapperCol={{ span: 12 }}
 				                            label="录入时间:" >
 				                            label="录入时间:" >
-			                    	     	<span>{this.state.createTime}</span>
+			                    	     	<span>{this.state.createTimeFormattedDate}</span>
 				                    </FormItem>
 				                    </FormItem>
 	                   		    </div>
 	                   		    </div>
 				                <div className="clearfix" style={{paddingLeft:'60px'}}>
 				                <div className="clearfix" style={{paddingLeft:'60px'}}>
@@ -1188,7 +1190,7 @@ const DemandList = React.createClass({
 				                            labelCol={{ span: 6 }}
 				                            labelCol={{ span: 6 }}
 				                        	wrapperCol={{ span: 12 }}
 				                        	wrapperCol={{ span: 12 }}
 				                            label="录入时间:" >
 				                            label="录入时间:" >
-			                    	     	<span>{this.state.createTime}</span>
+			                    	     	<span>{this.state.createTimeFormattedDate}</span>
 				                    </FormItem>
 				                    </FormItem>
 	                   		    </div>
 	                   		    </div>
 				                <div className="clearfix" style={{paddingLeft:'60px'}}>
 				                <div className="clearfix" style={{paddingLeft:'60px'}}>