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

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 (558) hide show
  1. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -5034
  2. package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -10
  3. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +705 -705
  4. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -1167
  5. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -2025
  6. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -628
  7. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -73
  8. package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -4024
  9. package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +78 -78
  10. package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -5
  11. package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -14
  12. package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +76 -76
  13. package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -8810
  14. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
  15. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
  16. package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
  17. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
  18. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
  19. package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
  20. package/ganwei-iotcenter-index-6.2.2/pnpm-lock.yaml +7962 -7962
  21. package/ganwei-iotcenter-index-6.2.3/.gitignore +31 -0
  22. package/ganwei-iotcenter-index-6.2.3/.npmrc +1 -0
  23. package/ganwei-iotcenter-index-6.2.3/.nvmrc +1 -0
  24. package/ganwei-iotcenter-index-6.2.3/configuration/clean.cjs +48 -0
  25. package/ganwei-iotcenter-index-6.2.3/configuration/cleanNodeModule.js +18 -0
  26. package/ganwei-iotcenter-index-6.2.3/configuration/gitClone.js +45 -0
  27. package/ganwei-iotcenter-index-6.2.3/configuration/moduleConfiguration.json +9 -0
  28. package/ganwei-iotcenter-index-6.2.3/configuration/updateModule.cjs +30 -0
  29. package/ganwei-iotcenter-index-6.2.3/init.cjs +30 -0
  30. package/ganwei-iotcenter-index-6.2.3/package.json +47 -0
  31. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.babelrc +4 -0
  32. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  33. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.development +22 -0
  34. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.production +22 -0
  35. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.test +22 -0
  36. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  37. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  38. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.gitignore +27 -0
  39. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  40. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  41. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  42. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/enteryJson.js +8 -0
  43. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  44. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  45. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  46. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  47. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/index.html +33 -0
  48. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/package.json +92 -0
  49. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/ElementPlusAdapter.css +1417 -0
  50. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  51. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  52. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  53. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  54. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  55. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +396 -0
  56. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset.css +1988 -0
  57. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  58. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  59. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  60. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  61. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  62. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  63. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  64. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  65. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +4195 -0
  66. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  67. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +7324 -0
  68. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  69. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  70. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  71. package/ganwei-iotcenter-index-6.2.3/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
  72. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +434 -0
  73. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  74. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  75. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  76. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  77. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  78. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  79. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  80. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  81. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  82. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  83. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  84. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  85. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  86. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  87. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  88. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  89. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  90. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  91. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  92. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  93. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  94. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  95. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  96. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  97. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  98. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  99. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  100. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  101. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  102. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  103. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  104. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  105. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  106. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  107. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  108. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  109. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  110. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  111. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  112. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  113. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  114. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  115. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  116. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  117. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg.jpg +0 -0
  118. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  119. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  120. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  121. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  122. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  123. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  124. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  125. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  126. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  127. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  128. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  129. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  130. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  131. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  132. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  133. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  134. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  135. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  136. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/drag.js +391 -0
  137. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  138. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  139. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  140. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  141. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  142. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  143. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  144. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +232 -0
  145. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  146. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +58 -0
  147. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  148. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  149. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery-3.4.1.min.js +4189 -0
  150. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  151. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  152. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  153. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  154. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  155. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  156. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  157. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/sm4Encrypt.js +14 -0
  158. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  159. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  160. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  161. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  162. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  163. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  164. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  165. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/config.json +155 -0
  166. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  167. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  168. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  169. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +457 -0
  170. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  171. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  172. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  173. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  174. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +463 -0
  175. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  176. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  177. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/App.vue +88 -0
  178. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  179. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  180. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/Index.vue +113 -0
  181. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  182. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/features/Form/InputPassword/index.vue +101 -0
  183. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  184. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  185. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  186. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  187. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/equipAlarmDialog/index.vue +203 -0
  188. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/expirationReminder/index.vue +108 -0
  189. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +49 -0
  190. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  191. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  192. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +58 -0
  193. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/notificationSlot/index.vue +124 -0
  194. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
  195. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +331 -0
  196. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +257 -0
  197. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  198. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +99 -0
  199. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  200. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  201. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  202. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +278 -0
  203. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  204. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  205. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  206. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  207. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  208. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  209. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  210. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +156 -0
  211. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +108 -0
  212. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  213. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +34 -0
  214. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  215. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  216. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  217. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +40 -0
  218. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  219. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +151 -0
  220. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +96 -0
  221. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  222. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  223. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  224. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  225. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  226. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  227. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  228. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  229. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  230. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  231. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +160 -0
  232. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  233. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +61 -0
  234. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  235. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +18 -0
  236. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +152 -0
  237. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +432 -0
  238. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +82 -0
  239. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  240. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  241. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
  242. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  243. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/AsideMenu.vue +473 -0
  244. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/ContractMenu.vue +347 -0
  245. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/TopNav.vue +393 -0
  246. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Sidebar/LeftContent/index.vue +643 -0
  247. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  248. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +145 -0
  249. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  250. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +265 -0
  251. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useAuth.ts +269 -0
  252. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useDialog.ts +68 -0
  253. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useFullscreen.ts +100 -0
  254. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/usePermission.ts +230 -0
  255. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useTheme.ts +115 -0
  256. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  257. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/main.js +52 -0
  258. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +60 -0
  259. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api/frame.js +148 -0
  260. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  261. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/router.js +34 -0
  262. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/main.example.js +17 -0
  263. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.init.js +362 -0
  264. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.esm.min.js +7 -0
  265. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.js +118 -0
  266. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketexample.vue +150 -0
  267. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketplugin.js +10 -0
  268. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketservice.js +37 -0
  269. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/store.js +228 -0
  270. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/types.js +16 -0
  271. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  272. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/bubbleSort.ts +168 -0
  273. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  274. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  275. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  276. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  277. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/sm4Encrypt.js +200 -0
  278. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/Index.vue +118 -0
  279. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/index.js +381 -0
  280. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +271 -0
  281. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  282. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  283. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/tsconfig.json +64 -0
  284. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  285. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.babelrc +8 -0
  286. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  287. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.development +22 -0
  288. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.production +22 -0
  289. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.test +22 -0
  290. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  291. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  292. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.gitignore +27 -0
  293. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  294. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  295. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  296. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  297. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  298. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  299. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  300. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/index.html +34 -0
  301. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/package.json +85 -0
  302. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
  303. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  304. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16959 -0
  305. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  306. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/equipStatus.css +70 -0
  307. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  308. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +180 -0
  309. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset.css +1992 -0
  310. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  311. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  312. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  313. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  314. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  315. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  316. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  317. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  318. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4195 -0
  319. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  320. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7324 -0
  321. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  322. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  323. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  324. package/ganwei-iotcenter-index-6.2.3/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
  325. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +434 -0
  326. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
  327. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
  328. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
  329. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/head-background.png +0 -0
  330. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-dark.svg +48 -0
  331. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-green.svg +42 -0
  332. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-light.svg +26 -0
  333. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-dark.svg +20 -0
  334. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-green.svg +20 -0
  335. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-light.svg +14 -0
  336. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-dark.svg +22 -0
  337. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-green.svg +16 -0
  338. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-light.svg +16 -0
  339. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull.svg +22 -0
  340. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-dark.svg +19 -0
  341. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-green.svg +14 -0
  342. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-light.svg +12 -0
  343. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen.svg +19 -0
  344. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  345. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  346. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  347. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  348. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  349. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  350. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-dark.png +0 -0
  351. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-green.png +0 -0
  352. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-light.png +0 -0
  353. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-dark.svg +32 -0
  354. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-green.svg +32 -0
  355. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-light.svg +9 -0
  356. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-dark.svg +22 -0
  357. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-green.svg +22 -0
  358. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-light.svg +15 -0
  359. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin.svg +22 -0
  360. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-dark.svg +18 -0
  361. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-green.svg +18 -0
  362. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-light.svg +18 -0
  363. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping.svg +18 -0
  364. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-upgrade.svg +18 -0
  365. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-dark.svg +22 -0
  366. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-green.svg +27 -0
  367. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-light.svg +22 -0
  368. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user.svg +26 -0
  369. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-dark.svg +37 -0
  370. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-green.svg +37 -0
  371. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-light.svg +15 -0
  372. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
  373. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
  374. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
  375. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  376. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg.jpg +0 -0
  377. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  378. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  379. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  380. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/menu-background.png +0 -0
  381. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  382. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-dark.svg +1 -0
  383. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-green.svg +1 -0
  384. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-light.svg +1 -0
  385. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-close.png +0 -0
  386. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-open.png +0 -0
  387. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
  388. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
  389. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
  390. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-fullscreen.png +0 -0
  391. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-guzhang.png +0 -0
  392. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-jinggao.png +0 -0
  393. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-shezhi.png +0 -0
  394. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-xinxi.png +0 -0
  395. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-zichan.png +0 -0
  396. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-dark.svg +19 -0
  397. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-green.svg +22 -0
  398. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-light.svg +17 -0
  399. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/webconfig-location.svg +17 -0
  400. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +2 -0
  401. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
  402. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/echarts.min.js +25 -0
  403. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js +1 -0
  404. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js.gz +0 -0
  405. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/enc-base64-min.js +86 -0
  406. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/filereader.js +455 -0
  407. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/font.js +56 -0
  408. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  409. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +232 -0
  410. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  411. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getUserPermissionList.js +58 -0
  412. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/h5player.min.js +311 -0
  413. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/hmac-sha256.js +18 -0
  414. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery-3.4.1.min.js +4189 -0
  415. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery.slim.min.js +2 -0
  416. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jsencrypt.min.js +2 -0
  417. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jszip.min.js +14 -0
  418. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/liveplayer-lib.min.js +1 -0
  419. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/moment.js +5670 -0
  420. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/pptxjs.min.js +14105 -0
  421. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/signalr.min.js +17 -0
  422. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/tXml.js +244 -0
  423. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/transformpcm.worker.js +58 -0
  424. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-i18n.min.js +6 -0
  425. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-router.min.js +11 -0
  426. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue.min.js +11 -0
  427. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vuex.min.js +6 -0
  428. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/RAMScope.json +201 -0
  429. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/config.json +155 -0
  430. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/snapshot.json +34 -0
  431. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.css +246 -0
  432. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.js +5384 -0
  433. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
  434. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  435. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +48 -0
  436. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  437. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +357 -0
  438. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
  439. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  440. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  441. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/App.vue +71 -0
  442. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  443. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  444. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  445. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  446. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  447. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  448. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  449. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  450. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  451. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
  452. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  453. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  454. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  455. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  456. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  457. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_back.jpg +0 -0
  458. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_front.jpg +0 -0
  459. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_left.jpg +0 -0
  460. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_right.jpg +0 -0
  461. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_top.jpg +0 -0
  462. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  463. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  464. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  465. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  466. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +119 -0
  467. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  468. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  469. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/loginBg.vue +281 -0
  470. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  471. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  472. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  473. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  474. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  475. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  476. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  477. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/main.js +39 -0
  478. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  479. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  480. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  481. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/router.js +48 -0
  482. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/types.js +16 -0
  483. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  484. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  485. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  486. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  487. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  488. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  489. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  490. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  491. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/login.vue +459 -0
  492. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/mainInfo.vue +62 -0
  493. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/maintenanceInfo.vue +67 -0
  494. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +239 -0
  495. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  496. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/tsconfig.json +58 -0
  497. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  498. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.babelrc +8 -0
  499. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  500. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.development +22 -0
  501. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.production +22 -0
  502. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.test +22 -0
  503. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  504. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  505. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.gitignore +27 -0
  506. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  507. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  508. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  509. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  510. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  511. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/index.html +25 -0
  512. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/package.json +95 -0
  513. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  514. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16959 -0
  515. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/index.css +15926 -0
  516. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +396 -0
  517. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  518. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  519. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +4195 -0
  520. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  521. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +7324 -0
  522. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  523. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  524. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  525. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +434 -0
  526. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +2 -0
  527. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/font.js +56 -0
  528. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +57 -0
  529. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +232 -0
  530. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +52 -0
  531. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getUserPermissionList.js +58 -0
  532. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +457 -0
  533. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  534. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +463 -0
  535. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/App.vue +53 -0
  536. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  537. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/hostMap.ts +45 -0
  538. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/main.ts +48 -0
  539. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api/template.ts +3 -0
  540. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api.ts +10 -0
  541. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/request/index.ts +0 -0
  542. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/response/index.ts +0 -0
  543. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/router.ts +37 -0
  544. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  545. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/views/template.vue +19 -0
  546. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/tsconfig.json +55 -0
  547. package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/vite.config.ts +233 -0
  548. package/ganwei-iotcenter-index-6.2.3/pnpm-lock.yaml +8724 -0
  549. package/ganwei-iotcenter-index-6.2.3/pnpm-workspace.yaml +3 -0
  550. package/ganwei-iotcenter-index-6.2.3/scripts/ensure-all-modules.js +139 -0
  551. package/ganwei-pc.js +3 -3
  552. package/package.json +30 -29
  553. package/src/createQuestions.js +1 -0
  554. package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +0 -356
  555. package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +0 -4975
  556. package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +0 -4975
  557. package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +0 -4975
  558. package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +0 -4975
@@ -0,0 +1,152 @@
1
+ .container-main {
2
+ ::v-deep .el-tabs {
3
+ height: 100%;
4
+ position: relative;
5
+ padding-top: 38px;
6
+
7
+ iframe {
8
+ border: 0px;
9
+ }
10
+
11
+ .el-tabs__header {
12
+ position: absolute;
13
+ left: 0;
14
+ top: 0;
15
+ width: 100%;
16
+ height: 38px;
17
+ margin-bottom: 0;
18
+ background-color: var(--frame-top-background);
19
+ border-top: 1px solid var(--frame-main-border2);
20
+ // border-bottom: 1px solid var(--frame-main-border2);
21
+ z-index: 1;
22
+
23
+ .el-tabs__nav-scroll {
24
+ height: 100%;
25
+ display: flex;
26
+ align-items: end;
27
+ gap: 10px;
28
+ padding: 2px 10px 0px 10px;
29
+
30
+ ::-webkit-scrollbar {
31
+ width: 4px;
32
+ height: 4px;
33
+ }
34
+
35
+ ::-webkit-scrollbar-button:vertical:start,
36
+ ::-webkit-scrollbar-button:vertical:end,
37
+ ::-webkit-scrollbar-button:horizontal:start,
38
+ ::-webkit-scrollbar-button:horizontal:end {
39
+ display: none;
40
+ }
41
+
42
+ ::-webkit-scrollbar-corner {
43
+ background-color: red;
44
+ }
45
+ }
46
+
47
+ .el-tabs__nav-wrap {
48
+ height: 100%;
49
+ }
50
+
51
+ .el-tabs__nav {
52
+ height: 32px;
53
+ border: 0;
54
+ gap: 2px;
55
+
56
+ .el-tabs__item {
57
+ height: 100%;
58
+ margin: 0;
59
+ border: 0;
60
+ border-radius: 8px 8px 0px 0px;
61
+ background: var(--labelpage-background);
62
+ box-shadow: 0px 1px 0px 0px var(--labelpage-boxshadow);
63
+ color: var(--labelpage-color);
64
+ overflow: hidden;
65
+
66
+ >i {
67
+ margin-right: 6px;
68
+ }
69
+
70
+ &:not(:first-child) {
71
+ margin-left: 1px;
72
+ }
73
+
74
+ &:only-of-type {
75
+ .el-icon-close {
76
+ display: none;
77
+ }
78
+ }
79
+
80
+ .el-icon {
81
+ font-size: 14px;
82
+ margin-right: 4px;
83
+ overflow: hidden;
84
+ }
85
+
86
+ span:nth-child(2) {
87
+ font-size: 12px;
88
+ }
89
+ }
90
+
91
+ .el-icon-close {
92
+ font-size: 14px;
93
+
94
+ &:hover {
95
+ background: transparent;
96
+ color: var(--labelpage-icon-color__hover);
97
+ }
98
+ }
99
+
100
+ .is-active {
101
+ background-color: var(--labelpage-background__active);
102
+ overflow: hidden;
103
+
104
+ .el-icon-refresh-right {
105
+ width: 14px;
106
+ transition: all 0.3s;
107
+
108
+ &:hover {
109
+ color: var(--labelpage-icon-color__hover);
110
+ }
111
+ }
112
+
113
+ span,
114
+ i {
115
+ color: var(--labelpage-color__active);
116
+ }
117
+
118
+ .active {
119
+ transform: rotate(360deg);
120
+ transition: all 0.5s;
121
+ }
122
+ }
123
+ }
124
+ }
125
+
126
+ .el-tabs__content {
127
+ height: 100%;
128
+
129
+ .el-tab-pane {
130
+ height: 100%;
131
+ }
132
+ }
133
+ }
134
+
135
+ .tabs-refresh {
136
+ position: absolute;
137
+ right: 30px;
138
+ top: 10px;
139
+ z-index: 1;
140
+ cursor: pointer;
141
+
142
+ &:hover {
143
+ color: var(--button-primary-color);
144
+ }
145
+
146
+ i {
147
+ color: var(--button-primary-color);
148
+ font-weight: 600;
149
+ font-size: 20px;
150
+ }
151
+ }
152
+ }
@@ -0,0 +1,432 @@
1
+ <template>
2
+ <el-main class="container-main">
3
+ <el-tabs @contextmenu.prevent="openContextMenu($event)" v-model="editableTabsValue" type="card" closable
4
+ @tab-remove="removeTab" @tab-click="tabClick" class="tabs-page-container">
5
+ <el-tab-pane v-for="(item, index) in editableTabs" :key="item.route" :label="item.title"
6
+ :disabled="item.disabled" :name="item.name">
7
+ <template v-slot:label>
8
+ <i :class="'iconfont ' + item.icon"></i>
9
+ <span ref="tab-title" :res="index">{{ item.title }}</span>
10
+ </template>
11
+ <Suspense>
12
+ <!-- 通过/Index/jumpIframe/ ** 跳转 frame -->
13
+ <router-view v-slot="{ Component }" :key="item.route" :editableTabs="editableTabs"
14
+ :editableTabsValue="editableTabsValue">
15
+ <component :ref="item.route" :is="Component" />
16
+ </router-view>
17
+ </Suspense>
18
+ </el-tab-pane>
19
+ </el-tabs>
20
+ <span class="tabs-refresh">
21
+ <el-tooltip class="box-item" effect="dark" :content="$t('login.contextMenu.reload')" placement="bottom"
22
+ popper-class="topToolTip">
23
+ <el-icon @click.stop.prevent="refresh" class="active">
24
+ <RefreshRight />
25
+ </el-icon>
26
+ </el-tooltip>
27
+ </span>
28
+ </el-main>
29
+ </template>
30
+
31
+ <script>
32
+ import ContextMenu from '@/components/contextMenu'
33
+ const firstTab = '1'
34
+ export default {
35
+ props: {
36
+ allMenus: {
37
+ type: Array,
38
+ default: () => []
39
+ },
40
+ },
41
+ inject: ['routesToName', 'outerLinkMap', 'routesToIcon', 'config'],
42
+
43
+ data() {
44
+ return {
45
+ editableTabs: [],
46
+ refreshName: '',
47
+ editableTabsValue: '',
48
+ isActive: false,
49
+ menuActive: ''
50
+ }
51
+ },
52
+ mounted() {
53
+ window.addEventListener('message', e => {
54
+ if (e.data && typeof e.data == 'object' && 'setMenu' in e.data) {
55
+ // 传递被删除的菜单项的route到Index组件中
56
+ this.resetMenu({ route: e.data.route, setMenu: e.data.setMenu })
57
+ }
58
+ })
59
+ window.addEventListener('keyup', e => {
60
+ this.keyEvent(e)
61
+ })
62
+ this.$bus.on('openPage', data => {
63
+ const { changePath, callback } = data
64
+ this.$router.push(changePath)
65
+ if (callback) {
66
+ this.$nextTick(() => {
67
+ callback()
68
+ })
69
+ }
70
+ })
71
+ // 外挂链接
72
+ window.openModulePage = this.openModulePage
73
+ window.refreshModulePage = this.refreshModulePage
74
+ window.closeModulePage = this.closeModulePage
75
+ },
76
+ watch: {
77
+ editableTabsValue(val) {
78
+ localStorage.editableTabsValue = val
79
+ },
80
+ allMenus: {
81
+ handler(val) {
82
+ if (!val.length) {
83
+ return;
84
+ }
85
+ this.init()
86
+ },
87
+ immediate: true
88
+ },
89
+ $route() {
90
+ try { ContextMenu.close() } catch (e) {
91
+ console.log(e)
92
+ }
93
+
94
+ this.init()
95
+ }
96
+ },
97
+ methods: {
98
+ init() {
99
+ let { customize, title, icon, url } = this.$route.query
100
+ if (customize) {
101
+ this.openModulePageHandle(title, icon, url)
102
+ } else {
103
+ this.updateTabs()
104
+ }
105
+ },
106
+ updateTabs() {
107
+ this.$nextTick(() => {
108
+ let fullPath = decodeURIComponent(this.$route.fullPath)
109
+ let path = decodeURIComponent(this.$route.path)
110
+ let routesToIcon = this.routesToIcon || {}
111
+ let routesToName = this.routesToName || {}
112
+ let icon = routesToIcon[fullPath + 'icon'] || routesToIcon[path + 'icon']
113
+ if (this.$route.fullPath != '/Index') {
114
+ this.$nextTick(() => {
115
+ if (this.$route?.query?.currentPageName) {
116
+ this.setTableTabs(this.$route.query.currentPageName, icon)
117
+ return
118
+ }
119
+ let name = routesToName[fullPath] || routesToName[path]
120
+ this.setTableTabs(name || this.$t('login.noAccess.noPage'), icon)
121
+ })
122
+ }
123
+ })
124
+ },
125
+ resetMenu(data) {
126
+ // 判断是否删除标签页
127
+ if (data.route) {
128
+ // 找到标签页中被删除的菜单
129
+ this.editableTabs.forEach(item => {
130
+ if (data.route == item.route) {
131
+ this.removeTab(item.name)
132
+ }
133
+ })
134
+ }
135
+ },
136
+
137
+ tabClick(event) {
138
+ this.refreshName = event.props.label
139
+ let result = (this.editableTabs instanceof Object) ? JSON.parse(JSON.stringify(this.editableTabs)) : []
140
+ result = result.filter(item => {
141
+ return item.title == event.props.label
142
+ })
143
+ let route = result[0].route
144
+ this.menuActive = route
145
+ this.$router.push(route)
146
+ },
147
+ openContextMenu(e) {
148
+ function getTabName(element) {
149
+ if (!e.currentTarget.contains(element)) {
150
+ return ''
151
+ }
152
+ if (element.classList.contains('el-tabs__item')) {
153
+ return element.id.split('-')[1]
154
+ }
155
+ return getTabName(element.parentElement)
156
+ }
157
+ let targetName = getTabName(e.target)
158
+ if (targetName === '') return
159
+ let startIndex = this.editableTabs.findIndex(i => i.name == targetName)
160
+ ContextMenu({
161
+ width: '150',
162
+ root: e.currentTarget,
163
+ left: e.clientX,
164
+ top: e.clientY,
165
+ commands: [
166
+ {
167
+ name: 'closeCurrent',
168
+ label: this.$t('login.contextMenu.close'),
169
+ icon: 'icon-tubiao24_guanbi',
170
+ onclick: () => {
171
+ this.removeTab(targetName)
172
+ },
173
+ disabled: this.editableTabs.length <= 1
174
+ },
175
+ {
176
+ name: 'closeOther',
177
+ label: this.$t('login.contextMenu.closeOther'),
178
+ onclick: async () => {
179
+ let toBeCloses = this.editableTabs.filter(i => i.name != targetName).map(i => i.name)
180
+ for (let item of toBeCloses) {
181
+ await this.removeTab(item)
182
+ }
183
+ },
184
+ disabled: this.editableTabs.length <= 1
185
+ },
186
+ {
187
+ name: 'closeLeft',
188
+ label: this.$t('login.contextMenu.closeLeft'),
189
+ onclick: async () => {
190
+ let toBeCloses = this.editableTabs.slice(0, startIndex).map(i => i.name)
191
+ for (let item of toBeCloses) {
192
+ await this.removeTab(item)
193
+ }
194
+ },
195
+ disabled: startIndex == 0
196
+ },
197
+ {
198
+ name: 'closeRight',
199
+ label: this.$t('login.contextMenu.closeRight'),
200
+ onclick: async () => {
201
+ let toBeCloses = this.editableTabs.slice(startIndex + 1).map(i => i.name)
202
+ for (let item of toBeCloses) {
203
+ await this.removeTab(item)
204
+ }
205
+ },
206
+ disabled: startIndex == this.editableTabs.length - 1
207
+ },
208
+ {
209
+ name: 'reload',
210
+ label: this.$t('login.contextMenu.reload'),
211
+ icon: 'icon-tubiao24_qiehuan',
212
+ onclick: () => {
213
+ this.refreshTab(startIndex)
214
+ },
215
+ disabled: false
216
+ }
217
+ ]
218
+ })
219
+ },
220
+ // 关闭标签页
221
+ removeTab(targetName) {
222
+ if (this.editableTabs.length == 1) return;
223
+ let tabs = JSON.parse(JSON.stringify(this.editableTabs))
224
+ let activeNameIndex = this.editableTabsValue
225
+ this.editableTabs.forEach(item => {
226
+ if (item.name == targetName) {
227
+ item.disabled = true
228
+ }
229
+ })
230
+ return new Promise((resolve => {
231
+ tabs.forEach((tab, index) => {
232
+ if (tab.name === targetName) {
233
+ if (activeNameIndex === targetName) {
234
+ let nextTab = tabs[(index != 0 ? index - 1 : index + 1)]
235
+ if (nextTab) {
236
+ activeNameIndex = nextTab.name
237
+ localStorage.menuActiveName = nextTab.title
238
+ this.menuActive = nextTab.route
239
+ this.$router.push(nextTab.route)
240
+ this.refreshName = nextTab.title
241
+ }
242
+ this.editableTabs[index].disabled = true
243
+ }
244
+ let routerPath = this.editableTabs[index].route
245
+ if (routerPath && this.$refs[routerPath]?.[0]?.executeIframeFun) {
246
+ this.$refs[routerPath][0].executeIframeFun(() => {
247
+ let tagIndex = tabs.findIndex(i => i.name === targetName)
248
+ this.editableTabs.splice(tagIndex, 1)
249
+ resolve(true)
250
+ })
251
+ }
252
+ }
253
+ })
254
+ }))
255
+
256
+ },
257
+
258
+ // 刷新标签页
259
+ refresh() {
260
+ try {
261
+ let dom = document.querySelectorAll('.tabs-page-container .el-tabs__item.is-active')
262
+ let index = dom[0].children[1].attributes.res.value
263
+ this.refreshTab(index)
264
+ } catch (e) {
265
+ console.log(e)
266
+ }
267
+ },
268
+ refreshTab(index) {
269
+ this?.$store?.commit("setLoadingStatus", true)// 防止多次刷新
270
+ let routerPath = this.editableTabs[index].route
271
+ if (this.$refs[routerPath]?.[0]?.executeIframeFun) {
272
+ this.$refs[routerPath][0].executeIframeFun()
273
+ }
274
+ this.editableTabs[index].route = ''
275
+ this.isActive = true
276
+ setTimeout(() => {
277
+ this.editableTabs[index].route = routerPath
278
+ this.isActive = false
279
+ }, 100)
280
+ },
281
+
282
+ setTableTabs(title, icon) {
283
+
284
+ let len = this.editableTabs.length
285
+ // 判断标签页数组是否存在当前选中导航项
286
+ // this.editableTabs[index]
287
+ let isHave = false
288
+ let fullPath = this.$route.fullPath
289
+ let noPage = this.$t('login.noAccess.noPage')
290
+
291
+ this.editableTabs.forEach(item => {
292
+ let isRefreshTab = item.route.includes(this.$route.path) && fullPath.includes('refreshTab=true')
293
+ if (item.route == fullPath || isRefreshTab) {
294
+ isHave = true
295
+ }
296
+ if (isRefreshTab) {
297
+ item.route = fullPath
298
+ }
299
+ if (item.title == title && noPage == title) {
300
+ isHave = true
301
+ }
302
+ })
303
+
304
+ // 如果不存在则增加一项进数组,存在则只做标签页选中
305
+ if (!isHave) {
306
+ this.editableTabs.push({
307
+ title: title,
308
+ route: this.$route.fullPath,
309
+ name: len ? String(Number(this.editableTabs[len - 1].name) + 1) : firstTab,
310
+ disabled: false,
311
+ icon: icon
312
+ })
313
+ len = this.editableTabs.length
314
+ this.editableTabsValue = this.editableTabs[len - 1].name
315
+ let n = this.editableTabs[0].name
316
+
317
+ if (len > 6) {
318
+ this.removeTab(n)
319
+ len--
320
+ }
321
+ } else {
322
+ for (let i = 0; i < len; i++) {
323
+ const { route, name } = this.editableTabs[i]
324
+ let isRefreshTab = route.includes(this.$route.path) && this.$route.fullPath.includes('refreshTab=true')
325
+ if (this.$route.fullPath == route || isRefreshTab) {
326
+ this.editableTabsValue = name
327
+ if (isRefreshTab) {
328
+ this.refreshTab(i)
329
+ }
330
+ break
331
+ }
332
+ }
333
+ }
334
+ this.refreshName = localStorage.menuActiveName = title
335
+ },
336
+
337
+ keyupJump(num) {
338
+ let length = this.editableTabs.length;
339
+ for (let i = 0; i < length; i++) {
340
+ if (num == -1 && i != 0 && this.editableTabs[i].name == this.editableTabsValue) {
341
+ this.$router.push(this.editableTabs[i - 1].route);
342
+ } else if (num == 1 && i != length - 1 && this.editableTabs[i].name == this.editableTabsValue) {
343
+ this.$router.push(this.editableTabs[i + 1].route);
344
+ }
345
+ }
346
+ },
347
+
348
+ keyEvent(e) {
349
+ if (e.altKey && e.keyCode == 188) {
350
+ this.keyupJump(-1);
351
+ } else if (e.altKey && e.keyCode == 190) {
352
+ this.keyupJump(1);
353
+ }
354
+ },
355
+
356
+ openModulePage(hasPage = false, url, title = "模板管理", icon = "icon-caidan_shebeiliebiao", packageId = "", pluginName = "", menuName = "", customParameters = "") {
357
+ let query = hasPage ? {} : {
358
+ customize: true,
359
+ title: title,
360
+ icon: icon,
361
+ url: url,
362
+ packageId: packageId,
363
+ pluginName: pluginName,
364
+ menuName: menuName,
365
+ customParameters: customParameters
366
+ }
367
+ this.$router.push({ path: url, query: query })
368
+ },
369
+ openModulePageHandle(title, icon, url) {
370
+ let len = this.editableTabs.length
371
+ let isHave = false// 判断标签页数组是否存在当前选中导航项
372
+ let fullPath = url
373
+ this.editableTabs.forEach(item => {
374
+ let isRefreshTab = item.route.includes(fullPath)
375
+ if (item.route == fullPath) {
376
+ isHave = true
377
+ }
378
+ if (isRefreshTab) {
379
+ item.route = fullPath
380
+ }
381
+ })
382
+
383
+ // 如果不存在则增加一项进数组,存在则只做标签页选中
384
+ if (!isHave) {
385
+ this.editableTabs.push({
386
+ title: title,
387
+ route: fullPath,
388
+ name: len ? String(Number(this.editableTabs[len - 1].name) + 1) : firstTab,
389
+ disabled: false,
390
+ icon: icon
391
+ })
392
+
393
+ len = this.editableTabs.length
394
+ this.editableTabsValue = this.editableTabs[len - 1].name
395
+ let n = this.editableTabs[0].name
396
+ if (len > 6) {
397
+ this.removeTab(n)
398
+ len--
399
+ }
400
+ } else {
401
+ for (let i = 0; i < len; i++) {
402
+ const { route, name } = this.editableTabs[i]
403
+ let isRefreshTab = route.includes(fullPath)
404
+ if (fullPath == route) {
405
+ this.editableTabsValue = name
406
+ if (isRefreshTab) {
407
+ this.refreshTab(i)
408
+ }
409
+ break
410
+ }
411
+ }
412
+ }
413
+ this.refreshName = localStorage.menuActiveName = title
414
+ },
415
+ refreshModulePage() {
416
+ this.refresh()
417
+ },
418
+ closeModulePage(path) {
419
+ if (path) {
420
+ this.editableTabs.forEach(item => {
421
+ if (item.route.includes(path)) {
422
+ this.removeTab(item.name)
423
+ }
424
+ })
425
+ } else {
426
+ this.removeTab(this.editableTabsValue)
427
+ }
428
+ }
429
+ }
430
+ }
431
+ </script>
432
+ <style src="./index.scss" scoped></style>
@@ -0,0 +1,82 @@
1
+ export default {
2
+ name: 'NormalPage',
3
+ props: {
4
+ allMenus: {
5
+ type: Array,
6
+ default: () => []
7
+ }
8
+ },
9
+ inject: ['routesMap', 'routesToName'],
10
+ data() {
11
+ return {
12
+ breadcrumbList: []
13
+ }
14
+ },
15
+ watch: {
16
+ '$route.fullPath': {
17
+ handler() {
18
+ this.initBreadcrumb()
19
+ },
20
+ immediate: true,
21
+ deep: true
22
+ }
23
+ },
24
+ mounted() {
25
+ this.initBreadcrumb()
26
+ },
27
+ methods: {
28
+
29
+ /**
30
+ * 初始化面包屑
31
+ */
32
+ initBreadcrumb() {
33
+ this.getBreadcrumbList(this.$route)
34
+ },
35
+
36
+ /**
37
+ * 获取面包屑路径
38
+ * @param {Object} currentRoute - 当前路由对象
39
+ */
40
+ getBreadcrumbList(currentRoute) {
41
+ const breadcrumb = []
42
+ const routePath = decodeURIComponent(currentRoute.fullPath || currentRoute)
43
+
44
+ // 移除查询参数
45
+ const routeWithoutQuery = routePath.includes('?')
46
+ ? routePath.split('?')[0]
47
+ : routePath
48
+
49
+ // 从 allMenus 中查找当前路由的路径
50
+ const findBreadcrumbPath = (menus, targetRoute, path = []) => {
51
+ for (const menu of menus) {
52
+ const menuRoute = menu.route && menu.route.includes('?')
53
+ ? menu.route.split('?')[0]
54
+ : menu.route
55
+
56
+ if (menuRoute === routeWithoutQuery) {
57
+ // 找到匹配项,添加到路径
58
+ return [...path, { title: menu.name }]
59
+ }
60
+
61
+ if (menu.children && menu.children.length > 0) {
62
+ const result = findBreadcrumbPath(menu.children, targetRoute, [...path, { title: menu.name }])
63
+ if (result.length > 0) {
64
+ return result
65
+ }
66
+ }
67
+ }
68
+ return []
69
+ }
70
+
71
+ if (this.allMenus && this.allMenus.length > 0) {
72
+ const path = findBreadcrumbPath(this.allMenus, routeWithoutQuery)
73
+ this.breadcrumbList = path
74
+ }
75
+
76
+ // 如果没有找到面包屑,尝试使用 routesToName
77
+ if (this.breadcrumbList.length === 0 && this.routesToName[routeWithoutQuery]) {
78
+ this.breadcrumbList = [{ title: this.routesToName[routeWithoutQuery] }]
79
+ }
80
+ }
81
+ }
82
+ }