Nav apraksta

callFile.html 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link href="../css/layer/need/layer.css" rel="stylesheet" />
  8. <link href="../css/init.css" rel="stylesheet" />
  9. <title>录音</title>
  10. </head>
  11. <body>
  12. <div class="Common">
  13. <table>
  14. <tr>
  15. <th style="width: 85px;text-align: left;" class="titleText">密码:</th>
  16. <td>
  17. <span class="phoneNumber" style="display: none;"></span>
  18. <div style="display: inline-block;" class="passwordSearch">
  19. <input type="number" id="password" value="" autocomplete="off" />
  20. <button onclick="getPhone()">查询</button>
  21. </div>
  22. </td>
  23. </tr>
  24. </table>
  25. </div>
  26. <script src="../css/laydate/laydate.js"></script>
  27. <script src="../js/adjustHeight.js"></script>
  28. <script>
  29. var phoneNumber = decodeURIComponent(helper.request.queryString("phoneNumber"));
  30. var callid = helper.request.queryString("callid")
  31. function getPhone() {
  32. if (!$("#password").val()) {
  33. layer.msg('请输入密码')
  34. return
  35. }
  36. $.ajax({
  37. type: "get",
  38. url: huayi.config.callcenter_url + "Callrecords/GetCallFilePath", //获取数据的Servlet地址,
  39. async: true,
  40. dataType: "json",
  41. data: {
  42. CallRecordsId: callid,
  43. password: $("#password").val(),
  44. token: $.cookie("token")
  45. },
  46. success: function(res) {
  47. if (res.state.toLowerCase() === "success") {
  48. // $(".passwordSearch").hide()
  49. // $(".phoneNumber").show()
  50. console.log(res.data)
  51. helper.luyin.view(null, res.data)
  52. }
  53. }
  54. });
  55. }
  56. </script>
  57. </body>
  58. </html>