formedit-1.html 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  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. font-size: 13px;
  26. border-top: 1px solid #000;
  27. border-right: 1px solid #000;
  28. }
  29. .sp-page-center input,
  30. .sp-page-center select,
  31. .sp-page-center textarea {
  32. border: 1px solid #fff;
  33. color: #333;
  34. }
  35. .sp-error {
  36. color: #409EFF;
  37. }
  38. .sp-errorTip:hover,
  39. .sp-errorTip:focus {
  40. border: 1px solid #409EFF;
  41. }
  42. </style>
  43. </head>
  44. <body>
  45. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  46. <div class="wrapper wrapper-content">
  47. <div class="row">
  48. <div class="col-md-12">
  49. <div class="ibox float-e-margins">
  50. <div class="ibox-content">
  51. <div class="row">
  52. <div class="col-md-12">
  53. <div class="sp-box sp-bg-white">
  54. <div class="sp-page-col">
  55. <div class="sp-page-title" style="margin:7px 0;">归档审批单</div>
  56. </div>
  57. <div class="sp-page-col sp-ml-15">
  58. <a ng-repeat="item in ctl.SwenList" ng-class="{'activeSwen':ctl.Title==item.VNAME}" class="SwenBtn" href="{{item.TEMPFORM}}" title="{{item.VNAME}}">
  59. {{item.VNAME}}
  60. <!--<i ng-if="ctl.Title==item.VNAME" class="fa fa-check sp-color-blue"></i>-->
  61. </a>
  62. </div>
  63. <div class="sp-page-col sp-pull-right btn-box">
  64. <a 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')">
  65. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  66. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  67. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  68. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  69. {{item.CNAME}}
  70. </a>
  71. <a href="{{ctl.return}}" class="sp-btn-gray sp-radius"><img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  72. 返 回</a>
  73. </div>
  74. </div>
  75. <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'}">
  76. <h3 class="sp-text-center">归档流程审批表</h3>
  77. <table class="formedit">
  78. <tr>
  79. <td>流程</td>
  80. <td colspan="3">
  81. <input type="text" class="sp-input" ng-model="ctl.data.LC" ng-disabled="ctl.hide('readonly','LC')" ng-change="ctl.changeFiled('LC')" />
  82. </td>
  83. </tr>
  84. <tr>
  85. <td>标题</td>
  86. <td colspan="3">
  87. <input type="text" class="sp-input" ng-model="ctl.data.BT" ng-disabled="ctl.hide('readonly','BT')" ng-change="ctl.changeFiled('BT')" />
  88. </td>
  89. </tr>
  90. <tr>
  91. <td>文号</td>
  92. <td colspan="3">
  93. <input type="text" class="sp-input" ng-model="ctl.data.WH" ng-disabled="ctl.hide('readonly','WH')" ng-change="ctl.changeFiled('WH')" />
  94. </td>
  95. </tr>
  96. <tr>
  97. <td width="150">归档处室</td>
  98. <td>
  99. <input type="text" class="sp-input" ng-model="ctl.data.GDCS" readonly ng-click="ctl.openDpList('GDCS')" />
  100. </td>
  101. <td width="150">归档人员</td>
  102. <td>
  103. <input type="text" class="sp-input" ng-model="ctl.data.GDRY" readonly ng-click="ctl.openUserList('GDRY')" />
  104. </td>
  105. </tr>
  106. <tr>
  107. <td>处室意见</td>
  108. <td colspan="3">
  109. <div ng-if="ctl.opinion.CSYJ==false">
  110. <div class="sp-page" style="min-height: 210px;">
  111. <table class="sp-grid sp-mb-5">
  112. <tr ng-repeat="item in ctl.YJ.CSYJ" class="qianzi">
  113. <td>
  114. <div class="sp-page">
  115. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  116. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  117. <div class="sp-page">
  118. <div class="sp-col-75">
  119. <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">
  120. <a ng-click="ctl.downLoadOption(item)" title="下载">
  121. <i class="fa fa-download sp-color-red"></i>
  122. </a>
  123. <a ng-click="ctl.deleteOptionFile(item,'CSYJ')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  124. <i class="fa fa-trash sp-color-red"></i>
  125. </a>
  126. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  127. </div>
  128. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.CSYJ==false&&ctl.dotype==1&&item.COLID=='CSYJ'">
  129. <span class="opbtn" style="position: relative; color: #1c84c6">
  130. <span class="upload-tip"></span>
  131. <input id="fileupload-CSYJ" class="upload-file-single" ng-click="ctl.upload2('CSYJ')" type="file" name="files[]" multiple>
  132. <i class="fa fa-upload"></i>
  133. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  134. </span>
  135. </div>
  136. </div>
  137. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  138. <span ng-bind="item.CMANNAME"></span>
  139. <span ng-bind="item.CDATE"></span>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="sp-page sp-text-right">
  144. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  145. ng-click="ctl.Dopinion('CSYJ')">
  146. <i class="fa fa-trash-o fa-lg"></i>
  147. </div>
  148. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  149. ng-click="ctl.changeOpinionItem('CSYJ',item)">
  150. <i class="fa fa-pencil fa-lg"></i>
  151. </div>
  152. </div>
  153. </td>
  154. </tr>
  155. </table>
  156. </div>
  157. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.CSYJSTATUS==false" style="color: #1EADFF"
  158. ng-hide="ctl.hide('readonly','CSYJ')" ng-click="ctl.openOpinion('CSYJ')">
  159. <i class="fa fa-pencil fa-lg"></i>
  160. </span>
  161. </div>
  162. <div ng-if="ctl.opinion.CSYJ==true||ctl.opinion.CSYJImg==true">
  163. <textarea id="CSYJ" class="op-textarea sp-mb-10" ng-model="ctl.data.CSYJ" ng-if="ctl.opinion.CSYJ==true&&ctl.opinion.CSYJImg==false"></textarea>
  164. <div ng-if="ctl.opinion.CSYJImg==true">
  165. <div id="CSYJQZ" class="canvas"></div>
  166. </div>
  167. <div class="sp-page">
  168. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.CSYJImg==false,'sp-qz-gray':ctl.opinion.CSYJImg==true}" ng-click="ctl.opinion.CSYJImg=false">文字</div>
  169. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.CSYJImg==true,'sp-qz-gray':ctl.opinion.CSYJImg==false}" ng-click="ctl.QianZi('CSYJ')">手签</div>
  170. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion.CSYJ=false;ctl.opinion.CSYJImg=false">取消</span>
  171. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('CSYJ')">保存</span>
  172. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear('CSYJ')" ng-if="ctl.opinion.CSYJImg==true">清除</span>
  173. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase('CSYJ')" ng-if="ctl.opinion.CSYJ==true&&ctl.opinion.CSYJImg==false">常用语</span>
  174. </div>
  175. </div>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td>备注</td>
  180. <td colspan="3">
  181. <textarea class="sp-textarea" ng-model="ctl.data.BZ" ng-disabled="ctl.hide('readonly','BZ')" ng-change="ctl.changeFiled('BZ)" style="resize:none" rows="5"></textarea>
  182. </td>
  183. </tr>
  184. </table>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. <div class="sp-layer" id="DpList" style="width: 900px;">
  194. <div class="sp-layer-head" style="background:#2176d6">
  195. <div class="sp-page sp-text-center sp-font16">
  196. 部门列表
  197. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  198. ×
  199. </div>
  200. </div>
  201. </div>
  202. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  203. <div class="sp-page" style="height:290px;overflow:auto">
  204. <label class="sp-col-20">
  205. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  206. 全选
  207. </label>
  208. <div class="sp-page">
  209. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  210. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  211. {{item.SECTION}}
  212. </label>
  213. </div>
  214. </div>
  215. <div class="sp-page sp-text-center sp-pt-10">
  216. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  217. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  218. </div>
  219. </div>
  220. </div>
  221. <div class="sp-layer" id="userList" style="width: 900px;">
  222. <div class="sp-layer-head" style="background:#2176d6">
  223. <div class="sp-page sp-text-center sp-font16">
  224. 人员列表
  225. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  226. ×
  227. </div>
  228. </div>
  229. </div>
  230. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  231. <div class="sp-page" style="height:290px;overflow:auto">
  232. <label class="sp-col-20">
  233. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllChecked[ctl.filed]" ng-click="ctl.checkAllUser()" />
  234. 全选
  235. </label>
  236. <div class="sp-page" ng-repeat="item in ctl.UserList[ctl.filed]">
  237. <h4 style="background:#409EFF" class="sp-color-white sp-pl-10">
  238. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkUserItem(item)" />
  239. {{item.DEP}}
  240. </h4>
  241. <label ng-repeat="item1 in item.USER" class="sp-col-20" title="{{item1.USHOWNAME}}">
  242. <input type="checkbox" style="position:relative;top:2px" ng-checked="item1.checked" ng-click="ctl.checkUser(item1)" />
  243. {{item1.USHOWNAME2}}
  244. </label>
  245. </div>
  246. </div>
  247. <div class="sp-page sp-text-center sp-pt-10">
  248. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitUserList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  249. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="sp-layer" id="forward" style="width: 1000px;">
  254. <div class="sp-layer-head" style="background:#2176d6">
  255. <div class="sp-page sp-text-center sp-font16">
  256. 转&nbsp;&nbsp;发
  257. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  258. ×
  259. </div>
  260. </div>
  261. </div>
  262. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  263. <div class="sp-text-center" ng-if="ctl.showContent==false" ng-bind="ctl.direction.CODEFUNCTITLE"></div>
  264. <div class="sp-page" ng-if="ctl.showContent==true" style="line-height: 30px">
  265. <div class="grouping pointer" style="border-left: 1px solid #c3c3c3" ng-class="{'activeGroup':ctl.activeGroup=='最近'}" ng-click="ctl.activeGroup='最近'">
  266. 最近
  267. </div>
  268. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='部门'}" ng-click="ctl.activeGroup='部门'">
  269. 部门
  270. </div>
  271. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='角色'}" ng-click="ctl.activeGroup='角色'">
  272. 角色
  273. </div>
  274. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='群组'}" ng-click="ctl.activeGroup='群组'">
  275. 群组
  276. </div>
  277. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='自定义'}" ng-click="ctl.activeGroup='自定义';ctl.forward1(1)">
  278. 自定义
  279. </div>
  280. <table class="sp-grid" style="border:1px solid #c3c3c3">
  281. <tbody>
  282. <tr>
  283. <td width="400">
  284. <div class="sp-page">
  285. <div class="sp-page" style="height:30px">
  286. <input type="text" class="sp-input" style="background-image: url(../../flowchart_app_imgcss/img/search.png); background-repeat:no-repeat; background-position-x:98%;background-position-y:5px" ng-model="ctl.searchName" placeholder="请输入关键字" ng-change="ctl.searchPerson()" />
  287. </div>
  288. </div>
  289. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  290. <div ng-repeat="item in ctl.Dep" class="sp-box treeItem" ng-if="ctl.activeGroup=='部门'">
  291. <i ng-if="item.open==false&&item.C_H_I_L_D.length>0" class="fa fa-plus-square-o" ng-click="item.open=true"></i>
  292. <i ng-if="item.open==true&&item.C_H_I_L_D.length>0" class="fa fa-minus-square-o" ng-click="item.open=false"></i>
  293. <label ng-bind="item.SECTION" ng-class="{'activeDep':item.CODE==ctl.organCode}" class="pointer" ng-click="ctl.organCode=item.CODE"></label>
  294. <div class="sp-box treeTitle1" ng-if="item.open==true" ng-repeat="item1 in item.C_H_I_L_D">
  295. <i ng-if="item1.open==false&&item1.C_H_I_L_D.length>0" class="fa fa-plus-square-o sp-ml-15" ng-click="item1.open=true"></i>
  296. <i ng-if="item1.open==true&&item1.C_H_I_L_D.length>0" class="fa fa-minus-square-o sp-ml-15" ng-click="item1.open=false"></i>
  297. <label ng-bind="item1.SECTION" ng-class="{'activeDep':item1.CODE==ctl.organCode,'sp-ml-15':item1.C_H_I_L_D.length==0}" class="pointer" ng-click="ctl.organCode=item1.CODE"></label>
  298. <div class="sp-box treeTitle2" ng-if="item1.open==true" ng-repeat="item2 in item1.C_H_I_L_D">
  299. <i ng-if="item2.open==false&&item2.C_H_I_L_D.length>0" class="fa fa-plus-square-o sp-ml-30" ng-click="item2.open=true"></i>
  300. <i ng-if="item2.open==true&&item2.C_H_I_L_D.length>0" class="fa fa-minus-square-o sp-ml-30" ng-click="item2.open=false"></i>
  301. <label ng-bind="item2.SECTION" ng-class="{'activeDep':item2.CODE==ctl.organCode,'sp-ml-30':item2.C_H_I_L_D.length==0}" class="pointer" ng-click="ctl.organCode=item2.CODE"></label>
  302. </div>
  303. </div>
  304. </div>
  305. <div ng-repeat="item in ctl.zbList" class="sp-pl-15 sp-box" ng-if="ctl.activeGroup=='自定义'">
  306. <label ng-bind="item.CNAME" ng-class="{'activeDep':item.CODE==ctl.zbCode}" class="pointer" ng-click="ctl.checkZB(item)"></label>
  307. <span class="sp-btn-blue sp-btn-sm" ng-click="ctl.delZB(item)"><i class="fa fa-close"></i></span>
  308. </div>
  309. </div>
  310. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  311. <div ng-repeat="item in ctl.people" class="sp-page sp-pt-5" ng-if="item.show&&item.SECTCODE.indexOf(ctl.organCode)>-1&&ctl.activeGroup=='部门'">
  312. <div class="line sp-ml-10">
  313. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  314. <input type="checkbox" ng-model="item.checked" />
  315. {{item.USERNAME}}
  316. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  317. </label>
  318. </div>
  319. </div>
  320. <div ng-repeat="item in ctl.people" class="sp-page sp-pt-5" ng-if="item.show&&item.set==ctl.zbCode&&ctl.activeGroup=='自定义'">
  321. <div class="line sp-ml-10">
  322. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  323. <input type="checkbox" ng-model="item.checked" />
  324. {{item.USERNAME}}
  325. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  326. </label>
  327. </div>
  328. </div>
  329. </div>
  330. </td>
  331. <td style="text-align:center">
  332. <button class="sp-btn-gray-outline" ng-click="ctl.adduserAll()">
  333. <i class="fa fa-2x fa-angle-double-right"></i>
  334. </button>
  335. <br />
  336. <button class="sp-btn-gray-outline" ng-click="ctl.adduser()">
  337. <i class="fa fa-2x fa-angle-right"></i>
  338. </button>
  339. <br />
  340. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluser()">
  341. <i class="fa fa-2x fa-angle-left"></i>
  342. </button>
  343. <br />
  344. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluserAll()">
  345. <i class="fa fa-2x fa-angle-double-left"></i>
  346. </button>
  347. </td>
  348. <td width="300">
  349. <div class="sp-page" style="padding:5px;border:1px solid #c6c6c6;">
  350. <div class="sp-page" style="height:32px;line-height:20px">
  351. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==false" ng-click="ctl.saveZB=true">自定义组</span>
  352. <input type="text" class="sp-input" ng-if="ctl.saveZB==true" style="width:150px" ng-model="ctl.cnameZB" />
  353. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.btnSaveZB()">保存</span>
  354. <span class="sp-btn-red sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.saveZB=false">取消</span>
  355. </div>
  356. <div class="sp-page" style="height: 414px;overflow-y:auto">
  357. <div class="line" ng-repeat="item in ctl.forwardUser">
  358. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  359. <input type="checkbox" ng-model="item.checked" ng-click="ctl.checkForwardUser($index)" />&nbsp;
  360. <span ng-bind="item.USERNAME" class="pointer" ng-class="{'activeUser':ctl.activeUser==$index}"></span>
  361. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  362. <span class="sp-pull-right sp-mr-10">
  363. <img src="../../flowchart_app_imgcss/img/user.png" ng-if="$index==0" />
  364. <img src="../../flowchart_app_imgcss/img/users.png" ng-if="$index>0" />
  365. </span>
  366. </label>
  367. </div>
  368. </div>
  369. </div>
  370. </td>
  371. <td style="text-align:center">
  372. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag1" ng-click="ctl.moveUp()">
  373. <i class="fa fa-long-arrow-up"></i>
  374. </button>
  375. <br />
  376. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag2" ng-click="ctl.moveDown()">
  377. <i class="fa fa-long-arrow-down"></i>
  378. </button>
  379. </td>
  380. </tr>
  381. </tbody>
  382. </table>
  383. </div>
  384. <div class="sp-page sp-text-center sp-mt-15">
  385. <button class="sp-btn-blue sp-radius" ng-click="ctl.send()" ng-disabled="ctl.sendFlag||(ctl.forwardUser.length==0&&ctl.direction.ENDNODETYPE!=1)">
  386. <i class="fa fa-check sp-mr-5"> </i>确 认
  387. </button>
  388. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  389. </div>
  390. </div>
  391. </div>
  392. <div class="sp-layer" id="forward1" style="width: 520px;">
  393. <div class="sp-layer-head" style="background:#2176d6">
  394. <div class="sp-page sp-text-center sp-font16">
  395. 转&nbsp;&nbsp;发
  396. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  397. ×
  398. </div>
  399. </div>
  400. </div>
  401. <div class="sp-layer-body" ng-if="ctl.direction.ENDNODETYPE!=3" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  402. <div class="sp-page sp-pl-5" style="background: #C2C0F5" ng-if="ctl.direction.ENDNODETYPE!=1&&ctl.direction.CODEFUNCBUTTON.indexOf('SENDITEM')!=-1">
  403. <img src="../../flowchart_app_imgcss/img/checkoff.png" ng-if="ctl.mainSend==null&&ctl.copySend.length==0" />
  404. <img src="../../flowchart_app_imgcss/img/checkon.png" ng-if="ctl.mainSend!=null||ctl.copySend.length!=0" />
  405. <span ng-bind="ctl.direction.CNAME"></span>
  406. <span class="sp-color-red sp-ml-30" ng-if="ctl.mainNull==true&&ctl.mainSend == null">您还没有选择主送人员</span>
  407. </div>
  408. <div class="sp-page" style="width: 500px; line-height: 30px">
  409. <div id="content" ng-if="ctl.showContent==true">
  410. <div class="sp-line-gray"></div>
  411. <div class="sp-page-row" ng-if="ctl.direction.SENDRULE==0||ctl.direction.SENDRULE==1">
  412. <div class="sp-pull-left sp-span1 sp-pl-10">主送:</div>
  413. <div class="sp-pull-left sp-page" style="width: 420px; height:30px">
  414. <span class="selectPeople" ng-if="ctl.mainSend!=null">
  415. <span ng-bind="ctl.mainSend.USERNAME"></span>
  416. <i class="fa fa-close" ng-click="ctl.mainSend=null"></i>
  417. </span>
  418. </div>
  419. </div>
  420. <div class="sp-page-row" ng-if="ctl.direction.SENDRULE==1||ctl.direction.SENDRULE==2||ctl.direction.SENDRULE==3">
  421. <span class="sp-pull-left sp-span1 sp-pl-10">抄送:</span>
  422. <div class="sp-pull-left sp-page" style="width: 420px; height:30px">
  423. <span class="selectPeople" ng-repeat="item in ctl.copySend">
  424. <span ng-bind="item.USERNAME"></span>
  425. <i class="fa fa-close" ng-click="ctl.delCopySend(ctl,item)"></i>
  426. </span>
  427. </div>
  428. </div>
  429. <div class="sp-page-row">
  430. <table class="sp-grid">
  431. <tbody>
  432. <tr>
  433. <td style="width:250px;border-right:1px solid #ddd">
  434. <div style="height: 200px; overflow-x: hidden; overflow-y: scroll;">
  435. <div ng-repeat="item in ctl.Dep" class="sp-page">
  436. <i ng-if="item.open==false&&item.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item.open=true"></i>
  437. <i ng-if="item.open==true&&item.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item.open=false"></i>
  438. <label ng-bind="item.SECTION" class="pointer" ng-click="ctl.organCode=item.CODE"></label>
  439. <i class="fa fa-check sp-color-blue" ng-if="item.CODE==ctl.organCode"></i>
  440. <div class="sp-ml-15 sp-box" ng-if="item.open==true" ng-repeat="item1 in item.C_H_I_L_D">
  441. <i ng-if="item1.open==false&&item1.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item1.open=true"></i>
  442. <i ng-if="item1.open==true&&item1.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item1.open=false"></i>
  443. <label ng-bind="item1.SECTION" class="pointer" ng-click="ctl.organCode=item1.CODE"></label>
  444. <i class="fa fa-check sp-color-blue" ng-if="item1.CODE==ctl.organCode"></i>
  445. <div class="sp-ml-15 sp-box" ng-if="item1.open==true" ng-repeat="item2 in item1.C_H_I_L_D">
  446. <i ng-if="item2.open==false&&item2.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item2.open=true"></i>
  447. <i ng-if="item2.open==true&&item2.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item2.open=false"></i>
  448. <label ng-bind="item2.SECTION" class="pointer" ng-click="ctl.organCode=item2.CODE"></label>
  449. <i class="fa fa-check sp-color-blue" ng-if="item2.CODE==ctl.organCode"></i>
  450. </div>
  451. </div>
  452. </div>
  453. </div>
  454. </td>
  455. <td>
  456. <div style="height: 200px; overflow-x: hidden; overflow-y: scroll;">
  457. <div ng-repeat="item in ctl.people" class="sp-box" ng-if="item.SECTCODE.indexOf(ctl.organCode)>-1">
  458. <span ng-bind="item.USERNAME"></span>
  459. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right" ng-click="ctl.setCopySend(ctl,item)"
  460. ng-if="(ctl.direction.SENDRULE==1||ctl.direction.SENDRULE==2||ctl.direction.SENDRULE==3)&&ctl.copySend.indexOf(item)==-1&&item!=ctl.mainSend">抄送</span>
  461. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right" ng-click="ctl.setMainSend(ctl,item)"
  462. ng-if="(ctl.direction.SENDRULE==0||ctl.direction.SENDRULE==1)&&ctl.copySend.indexOf(item)==-1&&ctl.mainSend==null">主送</span>
  463. </div>
  464. </div>
  465. </td>
  466. </tr>
  467. </tbody>
  468. </table>
  469. </div>
  470. </div>
  471. <div class="sp-text-center" ng-if="ctl.showContent==false" ng-bind="ctl.direction.CODEFUNCTITLE"></div>
  472. </div>
  473. <div class="sp-page sp-text-center sp-mt-15">
  474. <button class="sp-btn-blue sp-radius" ng-click="ctl.send()" ng-disabled="ctl.sendFlag" ng-if="ctl.direction.ENDNODETYPE!=1&&ctl.direction.CODEFUNCBUTTON.indexOf('SENDITEM')!=-1">
  475. <i class="fa fa-check sp-mr-5"> </i>发 送
  476. </button>
  477. <button class="sp-btn-blue sp-radius" ng-click="ctl.send()" ng-disabled="ctl.sendFlag" ng-if="ctl.direction.ENDNODETYPE==1||ctl.direction.CODEFUNCBUTTON.indexOf('SENDITEM')==-1">
  478. <i class="fa fa-check sp-mr-5"> </i>确 认
  479. </button>
  480. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  481. </div>
  482. </div>
  483. <div class="sp-layer-body" ng-if="ctl.direction.ENDNODETYPE==3" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  484. <div ng-repeat="item in ctl.directionList">
  485. <div class="sp-page sp-pl-5" style="background: #C2C0F5">
  486. <img src="../../flowchart_app_imgcss/img/checkoff.png" ng-if="item.mainSend==null&&item.copySend.length==0" />
  487. <img src="../../flowchart_app_imgcss/img/checkon.png" ng-if="item.mainSend!=null||item.copySend.length!=0" />
  488. <span ng-bind="item.CNAME"></span>
  489. <span class="sp-pull-right" style="margin: 2px 5px 0 0; cursor: pointer; " ng-click="ctl.openPeopleList(item)"><i class="fa fa-user-circle-o fa-lg"></i></span>
  490. </div>
  491. <div class="sp-line-gray"></div>
  492. <div class="sp-page-center" style="width: 500px; line-height: 30px">
  493. <div class="sp-page-row" ng-if="item.SENDRULE==0||item.SENDRULE==1">
  494. <div class="sp-pull-left sp-span1 sp-pl-10">主送:</div>
  495. <div class="sp-pull-left sp-page" style="width: 420px; height:30px">
  496. <span class="selectPeople" ng-if="item.mainSend!=null">
  497. <span ng-bind="item.mainSend.USERNAME"></span>
  498. <i class="fa fa-close" ng-click="item.mainSend=null"></i>
  499. </span>
  500. </div>
  501. </div>
  502. <div class="sp-page-row" ng-if="item.SENDRULE==1||item.SENDRULE==2||item.SENDRULE==3">
  503. <span class="sp-pull-left sp-span1 sp-pl-10">抄送:</span>
  504. <div class="sp-pull-left sp-page" style="width: 420px; height:30px">
  505. <span class="selectPeople" ng-repeat="item1 in item.copySend">
  506. <span ng-bind="item1.USERNAME"></span>
  507. <i class="fa fa-close" ng-click="ctl.delCopySend(item,item1)"></i>
  508. </span>
  509. </div>
  510. </div>
  511. <div ng-show="item.show">
  512. <div class="sp-page-row">
  513. <table class="sp-grid">
  514. <tbody>
  515. <tr>
  516. <td style="width:250px;border-right:1px solid #ddd">
  517. <div style="height: 200px; overflow-x: hidden; overflow-y: scroll;">
  518. <div ng-repeat="item1 in item.Dep" class="sp-page">
  519. <i ng-if="item1.open==false&&item1.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item1.open=true"></i>
  520. <i ng-if="item1.open==true&&item1.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item1.open=false"></i>
  521. <label ng-bind="item1.SECTION" class="pointer" ng-click="item.organCode=item1.CODE"></label>
  522. <i class="fa fa-check sp-color-blue" ng-if="item1.CODE==item.organCode"></i>
  523. <div class="sp-ml-15 sp-box" ng-if="item1.open==true" ng-repeat="item2 in item1.C_H_I_L_D">
  524. <i ng-if="item2.open==false&&item2.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item2.open=true"></i>
  525. <i ng-if="item2.open==true&&item2.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item2.open=false"></i>
  526. <label ng-bind="item2.SECTION" class="pointer" ng-click="item.organCode=item2.CODE"></label>
  527. <i class="fa fa-check sp-color-blue" ng-if="item2.CODE==item.organCode"></i>
  528. <div class="sp-ml-15 sp-box" ng-if="item2.open==true" ng-repeat="item3 in item2.C_H_I_L_D">
  529. <i ng-if="item3.open==false&&item3.C_H_I_L_D" class="fa fa-plus-square-o" ng-click="item3.open=true"></i>
  530. <i ng-if="item3.open==true&&item3.C_H_I_L_D" class="fa fa-minus-square-o" ng-click="item3.open=false"></i>
  531. <label ng-bind="item3.SECTION" class="pointer" ng-click="item.organCode=item3.CODE"></label>
  532. <i class="fa fa-check sp-color-blue" ng-if="item3.CODE==item.organCode"></i>
  533. </div>
  534. </div>
  535. </div>
  536. </div>
  537. </td>
  538. <td>
  539. <div style="height: 200px; overflow-x: hidden; overflow-y: scroll;">
  540. <div ng-repeat="item1 in item.people" class="sp-box" ng-if="item1.SECTCODE.indexOf(item.organCode)>-1">
  541. <span ng-bind="item1.USERNAME"></span>
  542. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right" ng-click="ctl.setCopySend(item,item1)"
  543. ng-if="(item.SENDRULE==1||item.SENDRULE==2||item.SENDRULE==3)&&item.copySend.indexOf(item1)==-1&&item1!=item.mainSend">抄送</span>
  544. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right" ng-click="ctl.setMainSend(item,item1)"
  545. ng-if="(item.SENDRULE==0||item.SENDRULE==1)&&item.copySend.indexOf(item1)==-1&&item.mainSend==null">主送</span>
  546. </div>
  547. </div>
  548. </td>
  549. </tr>
  550. </tbody>
  551. </table>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <div class="sp-page sp-text-center sp-mt-15">
  557. <button class="sp-btn-blue sp-radius" ng-click="ctl.sendAll()" ng-disabled="ctl.sendFlag"><i class="fa fa-check sp-mr-5"> </i>发 送</button>
  558. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  559. </div>
  560. </div>
  561. </div>
  562. <div class="sp-layer" id="RouteList" style="width:900px;">
  563. <div class="sp-layer-head" style="background:#2176d6">
  564. <div class="sp-page sp-text-center sp-font16">
  565. 流转记录
  566. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  567. ×
  568. </div>
  569. </div>
  570. </div>
  571. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  572. <table class="sp-table">
  573. <thead>
  574. <tr>
  575. <th style="width:100px"><strong>流程名称</strong></th>
  576. <th style="width:200px"><strong>标题</strong></th>
  577. <th style="width:100px"><strong>工作节点</strong></th>
  578. <th style="width:100px"><strong>转发人</strong></th>
  579. <th style="width:100px"><strong>主送</strong></th>
  580. <th style="width:150px"><strong>抄送</strong></th>
  581. <th style="width:200px"><strong>发送日期</strong></th>
  582. </tr>
  583. </thead>
  584. </table>
  585. <div style="overflow-y:scroll;max-height:400px">
  586. <table class="sp-table" style="margin-top: -38px">
  587. <thead>
  588. <tr>
  589. <th style="width:100px"><strong>流程名称</strong></th>
  590. <th style="width:200px"><strong>标题</strong></th>
  591. <th style="width:100px"><strong>工作节点</strong></th>
  592. <th style="width:100px"><strong>转发人</strong></th>
  593. <th style="width:100px"><strong>主送</strong></th>
  594. <th style="width:150px"><strong>抄送</strong></th>
  595. <th style="width:200px"><strong>发送日期</strong></th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr ng-repeat="item in ctl.routeList">
  600. <td ng-bind="item.FLOWNAME"></td>
  601. <td ng-bind="item.TITLE"></td>
  602. <td ng-bind="item.ENDNODENAME"></td>
  603. <td ng-bind="item.USERNAMEFROM"></td>
  604. <td ng-bind="item.mainUser"></td>
  605. <td ng-bind="item.copyUsers"></td>
  606. <td ng-bind="item.RECEIVEDATE"></td>
  607. </tr>
  608. </tbody>
  609. </table>
  610. </div>
  611. <div class="sp-page sp-text-center sp-pt-10">
  612. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  613. </div>
  614. </div>
  615. </div>
  616. </div>
  617. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  618. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  619. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  620. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  621. <script src="../../../apiurljs.js"></script>
  622. <!--<script src="../../js/watermark.js"></script>-->
  623. <script src="../../../js/sm4.js"></script>
  624. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  625. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  626. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  627. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  628. </body>
  629. </html>