list.html 14 KB

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