desktop_mgn.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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 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/animate.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  11. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  13. <link rel="stylesheet" href="../../AFrontEnd/plugins/cropper/cropper.css">
  14. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <script>document.write("<link href='css/frame_mgn.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. </head>
  17. <body ng-controller="desktopMgn 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="sp-page-mgn">
  29. <div class="sp-page-tab">
  30. <a href="frame_mgn.html"><span style="font-weight: 900; "><i class="icon-th-large-outline"></i> 框架管理</span></a>
  31. <a href="desktop_mgn.html"><span class="pageTabActive" style="font-weight: 900; "><i class="icon-desktop-2"></i> 桌面管理</span></a>
  32. <a href="backimg_mgn.html"><span style="font-weight: 900; "><i class="icon-picture-1"></i> 背景图片</span></a>
  33. <div class="sp-pull-right">
  34. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.saveRole()">
  35. <i class="fa fa-arrow-up sp-mr-5"></i>提 交
  36. </a>
  37. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.btnAdd()">
  38. <i class="fa fa-plus sp-mr-5"></i>新建桌面
  39. </a>
  40. </div>
  41. </div>
  42. <div class="sp-page sp-mt-10">
  43. <div class="sp-col-45">
  44. <div class="sp-page" ng-if="ctl.frameArray.length>0" style="max-height:500px; overflow-y:auto;">
  45. <div class="rgh-plgn-list" ng-repeat="item in ctl.frameArray" ng-class="{'frame-bg-orange':ctl.activeFrame==item.indexnum}">
  46. <div class="rgh-plgn-list-left" ng-click="ctl.checkSelectItem(item)">
  47. <img ng-src="{{item.IMAGESMALL}}" style="width:100%; height:144px; float:left;" />
  48. </div>
  49. <div class="rgh-plgn-list-center" ng-click="ctl.checkSelectItem(item)" style="min-height:144px;">
  50. <div class="sp-lh-22">
  51. <div class="sp-col-20" style="width:80px;">名称:</div>
  52. <div class="sp-col-80" style="width: calc(100% - 80px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" ng-bind="item.CNAME"></div>
  53. </div>
  54. <div class="sp-lh-22 sp-mt-10">
  55. <div class="sp-col-20" style="width:90px;">文件路径:</div>
  56. <div class="sp-col-80" style="width: calc(100% - 90px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" ng-bind="item.URL"></div>
  57. </div>
  58. <div class="sp-lh-22 sp-mt-10">
  59. <div class="sp-col-20" style="width:90px;">是否缺省:</div>
  60. <div class="sp-col-80" style="width: calc(100% - 90px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" ng-bind="item.ISDEFAULT_set"></div>
  61. </div>
  62. </div>
  63. <div class="rgh-plgn-list-right">
  64. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-click="ctl.btnEditPlugin(item)">编辑</button></div>
  65. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-click="ctl.removePlugin(item)">删除</button></div>
  66. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-disabled="{{item.indexnum==1}}" ng-click="ctl.moveUp_plugin(item,item.indexnum)">上移</button></div>
  67. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-disabled="{{item.indexnum==ctl.frameArray.length}}" ng-click="ctl.moveDown_plugin(item,item.indexnum)">下移</button></div>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="sp-page sp-mt-30" ng-if="ctl.frameArray.length<1">
  72. <div class="sp-lh-50 sp-text-center">暂无数据!</div>
  73. </div>
  74. </div>
  75. <div class="sp-col-55">
  76. <div class="col-md-12">
  77. <div class="sp-lh-30 sp-text-center sp-bg-gray">
  78. 选择人员
  79. </div>
  80. </div>
  81. <div class="sp-line-gray"></div>
  82. <div class="col-sm-12" ng-if="ctl.getPerson.length>0">
  83. <div class="sp-page">
  84. <div class="checkbox">
  85. <label>
  86. <input ng-change="ctl.selectAll()" ng-model="ctl.isSelectedAll" type="checkbox"> 全选(为方便查找,以下按第一个字拼音字母排列顺序)
  87. </label>
  88. </div>
  89. </div>
  90. <div class="sp-page" style="overflow-y: auto; max-height: 500px">
  91. <div class="checkbox checkbox-list" ng-repeat="item in ctl.getPerson">
  92. <div class="sp-lh-30 sp-color-black" ng-bind="item.section" style="font-weight:bold;"></div>
  93. <label class="checkbox-inline col-sm-4" ng-repeat="item2 in item.users track by $index">
  94. <input type="checkbox" ng-change="ctl.isSelected()" ng-model="item2.check">{{item2.USHOWNAME}}
  95. </label>
  96. </div>
  97. </div>
  98. </div>
  99. <div class="sp-page sp-mt-30" ng-if="ctl.getPerson.length<1">
  100. <div class="sp-lh-50 sp-text-center">暂无数据!</div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <!--插件弹层-->
  106. <div class="sp-layer" id="layer_addplgn" data-title="框架信息" style="width: 760px;">
  107. <div class="sp-layer-body">
  108. <div class="sp-page" ng-hide="ctl.pluginUpload_view">
  109. <table class="sp-grid-job">
  110. <tbody>
  111. <tr>
  112. <td>名称:</td>
  113. <td>
  114. <input type="text" ng-model="ctl.info.cname" sp-required />
  115. </td>
  116. </tr>
  117. <tr>
  118. <td>文件路径:</td>
  119. <td>
  120. <input type="text" ng-model="ctl.info.fileurl" sp-required />
  121. </td>
  122. </tr>
  123. <tr>
  124. <td>图片:</td>
  125. <td class="sp-text-left">
  126. <span class="sp-upload">
  127. <img class="sp-upload-img" alt="" style="width: 256px; height: 150px;" />
  128. <input type="file" id="btnfile" class="sp-upload-file-img" />
  129. </span>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td>是否缺省桌面:</td>
  134. <td>
  135. <select ng-model="ctl.info.isdefault">
  136. <option value="0">非缺省桌面</option>
  137. <option value="1">缺省桌面</option>
  138. </select>
  139. </td>
  140. </tr>
  141. </tbody>
  142. </table>
  143. <!--<div class="sp-lh-26 sp-text-center sp-color-red" id="setPasswordTip">111</div>-->
  144. <div class="sp-page sp-text-center sp-mt-20">
  145. <button ng-disabled="ctl.btnSubmitPlnDsabled" class="sp-btn-blue sp-btn-radius" ng-click="ctl.submit_plguin()">
  146. <i class="fa fa-check sp-mr-5"></i>{{ctl.btnSubmitPln_text}}
  147. </button>
  148. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.cancel_plguin()">
  149. <i class="fa fa-close sp-mr-5"></i>关 闭
  150. </button>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. <script src="../../AFrontEnd/js/jquery/jquery-1.8.3.min.js"></script>
  156. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  157. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  158. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  159. <script src="../../apiurljs.js"></script>
  160. <script src="../../js/sm4.js"></script>
  161. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  162. <script>document.write('<scri' + 'pt src="js/desktop_mgn.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  163. <script src="../../AFrontEnd/js/special/spng.js"></script>
  164. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  165. </body>
  166. </html>