formedit.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. <script>document.write("<link href='../../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. </head>
  14. <body>
  15. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  16. <div class="wrapper wrapper-content">
  17. <div class="row">
  18. <div class="col-md-12">
  19. <div class="ibox float-e-margins">
  20. <div class="ibox-content">
  21. <div class="row">
  22. <div class="col-md-12">
  23. <div class="sp-box sp-bg-white">
  24. <div class="sp-page-col sp-ml-15 topPart">
  25. <a ng-repeat="item in ctl.SwenList" class="SwenBtn" href="{{item.TEMPFORM}}">
  26. {{item.VNAME}}
  27. <i ng-if="ctl.Title==item.VNAME" class="fa fa-check sp-color-blue"></i>
  28. </a>
  29. <strong style="color:red;line-height:44px" ng-bind="ctl.data.ARCHCODE"></strong>
  30. </div>
  31. <div class="sp-page-col sp-pull-right btn-box">
  32. <a class="sp-md sp-radius" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}"ng-repeat="item in ctl.buttonList" ng-click="ctl.btnEvent(item)" ng-if="ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
  33. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  34. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  35. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  36. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  37. {{item.CNAME}}
  38. </a>
  39. <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
  40. <i class="fa fa-reply sp-mr-5"></i>返 回
  41. </a>
  42. </div>
  43. </div>
  44. <div class="sp-page-center" style="width: 1000px; line-height: 30px">
  45. <table class="sp-table">
  46. <!--<tr>
  47. <td style="width:150px;">电子档案文件夹名称</td>
  48. <td colspan="3">
  49. <span ng-model="ctl.data.DOCTITLE"></span>
  50. </td>
  51. </tr>-->
  52. <tr>
  53. <td width="150">年&nbsp;&nbsp;度</td>
  54. <td width="350"><input type="text" class="sp-input laydate-logo" sp-laydate laytype="year" ng-model="ctl.data.ARCHYEAR" /></td>
  55. <td width="150">归档部门</td>
  56. <td width="350">
  57. <select class="sp-select" ng-model="ctl.data.ORGANIZATIONMA">
  58. <option ng-repeat="item in ctl.GDBM" ng-bind="item.SECTION" value="{{item.CODE}}"></option>
  59. </select>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>文&nbsp;&nbsp;号</td>
  64. <td><input type="text" class="sp-input" ng-model="ctl.data.WENHAO" /></td>
  65. <td>保管期限</td>
  66. <td>
  67. <select class="sp-select" ng-model="ctl.data.MIJIQIXIAN">
  68. <option value="10年">10年</option>
  69. <option value="30年">30年</option>
  70. <option value="永久">永久</option>
  71. </select>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td>档案门类</td>
  76. <td><input type="text" class="sp-input" ng-model="ctl.data.DANGANML" readonly /></td>
  77. </tr>
  78. <tr>
  79. <td>题&nbsp;&nbsp;名</td>
  80. <td colspan="3">
  81. <input type="text" class="sp-input" ng-model="ctl.data.DOCTITLE" />
  82. </td>
  83. </tr>
  84. <tr>
  85. <td>责任者</td>
  86. <td><input type="text" class="sp-input" ng-model="ctl.data.ZRZ" /></td>
  87. <td>日&nbsp;&nbsp;期</td>
  88. <td><input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.DOCISSUEDDATE" /></td>
  89. </tr>
  90. <tr>
  91. <td>件&nbsp;&nbsp;号</td>
  92. <td><input type="text" class="sp-input" ng-model="ctl.data.JIANHAO" readonly /></td>
  93. <td>页&nbsp;&nbsp;数</td>
  94. <td><input type="text" class="sp-input" ng-model="ctl.data.YESHU" /></td>
  95. </tr>
  96. <tr>
  97. <td>处室意见</td>
  98. <td colspan="3">
  99. <div ng-if="ctl.opinion.CSYJ==false">
  100. <div class="sp-page" style="min-height: 210px;">
  101. <table class="sp-grid sp-mb-5">
  102. <tr ng-repeat="item in ctl.YJ.CSYJ" class="qianzi">
  103. <td>
  104. <div class="sp-page">
  105. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  106. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  107. <div class="sp-page">
  108. <div class="sp-col-75">
  109. <div ng-repeat="item in item.FILEDATA" style="width: 135px; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  110. <a ng-click="ctl.downLoadOption(item)" title="下载">
  111. <i class="fa fa-download sp-color-red"></i>
  112. </a>
  113. <a ng-click="ctl.deleteOptionFile(item,'CSYJ')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  114. <i class="fa fa-trash sp-color-red"></i>
  115. </a>
  116. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  117. </div>
  118. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.CSYJ==false&&ctl.dotype==1&&item.COLID=='CSYJ'">
  119. <span class="opbtn" style="position: relative; color: #1c84c6">
  120. <span class="upload-tip"></span>
  121. <input id="fileupload-CSYJ" class="upload-file-single" ng-click="ctl.upload2('CSYJ')" type="file" name="files[]" multiple>
  122. <i class="fa fa-upload"></i>
  123. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  124. </span>
  125. </div>
  126. </div>
  127. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  128. <span ng-bind="item.CMANNAME"></span>
  129. <span ng-bind="item.CDATE"></span>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="sp-page sp-text-right">
  134. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  135. ng-click="ctl.Dopinion('CSYJ')">
  136. <i class="fa fa-trash-o fa-lg"></i>
  137. </div>
  138. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  139. ng-click="ctl.changeOpinionItem('CSYJ',item)">
  140. <i class="fa fa-pencil fa-lg"></i>
  141. </div>
  142. </div>
  143. </td>
  144. </tr>
  145. </table>
  146. </div>
  147. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.CSYJSTATUS==false" style="color: #1EADFF"
  148. ng-hide="ctl.hide('readonly','CSYJ')" ng-click="ctl.openOpinion('CSYJ')">
  149. <i class="fa fa-pencil fa-lg"></i>
  150. </span>
  151. </div>
  152. <div ng-if="ctl.opinion.CSYJ==true||ctl.opinion.CSYJImg==true">
  153. <textarea id="CSYJ" class="op-textarea sp-mb-10" ng-model="ctl.data.CSYJ" ng-if="ctl.opinion.CSYJ==true&&ctl.opinion.CSYJImg==false"></textarea>
  154. <div ng-if="ctl.opinion.CSYJImg==true">
  155. <div id="CSYJQZ" class="canvas"></div>
  156. </div>
  157. <div class="sp-page">
  158. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.CSYJImg==false,'sp-qz-gray':ctl.opinion.CSYJImg==true}" ng-click="ctl.opinion.CSYJImg=false">文字</div>
  159. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.CSYJImg==true,'sp-qz-gray':ctl.opinion.CSYJImg==false}" ng-click="ctl.QianZi('CSYJ')">手签</div>
  160. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion.CSYJ=false;ctl.opinion.CSYJImg=false">取消</span>
  161. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('CSYJ')">保存</span>
  162. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear('CSYJ')" ng-if="ctl.opinion.CSYJImg==true">清除</span>
  163. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase('CSYJ')" ng-if="ctl.opinion.CSYJ==true&&ctl.opinion.CSYJImg==false">常用语</span>
  164. </div>
  165. </div>
  166. </td>
  167. </tr>
  168. <tr>
  169. <td>备&nbsp;&nbsp;注</td>
  170. <td colspan="3">
  171. <!--<input type="text" class="sp-input" ng-model="ctl.data.BEIZHU" />-->
  172. <textarea class="sp-textarea" rows="5" style="resize:none" ng-model="ctl.data.BEIZHU"></textarea>
  173. </td>
  174. </tr>
  175. </table>
  176. </div>
  177. <div class="sp-page" style="width: 350px; min-height: 300px; line-height: 30px; padding: 5px 0 30px 0; border: 1px solid #c6c6c6; position: fixed; top: 65px; right: 15px; background: white;" ng-if="ctl.showReturn">
  178. <table class="sp-grid">
  179. <thead>
  180. <tr>
  181. <th width="50">序号</th>
  182. <th>内容</th>
  183. <th width="100">日期</th>
  184. </tr>
  185. </thead>
  186. <tr ng-repeat="item in ctl.returnList">
  187. <td ng-bind="$index+1"></td>
  188. <td><span title="{{item.BACKOPINION}}" ng-bind="item.BACKOPINION1"></span></td>
  189. <td><span title="{{item.BACKDATE}}" ng-bind="item.BACKDATE1"></span></td>
  190. </tr>
  191. </table>
  192. <div class="sp-text-center sp-page" style="position:absolute;bottom:0">
  193. <span class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.showReturn=false"><i class="fa fa-close"></i></span>
  194. </div>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. <div class="sp-layer" id="forward" style="width: 1000px;">
  204. <div class="sp-layer-head" style="background:#2176d6">
  205. <div class="sp-page sp-text-center sp-font16">
  206. 转&nbsp;&nbsp;发
  207. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  208. ×
  209. </div>
  210. </div>
  211. </div>
  212. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  213. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  214. </div>
  215. </div>
  216. <div class="sp-layer" id="RouteList" style="width:900px;">
  217. <div class="sp-layer-head" style="background:#2176d6">
  218. <div class="sp-page sp-text-center sp-font16">
  219. 流转记录
  220. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  221. ×
  222. </div>
  223. </div>
  224. </div>
  225. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  226. <table class="sp-table">
  227. <thead>
  228. <tr>
  229. <th style="width:100px"><strong>流程名称</strong></th>
  230. <th style="width:200px"><strong>标题</strong></th>
  231. <th style="width:100px"><strong>工作节点</strong></th>
  232. <th style="width:100px"><strong>转发人</strong></th>
  233. <th style="width:100px"><strong>主送</strong></th>
  234. <th style="width:150px"><strong>抄送</strong></th>
  235. <th style="width:200px"><strong>发送日期</strong></th>
  236. </tr>
  237. </thead>
  238. </table>
  239. <div style="overflow-y:scroll;max-height:400px">
  240. <table class="sp-table" style="margin-top: -38px">
  241. <thead>
  242. <tr>
  243. <th style="width:100px"><strong>流程名称</strong></th>
  244. <th style="width:200px"><strong>标题</strong></th>
  245. <th style="width:100px"><strong>工作节点</strong></th>
  246. <th style="width:100px"><strong>转发人</strong></th>
  247. <th style="width:100px"><strong>主送</strong></th>
  248. <th style="width:150px"><strong>抄送</strong></th>
  249. <th style="width:200px"><strong>发送日期</strong></th>
  250. </tr>
  251. </thead>
  252. <tbody>
  253. <tr ng-repeat="item in ctl.routeList">
  254. <td ng-bind="item.FLOWNAME"></td>
  255. <td ng-bind="item.TITLE"></td>
  256. <td ng-bind="item.ENDNODENAME"></td>
  257. <td ng-bind="item.USERNAMEFROM"></td>
  258. <td ng-bind="item.mainUser"></td>
  259. <td ng-bind="item.copyUsers"></td>
  260. <td ng-bind="item.RECEIVEDATE"></td>
  261. </tr>
  262. </tbody>
  263. </table>
  264. </div>
  265. <div class="sp-page sp-text-center sp-pt-10">
  266. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  272. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  273. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  274. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  275. <script src="../../../apiurljs.js"></script>
  276. <script src="../../../js/sm4.js"></script>
  277. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  278. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  279. <!--<script src="../../js/watermark.js"></script>-->
  280. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  281. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  282. </body>
  283. </html>