list.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. .selectNow {
  13. background-color: #008a94;
  14. color: #fff !important;
  15. }
  16. .selectNow:hover {
  17. background-color: #008a94;
  18. color: #fff !important;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <div ng-controller="listCtrl as ctl" ng-cloak>
  24. <div class="loading" ng-if="ctl.loading">
  25. <div class="loading-msg">
  26. <h3>数据加载中,请等待</h3>
  27. <div class="spinner">
  28. <div class="bounce1"></div>
  29. <div class="bounce2"></div>
  30. <div class="bounce3"></div>
  31. </div>
  32. </div>
  33. </div>
  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" ng-if="ctl.searchFlag==false">
  41. <div class="sp-page" style="width:600px;position:absolute;top:100px;left:50%;transform:translateX(-50%)" ng-keydown="ctl.keyLogin()">
  42. <input type="text" class="sp-input" style="height: 40px; line-height: 40px" ng-model="ctl.search.keyword" placeholder="请输入关键字" />
  43. <input type="text" class="sp-input sp-mt-10 laydate-logo" style="height: 40px;line-height: 40px" sp-laydate ng-model="ctl.search.startdate" />
  44. <input type="text" class="sp-input sp-mt-10 laydate-logo" style="height: 40px;line-height: 40px" sp-laydate ng-model="ctl.search.enddate" />
  45. <div class="sp-page sp-mt-10 sp-text-center">
  46. <button class="sp-btn-blue sp-radius" style="width:30%;padding:5px 10%;text-align:justify;text-align-last:justify" ng-click="ctl.doSearch()">搜索</button>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="col-md-12" ng-if="ctl.searchFlag==true">
  51. <div class="sp-page-tab">
  52. <div class="sp-pull-left">
  53. <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-class="{'selectNow':ctl.selectOa == 'New'}" style="margin: 0;border-radius:0px;border-bottom-left-radius: 10px;border-top-left-radius: 10px;border-right: 1px solid #fff;" ng-click="ctl.toNew()">
  54. 新版OA
  55. </a>
  56. <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-class="{'selectNow':ctl.selectOa == 'Old'}" style="margin: 0;border-radius:0px;border-bottom-right-radius: 10px;border-top-right-radius: 10px;margin-right: 15px;" ng-click="ctl.toOld()">
  57. 旧版OA
  58. </a>
  59. </div>
  60. <div class="sp-page-col">
  61. <div class="sp-page-title" style="margin:7px 0;">
  62. 公文查询
  63. </div>
  64. </div>
  65. <div class="sp-pull-right">
  66. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  67. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  68. </a>
  69. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openSearch()">
  70. <i class="fa fa-search sp-mr-5"></i>查 询
  71. </a>
  72. </div>
  73. </div>
  74. <div ng-if="ctl.selectOa=='New'" class="sp-page">
  75. <table class="sp-table sp-mt-10">
  76. <thead>
  77. <tr>
  78. <th>流程</th>
  79. <th width="400">标题</th>
  80. <th>发起时间</th>
  81. <th>状态</th>
  82. <th>在办人</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  87. <td ng-bind="item.FLOWNAME"></td>
  88. <td>
  89. <div class="sp-page" style="max-width:400px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">
  90. <a ng-bind="item.TITLE" ng-click="ctl.goUrl(item)"></a>
  91. </div>
  92. </td>
  93. <td ng-bind="item.APPDATE"></td>
  94. <td ng-bind="item.STATUSINFO_CN"></td>
  95. <td ng-bind="item.userStr"></td>
  96. <!-- <td><span ng-bind="item.accessoryName" ng-click="ctl.goUrl(item)"></span></td> -->
  97. </tr>
  98. </tbody>
  99. </table>
  100. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  101. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  102. </div>
  103. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  104. <div class="sp-page-col sp-pull-right">
  105. <div class="sp-lh-34">
  106. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  107. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  108. </div>
  109. </div>
  110. <div class="sp-page-col sp-pull-right">
  111. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  112. on-page-change="ctl.getDataNew(newPageNumber)">
  113. </dir-pagination-controls>
  114. </div>
  115. </div>
  116. </div>
  117. <div ng-if="ctl.selectOa=='Old'" class="sp-page">
  118. <table class="sp-table sp-mt-10">
  119. <thead>
  120. <tr>
  121. <th>发起人</th>
  122. <th>发起时间</th>
  123. <th width="400">标题</th>
  124. <th width="800">内容</th>
  125. <th>类型</th>
  126. </tr>
  127. </thead>
  128. <tbody>
  129. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  130. <td ng-bind="item.startMember"></td>
  131. <td ng-bind="item.createDate"></td>
  132. <td>
  133. <div class="sp-page" style="max-width:400px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">
  134. <a ng-bind="item.title" ng-click="ctl.goUrl(item)"></a>
  135. </div>
  136. </td>
  137. <td ng-bind-html="item.summary|trustHtml"></td>
  138. <td ng-bind="item.appType_cn"></td>
  139. <!-- <td><span ng-bind="item.accessoryName" ng-click="ctl.goUrl(item)"></span></td> -->
  140. </tr>
  141. </tbody>
  142. </table>
  143. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  144. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  145. </div>
  146. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  147. <div class="sp-page-col sp-pull-right">
  148. <div class="sp-lh-34">
  149. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  150. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  151. </div>
  152. </div>
  153. <div class="sp-page-col sp-pull-right">
  154. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  155. on-page-change="ctl.getDataOld(newPageNumber)">
  156. </dir-pagination-controls>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. <div class="sp-layer" id="SearchOld" style="width: 550px;">
  168. <div class="sp-layer-head" style="background:#2176d6">
  169. <div class="sp-page sp-text-center sp-font16">
  170. 查询
  171. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  172. ×
  173. </div>
  174. </div>
  175. </div>
  176. <div class="sp-layer-body">
  177. <table class="sp-grid-job">
  178. <tbody>
  179. <tr>
  180. <td style="width:120px;">关键字</td>
  181. <td>
  182. <input type="text" class="sp-input" ng-model="ctl.search.keyword" />
  183. </td>
  184. </tr>
  185. <tr>
  186. <td style="width:120px;">发起时间</td>
  187. <td>
  188. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.startdate" />
  189. </td>
  190. </tr>
  191. <tr>
  192. <td style="width:120px;">结束时间</td>
  193. <td>
  194. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.enddate" />
  195. </td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. <div class="sp-page sp-text-center sp-mt-20">
  200. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  201. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-refresh sp-mr-5"></i>关 闭</a>
  202. </div>
  203. </div>
  204. </div>
  205. <div class="sp-layer" id="SearchNew" style="width: 550px;">
  206. <div class="sp-layer-head" style="background:#2176d6">
  207. <div class="sp-page sp-text-center sp-font16">
  208. 查询
  209. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  210. ×
  211. </div>
  212. </div>
  213. </div>
  214. <div class="sp-layer-body">
  215. <table class="sp-grid-job">
  216. <tbody>
  217. <tr>
  218. <td style="width:120px;">标题</td>
  219. <td>
  220. <input type="text" class="sp-input" ng-model="ctl.search.title" />
  221. </td>
  222. </tr>
  223. <tr>
  224. <td style="width:120px;">来文单位</td>
  225. <td>
  226. <input type="text" class="sp-input" ng-model="ctl.search.lwdw" />
  227. </td>
  228. </tr>
  229. <tr>
  230. <td style="width:120px;">发起时间</td>
  231. <td>
  232. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.startdate_" />
  233. </td>
  234. </tr>
  235. <tr>
  236. <td style="width:120px;">结束时间</td>
  237. <td>
  238. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.enddate_" />
  239. </td>
  240. </tr>
  241. </tbody>
  242. </table>
  243. <div class="sp-page sp-text-center sp-mt-20">
  244. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  245. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-refresh sp-mr-5"></i>关 闭</a>
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  251. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  252. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  253. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  254. <script src="../../apiurljs.js"></script>
  255. <script src="../../js/sm4.js"></script>
  256. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  257. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  258. <script src="../../AFrontEnd/js/special/spng.js"></script>
  259. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  260. </body>
  261. </html>