miaofuhao 1 jaar geleden
bovenliggende
commit
a1441bccad

+ 5 - 5
CallCenterWeb.UI/OutboundMessage/LookMessage.html

@@ -261,11 +261,11 @@
261 261
 								top.obj.TaskType = "1"; //0:拨号外呼;1:问卷外呼;
262 262
 								top.obj.TaskPhoneID = $("#F_Id").val(); //回访的电话ID
263 263
 								top.obj.TaskID = $("#F_TaskId").val()
264
-								if (top.obj.Header) {
265
-									top.obj.Header = huayi.config.taskCallOutHeader[top.obj.AgentExten]
266
-									top.obj.DestinationNumber = top.obj.Header + top.obj.DestinationNumber.slice(1)
267
-								}
268
-								top.Send();
264
+//								if (top.obj.Header) {
265
+//									top.obj.Header = huayi.config.taskCallOutHeader[top.obj.AgentExten]
266
+//									top.obj.DestinationNumber = top.obj.Header + top.obj.DestinationNumber.slice(1)
267
+//								}
268
+//								top.Send();
269 269
 							}
270 270
 
271 271
 						}

+ 1 - 1
CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -4,7 +4,7 @@ if(huayi == undefined) {
4 4
 huayi.config = {
5 5
 	//callcenter_url: "http://117.160.143.199:48040/",//��������
6 6
 	//	callcenter_url: "http://192.168.4.18:4804/",//��������
7
-	callcenter_url: "http://192.168.8.10:8085/",
7
+	callcenter_url: "http://192.168.8.10:9001/",
8 8
 	//callcenter_url: "http://localhost:23369/",//���Ի���
9 9
 	socket_ip: "192.168.8.7", //ip
10 10
 	socket_port: "8081", //�˿�

+ 2 - 2
CallCenterWeb.UI/TelCall/CallRecord.html

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 
4 4
 	<head>
@@ -360,7 +360,7 @@
360 360
 					"token": $.cookie("token")
361 361
 				}, function(result) {
362 362
 					if(result.state.toLowerCase() == "success") {
363
-						let str='<option value="0">请选择</option>'
363
+						let str='<option value="">请选择</option>'
364 364
 						result.data.forEach(function(v, n) {
365 365
 							str += '<option value="' + v.F_DeptId + '">' + v.F_DeptName + '</option>'
366 366
 						})

+ 6 - 2
CallCenterWeb.UI/js/WorkOrder/WorkOrder.js

@@ -431,8 +431,12 @@ function Comment(val, row) {
431 431
 }
432 432
 
433 433
 function czhtml(val, row, str,strs) {
434
-	return '<div class="imgs" ><a class="xg" itemstr=\'' + JSON.stringify(row) + '\' onclick= oper("' + val + '",this) >' + str + '</a></div>'+
435
-	'<div class="imgs" ><a class="xg" itemstr=\'' + JSON.stringify(row) + '\' onclick= deleteOrder("' + row.ID + '",this) >' + strs + '</a></div>';
434
+	console.log($.cookie("F_RoleCode"))
435
+	var html ='<div class="imgs" ><a class="xg" itemstr=\'' + JSON.stringify(row) + '\' onclick= oper("' + val + '",this) >' + str + '</a></div>'
436
+	if($.cookie("F_RoleCode") === 'XTGLY'){
437
+		html +='<div class="imgs" ><a class="xg" itemstr=\'' + JSON.stringify(row) + '\' onclick= deleteOrder("' + row.ID + '",this) >' + strs + '</a></div>';
438
+	}
439
+	return html
436 440
 }
437 441
 
438 442
 function czhtmls(val, row, str) {

+ 23 - 17
CallCenterWeb.UI/js/index.js

@@ -37,6 +37,9 @@ $(document).ready(function() {
37 37
 			$(".username").text(result.data.user.F_UserName);
38 38
 			$('.user_code').text(result.data.user.F_UserCode);
39 39
 			localStorage.setItem('F_UserCode', result.data.user.F_UserCode)
40
+			var roleData = result.data.role;
41
+			$.cookie("F_RoleCode", roleData.F_RoleCode, {expires: 7});
42
+
40 43
 			$('.group').text(result.data.user.F_SeartGroup);
41 44
 			if(result.data.role) {
42 45
 				console.log(result.data);
@@ -157,15 +160,15 @@ $(document).ready(function() {
157 160
 						top.obj.TaskType = "0"; //0:拨号外呼;1:95005回访外呼;2:电销回访外呼
158 161
 						top.obj.TaskPhoneID = ""; //回访的电话ID
159 162
 						top.obj.TaskID = guid; //回访记录编号
160
-						var arr={'1010':'22','1008':'3','1009':'4','1004':'5','1020':'6','1011':'7','1015':'8','1005':'9','1013':'10',
161
-						'1012':'11','1006':'12','1002':'13','1001':'14','1007':'15','1003':'16','1014':'17','1016':'18','1017':'19','1018':'20'
162
-						,'1019':'21','1021':'34','1022':'35','1023':'36','1024':'37','1025':'38','1026':'39','1027':'40'};
163
-						if(obj.Header){
164
-							if(arr[obj.AgentExten]) {
165
-								obj.Header = arr[obj.AgentExten]
166
-								obj.DestinationNumber =obj.Header+ obj.DestinationNumber.slice(1)
167
-							}
168
-						}
163
+//						var arr={'1010':'22','1008':'3','1009':'4','1004':'5','1020':'6','1011':'7','1015':'8','1005':'9','1013':'10',
164
+//						'1012':'11','1006':'12','1002':'13','1001':'14','1007':'15','1003':'16','1014':'17','1016':'18','1017':'19','1018':'20'
165
+//						,'1019':'21','1021':'34','1022':'35','1023':'36','1024':'37','1025':'38','1026':'39','1027':'40'};
166
+//						if(obj.Header){
167
+//							if(arr[obj.AgentExten]) {
168
+//								obj.Header = arr[obj.AgentExten]
169
+//								obj.DestinationNumber =obj.Header+ obj.DestinationNumber.slice(1)
170
+//							}
171
+//						}
169 172
 						Send();
170 173
 						$('#Result').val('');
171 174
 						$(".WH").addClass("hidens");
@@ -296,13 +299,13 @@ $(document).ready(function() {
296 299
 	loadMenu();
297 300
 	$('.gdglM').removeClass('active')
298 301
 	workcount();
299
-	workcountCl($('.gdgl'),0)
302
+//	workcountCl($('.gdgl'),0)
300 303
 	workcountCl($('.dcl'),0)
301 304
 	workcountCl($('.ycy'),2)
302 305
 	workcountZh($('.zhcx'))
303 306
 	setInterval(function() {
304 307
 		workcount();
305
-		workcountCl($('.gdgl'),0)
308
+//		workcountCl($('.gdgl'),0)
306 309
 		workcountCl($('.dcl'),0);
307 310
 		workcountCl($('.ycy'),2)
308 311
 		workcountZh($('.zhcx'))
@@ -396,10 +399,13 @@ $(document).ready(function() {
396 399
 
397 400
 				if(result.state.toLowerCase() == "success") {
398 401
 					var con = result.data.user;
402
+					
399 403
 					$('.mgh').val(con.F_UserId);
400 404
 					$('.mn').val(con.F_UserName);
401 405
 					$('.mobile').val(con.F_Mobile);
402 406
 					$('.fenji').val($.cookie("extno"));
407
+					
408
+					
403 409
 					//$('.wxno').val(con.F_WXNo);
404 410
 					//		          		$('.spwd').val(con.F_Password);
405 411
 				}
@@ -1054,12 +1060,12 @@ function loadMenu() {
1054 1060
 			$.each(data, function(i) {
1055 1061
 				var row = data[i];
1056 1062
 				if(row.F_ParentID == "0") {
1057
-					if(row.F_ModuleName == '工单管理'){
1058
-						_html += '<li id="gdglM">';
1059
-					}else{
1060
-						_html += '<li>';
1061
-					}
1062
-					
1063
+//					if(row.F_ModuleName == '工单管理'){
1064
+//						_html += '<li id="gdglM">';
1065
+//					}else{
1066
+//						_html += '<li>';
1067
+//					}
1068
+					_html += '<li>';
1063 1069
 					if(row.F_Button != ''){
1064 1070
 						_html += '<a  class="Click"data-id="Menu_' + row.F_ModuleId + '" href="' + row.F_OptUrl + '"><span class="' + row.F_Button + '"></span><i class="fa iconfont">' + row.F_ImgUrl + '</i><span class="nav-label">' + row.F_ModuleName + '</span><span class="fa arrow"></span></a>';						
1065 1071
 					}else{

+ 1 - 1
CallCenterWeb.UI/login.html

@@ -28,7 +28,7 @@
28 28
 			</div>
29 29
 			<div class=" d_right" style="width: 45%;">
30 30
 				<form class="dl_form" method="get">
31
-					<div class="hj_box"> <img class=" hj" src="./img/hj.png" alt="" /></div>
31
+					<div class="hj_box" style="font-size: 36px;"> 平顶山电信满意度综合管理平台</div>
32 32
 					<div class="user iut">
33 33
 						<i class="i1 us"></i>
34 34
 						<input type="text" placeholder="请输入管理账号" id="user">