Browse Source

运营数据统计

test01 3 years ago
parent
commit
0ccf4a6fab

+ 1 - 1
js/component/common/projectOperation/index.jsx

@@ -32,7 +32,7 @@ class ProjectOperation extends Component{
 
 
             loading:false,
             loading:false,
 
 
-            patentTransfer:props.dataInfor.patentTransfer
+            patentTransfer:props.dataInfor ? props.dataInfor.patentTransfer : 0  //收否为专利转让 0 否 1 是
         }
         }
         this.onSubmit = this.onSubmit.bind(this);
         this.onSubmit = this.onSubmit.bind(this);
         this.httpChange = this.httpChange.bind(this);
         this.httpChange = this.httpChange.bind(this);

+ 4 - 2
js/component/manageCenter/customer/NEW/intentionCustomer/intentionDetail/detail/visit.jsx

@@ -62,6 +62,7 @@ const Visit = React.createClass({
           title: "联系人",
           title: "联系人",
           dataIndex: "contacts",
           dataIndex: "contacts",
           key: "contacts",
           key: "contacts",
+		  width: 150,
           render: (text, record) => {
           render: (text, record) => {
             return (
             return (
               <div>
               <div>
@@ -87,6 +88,7 @@ const Visit = React.createClass({
           title: "跟进人",
           title: "跟进人",
           dataIndex: "adminName",
           dataIndex: "adminName",
           key: "adminName",
           key: "adminName",
+		  width: 120
         },
         },
         {
         {
           title: "跟进说明",
           title: "跟进说明",
@@ -106,11 +108,11 @@ const Visit = React.createClass({
 							}}>
 							}}>
 								补充说明:
 								补充说明:
 								{record.supplement}
 								{record.supplement}
-								{!record.readOnly &&<div style={{paddingLeft: '10px'}}>
+								<div style={{paddingLeft: '10px'}}>
 									<PublicSupplement infor={record} onCancel={() => {
 									<PublicSupplement infor={record} onCancel={() => {
 										this.loadVisit(this.state.ispage);
 										this.loadVisit(this.state.ispage);
 									}}/>
 									}}/>
-								</div>}
+								</div>
 							</div>
 							</div>
 						}
 						}
 					</div>
 					</div>

+ 3 - 2
js/component/manageCenter/customer/NEW/signCustomer/intentionDetail/detail/visit.jsx

@@ -84,6 +84,7 @@ const Visit = React.createClass({
           title: "跟进人",
           title: "跟进人",
           dataIndex: "adminName",
           dataIndex: "adminName",
           key: "adminName",
           key: "adminName",
+		  width: 120
         },
         },
         {
         {
           title: "跟进说明",
           title: "跟进说明",
@@ -103,11 +104,11 @@ const Visit = React.createClass({
 							}}>
 							}}>
 								补充说明:
 								补充说明:
 								{record.supplement}
 								{record.supplement}
-								{!record.readOnly && <div style={{paddingLeft: '10px'}}>
+								<div style={{paddingLeft: '10px'}}>
 									<PublicSupplement infor={record} onCancel={() => {
 									<PublicSupplement infor={record} onCancel={() => {
 										this.loadVisit(this.state.ispage);
 										this.loadVisit(this.state.ispage);
 									}}/>
 									}}/>
-								</div> }
+								</div>
 							</div>
 							</div>
 						}
 						}
 					</div>
 					</div>

+ 5 - 0
js/component/manageCenter/customer/operationalData/interviewStatistics/detailedList.jsx

@@ -17,16 +17,19 @@ class DetailedList extends Component{
                     title: "编号",
                     title: "编号",
                     dataIndex: "key",
                     dataIndex: "key",
                     key: "key",
                     key: "key",
+                    width: 120,
                 },
                 },
                 {
                 {
                     title: "面谈部门",
                     title: "面谈部门",
                     dataIndex: "name",
                     dataIndex: "name",
                     key: "name",
                     key: "name",
+                    width: 320,
                 },
                 },
                 {
                 {
                     title: "客户类型",
                     title: "客户类型",
                     dataIndex: "newUser",
                     dataIndex: "newUser",
                     key: "newUser",
                     key: "newUser",
+                    width: 100,
                     render:(text)=>(
                     render:(text)=>(
                         text === 0 ? '新客户' :
                         text === 0 ? '新客户' :
                             text === 1 ? '老客户' : ''
                             text === 1 ? '老客户' : ''
@@ -36,6 +39,7 @@ class DetailedList extends Component{
                     title: "面谈客户",
                     title: "面谈客户",
                     dataIndex: "nickname",
                     dataIndex: "nickname",
                     key: "nickname",
                     key: "nickname",
+                    width: 220,
                 },
                 },
                 {
                 {
                     title: "面谈数",
                     title: "面谈数",
@@ -499,6 +503,7 @@ class DetailedList extends Component{
                     className="admin-desc-content">
                     className="admin-desc-content">
                     <div className="user-content">
                     <div className="user-content">
                         <TabelContent
                         <TabelContent
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             columns={this.state.columns}
                             searchConfig={this.props.searchConfig}
                             searchConfig={this.props.searchConfig}

+ 4 - 4
js/component/manageCenter/customer/operationalData/receivablesStatistics/detailedList.jsx

@@ -23,9 +23,9 @@ class DetailedList extends Component{
                     width: 120,
                     width: 120,
                 },
                 },
                 {
                 {
-                    title: "催收省份",
-                    dataIndex: "provinceName",
-                    key: "provinceName",
+                    title: "催收部门",
+                    dataIndex: "depName",
+                    key: "depName",
                     width: 320,
                     width: 320,
                 },
                 },
                 {
                 {
@@ -258,7 +258,7 @@ class DetailedList extends Component{
                     className="admin-desc-content">
                     className="admin-desc-content">
                     <div className="user-content">
                     <div className="user-content">
                         <TabelContent
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             columns={this.state.columns}
                             searchConfig={this.props.searchConfig}
                             searchConfig={this.props.searchConfig}

+ 1 - 1
js/component/manageCenter/customer/operationalData/reexamine/detailedList.jsx

@@ -321,7 +321,7 @@ class DetailedList extends Component{
                     className="admin-desc-content">
                     className="admin-desc-content">
                     <div className="user-content">
                     <div className="user-content">
                         <TabelContent
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             columns={this.state.columns}
                             searchConfig={this.props.searchConfig}
                             searchConfig={this.props.searchConfig}

+ 7 - 2
js/component/manageCenter/customer/operationalData/signatureStatistics/detailedList.jsx

@@ -308,7 +308,7 @@ class DetailedList extends Component{
                     className="admin-desc-content">
                     className="admin-desc-content">
                     <div className="user-content">
                     <div className="user-content">
                         <TabelContent
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             columns={this.state.columns}
                             tabelApi={'/api/admin/newOrder/provinceStatisticsList'}
                             tabelApi={'/api/admin/newOrder/provinceStatisticsList'}
@@ -318,7 +318,12 @@ class DetailedList extends Component{
                                     if(i === 'sort' || i === 'pageNo' || i === 'pageSize'){
                                     if(i === 'sort' || i === 'pageNo' || i === 'pageSize'){
                                         delete value[i]
                                         delete value[i]
                                     }
                                     }
-
+                                    if(i === 'startSign'){
+                                        value['contractStart'] = value['startSign']
+                                    }
+                                    if(i === 'endSign'){
+                                        value['contractEnd'] = value['endSign']
+                                    }
                                 }
                                 }
                                 this.setState({searchConfig:value})}
                                 this.setState({searchConfig:value})}
                             }
                             }

+ 1 - 1
js/component/manageCenter/customer/operationalData/signatureStatistics/index.jsx

@@ -143,7 +143,7 @@ class SignatureStatistics extends Component{
                     </span>
                     </span>
                 </div>
                 </div>
                 <TabelContent
                 <TabelContent
-                    scroll={{ x: 0, y: 200 }}
+                    scroll={{ x: 0, y: 1000 }}
                     searchList={this.searchList()}
                     searchList={this.searchList()}
                     columns={this.state.columns}
                     columns={this.state.columns}
                     searchOperation={(value)=>{
                     searchOperation={(value)=>{