list.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>会议室管理</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <style>
  13. body {
  14. overflow:hidden
  15. }
  16. .huiyi-table {
  17. border-collapse: collapse;
  18. border: 1px solid #E1E6EB;
  19. color: #888;
  20. }
  21. .huiyi-table thead th {
  22. height: 50px;
  23. line-height: 20px;
  24. padding: 8px 8px;
  25. border: none;
  26. white-space: nowrap;
  27. background: #F5F6FA;
  28. border-right: 1px solid #E1E6EB;
  29. text-align: center;
  30. font-weight: normal !important;
  31. letter-spacing: 1px;
  32. cursor: pointer;
  33. }
  34. .huiyi-table tbody td {
  35. height: 50px;
  36. text-align: center;
  37. line-height: 20px;
  38. padding: 7px 8px;
  39. font-size: 13px;
  40. border-right: 1px solid #E1E6EB;
  41. border-top: 1px solid #E1E6EB;
  42. }
  43. .thead::-webkit-scrollbar {
  44. width: 0px;
  45. height: 0px;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <div ng-controller="listCtrl as ctl" ng-cloak>
  51. <div class="loading" ng-if="ctl.loading">
  52. <div class="loading-msg">
  53. <h3>数据加载中,请等待</h3>
  54. <div class="spinner">
  55. <div class="bounce1"></div>
  56. <div class="bounce2"></div>
  57. <div class="bounce3"></div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="wrapper wrapper-content">
  62. <div class="row">
  63. <div class="col-md-12">
  64. <div class="ibox float-e-margins">
  65. <div class="ibox-content">
  66. <div class="row">
  67. <div class="col-md-12">
  68. <div class="sp-page-tab">
  69. <span ng-class="{'pageTabActive':ctl.type=='1'}" style="font-weight: 900; " ng-click="ctl.changeType('1')">使用情况</span>
  70. <span ng-class="{'pageTabActive':ctl.type=='2'}" style="font-weight: 900; " ng-if="ctl.wuye" ng-click="ctl.changeType('2')">列&nbsp;表</span>
  71. <div class="sp-pull-right sp-color-white" ng-if="ctl.type=='1'">
  72. <input type="text" class="sp-input laydate-logo sp-pull-left sp-mr-10" sp-laydate style="width:150px;color:#000" ng-model="ctl.searchDay" ng-change="ctl.getRoom()" />
  73. <span class="sp-span1" style="background-color: #CCCCCC">已结束</span>
  74. <span class="sp-span1" style="background-color: #00CC66">进行中</span>
  75. <span class="sp-span1" style="background-color: #0099FF">已预订</span>
  76. <span class="sp-span1" style="background-color: #CC0000">已审核</span>
  77. </div>
  78. <div class="sp-pull-right" ng-if="ctl.type=='2'">
  79. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  80. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  81. </a>
  82. <a class="sp-pull-right sp-btn-gray sp-btn-radius" href="huiyi/formedit.html?id=0&lastReturnPageno=1">
  83. <i class="fa fa-plus sp-mr-5"></i>新 建
  84. </a>
  85. <select class="sp-select sp-pull-right" style="width:100px" ng-model="ctl.Status" ng-change="ctl.getData(1)">
  86. <option value="">全部</option>
  87. <option value="正常">正常</option>
  88. <option value="停用">停用</option>
  89. </select>
  90. </div>
  91. </div>
  92. <div class="sp-page sp-mt-10" ng-show="ctl.type=='1'">
  93. <div class="sp-page thead" style="height:50px;overflow-x:auto;overflow-y:hidden;padding-right:15px">
  94. <table class="huiyi-table">
  95. <thead>
  96. <tr>
  97. <th colspan="2">时间</th>
  98. <th ng-repeat="item in ctl.huiyiRoom"><div style="width: 183px" ng-bind="item.name"></div></th>
  99. </tr>
  100. </thead>
  101. <tbody>
  102. <tr>
  103. <td><div style="width:83px" ng-bind="ctl.week[0].date"></div></td>
  104. <td><div style="width:83px" ng-bind="ctl.week[0].time"></div></td>
  105. <td ng-repeat="item1 in ctl.huiyiRoom"></td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. </div>
  110. <div class="sp-page tbody" style="position: relative; max-height: 870px; overflow: auto" onscroll="scrollTable()">
  111. <table class="huiyi-table" style="margin-top:-50px">
  112. <thead>
  113. <tr>
  114. <th colspan="2">时间</th>
  115. <th ng-repeat="item in ctl.huiyiRoom"><div style="width: 183px" ng-bind="item.name"></div></th>
  116. </tr>
  117. </thead>
  118. <tbody>
  119. <tr ng-repeat="item in ctl.week" repeat-finish>
  120. <td><div style="width:83px" ng-bind="item.date"></div></td>
  121. <td><div style="width:83px" ng-bind="item.time"></div></td>
  122. <td ng-repeat="item1 in ctl.huiyiRoom"></td>
  123. </tr>
  124. </tbody>
  125. </table>
  126. <div ng-style="item.style" ng-repeat="item in ctl.application" ng-if="item.show==true">
  127. <div class="sp-page-col" style="width: 180px; position: absolute; top: 50%; transform: translateY(-50%)">
  128. <div class="sp-page" ng-bind="item.title" title="{{item.title}}"></div>
  129. <div class="sp-box" ng-bind-html="item.msg|trustHtml" title="{{item.msg1}}"></div>
  130. <div class="sp-page"><button class="sp-btn-sea sp-radius sp-btn-sm" ng-click="ctl.cancelHY(item)">取消</button></div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="sp-page" ng-show="ctl.type=='2'">
  136. <table class="sp-table sp-mt-10">
  137. <thead>
  138. <tr>
  139. <th width="50">序号</th>
  140. <th>会议室名称</th>
  141. <th width="150">可容纳人数</th>
  142. <th>设备</th>
  143. <th>位置</th>
  144. <th width="150">管理员</th>
  145. <th width="150">状态</th>
  146. <th>备注</th>
  147. <th class="sp-text-center" style="width: 180px;">操 作</th>
  148. </tr>
  149. </thead>
  150. <tbody>
  151. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  152. <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+($index+1)"></td>
  153. <td ng-bind="item.HYSMC"></td>
  154. <td ng-bind="item.KRNRS"></td>
  155. <td ng-bind="item.SB"></td>
  156. <td ng-bind="item.WZ"></td>
  157. <td ng-bind="item.GLY"></td>
  158. <td ng-bind="item.ZT"></td>
  159. <td ng-bind="item.BZ"></td>
  160. <td class="sp-text-center">
  161. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnEdit(item.ID)">编&nbsp;辑</button>
  162. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item.ID)">删&nbsp;除</button>
  163. </td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  168. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  169. </div>
  170. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  171. <div class="sp-page-col sp-pull-right">
  172. <div class="sp-lh-34">
  173. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  174. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  175. </div>
  176. </div>
  177. <div class="sp-page-col sp-pull-right">
  178. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  179. on-page-change="ctl.getData(newPageNumber)">
  180. </dir-pagination-controls>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. <div class="sp-layer" id="addLC" style="width: 1020px;">
  192. <div class="sp-layer-head" style="background:#2176d6">
  193. <div class="sp-page sp-text-center sp-font16">
  194. 新建流程
  195. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  196. ×
  197. </div>
  198. </div>
  199. </div>
  200. <div class="sp-layer-body">
  201. <div class="sp-page" style="max-height:500px;overflow:auto">
  202. <div ng-repeat="item in ctl.lcList" class="sp-col-25" ng-class="{'activeLC':ctl.activeLC.FLOWID==item.FLOWID}" ng-click="ctl.activeLC=item">
  203. <div class="lcItem">
  204. <div class="sp-page" style="width:30%;padding:5px">
  205. <img src="img/addLC.png" width="45" />
  206. <div class="sp-page sp-mt-10">
  207. <span class="sp-btn-blue-outline" style="padding:2px 5px;margin:0" ng-click="ctl.seeLCT(item,$event)">流程图</span>
  208. </div>
  209. </div>
  210. <div class="sp-page" style="width:70%">
  211. <div class="sp-box">
  212. {{item.FLOWNAME}}
  213. <img class="cbd" src="img/cbd.png" />
  214. </div>
  215. <div class="sp-line-gray"></div>
  216. <div class="sp-page sp-color-gray sp-fs-12">
  217. 介绍:{{item.FLOWNAME}}
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="sp-page sp-text-center sp-mt-20">
  224. <a class="sp-btn-blue sp-radius" ng-click="ctl.goAddUrl()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  225. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  231. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  232. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  233. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  234. <script src="../../apiurljs.js"></script>
  235. <script src="../../js/sm4.js"></script>
  236. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  237. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  238. <script src="../../AFrontEnd/js/special/spng.js"></script>
  239. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  240. </body>
  241. </html>