No Description

addModel.html 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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" />
  8. <link rel="stylesheet" href="../css/init.css" />
  9. <title>知识库查询</title>
  10. <style>
  11. .table {
  12. margin: 20px;
  13. width: 97%;
  14. }
  15. .table th {
  16. width: 10%;
  17. font-weight: bold;
  18. text-align: center;
  19. }
  20. .table td {
  21. width: 90%;
  22. }
  23. .table td textarea {
  24. width: 100%;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <!--查看弹出内容-->
  30. <table class="table-bordered table">
  31. <tbody>
  32. <tr>
  33. <th>标题:</th>
  34. <td colspan="3" class="addTitle"></td>
  35. </tr>
  36. <tr>
  37. <th>关键字:</th>
  38. <td colspan="3" class="addKey"></td>
  39. </tr>
  40. <tr>
  41. <th>内容:</th>
  42. <td colspan="3" class="addCon"></td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. <script src="../css/layer/layer.js"></script>
  47. </body>
  48. <script>
  49. var token = $.cookie("token");
  50. var changeGetid = helper.request.queryString("changeGetid");
  51. getChangeBox(changeGetid);
  52. function getChangeBox(changeGetid) {
  53. $.ajax({
  54. type: "post",
  55. url: huayi.config.callcenter_url + "Knowledge/GetInfo",
  56. async: true,
  57. dataType: 'json',
  58. data: {
  59. infoid: changeGetid,
  60. token: token
  61. },
  62. success: function (data) {
  63. var con = data.data;
  64. $('.addTitle').html(con.F_Title);
  65. $('.addKey').html(con.F_KeyWords);
  66. $('.addCon').html(con.F_Content);
  67. }
  68. });
  69. }
  70. </script>
  71. </html>