Bladeren bron

去除字段

HW 4 jaren geleden
bovenliggende
commit
f59664bf99

+ 1 - 1
js/component/dataDic.js

@@ -2909,7 +2909,7 @@ module.exports = {
     },
     {
       value: "6",
-      key: "已全部派咨询师经理",
+      key: "已全部派咨询师经理",
     },
     {
       value: "7",

+ 27 - 13
js/component/manageCenter/customer/customerManagement/adminCustomerStatistics.jsx

@@ -57,10 +57,11 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 						let thisdata = data.data.list[i];
 						theArr.push({
 							key: pageNo?(i+1+(pageNo-1)*10):i+1,
-							aid:thisdata.aid,		 
-							aName:thisdata.aName,		
+							aid:thisdata.aid,
+							aName:thisdata.aName,
 							depName:thisdata.depName,
 							userCount:thisdata.userCount,
+							signCount:thisdata.signCount,
 							inputCount:thisdata.inputCount,
 							receiveCount:thisdata.receiveCount,
 						});
@@ -126,7 +127,7 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 			});
 		}.bind(this));
 	},
-	
+
 	//操作分配
 	confirmDelet(index) {
 		this.setState({
@@ -222,7 +223,7 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 		this.departmentList();
 		this.loadData();
 	},
-	
+
 	getInitialState() {
 		return {
 			rowKey : 0,
@@ -276,7 +277,7 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 				key: 'depName',
 				align:'center',
 			}, {
-				title: '客户数',
+				title: '私有客户数',
 				dataIndex: 'userCount',
 				key: 'userCount',
 				align:'center',
@@ -285,7 +286,16 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 						this.userCount(record,index)
 					}} className="single">{text}</span>
 				}
-			}, {
+			},{
+					title: '签单客户数量',
+					dataIndex: 'signCount',
+					key: 'signCount',
+					render:(text,record,index)=>{
+						return <span onClick={()=>{
+							this.signedQuantity(record,index)
+						}} className="single">{text}</span>
+					}
+				},{
 				title: '时间内新增客户数',
 				dataIndex: 'inputCount',
 				key: 'inputCount',
@@ -331,24 +341,28 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 				dataIndex: 'followTime',
 				key: 'followTime',
 			}]
-			
+
 		};
 	},
-	
+
 	userCount(record,index){
 		this.tableRowClick(record,index,0)
 	},
-	
+
+	signedQuantity(record,index){
+		this.tableRowClick(record,index,5)
+	},
+
 	inputCount(record,index){
 		this.tableRowClick(record,index,1)
 	},
-	
+
 	receiveCount(record,index){
 		this.tableRowClick(record,index,2)
 	},
-	
+
 	tableRowClick(record, index ,type) {
-		
+
 		this.xiangmu(1,record,type);
 		this.setState({
 		    visible: true,
@@ -558,7 +572,7 @@ const AdminCustomerStatistics = Form.create()(React.createClass({
 							<div className="patent-table">
 								<Spin spinning={this.state.loading}>
 									<Table columns={this.state.columnsX}
-									dataSource={this.state.dataSourceX} 
+									dataSource={this.state.dataSourceX}
 									pagination={this.state.paginationX}
 									 />
 								</Spin>

+ 10 - 10
js/component/manageCenter/financialManage/distribute/approvedOutsourcing.jsx

@@ -540,16 +540,16 @@ const approvedOutsourcing = React.createClass({
           dataIndex: 'taskComment',
           key: 'taskComment',
         },
-        {
-          title: '外包(内部)公司',
-          dataIndex: 'outsourceName',
-          key: 'outsourceName',
-        },
-        {
-          title: '外包(内部)价格',
-          dataIndex: 'outsourcePrice',
-          key: 'outsourcePrice',
-        },
+        // {
+        //   title: '外包(内部)公司',
+        //   dataIndex: 'outsourceName',
+        //   key: 'outsourceName',
+        // },
+        // {
+        //   title: '外包(内部)价格',
+        //   dataIndex: 'outsourcePrice',
+        //   key: 'outsourcePrice',
+        // },
       ],
       qianColumns: [
         {

+ 10 - 10
js/component/manageCenter/financialManage/distribute/approvedOutsourcingAll.jsx

@@ -656,16 +656,16 @@ const approvedOutsourcing = React.createClass({
           dataIndex: "taskComment",
           key: "taskComment",
         },
-        {
-          title: "外包(内部)公司",
-          dataIndex: "outsourceName",
-          key: "outsourceName",
-        },
-        {
-          title: "外包(内部)价格",
-          dataIndex: "outsourcePrice",
-          key: "outsourcePrice",
-        },
+        // {
+        //   title: "外包(内部)公司",
+        //   dataIndex: "outsourceName",
+        //   key: "outsourceName",
+        // },
+        // {
+        //   title: "外包(内部)价格",
+        //   dataIndex: "outsourcePrice",
+        //   key: "outsourcePrice",
+        // },
       ],
       cuiColumns: [
         {

+ 10 - 10
js/component/manageCenter/financialManage/distribute/shouKuanAll.jsx

@@ -285,16 +285,16 @@ const ShouKuang = React.createClass({
             }
           },
         },
-        {
-          title: "外包(内部)公司",
-          dataIndex: "outsourceName",
-          key: "outsourceName",
-        },
-        {
-          title: "外包(内部)价格",
-          dataIndex: "outsourcePrice",
-          key: "outsourcePrice",
-        },
+        // {
+        //   title: "外包(内部)公司",
+        //   dataIndex: "outsourceName",
+        //   key: "outsourceName",
+        // },
+        // {
+        //   title: "外包(内部)价格",
+        //   dataIndex: "outsourcePrice",
+        //   key: "outsourcePrice",
+        // },
       ],
       qianColumns: [
         {

+ 10 - 10
js/component/manageCenter/financialManage/distribute/shouKuang.jsx

@@ -303,16 +303,16 @@ const ShouKuang = React.createClass({
             }
           },
         },
-        {
-          title: "外包(内部)公司",
-          dataIndex: "outsourceName",
-          key: "outsourceName",
-        },
-        {
-          title: "外包(内部)价格",
-          dataIndex: "outsourcePrice",
-          key: "outsourcePrice",
-        },
+        // {
+        //   title: "外包(内部)公司",
+        //   dataIndex: "outsourceName",
+        //   key: "outsourceName",
+        // },
+        // {
+        //   title: "外包(内部)价格",
+        //   dataIndex: "outsourcePrice",
+        //   key: "outsourcePrice",
+        // },
       ],
       qianColumns: [
         {

+ 10 - 10
js/component/manageCenter/order/orderNew/approveds.jsx

@@ -901,16 +901,16 @@ const IntentionCustomer = Form.create()(
             dataIndex: "taskComment",
             key: "taskComment",
           },
-          {
-            title: "外包(内部)公司",
-            dataIndex: "outsourceName",
-            key: "outsourceName",
-          },
-          {
-            title: "外包(内部)价格",
-            dataIndex: "outsourcePrice",
-            key: "outsourcePrice",
-          },
+          // {
+          //   title: "外包(内部)公司",
+          //   dataIndex: "outsourceName",
+          //   key: "outsourceName",
+          // },
+          // {
+          //   title: "外包(内部)价格",
+          //   dataIndex: "outsourcePrice",
+          //   key: "outsourcePrice",
+          // },
         ],
       };
     },

+ 13 - 13
js/component/manageCenter/order/orderNew/billing.jsx

@@ -384,19 +384,19 @@ const MyService = Form.create()(
             dataIndex: "taskComment",
             key: "taskComment"
           },
-          {
-            title: "外包(内部)公司",
-            dataIndex: "outsourceName",
-            key: "outsourceName"
-          },
-          {
-            title: "外包(内部)价格",
-            dataIndex: "outsourcePrice",
-            key: "outsourcePrice",
-            render: text => {
-              return "****";
-            }
-          }
+          // {
+          //   title: "外包(内部)公司",
+          //   dataIndex: "outsourceName",
+          //   key: "outsourceName"
+          // },
+          // {
+          //   title: "外包(内部)价格",
+          //   dataIndex: "outsourcePrice",
+          //   key: "outsourcePrice",
+          //   render: text => {
+          //     return "****";
+          //   }
+          // }
         ],
         columns: [
           {

+ 13 - 13
js/component/manageCenter/order/orderNew/inquiry.jsx

@@ -624,19 +624,19 @@ const IntentionCustomer = Form.create()(
             dataIndex: "taskComment",
             key: "taskComment",
           },
-          {
-            title: "外包(内部)公司",
-            dataIndex: "outsourceName",
-            key: "outsourceName",
-          },
-          {
-            title: "外包(内部)价格",
-            dataIndex: "outsourcePrice",
-            key: "outsourcePrice",
-            render: (text) => {
-              return "****";
-            },
-          },
+          // {
+          //   title: "外包(内部)公司",
+          //   dataIndex: "outsourceName",
+          //   key: "outsourceName",
+          // },
+          // {
+          //   title: "外包(内部)价格",
+          //   dataIndex: "outsourcePrice",
+          //   key: "outsourcePrice",
+          //   render: (text) => {
+          //     return "****";
+          //   },
+          // },
         ],
         columns: [
           {