fawenfile.html 39 KB

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