liting2017 před 7 roky
rodič
revize
7ae60afcc1

+ 1 - 1
js/component/manageCenter/customer/report/departmentReport.jsx

@@ -546,7 +546,7 @@ const PersonalReport = React.createClass({
 				<div className="surfaceTitle">
 					<span className="nowtime">{this.state.timeState?this.state.txtTime:this.state.Nowtime}</span>
 					<span>部门营销业绩统计表</span>
-					<span>(每日17:30统计当天数据)</span>
+					<span>(每日17:00统计当天数据)</span>
 				</div>
 				<div className="patent-table">
 					<div className="scroll">

+ 5 - 4
js/component/manageCenter/customer/report/personalReport.jsx

@@ -66,8 +66,7 @@ const PersonalReport = React.createClass({
 						})
 					})
 					this.state.pagination.current =pageNo;
-					this.state.pagination.total=total.totalRecordCount;
-					
+					this.state.pagination.total=total.totalRecordCount%11?total.totalRecordCount:total.totalRecordCount+1;
 				};
 				if(!data.data.length){
 					this.state.pagination.total=0;
@@ -116,7 +115,9 @@ const PersonalReport = React.createClass({
 			crossDomain: false,
 			url: globalConfig.context + "/api/admin/report/sales/total",
 			data: {
-
+				date:this.state.selTime?(this.state.selTime+' '+'00:00:00'):'',
+				depName:this.state.departmentSearch,
+				name:this.state.uesrNameSearch,
 			},
 			success: function(data) {
 				let thedata = data.data;
@@ -507,7 +508,7 @@ const PersonalReport = React.createClass({
 				<div className="surfaceTitle">
 					<span className="nowtime">{this.state.timeState?this.state.txtTime:this.state.Nowtime}</span>
 					<span>个人营销业绩统计表</span>
-					<span>(每日17:30统计当天数据)</span>
+					<span>(每日17:00统计当天数据)</span>
 				</div>
 				<div className="patent-table">
 					<div className="scroll">