dengzhiguo 6 years ago
parent
commit
a138f3b883

+ 0 - 7
js/component/manageCenter/customer/NEW/crm/crmAll.jsx

@@ -87,7 +87,6 @@ const IntentionCustomer = Form.create()(React.createClass({
 				pageSize: this.state.pagination.pageSize,
 				name: this.state.nameSearch,
 				dataGrade: this.state.dataGrade,
-				follow: this.state.follow,
 				province: !(this.state.addressSearch).length ? this.state.provinceSearch : this.state.addressSearch[0],
 				city: !(this.state.addressSearch).length ? '' : this.state.addressSearch[1],
 				startDate: this.state.releaseDate[0],
@@ -788,12 +787,6 @@ const IntentionCustomer = Form.create()(React.createClass({
                         <Select.Option value="0" >有效资料</Select.Option>
                         <Select.Option value="1" >优质资料</Select.Option>
                     </Select>
-                    <Select placeholder="是否面谈客户" style={{ width: 120 }}
-                        value={this.state.follow}
-                        onChange={(e) => { this.setState({ follow: e }) }}>
-                        <Select.Option value="0" >否</Select.Option>
-                        <Select.Option value="1" >是</Select.Option>
-                    </Select>
                     <RangePicker style={{marginRight:'10px'}}
                         value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
                         this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}

+ 23 - 0
js/component/manageCenter/customer/customerMarketing/diurnalStatistics.jsx

@@ -43,6 +43,7 @@ const DiurnalStatistics = React.createClass({
 							departmentManagerName:item.departmentManagerName,//部门负责人名称
 							departmentNumber:item.departmentNumber, //部门人数
 							privateCustomersCount:item.privateCustomersCount,// 部门客户数
+							dataCount:item.dataCount,// 新增客户数
 							dailyTelNo:item.dayTelNo,//日电话量
 							dailyVisitNo:item.dayVisitNo,//日外拜量
 							dailyFollowNo:item.dayFollowNo,//日营销总量
@@ -56,6 +57,7 @@ const DiurnalStatistics = React.createClass({
 							annualTelNo:item.yearTelNo,//年电话量
 							annualFollowNo:item.yearFollowNo,//年总量
 							annualVisitNo:item.yearVisitNo,//年外拜量
+							
 						})
 					})
 				}
@@ -67,6 +69,7 @@ const DiurnalStatistics = React.createClass({
 							departmentName:'合计',							
 							departmentNumber:total.departmentNumber, //部门人数
 							privateCustomersCount:total.privateCustomersCount,// 部门客户数
+							dataCount:total.dataCount,// 新增客户数
 							dailyTelNo:total.dayTelNo,//日电话量
 							dailyVisitNo:total.dayVisitNo,//日外拜量
 							dailyFollowNo:total.dayFollowNo,//日营销总量
@@ -384,6 +387,26 @@ const DiurnalStatistics = React.createClass({
 				     }
 				     
 				}
+			},{
+				title: '新增客户数',
+				width:100,
+				fixed:false,
+				dataIndex: 'dataCount',
+				key: 'dataCount',
+				render:(text,record)=>{
+				     if(!record.theNumber){
+				     	return text
+				     }else{
+				     	return {
+				     		children: text,
+      						props: {
+      							colSpan:1
+      						},
+				     	}
+				     	
+				     }
+				     
+				}
 			},
 			{			
 				title: '今日营销',