formedit.html 51 KB

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