@ganwei-web/ganwei-pc-cli 6.2.4 → 6.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. package/ganwei-iotcenter-index-6.2.1/configuration/moduleConfiguration.json +1 -1
  2. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.development +1 -1
  3. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.production +1 -1
  4. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.test +1 -1
  5. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.development +1 -1
  6. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.production +1 -1
  7. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.test +1 -1
  8. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.production +1 -1
  9. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.test +1 -1
  10. package/ganwei-iotcenter-index-6.2.2/.gitignore +31 -0
  11. package/ganwei-iotcenter-index-6.2.2/.npmrc +1 -0
  12. package/ganwei-iotcenter-index-6.2.2/.nvmrc +1 -0
  13. package/ganwei-iotcenter-index-6.2.2/configuration/cleanNodeModule.js +18 -0
  14. package/ganwei-iotcenter-index-6.2.2/configuration/gitClone.js +45 -0
  15. package/ganwei-iotcenter-index-6.2.2/configuration/moduleConfiguration.json +9 -0
  16. package/ganwei-iotcenter-index-6.2.2/configuration/updateModule.cjs +30 -0
  17. package/ganwei-iotcenter-index-6.2.2/init.cjs +30 -0
  18. package/ganwei-iotcenter-index-6.2.2/package.json +46 -0
  19. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.babelrc +4 -0
  20. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  21. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.development +22 -0
  22. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.production +22 -0
  23. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.test +22 -0
  24. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  25. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  26. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.gitignore +27 -0
  27. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  28. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  29. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  30. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
  31. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  32. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  33. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  34. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  35. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/index.html +31 -0
  36. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/package.json +90 -0
  37. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  38. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  39. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  40. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  41. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  42. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +180 -0
  43. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/reset.css +1992 -0
  44. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  45. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  46. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  47. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  48. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  49. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  50. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  51. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  52. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +4195 -0
  53. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  54. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +7324 -0
  55. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  56. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  57. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  58. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
  59. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +434 -0
  60. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  61. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  62. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  63. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  64. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  65. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  66. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  67. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  68. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  69. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  70. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  71. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  72. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  73. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  74. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  75. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  76. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  77. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  78. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  79. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  80. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  81. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  82. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  83. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  84. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  85. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  86. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  87. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  88. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  89. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  90. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  91. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  92. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  93. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  94. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  95. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  96. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  97. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  98. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  99. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  100. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  101. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  102. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  103. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  104. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/login-bg.jpg +0 -0
  105. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  106. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  107. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  108. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  109. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  110. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  111. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  112. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  113. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  114. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  115. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  116. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  117. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  118. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  119. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  120. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  121. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  122. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  123. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/drag.js +354 -0
  124. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  125. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  126. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  127. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  128. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  129. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  130. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  131. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +232 -0
  132. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  133. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +58 -0
  134. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  135. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  136. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jquery-3.4.1.min.js +4189 -0
  137. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  138. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  139. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  140. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  141. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  142. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  143. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  144. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  145. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  146. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  147. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  148. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  149. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  150. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  151. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/config.json +155 -0
  152. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  153. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  154. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  155. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
  156. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  157. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  158. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  159. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  160. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
  161. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  162. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  163. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/App.vue +88 -0
  164. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  165. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  166. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
  167. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +195 -0
  168. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +256 -0
  169. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  170. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
  171. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +205 -0
  172. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +248 -0
  173. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
  174. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  175. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  176. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  177. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  178. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/equipAlarmDialog/index.vue +203 -0
  179. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/expirationReminder/index.vue +108 -0
  180. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
  181. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  182. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +32 -0
  183. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  184. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +23 -0
  185. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
  186. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +331 -0
  187. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +257 -0
  188. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  189. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
  190. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  191. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  192. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  193. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +278 -0
  194. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  195. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  196. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  197. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  198. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  199. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  200. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +147 -0
  201. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  202. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
  203. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +108 -0
  204. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  205. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +33 -0
  206. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  207. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  208. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  209. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
  210. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  211. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +110 -0
  212. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +95 -0
  213. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  214. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  215. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  216. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  217. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  218. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  219. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  220. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  221. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  222. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  223. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
  224. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  225. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
  226. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  227. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
  228. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
  229. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
  230. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
  231. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
  232. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  233. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  234. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
  235. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
  236. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  237. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
  238. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  239. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +120 -0
  240. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
  241. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
  242. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  243. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +265 -0
  244. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  245. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/main.js +51 -0
  246. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +38 -0
  247. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
  248. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/request/api/frame.js +148 -0
  249. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  250. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/router.js +34 -0
  251. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/store.js +228 -0
  252. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/types.js +16 -0
  253. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  254. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  255. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  256. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  257. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  258. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
  259. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/index.js +291 -0
  260. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +257 -0
  261. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  262. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  263. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
  264. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  265. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.babelrc +8 -0
  266. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  267. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.development +22 -0
  268. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.production +22 -0
  269. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.test +22 -0
  270. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  271. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  272. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.gitignore +27 -0
  273. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  274. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  275. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  276. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  277. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  278. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  279. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  280. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/index.html +34 -0
  281. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/package.json +84 -0
  282. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  283. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16959 -0
  284. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  285. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/equipStatus.css +70 -0
  286. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  287. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +180 -0
  288. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/reset.css +1992 -0
  289. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  290. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  291. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  292. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  293. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  294. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  295. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  296. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  297. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4195 -0
  298. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  299. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7324 -0
  300. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  301. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  302. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  303. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
  304. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +434 -0
  305. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/head-background.png +0 -0
  306. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-dark.svg +48 -0
  307. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-green.svg +42 -0
  308. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-light.svg +26 -0
  309. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-dark.svg +20 -0
  310. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-green.svg +20 -0
  311. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-light.svg +14 -0
  312. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-dark.svg +22 -0
  313. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-green.svg +16 -0
  314. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-light.svg +16 -0
  315. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull.svg +22 -0
  316. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-dark.svg +19 -0
  317. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-green.svg +14 -0
  318. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-light.svg +12 -0
  319. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen.svg +19 -0
  320. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  321. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  322. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  323. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  324. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  325. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  326. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-dark.png +0 -0
  327. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-green.png +0 -0
  328. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-light.png +0 -0
  329. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-dark.svg +32 -0
  330. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-green.svg +32 -0
  331. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-light.svg +9 -0
  332. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-dark.svg +22 -0
  333. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-green.svg +22 -0
  334. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-light.svg +15 -0
  335. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin.svg +22 -0
  336. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-dark.svg +18 -0
  337. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-green.svg +18 -0
  338. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-light.svg +18 -0
  339. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping.svg +18 -0
  340. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-upgrade.svg +18 -0
  341. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-dark.svg +22 -0
  342. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-green.svg +27 -0
  343. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-light.svg +22 -0
  344. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user.svg +26 -0
  345. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-dark.svg +37 -0
  346. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-green.svg +37 -0
  347. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-light.svg +15 -0
  348. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  349. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/login-bg.jpg +0 -0
  350. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  351. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/menu-background.png +0 -0
  352. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-dark.svg +1 -0
  353. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-green.svg +1 -0
  354. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-light.svg +1 -0
  355. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/right-close.png +0 -0
  356. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/right-open.png +0 -0
  357. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-fullscreen.png +0 -0
  358. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-guzhang.png +0 -0
  359. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-jinggao.png +0 -0
  360. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-shezhi.png +0 -0
  361. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-xinxi.png +0 -0
  362. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-zichan.png +0 -0
  363. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-dark.svg +19 -0
  364. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-green.svg +22 -0
  365. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-light.svg +17 -0
  366. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/webconfig-location.svg +17 -0
  367. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +2 -0
  368. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/drag.js +354 -0
  369. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/echarts.min.js +25 -0
  370. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js +1 -0
  371. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js.gz +0 -0
  372. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/enc-base64-min.js +86 -0
  373. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/filereader.js +455 -0
  374. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/font.js +56 -0
  375. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  376. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +232 -0
  377. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  378. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getUserPermissionList.js +58 -0
  379. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/h5player.min.js +311 -0
  380. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/hmac-sha256.js +18 -0
  381. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jquery-3.4.1.min.js +4189 -0
  382. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jquery.slim.min.js +2 -0
  383. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jsencrypt.min.js +2 -0
  384. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jszip.min.js +14 -0
  385. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/liveplayer-lib.min.js +1 -0
  386. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/moment.js +5670 -0
  387. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/pptxjs.min.js +14105 -0
  388. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/signalr.min.js +17 -0
  389. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/tXml.js +244 -0
  390. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/transformpcm.worker.js +58 -0
  391. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue-i18n.min.js +6 -0
  392. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue-router.min.js +11 -0
  393. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue.min.js +11 -0
  394. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vuex.min.js +6 -0
  395. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/RAMScope.json +201 -0
  396. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/config.json +155 -0
  397. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/snapshot.json +34 -0
  398. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.css +246 -0
  399. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.js +5384 -0
  400. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
  401. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  402. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +48 -0
  403. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  404. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +357 -0
  405. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
  406. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  407. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  408. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/App.vue +70 -0
  409. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  410. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  411. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  412. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  413. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  414. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  415. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  416. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  417. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  418. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
  419. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  420. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  421. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  422. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  423. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  424. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_back.jpg +0 -0
  425. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_front.jpg +0 -0
  426. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_left.jpg +0 -0
  427. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_right.jpg +0 -0
  428. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_top.jpg +0 -0
  429. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  430. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  431. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  432. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  433. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +119 -0
  434. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  435. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  436. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/loginBg.vue +281 -0
  437. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  438. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  439. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  440. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  441. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  442. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  443. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  444. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/main.js +39 -0
  445. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  446. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  447. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  448. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/router.js +48 -0
  449. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/types.js +16 -0
  450. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  451. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  452. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  453. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  454. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  455. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  456. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  457. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  458. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/login.vue +459 -0
  459. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/mainInfo.vue +62 -0
  460. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/maintenanceInfo.vue +67 -0
  461. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +239 -0
  462. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  463. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  464. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.babelrc +8 -0
  465. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  466. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.development +22 -0
  467. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.production +22 -0
  468. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.test +22 -0
  469. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  470. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  471. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.gitignore +27 -0
  472. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  473. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  474. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  475. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  476. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
  477. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
  478. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
  479. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
  480. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  481. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/index.html +25 -0
  482. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/package.json +94 -0
  483. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  484. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16959 -0
  485. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-ui/index.css +16075 -0
  486. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/equipStatus.css +70 -0
  487. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/index.css +15926 -0
  488. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +180 -0
  489. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/reset.css +1992 -0
  490. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
  491. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
  492. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
  493. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
  494. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
  495. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
  496. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  497. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  498. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +4195 -0
  499. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  500. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +7324 -0
  501. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  502. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  503. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  504. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
  505. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +434 -0
  506. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/head-background.png +0 -0
  507. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-dark.svg +48 -0
  508. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-green.svg +42 -0
  509. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-light.svg +26 -0
  510. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-dark.svg +20 -0
  511. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-green.svg +20 -0
  512. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-light.svg +14 -0
  513. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-dark.svg +22 -0
  514. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-green.svg +16 -0
  515. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-light.svg +16 -0
  516. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull.svg +22 -0
  517. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-dark.svg +19 -0
  518. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-green.svg +14 -0
  519. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-light.svg +12 -0
  520. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen.svg +19 -0
  521. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
  522. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-dark.svg +67 -0
  523. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-green.svg +67 -0
  524. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-light.svg +67 -0
  525. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-small.png +0 -0
  526. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src.svg +67 -0
  527. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-dark.png +0 -0
  528. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-green.png +0 -0
  529. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-light.png +0 -0
  530. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-dark.svg +32 -0
  531. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-green.svg +32 -0
  532. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-light.svg +9 -0
  533. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-dark.svg +22 -0
  534. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-green.svg +22 -0
  535. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-light.svg +15 -0
  536. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin.svg +22 -0
  537. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-dark.svg +18 -0
  538. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-green.svg +18 -0
  539. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-light.svg +18 -0
  540. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping.svg +18 -0
  541. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-upgrade.svg +18 -0
  542. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-dark.svg +22 -0
  543. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-green.svg +27 -0
  544. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-light.svg +22 -0
  545. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user.svg +26 -0
  546. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-dark.svg +37 -0
  547. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-green.svg +37 -0
  548. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-light.svg +15 -0
  549. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/login-bg-img.png +0 -0
  550. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/login-bg.jpg +0 -0
  551. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/logo.png +0 -0
  552. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/menu-background.png +0 -0
  553. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-dark.svg +1 -0
  554. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-green.svg +1 -0
  555. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-light.svg +1 -0
  556. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/right-close.png +0 -0
  557. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/right-open.png +0 -0
  558. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-fullscreen.png +0 -0
  559. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-guzhang.png +0 -0
  560. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-jinggao.png +0 -0
  561. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-shezhi.png +0 -0
  562. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-xinxi.png +0 -0
  563. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-zichan.png +0 -0
  564. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-dark.svg +19 -0
  565. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-green.svg +22 -0
  566. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-light.svg +17 -0
  567. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/webconfig-location.svg +17 -0
  568. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +2 -0
  569. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/drag.js +354 -0
  570. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/echarts.min.js +25 -0
  571. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/element-ui/index.js +1 -0
  572. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/element-ui/index.js.gz +0 -0
  573. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/enc-base64-min.js +86 -0
  574. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/filereader.js +455 -0
  575. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/font.js +56 -0
  576. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +57 -0
  577. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +232 -0
  578. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +52 -0
  579. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getUserPermissionList.js +58 -0
  580. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/h5player.min.js +311 -0
  581. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/hmac-sha256.js +18 -0
  582. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jquery-3.4.1.min.js +4189 -0
  583. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jquery.slim.min.js +2 -0
  584. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jsencrypt.min.js +2 -0
  585. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jszip.min.js +14 -0
  586. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/liveplayer-lib.min.js +1 -0
  587. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/moment.js +5670 -0
  588. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/pptxjs.min.js +14105 -0
  589. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/signalr.min.js +17 -0
  590. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/tXml.js +244 -0
  591. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/transformpcm.worker.js +58 -0
  592. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue-i18n.min.js +6 -0
  593. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue-router.min.js +11 -0
  594. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue.min.js +11 -0
  595. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vuex.min.js +6 -0
  596. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/RAMScope.json +201 -0
  597. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/config.json +155 -0
  598. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/snapshot.json +34 -0
  599. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/lib/treeV2/treeV2.css +246 -0
  600. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/lib/treeV2/treeV2.js +5384 -0
  601. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
  602. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/dark.css +426 -0
  603. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  604. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/default-theme.js +53 -0
  605. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/green-6-1.css +357 -0
  606. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
  607. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/light.css +414 -0
  608. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
  609. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/App.vue +41 -0
  610. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  611. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
  612. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/main.js +39 -0
  613. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
  614. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
  615. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/router.js +23 -0
  616. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  617. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/views/template.vue +49 -0
  618. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
  619. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
  620. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
  621. package/ganwei-iotcenter-index-6.2.2/pnpm-lock.yaml +7962 -0
  622. package/ganwei-iotcenter-index-6.2.2/pnpm-workspace.yaml +3 -0
  623. package/package.json +2 -1
  624. package/src/createQuestions.js +1 -0
@@ -0,0 +1,291 @@
1
+
2
+ import { computed, defineAsyncComponent } from 'vue'
3
+ const indexLeftContent = defineAsyncComponent(() => { return import('@/components/indexLeftContent/index.vue') })
4
+ const indexRightContent = defineAsyncComponent(() => { return import('@/components/indexRightContent/index.vue') })
5
+ // 整合调整:ganwei-pc 改为 ganwei-web
6
+ import {equipCache as EquipCache} from '@ganwei-web/gw-base-components-plus/equipProcessing/dist/index.es.js'
7
+ import exportHistory from '@ganwei-web/gw-base-utils-plus/historyExport/dist/index.es.js'
8
+
9
+ import sceneMonitor from '@/components/sceneMonitor/index.js'
10
+ const menuColorList = ['#6763EF', '#2FA9E6', '#B945CE', '#27AE79', '#F68309', '#9872EF', '#0FD3D4', '#F37071', '#FDB03D']
11
+ export default {
12
+ mixins: [exportHistory, sceneMonitor],
13
+ components: {
14
+ indexLeftContent,
15
+ indexRightContent,
16
+ },
17
+ data() {
18
+ return {
19
+ config: {
20
+ showSwitchTheme: false,
21
+ img: {
22
+ indexSmallImg: ''
23
+ },
24
+ theme: {
25
+ default: '',
26
+ supportThemes: []
27
+ }
28
+ },
29
+ theme: {
30
+ indexSmallImg: ''
31
+ },
32
+ allMenus: [],
33
+ loading: false,
34
+ navTopActive: -1,
35
+ outerLinkMap: {},
36
+ routesMap: {},
37
+ routesToName: {},
38
+ routesToIcon: {},
39
+ routesToPackageId: {},
40
+ onlyContent: false,
41
+ isHideMenu: false,
42
+ isHideHead: false
43
+ }
44
+ },
45
+
46
+ provide() {
47
+ return {
48
+ theme: computed(() => this.theme),
49
+ config: computed(() => this.config),
50
+ routesMap: computed(() => this.routesMap),
51
+ routesToPackageId: computed(() => this.routesToPackageId),
52
+ routesToName: computed(() => this.routesToName),
53
+ routesToIcon: computed(() => this.routesToIcon),
54
+ outerLinkMap: computed(() => this.outerLinkMap)
55
+ }
56
+ },
57
+
58
+ beforeCreate() {
59
+ document.title = sessionStorage.platName || ''
60
+ },
61
+
62
+ mounted() {
63
+ this.getWebConfigAndMenu()
64
+ let equipDataSource = new EquipCache()
65
+ equipDataSource.Init()
66
+ // 设备列表--历史曲线导出、菜单新增等事件通信
67
+ window.addEventListener('message', e => {
68
+ this.curveSignalR(e, true)
69
+ if (e.data && typeof e.data == 'object' && 'setMenu' in e.data) {
70
+ // 传递被删除的菜单项的route到Index组件中
71
+ this.resetMenu({ route: e.data.route, setMenu: e.data.setMenu })
72
+ }
73
+ if (e?.data?.parentRouter) {
74
+ this.$router.push(e.data.parentRouter)
75
+ }
76
+
77
+ if (e.data && typeof e.data == 'object' && 'pub' in e.data) {
78
+ const allSpans = document.querySelectorAll('.jumpPage iframe');
79
+ allSpans.forEach(iframe => {
80
+ iframe.contentWindow.postMessage({ pub: e.data.pub })
81
+ });
82
+ }
83
+ })
84
+ // 主题切换事件监听
85
+ this.$bus.on('themeChange', () => {
86
+ this.theme = JSON.parse(JSON.stringify(this.config.theme.supportThemes.find(item => item.value === sessionStorage.theme)))
87
+ if (process.env.NODE_ENV === 'development') {
88
+ const searchParams = new URL(window.location).searchParams
89
+ searchParams.set('theme', this.theme.value)
90
+ window.location.search = '?' + searchParams.toString()
91
+ }
92
+ })
93
+
94
+ },
95
+
96
+ methods: {
97
+
98
+ /**
99
+ * 获取网站配置和菜单
100
+ * 从服务器获取配置信息,设置平台Logo,应用主题,并加载菜单数据
101
+ */
102
+ getWebConfigAndMenu() {
103
+ this.myUtils
104
+ .configInfoData(this)
105
+ .then(data => {
106
+ // 设置平台LOGO
107
+ if (data?.img?.platLogo) {
108
+ this.setPlatLogo(data.img.platLogo)
109
+ }
110
+ // // 使用个性主题替换配置默认主题
111
+ let result = data
112
+ this.config = result
113
+ this.theme = JSON.parse(JSON.stringify(this?.config?.theme?.supportThemes.find(item => item.value === sessionStorage.theme)))
114
+ })
115
+ .catch(err => {
116
+ console.log(err)
117
+ }).finally(() => {
118
+ //获取菜单
119
+ this.getMenus()
120
+ // 获取平台名称
121
+ this.getAuthName()
122
+ })
123
+ },
124
+
125
+ /**
126
+ * 设置平台Logo
127
+ * 创建并添加网站的favicon图标
128
+ * @param {string} platLogo - Logo图片URL
129
+ */
130
+ setPlatLogo(platLogo) {
131
+ let link = document.createElement('link')
132
+ link.setAttribute('rel', 'icon')
133
+ link.href = platLogo
134
+ link.setAttribute('type', 'image/x-icon')
135
+ window.document.head.prepend(link)
136
+ },
137
+
138
+ /**
139
+ * 获取平台名称
140
+ * 从服务器获取平台名称并设置到页面标题
141
+ */
142
+ getAuthName() {
143
+ this.$api.getAuthName().then(res => {
144
+ window.document.title = res?.data?.data || this.config?.titleConfig?.platName || ''
145
+ }).catch(err => {
146
+ console.log(err)
147
+ window.document.title = this.config?.titleConfig?.platName || ''
148
+ })
149
+ },
150
+
151
+ /**
152
+ * 获取菜单列表
153
+ * 从服务器获取菜单数据,处理并设置菜单样式
154
+ */
155
+ getMenus() {
156
+ this.loading = true
157
+ this.$api
158
+ .GetMenus()
159
+ .then(res => {
160
+ let { code, data, message } = res?.data || {}
161
+ if (code === 200) {
162
+ if (data) {
163
+ data = this.filterPCMenu(data || [])
164
+ this.setMenuBackgroundColor(data)
165
+ data.forEach((group, index) => {
166
+ this.traverse(group, index)
167
+ })
168
+ this.allMenus = data
169
+ this.navTopActive = 0;
170
+ window.sessionStorage.asideList = JSON.stringify(this.allMenus)
171
+ }
172
+ } else {
173
+ if (message) {
174
+ this.$message.error(message)
175
+ }
176
+ }
177
+ })
178
+ .catch(er => {
179
+ console.log(er)
180
+ }).finally(() => {
181
+ this.loading = false
182
+ })
183
+ },
184
+
185
+ /**
186
+ * 过滤PC端菜单
187
+ * 递归过滤出适用于PC端的菜单项
188
+ * @param {Array} menus - 原始菜单列表
189
+ * @returns {Array} 过滤后的PC端菜单列表
190
+ */
191
+ filterPCMenu(menus) {
192
+ let newarr = [];
193
+ menus.forEach(element => {
194
+ let menuItem = {}
195
+ if (element.menuOwner == 0 || element.menuOwner == 1) { // 判断条件
196
+ menuItem = {
197
+ ...element,
198
+ children: element.children ? [] : null
199
+ }
200
+ newarr.push(menuItem)
201
+ }
202
+ if (element.children && element.children.length > 0) {
203
+ let redata = this.filterPCMenu(element.children);
204
+ menuItem.children = redata.length ? redata : null
205
+ }
206
+ });
207
+ return newarr;
208
+ },
209
+
210
+ /**
211
+ * 设置菜单背景颜色
212
+ * 为菜单项分配预定义的背景颜色
213
+ * @param {Array} list - 菜单列表
214
+ */
215
+ setMenuBackgroundColor(list) {
216
+ let colorIndex = 0
217
+ let length = menuColorList.length
218
+ list.forEach(menuItem => {
219
+ if (colorIndex + 1 > length) {
220
+ colorIndex = 0
221
+ }
222
+ menuItem.backgroundColor = menuColorList[colorIndex]
223
+ if (menuItem.children) {
224
+ this.setMenuBackgroundColor(menuItem.children)
225
+ }
226
+ colorIndex++
227
+ })
228
+ },
229
+
230
+ /**
231
+ * 遍历菜单数据
232
+ * 递归处理菜单数据,设置路由映射关系
233
+ * @param {Object} data - 菜单项数据
234
+ * @param {number} index - 菜单索引
235
+ */
236
+ traverse(data, index) {
237
+ if (data && !data.route && data.children) {
238
+ for (let item of data.children) {
239
+ this.traverse(item, index)
240
+ }
241
+ } else {
242
+ if (/^http/.test(data.route)) {
243
+ if (!data.route.includes('target=_blank')) {
244
+ let route = `/Index/jumpIframe/custom/${data.name}?outerLink=true`
245
+ let parameter; // 外部链接有参数,则拼接到outerLink=true后面
246
+ if (data.route && data.route.includes('?')) {
247
+ parameter = data.route.split('?')[1];
248
+ }
249
+ let keyVal = route + (parameter ? '&' + parameter : '');
250
+ this.outerLinkMap[keyVal] = data.route;
251
+ data.route = keyVal;
252
+ // this.outerLinkMap
253
+ // {
254
+ // "/Index/jumpIframe/custom/${data.name}?outerLink=true": "https://xxxx"
255
+ // }
256
+ }
257
+ }
258
+ if (data.route) {
259
+ this.routesMap[decodeURIComponent(data.route)] = index
260
+ this.routesToPackageId[data.route] = data.packageId
261
+ this.routesToPackageId[data.route.split('?').pop()] = data.packageId
262
+ this.routesToName[data.route] = data.name
263
+ this.routesToIcon[data.route + 'icon'] = data.icon
264
+ }
265
+ }
266
+ },
267
+
268
+ /**
269
+ * 重置菜单
270
+ * 根据传入的数据决定是否重新获取菜单
271
+ * @param {Object} data - 包含setMenu标志的对象
272
+ */
273
+ resetMenu(data) {
274
+ // 判断是否重新获取菜单
275
+ if (data.setMenu) {
276
+ this.getMenus()
277
+ }
278
+ }
279
+ },
280
+ watch: {
281
+ '$route': {
282
+ handler: function () {
283
+ this.onlyContent = window.getParameterMap().get("content") === 'true'
284
+ this.isHideMenu = window.getParameterMap().get("isHideMenu") === 'true'
285
+ this.isHideHead = window.getParameterMap().get("isHideHead") === 'true'
286
+ },
287
+ deep: true,
288
+ immediate: true
289
+ }
290
+ },
291
+ }
@@ -0,0 +1,257 @@
1
+ <template>
2
+ <div class="jumpPage">
3
+ <loading v-show="loading"></loading>
4
+ <!-- 菜单至少不为空时,才开始加载页面,避免单点登录时,菜单为空,导致页面异常 -->
5
+ <iframe v-if="name != 'noPage' && isHasPage" :id="name" :src="path" width="100%" height="100%"
6
+ allowfullscreen></iframe>
7
+ <noPage v-if="name == 'noPage'"></noPage>
8
+ </div>
9
+ </template>
10
+ <script>
11
+ import noPage from '@/components/noAccess/noPage.vue'
12
+ import preloadMethod from './preloadMethod.js'
13
+ import QueryParser from './queryParser'
14
+ export const LOADING_TIME = 500;
15
+ export default {
16
+ name: 'MFEJump',
17
+ mixins: [preloadMethod],
18
+ components: {
19
+ noPage
20
+ },
21
+ inject: ['outerLinkMap', 'routesToName', 'routesToPackageId'],
22
+ data() {
23
+ return {
24
+ loading: true,
25
+ path: '',
26
+ name: 'MFEJump',
27
+ isHasPage: false,
28
+ pageNofound: "Status Code: 404; Not Found",
29
+ customName: '',
30
+ auth: '',
31
+ queryParser: new QueryParser(),
32
+ };
33
+ },
34
+ created() {
35
+ if (this?.$store?.state?.loadingStatus) {
36
+ this?.$store?.commit("setLoadingStatus", false)
37
+ return;
38
+ }
39
+
40
+ // 预加载方法
41
+ this.preloadApi().then(res => {
42
+ if (res?.data?.data) {
43
+ if (typeof res?.data?.data == 'string' || typeof res?.data?.data == 'number') {
44
+ this.auth = res?.data?.data
45
+ }
46
+ }
47
+ }).catch(e => {
48
+ console.log(e)
49
+ }).finally(() => {
50
+ this.queryParser = new QueryParser(this.$route)
51
+ this.loadApplication()
52
+ })
53
+ },
54
+ methods: {
55
+ async loadApplication() {
56
+ // 检查模块名
57
+ let packageName = this.$route.params.packageName, route = this.$route?.params?.route || '';
58
+ if (!packageName) {
59
+ this.$route.query.pageNofound = true;
60
+ this.isNoPage()
61
+ return
62
+ }
63
+
64
+ this.setInternalLocation(packageName, route)
65
+ let path = this.queryParser.getFullPath()
66
+ let menuName = '', packageId = ''
67
+
68
+ try {
69
+ if (!path.includes('outerLink=true')) {
70
+ menuName = route.split('/')[0].split('?')[0]
71
+ packageId = this.getPackageId(this.$route.path, this.$route.fullPath)
72
+ } else {
73
+ path = this.setOuterLocation(this.outerLinkMap[decodeURIComponent(this.$route.fullPath)])
74
+ }
75
+ } catch (error) {
76
+ console.log(error)
77
+ }
78
+
79
+ // 获取翻译文件
80
+ await this.languageChangeFun(packageName, menuName, packageId)
81
+
82
+ // 传递应用参数
83
+ this.queryParser.addQuery({
84
+ packageId,
85
+ theme: sessionStorage.getItem('theme') || 'dark',
86
+ pluginName: packageName,
87
+ menuName,
88
+ languageType: localStorage.languageType,
89
+ userName: sessionStorage.userName,
90
+ auth: this.auth,
91
+ customName: this.customName,
92
+ // 会自动 encodeURIComponent,所以需要先decodeURIComponent
93
+ CSRF_TOKEN: decodeURIComponent(sessionStorage.getItem('CSRF_TOKEN') || '')
94
+ })
95
+
96
+ this.loadActualPath(packageName)
97
+
98
+ this.$nextTick(() => {
99
+ setTimeout(() => {
100
+ this.checkFrameLoad(packageName, packageId, menuName)
101
+ }, 100);
102
+ })
103
+
104
+ },
105
+
106
+ setInternalLocation(packageName, route) {
107
+ let location = (this.$hostMap(packageName) || '') + (route.indexOf(".html") != -1 ? '/' : '/#/') + route
108
+ this.queryParser.setLocation(location)
109
+ return location
110
+ },
111
+
112
+ setOuterLocation(outerLink) {
113
+ const url = new URL(outerLink)
114
+ let location = url.href//url.origin + url.pathname
115
+ this.queryParser.setLocation(location)
116
+ return location
117
+ },
118
+
119
+ async languageChangeFun(packageName, menuName, packageId) {
120
+ if (packageName && menuName && packageId) {
121
+ return window.getLanguage(packageName, menuName, packageId, this)
122
+ }
123
+ },
124
+
125
+ loadActualPath(packageName) {
126
+ let path = this.queryParser.getFullPath()
127
+ if (process.env.NODE_ENV == 'production') {
128
+ this.isHasPage = true;
129
+ this.name = this.path = path;
130
+ }
131
+
132
+ if (process.env.NODE_ENV == 'development') {
133
+ if (!this.$hostMap(packageName) && path && !path.includes('http')) {
134
+ this.name = 'noPage'
135
+ this.isHasPage = false
136
+ this.$notify({
137
+ title: '提示',
138
+ message: '请在hostMap.js配置该应用!'
139
+ });
140
+ } else {
141
+ this.isHasPage = true;
142
+ this.name = path, this.path = path;
143
+ }
144
+ }
145
+ },
146
+
147
+ checkFrameLoad(packageName, packageId, menuName) {
148
+ let iframe = document.getElementById(this.name)
149
+ if (iframe) {
150
+ iframe.onload = () => {
151
+ try {
152
+ iframe.contentWindow.document.documentElement.setAttribute('data-theme', sessionStorage.theme)
153
+ } catch (error) {
154
+ console.log(error)
155
+ }
156
+ try {
157
+ iframe.contentWindow.postMessage({
158
+ theme: sessionStorage.theme,
159
+ languagePackage: sessionStorage.languagePackage,
160
+ packageId: packageId,
161
+ packageName: packageName,
162
+ menuName: menuName
163
+ }, "*")
164
+ } catch (error) {
165
+ console.log(error)
166
+ }
167
+ this.loading = false;
168
+ this.checkPageLoad()
169
+ }
170
+
171
+ // 防止onload不执行,兜底
172
+ setTimeout(() => {
173
+ this.loading = false;
174
+ }, LOADING_TIME);
175
+ } else {
176
+ this.isNoPage()
177
+ }
178
+ },
179
+
180
+ checkPageLoad() {
181
+ this.loading = false;
182
+ let isError = false;
183
+ let dom = document.getElementById(this.name)
184
+ if (dom) {
185
+ try {
186
+ isError = dom.contentWindow.document.querySelector('body>pre')?.innerHTML.includes(this.pageNofound)
187
+ } catch (error) {
188
+ console.log("")
189
+ }
190
+ }
191
+ if (isError) {
192
+ this.isNoPage()
193
+ }
194
+ },
195
+
196
+ async isFileExist(filePath) {
197
+ let exist = false
198
+ await this.$api.get(filePath).then(res => {
199
+ if (res.status == 200) {
200
+ exist = true
201
+ } else {
202
+ exist = false
203
+ }
204
+ }).catch(err => {
205
+ console.log(err)
206
+ exist = false
207
+ })
208
+ return exist
209
+ },
210
+
211
+ executeIframeFun(callback) {
212
+ let iframe = document.getElementById(this.name)
213
+ let hasQueue = false
214
+ try {
215
+ // 有些第三方链接,考虑到安全性问题,不允许读取contentWindow内部变量,会报错
216
+ let executeQueues = iframe?.contentWindow?.executeQueues || {}
217
+ Object.keys(executeQueues).forEach(item => {
218
+ hasQueue = true;
219
+ executeQueues[item]();
220
+ })
221
+ } catch (error) {
222
+ console.log(error)
223
+ }
224
+
225
+ if (callback) {
226
+ if (hasQueue) {
227
+ setTimeout(() => { callback() }, 500)
228
+ } else {
229
+ callback()
230
+ }
231
+ }
232
+ },
233
+
234
+ getPackageId(route, fullPath) {
235
+ return this.routesToPackageId[fullPath] || this.routesToPackageId[route]
236
+ },
237
+
238
+ isNoPage() {
239
+ this.name = 'noPage';
240
+ this.isHasPage = false;
241
+ this.loading = false
242
+ },
243
+ },
244
+ };
245
+ </script>
246
+
247
+ <style lang="scss" scoped>
248
+ .jumpPage {
249
+ width: 100%;
250
+ height: 100%;
251
+ background: var(--frame-main-background);
252
+
253
+ iframe {
254
+ color-scheme: light;
255
+ }
256
+ }
257
+ </style>
@@ -0,0 +1,54 @@
1
+ export default {
2
+ created () {
3
+ window.preloadApi = this.preloadApi.bind(this)
4
+ },
5
+ methods: {
6
+
7
+ /**
8
+ * 预加载接口--第三方应用配置后URL携带返回参数
9
+ * @param {String} configName packageId
10
+ * @param {String} customParameterName 自定义参数名称
11
+ * @param {String} path 请求路径
12
+ * @param {String} methods 请求方法
13
+ * @param {Object} data 请求参数
14
+ */
15
+ preloadApi () {
16
+ let routerPath = window.decodeURIComponent(this.$route.path)
17
+ let routerFullPath = window.decodeURIComponent(this.$route.fullPath)
18
+ let originName = this.routesToPackageId[routerFullPath] || this.routesToPackageId[routerPath], preloadConfig
19
+ try {
20
+ preloadConfig = JSON.parse(sessionStorage.configInfoData)?.preloadConfig
21
+ } catch (error) {
22
+ preloadConfig = []
23
+ }
24
+ if (Array.isArray(preloadConfig)) {
25
+ preloadConfig = preloadConfig?.filter(item => {
26
+ return item?.configName?.toString()?.trim() == originName?.toString()?.trim()
27
+ })
28
+ } else {
29
+ preloadConfig = []
30
+ }
31
+ let configName = preloadConfig[0]?.configName || "敢为云"
32
+ let path = preloadConfig[0]?.path || '/api/idsvr/connect/connect'
33
+ let methods = preloadConfig[0]?.methods || 'get'
34
+ let data = preloadConfig[0]?.data || {}
35
+ this.customName = preloadConfig[0]?.customParameterName || 'token'
36
+ let xhr = this.$api
37
+ return new Promise((resolve, reject) => {
38
+ if (originName && configName && originName?.toString()?.trim() == configName?.toString()?.trim()) {
39
+ xhr[methods](path, data).then(res => {
40
+ if (res?.data?.code == 200) {
41
+ resolve(res)
42
+ } else {
43
+ reject({})
44
+ }
45
+ }).catch(e => {
46
+ reject({})
47
+ })
48
+ } else {
49
+ resolve({})
50
+ }
51
+ })
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ *
3
+ * @class QueryParser
4
+ *
5
+ * @example
6
+ * http://127.0.0.1:8120/?languageType=zh-CN#/Index/jumpIframe/ganwei-iotcenter-event-querys/eqEvent?languageType=zh-CN
7
+ * 1. window.location.search
8
+ * 2. route.query
9
+ */
10
+ export default class QueryParser {
11
+ location = ''
12
+ constructor(route) {
13
+ this.searchParams = new URLSearchParams(window.location.search);
14
+ if (route) {
15
+ this.addQuery(route.query);
16
+ }
17
+ }
18
+
19
+ setLocation(location) {
20
+ this.location = location
21
+ }
22
+
23
+ addURLSearchParams(outerUrlSearchParams) {
24
+ outerUrlSearchParams.forEach((v, k) => {
25
+ this.searchParams.set(k, v)
26
+ })
27
+ }
28
+
29
+ addQuery(query) {
30
+ if (typeof query === "object" && query !== null) {
31
+ for (let key in query) {
32
+ let value = query[key];
33
+ if (value) {
34
+ this.searchParams.set(key, value);
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ getFullPath() {
41
+ return this.location + '?' + this.searchParams.toString()
42
+ }
43
+
44
+ getQueryString() {
45
+ return '?' + this.searchParams.toString()
46
+ }
47
+ }