list.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. .lcItem {
  14. background-color: #fff;
  15. height: 100px;
  16. text-align: center;
  17. padding: 5px 0;
  18. margin: 10px 0;
  19. border-radius: 5px;
  20. border: 1px solid #E1E6EB;
  21. box-shadow: 0px 2px 5px #E1E6EB;
  22. position: relative;
  23. cursor: pointer;
  24. }
  25. .cbd {
  26. float: right;
  27. position: absolute;
  28. top: 1px;
  29. right: 1px;
  30. }
  31. .activeLC {
  32. background: #4678ec;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <div ng-controller="listCtrl as ctl" ng-cloak>
  38. <div class="loading" ng-if="ctl.loading">
  39. <div class="loading-msg">
  40. <h3>数据加载中,请等待</h3>
  41. <div class="spinner">
  42. <div class="bounce1"></div>
  43. <div class="bounce2"></div>
  44. <div class="bounce3"></div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="wrapper wrapper-content">
  49. <div class="row">
  50. <div class="col-md-12">
  51. <div class="ibox float-e-margins">
  52. <div class="ibox-content">
  53. <div class="row">
  54. <div class="col-md-12">
  55. <div class="sp-page-tab">
  56. <span ng-class="{'pageTabActive':ctl.type=='todo'}" style="font-weight: 900; " ng-click="ctl.changeType('todo')"><img src="img/db-black.png" width="20" ng-if="ctl.type!='todo'" style="position:relative;left:-10px" /><img src="img/db-blue.png" width="20" ng-if="ctl.type=='todo'" style="position:relative;left:-10px" /> 待&nbsp;办</span>
  57. <span ng-class="{'pageTabActive':ctl.type=='done'}" style="font-weight: 900; " ng-click="ctl.changeType('done')"><img src="img/yb-black.png" width="20" ng-if="ctl.type!='done'" style="position:relative;left:-10px" /><img src="img/yb-blue.png" width="20" ng-if="ctl.type=='done'" style="position:relative;left:-10px" /> 已&nbsp;办</span>
  58. <span ng-class="{'pageTabActive':ctl.type=='finish'}" style="font-weight: 900; " ng-click="ctl.changeType('finish')"><img src="img/gd-black.png" width="20" ng-if="ctl.type!='finish'" style="position:relative;left:-10px" /><img src="img/gd-blue.png" width="20" ng-if="ctl.type=='finish'" style="position:relative;left:-10px" /> 归&nbsp;档</span>
  59. <div class="sp-pull-right">
  60. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  61. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  62. </a>
  63. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.addLC()">
  64. <i class="fa fa-plus sp-mr-5"></i>新 建
  65. </a>
  66. <!--<a class="sp-pull-right sp-btn-gray" ng-click="ctl.openLayer()">
  67. <i class="fa fa-search sp-mr-5"></i>筛 选
  68. </a>-->
  69. </div>
  70. </div>
  71. <div class="sp-page">
  72. <table class="sp-table sp-mt-10">
  73. <thead>
  74. <tr>
  75. <th style="width: 50px;">
  76. <img src="img/deng.gif" title="控制灯" />
  77. </th>
  78. <th style="width: 200px;">流程名称</th>
  79. <th>编号</th>
  80. <th>文号</th>
  81. <th>标题</th>
  82. <th>紧急程度</th>
  83. <th>密级</th>
  84. <th>当前节点</th>
  85. <th>接收时间</th>
  86. <th class="sp-text-center" style="width: 180px;">操 作</th>
  87. </tr>
  88. </thead>
  89. <tbody>
  90. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  91. <td>
  92. <img src="img/red.png" ng-if="item.DENG=='RED'" />
  93. <img src="img/yellow.png" ng-if="item.DENG=='YELLOW'" />
  94. <img src="img/green.png" ng-if="item.DENG=='GREEN'" />
  95. </td>
  96. <td ng-bind="item.FLOWNAME"></td>
  97. <td ng-bind="item.APPCODE"></td>
  98. <td ng-bind="item.WH"></td>
  99. <td>
  100. <a href="{{item.FILEN}}" title="{{item.TITLE}}"
  101. ng-bind="item.TITLE" class="sp-color-blue"></a>
  102. </td>
  103. <td ng-bind="item.JJCD"></td>
  104. <td ng-bind="item.MIJI"></td>
  105. <td ng-bind="item.ENDNODENAME"></td>
  106. <td ng-bind="item.RECEIVEDATE"></td>
  107. <td class="sp-text-center">
  108. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type=='todo'">办&nbsp;理</button>
  109. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type!='todo'">查&nbsp;看</button>
  110. </td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  115. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  116. </div>
  117. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  118. <div class="sp-page-col sp-pull-right">
  119. <div class="sp-lh-34">
  120. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  121. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  122. </div>
  123. </div>
  124. <div class="sp-page-col sp-pull-right">
  125. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  126. on-page-change="ctl.getData(newPageNumber)">
  127. </dir-pagination-controls>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. <div class="sp-layer" id="addLC" style="width: 1020px;">
  139. <div class="sp-layer-head" style="background:#2176d6">
  140. <div class="sp-page sp-text-center sp-font16">
  141. 新建流程
  142. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  143. ×
  144. </div>
  145. </div>
  146. </div>
  147. <div class="sp-layer-body">
  148. <div class="sp-page" style="max-height:500px;overflow:auto">
  149. <div ng-repeat="item in ctl.lcList" class="sp-col-25" ng-class="{'activeLC':ctl.activeLC.FLOWID==item.FLOWID}" ng-click="ctl.activeLC=item">
  150. <div class="lcItem">
  151. <div class="sp-page" style="width:30%;padding:5px">
  152. <img src="img/addLC.png" width="45" />
  153. <div class="sp-page sp-mt-10">
  154. <span class="sp-btn-blue-outline" style="padding:2px 5px;margin:0" ng-click="ctl.seeLCT(item,$event)">流程图</span>
  155. </div>
  156. </div>
  157. <div class="sp-page" style="width:70%">
  158. <div class="sp-box">
  159. {{item.FLOWNAME}}
  160. <img class="cbd" src="img/cbd.png" />
  161. </div>
  162. <div class="sp-line-gray"></div>
  163. <div class="sp-page sp-color-gray sp-fs-12">
  164. 介绍:{{item.FLOWNAME}}
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="sp-page sp-text-center sp-mt-20">
  171. <a class="sp-btn-blue sp-radius" ng-click="ctl.goAddUrl()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  172. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  178. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  179. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  180. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  181. <script src="../../apiurljs.js"></script>
  182. <script src="../../js/sm4.js"></script>
  183. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  184. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  185. <script src="../../AFrontEnd/js/special/spng.js"></script>
  186. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  187. </body>
  188. </html>