Aucune description

zhiShiKuManger.html 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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="../js/zTree/zTreeStyle.css" />
  9. <link rel="stylesheet" href="../css/init.css" />
  10. <title>知识库管理</title>
  11. <style>
  12. .toolBar {
  13. padding: 15px 0;
  14. border-bottom: 1px solid #ccc;
  15. }
  16. .boxCon table th {
  17. width: 20%;
  18. }
  19. .boxCon table td textarea {
  20. width: 100%;
  21. }
  22. .inpBox {
  23. border: 1px solid #a9a9a9;
  24. height: 27px;
  25. width: 55%;;
  26. display: inline-block;
  27. position: relative;
  28. vertical-align: middle;
  29. }
  30. .inps1,
  31. .inps4 {
  32. width: 100%;
  33. height: 24px;
  34. outline: none;
  35. border: 0;
  36. border-image-width: 0;
  37. padding: 0;
  38. padding-left: 3px;
  39. }
  40. .changeTitle,.changeKey,.addTitle,.addKey{
  41. width: 55%;
  42. }
  43. .xl {
  44. display: inline-block;
  45. background: url(../img/dropDown.png) no-repeat;
  46. height: 100%;
  47. background-position: center center;
  48. width: 20px;
  49. position: absolute;
  50. right: 0;
  51. top: 0px;
  52. background-color: #f7bc8b;
  53. cursor: pointer;
  54. }
  55. .xl:hover {
  56. background-color: #e6d523;
  57. }
  58. .addTree {
  59. background: #fff;
  60. position: absolute;
  61. width: 100%;
  62. border: 1px solid darkgrey;
  63. right: 0;
  64. top: 26px;
  65. display: none;
  66. height: 220px;
  67. overflow-y: auto;
  68. }
  69. .treeTable {
  70. height: 400px;
  71. /*overflow-y: auto;*/
  72. }
  73. .tree {
  74. height: 100%;
  75. }
  76. .trTitle {
  77. width: 100%;
  78. height: 34px;
  79. line-height: 34px;
  80. border-bottom: 1px solid #ebebeb;
  81. color: red;
  82. font-weight: 700;
  83. margin-bottom: 15px;
  84. }
  85. .treeCon {
  86. height: 90%;
  87. border: 1px solid #ebebeb;
  88. overflow-y: auto
  89. }
  90. .ztree li {
  91. width: 100%;
  92. overflow: hidden;
  93. white-space: nowrap;
  94. text-overflow: ellipsis;
  95. }
  96. .content{
  97. width: 270px;
  98. height: 25px;
  99. overflow: hidden;
  100. white-space: nowrap;
  101. text-overflow: ellipsis;
  102. text-align: left;
  103. }
  104. </style>
  105. </head>
  106. <body>
  107. <div class="container-fluid">
  108. <div class="daoHang clearfix">
  109. <div class="dhLeft">
  110. <sapn><i class="syIcon"></i>位置:<a href="javaScript:;" id="ReIndex">首页</a>&gt;<a href="javaScript:;">知识库管理</a>&gt;<a href="" class="nowPosition">知识库管理</a></sapn>
  111. </div>
  112. <div class="dhRight">
  113. <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
  114. </div>
  115. </div>
  116. <div class="toolBar clearfix">
  117. <div class="toolLeft">
  118. <button class="btns add">添加</button>
  119. <button class="btns change">修改</button>
  120. <button class="btns del">删除</button>
  121. </div>
  122. <div class="toolRight">
  123. <span>搜索内容:<input type="text" class="searCon" /></span>
  124. <button class="btns searchGo">搜索</button>
  125. </div>
  126. </div>
  127. <div class="treeTable clearfix">
  128. <div class="tree col-md-3">
  129. <div class="trTitle">知识库分类</div>
  130. <div class="treeCon">
  131. <ul id="treeDemo" class="ztree">
  132. <!--类名为ztree是必须的-->
  133. </ul>
  134. </div>
  135. </div>
  136. <div class="tableCon col-md-9">
  137. <div class="trTitle"> 知识库列表</div>
  138. <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  139. <thead>
  140. <tr>
  141. <th data-field="state" data-checkbox="true" data-align="center"></th>
  142. <th data-align="center" data-formatter="setCode">编号</th>
  143. <!--<th data-align="center" data-field="id" data-formatter="setCode"></th>-->
  144. <th data-field="F_Title" data-align="left">标题</th>
  145. <th data-field="F_Description" data-align="left" data-formatter="oper">内容</th>
  146. <th data-field="F_KeyWords" data-align="center">关键字</th>
  147. <th data-field="F_CreateOn" data-align="center">创建时间</th>
  148. </tr>
  149. </thead>
  150. <tbody id="tbody">
  151. </tbody>
  152. </table>
  153. </div>
  154. </div>
  155. </div>
  156. <!--添加弹出内容-->
  157. <div class="model addModel">
  158. <div class="box">
  159. <div class="btop clearfix">
  160. <p class="btl">添加知识库</p>
  161. <p class="btr addBtr" title="关闭">X</p>
  162. </div>
  163. <div class="boxCon">
  164. <table>
  165. <tbody>
  166. <tr>
  167. <th>所属分类:</th>
  168. <td colspan="3">
  169. <div class="inpBox">
  170. <input type="text" class="inps inps1" />
  171. <i class="xl xl_one"></i>
  172. <div class="addTree xlAdd">
  173. <ul id="addTreeDemo" class="ztree">
  174. </ul>
  175. </div>
  176. </div>
  177. </td>
  178. </tr>
  179. <tr>
  180. <th>标题:</th>
  181. <td colspan="3"><input type="text" class="addTitle" /></td>
  182. </tr>
  183. <tr>
  184. <th>关键字:</th>
  185. <td colspan="3"><input type="text" class="addKey" /></td>
  186. </tr>
  187. <tr>
  188. <th>内容:</th>
  189. <td colspan="3"><textarea id="addEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
  190. </tr>
  191. </tbody>
  192. </table>
  193. <div style="text-align: center;"><button class="btns addCun">保存</button></div>
  194. </div>
  195. </div>
  196. </div>
  197. <!--删除弹出内容-->
  198. <div class="model delModel">
  199. <div class="box">
  200. <div class="btop clearfix">
  201. <p class="btl"><span>删除提示</span></p>
  202. <p class="btr delBtr" title="关闭">X</p>
  203. </div>
  204. <div class="boxCon" style="height: 150px;">
  205. <p style="text-align: center;font-size: 16px;margin-top: 30px;">您确定要删除吗?</p>
  206. <p style="margin-top: 30px;text-align: center;"><button class="btns sure">确定</button>
  207. <button class="btns return">取消</button></p>
  208. <!--<p style="color: red;">注:若该分类下包含知识库内容会一并删除</p>-->
  209. </div>
  210. </div>
  211. </div>
  212. <!--修改弹出内容-->
  213. <div class="model changeModel">
  214. <div class="box">
  215. <div class="btop clearfix">
  216. <p class="btl">修改知识库</p>
  217. <p class="btr changeBtr" title="关闭">X</p>
  218. </div>
  219. <div class="boxCon">
  220. <table>
  221. <tbody>
  222. <tr>
  223. <th>所属分类:</th>
  224. <td colspan="3">
  225. <div class="inpBox">
  226. <input type="text" class="inps inps4" />
  227. <i class="xl xl_two"></i>
  228. <div class="addTree xlChange">
  229. <ul id="changeTreeDemo" class="ztree">
  230. </ul>
  231. </div>
  232. </div>
  233. </td>
  234. </tr>
  235. <tr>
  236. <th>标题:</th>
  237. <td colspan="3"><input type="text" class="changeTitle" /></td>
  238. </tr>
  239. <tr>
  240. <th>关键字:</th>
  241. <td colspan="3"><input type="text" class="changeKey" /></td>
  242. </tr>
  243. <tr>
  244. <th>内容:</th>
  245. <td colspan="3"><textarea id="changeEditor" name="content" style="width: 100%;height: 100px;"></textarea></td>
  246. </tr>
  247. </tbody>
  248. </table>
  249. <div style="text-align: center;"><button class="btns changeCun">保存</button></div>
  250. </div>
  251. </div>
  252. </div>
  253. <script src="../js/zTree/jquery.ztree.core.js"></script>
  254. <script src="../js/kindeditor/kindeditor.js"></script>
  255. <script src="../js/kindeditor/lang/zh_CN.js"></script>
  256. <script src="./js/zhiShiKuManger.js"></script>
  257. </body>
  258. </html>