formedit.html 47 KB

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