| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.http.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link rel="stylesheet" href="../css/init.css" />
- <title>知识库详情页面</title>
- <style>
- .treeTable {
- /*height: 400px;*/
- /*overflow-y: auto;*/
- width: 100%;
- border: 1px solid #e5e5e5;
- text-align: center;
- padding: 15px;
- }
-
- .con_title {
- font-weight: bold;
- color: #000;
- }
-
- .con_message {
- border-bottom: 1px solid #e5e5e5;
- padding: 5px;
- margin-bottom: 15px;
- }
-
- .con_content {
- text-align: left;
- }
-
- .icon_r {
- margin-right: 3px;
- }
- .box .btop {
- background: #00a1cb;
- }
- </style>
- </head>
- <body>
- <div class="container-fluid">
- <div class="treeTable">
- <h3 class="con_title"></h3>
- <div class="con_message">
- <span>所属类别:</span>
- <sapn class="lb"></sapn>
- <span>创建人:</span>
- <sapn class="cjr"></sapn>
- <span>审核人:</span>
- <sapn class="shr"></sapn>
- <span>创建日期:</span>
- <sapn class="time"></sapn>
- </div>
- <table class="con_content table table-striped table-hover">
- <tr>
- <td class="content"></td>
- </tr>
- </table>
- </div>
- </div>
- <script src="../css/laydate/laydate.js"></script>
- <script src="../js/zTree/jquery.ztree.core.js"></script>
- <script src="../js/kindeditor/kindeditor-all-min.js"></script>
- <script src="../js/kindeditor/lang/zh-CN.js"></script>
- <script>
- $(function() {
- var id = helper.request.queryString("id");
- Ajax(id);
- function Ajax(id) {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "Knowledge/GetInfo",
- async: true,
- dataType: 'json',
- data: {
- token: $.cookie("token"),
- infoid: id
- },
- success: function(data) {
- var con = data.data;
- if(data.state.toLowerCase() == 'success') {
- $('.lb').html(con.F_Category); //所属类别
- $('.cjr').html(con.F_CreateBy); //创建人
- $('.shr').html(con.F_AuditBy); //审核人
- $('.time').html(con.F_CreateOn); //创建日期
- $('.content').html(con.F_Content);
- $('.con_title').html(con.F_Title);
- }
- }
- });
- }
- })
- </script>
- </body>
- </html>
|