瀏覽代碼

客户要求修改

jinquanwu 6 年之前
父節點
當前提交
69b54a28ce

+ 0 - 18
CallCenterWeb.UI/ReportForm/feedback.html

@@ -218,24 +218,6 @@
218 218
 									width: '',
219 219
 								},
220 220
 								{
221
-									field: 'overdue',
222
-									title: '超期数量',
223
-									align: 'center',
224
-									width: '',
225
-								},
226
-								{
227
-									field: 'satisfied',
228
-									title: '满意数量',
229
-									align: 'center',
230
-									width: '',
231
-								},
232
-								{
233
-									field: 'dissatisfied',
234
-									title: '不满意数量',
235
-									align: 'center',
236
-									width: '',
237
-								},
238
-								{
239 221
 									field: 'total',
240 222
 									title: '合计',
241 223
 									align: 'center',

+ 1 - 1
CallCenterWeb.UI/WorkOrder/WorkOrderAppoint.html

@@ -83,7 +83,7 @@
83 83
 						<!-- 	<th data-field="IsEffective" data-formatter="formatterIsEffective" data-align="center">工单有效性</th> -->
84 84
 							<th data-field="F_Source" data-align="center" data-formatter="formatter">工单来源</th>
85 85
 							<th data-field="F_Type" data-align="center"  data-formatter="order">工单类型</th>
86
-							<th data-field="F_QuestionType" data-align="center">问题类</th>
86
+							<th data-field="F_QuestionType" data-align="center">问题类</th>
87 87
 							<th data-field="F_CusName" data-align="center">客户姓名</th>
88 88
 							<th data-field="F_CusPhone" data-formatter="helper.filter.cutTel" data-align="center">客户电话</th>
89 89
 							<th data-field="F_TS_Category" data-align="center">产品名称</th>

+ 9 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderSearch.html

@@ -76,6 +76,15 @@
76 76
 						<div class="form-group">
77 77
 							<input type="text" class="form-control" id="sc_tian" placeholder="请输入创建人" />
78 78
 						</div>
79
+						<div class="form-group">
80
+							<input type="text" class="form-control" id="sc_Chanp" placeholder="请输入产品名称" />
81
+						</div>
82
+						<div class="form-group">
83
+							<input type="text" class="form-control" id="sc_Hfren" placeholder="请输入回访人" />
84
+						</div>
85
+						<div class="form-group">
86
+							<input type="text" class="form-control" id="sc_Hfaieg" placeholder="请输入回访结果" />
87
+						</div>
79 88
 					</div>
80 89
 				</div>
81 90
 

+ 1 - 1
CallCenterWeb.UI/WorkOrder/WorkOrderTobeass.html

@@ -82,7 +82,7 @@
82 82
 						<!-- 	<th data-field="IsEffective" data-formatter="formatterIsEffective" data-align="center">工单有效性</th> -->
83 83
 							<th data-field="F_Source" data-align="center" data-formatter="formatter">工单来源</th>
84 84
 							<th data-field="F_Type" data-align="center"  data-formatter="order">工单类型</th>
85
-							<th data-field="F_QuestionType" data-align="center">问题类</th>
85
+							<th data-field="F_QuestionType" data-align="center">问题类</th>
86 86
 							<th data-field="F_CusName" data-align="center">客户姓名</th>
87 87
 							<th data-field="F_CusPhone" data-formatter="helper.filter.cutTel" data-align="center">客户电话</th>
88 88
 							<th data-field="F_TS_Category" data-align="center">产品名称</th>

+ 20 - 38
CallCenterWeb.UI/callScreen/call.js

@@ -1195,28 +1195,6 @@ $('#empty').click(function(){//ID为test的元素点击时
1195 1195
 //新建工单 保存
1196 1196
 function orderSave() {	
1197 1197
 	typePro();
1198
-	// if(!regexs.userNameReg.test($.trim($('#order_name').val()))) {
1199
-	// 	layer.confirm('请输入有效的客户姓名(2-20位汉字可以包含·•)!', {
1200
-	// 		icon: 2,
1201
-	// 		btn: ['确定']
1202
-	// 	});
1203
-	// 	return;
1204
-	// }
1205
-	// if(!regexs.phone.test($.trim($('#order_tel').val()))) {
1206
-	// 	layer.confirm('请输入正确的联系电话!', {
1207
-	// 		icon: 2,
1208
-	// 		btn: ['确定']
1209
-	// 	});
1210
-	// 	return;
1211
-	// }
1212
-	// if(!$.trim($('#order_company').val())) {
1213
-	// 	layer.confirm('请输入公司名称!', {
1214
-	// 		icon: 2,
1215
-	// 		btn: ['确定']
1216
-	// 	});
1217
-	// 	return;
1218
-	// }	
1219
-	
1220 1198
 	$.post(huayi.config.callcenter_url + 'WorkOrderNew/Add', {		                 
1221 1199
 					  // orderid: oid, //否	strubg	工单ID
1222 1200
 					         F_Source:1,  //1电话			
@@ -1245,9 +1223,9 @@ function orderSave() {
1245 1223
 					         F_CustomerID: $('#number').val(),//客户编号
1246 1224
 					         F_Salesman: $('#salesman').val(),//业务员
1247 1225
 					         F_SalesPhone: $('#telephone').val(),//电话
1248
-					         F_ZX_Area: $('#District').val(),//大区
1249
-					         F_ZX_Branch: $('#Branice').val(),//分公司
1250
-					         F_Brand: $('#manage').val(),//经营品牌
1226
+					         F_AreaName: $('#chdaqu').val(),//大区
1227
+					         F_BranchName: $('#chfen').val(),//分公司
1228
+					         F_Brands: $('#manage').val(),//经营品牌
1251 1229
 							 F_WorkerBrand: $('#about_brand').val(),//品牌
1252 1230
 					       
1253 1231
 					         F_MaterialID: $('#Code').val(),//客户编号
@@ -1326,9 +1304,9 @@ function buttonend(oid) {
1326 1304
 		           F_CustomerID: $('#number').val(),//客户编号
1327 1305
 		           F_Salesman: $('#salesman').val(),//业务员
1328 1306
 		           F_SalesPhone: $('#telephone').val(),//电话
1329
-		           F_ZX_Area: $('#District').val(),//大区
1330
-		           F_ZX_Branch: $('#Branice').val(),//分公司
1331
-		           F_Brand: $('#manage').val(),//经营品牌
1307
+		           F_AreaName: $('#chdaqu').val(),//大区
1308
+		           F_BranchName: $('#chfen').val(),//分公司
1309
+		           F_Brands: $('#manage').val(),//经营品牌
1332 1310
 				   F_WorkerBrand: $('#about_brand').val(),//品牌
1333 1311
 		         
1334 1312
 		          F_MaterialID: $('#Code').val(),//客户编号
@@ -1480,8 +1458,8 @@ function typePro(){
1480 1458
 
1481 1459
 
1482 1460
 	}else if(orderIsover=== '2'){
1483
-		daqu=$('#chdaqu').val();
1484
-		fengo=$('#chfen').val();
1461
+//		daqu=$('#chdaqu').val();
1462
+//		fengo=$('#chfen').val();
1485 1463
 		jyppai=$('#brand_name').val();
1486 1464
 		comdi = $('#product_name').val();//产品名称
1487 1465
 		cttt = $("#cat").val();
@@ -1496,8 +1474,8 @@ function typePro(){
1496 1474
 		stion = $('#quantity').val();//问题数量
1497 1475
 		coint=$('#Sales_base').val();//销售基地
1498 1476
 	}else if(orderIsover === '3'){
1499
-		daqu=$('#District').val();
1500
-		fengo=$('#Branice').val();
1477
+//		daqu=$('#chdaqu').val();
1478
+//		fengo=$('#chfen').val();
1501 1479
 		jyppai=$('#brand_name').val();
1502 1480
 		shengch=$('#batch_num').val();//生产批次号 
1503 1481
 		catt = $('#chou_wtlb').val();
@@ -1554,11 +1532,15 @@ function dealWorkOrder(oid) {
1554 1532
                     F_TS_Formula: $('#formula').val(),//配方
1555 1533
                     F_TS_Quantity:$('#quantity').val(),//问题数量(吨)
1556 1534
                     F_TS_Level: $('#level').val(),//重要界别    
1557
-                    F_SalesPhone: $('#telephone').val(),//电话
1558
-                    F_ZX_Area: daqu,//大区
1559
-                    F_ZX_Branch:fengo,//分公司
1560
-                    F_Brand: jyppai,//经营品牌
1561
-                    F_Salesman: $('#salesman').val(),//业务员
1535
+//                  F_ZX_Area: daqu,//大区
1536
+//                  F_ZX_Branch:fengo,//分公司
1537
+//                  F_Brand: jyppai,//经营品牌
1538
+	                    F_Salesman: $('#salesman').val(),//业务员
1539
+			            F_SalesPhone: $('#telephone').val(),//电话
1540
+			            F_AreaName: $('#chdaqu').val(),//大区
1541
+			            F_BranchName: $('#chfen').val(),//分公司
1542
+			            F_Brands: $('#manage').val(),//经营品牌
1543
+
1562 1544
                     F_MaterialID: $('#Code').val(),//客户编号
1563 1545
                     F_CustomerID: $('#number').val(),//客户编号
1564 1546
                     F_Model: $('#model_number').val(),//型号
@@ -1566,7 +1548,7 @@ function dealWorkOrder(oid) {
1566 1548
                     F_Level1: $('#category1').val(),//一级分类
1567 1549
                     F_Level2: $('#category2').val(),//二级分类
1568 1550
                     F_Level3: $('#category3').val(),//三级分类
1569
-                    // F_Brand: $('#brand_name').val(),//品牌
1551
+                    F_Brand: $('#brand_name').val(),//品牌
1570 1552
                     F_MaterialEffect: $('#efficiency').val(),//复合肥肥效
1571 1553
                     F_Pipeline: $('#product_line').val(),//产品线
1572 1554
                     F_Craft: $('#process').val(),//工艺

+ 17 - 12
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

@@ -130,10 +130,10 @@ function orderSave() {
130 130
 					         F_TS_Level: $('#level').val(),//重要界别    
131 131
 					         F_CustomerID: $('#number').val(),//客户编号
132 132
 					         F_Salesman: $('#salesman').val(),//业务员
133
-					         F_SalesPhone: $('#telephone').val(),//电话
134
-					         F_ZX_Area: $('#District').val(),//大区
135
-					         F_ZX_Branch: $('#Branice').val(),//分公司
136
-					         F_Brand: $('#manage').val(),//经营品牌
133
+				           F_SalesPhone: $('#telephone').val(),//电话
134
+				           F_AreaName: $('#chdaqu').val(),//大区
135
+				           F_BranchName: $('#chfen').val(),//分公司
136
+				           F_Brands: $('#manage').val(),//经营品牌
137 137
 							 F_WorkerBrand: $('#about_brand').val(),//品牌
138 138
 					       
139 139
 					         F_MaterialID: $('#Code').val(),//客户编号
@@ -210,9 +210,9 @@ function buttonend(oid) {
210 210
 		           F_CustomerID: $('#number').val(),//客户编号
211 211
 		           F_Salesman: $('#salesman').val(),//业务员
212 212
 		           F_SalesPhone: $('#telephone').val(),//电话
213
-		           F_ZX_Area: $('#District').val(),//大区
214
-		           F_ZX_Branch: $('#Branice').val(),//分公司
215
-		           F_Brand: $('#manage').val(),//经营品牌
213
+		           F_AreaName: $('#chdaqu').val(),//大区
214
+		           F_BranchName: $('#chfen').val(),//分公司
215
+		           F_Brands: $('#manage').val(),//经营品牌
216 216
 		         
217 217
 		           F_MaterialID: $('#Code').val(),//客户编号
218 218
 		           F_CustomerID: $('#number').val(),//客户编号
@@ -311,8 +311,8 @@ function typePro(){
311 311
 		$('#clie').hide();
312 312
 		$('#mate').hide();
313 313
 	}else if(orderIsover=== '2'){
314
-		daqu=$('#chdaqu').val();
315
-		fengo=$('#chfen').val();
314
+//		daqu=$('#chdaqu').val();
315
+//		fengo=$('#chfen').val();
316 316
 		jyppai=$('#brand_name').val();
317 317
 		comdi = $('#product_name').val();//产品名称
318 318
 		cttt = $("#cate").val();
@@ -327,8 +327,8 @@ function typePro(){
327 327
 		stion = $('#quantity').val();//问题数量
328 328
 		coint=$('#Sales_base').val();//销售基地
329 329
 	}else if(orderIsover === '3'){
330
-		daqu=$('#District').val();
331
-		fengo=$('#Branice').val();
330
+//		daqu=$('#District').val();
331
+//		fengo=$('#Branice').val();
332 332
 		jyppai=$('#brand_name').val();
333 333
 		shengch=$('#batch_num').val();//生产批次号
334 334
 		catt = $('#chou_wtlb').val();
@@ -385,11 +385,16 @@ function dealWorkOrder(oid) {
385 385
                     F_TS_Formula: $('#formula').val(),//配方
386 386
                     F_TS_Quantity:$('#quantity').val(),//问题数量(吨)
387 387
                     F_TS_Level: $('#level').val(),//重要界别    
388
-                    F_SalesPhone: $('#telephone').val(),//电话
388
+//                  F_SalesPhone: $('#telephone').val(),//电话
389 389
                     F_ZX_Area: daqu,//大区
390 390
                     F_ZX_Branch:fengo,//分公司
391 391
                     F_Brand: jyppai,//经营品牌
392 392
                     F_Salesman: $('#salesman').val(),//业务员
393
+		            F_SalesPhone: $('#telephone').val(),//电话
394
+		            F_AreaName: $('#chdaqu').val(),//大区
395
+		            F_BranchName: $('#chfen').val(),//分公司
396
+		            F_Brands: $('#manage').val(),//经营品牌
397
+//                  F_Salesman: $('#salesman').val(),//业务员
393 398
 				    F_MaterialID: $('#Code').val(),//客户编号
394 399
 				    F_CustomerID: $('#number').val(),//客户编号
395 400
                     F_Model: $('#model_number').val(),//型号

+ 3 - 0
CallCenterWeb.UI/js/WorkOrder/WorkOrder.js

@@ -120,6 +120,9 @@ function initTable() {
120 120
 				source: $('#sc_source').val(),//int 工单来源
121 121
 				type: $('#sc_type').val(),//int 工单类型
122 122
 				createby:$("#sc_Ceje").val(),
123
+				category:$("#sc_Chanp").val(),//产品名称
124
+				visitby:$("#sc_Hfren").val(),//回访人
125
+				visitresult:$("#sc_Hfaieg").val(),//回访结果
123 126
 				
124 127
 				// typeclass: $('#sc_handle').val(),// int 业务类型
125 128
 				starttime: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0],//string 工单开始时间

+ 5 - 5
CallCenterWeb.UI/js/WorkOrder/addOrEditWorkOrder.js

@@ -176,11 +176,11 @@ function orderSave() {
176 176
 		F_TS_Quantity: $('#quantity').val(), //问题数量(吨)
177 177
 		F_TS_Level: $('#level').val(), //重要界别    
178 178
 		F_CustomerID: $('#number').val(), //客户编号
179
-		F_Salesman: $('#salesman').val(), //业务员
180
-		F_SalesPhone: $('#telephone').val(), //电话
181
-		F_ZX_Area: $('#District').val(), //大区
182
-		F_ZX_Branch: $('#Branice').val(), //分公司
183
-		F_Brand: $('#manage').val(), //经营品牌
179
+		F_Salesman: $('#salesman').val(),//业务员
180
+        F_SalesPhone: $('#telephone').val(),//电话
181
+        F_AreaName: $('#chdaqu').val(),//大区
182
+        F_BranchName: $('#chfen').val(),//分公司
183
+        F_Brands: $('#manage').val(),//经营品牌
184 184
         F_WorkerBrand:$("#ord_pait").val(), // 品牌 
185 185
 		F_MaterialID: $('#Code').val(), //客户编号
186 186
 		F_CustomerID: $('#number').val(), //客户编号

+ 2 - 2
CallCenterWeb.UI/visit/js/visitList.js

@@ -92,8 +92,8 @@ function initTable() {
92 92
 				source: $('#sc_sour').val(), //	是	string	工单来源(字典)
93 93
 				type: $('#sc_type').val(), //	是	string	工单类型(字典)
94 94
 				// callresultid: $('#sc_callResult').val(), //	呼叫结果
95
-				starttime: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0], //否	string	工单起止时间
96
-				endtime: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[1], //否	string	工单起止时间
95
+				strvisit: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[0], //否	string	工单起止时间
96
+				endvisit: $('#sc_time').val() && $('#sc_time').val().split(' ~ ')[1], //否	string	工单起止时间
97 97
 				token: $.cookie("token")
98 98
 			};
99 99
 			return param;