formedit.html 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  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. <link rel="stylesheet" href="../../../AFrontEnd/plugins/cropper/cropper.css">
  12. <script>document.write("<link href='../../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. <script>document.write("<link href='../css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='../../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <script>document.write("<link href='../css/imgCut.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. <style>
  17. .formedit {
  18. border-collapse: collapse;
  19. width: 100%;
  20. border: 2px solid #000;
  21. color: #000;
  22. }
  23. .formedit tbody td {
  24. text-align: center;
  25. line-height: 20px;
  26. padding: 7px 8px;
  27. border-top: 1px solid #000;
  28. border-right: 1px solid #000;
  29. }
  30. .sp-page-center input,
  31. .sp-page-center select,
  32. .sp-page-center textarea {
  33. border: 1px solid #fff;
  34. color: #333;
  35. }
  36. </style>
  37. </head>
  38. <body>
  39. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  40. <div class="wrapper wrapper-content">
  41. <div class="row">
  42. <div class="col-md-12">
  43. <div class="ibox float-e-margins">
  44. <div class="ibox-content">
  45. <div class="row">
  46. <div class="col-md-12">
  47. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  48. <div class="sp-box" style="background: #008A94; padding-right: 10px; line-height: 30px; ">
  49. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px" ng-bind="ctl.flowTitle"></div>
  50. <div class="sp-wrapper-head-col sp-mr-20">
  51. <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;">
  52. <i class="icon-map-1 sp-pl-5 pointer" ng-click="ctl.onePic()"></i>
  53. <input type="text" class="sp-wrapper-head-search" style="border:0" placeholder="地图搜索" ng-model="ctl.headBtnSearchKeyword" ng-change="ctl.headBtnSearch()" />
  54. </span>
  55. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;" ng-if="ctl.headSearchResult_view">
  56. <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>
  57. <!--<i ng-if="ctl.Title==item.VNAME" class="fa fa-check sp-color-blue"></i>-->
  58. </div>
  59. </div>
  60. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  61. <span class="sp-wrapper-head-col-span">
  62. <i class="icon-book"></i>标准规范
  63. </span>
  64. </div>
  65. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  66. <span class="sp-wrapper-head-col-span">
  67. <i class="fa fa-legal"></i>法律法规
  68. </span>
  69. </div>
  70. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  71. <span class="sp-wrapper-head-col-span">
  72. <i class="icon-newspaper-1"></i>党内规范
  73. </span>
  74. </div>
  75. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  76. <span class="sp-wrapper-head-col-span">
  77. <i class="icon-chart-alt-outline"></i>公文查询
  78. </span>
  79. </div>
  80. </div>
  81. <div class="sp-page sp-fs-16" style="border-bottom: 1px solid #c6c6c6">
  82. <div class="sp-page-col sp-pull-right sp-ml-30">
  83. <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')">
  84. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  85. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  86. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  87. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  88. {{item.CNAME}}
  89. </button>
  90. <button ng-click="ctl.btnSave(3)" class="sp-btn-gray sp-md sp-radius sp-mt-5">
  91. <img src="../../flowchart_app_imgcss/img/browse.png" height="14" />
  92. 预 览
  93. </button>
  94. <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'">
  95. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  96. 关闭
  97. </button>
  98. <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'">
  99. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  100. 关闭
  101. </button>
  102. </div>
  103. </div>
  104. <div id="bodyDiv" class="sp-page" style="overflow: visible;">
  105. <div id="topDiv" class="sp-box" style="width:100%;height:600px;background:#FFFFFF;padding:0px;margin:0px;overflow:hidden">
  106. <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'}">
  107. <table class="formedit">
  108. <tr>
  109. <td width="150">标题</td>
  110. <td colspan="5">
  111. <input type="text" class="sp-input" sp-required ng-change="ctl.changeFiled('BT')" ng-disabled="ctl.hide('readonly','BT')" ng-model="ctl.data.BT" />
  112. </td>
  113. </tr>
  114. <tr>
  115. <td width="150">副标题</td>
  116. <td colspan="5">
  117. <input type="text" class="sp-input" ng-change="ctl.changeFiled('FBT')" ng-disabled="ctl.hide('readonly','FBT')" ng-model="ctl.data.FBT" />
  118. </td>
  119. </tr>
  120. <tr>
  121. <td width="150">是否首页轮播</td>
  122. <td width="250">
  123. <label ng-repeat="item in ctl.SFSYLB"><input type="radio" name="SFSYLB" ng-model="ctl.data.SFSYLB" value="{{item.CODE}}" ng-disabled="ctl.hide('readonly','SFSYLB')" ng-change="ctl.changeFiled('SFSYLB')" />{{item.CNAME}}</label>
  124. </td>
  125. <td width="150">轮播设置</td>
  126. <td colspan="3">
  127. <button class="sp-btn-blue sp-radius sp-btn-sm">设置</button>
  128. </td>
  129. </tr>
  130. <tr>
  131. <td width="150">首页标题</td>
  132. <td colspan="5">
  133. <input type="text" class="sp-input" ng-change="ctl.changeFiled('WJBT')" ng-disabled="ctl.hide('readonly','WJBT')" ng-model="ctl.data.WJBT" />
  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>内容</td>
  158. <td colspan="5">
  159. <textarea id="kindEditor_Content" ng-hide="ctl.hide('readonly','FBNR')" style="width:100%; height:300px;"></textarea>
  160. <div class="sp-news-info" style="word-wrap: break-word" ng-hide="!ctl.hide('readonly','FBNR')">
  161. </div>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td>图片</td>
  166. <td colspan="5">
  167. <div style="width: 330px; height: 250px; padding: 20px 20px 0 0; float: left; position: relative; " ng-repeat="item in ctl.arrayFile1" ng-if="ctl.arrayFile1.length>0">
  168. <img class="sp-pull-left" style="width:100%;height:100%;cursor:pointer" ng-click="ctl.seePic(item)" ng-src="{{item.FILEURL1}}" />
  169. <span style="position:absolute;right:5px;top:5px;cursor:pointer" ng-click="ctl.deleteFile1(item,'IMAGESDATA')">
  170. <i class="fa fa-close"></i>
  171. </span>
  172. </div>
  173. <div class="sp-page-col" style="height: 250px; padding-top: 56px" ng-if="ctl.arrayFile1.length<10">
  174. <span class="upload-img sp-pull-left">
  175. <img ng-if="!ctl.hide('readonly','IMAGESDATA')" ng-click="ctl.beforeUpload(1)" src="../../flowchart_app_imgcss/img/plus.jpg" />
  176. <input id="fileupload1" class="upload-img-file-single"
  177. ng-disabled="ctl.hide('readonly','IMAGESDATA')"
  178. type="file" name="files[]" multiple>
  179. </span>
  180. </div>
  181. <div class="sp-box sp-text-left">
  182. 注:系统会对图片按16:9进行自动剪裁和压缩
  183. </div>
  184. </td>
  185. </tr>
  186. <tr>
  187. <td>视频</td>
  188. <td colspan="2">
  189. <div style="width: 330px; height: 250px; padding: 20px 20px 0 0; position: relative; float: left" ng-if="ctl.arrayFile2.length>0">
  190. <video id="videoBox" controls class="sp-pull-left" crossorigin="anonymous">
  191. <source ng-src="{{ctl.arrayFile2[0].FILEURL1}}" type="video/mp4" />
  192. </video>
  193. <span style="position:absolute;right:5px;top:5px;cursor:pointer;font-size:14px;" ng-click="ctl.deleteFile1(ctl.arrayFile2[0],'VIDEODATA')">
  194. <i class="fa fa-close" title="删除"></i>
  195. </span>
  196. <span style="position:absolute;right:3px;top:25px;cursor:pointer;font-size:14px;" ng-click="ctl.getVideoImg()">
  197. <i class="fa fa-image" title="截取封面"></i>
  198. </span>
  199. </div>
  200. <div class="sp-page-col" style="height: 250px; padding-top: 56px">
  201. <span class="upload-img sp-pull-left">
  202. <img ng-if="!ctl.hide('readonly','VIDEODATA')" ng-click="ctl.beforeUpload(2)" src="../../flowchart_app_imgcss/img/plus.jpg" />
  203. <input id="fileupload2" class="upload-img-file-single"
  204. ng-disabled="ctl.hide('readonly','VIDEODATA')"
  205. type="file" name="files[]" multiple>
  206. </span>
  207. </div>
  208. </td>
  209. <td>视频封面</td>
  210. <td colspan="2">
  211. <div style="width: 330px; height: 250px; padding: 20px 20px 0 0; float: left; position: relative; " ng-if="ctl.data.IMAGEDATA!=''">
  212. <img class="sp-pull-left" style="width:100%;height:100%;cursor:pointer" ng-click="ctl.seePic(item)" ng-src="{{ctl.data.IMAGEDATA}}" />
  213. </div>
  214. </td>
  215. </tr>
  216. <tr>
  217. <td>意见</td>
  218. <td colspan="5">
  219. <div ng-if="ctl.opinion.YJ==false">
  220. <div class="sp-page" style="min-height: 210px;">
  221. <table class="sp-grid sp-mb-5">
  222. <tr ng-repeat="item in ctl.YJ.YJ" class="qianzi">
  223. <td>
  224. <div class="sp-page">
  225. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  226. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  227. <div class="sp-page">
  228. <div class="sp-col-75">
  229. <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">
  230. <a ng-click="ctl.downLoadOption(item)" title="下载">
  231. <i class="fa fa-download sp-color-red"></i>
  232. </a>
  233. <a ng-click="ctl.deleteOptionFile(item,'YJ')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  234. <i class="fa fa-trash sp-color-red"></i>
  235. </a>
  236. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  237. </div>
  238. <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'">
  239. <span class="opbtn" style="position: relative; color: #1c84c6">
  240. <span class="upload-tip"></span>
  241. <input id="fileupload-YJ" class="upload-file-single" ng-click="ctl.upload2('YJ')" type="file" name="files[]" multiple>
  242. <i class="fa fa-upload"></i>
  243. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  244. </span>
  245. </div>
  246. </div>
  247. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  248. <span ng-bind="item.CMANNAME"></span>
  249. <span ng-bind="item.CDATE"></span>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="sp-page sp-text-right">
  254. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  255. ng-click="ctl.Dopinion('YJ')">
  256. <i class="fa fa-trash-o fa-lg"></i>
  257. </div>
  258. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  259. ng-click="ctl.changeOpinionItem('YJ',item)">
  260. <i class="fa fa-pencil fa-lg"></i>
  261. </div>
  262. </div>
  263. </td>
  264. </tr>
  265. </table>
  266. </div>
  267. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.YJSTATUS==false" style="color: #1EADFF"
  268. ng-hide="ctl.hide('readonly','YJ')" ng-click="ctl.openOpinion('YJ')">
  269. <i class="fa fa-pencil fa-lg"></i>
  270. </span>
  271. </div>
  272. <div ng-if="ctl.opinion.YJ==true||ctl.opinion.YJImg==true">
  273. <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>
  274. <div ng-if="ctl.opinion.YJImg==true">
  275. <div id="YJQZ" class="canvas"></div>
  276. </div>
  277. <div class="sp-page">
  278. <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>
  279. <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>
  280. <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>
  281. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('YJ')">保存</span>
  282. <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>
  283. <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>
  284. </div>
  285. </div>
  286. </td>
  287. </tr>
  288. </table>
  289. </div>
  290. </div>
  291. <div class="sp-page sp-pt-10" style="height: 10px; background: #F0F9FF;box-shadow:0 -2px 5px #c3c3c3; position: relative;z-index:5">
  292. <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)">
  293. 附言
  294. <i class="fa fa-angle-double-up fa-lg"></i>
  295. <i class="fa fa-angle-double-down" style="display: none"></i>
  296. </div>
  297. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  298. <div class="sp-box" style="border-bottom:1px solid #999;height:51px">
  299. <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()">
  300. 填写附言
  301. </span>
  302. </div>
  303. <textarea id="nulla" class="op-textarea sp-mb-5 sp-mt-5" ng-model="ctl.nulla" ng-if="ctl.opinion.nulla==true"></textarea>
  304. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999" ng-if="ctl.opinion.nulla==true">
  305. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  306. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList()">保存</span>
  307. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  308. </div>
  309. <div class="sp-page optionList sp-pb-5" style="height:389px;overflow-y: auto;">
  310. <div class="sp-page sp-pt-10 qianzi" ng-repeat="item in ctl.YJ.nulla">
  311. <div class="sp-col-100">
  312. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  313. <div class="sp-page">
  314. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  315. <div class="sp-page">
  316. <div class="sp-col-75">
  317. <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">
  318. <a ng-click="ctl.downLoadOption(item)" title="下载">
  319. <i class="fa fa-download sp-color-red"></i>
  320. </a>
  321. <a ng-click="ctl.deleteOptionFile(item,'')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  322. <i class="fa fa-trash sp-color-red"></i>
  323. </a>
  324. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  325. </div>
  326. <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==''">
  327. <span class="opbtn" style="position: relative; color: #1c84c6">
  328. <span class="upload-tip"></span>
  329. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  330. <i class="fa fa-upload"></i>
  331. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  332. </span>
  333. </div>
  334. </div>
  335. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  336. <span ng-bind="item.CMANNAME"></span>
  337. <span ng-bind="item.CDATE"></span>
  338. </div>
  339. </div>
  340. </div>
  341. <div class="sp-page sp-text-right">
  342. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  343. ng-click="ctl.Dopinion('')" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  344. <i class="fa fa-trash-o fa-lg"></i>
  345. </span>
  346. <span class="opbtn" style="color: #66D151; width: 55px; "
  347. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  348. <i class="fa fa-pencil fa-lg"></i>
  349. </span>
  350. </div>
  351. </div>
  352. </div>
  353. </div>
  354. </div>
  355. </div>
  356. </div>
  357. <div id="bottomDiv" class="sp-box" style="width: 100%; padding:0px;margin:0px; ">
  358. <div class="sp-page" style="width: 100%; background: #0099FF; color: #fff;" ng-init="ctl.goAttach()">
  359. <div class="sp-page-col">
  360. <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()">
  361. <i class="fa fa-arrows-v fa-lg sp-mr-10"></i>
  362. </span>
  363. <span title="{{ctl.gaoTypeArrayFirst[0].FILENAMES}}" ng-click="ctl.goAttach(ctl.gaoTypeArrayFirst[0])" style="line-height:30px;cursor:pointer">
  364. 正文
  365. <a ng-click="ctl.downLoad(ctl.gaoTypeArrayFirst[0])" title="下载" ng-if="ctl.gaoTypeArrayFirst[0]!=null">
  366. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  367. </a>
  368. </span>
  369. </div>
  370. <div class="sp-page sp-pull-right" style="width:calc(100% - 150px);position:relative;">
  371. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  372. <span class="upload-tip"></span>
  373. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  374. <i class="fa fa-plus sp-color-white"></i>
  375. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  376. </span>
  377. <span class="upload sp-color-white" style="top:4px">
  378. 附件({{ctl.arrayFile.length}}):
  379. </span>
  380. <div ng-repeat="item in ctl.arrayFile" 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">
  381. <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>
  382. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  383. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  384. </a>
  385. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  386. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  387. </a>
  388. </div>
  389. <span style="width: 20px; height: 20px; display: inline-block; float: right; position: relative; top: 10px; right: 15px" onclick="showToggle(this)" ng-if="ctl.arrayFile.length>4">
  390. <i class="fa fa-chevron-up" style="position: relative; top: -4px; display: none"></i>
  391. <i class="fa fa-chevron-down" style="position: relative; top: -4px; "></i>
  392. </span>
  393. <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">
  394. <div ng-repeat="item in ctl.arrayFile" ng-if="$index>3" style="padding: 5px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  395. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  396. <a ng-click="ctl.downLoad(item)" title="下载">
  397. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  398. </a>
  399. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  400. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  401. </a>
  402. </div>
  403. </div>
  404. </div>
  405. </div>
  406. <div class="sp-box sp-bg-white">
  407. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;" frameborder="0" scrolling="no"></iframe>
  408. </div>
  409. </div>
  410. </div>
  411. </div>
  412. </div>
  413. </div>
  414. </div>
  415. </div>
  416. </div>
  417. </div>
  418. <div class="sp-layer" id="userList" style="width: 900px;">
  419. <div class="sp-layer-head" style="background:#2176d6">
  420. <div class="sp-page sp-text-center sp-font16">
  421. 人员列表
  422. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  423. ×
  424. </div>
  425. </div>
  426. </div>
  427. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  428. <div class="sp-page" style="height:290px;overflow:auto">
  429. <label class="sp-col-20">
  430. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllChecked[ctl.filed]"
  431. ng-click="ctl.checkAllUser()" />
  432. 全选
  433. </label>
  434. <div class="sp-page" ng-repeat="item in ctl.UserList[ctl.filed]">
  435. <h4 style="background:#409EFF" class="sp-color-white sp-pl-10">
  436. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked"
  437. ng-click="ctl.checkUserItem(item)" />
  438. {{item.DEP}}
  439. </h4>
  440. <label ng-repeat="item1 in item.USER" class="sp-col-20" title="{{item1.USHOWNAME}}">
  441. <input type="checkbox" style="position:relative;top:2px" ng-checked="item1.checked"
  442. ng-click="ctl.checkUser(item1)" />
  443. {{item1.USHOWNAME2}}
  444. </label>
  445. </div>
  446. </div>
  447. <div class="sp-page sp-text-center sp-pt-10">
  448. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitUserList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  449. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  450. </div>
  451. </div>
  452. </div>
  453. <div class="sp-layer" id="phrase" style="width:480px;">
  454. <div class="sp-layer-head" style="background:#2176d6">
  455. <div class="sp-page sp-text-center sp-font16">
  456. 常用语库
  457. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  458. ×
  459. </div>
  460. </div>
  461. </div>
  462. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  463. <div class="sp-box">
  464. <div class="sp-col-70">
  465. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  466. </div>
  467. <div class="sp-col-30">
  468. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  469. </div>
  470. </div>
  471. <div class="sp-box">
  472. <div class="sp-col-20" style="line-height:30px;">
  473. 常用语:
  474. </div>
  475. <div class="sp-col-60">
  476. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  477. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}"
  478. ng-bind="item.CONTENTS"></option>
  479. </select>
  480. </div>
  481. <div class="sp-col-20">
  482. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  483. </div>
  484. </div>
  485. <div class="sp-page sp-text-center sp-pt-10">
  486. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  487. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')">
  488. <i class="fa fa-reply-all sp-mr-5"></i>关 闭
  489. </a>
  490. </div>
  491. </div>
  492. </div>
  493. <div class="sp-layer" id="forward" style="width: 1000px;">
  494. <div class="sp-layer-head" style="background:#2176d6">
  495. <div class="sp-page sp-text-center sp-font16">
  496. 转&nbsp;&nbsp;发
  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. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  504. </div>
  505. </div>
  506. <div class="sp-layer" id="RouteList" style="width:900px;">
  507. <div class="sp-layer-head" style="background:#2176d6">
  508. <div class="sp-page sp-text-center sp-font16">
  509. 流转记录
  510. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  511. ×
  512. </div>
  513. </div>
  514. </div>
  515. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  516. <table class="sp-table">
  517. <thead>
  518. <tr>
  519. <th style="width:100px"><strong>流程名称</strong></th>
  520. <th style="width:200px"><strong>标题</strong></th>
  521. <th style="width:100px"><strong>工作节点</strong></th>
  522. <th style="width:100px"><strong>转发人</strong></th>
  523. <th style="width:100px"><strong>主送</strong></th>
  524. <th style="width:150px"><strong>抄送</strong></th>
  525. <th style="width:200px"><strong>发送日期</strong></th>
  526. </tr>
  527. </thead>
  528. </table>
  529. <div style="overflow-y:scroll;max-height:400px">
  530. <table class="sp-table" style="margin-top: -38px">
  531. <thead>
  532. <tr>
  533. <th style="width:100px"><strong>流程名称</strong></th>
  534. <th style="width:200px"><strong>标题</strong></th>
  535. <th style="width:100px"><strong>工作节点</strong></th>
  536. <th style="width:100px"><strong>转发人</strong></th>
  537. <th style="width:100px"><strong>主送</strong></th>
  538. <th style="width:150px"><strong>抄送</strong></th>
  539. <th style="width:200px"><strong>发送日期</strong></th>
  540. </tr>
  541. </thead>
  542. <tbody>
  543. <tr ng-repeat="item in ctl.routeList">
  544. <td ng-bind="item.FLOWNAME"></td>
  545. <td ng-bind="item.TITLE"></td>
  546. <td ng-bind="item.ENDNODENAME"></td>
  547. <td ng-bind="item.USERNAMEFROM"></td>
  548. <td ng-bind="item.mainUser"></td>
  549. <td ng-bind="item.copyUsers"></td>
  550. <td ng-bind="item.RECEIVEDATE"></td>
  551. </tr>
  552. </tbody>
  553. </table>
  554. </div>
  555. <div class="sp-page sp-text-center sp-pt-10">
  556. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')">
  557. <i class="fa fa-reply-all sp-mr-5"></i>关 闭
  558. </a>
  559. </div>
  560. </div>
  561. </div>
  562. <div id="seePic" style="display:none">
  563. <img ng-src="{{ctl.seePicUrl}}" />
  564. </div>
  565. <div class="sp-layer" id="layer_fav" style="width: 720px;">
  566. <div class="sp-layer-head">
  567. <div class="sp-layer-title">
  568. 图片裁剪
  569. </div>
  570. <div class="sp-layer-close" title="关闭" ng-click="ctl.closeImgLayer()">
  571. ×
  572. </div>
  573. </div>
  574. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  575. <div class="fav-box">
  576. <div class="img-box">
  577. <div class="img-box-right">
  578. <div class="img-content">
  579. <img id="imageCut" src="" alt="">
  580. </div>
  581. <div class="img-action">
  582. <div class="img-btn">
  583. <div class="file-btn file-reset" ng-click="ctl.reset()" title="重置"></div>
  584. </div>
  585. <div class="img-btn">
  586. <div class="file-btn file-out" ng-click="ctl.zoomOut()" title="放大"></div>
  587. </div>
  588. <div class="img-btn">
  589. <div class="file-btn file-in" ng-click="ctl.zoomIn()" title="缩小"></div>
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </div>
  595. <div class="sp-line-txt sp-text-center sp-pt-10">
  596. <label><input type="radio" value="type1" ng-model="ctl.cutType" ng-change="ctl.changeCutType()">16:9</label>
  597. <label style="margin-left: 20px;"><input type="radio" value="type2" ng-change="ctl.changeCutType()" ng-model="ctl.cutType">自由比例</label>
  598. </div>
  599. <div class="sp-line-txt sp-text-center sp-pt-10">
  600. <button ng-disabled="ctl.nowImgUrl== ''" class="sp-btn-blue sp-sm sp-radius"
  601. ng-click="ctl.saveData()">
  602. <i class="fa fa-image"></i>&nbsp;裁 剪
  603. </button>
  604. <a class="sp-btn-blue sp-sm sp-radius" ng-click="ctl.closeImgLayer()">
  605. <i class="fa fa-reply-all"></i>&nbsp;取
  606. </a>
  607. </div>
  608. </div>
  609. </div>
  610. </div>
  611. <script src="../../../AFrontEnd/plugins/cropper/cropper.js"></script>
  612. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  613. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  614. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  615. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  616. <script type="text/javascript" src="../../../kindeditor/kindeditor.js"></script><!--kindeditor的js-->
  617. <script type="text/javascript" src="../../../kindeditor/lang/zh_CN.js"></script><!--kindeditor的js-->
  618. <script src="../../../AFrontEnd/js/base64/base64.js"></script>
  619. <script src="../../../apiurljs.js"></script>
  620. <script src="../../../js/sm4.js"></script>
  621. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  622. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  623. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  624. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  625. <!--附件-->
  626. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  627. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  628. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  629. </body>
  630. </html>