formedit.html 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666
  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. <script>document.write("<link href='../../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. <script>document.write("<link href='../../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='../../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <style>
  16. .formedit {
  17. border-collapse: collapse;
  18. width: 100%;
  19. border: 2px solid #000;
  20. color: #000;
  21. }
  22. .formedit tbody td {
  23. text-align: center;
  24. line-height: 20px;
  25. padding: 7px 8px;
  26. border-top: 1px solid #000;
  27. border-right: 1px solid #000;
  28. }
  29. .sp-page-center input,
  30. .sp-page-center select,
  31. .sp-page-center textarea {
  32. border: 1px solid #fff;
  33. color: #333;
  34. }
  35. .sp-error {
  36. color: #409EFF;
  37. }
  38. .sp-errorTip:hover,
  39. .sp-errorTip:focus {
  40. border: 1px solid #409EFF;
  41. }
  42. [ng-cloak]{
  43. display:none
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  49. <div class="wrapper wrapper-content">
  50. <div class="row">
  51. <div class="col-md-12">
  52. <div class="ibox float-e-margins">
  53. <div class="ibox-content">
  54. <div class="row">
  55. <div class="col-md-12">
  56. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  57. <div class="sp-box"
  58. style="background: #0000FF; padding-right: 10px; line-height: 30px">
  59. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px" ng-bind="ctl.flowTitle"></div>
  60. <div class="sp-page-col sp-pull-right sp-ml-30">
  61. <div class="sp-page-col" ng-repeat="item in ctl.buttonList" style="margin-top:4px">
  62. <button style="padding:4px 10px;" class="sp-md sp-radius" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}" ng-if="item.CODE!='FWZIHAO'&&(ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1'))" ng-click="ctl.btnEvent(item)">
  63. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  64. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  65. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  66. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  67. {{item.CNAME}}
  68. </button>
  69. <button style="padding: 4px 10px; position: relative" class="sp-md sp-radius sp-btn-gray tiaoahao" ng-if="item.CODE=='FWZIHAO'">
  70. {{item.CNAME}}
  71. <div class="sp-page" style="background:#fff;border:1px solid #ccc;position:absolute;top:28px;left:0;z-index:1;display:none">
  72. <div class="sp-box sp-text-center">
  73. <span class="sp-btn-gray sp-radius" ng-click="ctl.tiaohao()">占号</span>
  74. </div>
  75. <div class="sp-box sp-text-center">
  76. <span class="sp-btn-gray sp-radius" ng-click="ctl.tiaohaoR()">重置</span>
  77. </div>
  78. </div>
  79. </button>
  80. </div>
  81. <button style="padding:4px 10px;"
  82. class="sp-btn-gray sp-md sp-radius sp-mt-5"
  83. onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-fawenbg-refresh', 1)">
  84. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  85. 关闭
  86. </button>
  87. </div>
  88. <div class="sp-wrapper-head-col sp-mr-20">
  89. <span class="sp-wrapper-head-col-span" style="padding: 0; border: 1px solid #eee; border-radius: 5px; display: inline-block; line-height: 30px; height: 30px; margin-top: 5px;">
  90. <i class="icon-map-1 sp-pl-5 pointer" ng-click="ctl.onePic()"></i>
  91. <input type="text" class="sp-wrapper-head-search" style="border:0"
  92. placeholder="地图搜索" ng-model="ctl.headBtnSearchKeyword"
  93. ng-change="ctl.headBtnSearch()" />
  94. </span>
  95. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;"
  96. ng-if="ctl.headSearchResult_view">
  97. <div class="sp-lh-26-wrap" ng-repeat="item in ctl.headSearchResult"
  98. ng-click="ctl.headKeywordPage(item)">
  99. <a ng-bind="item.name"
  100. title="{{item.name}}"></a>
  101. </div>
  102. </div>
  103. </div>
  104. <div class="sp-wrapper-head-col"
  105. onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  106. <span class="sp-wrapper-head-col-span">
  107. <i class="icon-book"></i>标准规范
  108. </span>
  109. </div>
  110. <div class="sp-wrapper-head-col"
  111. onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  112. <span class="sp-wrapper-head-col-span">
  113. <i class="fa fa-legal"></i>法律法规
  114. </span>
  115. </div>
  116. <div class="sp-wrapper-head-col"
  117. onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  118. <span class="sp-wrapper-head-col-span">
  119. <i class="icon-newspaper-1"></i>党内规范
  120. </span>
  121. </div>
  122. <div class="sp-wrapper-head-col"
  123. onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  124. <span class="sp-wrapper-head-col-span">
  125. <i class="icon-chart-alt-outline"></i>公文查询
  126. </span>
  127. </div>
  128. </div>
  129. <div id="bodyDiv" class="sp-page" style="overflow: visible;">
  130. <div id="topDiv" class="sp-box" style="width:100%;height:600px;background:#FFFFFF;padding:0px;margin:0px;overflow:hidden">
  131. <div class="sp-page-center" style="line-height: 30px; color: #ff0000; padding-bottom: 50px; overflow-y: auto;" ng-class="{'sp-width-900': '{{ctl.deviceType}}'=='pad','sp-width-1000': '{{ctl.deviceType}}'!='pad'}">
  132. <h3 class="sp-text-center">机关纪委非正式发文承办单</h3>
  133. <table class="formedit">
  134. <tr>
  135. <td colspan="1">日期</td>
  136. <td colspan="2">
  137. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.RQ" ng-disabled="ctl.hide('readonly','RQ')" ng-change="ctl.changeFiled('RQ')" />
  138. </td>
  139. <td colspan="1">处室(单位)</td>
  140. <td colspan="2">
  141. <input type="text" class="sp-input" ng-model="ctl.data.CSDW" ng-disabled="ctl.hide('readonly','CSDW')" ng-change="ctl.changeFiled('CSDW')" />
  142. </td>
  143. </tr>
  144. <tr>
  145. </tr>
  146. <tr>
  147. <td colspan="1">发文标题</td>
  148. <td colspan="5">
  149. <input type="text" class="sp-input" ng-model="ctl.data.FWBT" ng-disabled="ctl.hide('readonly','FWBT')" ng-change="ctl.changeFiled('FWBT')" />
  150. </td>
  151. </tr>
  152. <tr>
  153. <td colspan="1">内容摘要</td>
  154. <td colspan="5">
  155. <textarea class="sp-textarea" ng-model="ctl.data.NRZY" rows="5" style="resize:none" ng-disabled="ctl.hide('readonly','NRZY')" ng-change="ctl.changeFiled('NRZY')"></textarea>
  156. </td>
  157. </tr>
  158. <tr>
  159. <td colspan="1">分管领导意见</td>
  160. <td colspan="5">
  161. <div class="sp-col-100">
  162. <div class="sp-page">
  163. <div ng-if="ctl.opinion.FGLDYJ==false">
  164. <div class="sp-page" style="height: 212px; margin-bottom: 30px; overflow-y: auto">
  165. <table class="sp-grid sp-mb-5">
  166. <tr ng-repeat="item in ctl.YJ.FGLDYJ" class="qianzi">
  167. <td>
  168. <div class="sp-page">
  169. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  170. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  171. <div class="sp-page">
  172. <div class="sp-col-60">
  173. <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">
  174. <a ng-click="ctl.downLoadOption(item)" title="下载">
  175. <i class="fa fa-download sp-color-red"></i>
  176. </a>
  177. <a ng-click="ctl.deleteOptionFile(item,'FGLDYJ')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  178. <i class="fa fa-trash sp-color-red"></i>
  179. </a>
  180. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  181. </div>
  182. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.FGLDYJ==false&&ctl.dotype==1&&item.COLID=='FGLDYJ'">
  183. <span class="opbtn" style="position: relative; color: #1c84c6">
  184. <span class="upload-tip"></span>
  185. <input id="fileupload-FGLDYJ" class="upload-file-single" ng-click="ctl.upload2('FGLDYJ')" type="file" name="files[]" multiple>
  186. <i class="fa fa-upload"></i>
  187. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  188. </span>
  189. </div>
  190. </div>
  191. <div class="sp-col-40 sp-text-right sp-pull-right" style="line-height:40px">
  192. <span ng-bind="item.CMANNAME"></span>
  193. <span ng-bind="item.CDATE"></span>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="sp-page sp-text-right">
  198. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  199. ng-click="ctl.Dopinion('FGLDYJ')">
  200. <i class="fa fa-trash-o fa-lg"></i>
  201. </div>
  202. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  203. ng-click="ctl.changeOpinionItem('FGLDYJ',item)">
  204. <i class="fa fa-pencil fa-lg"></i>
  205. </div>
  206. </div>
  207. </td>
  208. </tr>
  209. </table>
  210. </div>
  211. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.FGLDYJSTATUS==false" style="color: #1EADFF"
  212. ng-hide="ctl.hide('readonly','FGLDYJ')" ng-click="ctl.openOpinion('FGLDYJ')">
  213. <i class="fa fa-pencil fa-lg"></i>
  214. </span>
  215. </div>
  216. <div ng-if="ctl.opinion.FGLDYJ==true||ctl.opinion.FGLDYJImg==true">
  217. <textarea id="FGLDYJ" class="op-textarea sp-mb-10" ng-model="ctl.data.FGLDYJ" ng-if="ctl.opinion.FGLDYJ==true&&ctl.opinion.FGLDYJImg==false"></textarea>
  218. <div ng-if="ctl.opinion.FGLDYJImg==true">
  219. <div id="FGLDYJQZ" class="canvas"></div>
  220. </div>
  221. <div class="sp-page">
  222. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.FGLDYJImg==false,'sp-qz-gray':ctl.opinion.FGLDYJImg==true}" ng-click="ctl.opinion.FGLDYJImg=false">文字</div>
  223. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.FGLDYJImg==true,'sp-qz-gray':ctl.opinion.FGLDYJImg==false}" ng-click="ctl.QianZi('FGLDYJ')">手签</div>
  224. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion.FGLDYJ=false;ctl.opinion.FGLDYJImg=false">取消</span>
  225. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('FGLDYJ')">保存</span>
  226. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear('FGLDYJ')" ng-if="ctl.opinion.FGLDYJImg==true">清除</span>
  227. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase('FGLDYJ')" ng-if="ctl.opinion.FGLDYJ==true&&ctl.opinion.FGLDYJImg==false">常用语</span>
  228. </div>
  229. </div>
  230. </div>
  231. </div>
  232. </td>
  233. </tr>
  234. <tr>
  235. <td colspan="1">主要领导批示</td>
  236. <td colspan="5">
  237. <div class="sp-col-100">
  238. <div class="sp-page">
  239. <div ng-if="ctl.opinion.ZYLDPS==false">
  240. <div class="sp-page" style="height: 212px; margin-bottom: 30px; overflow-y: auto">
  241. <table class="sp-grid sp-mb-5">
  242. <tr ng-repeat="item in ctl.YJ.ZYLDPS" class="qianzi">
  243. <td>
  244. <div class="sp-page">
  245. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  246. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  247. <div class="sp-page">
  248. <div class="sp-col-60">
  249. <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">
  250. <a ng-click="ctl.downLoadOption(item)" title="下载">
  251. <i class="fa fa-download sp-color-red"></i>
  252. </a>
  253. <a ng-click="ctl.deleteOptionFile(item,'ZYLDPS')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  254. <i class="fa fa-trash sp-color-red"></i>
  255. </a>
  256. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  257. </div>
  258. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.ZYLDPS==false&&ctl.dotype==1&&item.COLID=='ZYLDPS'">
  259. <span class="opbtn" style="position: relative; color: #1c84c6">
  260. <span class="upload-tip"></span>
  261. <input id="fileupload-ZYLDPS" class="upload-file-single" ng-click="ctl.upload2('ZYLDPS')" type="file" name="files[]" multiple>
  262. <i class="fa fa-upload"></i>
  263. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  264. </span>
  265. </div>
  266. </div>
  267. <div class="sp-col-40 sp-text-right sp-pull-right" style="line-height:40px">
  268. <span ng-bind="item.CMANNAME"></span>
  269. <span ng-bind="item.CDATE"></span>
  270. </div>
  271. </div>
  272. </div>
  273. <div class="sp-page sp-text-right">
  274. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  275. ng-click="ctl.Dopinion('ZYLDPS')">
  276. <i class="fa fa-trash-o fa-lg"></i>
  277. </div>
  278. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  279. ng-click="ctl.changeOpinionItem('ZYLDPS',item)">
  280. <i class="fa fa-pencil fa-lg"></i>
  281. </div>
  282. </div>
  283. </td>
  284. </tr>
  285. </table>
  286. </div>
  287. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.ZYLDPSSTATUS==false" style="color: #1EADFF"
  288. ng-hide="ctl.hide('readonly','ZYLDPS')" ng-click="ctl.openOpinion('ZYLDPS')">
  289. <i class="fa fa-pencil fa-lg"></i>
  290. </span>
  291. </div>
  292. <div ng-if="ctl.opinion.ZYLDPS==true||ctl.opinion.ZYLDPSImg==true">
  293. <textarea id="ZYLDPS" class="op-textarea sp-mb-10" ng-model="ctl.data.ZYLDPS" ng-if="ctl.opinion.ZYLDPS==true&&ctl.opinion.ZYLDPSImg==false"></textarea>
  294. <div ng-if="ctl.opinion.ZYLDPSImg==true">
  295. <div id="ZYLDPSQZ" class="canvas"></div>
  296. </div>
  297. <div class="sp-page">
  298. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.ZYLDPSImg==false,'sp-qz-gray':ctl.opinion.ZYLDPSImg==true}" ng-click="ctl.opinion.ZYLDPSImg=false">文字</div>
  299. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.ZYLDPSImg==true,'sp-qz-gray':ctl.opinion.ZYLDPSImg==false}" ng-click="ctl.QianZi('ZYLDPS')">手签</div>
  300. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion.ZYLDPS=false;ctl.opinion.ZYLDPSImg=false">取消</span>
  301. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('ZYLDPS')">保存</span>
  302. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear('ZYLDPS')" ng-if="ctl.opinion.ZYLDPSImg==true">清除</span>
  303. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase('ZYLDPS')" ng-if="ctl.opinion.ZYLDPS==true&&ctl.opinion.ZYLDPSImg==false">常用语</span>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. </td>
  309. </tr>
  310. <tr style="visibility:collapse">
  311. <td width="170"></td>
  312. <td width="80"></td>
  313. <td width="249"></td>
  314. <td width="125"></td>
  315. <td></td>
  316. <td width="155"></td>
  317. </tr>
  318. </table>
  319. <div style="color:#000">
  320. <div class="sp-col-15">处室承办人</div>
  321. <div class="sp-col-35">
  322. <input type="text" class="sp-input" ng-model="ctl.data.CSCBR" ng-change="ctl.changeFiled('CSCBR')"
  323. ng-disabled="ctl.hide('readonly','CSCBR')" sp-required />
  324. </div>
  325. <div class="sp-col-15 sp-text-right">联系电话</div>
  326. <div class="sp-col-35">
  327. <input type="text" class="sp-input"
  328. ng-model="ctl.data.LXDH" ng-change="ctl.changeFiled('LXDH')" sp-required
  329. ng-disabled="ctl.hide('readonly','LXDH')" />
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. <div class="sp-page sp-pt-10"
  335. style="height: 10px; background: #F0F9FF;box-shadow:0 -2px 5px #c3c3c3; position: relative;z-index:5">
  336. <div class="sp-page-col toggle fuyan" onclick="toggleYJL(this)">
  337. 附言
  338. <i class="fa fa-angle-double-up fa-lg"></i>
  339. <i class="fa fa-angle-double-down" style="display: none"></i>
  340. </div>
  341. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  342. <div class="sp-box" style="border-bottom:1px solid #999;height:51px">
  343. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right sp-mr-20" style="background: #1EADFF"
  344. ng-if="ctl.opiniontype!=0&&ctl.dotype!=0" ng-click="ctl.openOptionList()">
  345. 填写附言
  346. </span>
  347. </div>
  348. <textarea id="nulla" class="op-textarea sp-mb-5 sp-mt-5" ng-model="ctl.nulla"
  349. ng-if="ctl.opinion.nulla==true"></textarea>
  350. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999" ng-if="ctl.opinion.nulla==true">
  351. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  352. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList()">保存</span>
  353. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  354. </div>
  355. <div class="sp-page optionList sp-pb-5" style="height:389px;overflow-y: auto;">
  356. <div class="sp-page sp-pt-10 qianzi" ng-repeat="item in ctl.YJ.nulla">
  357. <div class="sp-col-100">
  358. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  359. <div class="sp-page">
  360. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  361. <div class="sp-page">
  362. <div class="sp-col-75">
  363. <div ng-repeat="item in item.FILEDATA"
  364. style="width: 135px; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  365. <a ng-click="ctl.downLoadOption(item)" title="下载">
  366. <i class="fa fa-download sp-color-red"></i>
  367. </a>
  368. <a ng-click="ctl.deleteOptionFile(item,'')" title="删除"
  369. ng-if="item.ROUTEID==ctl.routeid">
  370. <i class="fa fa-trash sp-color-red"></i>
  371. </a>
  372. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  373. </div>
  374. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;"
  375. ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  376. <span class="opbtn" style="position: relative; color: #1c84c6">
  377. <span class="upload-tip"></span>
  378. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()"
  379. type="file" name="files[]" multiple>
  380. <i class="fa fa-upload"></i>
  381. <span class="upload-loading" ng-if="ctl.uploading1">
  382. <i class="fa fa-spinner fa-pulse sp-fs-20"></i>
  383. </span>
  384. </span>
  385. </div>
  386. </div>
  387. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  388. <span ng-bind="item.CMANNAME"></span>
  389. <span ng-bind="item.CDATE"></span>
  390. </div>
  391. </div>
  392. </div>
  393. <div class="sp-page sp-text-right">
  394. <span class="opbtn" style="color: #FF6F6F; width: 55px; " ng-click="ctl.Dopinion('')"
  395. ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  396. <i class="fa fa-trash-o fa-lg"></i>
  397. </span>
  398. <span class="opbtn" style="color: #66D151; width: 55px; "
  399. ng-click="ctl.changeOptionList(item)"
  400. ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  401. <i class="fa fa-pencil fa-lg"></i>
  402. </span>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. <div id="bottomDiv" class="sp-box" style="width: 100%; padding:0px;margin:0px;">
  411. <div class="sp-page" style="width: 100%; background: #0099FF; color: #fff;" ng-init="ctl.goAttach()">
  412. <div class="sp-page-col">
  413. <span id="lineDiv" class="upload sp-color-white" style="display: inline; cursor: ns-resize; line-height: 30px; height: 36px; padding-left: 10px; font-size: 16px; top: 0; " ng-init="ctl.reSizeRow()">
  414. <i class="fa fa-arrows-v fa-lg sp-mr-10"></i>
  415. </span>
  416. <span title="{{ctl.gaoTypeArrayFirst[0].FILENAMES}}" ng-click="ctl.goAttach(ctl.gaoTypeArrayFirst[0])" style="line-height:30px;cursor:pointer">
  417. 正文
  418. <a ng-click="ctl.downLoad(ctl.gaoTypeArrayFirst[0])" title="下载" ng-if="ctl.gaoTypeArrayFirst[0]!=null">
  419. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  420. </a>
  421. </span>
  422. </div>
  423. <div class="sp-page sp-pull-right" style="width:calc(100% - 150px);position:relative;">
  424. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  425. <span class="upload-tip"></span>
  426. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
  427. <i class="fa fa-plus sp-color-white"></i>
  428. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  429. </span>
  430. <span class="upload sp-color-white" style="top:4px">
  431. 附件({{ctl.arrayFile1.length}}):
  432. </span>
  433. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index<4" style="width: calc((100% - 250px) / 4); color: #fff; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  434. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="display: inline-block; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;" ng-click="ctl.goAttach(item)"></span>
  435. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  436. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  437. </a>
  438. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  439. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  440. </a>
  441. </div>
  442. <span style="width: 20px; height: 20px; display: inline-block; float: right; position: relative; top: 10px; right: 15px" onclick="showToggle(this)" ng-if="ctl.arrayFile1.length>4">
  443. <i class="fa fa-chevron-up" style="position: relative; top: -4px; display: none"></i>
  444. <i class="fa fa-chevron-down" style="position: relative; top: -4px; "></i>
  445. </span>
  446. <div class="sp-page" style="width: 62%; display: none; position: absolute; top: 37px; left: 38%; padding: 5px 10px; background: #0099FF; border: 1px solid #0099FF; z-index:2">
  447. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index>3" style="padding: 5px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  448. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  449. <a ng-click="ctl.downLoad(item)" title="下载">
  450. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  451. </a>
  452. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  453. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  454. </a>
  455. </div>
  456. </div>
  457. </div>
  458. </div>
  459. <div class="sp-box sp-bg-white">
  460. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;" frameborder="0" scrolling="no"></iframe>
  461. </div>
  462. </div>
  463. </div>
  464. </div>
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. </div>
  470. </div>
  471. <div class="sp-layer" id="DpList" style="width: 900px;">
  472. <div class="sp-layer-head" style="background:#2176d6">
  473. <div class="sp-page sp-text-center sp-font16">
  474. 部门列表
  475. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  476. ×
  477. </div>
  478. </div>
  479. </div>
  480. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  481. <div class="sp-page" style="height:290px;overflow:auto">
  482. <label class="sp-col-20">
  483. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]"
  484. ng-click="ctl.checkAllDp()" />
  485. 全选
  486. </label>
  487. <div class="sp-page">
  488. <label class="sp-col-25" title="{{item.CNAME}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  489. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked"
  490. ng-click="ctl.checkDpItem(item)" />
  491. {{item.CNAME}}
  492. </label>
  493. </div>
  494. </div>
  495. <div class="sp-page sp-text-center sp-pt-10">
  496. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  497. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  498. </div>
  499. </div>
  500. </div>
  501. <div class="sp-layer" id="print" style="width: 400px;">
  502. <div class="sp-layer-head" style="background:#2176d6">
  503. <div class="sp-page sp-text-center sp-font16">
  504. 打印
  505. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  506. ×
  507. </div>
  508. </div>
  509. </div>
  510. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  511. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}"
  512. ng-click="ctl.printFiled=1">
  513. <div class="printItem">表单</div>
  514. </center>
  515. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}"
  516. ng-click="ctl.printFiled=2">
  517. <div class="printItem">意见</div>
  518. </center>
  519. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}"
  520. ng-click="ctl.printFiled=3">
  521. <div class="printItem">表单+意见</div>
  522. </center>
  523. <div class="sp-page sp-text-center sp-pt-10">
  524. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  525. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  526. </div>
  527. </div>
  528. </div>
  529. <div class="sp-layer" id="phrase" style="width:480px;">
  530. <div class="sp-layer-head" style="background:#2176d6">
  531. <div class="sp-page sp-text-center sp-font16">
  532. 常用语库
  533. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  534. ×
  535. </div>
  536. </div>
  537. </div>
  538. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  539. <div class="sp-box">
  540. <div class="sp-col-70">
  541. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  542. </div>
  543. <div class="sp-col-30">
  544. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}"
  545. ng-click="ctl.Aphrase()">添加常用语</span>
  546. </div>
  547. </div>
  548. <div class="sp-box">
  549. <div class="sp-col-20" style="line-height:30px;">
  550. 常用语:
  551. </div>
  552. <div class="sp-col-60">
  553. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  554. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  555. </select>
  556. </div>
  557. <div class="sp-col-20">
  558. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  559. </div>
  560. </div>
  561. <div class="sp-page sp-text-center sp-pt-10">
  562. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  563. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')">
  564. <i class="fa fa-reply-all sp-mr-5">
  565. </i>关 闭
  566. </a>
  567. </div>
  568. </div>
  569. </div>
  570. <div class="sp-layer" id="forward" style="width: 1000px;">
  571. <div class="sp-layer-head" style="background:#2176d6">
  572. <div class="sp-page sp-text-center sp-font16">
  573. 转&nbsp;&nbsp;发
  574. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  575. ×
  576. </div>
  577. </div>
  578. </div>
  579. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  580. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  581. </div>
  582. </div>
  583. <div class="sp-layer" id="RouteList" style="width:900px;">
  584. <div class="sp-layer-head" style="background:#2176d6">
  585. <div class="sp-page sp-text-center sp-font16">
  586. 流转记录
  587. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  588. ×
  589. </div>
  590. </div>
  591. </div>
  592. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  593. <table class="sp-table">
  594. <thead>
  595. <tr>
  596. <th style="width:100px"><strong>流程名称</strong></th>
  597. <th style="width:200px"><strong>标题</strong></th>
  598. <th style="width:100px"><strong>工作节点</strong></th>
  599. <th style="width:100px"><strong>转发人</strong></th>
  600. <th style="width:100px"><strong>主送</strong></th>
  601. <th style="width:150px"><strong>抄送</strong></th>
  602. <th style="width:200px"><strong>发送日期</strong></th>
  603. </tr>
  604. </thead>
  605. </table>
  606. <div style="overflow-y:scroll;max-height:400px">
  607. <table class="sp-table" style="margin-top: -38px">
  608. <thead>
  609. <tr>
  610. <th style="width:100px"><strong>流程名称</strong></th>
  611. <th style="width:200px"><strong>标题</strong></th>
  612. <th style="width:100px"><strong>工作节点</strong></th>
  613. <th style="width:100px"><strong>转发人</strong></th>
  614. <th style="width:100px"><strong>主送</strong></th>
  615. <th style="width:150px"><strong>抄送</strong></th>
  616. <th style="width:200px"><strong>发送日期</strong></th>
  617. </tr>
  618. </thead>
  619. <tbody>
  620. <tr ng-repeat="item in ctl.routeList">
  621. <td ng-bind="item.FLOWNAME"></td>
  622. <td ng-bind="item.TITLE"></td>
  623. <td ng-bind="item.ENDNODENAME"></td>
  624. <td ng-bind="item.USERNAMEFROM"></td>
  625. <td ng-bind="item.mainUser"></td>
  626. <td ng-bind="item.copyUsers"></td>
  627. <td ng-bind="item.RECEIVEDATE"></td>
  628. </tr>
  629. </tbody>
  630. </table>
  631. </div>
  632. <div class="sp-page sp-text-center sp-pt-10">
  633. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')">
  634. <i class="fa fa-reply-all sp-mr-5">
  635. </i>关 闭
  636. </a>
  637. </div>
  638. </div>
  639. </div>
  640. </div>
  641. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  642. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  643. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  644. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  645. <script src="../../../apiurljs.js"></script>
  646. <!--<script src="../../../js/watermark.js"></script>-->
  647. <script src="../../../js/sm4.js"></script>
  648. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  649. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  650. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  651. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  652. <!--附件-->
  653. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  654. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  655. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  656. </body>
  657. </html>