search.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. .pointer{
  14. cursor:pointer
  15. }
  16. .flows {
  17. min-width: 40px;
  18. margin: 2px 5px;
  19. cursor: pointer;
  20. text-align: center;
  21. display: inline-block;
  22. }
  23. </style>
  24. </head>
  25. <body ng-controller="listCtrl as ctl" ng-cloak>
  26. <div class="loading" ng-if="ctl.loading">
  27. <div class="loading-msg">
  28. <h3>数据加载中,请等待</h3>
  29. <div class="spinner">
  30. <div class="bounce1"></div>
  31. <div class="bounce2"></div>
  32. <div class="bounce3"></div>
  33. </div>
  34. </div>
  35. </div>
  36. <div>
  37. <div class="wrapper wrapper-content">
  38. <div class="row">
  39. <div class="col-md-12">
  40. <div class="ibox float-e-margins">
  41. <div class="ibox-content">
  42. <div class="row">
  43. <div class="col-md-12">
  44. <div class="sp-page-tab">
  45. <span ng-class="{'pageTabActive':ctl.type==1}" ng-click="ctl.changeType(1)">发文</span>
  46. <span ng-class="{'pageTabActive':ctl.type==2}" ng-click="ctl.changeType(2)">收文</span>
  47. </div>
  48. <div class="sp-page sp-mt-5">
  49. <div class="sp-page">
  50. <center class="sp-page sp-span1 pointer" ng-class="{'sp-color-blue':ctl.search.type==''}" ng-click="ctl.search.type='';ctl.getData()">不限</center>
  51. <center class="sp-page sp-span1 pointer" ng-class="{'sp-color-blue':ctl.search.type=='START'}" ng-click="ctl.search.type='START';ctl.getData()"><span ng-if="ctl.type==1">拟稿</span><span ng-if="ctl.type==2">进件</span></center>
  52. <center class="sp-page sp-span1 pointer" ng-class="{'sp-color-blue':ctl.search.type=='DEAL'}" ng-click="ctl.search.type='DEAL';ctl.getData()">待审</center>
  53. <center class="sp-page sp-span1 pointer" ng-class="{'sp-color-blue':ctl.search.type=='STOP'}" ng-click="ctl.search.type='STOP';ctl.getData()">办结</center>
  54. <span class="sp-btn-blue sp-btn-sm sp-pull-right sp-radius" ng-if="ctl.page=='DangAn'" onclick="window.location.href='../DangAn/index.html'">返回</span>
  55. <div class="sp-line-gray-dashed"></div>
  56. </div>
  57. <div class="sp-page sp-mb-5">
  58. <span class="sp-btn-gray sp-pull-right" ng-click="ctl.printOut()">导出</span>
  59. <span class="sp-btn-gray sp-pull-right toggle" onclick="showToggle()" style="width: 90px; text-align: center; display: none; ">收起</span>
  60. <span class="sp-btn-gray sp-pull-right toggle" onclick="showToggle()" style="width: 90px; text-align: center; ">高级查询</span>
  61. <input class="sp-input sp-span3 sp-pull-right" ng-model="ctl.search.title" placeholder="请输入公文标题" ng-change="ctl.getData()" style="background: url(../../AFrontEnd/css/icons/search/input_search.png) no-repeat right" />
  62. </div>
  63. <div class="sp-page toggle" style="display:none">
  64. <div class="sp-page">
  65. <div class="sp-col-10 sp-lh-18 sp-text-right">公文分类</div>
  66. <div class="sp-col-90">
  67. <div class="sp-col-5"><span class="flows" ng-class="{'sp-color-blue':ctl.search.gwtype==''}" ng-click="ctl.search.gwtype='';ctl.getData()">全部</span></div>
  68. <div class="sp-col-95">
  69. <span ng-repeat="item in ctl.flows" class="flows" ng-class="{'sp-color-blue':ctl.search.gwtype==item.flowid}" ng-click="ctl.search.gwtype=item.flowid;ctl.getData()" ng-bind="item.name"></span>
  70. </div>
  71. </div>
  72. <div class="sp-line-gray"></div>
  73. </div>
  74. <div class="sp-page">
  75. <div class="sp-col-10 sp-lh-26 sp-text-right">文号</div>
  76. <div class="sp-col-90">
  77. <input class="sp-input sp-span3" ng-if="ctl.type==1" ng-model="ctl.search.gwwh" placeholder="发文文号" ng-change="ctl.getData()" />
  78. <input class="sp-input sp-span3" ng-if="ctl.type==2" ng-model="ctl.search.gwwh" placeholder="收文文号" ng-change="ctl.getData()" />
  79. </div>
  80. <div class="sp-line-gray"></div>
  81. </div>
  82. <div class="sp-page" ng-if="ctl.type==1">
  83. <div class="sp-col-10 sp-lh-26 sp-text-right">拟稿人</div>
  84. <div class="sp-col-90">
  85. <input class="sp-input sp-span3" ng-model="ctl.search.ngr" placeholder="拟稿人" ng-change="ctl.getData()" />
  86. </div>
  87. <div class="sp-line-gray"></div>
  88. </div>
  89. <div class="sp-page" ng-if="ctl.type==2">
  90. <div class="sp-col-10 sp-lh-26 sp-text-right">来文单位</div>
  91. <div class="sp-col-90">
  92. <input class="sp-input sp-span3" ng-model="ctl.search.lwdw" placeholder="来文单位" ng-change="ctl.getData()" />
  93. </div>
  94. <div class="sp-line-gray"></div>
  95. </div>
  96. <div class="sp-page" ng-if="ctl.type==1">
  97. <div class="sp-col-10 sp-lh-26 sp-text-right">拟稿日期</div>
  98. <div class="sp-col-90">
  99. <span class="flows" ng-class="{'sp-color-blue':ctl.search.ngtype==0}" ng-click="ctl.changeNg(0)">全部</span>
  100. <span class="flows" ng-class="{'sp-color-blue':ctl.search.ngtype==1}" ng-click="ctl.changeNg(1)">近一周</span>
  101. <span class="flows" ng-class="{'sp-color-blue':ctl.search.ngtype==2}" ng-click="ctl.changeNg(2)">近一月</span>
  102. <span class="flows" ng-class="{'sp-color-blue':ctl.search.ngtype==3}" ng-click="ctl.changeNg(3)">近三月</span>
  103. <span class="flows" ng-class="{'sp-color-blue':ctl.search.ngtype==4}" ng-click="ctl.changeNg(4)">近半年</span>
  104. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.ngkssj" ng-change="ctl.getData()" />
  105. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.ngjssj" ng-change="ctl.getData()" />
  106. </div>
  107. <div class="sp-line-gray"></div>
  108. </div>
  109. <div class="sp-page" ng-if="ctl.type==2">
  110. <div class="sp-col-10 sp-lh-26 sp-text-right">来文日期</div>
  111. <div class="sp-col-90">
  112. <span class="flows" ng-class="{'sp-color-blue':ctl.search.lwtype==0}" ng-click="ctl.changeLw(0)">全部</span>
  113. <span class="flows" ng-class="{'sp-color-blue':ctl.search.lwtype==1}" ng-click="ctl.changeLw(1)">近一周</span>
  114. <span class="flows" ng-class="{'sp-color-blue':ctl.search.lwtype==2}" ng-click="ctl.changeLw(2)">近一月</span>
  115. <span class="flows" ng-class="{'sp-color-blue':ctl.search.lwtype==3}" ng-click="ctl.changeLw(3)">近三月</span>
  116. <span class="flows" ng-class="{'sp-color-blue':ctl.search.lwtype==4}" ng-click="ctl.changeLw(4)">近半年</span>
  117. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.lwkssj" ng-change="ctl.getData()" />
  118. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.lwjssj" ng-change="ctl.getData()" />
  119. </div>
  120. <div class="sp-line-gray"></div>
  121. </div>
  122. <div class="sp-page">
  123. <div class="sp-col-10 sp-lh-26 sp-text-right">办结日期</div>
  124. <div class="sp-col-90">
  125. <span class="flows" ng-class="{'sp-color-blue':ctl.search.bjtype==0}" ng-click="ctl.changeBj(0)">全部</span>
  126. <span class="flows" ng-class="{'sp-color-blue':ctl.search.bjtype==1}" ng-click="ctl.changeBj(1)">近一周</span>
  127. <span class="flows" ng-class="{'sp-color-blue':ctl.search.bjtype==2}" ng-click="ctl.changeBj(2)">近一月</span>
  128. <span class="flows" ng-class="{'sp-color-blue':ctl.search.bjtype==3}" ng-click="ctl.changeBj(3)">近三月</span>
  129. <span class="flows" ng-class="{'sp-color-blue':ctl.search.bjtype==4}" ng-click="ctl.changeBj(4)">近半年</span>
  130. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.bjkssj" ng-change="ctl.getData()" />
  131. <input type="text" class="sp-input laydate-logo" sp-laydate style="width: 150px; height: 28px" ng-model="ctl.search.bjjssj" ng-change="ctl.getData()" />
  132. </div>
  133. <div class="sp-line-gray"></div>
  134. </div>
  135. </div>
  136. </div>
  137. <div class="sp-page sp-mt-5" id="div_table_part" style="overflow-y:auto;">
  138. <table class="sp-table" id="printOut">
  139. <thead>
  140. <tr>
  141. <th style="width: 200px;">流程名称</th>
  142. <th>标题</th>
  143. <th ng-if="ctl.type==1">发文文号</th>
  144. <th ng-if="ctl.type==1">紧急程度</th>
  145. <th ng-if="ctl.type==1">拟稿部门</th>
  146. <th ng-if="ctl.type==1">拟稿人</th>
  147. <th ng-if="ctl.type==1">拟稿时间</th>
  148. <th ng-if="ctl.type==2">来文文号</th>
  149. <th ng-if="ctl.type==2">紧急情况</th>
  150. <th ng-if="ctl.type==2">来文单位</th>
  151. <th ng-if="ctl.type==2">密级</th>
  152. <th ng-if="ctl.type==2">来文日期</th>
  153. <th>当前状态</th>
  154. <th>办理节点</th>
  155. <th>当前办理人</th>
  156. <th>办结时间</th>
  157. </tr>
  158. </thead>
  159. <tbody>
  160. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  161. <td ng-bind="item.FLOWNAME"></td>
  162. <td ng-bind="item.TITLE" style="cursor:pointer" ng-click="ctl.goUrl(item)"></td>
  163. <td ng-if="ctl.type==1" ng-bind="item.FWWH"></td>
  164. <td ng-if="ctl.type==1" ng-bind="item.JJCDNAME"></td>
  165. <td ng-if="ctl.type==1" ng-bind="item.WH"></td>
  166. <td ng-if="ctl.type==1" ng-bind="item.NGR"></td>
  167. <td ng-if="ctl.type==1" ng-bind="item.NGSJ1"></td>
  168. <td ng-if="ctl.type==2" ng-bind="item.WH"></td>
  169. <td ng-if="ctl.type==2" ng-bind="item.JJCDNAME"></td>
  170. <td ng-if="ctl.type==2" ng-bind="item.LWDW"></td>
  171. <td ng-if="ctl.type==2" ng-bind="item.MJNAME"></td>
  172. <td ng-if="ctl.type==2" ng-bind="item.LWRQ1"></td>
  173. <td ng-bind="item.STATUS1"></td>
  174. <td ng-bind="item.ENDNODENAME"></td>
  175. <td ng-bind="item.USERNAME"></td>
  176. <td ng-bind="item.FINISHEDDATE"></td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  181. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  182. </div>
  183. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  184. <div class="sp-page-col sp-pull-right">
  185. <div class="sp-lh-34">
  186. 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  187. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
  188. </div>
  189. </div>
  190. <div class="sp-page-col sp-pull-right">
  191. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  192. on-page-change="ctl.getData(newPageNumber)">
  193. </dir-pagination-controls>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  206. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  207. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  208. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  209. <script src="../../apiurljs.js"></script>
  210. <script src="../../js/sm4.js"></script>
  211. <!-- 导出excel -->
  212. <script src="../gongzi/js/vendor/jquery.jqprint-0.3.js"></script>
  213. <script src="../gongzi/js/vendor/shim.min.js"></script>
  214. <script src="../gongzi/js/vendor/jszip.js"></script>
  215. <script src="../gongzi/js/vendor/xlsx.full.js"></script>
  216. <script src="../gongzi/js/vendor/Blob.js"></script>
  217. <script src="../gongzi/js/vendor/FileSaver.js"></script>
  218. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  219. <script>document.write('<scri' + 'pt src="js/search.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  220. <script src="../../AFrontEnd/js/special/spng.js"></script>
  221. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  222. </body>
  223. </html>