yuguidang.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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"
  6. content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  7. <title>归档审批单</title>
  8. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  11. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/js/jquery/jquery-ui.css" rel="stylesheet" />
  13. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <style>
  16. .sp-table tbody td {
  17. border: none;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  23. <div class="wrapper wrapper-content">
  24. <div class="row">
  25. <div class="sp-page-col" style="position: absolute; right: 50px; top: 15px;" ng-if="ctl.lastReturn=='list'">
  26. <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSave()" style="font-size: 13px;" ng-show="ctl.show==1">
  27. 保存
  28. </button>
  29. <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSaveFiles()" style="font-size: 13px;" ng-show="ctl.show==2">
  30. 保存
  31. </button>
  32. <button class="sp-btn-blue sp-radius" ng-click="ctl.send()" style="font-size: 13px;" ng-show="ctl.show==3&&(ctl.data.STATUS==0||ctl.data.STATUS==2)">
  33. 发送
  34. </button>
  35. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.show==2" ng-click="ctl.show=1">
  36. 上一步
  37. </button>
  38. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.show==3" ng-click="ctl.show=2">
  39. 上一步
  40. </button>
  41. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.data.ID!=0&&ctl.show==1" ng-click="ctl.show=2">
  42. 下一步
  43. </button>
  44. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-click="ctl.goBack()">
  45. 返回
  46. </button>
  47. </div>
  48. <div class="sp-page-center" ng-show="ctl.show==1">
  49. <center class="sp-page" style="position:relative">
  50. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%; ">1</span>
  51. <span style="cursor: pointer; margin-left: 10px; color: #1c84c6;">案卷信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  52. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%; " ng-click="ctl.show=2">2</span>
  53. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=2">文件信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  54. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%;" ng-click="ctl.show=3">3</span>
  55. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=3">归档文件</span>
  56. </center>
  57. <div style="height:654px">
  58. <table class="sp-table formedit" style="border:none">
  59. <tr>
  60. <td width="150">全&nbsp;&nbsp;宗</td>
  61. <td>
  62. <input type="text" class="sp-input" ng-model="ctl.data.FONDS_CODE" readonly />
  63. </td>
  64. <td>分类号</td>
  65. <td>
  66. <input type="text" class="sp-input" ng-model="ctl.data.SERIES_CODE" readonly />
  67. </td>
  68. </tr>
  69. <tr>
  70. <td>年&nbsp;&nbsp;度</td>
  71. <td>
  72. <input type="text" class="sp-input laydate-logp" sp-laydate laytype="year" ng-model="ctl.data.YEAR_CODE" ng-change="ctl.setDangHao()" sp-required />
  73. </td>
  74. <td>保管期限</td>
  75. <td>
  76. <select class="sp-select" ng-model="ctl.data.RETENTION_PERIOD" ng-change="ctl.setDangHao()" sp-required>
  77. <option value="D10">10年</option>
  78. <option value="D30">30年</option>
  79. <option value="Y">永久</option>
  80. </select>
  81. </td>
  82. </tr>
  83. <tr>
  84. <td>题&nbsp;&nbsp;名</td>
  85. <td colspan="3">
  86. <input type="text" class="sp-input" ng-model="ctl.data.TITLE_PROPER" sp-required />
  87. </td>
  88. </tr>
  89. <tr>
  90. <td>文&nbsp;&nbsp;号</td>
  91. <td>
  92. <input type="text" class="sp-input" ng-model="ctl.data.FILE_CODE" readonly />
  93. </td>
  94. <td>文件日期</td>
  95. <td>
  96. <input type="text" class="sp-input laydate-logp" sp-laydate ng-model="ctl.data.DATE_OF_CREATION" />
  97. </td>
  98. </tr>
  99. <tr>
  100. <td>档案号</td>
  101. <td>
  102. <input type="text" class="sp-input" ng-model="ctl.data.OFFICE_ARCHIVAL_CODE" readonly />
  103. </td>
  104. <td>件&nbsp;&nbsp;号</td>
  105. <td>
  106. <input type="number" class="sp-input" ng-model="ctl.data.ITEM_NO" min="1" max="9999" ng-change="ctl.setDangHao()" />
  107. </td>
  108. </tr>
  109. <tr>
  110. <td>电子全文数</td>
  111. <td>
  112. <input type="text" class="sp-input" ng-model="ctl.data.ITEM_COUNT" readonly />
  113. </td>
  114. <td>页&nbsp;&nbsp;数</td>
  115. <td>
  116. <input type="number" class="sp-input" ng-model="ctl.data.AMOUNT_OF_PAGES" readonly />
  117. </td>
  118. </tr>
  119. <tr>
  120. <td>责任者</td>
  121. <td>
  122. <input type="text" class="sp-input" ng-model="ctl.data.AUTHOR" readonly />
  123. </td>
  124. <td>归档部门</td>
  125. <td>
  126. <input type="text" class="sp-input" ng-model="ctl.data.FILING_DEPT" readonly />
  127. </td>
  128. </tr>
  129. </table>
  130. </div>
  131. <center ng-if="!ctl.lastReturn" style="line-height:28px">
  132. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnSave()" style="font-size: 13px;">
  133. 保存
  134. </button>
  135. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
  136. 关闭
  137. </button>
  138. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.data.ID!=0" ng-click="ctl.show=2">
  139. 下一步
  140. </button>
  141. </center>
  142. </div>
  143. <div class="sp-page" ng-show="ctl.show==2">
  144. <center class="sp-page">
  145. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%; " ng-click="ctl.show=1">1</span>
  146. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=1">案卷信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  147. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%;">2</span>
  148. <span style="cursor: pointer; margin-left: 10px; color: #1c84c6;">文件信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  149. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%;" ng-click="ctl.show=3">3</span>
  150. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=3">归档文件</span>
  151. </center>
  152. <div style="width: 100%;height: 280px;overflow:auto">
  153. <table class="sp-table">
  154. <thead>
  155. <tr>
  156. <th width="100">序号</th>
  157. <th>文件名</th>
  158. <th width="150">日期</th>
  159. <th width="200">
  160. 操作
  161. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5">
  162. <span class="upload-tip"></span>
  163. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
  164. <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
  165. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  166. </span>
  167. </th>
  168. </tr>
  169. </thead>
  170. <tbody id="table_tbody">
  171. <tr ng-repeat="item in ctl.guidangList" index="{{$index+1}}" data-col="{{item.ID}}">
  172. <td ng-bind="$index+1"></td>
  173. <td ng-bind="item.FILENAMES" style="cursor:pointer" ng-click="ctl.seeFiles(item,2)"></td>
  174. <td ng-bind="item.FILEDATE"></td>
  175. <td>
  176. <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.guidangList.length>1" ng-disabled="$index==0" ng-click="ctl.sortUp($index)">上移</button>
  177. <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.guidangList.length>1" ng-disabled="$index==ctl.guidangList.length-1" ng-click="ctl.sortDown($index)">下移</button>
  178. <button class="sp-btn-red sp-btn-sm" ng-click="ctl.delFile(item)">移除</button>
  179. </td>
  180. </tr>
  181. </tbody>
  182. </table>
  183. </div>
  184. <div style="width: 100%; height: 280px; overflow: auto">
  185. <table class="sp-table">
  186. <thead>
  187. <tr>
  188. <th width="100">序号</th>
  189. <th>文件名</th>
  190. <th width="150">日期</th>
  191. <th width="200">操作</th>
  192. </tr>
  193. </thead>
  194. <tbody>
  195. <tr ng-repeat="item in ctl.fileList" ng-if="item.show">
  196. <td ng-bind="$index+1"></td>
  197. <td ng-bind="item.WENJIANMING" style="cursor:pointer" ng-click="ctl.seeFiles(item,3)"></td>
  198. <td ng-bind="item.RIQI"></td>
  199. <td>
  200. <span class="sp-btn-blue sp-btn-sm" ng-click="ctl.addFile(item)">添加</span>
  201. </td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. </div>
  206. <center style="line-height:28px;position:relative">
  207. <div class="sp-page" style="width:300px;position: absolute ;left: 10px;font-size:14px">
  208. <div class="sp-col-35">归档章<br />位&nbsp;置</div>
  209. <div class="sp-col-65">
  210. <div class="sp-pull-left sp-page-col" style="width: 150px;">
  211. 是否启用
  212. <input type="checkbox" ng-model="ctl.gdzFlag" ng-change="ctl.changeGDZ()" />
  213. </div>
  214. <div class="sp-pull-left sp-page-col" style="width: 150px;">
  215. 上边距
  216. <input type="text" placeholder="上边距" style="width: calc(100% - 70px); height: 20px" ng-disabled="!ctl.gdzFlag" class="sp-input" ng-model="ctl.data.ZHANGTOP" />
  217. </div>
  218. <div class="sp-pull-left sp-page-col" style="width: 150px; ">
  219. 左边距
  220. <input type="text" placeholder="左边距" style="width: calc(100% - 70px); height: 20px" ng-disabled="!ctl.gdzFlag" class="sp-input" ng-model="ctl.data.ZHANGLEFT" />
  221. </div>
  222. </div>
  223. </div>
  224. <button style="font-size: 13px; position: absolute; left: 300px" class="sp-btn-blue sp-btn-sm sp-radius" ng-show="ctl.data.ID!=0" ng-click="ctl.MergeByFile()">
  225. 合并文件
  226. </button>
  227. <div ng-if="!ctl.lastReturn">
  228. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnSaveFiles()" style="font-size: 13px;">
  229. 保存
  230. </button>
  231. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
  232. 关闭
  233. </button>
  234. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.show=1">
  235. 上一步
  236. </button>
  237. </div>
  238. </center>
  239. </div>
  240. <div class="sp-page" ng-show="ctl.show==3">
  241. <center class="sp-page">
  242. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%; " ng-click="ctl.show=1">1</span>
  243. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=1">案卷信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  244. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%;" ng-click="ctl.show=2">2</span>
  245. <span style="cursor: pointer; margin-left: 10px;" ng-click="ctl.show=2">文件信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
  246. <span style="cursor: pointer; margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%;">3</span>
  247. <span style="cursor: pointer; margin-left: 10px; color: #1c84c6;">归档文件</span>
  248. </center>
  249. <div style="width: 100%; height: 600px;float:left">
  250. <center ng-bind="ctl.data.STATUS1"></center>
  251. <iframe src="" frameborder="0" style="width:100%;height:550px" id="filesId"></iframe>
  252. </div>
  253. <center ng-if="!ctl.lastReturn" style="line-height:28px">
  254. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.send()" ng-if="ctl.data.STATUS==0||ctl.data.STATUS==2" style="font-size: 13px;">
  255. 发送
  256. </button>
  257. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
  258. 关闭
  259. </button>
  260. <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.show=2">
  261. 上一步
  262. </button>
  263. </center>
  264. </div>
  265. </div>
  266. </div>
  267. </div>
  268. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  269. <script src="../../AFrontEnd/js/jquery/jquery-ui-1.10.4.min.js"></script>
  270. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  271. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  272. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  273. <script src="../../apiurljs.js"></script>
  274. <script src="../../js/sm4.js"></script>
  275. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  276. <script>document.write('<scri' + 'pt src="js/yuguidang.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  277. <!--<script src="../../js/watermark.js"></script>-->
  278. <script src="../../AFrontEnd/js/special/spng.js"></script>
  279. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  280. <!--附件-->
  281. <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  282. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  283. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  284. </body>
  285. </html>