setFlow.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <title>流程排序</title>
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link rel='stylesheet' href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "'>");</script>
  12. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  13. <style>
  14. .firstDepart span,
  15. .secondDepart span,
  16. .thirdDepart span,
  17. .userList span {
  18. cursor: pointer;
  19. }
  20. .windowHeight1,
  21. .windowHeight2 {
  22. overflow: auto;
  23. }
  24. .active {
  25. background: #0094ff;
  26. color: #fff;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <div class="wrapper wrapper-content" ng-controller="appCtrl as ctl" ng-cloak>
  32. <div class="loading" ng-if="ctl.loading">
  33. <div class="loading-msg">
  34. <h3>数据加载中,请等待</h3>
  35. <div class="spinner">
  36. <div class="bounce1"></div>
  37. <div class="bounce2"></div>
  38. <div class="bounce3"></div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="row">
  43. <div class="col-md-3">
  44. <div class="ibox float-e-margins">
  45. <div class="ibox-content">
  46. <div class="row">
  47. <div class="sp-page windowHeight1">
  48. <div ng-repeat="item in ctl.personList">
  49. <div class="firstDepart" style="clear: both;">
  50. <label ng-click="item.showFlag=!item.showFlag">
  51. <i class="fa fa-plus-square" ng-if="!item.showFlag"></i>
  52. <i class="fa fa-minus-square" ng-if="item.showFlag"></i>
  53. <span ng-bind="item.SECTION" style="font-weight: bold"></span>
  54. </label>
  55. <ul class="userList" ng-repeat="item2 in item.C_H_I_L_D_DATA" ng-if="item.showFlag">
  56. <li style="float: left">
  57. <label style="margin-left: 15px; margin-right: 10px;" ng-click="ctl.itemClicked(item2)">
  58. <span ng-bind="item2.ushowname" ng-class="{'active':ctl.thisItem.userid==item2.userid}"></span>
  59. </label>
  60. </li>
  61. </ul>
  62. <div class="secondDepart" style="clear: both;margin-left: 15px;" ng-repeat="item3 in item.C_H_I_L_D" ng-if="item.showFlag">
  63. <label ng-click="item3.showFlag=!item3.showFlag">
  64. <i class="fa fa-plus-square" ng-if="!item3.showFlag"></i>
  65. <i class="fa fa-minus-square" ng-if="item3.showFlag"></i>
  66. <span ng-bind="item3.SECTION" style="font-weight: bold"></span>
  67. </label>
  68. <ul class="userList" ng-repeat="item4 in item3.C_H_I_L_D_DATA" ng-if="item3.showFlag">
  69. <li style="float: left">
  70. <label style="margin-left: 15px; margin-right: 10px;" ng-click="ctl.itemClicked(item4)">
  71. <span ng-bind="item4.ushowname" ng-class="{'active':ctl.thisItem.userid==item4.userid}"></span>
  72. </label>
  73. </li>
  74. </ul>
  75. <div class="thirdDepart" style="clear: both;margin-left: 15px;" ng-repeat="item5 in item3.C_H_I_L_D" ng-if="item3.showFlag">
  76. <label ng-click="item5.showFlag=!item5.showFlag">
  77. <i class="fa fa-plus-square" ng-if="!item5.showFlag"></i>
  78. <i class="fa fa-minus-square" ng-if="item5.showFlag"></i>
  79. <span ng-bind="item5.SECTION" style="font-weight: bold"></span>
  80. </label>
  81. <ul class="userList" ng-repeat="item6 in item5.C_H_I_L_D_DATA" ng-if="item5.showFlag">
  82. <li style="float: left">
  83. <label style="margin-left: 15px; margin-right: 10px;" ng-click="ctl.itemClicked(item6)">
  84. <span ng-bind="item6.ushowname" ng-class="{'active':ctl.thisItem.userid==item6.userid}"></span>
  85. </label>
  86. </li>
  87. </ul>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="col-md-9">
  98. <div class="ibox float-e-margins">
  99. <div class="ibox-content">
  100. <div class="row">
  101. <div class="sp-page">
  102. <div class="sp-page-col">
  103. <span class="sp-page-title">桌面新建排序</span>
  104. </div>
  105. </div>
  106. <div class="sp-line-gray"></div>
  107. <div class="sp-page windowHeight2">
  108. <table class="sp-table">
  109. <thead class="sp-color-black">
  110. <tr>
  111. <th style="width:60px;">序号</th>
  112. <th>流程名称</th>
  113. <th>流程标识</th>
  114. <th width="120">状态</th>
  115. <th width="340">操作</th>
  116. </tr>
  117. </thead>
  118. <tbody>
  119. <tr ng-repeat="item in ctl.list">
  120. <td ng-bind="$index+1"></td>
  121. <td ng-bind="item.FLOWID"></td>
  122. <td ng-bind="item.FLOWNAME"></td>
  123. <td class="sp-text-center">
  124. <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-click="ctl.btnShowMark(item,0)" ng-if="item.SHOWMARK==1">显&nbsp;示</button>
  125. <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-click="ctl.btnShowMark(item,1)" ng-if="item.SHOWMARK==0">隐&nbsp;藏</button>
  126. </td>
  127. <td class="sp-text-center">
  128. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort2(item,0)" ng-disabled="{{$index}}==0">首&nbsp;位</button>
  129. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort1($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  130. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort1($index,'下移')" ng-disabled="{{$index}}=={{ctl.list.length-1}}">下&nbsp;移</button>
  131. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort2(item,1)" ng-disabled="{{$index}}=={{ctl.list.length-1}}">末&nbsp;位</button>
  132. </td>
  133. </tr>
  134. </tbody>
  135. </table>
  136. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  137. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  147. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  148. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  149. <script src="../../apiurljs.js"></script>
  150. <script src="../../js/sm4.js"></script>
  151. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  152. <script>document.write('<scri' + 'pt src="js/setFlow.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  153. <script src="../../AFrontEnd/js/special/spng.js"></script>
  154. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  155. </body>
  156. </html>