taizhang.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. #table thead tr th {
  14. font-size: 20px;
  15. font-weight: 600;
  16. background: #e0e0e0;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div ng-controller="taizhangCtrl as ctl" ng-cloak>
  22. <div class="loading" ng-if="ctl.loading">
  23. <div class="loading-msg">
  24. <h3>数据加载中,请等待</h3>
  25. <div class="spinner">
  26. <div class="bounce1"></div>
  27. <div class="bounce2"></div>
  28. <div class="bounce3"></div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="wrapper wrapper-content">
  33. <div class="row">
  34. <div class="col-md-12">
  35. <div class="ibox float-e-margins">
  36. <div class="ibox-content">
  37. <div class="row">
  38. <div class="col-md-12">
  39. <div class="sp-page-tab">
  40. <div class="sp-page-tab">
  41. <span ng-class="{'pageTabActive':ctl.type1st==1}" style="font-weight: 900;width:150px " ng-click="ctl.type1st=1;ctl.getData1(1)">行政规范性文件台账{{ctl.pageno1}}</span>
  42. <span ng-class="{'pageTabActive':ctl.type1st==2}" style="font-weight: 900; " ng-click="ctl.type1st=2;ctl.getData2(1)">文件清理{{ctl.pageno2}}</span>
  43. <div class="sp-pull-right">
  44. <!--<a class="sp-pull-right sp-btn-gray sp-btn-radius" href="list.html">
  45. <i class="fa fa-reply sp-mr-5"></i>返 回
  46. </a>-->
  47. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type1st==1" ng-click="ctl.printOut()">
  48. <i class="fa fa-sign-out sp-mr-5"></i>导 出
  49. </a>
  50. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  51. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  52. </a>
  53. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.lcList.length>0&&ctl.type1st==2" ng-click="ctl.addLC()">
  54. <i class="fa fa-plus sp-mr-5"></i>新 建
  55. </a>
  56. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openLayer()">
  57. <i class="fa fa-search sp-mr-5"></i>筛 选
  58. </a>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="sp-page">
  63. <div class="sp-page-tab" ng-if="ctl.type1st==2">
  64. <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>
  65. <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>
  66. <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>
  67. </div>
  68. <table class="sp-grid-import sp-mt-10" id="table">
  69. <thead>
  70. <tr ng-if="ctl.type1st==1">
  71. <th>文号</th>
  72. <th>文件名称</th>
  73. <th>文件施行日期</th>
  74. <th>文件到期日期</th>
  75. <!--<th>临期天数</th>-->
  76. <th>责任处室</th>
  77. </tr>
  78. <tr ng-if="ctl.type1st==2">
  79. <th style="width: 50px;">
  80. <img src="../../flowchart_app_imgcss/img/deng.png" title="控制灯" />
  81. </th>
  82. <th style="width: 200px;">流程名称</th>
  83. <th>编号</th>
  84. <th>标题</th>
  85. <th>类型</th>
  86. <th>发布部门</th>
  87. <th>发布人</th>
  88. <th>当前节点</th>
  89. <th>接收时间</th>
  90. <th class="sp-text-center" style="width: 180px;">操 作</th>
  91. </tr>
  92. </thead>
  93. <tbody>
  94. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count" ng-style="item.LQTS" repeat-finish>
  95. <td ng-if="ctl.type1st==1" ng-bind="item.WH"></td>
  96. <td ng-if="ctl.type1st==1"><a ng-bind="item.WJBT" ng-click="ctl.goUrl(item)"></a></td>
  97. <td ng-if="ctl.type1st==1" ng-bind="item.WJSXRQ"></td>
  98. <td ng-if="ctl.type1st==1" ng-bind="item.WJDQRQ"></td>
  99. <td ng-if="ctl.type1st==1" ng-bind="item.ZRCS"></td>
  100. <td ng-if="ctl.type1st==2">
  101. <img src="../../flowchart_app_imgcss/img/purple.png" ng-if="item.DENG=='BLACK'" />
  102. <img src="../../flowchart_app_imgcss/img/red.png" ng-if="item.DENG=='RED'" />
  103. <img src="../../flowchart_app_imgcss/img/yellow.png" ng-if="item.DENG=='YELLOW'" />
  104. <img src="../../flowchart_app_imgcss/img/green.png" ng-if="item.DENG=='GREEN'" />
  105. </td>
  106. <td ng-if="ctl.type1st==2" ng-bind="item.FLOWNAME"></td>
  107. <td ng-if="ctl.type1st==2" ng-bind="item.APPCODE"></td>
  108. <td ng-if="ctl.type1st==2">
  109. <a ng-click="ctl.goUrl1(item)" title="{{item.TITLE}}"
  110. ng-bind="item.TITLE" class="sp-color-blue"></a>
  111. <span class="sp-color-red" ng-if="item.STATUS==1">未读</span>
  112. </td>
  113. <td ng-if="ctl.type1st==2" ng-bind="item.LX"></td>
  114. <td ng-if="ctl.type1st==2" ng-bind="item.FBBM"></td>
  115. <td ng-if="ctl.type1st==2" ng-bind="item[item.CODETABLE+'.FBR']"></td>
  116. <td ng-if="ctl.type1st==2" ng-bind="item.ENDNODENAME"></td>
  117. <td ng-if="ctl.type1st==2" ng-bind="item.RECEIVEDATE"></td>
  118. <td ng-if="ctl.type1st==2" class="sp-text-center">
  119. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl1(item)" ng-if="ctl.type=='todo'">办&nbsp;理</button>
  120. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl1(item)" ng-if="ctl.type!='todo'">查&nbsp;看</button>
  121. <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item)" ng-if="item.STATUS=='0'">删&nbsp;除</button>
  122. <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')&&ctl.type=='done'">撤&nbsp;回</button>
  123. </td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <div class="sp-table-tip ng-hide" ng-show="ctl.list.length == 0">
  128. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  129. </div>
  130. <div class="sp-page" ng-show="ctl.list.length != 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); $event.stopPropagation()">
  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="../flowchart_app_imgcss/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. <img class="cbd" src="../flowchart_app_imgcss/img/cbd.png" />
  172. <div class="sp-box" style="width:90%">
  173. {{item.FLOWNAME}}
  174. </div>
  175. <div class="sp-line-gray"></div>
  176. <div class="sp-page sp-color-gray sp-fs-12" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" title="{{item.FLOWNAME}}">
  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" ng-if="ctl.type1st==1">
  200. <tbody>
  201. <tr>
  202. <td style="width:120px;">文件名称</td>
  203. <td>
  204. <input type="text" class="sp-input" ng-model="ctl.search.WJBT" />
  205. </td>
  206. </tr>
  207. <tr>
  208. <td style="width:120px;">文号</td>
  209. <td>
  210. <input type="text" class="sp-input" ng-model="ctl.search.WH" />
  211. </td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. <table class="sp-grid-job" ng-if="ctl.type1st==2">
  216. <tbody>
  217. <tr>
  218. <td style="width:120px;">流程名称</td>
  219. <td colspan="2">
  220. <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">
  221. <input type="checkbox" ng-model="item.checked" />&nbsp;{{item.NAME}}
  222. </label>
  223. </td>
  224. </tr>
  225. <tr>
  226. <td style="width:120px;">标题</td>
  227. <td colspan="2">
  228. <input type="text" class="sp-input" placeholder="请输入标题" ng-model="ctl.search.BT" />
  229. </td>
  230. </tr>
  231. <tr>
  232. <td style="width:120px;">人员名称</td>
  233. <td colspan="2">
  234. <input type="text" class="sp-input" placeholder="请输入人员名称" ng-model="ctl.search.USER" />
  235. </td>
  236. </tr>
  237. <tr>
  238. <td style="width:120px;">时间</td>
  239. <td>
  240. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.DATE1" />
  241. </td>
  242. <td>
  243. <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.DATE2" />
  244. </td>
  245. </tr>
  246. </tbody>
  247. </table>
  248. <div class="sp-page sp-text-center sp-mt-20">
  249. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  250. <a class="sp-btn-blue sp-radius" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  256. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  257. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  258. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  259. <script src="../../../apiurljs.js"></script>
  260. <script src="../../../js/sm4.js"></script>
  261. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  262. <script>document.write('<scri' + 'pt src="js/taizhang.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  263. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  264. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  265. <!-- 导出excel -->
  266. <script src="../../gongzi/js/vendor/jquery.jqprint-0.3.js"></script>
  267. <script src="../../gongzi/js/vendor/shim.min.js"></script>
  268. <script src="../../gongzi/js/vendor/jszip.js"></script>
  269. <script src="../../gongzi/js/vendor/xlsx.full.js"></script>
  270. <script src="../../gongzi/js/vendor/Blob.js"></script>
  271. <script src="../../gongzi/js/vendor/FileSaver.js"></script>
  272. </body>
  273. </html>