zhiban.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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 http-equiv="Expires" content="0">
  6. <meta http-equiv="Pragma" content="no-cache">
  7. <meta http-equiv="Cache-control" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  10. <title>值班管理</title>
  11. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  13. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  14. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  15. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. <style>
  17. .hasWork{
  18. background:#ff8d00;
  19. color:#fff
  20. }
  21. .hasWork:hover {
  22. background: #ff8d00 !important;
  23. }
  24. .sp-table tbody tr td {
  25. border-right: 1px solid #E1E6EB;
  26. }
  27. .pointer {
  28. cursor: pointer;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <div ng-controller="listCtrl as ctl" ng-cloak>
  34. <div class="wrapper wrapper-content">
  35. <div class="row">
  36. <div class="col-md-12">
  37. <div class="ibox float-e-margins">
  38. <div class="ibox-content">
  39. <div class="row">
  40. <div class="col-md-12">
  41. <div class="sp-page sp-lh-30">
  42. <!--<span class="sp-page-col sp-text-left" style="width:80px" ng-if="ctl.search.type==2">值班单位:</span>-->
  43. <!--<input class="sp-input sp-pull-left" style="width:150px" ng-model="ctl.search.dw" ng-if="ctl.search.type==2" />-->
  44. <span class="sp-page-col sp-text-left sp-ml-10" style="width:80px">月份选择:</span>
  45. <input class="sp-input sp-pull-left laydate-logo" style="width:150px" sp-laydate laytype="month" ng-model="ctl.search.date" />
  46. <div class="sp-page-col sp-pull-right">
  47. <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==1" ng-click="ctl.getData()">查&nbsp;&nbsp;询</button>
  48. <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==1" ng-click="ctl.printOut()">导&nbsp;&nbsp;出</button>
  49. <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==2" ng-click="ctl.getZSDW()">查&nbsp;&nbsp;询</button>
  50. </div>
  51. </div>
  52. <div class="sp-page">
  53. <h3 ng-if="ctl.search.type==1" class="sp-text-center">委机关{{ctl.search.date.slice(5)}}月值班表</h3>
  54. <h3 ng-if="ctl.search.type==2" class="sp-text-center">委直属单位{{ctl.search.date.slice(5)}}月值班表</h3>
  55. <div class="sp-page-tab" ng-if="ctl.search.type==1">
  56. <span ng-class="{'pageTabActive':ctl.showType==1}" ng-click="ctl.showType=1;ctl.getData()">委机关值班表</span>
  57. <span ng-class="{'pageTabActive':ctl.showType==2}" style="width:120px" ng-click="ctl.showType=2;ctl.getZSDW()">委直属单位值班表</span>
  58. </div>
  59. <table class="sp-table sp-mt-10" id="printOut" ng-if="ctl.showType==1">
  60. <thead>
  61. <tr>
  62. <th rowspan="2" width="80">日期</th>
  63. <th rowspan="2">星期</th>
  64. <th rowspan="2">值班时间</th>
  65. <th colspan="3" ng-if="ctl.table1==1&&ctl.search.type==1" style="border-bottom: 1px solid #C6C6C6">局级带班领导</th>
  66. <th ng-if="ctl.search.type==1" colspan="{{ctl.table1}}" style="border-bottom: 1px solid #C6C6C6">带班处长</th>
  67. <th ng-if="ctl.search.type==1" style="border-bottom: 1px solid #C6C6C6; ">值班干部</th>
  68. <th rowspan="2" ng-if="ctl.search.type==1">值班司机</th>
  69. <th rowspan="2" ng-if="ctl.search.type==1">司机电话</th>
  70. <th ng-if="ctl.search.type==2" colspan="4" style="border-bottom: 1px solid #C6C6C6; ">单位带班领导</th>
  71. <th colspan="2" ng-if="ctl.search.type==2" style="border-bottom: 1px solid #C6C6C6; ">带班科长/部长</th>
  72. <th colspan="2" ng-if="ctl.search.type==2" style="border-bottom: 1px solid #C6C6C6; ">值班员</th>
  73. </tr>
  74. <tr ng-if="ctl.search.type==1">
  75. <th ng-if="ctl.table1==1">姓名</th>
  76. <th ng-if="ctl.table1==1">职务</th>
  77. <th ng-if="ctl.table1==1">手机号码</th>
  78. <th>姓名</th>
  79. <th ng-if="ctl.table1==4">职务</th>
  80. <th ng-if="ctl.table1==4">办公固话</th>
  81. <th ng-if="ctl.table1==4">手机号码</th>
  82. <th>姓名</th>
  83. <!--<th>姓名</th>-->
  84. </tr>
  85. <tr ng-if="ctl.search.type==2">
  86. <th>姓名</th>
  87. <th>职务</th>
  88. <th>办公固话</th>
  89. <th>手机号码</th>
  90. <th>姓名</th>
  91. <th>手机</th>
  92. <th>姓名</th>
  93. <th>手机</th>
  94. </tr>
  95. </thead>
  96. <tbody>
  97. <tr ng-repeat="item in ctl.list1" ng-class="{'hasWork':item.DBLDXM==ctl.userName||item.ZBGBXM1==ctl.userName||item.ZBGBXM2==ctl.userName}" repeat-finish>
  98. <td ng-bind="item.RIQI"></td>
  99. <td ng-bind="item.XINGQI"></td>
  100. <td ng-bind="item.ZBSJ"></td>
  101. <td ng-if="ctl.table1==1&&ctl.search.type==1" ng-bind="item.DHDBLDXM"></td>
  102. <td ng-if="ctl.table1==1&&ctl.search.type==1" ng-bind="item.DHZW"></td>
  103. <td ng-if="ctl.table1==1&&ctl.search.type==1" ng-bind="item.DHSJHM"></td>
  104. <td ng-bind="item.DBLDXM"></td>
  105. <td ng-if="ctl.table1==4&&ctl.search.type==1" ng-bind="item.ZW"></td>
  106. <td ng-if="ctl.table1==4&&ctl.search.type==1" ng-bind="item.BGGH"></td>
  107. <td ng-if="ctl.table1==4&&ctl.search.type==1" ng-bind="item.SJHM"></td>
  108. <td ng-if="ctl.search.type==2" ng-bind="item.ZW"></td>
  109. <td ng-if="ctl.search.type==2" ng-bind="item.BGGH"></td>
  110. <td ng-if="ctl.search.type==2" ng-bind="item.SJHM"></td>
  111. <td ng-bind="item.ZBGBXM1"></td>
  112. <td ng-if="ctl.search.type==2" ng-bind="item.ZBGBXM1SJHM"></td>
  113. <td ng-if="ctl.search.type==2" ng-bind="item.ZBGBXM2"></td>
  114. <td ng-if="ctl.search.type==2" ng-bind="item.ZBGBXM2SJHM"></td>
  115. <td ng-if="ctl.search.type==1" ng-bind="item.ZBSJ1"></td>
  116. <td ng-if="ctl.search.type==1" ng-bind="item.SJDH"></td>
  117. </tr>
  118. </tbody>
  119. </table>
  120. <table class="sp-table sp-mt-10" id="printOut" ng-if="ctl.showType==1&&ctl.table2!=0&&ctl.search.type==1">
  121. <thead>
  122. <tr>
  123. <th rowspan="2" width="80">日期</th>
  124. <th rowspan="2">星期</th>
  125. <th rowspan="2">值班时间</th>
  126. <th colspan="3" ng-if="ctl.table2==1" style="border-bottom: 1px solid #C6C6C6">电话带班</th>
  127. <th colspan="{{ctl.table2}}" style="border-bottom: 1px solid #C6C6C6">在岗带班</th>
  128. <th style="border-bottom: 1px solid #C6C6C6; ">值班干部</th>
  129. <th rowspan="2" ng-if="ctl.search.type==1">值班司机</th>
  130. <th rowspan="2" ng-if="ctl.search.type==1">司机电话</th>
  131. </tr>
  132. <tr>
  133. <th ng-if="ctl.table2==1">姓名</th>
  134. <th ng-if="ctl.table2==1">职务</th>
  135. <th ng-if="ctl.table2==1">手机号码</th>
  136. <th>姓名</th>
  137. <th ng-if="ctl.table2==4">职务</th>
  138. <th ng-if="ctl.table2==4">办公固话</th>
  139. <th ng-if="ctl.table2==4">手机号码</th>
  140. <th>姓名</th>
  141. <!--<th>姓名</th>-->
  142. </tr>
  143. </thead>
  144. <tbody>
  145. <tr ng-repeat="item in ctl.list2" ng-class="{'hasWork':item.DBLDXM==ctl.userName||item.ZBGBXM1==ctl.userName||item.ZBGBXM2==ctl.userName}" repeat-finish>
  146. <td ng-bind="item.RIQI"></td>
  147. <td ng-bind="item.XINGQI"></td>
  148. <td ng-bind="item.ZBSJ"></td>
  149. <td ng-if="ctl.table2==1" ng-bind="item.DHDBLDXM"></td>
  150. <td ng-if="ctl.table2==1" ng-bind="item.DHZW"></td>
  151. <td ng-if="ctl.table2==1" ng-bind="item.DHSJHM"></td>
  152. <td ng-bind="item.DBLDXM"></td>
  153. <td ng-if="ctl.table2==4" ng-bind="item.ZW"></td>
  154. <td ng-if="ctl.table2==4" ng-bind="item.BGGH"></td>
  155. <td ng-if="ctl.table2==4" ng-bind="item.SJHM"></td>
  156. <td ng-bind="item.ZBGBXM1"></td>
  157. <!--<td ng-bind="item.ZBGBXM2"></td>-->
  158. <td ng-if="ctl.search.type==1" ng-bind="item.ZBSJ1"></td>
  159. <td ng-if="ctl.search.type==1" ng-bind="item.SJDH"></td>
  160. </tr>
  161. </tbody>
  162. </table>
  163. <div class="sp-box" ng-if="ctl.showType==1">
  164. <table class="sp-table">
  165. <tr ng-if="ctl.search.type==1">
  166. <td width="130">值班须知:</td>
  167. <td class="sp-text-left" ng-bind-html="ctl.ZBREMARK|trustHtml"></td>
  168. </tr>
  169. <tr ng-if="ctl.search.type==2">
  170. <td width="170">值班时间:</td>
  171. <td class="sp-text-left" ng-bind="ctl.ZBSJREMARK"></td>
  172. </tr>
  173. <tr ng-if="ctl.search.type==2">
  174. <td>值班电话:</td>
  175. <td class="sp-text-left" ng-bind="ctl.ZBDH"></td>
  176. </tr>
  177. <tr ng-if="ctl.search.type==2">
  178. <td>值班传真:</td>
  179. <td class="sp-text-left" ng-bind="ctl.ZBCZ"></td>
  180. </tr>
  181. <tr ng-if="ctl.search.type==2">
  182. <td>夜间及节假日值班电话:</td>
  183. <td class="sp-text-left" ng-bind="ctl.YJJJRZBDH"></td>
  184. </tr>
  185. <tr ng-if="ctl.search.type==2">
  186. <td>夜间及节假日值班传真:</td>
  187. <td class="sp-text-left" ng-bind="ctl.YJJJRZBCZ"></td>
  188. </tr>
  189. <tr ng-if="ctl.search.type==2">
  190. <td>值班地点:</td>
  191. <td class="sp-text-left" ng-bind="ctl.ZBDD"></td>
  192. </tr>
  193. <tr ng-if="ctl.search.type==2">
  194. <td>填表人:</td>
  195. <td class="sp-text-left" ng-bind="ctl.TBR"></td>
  196. </tr>
  197. <tr ng-if="ctl.search.type==2">
  198. <td>备注:</td>
  199. <td class="sp-text-left" ng-bind-html="item.ctl.REMARK|trustHtml"></td>
  200. </tr>
  201. </table>
  202. </div>
  203. <table class="sp-table sp-mt-10" ng-if="ctl.showType==2">
  204. <thead>
  205. <tr>
  206. <th width="50">序号</th>
  207. <th>直属单位名称</th>
  208. <th>报送时间</th>
  209. <th width="120">状态</th>
  210. </tr>
  211. </thead>
  212. <tbody>
  213. <tr ng-repeat="item in ctl.zsdwList">
  214. <td ng-bind="$index+1"></td>
  215. <td><span ng-class="{'pointer':item.STOPMARK=='1'||item.WNCKBS=='1'}" ng-bind="item.CNAME" ng-click="ctl.goDetail(item)"></span></td>
  216. <td ng-bind="item.BSDATE1"></td>
  217. <td><span ng-class="{'sp-btn-gray':item.STOPMARK!=='-1','sp-btn-blue':item.STOPMARK=='1'}">{{item.STOPMARK=='1'?"已提交":item.STOPMARK=='-1'?"未提交":"进行中"}}</span><i class="fa fa-eye" ng-if="item.STOPMARK=='1'||item.WNCKBS=='1'"></i></td>
  218. </tr>
  219. </tbody>
  220. </table>
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. </div>
  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. <!-- 导出excel -->
  237. <script src="../gongzi/js/vendor/jquery.jqprint-0.3.js"></script>
  238. <script src="../gongzi/js/vendor/shim.min.js"></script>
  239. <script src="../gongzi/js/vendor/jszip.js"></script>
  240. <script src="../gongzi/js/vendor/xlsx.full.js"></script>
  241. <script src="../gongzi/js/vendor/Blob.js"></script>
  242. <script src="../gongzi/js/vendor/FileSaver.js"></script>
  243. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  244. <script>document.write('<scri' + 'pt src="js/zhiban.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  245. <script src="../../AFrontEnd/js/special/spng.js"></script>
  246. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  247. </body>
  248. </html>