鑫苑新版本前端代码

callScreen.html 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <style>
  9. body,
  10. html,
  11. .wrapper {
  12. height: 100%;
  13. }
  14. </style>
  15. </head>
  16. <body class="gray-bg">
  17. <div class="wrapper wrapper-content animated fadeInRight">
  18. <iframe class="callIn_iframe" width="100%" height="100%" src="https://www.baidu.com/" frameborder="0" data-id="index_v1.html" seamless></iframe>
  19. </div>
  20. <script>
  21. var Number = helper.request.queryString("Number"),//来电号码
  22. CallID = helper.request.queryString("CallID"),//callid
  23. callType = helper.request.queryString("callType"),//业务类型
  24. userCode=top.$('#userCode').val();//工号
  25. if(callType){
  26. switch (callType){
  27. case "1":
  28. callType=2;
  29. break;
  30. case "2":
  31. callType=1;
  32. break;
  33. case "9":
  34. callType=4;
  35. break;
  36. }
  37. }
  38. $('.callIn_iframe').attr('src', 'http://192.168.128.246/400/?logid=' + userCode + '&Telephone=' + Number + '&calltype=' + callType + '&Media=' + CallID)
  39. // $('.callIn_iframe').attr('src', 'http://117.158.24.187:8001/400/?logid=' + userCode + '&Telephone=' + Number + '&calltype=' + callType + '&Media=' + CallID)
  40. </script>
  41. </body>
  42. </html>