Kaynağa Gözat

外呼对接

zhengbingbing 7 yıl önce
ebeveyn
işleme
8e77f2e5f5

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

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 
4 4
 	<head>
@@ -39,7 +39,8 @@
39 39
 					break;
40 40
 				case "BSCX_O": //报事查询——旧
41 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='
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';
43 44
 					break;
44 45
 			}
45 46
 			$('.time_iframe').attr('src', iframe_url)

+ 2 - 2
CallCenterWeb.UI/callScreen/inhtml.html

@@ -1,4 +1,4 @@
1
-	<!DOCTYPE html>
1
+	<!DOCTYPE html>
2 2
 <html>
3 3
 	<head>
4 4
 		<meta charset="UTF-8">
@@ -8,7 +8,7 @@
8 8
 	</head>
9 9
 	<body class="gray-bg" onload="keyCallOut()">
10 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/1.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
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 12
 		</div>-->
13 13
 		<script>
14 14
 		function keyCallOut(){

+ 23 - 0
CallCenterWeb.UI/callout/callOut.html

@@ -0,0 +1,23 @@
1
+<!DOCTYPE html>
2
+<html>
3
+	<head>
4
+		<meta charset="UTF-8">
5
+		<title>一键回访页面</title>
6
+		<script src="jquery.min.js"></script>
7
+	</head>
8
+	<body>
9
+		<input id="txtphone" type="text" value="8899" />
10
+		<input type="button" onclick="CallOutPhone()" value="一键回访" />
11
+		<iframe id="framenew"  width="0" height="0" src="#"></iframe>
12
+		<script>
13
+			 function CallOutPhone() {
14
+               // var phone = document.getElementById("txtphone").value;
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;
18
+				$('#framenew').attr('src',srcs)
19
+          
20
+        }
21
+		</script>
22
+	</body>
23
+</html>