list.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. <title>签报管理</title>
  6. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  7. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  10. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  11. <style>
  12. span.sp-color-red {
  13. position: relative;
  14. animation: move 0.5s infinite;
  15. }
  16. @keyframes move {
  17. /*开始状态*/
  18. 0% {
  19. top: 0;
  20. }
  21. /*过渡状态*/
  22. 50% {
  23. top: -2px;
  24. }
  25. /*结束状态*/
  26. 100% {
  27. top: 0;
  28. }
  29. }
  30. .lcItem {
  31. background-color: #fff;
  32. height: 100px;
  33. text-align: center;
  34. padding: 5px 0;
  35. margin: 10px 0;
  36. border-radius: 5px;
  37. border: 1px solid #E1E6EB;
  38. box-shadow: 0px 2px 5px #E1E6EB;
  39. position: relative;
  40. cursor: pointer;
  41. }
  42. .cbd {
  43. float: right;
  44. position: absolute;
  45. top: 1px;
  46. right: 1px;
  47. }
  48. .activeLC {
  49. background: #4678ec;
  50. }
  51. </style>
  52. </head>
  53. <body>
  54. <div ng-controller="listCtrl as ctl" ng-cloak>
  55. <div class="loading" ng-if="ctl.loading">
  56. <div class="loading-msg">
  57. <h3>数据加载中,请等待</h3>
  58. <div class="spinner">
  59. <div class="bounce1"></div>
  60. <div class="bounce2"></div>
  61. <div class="bounce3"></div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="wrapper wrapper-content">
  66. <div class="row">
  67. <div class="col-md-12">
  68. <div class="ibox float-e-margins">
  69. <div class="ibox-content">
  70. <div class="row">
  71. <div class="col-md-12">
  72. <div class="sp-page-tab">
  73. <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>
  74. <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>
  75. <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>
  76. <div class="sp-pull-right">
  77. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  78. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  79. </a>
  80. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.lcList.length>0" ng-click="ctl.addLC()">
  81. <i class="fa fa-plus sp-mr-5"></i>新 建
  82. </a>
  83. <a class="sp-pull-right sp-btn-gray" ng-click="ctl.openLayer()">
  84. <i class="fa fa-search sp-mr-5"></i>筛 选
  85. </a>
  86. </div>
  87. </div>
  88. <div class="sp-page">
  89. <table class="sp-table sp-mt-10">
  90. <thead>
  91. <tr>
  92. <th style="width: 50px;">
  93. <img src="img/deng.gif" title="控制灯" />
  94. </th>
  95. <th><span class="pointer" ng-click="ctl.sortFiled('TITLE')">标题<i class="fa fa-sort"></i></span></th>
  96. <th><span class="pointer" ng-click="ctl.sortFiled('CSDW')">处室(单位)<i class="fa fa-sort"></i></span></th>
  97. <th><span class="pointer" ng-click="ctl.sortFiled('LXDH')">联系电话<i class="fa fa-sort"></i></span></th>
  98. <th><span class="pointer" ng-click="ctl.sortFiled('RECEIVEDATE')">上一节点转办时间<i class="fa fa-sort"></i></span></th>
  99. <th class="sp-text-center" style="width: 180px;">操 作</th>
  100. </tr>
  101. </thead>
  102. <tbody>
  103. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  104. <td>
  105. <img src="img/red.png" ng-if="item.DENG=='RED'" />
  106. <img src="img/yellow.png" ng-if="item.DENG=='YELLOW'" />
  107. <img src="img/green.png" ng-if="item.DENG=='GREEN'" />
  108. </td>
  109. <td>
  110. <a ng-click="ctl.goUrl(item)" title="{{item.TITLE}}"
  111. ng-bind="item.TITLE" class="sp-color-blue"></a>
  112. <span class="sp-color-red" ng-if="item.STATUS==1">未读</span>
  113. </td>
  114. <td ng-bind="item.CSDW"></td>
  115. <td ng-bind="item.LXDH"></td>
  116. <td ng-bind="item.RECEIVEDATE"></td>
  117. <td class="sp-text-center">
  118. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type=='todo'">办&nbsp;理</button>
  119. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type!='todo'">查&nbsp;看</button>
  120. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item)" ng-if="item.STATUS=='0'">删&nbsp;除</button>
  121. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.USERS[0].ROUTEID,'0')" ng-if="(item.DMANS>0&&item.DMANSHADDONE==0)&&ctl.type=='done'">撤&nbsp;回</button>
  122. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.ROUTEID,'1')" ng-if="(item.DMANS==0&&item.STATUS=='4')&&ctl.type=='done'">撤回已阅</button>
  123. </td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  128. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  129. </div>
  130. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  131. <div class="sp-page-col sp-pull-right">
  132. <div class="sp-lh-34">
  133. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  134. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  135. </div>
  136. </div>
  137. <div class="sp-page-col sp-pull-right">
  138. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  139. on-page-change="ctl.getData(newPageNumber)">
  140. </dir-pagination-controls>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. <div class="sp-layer" id="addLC" style="width: 1020px;">
  152. <div class="sp-layer-head" style="background:#2176d6">
  153. <div class="sp-page sp-text-center sp-font16">
  154. 新建流程
  155. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  156. ×
  157. </div>
  158. </div>
  159. </div>
  160. <div class="sp-layer-body">
  161. <div class="sp-page" style="max-height:500px;overflow:auto">
  162. <div ng-repeat="item in ctl.lcList" class="sp-col-25" ng-class="{'activeLC':ctl.activeLC.FLOWID==item.FLOWID}" ng-click="ctl.activeLC=item">
  163. <div class="lcItem">
  164. <div class="sp-page" style="width:30%;padding:5px">
  165. <img src="img/addLC.png" width="45" />
  166. <div class="sp-page sp-mt-10">
  167. <span class="sp-btn-blue-outline" style="padding:2px 5px;margin:0" ng-click="ctl.seeLCT(item,$event)">流程图</span>
  168. </div>
  169. </div>
  170. <div class="sp-page" style="width:70%">
  171. <div class="sp-box">
  172. {{item.FLOWNAME}}
  173. <img class="cbd" src="img/cbd.png" />
  174. </div>
  175. <div class="sp-line-gray"></div>
  176. <div class="sp-page sp-color-gray sp-fs-12">
  177. 介绍:{{item.FLOWNAME}}
  178. </div>
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="sp-page sp-text-center sp-mt-20">
  184. <a class="sp-btn-blue sp-radius" ng-click="ctl.goAddUrl()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  185. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  186. </div>
  187. </div>
  188. </div>
  189. <div class="sp-layer" id="Search" style="width: 550px;">
  190. <div class="sp-layer-head" style="background:#2176d6">
  191. <div class="sp-page sp-text-center sp-font16">
  192. 筛选
  193. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  194. ×
  195. </div>
  196. </div>
  197. </div>
  198. <div class="sp-layer-body">
  199. <table class="sp-grid-job">
  200. <tbody>
  201. <tr>
  202. <td style="width:120px;">流程名称</td>
  203. <td colspan="2">
  204. <label class="sp-col-25 sp-text-left" title="{{item.NAME}}" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer" ng-repeat="item in ctl.flowids">
  205. <input type="checkbox" ng-model="item.checked" />&nbsp;{{item.NAME}}
  206. </label>
  207. </td>
  208. </tr>
  209. <tr>
  210. <td style="width:120px;">标题</td>
  211. <td colspan="2">
  212. <input type="text" class="sp-input" placeholder="请输入标题" ng-model="ctl.search.BT" />
  213. </td>
  214. </tr>
  215. <tr>
  216. <td style="width:120px;">人员名称</td>
  217. <td colspan="2">
  218. <input type="text" class="sp-input" placeholder="请输入人员名称" ng-model="ctl.search.USER" />
  219. </td>
  220. </tr>
  221. <tr>
  222. <td style="width:120px;">时间</td>
  223. <td>
  224. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.DATE1" />
  225. </td>
  226. <td>
  227. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.DATE2" />
  228. </td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. <div class="sp-page sp-text-center sp-mt-20">
  233. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  234. <a class="sp-btn-blue sp-radius" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
  235. </div>
  236. </div>
  237. </div>
  238. <div class="sp-layer" id="todolist" style="width: 750px;">
  239. <div class="sp-layer-head" style="background:#2176d6">
  240. <div class="sp-page sp-text-center sp-font16">
  241. {{ctl.todoTitle}}
  242. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  243. ×
  244. </div>
  245. </div>
  246. </div>
  247. <div class="sp-layer-body">
  248. <div class="sp-box" style="max-height:500px;overflow:auto">
  249. <table class="sp-table">
  250. <thead>
  251. <tr>
  252. <th>来自节点</th>
  253. <th>我的位置</th>
  254. <th>最近时间</th>
  255. <th>操作</th>
  256. </tr>
  257. </thead>
  258. <tbody>
  259. <tr ng-repeat="item in ctl.todoList">
  260. <td>{{item.STARTNODENAME}}<br />{{item.USERNAMEFROM}}</td>
  261. <td ng-bind="item.ENDNODENAME"></td>
  262. <td ng-bind="item.RECEIVEDATE"></td>
  263. <td>
  264. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)">办&nbsp;理</button>
  265. </td>
  266. </tr>
  267. </tbody>
  268. </table>
  269. </div>
  270. <div class="sp-page sp-text-center sp-mt-20">
  271. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  272. </div>
  273. </div>
  274. </div>
  275. </div>
  276. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  277. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  278. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  279. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  280. <script src="../../apiurljs.js"></script>
  281. <script src="../../js/sm4.js"></script>
  282. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  283. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  284. <script src="../../AFrontEnd/js/special/spng.js"></script>
  285. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  286. </body>
  287. </html>