fawenfile.html 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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/attachlist.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. </head>
  15. <body>
  16. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  17. <div class="wrapper wrapper-content">
  18. <div class="row">
  19. <div class="col-md-12">
  20. <div class="ibox float-e-margins">
  21. <div class="ibox-content">
  22. <div class="row">
  23. <div class="col-md-12" ng-if="ctl.video==false">
  24. <div class="sp-box sp-bg-white">
  25. <div class="sp-page-col">
  26. <div class="sp-page-title" style="margin:7px 0;">发文稿件</div>
  27. </div>
  28. <div class="sp-page-col sp-ml-15 topPart">
  29. <a ng-repeat="item in ctl.SwenList" ng-class="{'activeSwen':ctl.Title==item.VNAME}" class="SwenBtn" href="{{item.TEMPFORM}}" title="{{item.VNAME}}">
  30. {{item.VNAME}}&nbsp;
  31. <!--<i ng-if="ctl.Title==item.VNAME" class="fa fa-check sp-color-blue"></i>-->
  32. </a>
  33. </div>
  34. <div class="sp-page-col sp-pull-right btn-box">
  35. <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')">
  36. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  37. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  38. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  39. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  40. {{item.CNAME}}
  41. </a>
  42. <!--<a class="sp-btn-gray sp-radius" ng-click="ctl.btnXiuDing()">
  43. 修 订
  44. </a>-->
  45. <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
  46. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  47. 返 回
  48. </a>
  49. </div>
  50. </div>
  51. <div class="sp-page">
  52. <div class="col-md-2">
  53. <div class="sp-page" style="padding:15px;background-color: #E9F5FC">
  54. <div class="sp-page">
  55. <div class="sp-box">
  56. <div class="sp-page-col sp-pull-left">公文种类</div>
  57. <div class="sp-page-col sp-pull-right">
  58. <span class="sp-btn-blue sp-btn-radius sp-btn-md" ng-if="ctl.routeinfoid!=0&&ctl.dotype!=0" ng-click="ctl.btnCreateFileKind()">创建</span>
  59. </div>
  60. </div>
  61. <div class="sp-page">
  62. <select class="sp-select" ng-model="ctl.file.GWZL">
  63. <option ng-repeat="item in ctl.GWZL" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  64. </select>
  65. </div>
  66. <div class="sp-box sp-mt-10">过程稿</div>
  67. <div class="sp-page-mgn" style="min-height:100px; max-height:200px; overflow-y:auto;">
  68. <div class="sp-page-pad">
  69. <div class="sp-lh-22" ng-if="ctl.gaoTypeArrayFirst.length>0" ng-repeat="item in ctl.gaoTypeArrayFirst">
  70. <span class="sp-page-col sp-cursor-pointer" style="width: calc(100% - 20px)" ng-click="ctl.btnClickFileKind(item)">{{item.DOCNAME}}.{{item.FILEEXT}}</span>
  71. <span class="sp-page-col sp-cursor-pointer sp-text-right" ng-if="ctl.dotype!=0" style="width:20px;" ng-click="ctl.btnDelFileKind(item,1)"><i class="fa fa-close"></i></span>
  72. </div>
  73. <div class="sp-lh-50 sp-text-center" ng-if="ctl.gaoTypeArrayFirst.length<1">暂无文件</div>
  74. </div>
  75. </div>
  76. <div class="sp-box">成文稿</div>
  77. <div class="sp-page-mgn" style="min-height: 100px; max-height: 30px">
  78. <div class="sp-page-pad">
  79. <div class="sp-lh-22" ng-if="ctl.gaoTypeArraySecond.length>0" ng-repeat="item in ctl.gaoTypeArraySecond">
  80. <span class="sp-page-col sp-cursor-pointer" style="width: calc(100% - 40px)" ng-click="ctl.browse(item)">{{item.DOCNAME}}.{{item.FILEEXT}}</span>
  81. <span class="sp-page-col sp-cursor-pointer sp-text-right" ng-if="ctl.dotype!=0" style="width:20px;" ng-click="ctl.download(item)"><i class="fa fa-download"></i></span>
  82. <span class="sp-page-col sp-cursor-pointer sp-text-right" ng-if="ctl.dotype!=0" style="width:20px;" ng-click="ctl.btnDelFileKind(item,2)"><i class="fa fa-close"></i></span>
  83. </div>
  84. <div class="sp-lh-50 sp-text-center" ng-if="ctl.gaoTypeArraySecond.length<1">暂无文件</div>
  85. </div>
  86. </div>
  87. <div class="sp-box">签章</div>
  88. <div class="sp-page-mgn" style="min-height: 100px; max-height: 30px">
  89. <div class="sp-page-pad">
  90. <div class="sp-lh-22" ng-if="ctl.gaoTypeArrayThird.length>0" ng-repeat="item in ctl.gaoTypeArrayThird">
  91. <span class="sp-page-col sp-cursor-pointer" style="width: calc(100% - 40px)" ng-click="ctl.browse(item)">{{item.DOCNAME}}.{{item.FILEEXT}}</span>
  92. <span class="sp-page-col sp-cursor-pointer sp-text-right" ng-if="ctl.dotype!=0" style="width:20px;" ng-click="ctl.download(item)"><i class="fa fa-download"></i></span>
  93. <span class="sp-page-col sp-cursor-pointer sp-text-right" ng-if="ctl.dotype!=0" style="width:20px;" ng-click="ctl.btnDelFileKind(item,3)"><i class="fa fa-close"></i></span>
  94. </div>
  95. <div class="sp-lh-50 sp-text-center" ng-if="ctl.gaoTypeArrayThird.length<1">暂无文件</div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="col-md-10">
  102. <iframe id="iframe_WO" src="" width="100%" frameborder="0" class="iframe" scrolling="no"></iframe>
  103. <div ng-if="ctl.gaoTypeArrayFirst.length<1" class="sp-lh-50 sp-text-center">暂无文件</div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <div class="sp-layer" id="phrase" style="width:480px;">
  114. <div class="sp-layer-head" style="background:#2176d6">
  115. <div class="sp-page sp-text-center sp-font16">
  116. 常用语库
  117. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  118. ×
  119. </div>
  120. </div>
  121. </div>
  122. <div class="sp-layer-body">
  123. <div class="sp-box">
  124. <div class="sp-col-70">
  125. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  126. </div>
  127. <div class="sp-col-30">
  128. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  129. </div>
  130. </div>
  131. <div class="sp-box">
  132. <div class="sp-col-20" style="line-height:30px;">
  133. 常用语:
  134. </div>
  135. <div class="sp-col-60">
  136. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  137. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  138. </select>
  139. </div>
  140. <div class="sp-col-20">
  141. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  142. </div>
  143. </div>
  144. <div class="sp-page sp-text-center sp-pt-10">
  145. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  146. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  147. </div>
  148. </div>
  149. </div>
  150. <div class="sp-layer" id="forward" style="width: 1000px;">
  151. <div class="sp-layer-head" style="background:#2176d6">
  152. <div class="sp-page sp-text-center sp-font16">
  153. 转&nbsp;&nbsp;发
  154. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  155. ×
  156. </div>
  157. </div>
  158. </div>
  159. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  160. <div class="sp-text-center" ng-if="ctl.showContent==false" ng-bind="ctl.direction.CODEFUNCTITLE"></div>
  161. <div class="sp-page" ng-if="ctl.showContent==true" style="line-height: 30px">
  162. <div class="grouping pointer" style="border-left: 1px solid #c3c3c3" ng-class="{'activeGroup':ctl.activeGroup=='最近'}" ng-click="ctl.activeGroup='最近'">
  163. 最近
  164. </div>
  165. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='部门'}" ng-click="ctl.activeGroup='部门'">
  166. 部门
  167. </div>
  168. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='角色'}" ng-click="ctl.activeGroup='角色'">
  169. 角色
  170. </div>
  171. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='群组'}" ng-click="ctl.activeGroup='群组'">
  172. 群组
  173. </div>
  174. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='自定义'}" ng-click="ctl.activeGroup='自定义';ctl.forward1(1)">
  175. 自定义
  176. </div>
  177. <table class="sp-grid" style="border:1px solid #c3c3c3">
  178. <tbody>
  179. <tr>
  180. <td width="400">
  181. <div class="sp-page">
  182. <div class="sp-page" style="height:30px">
  183. <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(1)" />
  184. </div>
  185. </div>
  186. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  187. <div ng-repeat="item in ctl.Dep" class="sp-box treeItem" ng-if="ctl.activeGroup=='部门'">
  188. <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>
  189. <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>
  190. <label ng-bind="item.SECTION" ng-class="{'activeDep':item.CODE==ctl.organCode}" class="pointer" ng-click="ctl.organCode=item.CODE"></label>
  191. <div class="sp-box treeTitle1" ng-if="item.open==true" ng-repeat="item1 in item.C_H_I_L_D">
  192. <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>
  193. <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>
  194. <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>
  195. <div class="sp-box treeTitle2" ng-if="item1.open==true" ng-repeat="item2 in item1.C_H_I_L_D">
  196. <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>
  197. <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>
  198. <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>
  199. </div>
  200. </div>
  201. </div>
  202. <div ng-repeat="item in ctl.zbList" class="sp-pl-15 sp-box" ng-if="ctl.activeGroup=='自定义'">
  203. <label ng-bind="item.CNAME" ng-class="{'activeDep':item.CODE==ctl.zbCode}" class="pointer" ng-click="ctl.checkZB(item,1)"></label>
  204. <span class="sp-btn-blue sp-btn-sm" ng-click="ctl.delZB(item,1)"><i class="fa fa-close"></i></span>
  205. </div>
  206. </div>
  207. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  208. <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=='部门'">
  209. <div class="line sp-ml-10">
  210. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  211. <input type="checkbox" ng-model="item.checked" />
  212. {{item.USERNAME}}
  213. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  214. </label>
  215. </div>
  216. </div>
  217. <div ng-repeat="item in ctl.people" class="sp-page sp-pt-5" ng-if="item.show&&item.set==ctl.zbCode&&ctl.activeGroup=='自定义'">
  218. <div class="line sp-ml-10">
  219. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  220. <input type="checkbox" ng-model="item.checked" />
  221. {{item.USERNAME}}
  222. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  223. </label>
  224. </div>
  225. </div>
  226. </div>
  227. </td>
  228. <td style="text-align:center">
  229. <button class="sp-btn-gray-outline" ng-click="ctl.adduserAll(1)">
  230. <i class="fa fa-2x fa-angle-double-right"></i>
  231. </button>
  232. <br />
  233. <button class="sp-btn-gray-outline" ng-click="ctl.adduser(1)">
  234. <i class="fa fa-2x fa-angle-right"></i>
  235. </button>
  236. <br />
  237. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluser(1)">
  238. <i class="fa fa-2x fa-angle-left"></i>
  239. </button>
  240. <br />
  241. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluserAll(1)">
  242. <i class="fa fa-2x fa-angle-double-left"></i>
  243. </button>
  244. </td>
  245. <td width="300">
  246. <div class="sp-page" style="padding:5px;border:1px solid #c6c6c6;">
  247. <div class="sp-page" style="height:32px;line-height:20px">
  248. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==false" ng-click="ctl.saveZB=true">自定义组</span>
  249. <input type="text" class="sp-input" ng-if="ctl.saveZB==true" style="width:150px" ng-model="ctl.cnameZB" />
  250. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.btnSaveZB(1)">保存</span>
  251. <span class="sp-btn-red sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.saveZB=false">取消</span>
  252. </div>
  253. <div class="sp-page" style="height: 414px;overflow-y:auto">
  254. <div class="line" ng-repeat="item in ctl.forwardUser">
  255. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  256. <input type="checkbox" ng-model="item.checked" ng-click="ctl.checkForwardUser($index)" />&nbsp;
  257. <span ng-bind="item.USERNAME" class="pointer" ng-class="{'activeUser':ctl.activeUser==$index}"></span>
  258. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  259. <span class="sp-pull-right sp-mr-10">
  260. <img src="../../flowchart_app_imgcss/img/user.png" ng-if="$index==0" />
  261. <img src="../../flowchart_app_imgcss/img/users.png" ng-if="$index>0" />
  262. </span>
  263. </label>
  264. </div>
  265. </div>
  266. </div>
  267. </td>
  268. <td style="text-align:center">
  269. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag1" ng-click="ctl.moveUp(1)">
  270. <i class="fa fa-long-arrow-up"></i>
  271. </button>
  272. <br />
  273. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag2" ng-click="ctl.moveDown(1)">
  274. <i class="fa fa-long-arrow-down"></i>
  275. </button>
  276. </td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. </div>
  281. <div class="sp-page sp-text-center sp-mt-15">
  282. <button class="sp-btn-blue sp-radius" ng-click="ctl.send()" ng-disabled="ctl.sendFlag||(ctl.forwardUser.length==0&&ctl.direction.ENDNODETYPE!=1)">
  283. <i class="fa fa-check sp-mr-5"> </i>确 认
  284. </button>
  285. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  286. </div>
  287. </div>
  288. </div>
  289. <div class="sp-layer" id="forward1" style="width: 900px;">
  290. <div class="sp-layer-head" style="background:#2176d6">
  291. <div class="sp-page sp-text-center sp-font16">
  292. 转&nbsp;&nbsp;发
  293. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  294. ×
  295. </div>
  296. </div>
  297. </div>
  298. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  299. <div class="sp-text-center" ng-if="ctl.showContent==false" ng-bind="ctl.direction.CODEFUNCTITLE"></div>
  300. <div class="sp-page-tab" ng-init="ctl.type=0">
  301. <span ng-class="{'pageTabActive':ctl.type==$index}" style="width: auto;padding:0 10px" ng-repeat="item in ctl.directionList" ng-click="ctl.changeType($index)">{{item.CNAME}}</span>
  302. </div>
  303. <div class="sp-page" ng-if="ctl.showContent==true" style="line-height: 30px">
  304. <div class="grouping pointer" style="border-left: 1px solid #c3c3c3" ng-class="{'activeGroup':ctl.activeGroup=='最近'}" ng-click="ctl.activeGroup='最近'">
  305. 最近
  306. </div>
  307. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='部门'}" ng-click="ctl.activeGroup='部门'">
  308. 部门
  309. </div>
  310. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='角色'}" ng-click="ctl.activeGroup='角色'">
  311. 角色
  312. </div>
  313. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='群组'}" ng-click="ctl.activeGroup='群组'">
  314. 群组
  315. </div>
  316. <div class="grouping pointer" ng-class="{'activeGroup':ctl.activeGroup=='自定义'}" ng-click="ctl.activeGroup='自定义';ctl.forward1(1)">
  317. 自定义
  318. </div>
  319. <table class="sp-grid" style="border:1px solid #c3c3c3">
  320. <tbody>
  321. <tr>
  322. <td width="400">
  323. <div class="sp-page">
  324. <div class="sp-page" style="height:30px">
  325. <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(2)" />
  326. </div>
  327. </div>
  328. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  329. <div ng-repeat="item in ctl.activeDirection.Dep" class="sp-box treeItem" ng-if="ctl.activeGroup=='部门'">
  330. <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>
  331. <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>
  332. <label ng-bind="item.SECTION" ng-class="{'activeDep':item.CODE==ctl.activeDirection.organCode}" class="pointer" ng-click="ctl.activeDirection.organCode=item.CODE"></label>
  333. <div class="sp-box treeTitle1" ng-if="item.open==true" ng-repeat="item1 in item.C_H_I_L_D">
  334. <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>
  335. <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>
  336. <label ng-bind="item1.SECTION" ng-class="{'activeDep':item1.CODE==ctl.activeDirection.organCode,'sp-ml-15':item1.C_H_I_L_D.length==0}" class="pointer" ng-click="ctl.activeDirection.organCode=item1.CODE"></label>
  337. <div class="sp-box treeTitle2" ng-if="item1.open==true" ng-repeat="item2 in item1.C_H_I_L_D">
  338. <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>
  339. <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>
  340. <label ng-bind="item2.SECTION" ng-class="{'activeDep':item2.CODE==ctl.activeDirection.organCode,'sp-ml-30':item2.C_H_I_L_D.length==0}" class="pointer" ng-click="ctl.activeDirection.organCode=item2.CODE"></label>
  341. </div>
  342. </div>
  343. </div>
  344. <div ng-repeat="item in ctl.zbList" class="sp-pl-15 sp-box" ng-if="ctl.activeGroup=='自定义'">
  345. <label ng-bind="item.CNAME" ng-class="{'activeDep':item.CODE==ctl.zbCode}" class="pointer" ng-click="ctl.checkZB(item,2)"></label>
  346. <span class="sp-btn-blue sp-btn-sm" ng-click="ctl.delZB(item,2)"><i class="fa fa-close"></i></span>
  347. </div>
  348. </div>
  349. <div class="sp-page" style="height: 202px; margin-top: 5px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  350. <div ng-repeat="item in ctl.activeDirection.people" class="sp-page sp-pt-5" ng-if="item.show&&item.SECTCODE.indexOf(ctl.activeDirection.organCode)>-1&&ctl.activeGroup=='部门'">
  351. <div class="line sp-ml-10">
  352. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  353. <input type="checkbox" ng-model="item.checked" />
  354. {{item.USERNAME}}
  355. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  356. </label>
  357. </div>
  358. </div>
  359. <div ng-repeat="item in ctl.activeDirection.people" class="sp-page sp-pt-5" ng-if="item.show&&item.set==ctl.zbCode&&ctl.activeGroup=='自定义'">
  360. <div class="line sp-ml-10">
  361. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  362. <input type="checkbox" ng-model="item.checked" />
  363. {{item.USERNAME}}
  364. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  365. </label>
  366. </div>
  367. </div>
  368. </div>
  369. </td>
  370. <td style="text-align:center">
  371. <button class="sp-btn-gray-outline" ng-click="ctl.adduserAll(2)">
  372. <i class="fa fa-2x fa-angle-double-right"></i>
  373. </button>
  374. <br />
  375. <button class="sp-btn-gray-outline" ng-click="ctl.adduser(2)">
  376. <i class="fa fa-2x fa-angle-right"></i>
  377. </button>
  378. <br />
  379. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluser(2)">
  380. <i class="fa fa-2x fa-angle-left"></i>
  381. </button>
  382. <br />
  383. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.deluserAll(2)">
  384. <i class="fa fa-2x fa-angle-double-left"></i>
  385. </button>
  386. </td>
  387. <td width="300">
  388. <div class="sp-page" style="padding:5px;border:1px solid #c6c6c6;">
  389. <div class="sp-page" style="height:32px;line-height:20px">
  390. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==false" ng-click="ctl.saveZB=true">自定义组</span>
  391. <input type="text" class="sp-input" ng-if="ctl.saveZB==true" style="width:150px" ng-model="ctl.cnameZB" />
  392. <span class="sp-btn-blue sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.btnSaveZB(2)">保存</span>
  393. <span class="sp-btn-red sp-btn-sm" ng-if="ctl.saveZB==true" ng-click="ctl.saveZB=false">取消</span>
  394. </div>
  395. <div class="sp-page" style="height: 414px;overflow-y:auto">
  396. <div class="line" ng-repeat="item in ctl.forwardUser[ctl.activeDirection.forwardUser]">
  397. <label style="cursor: pointer; width: 100%; display: inline-block; ">
  398. <input type="checkbox" ng-model="item.checked" ng-click="ctl.checkForwardUser($index)" />&nbsp;
  399. <span ng-bind="item.USERNAME" class="pointer" ng-class="{'activeUser':ctl.activeUser==$index}"></span>
  400. <span class="sp-pull-right" style="width:100px">{{item.DUTYNAME}}</span>
  401. <span class="sp-pull-right sp-mr-10">
  402. <img src="../../flowchart_app_imgcss/img/user.png" ng-if="$index==0" />
  403. <img src="../../flowchart_app_imgcss/img/users.png" ng-if="$index>0" />
  404. </span>
  405. </label>
  406. </div>
  407. </div>
  408. </div>
  409. </td>
  410. <td style="text-align:center">
  411. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag1" ng-click="ctl.moveUp(2)">
  412. <i class="fa fa-long-arrow-up"></i>
  413. </button>
  414. <br />
  415. <button class="sp-btn-gray-outline" ng-disabled="!ctl.moveFlag2" ng-click="ctl.moveDown(2)">
  416. <i class="fa fa-long-arrow-down"></i>
  417. </button>
  418. </td>
  419. </tr>
  420. </tbody>
  421. </table>
  422. </div>
  423. <div class="sp-page sp-text-center sp-mt-15">
  424. <button class="sp-btn-blue sp-radius" ng-click="ctl.sendAll()" ng-disabled="ctl.sendFlag&&ctl.direction.ENDNODETYPE!=3">
  425. <i class="fa fa-check sp-mr-5"> </i>确 认
  426. </button>
  427. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  428. </div>
  429. </div>
  430. </div>
  431. </div>
  432. <script src="../../../AFrontEnd/js/jquery/jquery-1.8.3.min.js"></script>
  433. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  434. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  435. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  436. <script src="../../../apiurljs.js"></script>
  437. <script src="../../../js/sm4.js"></script>
  438. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  439. <script>document.write('<scri' + 'pt src="js/fawenfile.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  440. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  441. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  442. </body>
  443. </html>