list.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. .table-body-left::-webkit-scrollbar {
  14. width:0;
  15. height:0;
  16. }
  17. </style>
  18. </head>
  19. <body ng-controller="listCtrl as ctl" ng-cloak>
  20. <div class="loading" ng-if="ctl.loading">
  21. <div class="loading-msg">
  22. <h3>数据加载中,请等待</h3>
  23. <div class="spinner">
  24. <div class="bounce1"></div>
  25. <div class="bounce2"></div>
  26. <div class="bounce3"></div>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="wrapper wrapper-content">
  31. <div class="row">
  32. <div class="col-md-12">
  33. <div class="ibox float-e-margins">
  34. <div class="ibox-content">
  35. <div class="row">
  36. <div class="col-md-12">
  37. <div class="sp-page sp-mb-5 sp-text-right">
  38. <button class="sp-btn-blue sp-radius" onclick="sp.layer('#DpList')">筛选</button>
  39. </div>
  40. <div class="sp-page" style="position:relative">
  41. <div class="sp-page table-head-left" style="width: 450px; height: 58px; overflow: hidden; position: absolute; left: 0; top: 0; z-index: 1; ">
  42. <table class="sp-table">
  43. <thead>
  44. <tr>
  45. <th width="50">序号</th>
  46. <th width="80">人员</th>
  47. <th width="100">处室</th>
  48. <th width="100">职务<br />(职级)</th>
  49. <th width="120">工作岗位<br />(职责)</th>
  50. </tr>
  51. </thead>
  52. </table>
  53. </div>
  54. <div class="sp-page table-head-right" style="width: calc(100% - 466px); height: 58px; overflow: hidden; position: absolute; left: 450px; top: 0; z-index: 1; ">
  55. <table class="sp-table">
  56. <thead>
  57. <tr>
  58. <th ng-repeat="item in ctl.thead" style="line-height:40px"><div ng-bind="item.CNAME"></div></th>
  59. </tr>
  60. </thead>
  61. <tbody>
  62. <tr ng-repeat="item in ctl.list">
  63. <td ng-repeat="item1 in ctl.thead">
  64. <div>
  65. <div style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" ng-repeat="item2 in item[item1.PKID]" title="{{item2}}" ng-bind="item2"></div>
  66. </div>
  67. </td>
  68. </tr>
  69. </tbody>
  70. </table>
  71. </div>
  72. <div class="sp-page table-body-left" style="width: 450px; overflow: auto; position: absolute; left: 0; top: 0; " onscroll="scrollTableL()">
  73. <table class="sp-table">
  74. <thead>
  75. <tr>
  76. <th width="50">序号</th>
  77. <th width="80">人员</th>
  78. <th width="100">处室</th>
  79. <th width="100">职务<br />(职级)</th>
  80. <th width="120">工作岗位<br />(职责)</th>
  81. <th ng-repeat="item in ctl.thead" ng-bind="item.CNAME" style="line-height:40px"></th>
  82. </tr>
  83. </thead>
  84. <tbody>
  85. <tr ng-repeat="item in ctl.list">
  86. <td><div style="width:34px" ng-bind="$index+1"></div></td>
  87. <td><div style="width:64px" title="{{item.USHOWNAME}}" ng-bind="item.USHOWNAME"></div></td>
  88. <td><div style="width:84px" title="{{item.SECTION}}" ng-bind="item.SECTION"></div></td>
  89. <td><div style="width:84px" title="{{item.DUTYNAME}}" ng-bind="item.DUTYNAME"></div></td>
  90. <td><div style="width:104px" title="{{item.STATION}}" ng-bind="item.STATION"></div></td>
  91. <td ng-repeat="item1 in ctl.thead">
  92. <div>
  93. <div style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" ng-repeat="item2 in item[item1.PKID]" title="{{item2}}" ng-bind="item2"></div>
  94. </div>
  95. </td>
  96. </tr>
  97. </tbody>
  98. </table>
  99. </div>
  100. <div class="sp-page table-body-right" style="width: calc(100% - 450px); overflow: auto; position: absolute; left: 450px; top: 0; " onscroll="scrollTableR()">
  101. <table class="sp-table">
  102. <thead>
  103. <tr>
  104. <th ng-repeat="item in ctl.thead" ng-bind="item.CNAME" style="line-height:40px"></th>
  105. </tr>
  106. </thead>
  107. <tbody>
  108. <tr ng-repeat="item in ctl.list">
  109. <td ng-repeat="item1 in ctl.thead" ng-style="item.style">
  110. <div>
  111. <div style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" ng-repeat="item2 in item[item1.PKID]" title="{{item2}}" ng-bind="item2"></div>
  112. </div>
  113. </td>
  114. </tr>
  115. </tbody>
  116. </table>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="sp-layer" id="DpList" style="width: 900px;">
  127. <div class="sp-layer-head" style="background:#2176d6">
  128. <div class="sp-page sp-text-center sp-font16">
  129. 部门列表
  130. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  131. ×
  132. </div>
  133. </div>
  134. </div>
  135. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  136. <div class="sp-page" style="height:290px;overflow:auto">
  137. <div class="sp-page">
  138. <div class="sp-col-25 sp-mb-10" ng-repeat="item in ctl.dpList">
  139. <button class="sp-btn-blue sp-btn-sm sp-radius" style="width:75%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis" ng-bind="item.SECTION" title="{{item.SECTION}}" ng-click="ctl.checkDpItem(item)"></button>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="sp-page sp-text-center sp-pt-10">
  144. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  145. </div>
  146. </div>
  147. </div>
  148. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  149. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  150. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  151. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  152. <script src="../../apiurljs.js"></script>
  153. <script src="../../js/sm4.js"></script>
  154. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  155. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  156. <script src="../../AFrontEnd/js/special/spng.js"></script>
  157. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  158. </body>
  159. </html>