formeditFL.html 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  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. <script>document.write("<link href='../../flowchart_app_imgcss/css/formeditFL.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. color: #000;
  20. }
  21. .formedit tbody td {
  22. text-align: center;
  23. line-height: 20px;
  24. padding: 7px 8px;
  25. border-top: 1px solid #000;
  26. border-right: 1px solid #000;
  27. padding-left: 10px;
  28. padding-right: 10px;
  29. margin: 0;
  30. font-family:"SimSun";
  31. font-size: 18px;
  32. height: 48px;
  33. }
  34. .sp-page-center input,
  35. .sp-page-center select,
  36. .sp-page-center textarea {
  37. border: 1px solid #fff;
  38. color: #333;
  39. }
  40. .sp-error {
  41. color: #409EFF;
  42. }
  43. .sp-errorTip:hover,
  44. .sp-errorTip:focus {
  45. border: 1px solid #409EFF;
  46. }
  47. [ng-cloak]{
  48. display:none
  49. }
  50. </style>
  51. </head>
  52. <body>
  53. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  54. <div class="wrapper wrapper-content">
  55. <div class="row">
  56. <div class="col-md-12">
  57. <div class="ibox float-e-margins">
  58. <div class="ibox-content">
  59. <div class="row">
  60. <div class="col-md-12">
  61. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  62. <div class="sp-page" ng-include="'../../forward/header.html'"></div>
  63. <div class="sp-page sp-fs-16" style="border-bottom: 1px solid #c6c6c6">
  64. <div class="sp-page-col sp-pull-right">
  65. <div class="sp-page-col" ng-repeat="item in ctl.buttonList">
  66. <button class="sp-btn-sm sp-radius" style="padding: 4px 10px;" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item)" ng-if="item.CODE!='array'&&ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
  67. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  68. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  69. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  70. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  71. {{item.CNAME}}
  72. </button>
  73. <button style="padding: 4px 10px; position: relative" class="sp-btn-md sp-radius sp-btn-blue tiaoahao" ng-if="item.CODE=='array'&&ctl.dotype==1">
  74. {{item.CNAME}}
  75. <div class="sp-page" style="width:auto;background:#fff;border:1px solid #ccc;position:absolute;top:28px;left:50%;transform:translateX(-50%);z-index:12;display:none">
  76. <div class="sp-page sp-text-center" ng-repeat="item1 in item.data">
  77. <div class="sp-radius" ng-class="{'sp-btn-gray':item1.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item1.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item1)">{{item1.CNAME}}</div>
  78. </div>
  79. </div>
  80. </button>
  81. </div>
  82. <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px;" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-huiyishibg-refresh', 1)" ng-if="ctl.deviceType!='pad'">
  83. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  84. 关闭
  85. </button>
  86. <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px;" onclick="javascript: history.go(-1); localStorage.setItem('GlWorkPlatform-huiyishibg-refresh', 1)" ng-if="ctl.deviceType=='pad'">
  87. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  88. 关闭
  89. </button>
  90. </div>
  91. <div class="sp-page-col sp-pull-right" style="position:relative">
  92. <button class="sp-btn-gray sp-btn-sm sp-radius tiaoahao" style="display: inline-block; padding: 4px 10px;">
  93. 文件
  94. <div class="sp-page" style="width: 130px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: -25px; z-index: 12">
  95. <div class="sp-page sp-text-center" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; " ng-click="ctl.seeZW()">文单</div>
  96. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; " ng-click="ctl.editFile(ctl.gaoTypeArrayFirst[0],1,'正文')">
  97. 正文
  98. <span style="display:inline-block;top:0;left:-35px" class="upload sp-pull-right sp-ml-5" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1&&ctl.userId==ctl.data.NGRUSERID">
  99. <i class="fa fa-file-o sp-fs-14"></i>
  100. </span>
  101. <div class="sp-page" style="width: 125px; padding: 2px 5px; margin-top: -30px; text-align: center; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 128px; top: 75px; z-index: 12; ">
  102. <div class="sp-box sp-text-center" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0&&ctl.userId==ctl.data.NGRUSERID">
  103. <input id="fileupload-zw" class="upload-file-single" style="width:0px;left: -10px" type="file" name="files[]" multiple>
  104. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan1()">空白模板</div>
  105. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan2()">套红模板</div>
  106. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.upload_zw()">本地文件</div>
  107. </div>
  108. </div>
  109. </div>
  110. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  111. 来文附件({{ctl.arrayFile1.length}})
  112. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
  113. <span class="upload-tip"></span>
  114. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
  115. <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
  116. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  117. </span>
  118. <div class="sp-page" ng-if="ctl.arrayFile1.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 128px; z-index: 12">
  119. <div class="sp-page" ng-repeat="item in ctl.arrayFile1">
  120. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span>
  121. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)" title="下载">
  122. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  123. </a>
  124. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteFile(item)" title="删除">
  125. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  126. </a>
  127. </div>
  128. </div>
  129. </div>
  130. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  131. 公文模板
  132. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-click="ctl.openGLJ();$event.stopPropagation();" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
  133. <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
  134. </span>
  135. <div class="sp-page" ng-if="ctl.guanlian.length!=0||ctl.glList.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 128px; z-index: 12">
  136. <div class="sp-page" ng-repeat="item in ctl.guanlian">
  137. <span title="{{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-click="ctl.editFile(item,2,'公文模板')">
  138. {{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}
  139. </span>
  140. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoaDWG(item)" title="下载">
  141. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  142. </a>
  143. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteWG(item)" title="删除">
  144. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  145. </a>
  146. <a class="sp-pull-right sp-mr-10" ng-click="ctl.creatFLOW(item)" title="创建流程">
  147. <img src="../../flowchart_app_imgcss/img/attachlist/bz.png" title="创建流程" />
  148. </a>
  149. </div>
  150. <div class="sp-page" ng-repeat="item in ctl.glList" style="padding: 7px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
  151. <span title="{{item.FLOWNAME}}:{{item.TITLE}}" style="cursor: pointer;" ng-click="ctl.openGL(item)">
  152. <i class="fa fa-sign-in" ng-if="item.type=='FLOWIN'"></i><i class="fa fa-sign-out" ng-if="item.type=='FLOWOUT'"></i>{{item.FLOWNAME}}:{{item.TITLE}}
  153. </span>
  154. </div>
  155. </div>
  156. </div>
  157. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  158. 回文附件({{ctl.HWFJ.length}})
  159. <div class="sp-page" ng-if="ctl.HWFJ.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 128px; z-index: 12; ">
  160. <div class="sp-page" ng-repeat="item in ctl.HWFJ">
  161. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span>
  162. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoadOption(item)" title="下载">
  163. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  164. </a>
  165. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteOptionFile(item)" title="删除">
  166. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  167. </a>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. </button>
  173. </div>
  174. </div>
  175. <div class="page-item leftBox" style="width: 50%;">
  176. <div class="sp-page" id="iframeList" ng-if="ctl.iframeList.length!=0">
  177. <div class="sp-page-col" style="width: 36px; height: 100%; border-right: 1px solid #ccc; white-space: revert; left: 0;transform:translateX(0)" ng-if="ctl.iframeHide>0">
  178. <div style="border-bottom:1px solid #ccc" ng-repeat="item in ctl.iframeList" ng-if="item.show==2">
  179. <div style="padding: 5px; text-align: center; cursor: pointer" title="{{item.filename}}" ng-bind="item.title" ng-click="ctl.showItem($index)"></div>
  180. </div>
  181. </div>
  182. <div class="iframe-item" ng-style="item.boxStyle" ng-repeat="item in ctl.iframeList" repeat-finish>
  183. <div class="iframe-title" ng-style="item.boxStyle" ng-show="item.show==1" ng-bind="item.title"></div>
  184. <div class="iframe-item-btn" ng-if="item.show==1">
  185. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="false" ng-click="ctl.openItem(item)">新窗口</button>
  186. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.edit==true" ng-click="ctl.btnSaveFile(item.fileid)">保存</button>
  187. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeItem($index)" ng-if="item.title!='收文'">X</button>
  188. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideItem($index)">
  189. <i class="fa fa-angle-left fa-lg"></i>
  190. </button>
  191. </div>
  192. <div class="iframe-border-right" ng-show="$index!=ctl.iframeLast&&ctl.iframeShow>1&&item.show==1"></div>
  193. <iframe ng-src="{{item.url}}" ng-show="item.show==1" ng-style="item.iframeStyle" style="padding-top:35px" frameborder="0" class="iframe" scrolling="no"></iframe>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="page-item rightBox" style="width: 50%; padding-left: 10px; position: relative; overflow:hidden">
  198. <div class="sp-page-col" style="width: 10px; height: 46px; background: #d0d0d0; position: absolute;left: 0; top: 0px; z-index: 11; cursor: pointer; border:0px solid yellow" onclick="showRight(this)" ng-if="ctl.iframeList.length!=0">
  199. <i class="fa fa-angle-left" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  200. <i class="fa fa-angle-right" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); "></i>
  201. </div>
  202. <div class="border-left-right left-right" ng-init="ctl.reSizeLR(1)" ng-if="ctl.iframeList.length!=0"></div>
  203. <div class="sp-page-col" style="width: 36px; height: 100%; border-left: 1px solid #ccc; white-space: revert; float:right;" ng-show="ctl.formeditList.length>0">
  204. <div style="border-bottom:1px solid #ccc" ng-repeat="item in ctl.formeditList">
  205. <div style="padding: 5px; text-align: center; cursor: pointer" title="{{item.title}}" ng-bind="item.title" ng-click="ctl.showFormedit($index,item)"></div>
  206. </div>
  207. </div>
  208. <div id="rightList" style="margin-left: 0px; transition: margin-left 1s ease 0s; ">
  209. <div class="sp-page formedit sp-pt-30 sp-pb-30" style="background-color: #F2F2F2; position: relative">
  210. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  211. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit('','文单')">
  212. <i class="fa fa-angle-right fa-lg"></i>
  213. </button>
  214. </div>
  215. <div class="sp-page-center" style="line-height: 30px;width:95%;padding: 60px 40px;background-color: #fff; color: #000; overflow-y: auto;" ng-class="{'sp-width-900': '{{ctl.deviceType}}'=='pad','sp-width-1000': '{{ctl.deviceType}}'!='pad'}">
  216. <h3 class="sp-text-center">会议通知单</h3>
  217. <table class="formedit_" style="width:100%;border:2px solid #000">
  218. <tr>
  219. <td width="200" style="">会议名称</td>
  220. <td>
  221. <input type="text" class="sp-input" ng-model="ctl.data.HYMC" ng-disabled="ctl.hide('readonly','HYMC')" ng-change="ctl.changeFiled('HYMC')" sp-required />
  222. </td>
  223. </tr>
  224. <tr>
  225. <td>会议时间</td>
  226. <td>
  227. <input type="text" class="sp-input laydate-logo" sp-laydate laytype="datetime" format="yyyy-MM-dd HH:mm" ng-model="ctl.data.HYSJ" ng-disabled="ctl.hide('readonly','HYSJ')" ng-change="ctl.changeFiled('HYSJ')" />
  228. </td>
  229. </tr>
  230. <tr>
  231. <td>会议地点</td>
  232. <td>
  233. <input type="text" class="sp-input" ng-model="ctl.data.HYDD" ng-disabled="ctl.hide('readonly','HYDD')" ng-change="ctl.changeFiled('HYDD')" />
  234. </td>
  235. </tr>
  236. <tr>
  237. <td>主持</td>
  238. <td>
  239. <input type="text" class="sp-input" ng-model="ctl.data.ZC" ng-disabled="ctl.hide('readonly','ZC')" ng-change="ctl.changeFiled('ZC')" />
  240. </td>
  241. </tr>
  242. <tr>
  243. <td>委内人员</td>
  244. <td>
  245. <input type="text" class="sp-input" ng-model="ctl.data.WNRY" readonly ng-click="ctl.openUserList('WNRY')" sp-required />
  246. </td>
  247. </tr>
  248. <tr>
  249. <td>处室站办</td>
  250. <td>
  251. <input type="text" class="sp-input" ng-model="ctl.data.CSZB" readonly ng-click="ctl.openDpList('CSZB')" />
  252. </td>
  253. </tr>
  254. <tr>
  255. <td>有关单位</td>
  256. <td>
  257. <input type="text" class="sp-input" ng-model="ctl.data.YGDW" ng-disabled="ctl.hide('readonly','YGDW')" ng-change="ctl.changeFiled('YGDW')" />
  258. </td>
  259. </tr>
  260. <tr>
  261. <td>会议议程</td>
  262. <td style="height: 210px;">
  263. <textarea class="sp-textarea" ng-model="ctl.data.HYYC" ng-disabled="ctl.hide('readonly','HYYC')" ng-change="ctl.changeFiled('HYYC')" rows="9"></textarea>
  264. </td>
  265. </tr>
  266. <tr>
  267. <td>附件</td>
  268. <td>
  269. <div class="sp-page" ng-repeat="item in ctl.arrayFile1">
  270. <span class="sp-pull-left sp-mr-10" ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span>
  271. <!-- <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span> -->
  272. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)" title="下载">
  273. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  274. </a>
  275. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteFile(item)" title="删除">
  276. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  277. </a>
  278. </div>
  279. <!-- <div class="download-Item" ng-repeat="item in ctl.arrayFile track by $index ">
  280. <a ng-click="ctl.download(item)">
  281. <i class="fa fa-download sp-color-red">下载</i>
  282. </a>
  283. <a ng-click="ctl.deleteFile1(item,'FJ')">
  284. <i class="fa fa-trash sp-color-red">删除</i>
  285. </a>
  286. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}"></span>
  287. </div>
  288. <div class="download-Item" ng-hide="ctl.arrayFile.length==8">
  289. <span class="upload" ng-show="ctl.arrayFile.length<8">
  290. <input type="button" ng-if="ctl.arrayFile.length==0" ng-disabled="ctl.hide('readonly','FJ')" class="upload-btn-single" ng-click="ctl.beforeUpload()" value="上传附件">
  291. <input type="button" ng-if="ctl.arrayFile.length>0&&ctl.arrayFile.length<8" ng-disabled="ctl.hide('readonly','FJ')" class="upload-btn-single" ng-click="ctl.beforeUpload()" value="上传附件">
  292. <span class="sp-upload-tip"></span>
  293. <input id="fileupload" class="upload-file-single" style="left: 65px" ng-disabled="ctl.hide('readonly','FJ')" type="file" name="files[]" multiple>
  294. </span>
  295. </div> -->
  296. </td>
  297. </tr>
  298. </table>
  299. </div>
  300. <div class="sp-page sp-pt-10" style=" height: 10px; background: #F0F9FF; box-shadow: 0 -2px 5px #c3c3c3; position: fixed; bottom: 0; z-index: 11">
  301. <div class="sp-page-col toggle" style="width: 100px; height: 20px; font-size: 14px; text-align: center; background: #E0E0E0; cursor: pointer; color: #333; position: absolute; right: 0; top: -20px; border-radius: 10px 10px 0 0; " onclick="toggleYJL(this)">
  302. 附言
  303. <i class="fa fa-angle-double-up fa-lg"></i>
  304. <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
  305. </div>
  306. <div class="sp-page" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  307. <div class="sp-page" ng-if="ctl.opinion.nulla==true">
  308. <textarea id="nulla" ng-model="ctl.nulla" class="op-textarea sp-mb-5 sp-mt-5" style="height:200px"></textarea>
  309. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
  310. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  311. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList(2)">保存</span>
  312. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  313. </div>
  314. </div>
  315. <div class="sp-page" style="max-height:calc(100% - 250px);overflow-y:auto">
  316. <div class="qianzi" ng-repeat="item in ctl.YJ.nulla" ng-if="item.COLID==''">
  317. <div class="sp-page">
  318. <div class="sp-page" style="border:1px solid #e6e6e6;">
  319. <div class="sp-page" style="padding: 10px 5px;">
  320. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  321. <div ng-repeat="item in item.FILEDATA" style="width: 100%; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  322. <a ng-click="ctl.downLoadOption(item)" title="下载">
  323. <i class="fa fa-download sp-color-red"></i>
  324. </a>
  325. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  326. <i class="fa fa-trash sp-color-red"></i>
  327. </a>
  328. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}" ng-click="ctl.openNewWindow(item)"></span>
  329. </div>
  330. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  331. <span class="opbtn" style="position: relative; color: #1c84c6">
  332. <span class="upload-tip"></span>
  333. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  334. <i class="fa fa-upload"></i>
  335. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  336. </span>
  337. </div>
  338. <div class="sp-page sp-text-right sp-pull-right">
  339. <span ng-bind="item.CMANNAME"></span>
  340. <br />
  341. <span ng-bind="item.CDATE"></span>
  342. </div>
  343. <div class="sp-page sp-text-right">
  344. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  345. ng-click="ctl.Dopinion(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  346. <i class="fa fa-trash-o fa-lg"></i>
  347. </span>
  348. <span class="opbtn" style="color: #66D151; width: 55px; "
  349. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  350. <i class="fa fa-pencil fa-lg"></i>
  351. </span>
  352. </div>
  353. </div>
  354. </div>
  355. </div>
  356. </div>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. <div class="sp-page formedit1" style="background-color: #F8F8F8; position: relative; ">
  362. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  363. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit(1,'正文')">
  364. <i class="fa fa-angle-right fa-lg"></i>
  365. </button>
  366. </div>
  367. <iframe style="width: 100%; height: calc(100% - 30px); border: 0; margin-top: 30px; " src="" data-id=""></iframe>
  368. </div>
  369. <div class="sp-page formedit2" style="background-color: #F8F8F8; position: relative; ">
  370. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  371. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit(2,'公文模板')">
  372. <i class="fa fa-angle-right fa-lg"></i>
  373. </button>
  374. </div>
  375. <iframe style="width: 100%; height: calc(100% - 30px); border: 0; margin-top: 30px" src="" data-id=""></iframe>
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381. </div>
  382. </div>
  383. </div>
  384. </div>
  385. </div>
  386. <div class="sp-layer" id="DpList" style="width: 900px;">
  387. <div class="sp-layer-head" style="background:#2176d6">
  388. <div class="sp-page sp-text-center sp-font16">
  389. 部门列表
  390. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  391. ×
  392. </div>
  393. </div>
  394. </div>
  395. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  396. <div class="sp-page" style="height:290px;overflow:auto">
  397. <label class="sp-col-20">
  398. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  399. 全选
  400. </label>
  401. <div class="sp-page">
  402. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  403. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  404. {{item.SECTION}}
  405. </label>
  406. </div>
  407. </div>
  408. <div class="sp-page sp-text-center sp-pt-10">
  409. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  410. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  411. </div>
  412. </div>
  413. </div>
  414. <div class="sp-layer" id="userList" style="width: 900px;">
  415. <div class="sp-layer-head" style="background:#2176d6">
  416. <div class="sp-page sp-text-center sp-font16">
  417. 人员列表
  418. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  419. ×
  420. </div>
  421. </div>
  422. </div>
  423. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  424. <div class="sp-page" style="height:290px;overflow:auto">
  425. <label class="sp-col-20">
  426. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllChecked[ctl.filed]" ng-click="ctl.checkAllUser()" />
  427. 全选
  428. </label>
  429. <div class="sp-page" ng-repeat="item in ctl.UserList[ctl.filed]">
  430. <h4 style="background:#409EFF" class="sp-color-white sp-pl-10">
  431. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkUserItem(item)" />
  432. {{item.DEP}}
  433. </h4>
  434. <label ng-repeat="item1 in item.USER" class="sp-col-20" title="{{item1.USHOWNAME}}">
  435. <input type="checkbox" style="position:relative;top:2px" ng-checked="item1.checked" ng-click="ctl.checkUser(item1)" />
  436. {{item1.USHOWNAME2}}
  437. </label>
  438. </div>
  439. </div>
  440. <div class="sp-page sp-text-center sp-pt-10">
  441. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitUserList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  442. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  443. </div>
  444. </div>
  445. </div>
  446. <div class="sp-layer" id="print" style="width: 400px;">
  447. <div class="sp-layer-head" style="background:#2176d6">
  448. <div class="sp-page sp-text-center sp-font16">
  449. 打印
  450. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  451. ×
  452. </div>
  453. </div>
  454. </div>
  455. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  456. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
  457. <div class="printItem">表单</div>
  458. </center>
  459. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
  460. <div class="printItem">意见</div>
  461. </center>
  462. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
  463. <div class="printItem">表单+意见</div>
  464. </center>
  465. <div class="sp-page sp-text-center sp-pt-10">
  466. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  467. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  468. </div>
  469. </div>
  470. </div>
  471. <div class="sp-layer" id="phrase" style="width:450px;">
  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-box">
  482. <div class="sp-col-70">
  483. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  484. </div>
  485. <div class="sp-col-30">
  486. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  487. </div>
  488. </div>
  489. <div class="sp-box">
  490. <div class="sp-col-20" style="line-height:30px;">
  491. 常用语:
  492. </div>
  493. <div class="sp-col-60">
  494. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  495. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  496. </select>
  497. </div>
  498. <div class="sp-col-20">
  499. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  500. </div>
  501. </div>
  502. <div class="sp-page sp-text-center sp-pt-10">
  503. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  504. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  505. </div>
  506. </div>
  507. </div>
  508. <div class="sp-layer" id="forward" style="width: 1000px;">
  509. <div class="sp-layer-head" style="background:#2176d6">
  510. <div class="sp-page sp-text-center sp-font16">
  511. 转&nbsp;&nbsp;发
  512. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  513. ×
  514. </div>
  515. </div>
  516. </div>
  517. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  518. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  519. </div>
  520. </div>
  521. <div class="sp-layer" id="RouteList" style="width:900px;">
  522. <div class="sp-layer-head" style="background:#2176d6">
  523. <div class="sp-page sp-text-center sp-font16">
  524. 流转记录
  525. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  526. ×
  527. </div>
  528. </div>
  529. </div>
  530. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  531. <table class="sp-table">
  532. <thead>
  533. <tr>
  534. <th style="width:100px"><strong>流程名称</strong></th>
  535. <th style="width:200px"><strong>标题</strong></th>
  536. <th style="width:100px"><strong>工作节点</strong></th>
  537. <th style="width:100px"><strong>转发人</strong></th>
  538. <th style="width:100px"><strong>主送</strong></th>
  539. <th style="width:150px"><strong>抄送</strong></th>
  540. <th style="width:200px"><strong>发送日期</strong></th>
  541. </tr>
  542. </thead>
  543. </table>
  544. <div style="overflow-y:scroll;max-height:400px">
  545. <table class="sp-table" style="margin-top: -38px">
  546. <thead>
  547. <tr>
  548. <th style="width:100px"><strong>流程名称</strong></th>
  549. <th style="width:200px"><strong>标题</strong></th>
  550. <th style="width:100px"><strong>工作节点</strong></th>
  551. <th style="width:100px"><strong>转发人</strong></th>
  552. <th style="width:100px"><strong>主送</strong></th>
  553. <th style="width:150px"><strong>抄送</strong></th>
  554. <th style="width:200px"><strong>发送日期</strong></th>
  555. </tr>
  556. </thead>
  557. <tbody>
  558. <tr ng-repeat="item in ctl.routeList">
  559. <td ng-bind="item.FLOWNAME"></td>
  560. <td ng-bind="item.TITLE"></td>
  561. <td ng-bind="item.ENDNODENAME"></td>
  562. <td ng-bind="item.USERNAMEFROM"></td>
  563. <td ng-bind="item.mainUser"></td>
  564. <td ng-bind="item.copyUsers"></td>
  565. <td ng-bind="item.RECEIVEDATE"></td>
  566. </tr>
  567. </tbody>
  568. </table>
  569. </div>
  570. <div class="sp-page sp-text-center sp-pt-10">
  571. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  572. </div>
  573. </div>
  574. </div>
  575. <div class="sp-layer" id="USAGE" style="width:900px;">
  576. <div class="sp-layer-head" style="background:#2176d6">
  577. <div class="sp-page sp-text-center sp-font16">
  578. 管理标签
  579. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  580. ×
  581. </div>
  582. </div>
  583. </div>
  584. <div class="sp-layer-body">
  585. <div class="input-group col-lg-8">
  586. <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
  587. <span class="input-group-btn">
  588. <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
  589. </span>
  590. </div>
  591. <br />
  592. <table class="sp-table">
  593. <thead>
  594. <tr>
  595. <th style="width: 50px"><strong>序号</strong></th>
  596. <th style="width: 200px"><strong>标签名称</strong></th>
  597. <th style="width: 100px"><strong>状态</strong></th>
  598. <th style="width: 200px"><strong>操作</strong></th>
  599. </tr>
  600. </thead>
  601. </table>
  602. <div style="overflow-y:scroll;max-height:400px">
  603. <table class="sp-table" style="margin-top: -38px">
  604. <thead>
  605. <tr>
  606. <th style="width: 50px"><strong>序号</strong></th>
  607. <th style="width: 200px"><strong>标签名称</strong></th>
  608. <th style="width: 100px"><strong>状态</strong></th>
  609. <th style="width: 200px"><strong>操作</strong></th>
  610. </tr>
  611. </thead>
  612. <tbody>
  613. <tr ng-repeat="item in ctl.USAGELIST">
  614. <td ng-bind="$index+1"></td>
  615. <td>
  616. <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
  617. <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
  618. </td>
  619. <td>
  620. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显&nbsp;示</button>
  621. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐&nbsp;藏</button>
  622. </td>
  623. <td>
  624. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  625. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'下移')" ng-disabled="{{$index}}=={{ctl.USAGELIST.length-1}}">下&nbsp;移</button>
  626. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-if="item.change==false" ng-click="item.change=true">编&nbsp;辑</button>
  627. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.change==true" ng-click="ctl.updataUSAGE(item,'CNAME')">保&nbsp;存</button>
  628. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-click="ctl.deleteUSAGE(item)">删&nbsp;除</button>
  629. </td>
  630. </tr>
  631. </tbody>
  632. </table>
  633. </div>
  634. <div class="sp-page sp-text-center sp-pt-10">
  635. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  636. </div>
  637. </div>
  638. </div>
  639. <div class="sp-layer" id="GLJ" style="width: 600px;">
  640. <div class="sp-layer-head" style="background:#2176d6">
  641. <div class="sp-page sp-text-center sp-font16">
  642. 关&nbsp;&nbsp;联
  643. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  644. ×
  645. </div>
  646. </div>
  647. </div>
  648. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  649. <iframe id="GLJWin" style="width:100%;border:0"></iframe>
  650. </div>
  651. </div>
  652. </div>
  653. <script type="text/ng-template" id="/treeView.html">
  654. <ul>
  655. <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
  656. </ul>
  657. </script>
  658. <script type="text/ng-template" id="/treeItem.html">
  659. <p ng-class="{'pActive':item.checked}">
  660. <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
  661. <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
  662. {{item[textField]}}
  663. </span>
  664. <span class="edit-menu sp-color-gray">
  665. <i ng-if="item.LEVELS!=3"
  666. ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
  667. <i ng-if="item.LEVELS!=1"
  668. ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
  669. <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
  670. ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
  671. <i ng-if="$index!=0"
  672. ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
  673. <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
  674. ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
  675. </span>
  676. </p>
  677. <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
  678. <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
  679. </ul>
  680. </script>
  681. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  682. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  683. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  684. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  685. <script src="../../../apiurljs.js"></script>
  686. <!--<script src="../../js/watermark.js"></script>-->
  687. <script src="../../../js/sm4.js"></script>
  688. <script>document.write('<scri' + 'pt src="../../flowchart_app_imgcss/js/yozo.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  689. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  690. <script>document.write('<scri' + 'pt src="js/formeditFL.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  691. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  692. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  693. <!--附件-->
  694. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  695. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  696. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  697. </body>
  698. </html>