liuzhihui лет назад: 2
Родитель
Сommit
b5395ca4e9

+ 13 - 3
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -168,6 +168,10 @@
168 168
                                 <option value="1">无需回访</option>
169 169
                             </select>
170 170
                         </td>
171
+                        <th>联系电话:</th>
172
+                        <td>
173
+                        	<input type="text" id="conphone" class="form-control" />
174
+                        </td>
171 175
                         
172 176
                     </tr>
173 177
                     
@@ -285,6 +289,7 @@
285 289
         var callerNum = helper.request.queryString("callerNum")
286 290
         
287 291
         var dmtadd = helper.request.queryString("dmtadd")
292
+        var isaddorder = helper.request.queryString("isaddorder")
288 293
         $(document).ready(function () {
289 294
         	
290 295
             QY($("#sourcearea"));
@@ -371,11 +376,11 @@
371 376
       	    if($("#phonetype").val()=='12348'){   	    	
372 377
       	    	$("#phonetype1").show()
373 378
       	    	 $("#phonetype2").show()
374
-      	    	 
375
-
376 379
       	    }else{
377 380
       	    	$("#phonetype1").hide()
378
-      	    	 $("#phonetype2").hide()
381
+      	    	$("#phonetype2").hide()
382
+      	    	$("#phonetype1").val('')
383
+				$("#phonetype2").val('')
379 384
       	    }
380 385
           })
381 386
           $("#phonetype1").change(function(){
@@ -396,6 +401,9 @@
396 401
             } else {
397 402
                 threeWayCall = 0;
398 403
             }
404
+            if(isaddorder=='1'){
405
+            	$("#phonetype2").val('')
406
+            }
399 407
             if (!$("#cusphone").val()) {
400 408
                 layer.msg("请输入来电号码");
401 409
             } else if (!$("#title").val()) {
@@ -478,6 +486,8 @@
478 486
                         layer.msg("创建工单成功");
479 487
                         $("#phonetype1").hide()
480 488
                         $("#phonetype2").hide()
489
+                        $("#phonetype1").val('')
490
+				        $("#phonetype2").val('')
481 491
                         $("#phonetype").val('12345')
482 492
                     }
483 493
                 });

+ 17 - 0
WebUI/CallCenterWeb.UI/Business/WorkDC.html

@@ -545,6 +545,23 @@
545 545
                 }
546 546
             );
547 547
         }
548
+        function editProcessingResult(str) {
549
+			layer.open({
550
+				type: 2,
551
+				content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条
552
+				title: "修改",
553
+				area: ["50%", "70%"], //宽高
554
+			});
555
+		}
556
+        //提交重办
557
+		function tjcb(str) {
558
+			layer.open({
559
+				type: 2,
560
+				content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
561
+				title: "提交重办",
562
+				area: ["50%", "40%"], //宽高
563
+			});
564
+		}
548 565
 
549 566
         function tree() {
550 567
             $.get(

+ 21 - 6
WebUI/CallCenterWeb.UI/Business/WorkYSQTH.html

@@ -541,12 +541,27 @@
541 541
         }
542 542
         //办理
543 543
         function bl(str) {
544
-            layer.open({
545
-                type: 2,
546
-                content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
547
-                title: "办理工单",
548
-                area: ["60%", "80%"], //宽高
549
-            });
544
+        	if($.cookie('code') == 'EJWLDW'){//三级
545
+            	layer.open({
546
+					type: 2,
547
+					content: "../CommonHtml/banli_zilei.html?wid=" + str, //iframe的url,no代表不显示滚动条
548
+					title: '办理工单',
549
+					area: ['90%', '80%'], //宽高
550
+				});
551
+            }else{
552
+            	layer.open({
553
+	                type: 2,
554
+	                content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
555
+	                title: "办理工单",
556
+	                area: ["60%", "80%"], //宽高
557
+	            });
558
+            }
559
+//          layer.open({
560
+//              type: 2,
561
+//              content: "../CommonHtml/banli.html?wid=" + str, //iframe的url,no代表不显示滚动条
562
+//              title: "办理工单",
563
+//              area: ["60%", "80%"], //宽高
564
+//          });
550 565
         }
551 566
         //督办
552 567
 

+ 19 - 9
WebUI/CallCenterWeb.UI/Business/applicationDelayed.html

@@ -587,15 +587,25 @@
587 587
         }
588 588
         //办理
589 589
         function bl(str, isProtect) {
590
-            layer.open({
591
-                type: 2,
592
-                content: "../CommonHtml/banli.html?wid=" +
593
-                    str +
594
-                    "&isProtect=" +
595
-                    isProtect, //iframe的url,no代表不显示滚动条
596
-                title: "办理工单",
597
-                area: ["60%", "80%"], //宽高
598
-            });
590
+        	if($.cookie('code') == 'EJWLDW'){//三级
591
+            	layer.open({
592
+					type: 2,
593
+					content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" +
594
+						isProtect, //iframe的url,no代表不显示滚动条
595
+					title: '办理工单',
596
+					area: ['90%', '80%'], //宽高
597
+				});
598
+            }else{
599
+            	layer.open({
600
+	                type: 2,
601
+	                content: "../CommonHtml/banli.html?wid=" +
602
+	                    str +
603
+	                    "&isProtect=" +
604
+	                    isProtect, //iframe的url,no代表不显示滚动条
605
+	                title: "办理工单",
606
+	                area: ["60%", "80%"], //宽高
607
+	            });
608
+            }
599 609
         }
600 610
         //督办
601 611
         function Supervision(str) {

+ 52 - 0
WebUI/CallCenterWeb.UI/Business/haveDoneToAudit.html

@@ -468,12 +468,64 @@
468 468
                     html1 = html1.replace("data", val);
469 469
                     html1 = html1.replace("isProtect", row.F_IsProtect);
470 470
                     html1 = html1.replace("row", row.F_MainDeptId);
471
+                    html1 = html1.replace("zhcxtit", row.F_ComTitle); 
472
+                    html1 = html1.replace("zhcxcon", row.F_ComContent);
471 473
                 }
472 474
                 bl
473 475
                 html += html1;
474 476
             }
475 477
             return html;
476 478
         }
479
+        
480
+        function changeknowledge(wid,tit,con){
481
+        	console.log(wid,tit,con)
482
+        	var knowkey = ''
483
+        	$.ajax({
484
+        		type: "get",
485
+				url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
486
+				dataType: 'json',
487
+				async: false,
488
+				data: {
489
+					workorderid: wid,
490
+					type: 0,
491
+					token: $.cookie("token")
492
+				},
493
+				success: function(result) {
494
+					if(result.state.toLowerCase() == "success") {
495
+						var Data = result.data.data;
496
+						knowkey = Data[0].F_Key
497
+						changeKnowLayer(tit,con,knowkey)
498
+					}
499
+				}
500
+        	})
501
+        	console.log(knowkey,'knowkey')
502
+        }
503
+        function changeKnowLayer(tit,con,knowkey){
504
+        	layer.confirm(
505
+                "确定转知识库?", {
506
+                    btn: ["是", "否"], //按钮
507
+                },
508
+                function () {
509
+                    $.post(
510
+                        huayi.config.callcenter_url +
511
+                        "Knowledge/AddInfoByGD", {
512
+                            title: tit,
513
+                            con: con,
514
+                            key: knowkey,
515
+                            issub:1,
516
+                            token: $.cookie("token"),
517
+                        },
518
+                        function (result) {
519
+                            result = JSON.parse(result);
520
+                            if (result.state.toLowerCase() == "success") {
521
+                                layer.msg("操作成功");
522
+                                $("#orderlist").bootstrapTable("refresh");
523
+                            }
524
+                        }
525
+                    );
526
+                }
527
+            );
528
+        }
477 529
 
478 530
         //查看详情
479 531
         function ckxq(str) {

+ 19 - 7
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -174,6 +174,12 @@
174 174
 								</select>
175 175
 							</td>
176 176
 						</tr>
177
+						<tr>
178
+							<th>联系电话:</th>
179
+							<td>								
180
+								<input type="text" id="conphone" class="form-control" />
181
+							</td>
182
+						</tr>
177 183
 						<tr class="leaderCharge-wrapper" style="display: none;">
178 184
 							<th class="">分管领导:</th>
179 185
 							<td>
@@ -228,12 +234,17 @@
228 234
 							<th>办理时限:</th>
229 235
 							<td>
230 236
 								<select class="startTime form-control" id="startTime" style="width: 200px; height: 30px; line-height: 30px;">
231
-									<option value="1">一天</option>
232
-									<option value="2" class="shengpt" style="display: none;">两天</option>
233
-									<option value="3">三天</option>
234
-									<option value="4" class="shengpt" style="display: none;">四天</option>
235
-									<option value="5">五天</option>
236
-									<option value="7" class="noshengpt">七天</option>
237
+									<!--<option value="1">一个工作日</option>
238
+									<option value="2" class="shengpt" style="display: none;">两个工作日</option>
239
+									<option value="3">三个工作日</option>
240
+									<option value="4" class="shengpt" style="display: none;">四个工作日</option>
241
+									<option value="5">五个工作日</option>
242
+									<option value="7" class="noshengpt">七个工作日</option>-->
243
+									<option value="1">一个工作日</option>
244
+									<option value="2">两个工作日</option>
245
+									<option value="3">三个工作日</option>
246
+									<option value="4">四个工作日</option>
247
+									<option value="5">五个工作日</option>								
237 248
 								</select>
238 249
 							</td>
239 250
 							<td class="isSPT" style="display: none;">
@@ -637,9 +648,10 @@
637 648
 								$(".F_WorkState").val(Data[0].F_WorkState)
638 649
 								$("#isYingshang").val(Data[0].F_IsBusiness)
639 650
 								var cusPhone = decryptFn(Data[0].F_CusPhoneShow)
651
+								var conPhone = decryptFn(Data[0].F_ConPhoneShow)
640 652
 								$("#cusname").val(Data[0].F_CusName);
641 653
 								$("#cusphone").val(cusPhone);
642
-								$("#conphone").val(cusPhone);
654
+								$("#conphone").val(conPhone);
643 655
 								
644 656
 								$("#title").val(Data[0].F_ComTitle);
645 657
 								$("#content").val(Data[0].F_ComContent);

+ 6 - 1
WebUI/CallCenterWeb.UI/CommonHtml/Back.html

@@ -105,7 +105,7 @@
105 105
             <!-- <button class="btns BC">保存</button>
106 106
 				<button class="btns Submit">保存并提交</button> -->
107 107
             <button class="btns CB isShowbtn">提交重办</button>
108
-            <button class="btns Transfer isShowbtn">已办未果</button>
108
+            <button class="btns Transfer">已办未果</button>
109 109
             <button class="btns Closure">结案</button>
110 110
             <button class="btns sendMessage">发送短信</button>
111 111
         </div>
@@ -157,6 +157,11 @@
157 157
             $('.sendMessage').click(function () {
158 158
                 sendMessage()
159 159
             })
160
+            if($.cookie("code") == 'ZXHWY'){
161
+            	$(".CB").hide()
162
+            }else{
163
+            	$(".CB").show()
164
+            }
160 165
         });
161 166
         //重办
162 167
         function CB() {

+ 26 - 3
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -186,7 +186,7 @@
186 186
 									<td><span class="LY"></span></td>
187 187
 									<th class="phoneTitle">来电号码:</th>
188 188
 									<td><span class="F_CusPhone"></span></td>
189
-									<th class="phoneTitle">联系号码:</th>
189
+									<th class="phoneTitle2">联系号码:</th>
190 190
 									<td><span class="F_ConPhone"></span></td>
191 191
 									<th>电话类别:</th>
192 192
 									<td><span class="phoneType"></span></td>
@@ -892,6 +892,7 @@
892 892
 			var workOrderType = helper.request.queryString("workOrderType");
893 893
 			var isProtect = "";
894 894
 			var phoneNumber = "";
895
+			var phoneNumber2 = "";			
895 896
 			var callerName = ""
896 897
 			var roleCode = $.cookie("code")
897 898
 			var workoderCode = ''
@@ -1018,6 +1019,8 @@
1018 1019
 							html1 = html1.replace("isProtect", row.F_IsProtect);
1019 1020
 							html1 = html1.replace("row", row.F_MainDeptId);
1020 1021
 							html1 = html1.replace("state", row.F_WorkState);
1022
+							html1 = html1.replace("zhcxtit", row.F_ComTitle); 
1023
+                            html1 = html1.replace("zhcxcon", row.F_ComContent); 
1021 1024
 						}
1022 1025
 						html += html1;
1023 1026
 					}
@@ -1076,8 +1079,7 @@
1076 1079
 										$(".F_CusName").text(Data[0].F_CusName);
1077 1080
 										$(".F_CusPhone").text(Data[0].F_CusPhone);
1078 1081
 										$(".bigtype").text(Data[0].BigTypeName);
1079
-
1080
-										$(".F_ConPhone").text(decryptFn(Data[0].F_ConPhoneShow));
1082
+										
1081 1083
 										$(".phoneType").text(Data[0].F_PhoneType);
1082 1084
 										$(".splituser").text(Data[0].F_SplitUser);
1083 1085
 										$(".F_ComTitle").text(Data[0].F_ComTitle);
@@ -1127,14 +1129,20 @@
1127 1129
 										if(Data[0].F_CusPhone) {
1128 1130
 											if(roleCode !== "WLDW" && roleCode !== "EJWLDW") {
1129 1131
 												$(".F_CusPhone").hide()
1132
+												$(".F_ConPhone").hide()												
1130 1133
 											} else {
1131 1134
 												$(".F_CusPhone").text(decryptFn(Data[0].F_CusPhoneShow))
1135
+												$(".F_ConPhone").text(decryptFn(Data[0].F_ConPhoneShow));
1132 1136
 												$(".phoneTitle").unbind("click");
1137
+												$(".phoneTitle2").unbind("click");
1138
+												
1133 1139
 											}
1134 1140
 											phoneNumber = decryptFn(Data[0].F_CusPhoneShow)
1141
+											phoneNumber2 = decryptFn(Data[0].F_ConPhoneShow)
1135 1142
 											
1136 1143
 										} else {
1137 1144
 											$(".phoneTitle").unbind("click");
1145
+											$(".phoneTitle2").unbind("click");
1138 1146
 										}
1139 1147
 										if(Data[0].F_CusName) {
1140 1148
 											if(roleCode !== "WLDW" && roleCode !== "EJWLDW") {
@@ -1269,6 +1277,7 @@
1269 1277
 											$('.MJ').text("保密");
1270 1278
 											$(".F_CusName").hide()
1271 1279
 											$(".F_CusPhone").hide()
1280
+											$(".F_ConPhone").hide()										
1272 1281
 										}
1273 1282
 										//紧急程度
1274 1283
 										if(Data[0].F_Level == 1) {
@@ -2469,6 +2478,20 @@
2469 2478
 					area: ["40%", "25%"], //宽高
2470 2479
 				});
2471 2480
 			})
2481
+			$(".phoneTitle2").click(function() {
2482
+				var isSecret
2483
+				if ($('.MJ').text()=="普通") {
2484
+					isSecret = 1
2485
+				} else{
2486
+					isSecret = 2
2487
+				}
2488
+				layer.open({
2489
+					type: 2,
2490
+					content: "./callerNumber.html?phoneNumber=" + encodeURIComponent(phoneNumber2)+"&wid="+wid+"&isSecret="+isSecret, //iframe的url,no代表不显示滚动条
2491
+					title: "来电号码",
2492
+					area: ["40%", "25%"], //宽高
2493
+				});
2494
+			})
2472 2495
 
2473 2496
 			$(".callerTitle").click(function() {
2474 2497
 				if($(".F_CusName").text()===""){

+ 6 - 1
WebUI/CallCenterWeb.UI/CommonHtml/auditBack.html

@@ -112,7 +112,7 @@
112 112
 				<button class="btns Submit">保存并提交</button> -->
113 113
             <button class="btns returnRedo isShowbtn">退回重办</button>
114 114
             <button class="btns CB isShowbtn">提交重办</button>
115
-            <button class="btns Transfer isShowbtn">已办未果</button>
115
+            <button class="btns Transfer">已办未果</button>
116 116
             <button class="btns auditBtn isShowbtn" style="display: none;">审核</button>
117 117
             <button class="btns Closure">结案</button>
118 118
             <button class="btns sendMessage">发送短信</button>
@@ -185,6 +185,11 @@
185 185
             if($.cookie("makeCallId")){
186 186
 				top.$.cookie("makeCallId", "");
187 187
 			}
188
+            if($.cookie("code") == 'ZXHWY'){
189
+            	$(".CB").hide()
190
+            }else{
191
+            	$(".CB").show()
192
+            }
188 193
 
189 194
             // 营商审核
190 195
             $(".auditBtn").click(function () {

+ 23 - 0
WebUI/CallCenterWeb.UI/CommonHtml/banli.html

@@ -66,6 +66,12 @@
66 66
                 </td>
67 67
             </tr>
68 68
             <tr>
69
+            	<th>工单内容:</th>
70
+            	<td colspan="5">
71
+            		<span id="workremark" name="" rows="6" cols="" readonly="readonly"></span>
72
+            	</td>
73
+            </tr>
74
+            <tr>
69 75
                 <th class="Importent">是/否向当事人反馈:</th>
70 76
                 <td id="isProResultRadio" style="font-size: 12px">
71 77
                     <label style="margin-right: 10px">
@@ -179,6 +185,7 @@
179 185
             });
180 186
             simpleDetail();
181 187
             getHistoryList();
188
+            orderdetail();
182 189
             //上传附件
183 190
             $("#scwj").click(function () {
184 191
                 $("#upFile").trigger("click");
@@ -395,6 +402,22 @@
395 402
                 }
396 403
             );
397 404
         }
405
+        //工单详情
406
+        function orderdetail(){
407
+        	$.getJSON(
408
+                huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew", {
409
+                    workorderid: wid,
410
+                    type: 0,
411
+                    token: $.cookie("token"),
412
+                },
413
+                function (result) {
414
+                    if (result.state.toLowerCase() == "success") {
415
+                        var Data = result.data.data;
416
+                        $('#workremark').text(Data[0].F_ComContent);
417
+                    }
418
+                }
419
+            );
420
+        }
398 421
         //草稿详情
399 422
         function Detail() {
400 423
             $.getJSON(

+ 23 - 0
WebUI/CallCenterWeb.UI/CommonHtml/banli_zilei.html

@@ -109,6 +109,12 @@
109 109
                 <td colspan="5"><textarea data-adaptheight id="situation" name="" rows="6" cols=""></textarea></td>
110 110
             </tr>
111 111
             <tr>
112
+            	<th>工单内容:</th>
113
+            	<td colspan="5">
114
+            		<span id="workremark" name="" rows="6" cols="" readonly="readonly"></span>
115
+            	</td>
116
+            </tr>
117
+            <tr>
112 118
                 <th class="Importent">是/否向当事人反馈:</th>
113 119
                 <td id="isProResultRadio" style="font-size: 12px">
114 120
                     <label style="margin-right: 10px">
@@ -222,6 +228,7 @@
222 228
             HGXX();
223 229
             BLNR();
224 230
             getHistoryList();
231
+            orderdetail();
225 232
             //				Hove();
226 233
             //				LOAD();
227 234
 
@@ -337,6 +344,22 @@
337 344
                 }
338 345
             })
339 346
         }
347
+        //工单详情
348
+        function orderdetail(){
349
+        	$.getJSON(
350
+                huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew", {
351
+                    workorderid: wid,
352
+                    type: 0,
353
+                    token: $.cookie("token"),
354
+                },
355
+                function (result) {
356
+                    if (result.state.toLowerCase() == "success") {
357
+                        var Data = result.data.data;
358
+                        $('#workremark').text(Data[0].F_ComContent);
359
+                    }
360
+                }
361
+            );
362
+        }
340 363
         //			工单详情
341 364
         function HGXX() {
342 365
 

+ 4 - 0
WebUI/CallCenterWeb.UI/ReportForm/superviseDataStatistics.html

@@ -187,6 +187,7 @@
187 187
                                 <th data-field="unsuccessful" data-formatter="unFinishCountList" data-align="center">未果件
188 188
                                 </th>
189 189
                                 <th data-field="unsuccessfulrate" data-align="center">办结率</th>
190
+                                <th data-field="ontimefulrate" data-align="center">按时办结率</th>                              
190 191
                                 <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
191 192
                                 <th data-field="Chargeback" data-formatter="backCountList" data-align="center">退单件</th>
192 193
                                 <th data-field="Chargebackrate" data-align="center">有效回复率</th>
@@ -226,6 +227,7 @@
226 227
                                 <th data-field="unsuccessful" data-formatter="unFinishCountList" data-align="center">未果件
227 228
                                 </th>
228 229
                                 <th data-field="unsuccessfulrate" data-align="center">办结率</th>
230
+                                <th data-field="ontimefulrate" data-align="center">按时办结率</th>                              
229 231
                                 <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
230 232
                                 <th data-field="Chargeback" data-formatter="backCountList" data-align="center">退单件</th>
231 233
                                 <th data-field="Chargebackrate" data-align="center">有效回复率</th>
@@ -265,6 +267,7 @@
265 267
                                 <th data-field="unsuccessful" data-formatter="unFinishCountList" data-align="center">未果件
266 268
                                 </th>
267 269
                                 <th data-field="unsuccessfulrate" data-align="center">办结率</th>
270
+                                <th data-field="ontimefulrate" data-align="center">按时办结率</th>                                                             
268 271
                                 <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
269 272
                                 <th data-field="Chargeback" data-formatter="backCountList" data-align="center">退单件</th>
270 273
                                 <th data-field="Chargebackrate" data-align="center">有效回复率</th>
@@ -304,6 +307,7 @@
304 307
                                 <th data-field="unsuccessful" data-formatter="unFinishCountList" data-align="center">未果件
305 308
                                 </th>
306 309
                                 <th data-field="unsuccessfulrate" data-align="center">办结率</th>
310
+                                <th data-field="ontimefulrate" data-align="center">按时办结率</th>                                                             
307 311
                                 <th data-field="unsuccessfulscore" data-align="center">得分(10分)</th>
308 312
                                 <th data-field="Chargeback" data-formatter="backCountList" data-align="center">退单件</th>
309 313
                                 <th data-field="Chargebackrate" data-align="center">有效回复率</th>

+ 1 - 1
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -850,7 +850,7 @@
850 850
             if (CallRecordsId) {
851 851
             	layer.open({
852 852
                     type: 2,
853
-                    content: "../Appeal/AddAppeal.html?CallRecordsId=" + CallRecordsId+"&callerNum="+CallNumber , //iframe的url,no代表不显示滚动条
853
+                    content: "../Appeal/AddAppeal.html?CallRecordsId=" + CallRecordsId+"&callerNum="+CallNumber+"&isaddorder=1" , //iframe的url,no代表不显示滚动条
854 854
                     title: '工单详情',
855 855
                     area: ['100%', '100%'], //宽高
856 856
                 });

+ 45 - 36
WebUI/CallCenterWeb.UI/home.html

@@ -27,6 +27,21 @@
27 27
 			.grzl tr th{
28 28
 				width: 100px;
29 29
 			}
30
+			.shezison{
31
+				z-index: 999999999;
32
+				background: #00a1cb;
33
+				display: none;
34
+				border-radius: 3px;
35
+			}
36
+			.shezison span{
37
+				color: white;
38
+				width: 100%;
39
+				display: block;
40
+				border-bottom: 1px solid #C2C2C2;
41
+			}
42
+			.shezison span:hover{
43
+				background: #00b9e7 !important;
44
+			}
30 45
 		</style>
31 46
 	</head>
32 47
 
@@ -183,19 +198,18 @@
183 198
 									</ul>
184 199
 								</div>
185 200
 								<div class="ls">
186
-									<span class="size-12 shezhi">
187
-                                    <i class="sz"></i>&nbsp;设置
188
-                                </span>
189
-									<span class="size-12" onclick="logout()">
190
-                                    <i class="tc"></i>退出
191
-                                </span>
201
+									<span class="size-12 shezhi"><i class="sz"></i>&nbsp;设置</span>
202
+									<span class="size-12" onclick="logout()"><i class="tc"></i>退出</span>
203
+									<p class="shezison">
204
+										<span class="permsgdetail">个人资料</span>
205
+										<span class="perpassedit">修改密码</span>											
206
+									</p>
192 207
 									<!--<span class="size-12 fa fa-envelope chat" title="消息通讯">
193 208
                                     <span class="label label-warning chat_count"></span>
194 209
 									</span>-->
195
-									<ul class="dropdown-menu dropdown-alerts drm" style="display: none">
196
-									</ul>
210
+									<!--<ul class="dropdown-menu dropdown-alerts drm" style="display: none">
211
+									</ul>-->
197 212
 								</div>
198
-
199 213
 							</div>
200 214
 						</div>
201 215
 					</nav>
@@ -409,12 +423,6 @@
409 423
 														<option value="4034">督察局</option>
410 424
 													</select>
411 425
 												</div>
412
-												<!--<div class="labelTit listW15">电话类别:</div>
413
-	                                        <div class="labelContent listW35">
414
-	                                            <select name="" id="phonetype" class="form-control">
415
-	                                                <option value="">请选择</option>
416
-	                                            </select>
417
-	                                        </div>-->
418 426
 											</div>
419 427
 
420 428
 											<div class="form-group clearfix">
@@ -456,10 +464,15 @@
456 464
 													<select name="" id="phonetype2" class="form-control">
457 465
 														<option value="">请选择</option>
458 466
 													</select>
459
-
460 467
 												</div>
461 468
 
462 469
 											</div>
470
+											<div class="form-group clearfix">
471
+												<div class="labelTit listW15">联系电话:</div>
472
+												<div class="labelContent listW19">
473
+													<input type="text" class="contactdh form-control" id="contactphone" />
474
+												</div>
475
+											</div>
463 476
 
464 477
 											<!--<div class="form-group clearfix">
465 478
 	                                    	<div class="labelTit listW15">来电方式:</div>
@@ -833,6 +846,7 @@
833 846
 												<th data-field="F_ComContent" data-formatter="formatterResult">工单内容</th>
834 847
 												<th data-field="F_Result" data-formatter="formatterResult">处理内容</th>
835 848
 												<th data-field="F_WorkState" data-formatter="historyOrderStates">工单状态</th>
849
+												<th data-field="F_SubWorkorder1" data-formatter="GetLinkAll">子工单</th>												
836 850
 												<th data-field="F_WorkOrderId" data-formatter="historyOrderOperation">操作</th>
837 851
 
838 852
 											</tr>
@@ -1104,7 +1118,7 @@
1104 1118
 				</ul>
1105 1119
 				<div class="perTab_con">
1106 1120
 					<div class="geRen" style="display: block">
1107
-						<div class="grt clearFix">
1121
+						<div class="grt clearFix" style="display: none;">
1108 1122
 							<p class="grtl">基本资料</p>
1109 1123
 							<p class="grtr">
1110 1124
 								<i class="grqx" title="取消编辑"></i>
@@ -1112,58 +1126,49 @@
1112 1126
 							</p>
1113 1127
 						</div>
1114 1128
 						<table class="table grzl">
1115
-							<tr>
1129
+							<tr class="notpassedit">
1116 1130
 								<th>我的工号:</th>
1117 1131
 								<td>
1118 1132
 									<input type="text" class="mgh" readonly="readonly" />
1119 1133
 								</td>
1120 1134
 							</tr>
1121
-							<tr>
1135
+							<tr class="notpassedit">
1122 1136
 								<th>我的姓名:</th>
1123 1137
 								<td>
1124 1138
 									<input type="text" class="mn zhidu" readonly="readonly" />
1125 1139
 								</td>
1126
-								<!-- <td>
1127
-                                <input type="text" class="mn" readonly="readonly" />
1128
-                            </td> -->
1129 1140
 							</tr>
1130
-							<tr>
1141
+							<tr class="passeditbox">
1131 1142
 								<th>原密码:</th>
1132 1143
 								<td>
1133 1144
 									<input type="password" style="width: 70%;" class="spwd zhidu" />
1134 1145
 								</td>
1135 1146
 							</tr>
1136
-							<tr>
1147
+							<tr class="passeditbox">
1137 1148
 								<th>新密码:</th>
1138 1149
 								<td>
1139 1150
 									<input type="password" style="width: 70%;" class="npwd zhidu" placeholder="至少10个字符须包含字母大小写和数字"/><span class="pasStrength"></span>
1140 1151
 								</td>
1141 1152
 							</tr>
1142
-							<tr>
1153
+							<tr class="passeditbox">
1143 1154
 								<th>确认密码:</th>
1144 1155
 								<td>
1145 1156
 									<input type="password" style="width: 70%;" class="epwd zhidu" placeholder="至少10个字符须包含字母大小写和数字"/><span class="wrong">*密码不一致</span>
1146 1157
 								</td>
1147 1158
 							</tr>
1148
-							<!-- <tr>
1149
-                            <th>姓名:</th>
1150
-                            <td>
1151
-                                <input type="text" class="settingName zhidu" readonly="readonly" />
1152
-                            </td>
1153
-                        </tr> -->
1154
-							<tr>
1159
+							<tr class="notpassedit">
1155 1160
 								<th>单位:</th>
1156 1161
 								<td>
1157 1162
 									<input type="text" class="settingCompany zhidu" readonly="readonly" />
1158 1163
 								</td>
1159 1164
 							</tr>
1160
-							<tr>
1165
+							<tr class="notpassedit">
1161 1166
 								<th>科室:</th>
1162 1167
 								<td>
1163 1168
 									<input type="text" class="settingDepartment zhidu" readonly="readonly" />
1164 1169
 								</td>
1165 1170
 							</tr>
1166
-							<tr>
1171
+							<tr class="notpassedit">
1167 1172
 								<th>职务:</th>
1168 1173
 								<td>
1169 1174
 									<input type="text" class="settingPost zhidu" readonly="readonly" />
@@ -1172,7 +1177,7 @@
1172 1177
 							<tr>
1173 1178
 								<th>手机号码:</th>
1174 1179
 								<td>
1175
-									<input type="text" class="settingMobile zhidu" readonly="readonly" />
1180
+									<input type="text" class="settingMobile" readonly="readonly" />
1176 1181
 									<button class="btnn btnVerificationCode">获取验证码</button>
1177 1182
 								</td>
1178 1183
 							</tr>
@@ -1182,7 +1187,7 @@
1182 1187
 									<span class="verificationCodeTips" style="display: none;">请稍后再次获取</span>
1183 1188
 								</td>
1184 1189
 							</tr>
1185
-							<tr>
1190
+							<tr class="notpassedit">
1186 1191
 								<th>办公电话:</th>
1187 1192
 								<td>
1188 1193
 									<input type="text" class="settingTelephone zhidu" readonly="readonly" />
@@ -1327,6 +1332,8 @@
1327 1332
 				} else {
1328 1333
 					$("#phonetype1").hide()
1329 1334
 					$("#phonetype2").hide()
1335
+					$("#phonetype1").val('')
1336
+				    $("#phonetype2").val('')
1330 1337
 				}
1331 1338
 				//				var numexp = new RegExp(/^\d+$/); //纯数字
1332 1339
 				//				var letterexp = new RegExp(/^[a-zA-Z]+$/); //纯字母大小写
@@ -1421,6 +1428,8 @@
1421 1428
 				} else {
1422 1429
 					$("#phonetype1").hide()
1423 1430
 					$("#phonetype2").hide()
1431
+					$("#phonetype1").val('')
1432
+				    $("#phonetype2").val('')
1424 1433
 				}
1425 1434
 			})
1426 1435
 			$("#phonetype1").change(function() {

+ 70 - 9
WebUI/CallCenterWeb.UI/js/WorkOrder/CommonOperation.js

@@ -154,15 +154,25 @@ function th(str) {
154 154
 //办理
155 155
 function bl(str, isProtect) {
156 156
 	console.log("isProtect2222", isProtect);
157
-	layer.open({
158
-		type: 2,
159
-		content: "../CommonHtml/banli.html?wid=" +
160
-			str +
161
-			"&isProtect=" +
162
-			isProtect, //iframe的url,no代表不显示滚动条
163
-		title: "办理工单",
164
-		area: ["60%", "80%"], //宽高
165
-	});
157
+	if($.cookie('code') == 'EJWLDW'){//三级
158
+    	layer.open({
159
+			type: 2,
160
+			content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" +
161
+				isProtect, //iframe的url,no代表不显示滚动条
162
+			title: '办理工单',
163
+			area: ['90%', '80%'], //宽高
164
+		});
165
+    }else{
166
+    	layer.open({
167
+            type: 2,
168
+            content: "../CommonHtml/banli.html?wid=" +
169
+                str +
170
+                "&isProtect=" +
171
+                isProtect, //iframe的url,no代表不显示滚动条
172
+            title: "办理工单",
173
+            area: ["60%", "80%"], //宽高
174
+        });
175
+    }
166 176
 }
167 177
 //审核退回申请
168 178
 function shth(str) {
@@ -767,4 +777,55 @@ function jdcsuperviseSend(str) {
767 777
 		title: "督查督办派发",
768 778
 		area: ["80%", "80%"], //宽高
769 779
 	});
780
+}
781
+//转知识库
782
+function changeknowledge(wid,tit,con){
783
+	console.log(wid,tit,con)
784
+	var knowkey = ''
785
+	$.ajax({
786
+		type: "get",
787
+		url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
788
+		dataType: 'json',
789
+		async: false,
790
+		data: {
791
+			workorderid: wid,
792
+			type: 0,
793
+			token: $.cookie("token")
794
+		},
795
+		success: function(result) {
796
+			if(result.state.toLowerCase() == "success") {
797
+				var Data = result.data.data;
798
+				knowkey = Data[0].F_Key
799
+				changeKnowLayer(tit,con,knowkey)
800
+			}
801
+		}
802
+	})
803
+	console.log(knowkey,'knowkey')
804
+}
805
+function changeKnowLayer(tit,con,knowkey){
806
+	layer.confirm(
807
+        "确定转知识库?", {
808
+            btn: ["是", "否"], //按钮
809
+        },
810
+        function () {
811
+            $.post(
812
+                huayi.config.callcenter_url +
813
+                "Knowledge/AddInfoByGD", {
814
+                    title: tit,
815
+                    con: con,
816
+                    key: knowkey,
817
+                    issub:1,
818
+                    token: $.cookie("token"),
819
+                },
820
+                function (result) {
821
+                    if (result.state == "success") {
822
+                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
823
+                		parent.layer.close(index); //再执行关闭
824
+						layer.msg("操作成功");
825
+						parent.load();
826
+                    }
827
+                }
828
+            );
829
+        }
830
+    );
770 831
 }

+ 59 - 16
WebUI/CallCenterWeb.UI/js/index.js

@@ -767,8 +767,24 @@ $(document).ready(function() {
767 767
 
768 768
 	//修改密码开始
769 769
 	$(".shezhi").click(function() {
770
-		$(".personal").show();
770
+		$(".shezison").toggle()		
771 771
 	});
772
+	$(".permsgdetail").click(function(){
773
+		$(".sel").text('个人资料')
774
+		$(".shezison").toggle()
775
+		$(".personal").show();
776
+		$(".passeditbox").hide();
777
+		$(".notpassedit").show();
778
+		$(".grbj").trigger('click')
779
+	})
780
+	$(".perpassedit").click(function(){
781
+		$(".sel").text('修改密码')
782
+		$(".shezison").toggle()
783
+		$(".personal").show();
784
+		$(".notpassedit").hide();
785
+		$(".passeditbox").show();
786
+		$(".grbj").trigger('click')
787
+	})
772 788
 	//tab切换
773 789
 	$(".perTab li").click(function() {
774 790
 		$(this).addClass("sel").siblings().removeClass("sel");
@@ -801,6 +817,14 @@ $(document).ready(function() {
801 817
 		var ymm = $(".spwd").val();
802 818
 		var xmm = $(".npwd").val();
803 819
 		var qmm = $(".epwd").val();
820
+		var jiamixmm = "";
821
+		var jiamiymm = ""
822
+		if(xmm){
823
+			jiamixmm = $.md5(xmm)
824
+		}
825
+		if(ymm){
826
+			jiamiymm = $.md5(ymm)
827
+		}
804 828
 		if(xmm !== qmm) {
805 829
 			$(".wrong").show();
806 830
 			return;
@@ -808,18 +832,20 @@ $(document).ready(function() {
808 832
 		if(xmm == qmm){
809 833
 			$(".wrong").hide();
810 834
 		}
811
-		if(ymm == "") {
812
-			layer.msg("原密码不允许为空!");
813
-			return;
814
-		} 
815
-		if(xmm == "") {
816
-			layer.msg("新密码不允许为空!");
817
-			return;
818
-		} 
819
-		if(!reg.test(xmm)){
820
-			layer.msg("密码至少10个字符必须包含字母大小写和数字!");
821
-			return
822
-		}		
835
+		if($(".sel").text() == '修改密码'){
836
+			if(ymm == "") {
837
+				layer.msg("原密码不允许为空!");
838
+				return;
839
+			} 
840
+			if(xmm == "") {
841
+				layer.msg("新密码不允许为空!");
842
+				return;
843
+			} 
844
+			if(!reg.test(xmm)){
845
+				layer.msg("密码至少10个字符必须包含字母大小写和数字!");
846
+				return
847
+			}
848
+		}				
823 849
 		$(".wrong").hide();
824 850
 		$(".grzl tbody>tr>td input").attr("readonly", true);
825 851
 		$(".grzl tbody>tr>td input").css("border-bottom", "none");
@@ -831,8 +857,8 @@ $(document).ready(function() {
831 857
 			data: {
832 858
 				token: $.cookie("token"),
833 859
 				usercode: gh,
834
-				pwd: $.md5(xmm),
835
-				oldpwd: $.md5(ymm),
860
+				pwd: jiamixmm,
861
+				oldpwd: jiamiymm,
836 862
 				name: $(".mn").val(),
837 863
 				company: $(".settingCompany").val(),
838 864
 				department: $(".settingDepartment").val(),
@@ -1168,9 +1194,9 @@ function Adds() {
1168 1194
 			cusname: $("#cusname").val(), //=来电人姓名
1169 1195
 			cussex: $("#cussex").val(),
1170 1196
 			cusphone: $("#cusphone").val().replace(/\s+/g, ""), //=来电人电话
1197
+			conphone: $("#contactphone").val().replace(/\s+/g, ""),//联系电话
1171 1198
 			email: $("#email").val(),
1172 1199
 			zipcode: $("#zipcode").val(),
1173
-			conphone: $("#conphone").val(),
1174 1200
 			title: $("#title").val(),
1175 1201
 			ispd:ispd,
1176 1202
 			content: $("#content").val(),
@@ -1205,6 +1231,8 @@ function Adds() {
1205 1231
 				layer.msg("操作成功");
1206 1232
 				$("#phonetype1").hide()
1207 1233
 				$("#phonetype2").hide()
1234
+				$("#phonetype1").val('')
1235
+				$("#phonetype2").val('')
1208 1236
 				$("#phonetype").val('12345')
1209 1237
 				Clean();
1210 1238
 			} else {
@@ -1311,6 +1339,7 @@ function Clean() {
1311 1339
 	$("#cusname").val(""); //=来电人姓名
1312 1340
 	$("#cussex").val("");
1313 1341
 	$("#cusphone").val(""); //=来电人电话
1342
+	$("#contactphone").val(""); //=来电人电话
1314 1343
 	$("#email").val("");
1315 1344
 	$("#zipcode").val("");
1316 1345
 	$("#conphone").val("");
@@ -1514,6 +1543,20 @@ function GetLink(val) {
1514 1543
 	}
1515 1544
 }
1516 1545
 
1546
+function GetLinkAll(val){
1547
+	if(val) {
1548
+		var arr = val.split(",")
1549
+		var str = ""
1550
+		arr.forEach(function(v, i) {
1551
+			str += "<a onclick=\"ckxq('" + v + "')\" style='word-break: break-all;'>" + v + "</a>,"
1552
+		})
1553
+		str += str.slice(0, -1);
1554
+		return str;
1555
+	}else{
1556
+		return "";
1557
+	}
1558
+}
1559
+
1517 1560
 function formatterResult(val) {
1518 1561
 	if(val) {
1519 1562
 		//  	+ ' title="' + val + '" ';

+ 2 - 0
WebUI/CallCenterWeb.UI/js/main.js

@@ -289,6 +289,8 @@ function IncomingBack(data) {
289 289
     console.log($(".hidTel").val())
290 290
     $(".ttsdh").text($(".hidTel").val());
291 291
     $(".tsdh").val($(".hidTel").val());
292
+    $(".tsdh").attr('readonly',true);
293
+    $(".contactdh").val($(".hidTel").val());
292 294
 //  $.getJSON(huayi.config.callcenter_url + 'CallInScreen/GetCustomerByTel', {
293 295
 //      "tel": $(".hidTel").val(),
294 296
 //      "token": $.cookie("token")