index_2.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <meta http-equiv="Pragma" content="no-cache" />
  8. <meta http-equiv="Cache-Control" content="no-cache" />
  9. <meta http-equiv="Expires" content="0" />
  10. <title>自定义桌面</title>
  11. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  13. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  14. <link rel="stylesheet" href="../../AFrontEnd/css/special.css">
  15. <link href="../../AFrontEnd/js/jquery/jquery-ui.css" rel="stylesheet" />
  16. <script>document.write("<link href='css/index_2.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  17. <style>
  18. ::-webkit-scrollbar {
  19. display: none;
  20. }
  21. </style>
  22. </head>
  23. <body ng-controller="appCtrl as ctl" id="app" ng-cloak>
  24. <div class="loading" ng-if="false">
  25. <div class="loading-msg">
  26. <h3>数据加载中,请等待</h3>
  27. <div class="spinner">
  28. <div class="bounce1"></div>
  29. <div class="bounce2"></div>
  30. <div class="bounce3"></div>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="main-outer" style="overflow: hidden;">
  35. <div class="main" ng-if="ctl.querySetArray_lengthArray.length>0" style=" width: 88%; height: 92%; position: absolute; left: 50%; top: 50%; margin-top: -1%; transform: translate(-50%, -50%); overflow: hidden; overflow-y: auto;">
  36. <div class="row sp-mb-10" ng-repeat="itm in ctl.querySetArray_lengthArray track by $index" data-index="{{$index}}">
  37. <div class="" ng-repeat="item2 in ctl.querySetArray[itm].row track by $index" data-index="{{$index}}" ng-class="{'col-lg-6':'{{item2.colClass}}'=='col-sm-6','col-lg-12':'{{item2.colClass}}'=='col-sm-12','col-lg-3':'{{item2.colClass}}'=='col-sm-3'}">
  38. <div class="ibox float-e-margins">
  39. <div class="ibox-content">
  40. <!--<div class="main-title sp-color-white" ng-bind="ctl.querySetArray[itm].colName"></div>-->
  41. <div class="row">
  42. <div class="gmtindex-title" ng-bind="item2.colName"></div>
  43. <div class="gmtindex-module-box">
  44. <div class="gmtindex-main-module" ng-repeat="item3 in item2.data track by $index" ng-if="item3.moduleType==0"
  45. ng-style="{background:ctl.colorArray[$index]}" ng-click="ctl.btnClickPkModule(item3)">
  46. <!--<span class="gmtindex-gmt-number" ng-show="!!item3.CONTENT_TOTAL" ng-bind="item3.CONTENT_TOTAL || 0"></span>-->
  47. <img ng-src="{{'../../js/indexTwo/img/'+item3.SRCIMG+'.png'}}" alt="{{item3.CNAME}}">
  48. <p ng-bind="item3.CNAME" class="sp-text-ellipsis"></p>
  49. </div>
  50. <div ng-repeat="item3 in item2.data track by $index" ng-if="item3.moduleType==1">
  51. <iframe id="iframe_{{item3.PGCODE}}" class="iframe-zj" ng-src="{{item3.URL_set|trustAsResourceUrl }}" style="overflow:hidden; max-height:300px;"></iframe>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="main" ng-if="ctl.querySetArray_lengthArray.length<1" style=" width: 88%; height: 85%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow-x:hidden; overflow-y: auto;">
  61. <!--<div class="sp-page sp-text-center" style="margin-top:100px;">您好,暂未设计自定义工作桌面!</div>-->
  62. </div>
  63. </div>
  64. <!--设置的弹出层-->
  65. <div class="sp-layer2" id="layer_setting" style="width: 1200px; height: 600px; background-color: #ffffff; ">
  66. <div class="sp-layer2-body">
  67. <div class="sp-col-70" style="width: 69%; margin-right: 1%; overflow: hidden; height: 540px; background-color: #eeeff1; ">
  68. <div class="sp-page sp-color-black sp-mt-10 sp-mb-5">
  69. <div class="sp-page-col">
  70. <span class="sp-lh-22">桌面布局</span>
  71. </div>
  72. <div class="sp-page-col sp-pull-right sp-mt-5">
  73. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.leftBtnRestoreInit()" title="恢复缺省设置">恢复缺省设置</span>
  74. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.leftBtnClear()" title="清空布局">清空</span>
  75. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.leftBtnAddCol(1)" title="满宽适应,一行一列">+</span>
  76. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.leftBtnAddCol(2)" title="二分之一,一行两列">++</span>
  77. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.leftBtnAddCol(4)" title="四分之一,一行四列">++++</span>
  78. </div>
  79. </div>
  80. <div class="sp-page" id="layerLeftSortArea" style="background-color: #ffffff; padding: 15px 0; height: 490px; overflow: hidden; overflow-y: auto;">
  81. <!--<div class="row" ng-repeat="itm in ctl.querySetArray_lengthArray_setting track by $index" data-index="{{$index}}">
  82. <div class="sp-pl-15 sp-pr-15 layer-col-part" ng-repeat="item2 in ctl.querySetArray_setting[itm].row track by $index" data-index="{{$index}}" ng-class="{'col-sm-6':'{{item2.colClass}}'=='col-sm-6','col-sm-12':'{{item2.colClass}}'=='col-sm-12','col-sm-3':'{{item2.colClass}}'=='col-sm-3'}" data-col="{{item2.colClass}}">
  83. <div class="main-title sp-color-white" ng-title ng-bind="item2.colName"></div>
  84. <div class="module-box ui-sortable" style="border:1px solid #0d5bd7; min-height:222px;" ng-sort>
  85. <div class="main-module" ng-repeat="item3 in item2.data track by $index" ng-if="item3.moduleType==0"
  86. ng-style="{background:ctl.colorArray[$index]}" data-pkid="{{item3.PKID}}" data-modeuletype="0">
  87. <span class="gmt-number" ng-show="!!item3.CONTENT_TOTAL" ng-bind="item3.CONTENT_TOTAL || 0"></span>
  88. <img ng-src="{{'../../js/indexTwo/img/'+item3.SRCIMG+'.png'}}" alt="{{item3.CNAME}}">
  89. <p ng-bind="item3.CNAME" class="sp-text-ellipsis"></p>
  90. </div>
  91. <div class="main-module rgh-plugin-col" ng-repeat="item3 in item2.data track by $index" ng-if="item3.moduleType==1" data-modeuletype="1" data-pgcode="{{item3.PGCODE}}" data-widthratio="{{item3.CTYPEMODEL_NAME}}">
  92. <img ng-src="{{item3.IMAGESMALL_set}}" />
  93. <div class="sp-page sp-color-white" style="margin-top: -40px; background: rgba(176, 15, 15,0.6);" ng-bind="item3.CNAME"></div>
  94. <div class="sp-page" style="color: #ddd; margin-top: -20px; background: rgba(176, 15, 15,0.6); " ng-bind="item3.CTYPEMODEL_NAME"></div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>-->
  99. </div>
  100. </div>
  101. <div class="sp-col-30" style=" height: 540px; background-color: #eeeff1; ">
  102. <div class="sp-page sp-mt-10 sp-mb-5" style="color:#333;">
  103. <div class="sp-page-col sp-cursor-pointer">
  104. <span class="sp-lh-22">应用功能</span>
  105. </div>
  106. </div>
  107. <div class="sp-page" id="layerRight_ApplayParts" style="background-color: #ffffff; padding: 15px 0; height: 270px; overflow: hidden; overflow-y: auto;">
  108. <!--<div class="module-box ui-sortable" ng-sort>
  109. <div class="main-module" data-modeuletype="0" ng-repeat="item in ctl.allMenu track by $index" ng-if="!item.hasUse" data-pkid="{{item.PKID}}"
  110. ng-style="{background:ctl.colorArray[{{item.indexnum}}]}">
  111. <span class="gmt-number" ng-show="!!item.CONTENT_TOTAL" ng-bind="item.CONTENT_TOTAL || 0"></span>
  112. <img ng-src="{{'../../js/indexTwo/img/'+item.SRCIMG+'.png'}}" alt="{{item.CNAME}}">
  113. <p ng-bind="item.CNAME" class="sp-text-ellipsis"></p>
  114. </div>
  115. </div>-->
  116. </div>
  117. <div class="sp-page sp-mt-10 sp-mb-5" style="color:#333;">
  118. <div class="sp-page-col sp-cursor-pointer">
  119. <span class="sp-lh-22">桌面插件</span>
  120. </div>
  121. </div>
  122. <div class="sp-page" id="layerRight_PlginParts" style="background-color: #ffffff; padding: 15px 0; height: 177px; overflow: hidden; overflow-y: auto;">
  123. <!--<div class="module-box ui-sortable" ng-sort>
  124. <div class="main-module rgh-plugin-col" data-modeuletype="1" ng-repeat="item in ctl.pluginArray" data-pgcode="{{item.PGCODE}}" data-widthratio="{{item.CTYPEMODEL_NAME}}">
  125. <img ng-src="{{item.IMAGESMALL_set}}" />
  126. <div class="sp-page sp-color-white" style="margin-top: -40px; background: rgba(176, 15, 15,0.6);" ng-bind="item.CNAME"></div>
  127. <div class="sp-page" style="color: #ddd; margin-top: -20px; background: rgba(176, 15, 15,0.6); " ng-bind="item.CTYPEMODEL_NAME"></div>
  128. </div>
  129. </div>-->
  130. </div>
  131. </div>
  132. <div class="sp-page sp-text-center sp-mt-15">
  133. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.btnSaveSetting()">{{ctl.btnSaveSetting_title}}</span>
  134. <span class="sp-btn-gray-outline sp-btn-md sp-btn-radius" ng-click="ctl.btnCloseSetting()">关 闭</span>
  135. </div>
  136. </div>
  137. </div>
  138. <!--设置的弹出层-->
  139. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  140. <script src="../../AFrontEnd/js/bootstrap/bootstrap.js"></script>
  141. <script src="../../AFrontEnd/js/jquery/jquery-ui-1.10.4.min.js"></script>
  142. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  143. <script src="../../apiurljs.js"></script>
  144. <script src="../../js/sm4.js"></script>
  145. <script src="../../js/base64.js"></script>
  146. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  147. <script>document.write('<scri' + 'pt src="js/index_2.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  148. </body>
  149. </html>