高新区管委会,以5.0标准版为基准,从双汇项目拷贝

zhiShiKuManger.html 9.4KB

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