list2.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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. <link href="../../AFrontEnd/js/jquery/jquery-ui.css" rel="stylesheet" />
  12. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. <style>
  14. tr.check {
  15. background: #F9F9FA;
  16. }
  17. .pointer {
  18. cursor:pointer
  19. }
  20. .Item {
  21. background: #c6c6c6;
  22. color: #000;
  23. cursor: pointer;
  24. border: 1px solid #fff;
  25. padding: 3px;
  26. }
  27. .Choose {
  28. background: #1c84c6;
  29. color: #fff;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div ng-controller="listCtrl as ctl" ng-cloak>
  35. <div class="loading" ng-if="ctl.loading">
  36. <div class="loading-msg">
  37. <h3>数据加载中,请等待</h3>
  38. <div class="spinner">
  39. <div class="bounce1"></div>
  40. <div class="bounce2"></div>
  41. <div class="bounce3"></div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="wrapper wrapper-content">
  46. <div class="row">
  47. <div class="col-md-12">
  48. <div class="ibox float-e-margins">
  49. <div class="ibox-content">
  50. <div class="row">
  51. <div class="col-md-12">
  52. <div class="sp-page-tab">
  53. <span ng-class="{'pageTabActive':ctl.type==1}" ng-click="ctl.changeType(1)">未整理</span>
  54. <span ng-class="{'pageTabActive':ctl.type==2}" ng-click="ctl.changeType(2)">已整理</span>
  55. <div class="sp-pull-right">
  56. <a class="sp-pull-right sp-btn-gray sp-btn-radius" href="index.html">
  57. <i class="fa fa-reply sp-mr-5"></i>返 回
  58. </a>
  59. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
  60. <i class="fa fa-refresh sp-mr-5"></i>刷 新
  61. </a>
  62. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==2" ng-click="ctl.btnSubmit()">
  63. <i class="fa fa-file sp-mr-5"></i>提 交
  64. </a>
  65. <!--<a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.hebing()">
  66. <i class="fa fa-file sp-mr-5"></i>合 并
  67. </a>-->
  68. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.gdz()">
  69. <i class="fa fa-file sp-mr-5"></i>归档章
  70. </a>
  71. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.danghao()">
  72. <i class="fa fa-file sp-mr-5"></i>档 号
  73. </a>
  74. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.pailie(0)">
  75. <i class="fa fa-sort sp-mr-5"></i>排 列
  76. </a>
  77. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openSearchLayer()">
  78. <i class="fa fa-search sp-mr-5"></i>查 询
  79. </a>
  80. </div>
  81. <div class="sp-pull-right" style="line-height:30px">
  82. <input type="text" class="sp-input sp-pull-left sp-mr-10 laydate-logo" ng-model="ctl.search.archyear" sp-laydate laytype="year" style="width:200px" />
  83. <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="10年" ng-model="ctl.search.mijiqixian" />10年</label>
  84. <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="30年" ng-model="ctl.search.mijiqixian" />30年</label>
  85. <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="永久" ng-model="ctl.search.mijiqixian" />永久</label>
  86. </div>
  87. </div>
  88. <div class="sp-page">
  89. <table class="sp-table sp-mt-10">
  90. <thead>
  91. <tr>
  92. <th width="30"><input type="checkbox" ng-model="ctl.listChecked" ng-change="ctl.changeListCheck()" /></th>
  93. <th width="50">序号</th>
  94. <th width="300">档号</th>
  95. <th>标题</th>
  96. <th width="200">分类</th>
  97. <th width="100">保管期限</th>
  98. <th width="180">操 作</th>
  99. </tr>
  100. </thead>
  101. <tbody>
  102. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.search.itemsPerPage" total-items="ctl.total_count" ng-class="{'check':item.checked==true}" ng-click="ctl.changeCheck(item,2)">
  103. <td><input type="checkbox" ng-model="item.checked" ng-change="ctl.changeCheck(item,1)" /></td>
  104. <td ng-bind="(ctl.pageno-1)*ctl.search.itemsPerPage+($index+1)"></td>
  105. <td ng-bind="item.ARCHCODE"></td>
  106. <td>
  107. <a ng-if="item.SENDSTATUS == 1" ng-click="ctl.toHref('formedt',item,1)"
  108. title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
  109. <a ng-if="item.SENDSTATUS == 3" ng-click="ctl.toHref('submitdetail',item,2)"
  110. title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
  111. <a ng-if="item.SENDSTATUS == 4" ng-click="ctl.hbEdti(item)"
  112. title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
  113. </td>
  114. <td ng-bind="item.DOCUMENTTYPE"></td>
  115. <td ng-bind="item.MIJIQIXIAN"></td>
  116. <td class="sp-text-center">
  117. <button class="sp-btn-green sp-btn-sm sp-radius" ng-if="ctl.type == 1" ng-click="ctl.toHref('formedt',item,1)">查&nbsp;看</button>
  118. <button class="sp-btn-green sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 3" ng-click="ctl.toHref('submitdetail',item,2)">查&nbsp;看</button>
  119. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 4" ng-click="ctl.hbEdti(item)">编&nbsp;辑</button>
  120. <!--<button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.type == 2" ng-click="ctl.toHref('danghao',item.ROUTEINFOID,1)">档号整理</button>-->
  121. <button class="sp-btn-red sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 1&&(item.ARCHCODE==null||item.ARCHCODE=='')" ng-click="ctl.btnReturn(1,item.ROUTEINFOID)">退&nbsp;回</button>
  122. </td>
  123. </tr>
  124. </tbody>
  125. </table>
  126. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  127. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  128. </div>
  129. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  130. <div class="sp-page-col sp-pull-right">
  131. <div class="sp-lh-34">
  132. 每页 <select ng-model="ctl.search.itemsPerPage" ng-options="x for x in ctl.pageOptions"></select> 条
  133. </div>
  134. </div>
  135. <div class="sp-page-col sp-pull-right">
  136. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  137. on-page-change="ctl.getData(newPageNumber,ctl.type)">
  138. </dir-pagination-controls>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. <div class="sp-layer" id="search" style="width:450px;">
  150. <div class="sp-layer-head" style="background:#2176d6">
  151. <div class="sp-page sp-text-center sp-font16">
  152. 查&nbsp;&nbsp;询
  153. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  154. ×
  155. </div>
  156. </div>
  157. </div>
  158. <div class="sp-layer-body">
  159. <div class="sp-box">
  160. <table class="sp-table">
  161. <tr>
  162. <td style="width:100px">标&nbsp;&nbsp;题</td>
  163. <td>
  164. <input type="text" class="sp-input" ng-model="ctl.search.title" />
  165. </td>
  166. </tr>
  167. <!--<tr>
  168. <td>保管期限</td>
  169. <td>
  170. <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="" ng-model="ctl.search.mijiqixian" />全部</label>
  171. <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="10年" ng-model="ctl.search.mijiqixian" />10年</label>
  172. <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="30年" ng-model="ctl.search.mijiqixian" />30年</label>
  173. <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="永久" ng-model="ctl.search.mijiqixian" />永久</label>
  174. </td>
  175. </tr>-->
  176. </table>
  177. </div>
  178. <div class="sp-page sp-text-center sp-pt-10">
  179. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnSearch()"><i class="fa fa-check sp-mr-5"></i>确 认</a>
  180. <a class="sp-btn-blue sp-radius" ng-click="ctl.closeSeach()"><i class="fa fa-reply-all sp-mr-5"></i>重 置</a>
  181. </div>
  182. </div>
  183. </div>
  184. <div class="sp-layer" id="backopinion" style="width:450px;">
  185. <div class="sp-layer-head" style="background:#2176d6">
  186. <div class="sp-page sp-text-center sp-font16">
  187. 退回意见
  188. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  189. ×
  190. </div>
  191. </div>
  192. </div>
  193. <div class="sp-layer-body">
  194. <div class="sp-box">
  195. <table class="sp-table">
  196. <tr>
  197. <td style="width:100px">退回理由</td>
  198. <td>
  199. <textarea class="sp-textarea" rows="3" style="resize:none" ng-model="ctl.back.opinion"></textarea>
  200. </td>
  201. </tr>
  202. </table>
  203. </div>
  204. <div class="sp-page sp-text-center sp-pt-10">
  205. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnReturn(2)"><i class="fa fa-check sp-mr-5"></i>提 交</a>
  206. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"></i>取 消</a>
  207. </div>
  208. </div>
  209. </div>
  210. <div class="sp-layer" id="pailie" style="width:800px;">
  211. <div class="sp-layer-head" style="background:#2176d6">
  212. <div class="sp-page sp-text-center sp-font16">
  213. 排&nbsp;&nbsp;列
  214. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('#pailie')">
  215. ×
  216. </div>
  217. </div>
  218. </div>
  219. <div class="sp-layer-body">
  220. <!--<center class="sp-col-33 Item" ng-click="ctl.pailie(1)">10年</center>
  221. <center class="sp-col-33 Item" ng-click="ctl.pailie(2)">30年</center>
  222. <center class="sp-col-33 Item" ng-click="ctl.pailie(3)">永久</center>-->
  223. <div class="sp-box" style="max-height:500px;overflow:auto">
  224. <table class="sp-table">
  225. <thead>
  226. <tr>
  227. <th width="100">件号</th>
  228. <th width="200">文号</th>
  229. <th>标题</th>
  230. <!--<th width="300">操作</th>-->
  231. </tr>
  232. </thead>
  233. <tbody id="table_tbody">
  234. <tr ng-repeat="item in ctl.list1" index="{{item.JIANHAO}}" data-col="{{item.ID}}">
  235. <td ng-bind="item.JIANHAO"></td>
  236. <td ng-bind="item.WENHAO"></td>
  237. <td ng-bind="item.DOCTITLE"></td>
  238. <!--<td>
  239. <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index==0" ng-click="ctl.Top(item,$index)">置顶</button>
  240. <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index==0" ng-click="ctl.Up(item,$index)">上移</button>
  241. <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index+1==ctl.list1.length" ng-click="ctl.Down(item,$index)">下移</button>
  242. <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index+1==ctl.list1.length" ng-click="ctl.Bottom(item,$index)">置底</button>
  243. </td>-->
  244. </tr>
  245. </tbody>
  246. </table>
  247. </div>
  248. <div class="sp-page sp-text-center sp-pt-10">
  249. <a class="sp-btn-blue sp-radius" ng-click="ctl.closePai()"><i class="fa fa-check sp-mr-5"></i>确 认</a>
  250. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('#pailie')"><i class="fa fa-reply-all 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/jquery/jquery-ui-1.10.4.min.js"></script>
  257. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  258. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  259. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  260. <script src="../../apiurljs.js"></script>
  261. <script src="../../js/sm4.js"></script>
  262. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  263. <script>document.write('<scri' + 'pt src="js/list2.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  264. <script src="../../AFrontEnd/js/special/spng.js"></script>
  265. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  266. </body>
  267. </html>