Pārlūkot izejas kodu

运营数据统计

test01 3 gadi atpakaļ
vecāks
revīzija
0ccf4a6fab

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

@@ -32,7 +32,7 @@ class ProjectOperation extends Component{
 
             loading:false,
 
-            patentTransfer:props.dataInfor.patentTransfer
+            patentTransfer:props.dataInfor ? props.dataInfor.patentTransfer : 0  //收否为专利转让 0 否 1 是
         }
         this.onSubmit = this.onSubmit.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: "联系人",
           dataIndex: "contacts",
           key: "contacts",
+		  width: 150,
           render: (text, record) => {
             return (
               <div>
@@ -87,6 +88,7 @@ const Visit = React.createClass({
           title: "跟进人",
           dataIndex: "adminName",
           key: "adminName",
+		  width: 120
         },
         {
           title: "跟进说明",
@@ -106,11 +108,11 @@ const Visit = React.createClass({
 							}}>
 								补充说明:
 								{record.supplement}
-								{!record.readOnly &&<div style={{paddingLeft: '10px'}}>
+								<div style={{paddingLeft: '10px'}}>
 									<PublicSupplement infor={record} onCancel={() => {
 										this.loadVisit(this.state.ispage);
 									}}/>
-								</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: "跟进人",
           dataIndex: "adminName",
           key: "adminName",
+		  width: 120
         },
         {
           title: "跟进说明",
@@ -103,11 +104,11 @@ const Visit = React.createClass({
 							}}>
 								补充说明:
 								{record.supplement}
-								{!record.readOnly && <div style={{paddingLeft: '10px'}}>
+								<div style={{paddingLeft: '10px'}}>
 									<PublicSupplement infor={record} onCancel={() => {
 										this.loadVisit(this.state.ispage);
 									}}/>
-								</div> }
+								</div>
 							</div>
 						}
 					</div>

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

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

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

@@ -23,9 +23,9 @@ class DetailedList extends Component{
                     width: 120,
                 },
                 {
-                    title: "催收省份",
-                    dataIndex: "provinceName",
-                    key: "provinceName",
+                    title: "催收部门",
+                    dataIndex: "depName",
+                    key: "depName",
                     width: 320,
                 },
                 {
@@ -258,7 +258,7 @@ class DetailedList extends Component{
                     className="admin-desc-content">
                     <div className="user-content">
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             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">
                     <div className="user-content">
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             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">
                     <div className="user-content">
                         <TabelContent
-                            scroll={{ x: 0, y: 200}}
+                            scroll={{ x: 0, y: 500}}
                             searchList={this.state.searchList}
                             columns={this.state.columns}
                             tabelApi={'/api/admin/newOrder/provinceStatisticsList'}
@@ -318,7 +318,12 @@ class DetailedList extends Component{
                                     if(i === 'sort' || i === 'pageNo' || i === 'pageSize'){
                                         delete value[i]
                                     }
-
+                                    if(i === 'startSign'){
+                                        value['contractStart'] = value['startSign']
+                                    }
+                                    if(i === 'endSign'){
+                                        value['contractEnd'] = value['endSign']
+                                    }
                                 }
                                 this.setState({searchConfig:value})}
                             }

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

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