Przeglądaj źródła

修改一键外呼

zhangshuangnan 7 lat temu
rodzic
commit
2ad8a408c4

+ 1 - 2
CallCenterWeb.UI/TelCall/TimeManagement.html

39
 					break;
39
 					break;
40
 				case "BSCX_O": //报事查询——旧
40
 				case "BSCX_O": //报事查询——旧
41
 //				iframe_url='http://192.168.0.78/HM/Callcenter/Call/IncidentSeach.aspx?logid='+ userCode +'&EntrySign='+ userCode +'&CorpID=1000&UserCode=000858&CustID=&Telephone='
41
 //				iframe_url='http://192.168.0.78/HM/Callcenter/Call/IncidentSeach.aspx?logid='+ userCode +'&EntrySign='+ userCode +'&CorpID=1000&UserCode=000858&CustID=&Telephone='
42
-				    //iframe_url='http://117.158.24.187:8001/HM/Callcenter/Call/IncidentSeach.aspx?logid='+ userCode +'&EntrySign='+ userCode +'&CorpID=1000&UserCode=000858&CustID=&Telephone='
43
-				    iframe_url = 'http://192.168.4.18:4602/callout/callOut.html';
42
+				    iframe_url='http://117.158.24.187:8001/HM/Callcenter/Call/IncidentSeach.aspx?logid='+ userCode +'&EntrySign='+ userCode +'&CorpID=1000&UserCode=000858&CustID=&Telephone='
44
 					break;
43
 					break;
45
 			}
44
 			}
46
 			$('.time_iframe').attr('src', iframe_url)
45
 			$('.time_iframe').attr('src', iframe_url)

+ 3 - 4
CallCenterWeb.UI/callout/callOut.html

11
 		<iframe id="framenew"  width="0" height="0" src="#"></iframe>
11
 		<iframe id="framenew"  width="0" height="0" src="#"></iframe>
12
 		<script>
12
 		<script>
13
 			 function CallOutPhone() {
13
 			 function CallOutPhone() {
14
-               // var phone = document.getElementById("txtphone").value;
14
+//                var phone = document.getElementById("txtphone").value;
15
 				var phone=$('#txtphone').val()
15
 				var phone=$('#txtphone').val()
16
-				var srcs='http://192.168.4.18:4802/callScreen/inhtml.html?phone=' + phone;
17
-               // document.getElementById("framenew").src=src;
16
+				var srcs='http://192.168.4.18:4802/callout/inhtml.html?phone=' + phone;
17
+//                document.getElementById("framenew").src=src;
18
 				$('#framenew').attr('src',srcs)
18
 				$('#framenew').attr('src',srcs)
19
-          
20
         }
19
         }
21
 		</script>
20
 		</script>
22
 	</body>
21
 	</body>

+ 0 - 1
CallCenterWeb.UI/callScreen/inhtml.html

13
 		<script>
13
 		<script>
14
 		function keyCallOut(){
14
 		function keyCallOut(){
15
 			var phone = helper.request.queryString("phone");
15
 			var phone = helper.request.queryString("phone");
16
-			 alert('inhtml')
17
 			 top.PhoneCallOut(1,phone);//外呼
16
 			 top.PhoneCallOut(1,phone);//外呼
18
 		}
17
 		}
19
 		
18
 		

+ 16 - 0
CallCenterWeb.UI/callout/keyCallOut.html

1
+	<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<title></title>
6
+		<script src="../Script/Common/huayi.load.js"></script>
7
+		<script src="../Script/Common/huayi.config.js"></script>
8
+	</head>
9
+	<body class="gray-bg">
10
+		<div class="wrapper wrapper-content animated fadeInRight">
11
+			<iframe class="callIn_iframe"  width="100%" height="100%" src="http://192.168.4.18:4602/callout/callOut.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
12
+		</div>
13
+		<script>
14
+		</script>
15
+	</body>
16
+</html>