Brak opisu

zhiShiKuDetail.html 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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.http.js"></script>
  7. <script src="../Script/Common/huayi.config.js"></script>
  8. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  9. <link rel="stylesheet" href="../css/init.css" />
  10. <title>知识库详情页面</title>
  11. <style>
  12. .treeTable {
  13. /*height: 400px;*/
  14. /*overflow-y: auto;*/
  15. width: 100%;
  16. border: 1px solid #e5e5e5;
  17. text-align: center;
  18. padding: 15px;
  19. }
  20. .con_title {
  21. font-weight: bold;
  22. color: #000;
  23. }
  24. .con_message {
  25. border-bottom: 1px solid #e5e5e5;
  26. padding: 5px;
  27. margin-bottom: 15px;
  28. }
  29. .con_content {
  30. text-align: left;
  31. }
  32. .icon_r {
  33. margin-right: 3px;
  34. }
  35. .box .btop {
  36. background: #00a1cb;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <div class="container-fluid">
  42. <div class="treeTable">
  43. <h3 class="con_title"></h3>
  44. <div class="con_message">
  45. <span>所属类别:</span>
  46. <sapn class="lb"></sapn>
  47. <span>创建人:</span>
  48. <sapn class="cjr"></sapn>
  49. <span>审核人:</span>
  50. <sapn class="shr"></sapn>
  51. <span>创建日期:</span>
  52. <sapn class="time"></sapn>
  53. </div>
  54. <table class="con_content table table-striped table-hover">
  55. <tr>
  56. <td class="content"></td>
  57. </tr>
  58. </table>
  59. </div>
  60. </div>
  61. <script src="../css/laydate/laydate.js"></script>
  62. <script src="../js/zTree/jquery.ztree.core.js"></script>
  63. <script src="../js/kindeditor/kindeditor-all-min.js"></script>
  64. <script src="../js/kindeditor/lang/zh-CN.js"></script>
  65. <script>
  66. $(function() {
  67. var id = helper.request.queryString("id");
  68. Ajax(id);
  69. function Ajax(id) {
  70. $.ajax({
  71. type: "get",
  72. url: huayi.config.callcenter_url + "Knowledge/GetInfo",
  73. async: true,
  74. dataType: 'json',
  75. data: {
  76. token: $.cookie("token"),
  77. infoid: id
  78. },
  79. success: function(data) {
  80. var con = data.data;
  81. if(data.state.toLowerCase() == 'success') {
  82. $('.lb').html(con.F_Category); //所属类别
  83. $('.cjr').html(con.F_CreateBy); //创建人
  84. $('.shr').html(con.F_AuditBy); //审核人
  85. $('.time').html(con.F_CreateOn); //创建日期
  86. $('.content').html(con.F_Content);
  87. $('.con_title').html(con.F_Title);
  88. }
  89. }
  90. });
  91. }
  92. })
  93. </script>
  94. </body>
  95. </html>