formeditFL.html 74 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  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. </head>
  16. <body>
  17. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  18. <div class="wrapper wrapper-content">
  19. <div class="row">
  20. <div class="col-md-12">
  21. <div class="ibox float-e-margins">
  22. <div class="ibox-content">
  23. <div class="row">
  24. <div class="col-md-12">
  25. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  26. <div class="sp-page" ng-include="'../../forward/header.html'"></div>
  27. <div class="sp-page sp-fs-16" style="border-bottom: 1px solid #c6c6c6">
  28. <div class="sp-page-col sp-pull-right">
  29. <div class="sp-page-col" ng-repeat="item in ctl.buttonList">
  30. <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!='FWZIHAO'&&item.CODE!='array'&&ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
  31. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  32. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  33. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  34. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  35. {{item.CNAME}}
  36. </button>
  37. <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">
  38. {{item.CNAME}}
  39. <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">
  40. <div class="sp-page sp-text-center" ng-repeat="item1 in item.data">
  41. <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>
  42. </div>
  43. </div>
  44. </button>
  45. <button style="padding: 4px 10px; position: relative" class="sp-md sp-radius sp-btn-gray tiaoahao" ng-if="item.CODE=='FWZIHAO'">
  46. {{item.CNAME}}
  47. <div class="sp-page" style="background:#fff;border:1px solid #ccc;position:absolute;top:28px;left:0;z-index:1;display:none">
  48. <div class="sp-box sp-text-center">
  49. <span class="sp-btn-gray sp-radius" ng-click="ctl.tiaohao()">占号</span>
  50. </div>
  51. <div class="sp-box sp-text-center">
  52. <span class="sp-btn-gray sp-radius" ng-click="ctl.tiaohaoR()">重置</span>
  53. </div>
  54. </div>
  55. </button>
  56. </div>
  57. <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px;" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-fawenbg-refresh', 1)" ng-if="ctl.deviceType!='pad'">
  58. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  59. 关闭
  60. </button>
  61. <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px;" onclick="javascript: history.go(-1); localStorage.setItem('GlWorkPlatform-fawenbg-refresh', 1)" ng-if="ctl.deviceType=='pad'">
  62. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  63. 关闭
  64. </button>
  65. </div>
  66. <div class="sp-page-col sp-pull-right" style="position:relative">
  67. <button class="sp-btn-gray sp-btn-sm sp-radius tiaoahao" style="display: inline-block; padding: 4px 10px;">
  68. 文件
  69. <div class="sp-page" style="width: 130px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: -25px; z-index: 12">
  70. <div class="sp-page sp-text-center" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; " ng-click="ctl.seeZW()">文单</div>
  71. <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,'正文')">
  72. 正文
  73. <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">
  74. <i class="fa fa-file-o sp-fs-14"></i>
  75. </span>
  76. <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; ">
  77. <div class="sp-box sp-text-center" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0&&(ctl.userId==ctl.data.NGRUSERID||ctl.gkbutton==1)">
  78. <input id="fileupload-zw" class="upload-file-single" style="width:0px;left: -10px" type="file" name="files[]" multiple>
  79. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan1()">空白模板</div>
  80. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan2()">套红模板</div>
  81. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.upload_zw()">本地文件</div>
  82. </div>
  83. </div>
  84. </div>
  85. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  86. 来文附件({{ctl.arrayFile1.length}})
  87. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
  88. <span class="upload-tip"></span>
  89. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
  90. <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
  91. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  92. </span>
  93. <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">
  94. <div class="sp-page" ng-repeat="item in ctl.arrayFile1">
  95. <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>
  96. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)" title="下载">
  97. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  98. </a>
  99. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteFile(item)" title="删除">
  100. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  101. </a>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  106. 公文模板
  107. <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">
  108. <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
  109. </span>
  110. <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">
  111. <div class="sp-page" ng-repeat="item in ctl.guanlian">
  112. <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,'公文模板')">
  113. {{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}
  114. </span>
  115. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoaDWG(item)" title="下载">
  116. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  117. </a>
  118. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteWG(item)" title="删除">
  119. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  120. </a>
  121. <a class="sp-pull-right sp-mr-10" ng-click="ctl.creatFLOW(item)" title="创建流程">
  122. <img src="../../flowchart_app_imgcss/img/attachlist/bz.png" title="创建流程" />
  123. </a>
  124. </div>
  125. <div class="sp-page" ng-repeat="item in ctl.glList" style="padding: 7px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
  126. <span title="{{item.FLOWNAME}}:{{item.TITLE}}" style="cursor: pointer;" ng-click="ctl.openGL(item)">
  127. <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}}
  128. </span>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
  133. 回文附件({{ctl.HWFJ.length}})
  134. <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; ">
  135. <div class="sp-page" ng-repeat="item in ctl.HWFJ">
  136. <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>
  137. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoadOption(item)" title="下载">
  138. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  139. </a>
  140. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteOptionFile(item)" title="删除">
  141. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  142. </a>
  143. </div>
  144. </div>
  145. </div>
  146. </div>
  147. </button>
  148. </div>
  149. </div>
  150. <div class="page-item leftBox" style="width: 50%;">
  151. <div class="sp-page" id="iframeList" ng-if="ctl.iframeList.length!=0">
  152. <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">
  153. <div style="border-bottom:1px solid #ccc" ng-repeat="item in ctl.iframeList" ng-if="item.show==2">
  154. <div style="padding: 5px; text-align: center; cursor: pointer" title="{{item.filename}}" ng-bind="item.title" ng-click="ctl.showItem($index)"></div>
  155. </div>
  156. </div>
  157. <div class="iframe-item" ng-style="item.boxStyle" ng-repeat="item in ctl.iframeList" repeat-finish>
  158. <div class="iframe-title" ng-style="item.boxStyle" ng-show="item.show==1" ng-bind="item.title"></div>
  159. <div class="iframe-item-btn" ng-if="item.show==1">
  160. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="false" ng-click="ctl.openItem(item)">新窗口</button>
  161. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.edit==true" ng-click="ctl.btnSaveFile(item.fileid)">保存</button>
  162. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeItem($index)" ng-if="item.title!='签报收文'">X</button>
  163. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideItem($index)">
  164. <i class="fa fa-angle-left fa-lg"></i>
  165. </button>
  166. </div>
  167. <div class="iframe-border-right" ng-show="$index!=ctl.iframeLast&&ctl.iframeShow>1&&item.show==1"></div>
  168. <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>
  169. </div>
  170. </div>
  171. </div>
  172. <!-- <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  173. <div class="sp-page" ng-include="'../../forward/header.html'"></div>
  174. <div class="sp-page sp-fs-16" style="height: 46px; border-bottom: 1px solid #c6c6c6;padding-left:5px">
  175. <div class="sp-btn-gray-outline sp-btn-sm" style="display: inline-block; padding: 4px 10px; margin: 6px 3px;" ng-click="ctl.seeZW()">文单</div>
  176. <div class="sp-btn-gray-outline sp-btn-sm" style="display: inline-block; padding: 4px 10px; margin: 6px 3px; " ng-click="ctl.editFile(ctl.gaoTypeArrayFirst[0],1,'正文')">
  177. 正文
  178. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-click="ctl.showCol($event, '#ZWList')" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
  179. <i class="fa fa-plus sp-fs-14"></i>
  180. </span>
  181. </div>
  182. <div class="sp-btn-gray-outline sp-btn-sm" style="display: inline-block;" onclick="$('.rightBox').children().eq(0).trigger('click')">文稿</div>
  183. <div class="sp-btn-gray-outline sp-btn-sm" style="display: inline-block; padding: 4px 10px; margin: 6px 3px;" ng-click="ctl.showCol($event, '#FJ')">
  184. 附件({{ctl.arrayFile1.length}})
  185. <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
  186. <span class="upload-tip"></span>
  187. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
  188. <i class="fa fa-plus sp-fs-14"></i>
  189. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  190. </span>
  191. </div>
  192. <div class="sp-btn-gray-outline sp-btn-sm" style="display: inline-block; padding: 4px 10px; margin: 6px 3px;" ng-click="ctl.showCol($event, '#GLJlist')">
  193. 公文模板
  194. <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">
  195. <i class="fa fa-plus sp-fs-14"></i>
  196. </span>
  197. </div>
  198. <div class="show-col" id="ZWList" style="width: 125px; max-height: 300px; padding: 2px 5px;text-align:center; overflow-y: auto; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 65px; top: 101px; z-index: 12; ">
  199. <div class="sp-box" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  200. <input id="fileupload-zw" class="upload-file-single" style="width:0px;left: -10px" type="file" name="files[]" multiple>
  201. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan1()">空白模板</div>
  202. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.newMoBan2()">套红模板</div>
  203. <div class="sp-col-100 pointer sp-mt-5" ng-click="ctl.upload_zw()">本地文件</div>
  204. </div>
  205. </div>
  206. <div class="show-col" id="FJ" ng-if="ctl.arrayFile1.length!=0" style="width: 400px; max-height: 300px; padding: 2px 5px; overflow-y: auto; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 10px; top: 101px; z-index: 12; ">
  207. <div class="sp-page" ng-repeat="item in ctl.arrayFile1">
  208. <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>
  209. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)" title="下载">
  210. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  211. </a>
  212. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteFile(item)" title="删除">
  213. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  214. </a>
  215. </div>
  216. </div>
  217. <div class="show-col" id="GLJlist" ng-if="ctl.guanlian.length!=0||ctl.glList.length!=0" style="width: 400px; max-height: 300px; padding: 2px 5px; overflow-y: auto; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: 90px; top: 101px; z-index: 12; ">
  218. <div class="sp-page" ng-repeat="item in ctl.guanlian">
  219. <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,'公文模板')">
  220. {{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}
  221. </span>
  222. <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoaDWG(item)" title="下载">
  223. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  224. </a>
  225. <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteWG(item)" title="删除">
  226. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  227. </a>
  228. <a class="sp-pull-right sp-mr-10" ng-click="ctl.creatFLOW(item)" title="创建流程">
  229. <img src="../../flowchart_app_imgcss/img/attachlist/bz.png" title="创建流程" />
  230. </a>
  231. </div>
  232. <div class="sp-page" ng-repeat="item in ctl.glList" style="padding: 7px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis">
  233. <span title="{{item.FLOWNAME}}:{{item.TITLE}}" style="cursor: pointer;" ng-click="ctl.openGL(item)">
  234. <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}}
  235. </span>
  236. </div>
  237. </div>
  238. <div class="sp-page-col sp-pull-right">
  239. <div class="sp-page-col" ng-repeat="item in ctl.buttonList" style="margin-top:4px">
  240. <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)">
  241. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  242. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  243. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  244. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  245. {{item.CNAME}}
  246. </button>
  247. </div>
  248. <button class="sp-btn-gray sp-md sp-radius" style="padding: 4px 10px; margin: 6px 3px;" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-fawenbg-refresh', 1)">
  249. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  250. 关闭
  251. </button>
  252. </div>
  253. </div>
  254. <div class="page-item leftBox" style="width: 50%;">
  255. <div class="sp-page" id="iframeList" ng-if="ctl.iframeList.length!=0">
  256. <div class="iframe-item" ng-style="item.boxStyle" ng-repeat="item in ctl.iframeList" repeat-finish>
  257. <div class="iframe-title" ng-style="item.boxStyle" ng-bind="item.title"></div>
  258. <div class="iframe-item-btn">
  259. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.edit==false" ng-click="ctl.openItem(item)">新窗口</button>
  260. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.edit==true" ng-click="ctl.btnSaveFile(item.fileid)">保存</button>
  261. <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeItem($index)" ng-if="item.title!=''">关闭</button>
  262. </div>
  263. <div class="iframe-border-right" ng-init="ctl.reSize($index)" ng-if="$index>0"></div>
  264. <iframe ng-src="{{item.url}}" ng-style="item.iframeStyle" style="padding-top:35px" frameborder="0" class="iframe" scrolling="no"></iframe>
  265. </div>
  266. </div>
  267. </div> -->
  268. <div class="page-item rightBox" style="width: 50%; padding-left: 10px; position: relative; overflow:hidden">
  269. <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">
  270. <i class="fa fa-angle-left" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  271. <i class="fa fa-angle-right" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); "></i>
  272. </div>
  273. <div class="border-left-right left-right" ng-init="ctl.reSizeLR(1)" ng-if="ctl.iframeList.length!=0"></div>
  274. <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">
  275. <div style="border-bottom:1px solid #ccc" ng-repeat="item in ctl.formeditList">
  276. <div style="padding: 5px; text-align: center; cursor: pointer" title="{{item.title}}" ng-bind="item.title" ng-click="ctl.showFormedit($index,item)"></div>
  277. </div>
  278. </div>
  279. <div id="rightList" style="margin-left: 0px; transition: margin-left 1s ease 0s; ">
  280. <div class="sp-page formedit sp-pt-30 sp-pb-30" style="background-color: #F2F2F2">
  281. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  282. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit('','文单')">
  283. <i class="fa fa-angle-right fa-lg"></i>
  284. </button>
  285. </div>
  286. <div class="sp-page-center" style="width: 90%; padding: 10px; background-color: #fff; color: #ff0000; line-height: 30px; overflow-y: auto; ">
  287. <h3 class="sp-text-center">住房公积金管委会发文处理单</h3>
  288. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  289. <div class="sp-col-20">主办单位</div>
  290. <div class="sp-col-80">
  291. <input type="text" class="sp-input sp-mb-10" ng-model="ctl.data.ZBDW" sp-required readonly ng-click="ctl.openDpList('ZBDW')" />
  292. </div>
  293. </div>
  294. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  295. <div class="sp-col-20">拟稿人</div>
  296. <div class="sp-col-80">
  297. <input type="text" class="sp-input" ng-model="ctl.data.NGR" ng-change="ctl.changeFiled('NGR')"
  298. ng-disabled="ctl.hide('readonly','NGR')" />
  299. </div>
  300. </div>
  301. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  302. <div class="sp-col-20">审核</div>
  303. <div class="sp-col-80">
  304. <input type="text" class="sp-input" ng-model="ctl.data.SH" ng-change="ctl.changeFiled('SH')"
  305. ng-disabled="ctl.hide('readonly','SH')" />
  306. </div>
  307. </div>
  308. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  309. <div class="sp-col-20">催办日期</div>
  310. <div class="sp-col-80">
  311. <input type="text" class="sp-input" ng-model="ctl.data.CBRQ" ng-change="ctl.changeFiled('CBRQ')"
  312. ng-disabled="ctl.hide('readonly','CBRQ`')" />
  313. </div>
  314. </div>
  315. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  316. <div class="sp-col-20">文件标题</div>
  317. <div class="sp-col-80">
  318. <input type="text" class="sp-input" ng-model="ctl.data.WJBT" ng-change="ctl.changeFiled('WJBT')"
  319. ng-disabled="ctl.hide('readonly','WJBT')" sp-required />
  320. </div>
  321. </div>
  322. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  323. <div class="sp-col-20">主&nbsp;送</div>
  324. <div class="sp-col-80">
  325. <!--<input type="text" class="sp-input" ng-model="ctl.data.ZS" sp-required readonly ng-click="ctl.openDpList('ZS')" />-->
  326. <input type="text" class="sp-input" ng-model="ctl.data.ZS" ng-disabled="ctl.hide('readonly','ZS')" sp-required ng-change="ctl.changeFiled('ZS')" />
  327. </div>
  328. </div>
  329. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  330. <div class="sp-col-20">抄&nbsp;送</div>
  331. <div class="sp-col-80">
  332. <!--<input type="text" class="sp-input" ng-model="ctl.data.CS" readonly ng-click="ctl.openDpList('CS')" />-->
  333. <input type="text" class="sp-input" ng-model="ctl.data.CS" ng-disabled="ctl.hide('readonly','CS')" ng-change="ctl.changeFiled('CS')" />
  334. </div>
  335. </div>
  336. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  337. <div class="sp-col-20">发文种类</div>
  338. <div class="sp-col-80">
  339. <!--<input type="text" class="sp-input" ng-model="ctl.data.FWZL" ng-change="ctl.changeFiled('FWZL')"
  340. ng-disabled="ctl.hide('readonly','FWZL')" sp-required/>-->
  341. <select class="sp-select sp-pull-right" ng-model="ctl.data.FWZL" ng-change="ctl.changeFiled('FWZL')" sp-required ng-disabled="ctl.hide('readonly','FWZL')">
  342. <option ng-repeat="item in ctl.GWZL" value="{{item.CODE}}"
  343. ng-bind="item.CNAME"></option>
  344. </select>
  345. </div>
  346. </div>
  347. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  348. <div class="sp-col-20">公布对象</div>
  349. <div class="sp-col-80">
  350. <input type="text" class="sp-input" ng-model="ctl.data.GBDX" ng-change="ctl.changeFiled('GBDX')"
  351. ng-disabled="ctl.hide('readonly','GBDX')" />
  352. </div>
  353. </div>
  354. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  355. <div class="sp-col-20">联合发文</div>
  356. <div class="sp-col-80">
  357. <input type="text" class="sp-input" ng-model="ctl.data.LHFW" ng-change="ctl.changeFiled('LHFW')"
  358. ng-disabled="ctl.hide('readonly','LHFW')" />
  359. </div>
  360. </div>
  361. <div class="sp-box" style="border-bottom:2px solid #ff0000;padding:0px !important;height: 50px;">
  362. <div class="sp-col-20" style="border-right:1px solid #ff0000;height: 50px;line-height: 50px;">主题词</div>
  363. <div class="sp-col-80" style="height: 50px;line-height: 50px;">
  364. <input type="text" class="sp-input" ng-model="ctl.data.ZTC" ng-change="ctl.changeFiled('ZTC')"
  365. ng-disabled="ctl.hide('readonly','ZTC')" />
  366. </div>
  367. </div>
  368. <div class="sp-box" style="border-bottom:2px solid #ff0000;padding:0px !important;height: 50px;">
  369. <div class="sp-col-20" style="border-right:1px solid #ff0000;height: 50px;line-height: 50px;">复印份数</div>
  370. <div class="sp-col-80" style="height: 50px;line-height: 50px;">
  371. <input style="width: 200px;" type="text" class="sp-input" ng-model="ctl.data.FYFS" ng-change="ctl.changeFiled('FYFS')" sp-required
  372. ng-disabled="ctl.hide('readonly','FYFS')" /> 份
  373. </div>
  374. </div>
  375. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  376. <div class="sp-col-20">发文字</div>
  377. <div class="sp-col-30">
  378. <input type="text" class="sp-input" ng-model="ctl.data.FWZ" ng-disabled="ctl.hide('readonly','FWZ')" ng-change="ctl.changeFiled('FWZ')" />
  379. </div>
  380. <div class="sp-col-20">发文号</div>
  381. <div class="sp-col-30">
  382. <input type="text" class="sp-input" ng-model="ctl.data.FWH" ng-disabled="ctl.hide('readonly','FWH')" ng-change="ctl.changeFiled('FWH')" />
  383. </div>
  384. </div>
  385. <div class="sp-box" style="border-bottom:2px solid #ff0000">
  386. <div class="sp-col-20">缓急程度</div>
  387. <div class="sp-col-30">
  388. <select class="sp-select" style="width:100%" ng-model="ctl.data.HJCD" ng-disabled="ctl.hide('readonly','HJCD')" sp-required ng-change="ctl.changeFiled('HJCD')">
  389. <option ng-repeat="item in ctl.HJCDList" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  390. </select>
  391. <!-- <input type="text" class="sp-input" ng-model="ctl.data.HJCD" ng-disabled="ctl.hide('readonly','HJCD')" ng-change="ctl.changeFiled('HJCD')" />-->
  392. </div>
  393. <div class="sp-col-20">
  394. &nbsp;
  395. </div>
  396. <div class="sp-col-30">
  397. <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')" />
  398. </div>
  399. </div>
  400. </div>
  401. <div class="sp-page sp-pt-10" style=" height: 10px; background: #F0F9FF; box-shadow: 0 -2px 5px #c3c3c3; position: absolute; bottom: 0; z-index: 11">
  402. <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)">
  403. 附言
  404. <i class="fa fa-angle-double-up fa-lg"></i>
  405. <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
  406. </div>
  407. <div class="sp-page" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  408. <div class="sp-page" ng-if="ctl.opinion.nulla==true">
  409. <textarea id="nulla" ng-model="ctl.nulla" class="op-textarea sp-mb-5 sp-mt-5"></textarea>
  410. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
  411. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  412. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList(2)">保存</span>
  413. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  414. </div>
  415. </div>
  416. <div class="sp-page" style="max-height:calc(100% - 250px);overflow-y:auto">
  417. <div class="qianzi" ng-repeat="item in ctl.YJ.nulla" ng-if="item.COLID==''">
  418. <div class="sp-page">
  419. <div class="sp-page" style="border:1px solid #e6e6e6;">
  420. <div class="sp-page" style="padding: 10px 5px;">
  421. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  422. <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">
  423. <a ng-click="ctl.downLoadOption(item)" title="下载">
  424. <i class="fa fa-download sp-color-red"></i>
  425. </a>
  426. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  427. <i class="fa fa-trash sp-color-red"></i>
  428. </a>
  429. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}" ng-click="ctl.openNewWindow(item)"></span>
  430. </div>
  431. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  432. <span class="opbtn" style="position: relative; color: #1c84c6">
  433. <span class="upload-tip"></span>
  434. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  435. <i class="fa fa-upload"></i>
  436. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  437. </span>
  438. </div>
  439. <div class="sp-page sp-text-right sp-pull-right">
  440. <span ng-bind="item.CMANNAME"></span>
  441. <br />
  442. <span ng-bind="item.CDATE"></span>
  443. </div>
  444. <div class="sp-page sp-text-right">
  445. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  446. ng-click="ctl.Dopinion(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  447. <i class="fa fa-trash-o fa-lg"></i>
  448. </span>
  449. <span class="opbtn" style="color: #66D151; width: 55px; "
  450. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
  451. <i class="fa fa-pencil fa-lg"></i>
  452. </span>
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. </div>
  458. </div>
  459. </div>
  460. </div>
  461. </div>
  462. <div class="sp-page formedit1" style="background-color: #F8F8F8; position: relative; ">
  463. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  464. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit(1,'正文')">
  465. <i class="fa fa-angle-right fa-lg"></i>
  466. </button>
  467. </div>
  468. <iframe style="width: 100%; height: calc(100% - 30px); border: 0; margin-top: 30px; " src="" data-id=""></iframe>
  469. </div>
  470. <div class="sp-page formedit2" style="background-color: #F8F8F8; position: relative; ">
  471. <div class="iframe-item-btn" style="left: 0; right: unset;" ng-if="ctl.formeditList.length!=2">
  472. <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideFormedit(2,'公文模板')">
  473. <i class="fa fa-angle-right fa-lg"></i>
  474. </button>
  475. </div>
  476. <iframe style="width: 100%; height: calc(100% - 30px); border: 0; margin-top: 30px" src="" data-id=""></iframe>
  477. </div>
  478. <!-- <div class="sp-page formedit1">
  479. <iframe style="width: 100%; height: 100%; border: 0" src="" data-id=""></iframe>
  480. </div>
  481. <div class="sp-page formedit2">
  482. <iframe style="width: 100%; height: 100%; border: 0" src="" data-id=""></iframe>
  483. </div> -->
  484. </div>
  485. </div>
  486. </div>
  487. </div>
  488. </div>
  489. </div>
  490. </div>
  491. </div>
  492. </div>
  493. <div class="sp-layer" id="DpList" style="width: 900px;">
  494. <div class="sp-layer-head" style="background:#2176d6">
  495. <div class="sp-page sp-text-center sp-font16">
  496. 部门列表
  497. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  498. ×
  499. </div>
  500. </div>
  501. </div>
  502. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  503. <div class="sp-page" style="height:290px;overflow:auto">
  504. <label class="sp-col-20">
  505. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  506. 全选
  507. </label>
  508. <div class="sp-page">
  509. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  510. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  511. {{item.SECTION}}
  512. </label>
  513. </div>
  514. </div>
  515. <div class="sp-page sp-text-center sp-pt-10">
  516. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  517. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  518. </div>
  519. </div>
  520. </div>
  521. <div class="sp-layer" id="print" style="width: 400px;">
  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. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
  532. <div class="printItem">表单</div>
  533. </center>
  534. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
  535. <div class="printItem">意见</div>
  536. </center>
  537. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
  538. <div class="printItem">表单+意见</div>
  539. </center>
  540. <div class="sp-page sp-text-center sp-pt-10">
  541. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  542. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  543. </div>
  544. </div>
  545. </div>
  546. <div class="sp-layer" id="phrase" style="width:450px;">
  547. <div class="sp-layer-head" style="background:#2176d6">
  548. <div class="sp-page sp-text-center sp-font16">
  549. 常用语库
  550. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  551. ×
  552. </div>
  553. </div>
  554. </div>
  555. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  556. <div class="sp-box">
  557. <div class="sp-col-70">
  558. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  559. </div>
  560. <div class="sp-col-30">
  561. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  562. </div>
  563. </div>
  564. <div class="sp-box">
  565. <div class="sp-col-20" style="line-height:30px;">
  566. 常用语:
  567. </div>
  568. <div class="sp-col-60">
  569. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  570. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  571. </select>
  572. </div>
  573. <div class="sp-col-20">
  574. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  575. </div>
  576. </div>
  577. <div class="sp-page sp-text-center sp-pt-10">
  578. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  579. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  580. </div>
  581. </div>
  582. </div>
  583. <div class="sp-layer" id="forward" style="width: 1000px;">
  584. <div class="sp-layer-head" style="background:#2176d6">
  585. <div class="sp-page sp-text-center sp-font16">
  586. 转&nbsp;&nbsp;发
  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. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  594. </div>
  595. </div>
  596. <div class="sp-layer" id="RouteList" style="width:900px;">
  597. <div class="sp-layer-head" style="background:#2176d6">
  598. <div class="sp-page sp-text-center sp-font16">
  599. 流转记录
  600. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  601. ×
  602. </div>
  603. </div>
  604. </div>
  605. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  606. <table class="sp-table">
  607. <thead>
  608. <tr>
  609. <th style="width:100px"><strong>流程名称</strong></th>
  610. <th style="width:200px"><strong>标题</strong></th>
  611. <th style="width:100px"><strong>工作节点</strong></th>
  612. <th style="width:100px"><strong>转发人</strong></th>
  613. <th style="width:100px"><strong>主送</strong></th>
  614. <th style="width:150px"><strong>抄送</strong></th>
  615. <th style="width:200px"><strong>发送日期</strong></th>
  616. </tr>
  617. </thead>
  618. </table>
  619. <div style="overflow-y:scroll;max-height:400px">
  620. <table class="sp-table" style="margin-top: -38px">
  621. <thead>
  622. <tr>
  623. <th style="width:100px"><strong>流程名称</strong></th>
  624. <th style="width:200px"><strong>标题</strong></th>
  625. <th style="width:100px"><strong>工作节点</strong></th>
  626. <th style="width:100px"><strong>转发人</strong></th>
  627. <th style="width:100px"><strong>主送</strong></th>
  628. <th style="width:150px"><strong>抄送</strong></th>
  629. <th style="width:200px"><strong>发送日期</strong></th>
  630. </tr>
  631. </thead>
  632. <tbody>
  633. <tr ng-repeat="item in ctl.routeList">
  634. <td ng-bind="item.FLOWNAME"></td>
  635. <td ng-bind="item.TITLE"></td>
  636. <td ng-bind="item.ENDNODENAME"></td>
  637. <td ng-bind="item.USERNAMEFROM"></td>
  638. <td ng-bind="item.mainUser"></td>
  639. <td ng-bind="item.copyUsers"></td>
  640. <td ng-bind="item.RECEIVEDATE"></td>
  641. </tr>
  642. </tbody>
  643. </table>
  644. </div>
  645. <div class="sp-page sp-text-center sp-pt-10">
  646. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  647. </div>
  648. </div>
  649. </div>
  650. <div class="sp-layer" id="USAGE" style="width:900px;">
  651. <div class="sp-layer-head" style="background:#2176d6">
  652. <div class="sp-page sp-text-center sp-font16">
  653. 管理标签
  654. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  655. ×
  656. </div>
  657. </div>
  658. </div>
  659. <div class="sp-layer-body">
  660. <div class="input-group col-lg-8">
  661. <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
  662. <span class="input-group-btn">
  663. <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
  664. </span>
  665. </div>
  666. <br />
  667. <table class="sp-table">
  668. <thead>
  669. <tr>
  670. <th style="width: 50px"><strong>序号</strong></th>
  671. <th style="width: 200px"><strong>标签名称</strong></th>
  672. <th style="width: 100px"><strong>状态</strong></th>
  673. <th style="width: 200px"><strong>操作</strong></th>
  674. </tr>
  675. </thead>
  676. </table>
  677. <div style="overflow-y:scroll;max-height:400px">
  678. <table class="sp-table" style="margin-top: -38px">
  679. <thead>
  680. <tr>
  681. <th style="width: 50px"><strong>序号</strong></th>
  682. <th style="width: 200px"><strong>标签名称</strong></th>
  683. <th style="width: 100px"><strong>状态</strong></th>
  684. <th style="width: 200px"><strong>操作</strong></th>
  685. </tr>
  686. </thead>
  687. <tbody>
  688. <tr ng-repeat="item in ctl.USAGELIST">
  689. <td ng-bind="$index+1"></td>
  690. <td>
  691. <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
  692. <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
  693. </td>
  694. <td>
  695. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显&nbsp;示</button>
  696. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐&nbsp;藏</button>
  697. </td>
  698. <td>
  699. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  700. <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>
  701. <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>
  702. <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>
  703. <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>
  704. </td>
  705. </tr>
  706. </tbody>
  707. </table>
  708. </div>
  709. <div class="sp-page sp-text-center sp-pt-10">
  710. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  711. </div>
  712. </div>
  713. </div>
  714. <div class="sp-layer" id="GLJ" style="width: 600px;">
  715. <div class="sp-layer-head" style="background:#2176d6">
  716. <div class="sp-page sp-text-center sp-font16">
  717. 关&nbsp;&nbsp;联
  718. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  719. ×
  720. </div>
  721. </div>
  722. </div>
  723. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  724. <iframe id="GLJWin" style="width:100%;border:0"></iframe>
  725. </div>
  726. </div>
  727. <div class="sp-layer" id="meet" style="width:700px">
  728. <div class="sp-layer-head" style="background:#2176d6">
  729. <div class="sp-page sp-text-center sp-font16">
  730. 选择人员
  731. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  732. ×
  733. </div>
  734. </div>
  735. </div>
  736. <div class="sp-layer-body">
  737. <div class="sp-page" style="line-height: 30px">
  738. <div id="content">
  739. <div class="sp-line-gray"></div>
  740. <div class="sp-page-row">
  741. <table class="sp-grid">
  742. <tbody>
  743. <tr>
  744. <td width="300">
  745. <div style="height:30px">
  746. <input type="text" class="sp-input" ng-model="ctl.searchName" placeholder="请输入部门关键字" ng-change="ctl.searchPerson()" />
  747. </div>
  748. <div style="height: 200px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  749. <div ng-repeat="item in ctl.dpList1" class="sp-page">
  750. <div class="sp-pl-15 sp-pt-10 sp-pb-5 sp-page" style="cursor: pointer" ng-class="{'sp-btn-blue':ctl.activeDep==$index}" ng-click="ctl.userList=item.USER;ctl.activeDep=$index">
  751. <label ng-bind="item.DEP"></label>
  752. </div>
  753. </div>
  754. </div>
  755. <div style="height: 200px;margin-top:14px; border:1px solid #ddd;overflow-x: hidden; overflow-y: scroll; ">
  756. <div ng-repeat="item in ctl.userList" class="sp-page sp-pt-5" ng-if="item.show">
  757. <div class="sp-pl-15 sp-pt-10 sp-page">
  758. <label style="cursor: pointer">
  759. <input type="checkbox" ng-model="item.checked" />
  760. {{item.USHOWNAME}}
  761. </label>
  762. </div>
  763. </div>
  764. </div>
  765. </td>
  766. <td style="text-align:center">
  767. <button class="sp-btn-gray-outline" ng-click="ctl.addmeet()">
  768. <i class="fa fa-long-arrow-right"></i>
  769. </button>
  770. <br />
  771. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.delmeet()">
  772. <i class="fa fa-long-arrow-left"></i>
  773. </button>
  774. </td>
  775. <td width="300">
  776. <div class="sp-page sp-mb-5 pointer" style="border:1px solid #c6c6c6;height:444px">
  777. <label class="col-xs-4" ng-repeat="item in ctl.meetUser">
  778. <input type="checkbox" ng-model="item.checked" />&nbsp;<span ng-bind="item.USHOWNAME"></span>
  779. </label>
  780. </div>
  781. </td>
  782. </tr>
  783. </tbody>
  784. </table>
  785. </div>
  786. </div>
  787. </div>
  788. <div class="sp-page sp-text-center sp-mt-15">
  789. <button class="sp-btn-blue sp-radius" ng-click="ctl.joinMeet()">
  790. <i class="fa fa-check sp-mr-5"> </i>确 认
  791. </button>
  792. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  793. </div>
  794. </div>
  795. </div>
  796. <div class="sp-layer" id="meetUpdate" style="width:700px">
  797. <div class="sp-layer-head" style="background:#2176d6">
  798. <div class="sp-page sp-text-center sp-font16">
  799. {{ctl.meeting.updateTitle}}
  800. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  801. ×
  802. </div>
  803. </div>
  804. </div>
  805. <div class="sp-layer-body">
  806. <div class="sp-col-15">
  807. <span ng-if="ctl.meeting.type==1">会议标题</span>
  808. <span ng-if="ctl.meeting.type==2">查看时限</span>
  809. </div>
  810. <div class="sp-col-85">
  811. <input type="text" class="sp-input" ng-model="ctl.meeting.cname" ng-if="ctl.meeting.type==1" />
  812. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.meeting.watchlimit" ng-if="ctl.meeting.type==2" />
  813. </div>
  814. <div class="sp-page sp-text-center sp-mt-15">
  815. <button class="sp-btn-blue sp-radius" ng-click="ctl.meetUpdate()">
  816. <i class="fa fa-check sp-mr-5"> </i>确 认
  817. </button>
  818. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  819. </div>
  820. </div>
  821. </div>
  822. </div>
  823. <script type="text/ng-template" id="/treeView.html">
  824. <ul>
  825. <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
  826. </ul>
  827. </script>
  828. <script type="text/ng-template" id="/treeItem.html">
  829. <p ng-class="{'pActive':item.checked}">
  830. <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
  831. <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
  832. {{item[textField]}}
  833. </span>
  834. <span class="edit-menu sp-color-gray">
  835. <i ng-if="item.LEVELS!=3"
  836. ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
  837. <i ng-if="item.LEVELS!=1"
  838. ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
  839. <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
  840. ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
  841. <i ng-if="$index!=0"
  842. ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
  843. <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
  844. ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
  845. </span>
  846. </p>
  847. <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
  848. <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
  849. </ul>
  850. </script>
  851. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  852. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  853. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  854. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  855. <script src="../../../apiurljs.js"></script>
  856. <!--<script src="../../js/watermark.js"></script>-->
  857. <script src="../../../js/sm4.js"></script>
  858. <script>document.write('<scri' + 'pt src="../../flowchart_app_imgcss/js/yozo.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  859. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  860. <script>document.write('<scri' + 'pt src="js/formeditFL.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  861. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  862. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  863. <!--附件-->
  864. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  865. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  866. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  867. </body>
  868. </html>