list.html 17 KB

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