formedit.html 61 KB

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