list.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. span.sp-color-red {
  14. position: relative;
  15. animation: move 0.5s infinite;
  16. }
  17. @keyframes move {
  18. /*开始状态*/
  19. 0% {
  20. top: 0;
  21. }
  22. /*过渡状态*/
  23. 50% {
  24. top: -2px;
  25. }
  26. /*结束状态*/
  27. 100% {
  28. top: 0;
  29. }
  30. }
  31. .lcItem {
  32. background-color: #fff;
  33. height: 100px;
  34. text-align: center;
  35. padding: 5px 0;
  36. margin: 10px 0;
  37. border-radius: 5px;
  38. border: 1px solid #E1E6EB;
  39. box-shadow: 0px 2px 5px #E1E6EB;
  40. position: relative;
  41. cursor: pointer;
  42. }
  43. .cbd {
  44. float: right;
  45. position: absolute;
  46. top: 1px;
  47. right: 1px;
  48. }
  49. .activeLC {
  50. background: #4678ec;
  51. color:#fff
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <div ng-controller="listCtrl as ctl" ng-cloak>
  57. <div class="loading" ng-if="ctl.loading">
  58. <div class="loading-msg">
  59. <h3>数据加载中,请等待</h3>
  60. <div class="spinner">
  61. <div class="bounce1"></div>
  62. <div class="bounce2"></div>
  63. <div class="bounce3"></div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="wrapper wrapper-content">
  68. <div class="row">
  69. <div class="col-md-12">
  70. <div class="ibox float-e-margins">
  71. <div class="ibox-content">
  72. <div class="row">
  73. <div class="col-md-12">
  74. <div class="sp-page-tab">
  75. <span ng-class="{'pageTabActive':ctl.type=='todo'}" style="font-weight: 900; " ng-click="ctl.changeType('todo')"><img src="../flowchart_app_imgcss/img/db-black.png" width="20" ng-if="ctl.type!='todo'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/db-blue.png" width="20" ng-if="ctl.type=='todo'" style="position:relative;left:-10px" /> 待&nbsp;办</span>
  76. <span ng-class="{'pageTabActive':ctl.type=='done'}" style="font-weight: 900; " ng-click="ctl.changeType('done')"><img src="../flowchart_app_imgcss/img/yb-black.png" width="20" ng-if="ctl.type!='done'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/yb-blue.png" width="20" ng-if="ctl.type=='done'" style="position:relative;left:-10px" /> 已&nbsp;办</span>
  77. <span ng-class="{'pageTabActive':ctl.type=='finish'}" style="font-weight: 900; " ng-click="ctl.changeType('finish')"><img src="../flowchart_app_imgcss/img/gd-black.png" width="20" ng-if="ctl.type!='finish'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/gd-blue.png" width="20" ng-if="ctl.type=='finish'" style="position:relative;left:-10px" /> 办&nbsp;结</span>
  78. <div class="sp-pull-right">
  79. <a class="sp-pull-right sp-btn-gray sp-btn-radius" href="index.html">
  80. <i class="fa fa-reply sp-mr-5"></i>返 回
  81. </a>
  82. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  83. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  84. </a>
  85. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.lcList.length>0" ng-click="ctl.addLC()">
  86. <i class="fa fa-plus sp-mr-5"></i>新 建
  87. </a>
  88. <a class="sp-pull-right sp-btn-gray" ng-click="ctl.openLayer()">
  89. <i class="fa fa-search sp-mr-5"></i>筛 选
  90. </a>
  91. </div>
  92. </div>
  93. <div class="sp-page">
  94. <table class="sp-table sp-mt-10">
  95. <thead>
  96. <tr>
  97. <th style="width: 50px;">
  98. <img src="../flowchart_app_imgcss/img/deng.png" title="控制灯" />
  99. </th>
  100. <th style="width: 200px;">流程名称</th>
  101. <th>编号</th>
  102. <th>标题</th>
  103. <th>归档业务</th>
  104. <th>归档处室</th>
  105. <th>当前节点</th>
  106. <th>接收时间</th>
  107. <th class="sp-text-center" style="width: 180px;">操 作</th>
  108. </tr>
  109. </thead>
  110. <tbody>
  111. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  112. <td>
  113. <img src="../flowchart_app_imgcss/img/purple.png" ng-if="item.DENG=='BLACK'" />
  114. <img src="../flowchart_app_imgcss/img/red.png" ng-if="item.DENG=='RED'" />
  115. <img src="../flowchart_app_imgcss/img/yellow.png" ng-if="item.DENG=='YELLOW'" />
  116. <img src="../flowchart_app_imgcss/img/green.png" ng-if="item.DENG=='GREEN'" />
  117. <!--<span ng-if="item.MARKDELAY!=''" style="width: 22px; height: 22px; border: 1px solid #FF0000; border-radius: 15px; color: #FF0000; cursor: pointer; display: inline-block; font-size: 12px; line-height: 18px">延</span>-->
  118. <!--<span ng-if="item.MARKSTOP!=''" style="width: 22px; height: 22px; border: 1px solid #FF0000; border-radius: 15px; color: #FF0000; cursor: pointer; display: inline-block; font-size: 12px; line-height: 18px">停</span>-->
  119. </td>
  120. <td ng-bind="item.FLOWNAME"></td>
  121. <td ng-bind="item.APPCODE"></td>
  122. <td>
  123. <a href="{{item.FILEN}}" title="{{item.TITLE}}"
  124. ng-bind="item.TITLE" class="sp-color-blue"></a>
  125. <span class="sp-color-red" ng-if="item.STATUS==1">未读</span>
  126. </td>
  127. <td ng-bind="item[item.CODETABLE+'.LC']"></td>
  128. <td ng-bind="item[item.CODETABLE+'.GDCS']"></td>
  129. <td ng-bind="item.ENDNODENAME"></td>
  130. <td ng-bind="item.RECEIVEDATE"></td>
  131. <td class="sp-text-center">
  132. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type=='todo'">办&nbsp;理</button>
  133. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type!='todo'">查&nbsp;看</button>
  134. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item)" ng-if="item.STATUS=='0'">删&nbsp;除</button>
  135. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.USERS[0].ROUTEID)" ng-if="(item.USERS[0].STATUS=='1'||item.USERS[0].STATUS=='2'||item.STATUS=='4')&&ctl.type=='done'">撤&nbsp;回</button>
  136. </td>
  137. </tr>
  138. </tbody>
  139. </table>
  140. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  141. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  142. </div>
  143. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  144. <div class="sp-page-col sp-pull-right">
  145. <div class="sp-lh-34">
  146. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  147. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  148. </div>
  149. </div>
  150. <div class="sp-page-col sp-pull-right">
  151. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  152. on-page-change="ctl.getData(newPageNumber)">
  153. </dir-pagination-controls>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. <div class="sp-layer" id="addLC" style="width: 1020px;">
  165. <div class="sp-layer-head" style="background:#2176d6">
  166. <div class="sp-page sp-text-center sp-font16">
  167. 新建归档审批
  168. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  169. ×
  170. </div>
  171. </div>
  172. </div>
  173. <div class="sp-layer-body">
  174. <div class="sp-page">
  175. <div class="sp-col-15" style="padding:10px;max-height: 500px; overflow: auto; border: 1px solid #E1E6EB">
  176. <div class="sp-box" ng-class="{'activeLC':ctl.active.FLOWID==item.FLOWID}" style="cursor:pointer;text-indent:1em" ng-repeat="item in ctl.FlowList" ng-click="ctl.seeLC(item)" ng-bind="item.FLOWNAME"></div>
  177. </div>
  178. <div class="sp-col-85" style="height:500px;overflow:auto">
  179. <table class="sp-table">
  180. <thead>
  181. <tr>
  182. <th width="50">序号</th>
  183. <th>标题</th>
  184. <th width="200">结束日期</th>
  185. </tr>
  186. </thead>
  187. <tbody>
  188. <tr ng-repeat="item in ctl.GuiDangList" style="cursor:pointer"ng-click="ctl.addItem=item">
  189. <td ng-bind="$index+1"></td>
  190. <td>{{item.TITLE}}<i class="fa fa-check" ng-if="ctl.addItem.ROUTEINFOID==item.ROUTEINFOID"></i></td>
  191. <td ng-bind="item.FINISHEDDATE"></td>
  192. </tr>
  193. </tbody>
  194. </table>
  195. </div>
  196. </div>
  197. <div class="sp-page sp-text-center sp-mt-20">
  198. <a class="sp-btn-blue sp-radius" ng-click="ctl.goAddUrl()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  199. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="sp-layer" id="Search" style="width: 550px;">
  204. <div class="sp-layer-head" style="background:#2176d6">
  205. <div class="sp-page sp-text-center sp-font16">
  206. 筛选
  207. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  208. ×
  209. </div>
  210. </div>
  211. </div>
  212. <div class="sp-layer-body">
  213. <table class="sp-grid-job">
  214. <tbody>
  215. <tr>
  216. <td style="width:120px;">标题</td>
  217. <td colspan="2">
  218. <input type="text" class="sp-input" placeholder="请输入标题" ng-model="ctl.search.BT" />
  219. </td>
  220. </tr>
  221. <tr>
  222. <td style="width:120px;">人员名称</td>
  223. <td colspan="2">
  224. <input type="text" class="sp-input" placeholder="请输入人员名称" ng-model="ctl.search.USER" />
  225. </td>
  226. </tr>
  227. <tr>
  228. <td style="width:120px;">时间</td>
  229. <td>
  230. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.DATE1" />
  231. </td>
  232. <td>
  233. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.DATE2" />
  234. </td>
  235. </tr>
  236. </tbody>
  237. </table>
  238. <div class="sp-page sp-text-center sp-mt-20">
  239. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  240. <a class="sp-btn-blue sp-radius" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
  241. </div>
  242. </div>
  243. </div>
  244. </div>
  245. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  246. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  247. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  248. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  249. <script src="../../apiurljs.js"></script>
  250. <script src="../../js/sm4.js"></script>
  251. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  252. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  253. <script src="../../AFrontEnd/js/special/spng.js"></script>
  254. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  255. </body>
  256. </html>