@ganwei-web/ganwei-pc-cli 6.2.0 → 6.2.1

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 (428) hide show
  1. package/package.json +3 -3
  2. package/src/create-app.js +7 -7
  3. package/src/createQuestions.js +7 -16
  4. package/ganwei-iotcenter-index-6.2.0/.nvmrc +0 -1
  5. package/ganwei-iotcenter-index-6.2.0/configuration/cleanNodeModule.js +0 -18
  6. package/ganwei-iotcenter-index-6.2.0/configuration/gitClone.js +0 -45
  7. package/ganwei-iotcenter-index-6.2.0/configuration/moduleConfiguration.json +0 -20
  8. package/ganwei-iotcenter-index-6.2.0/configuration/updateModule.cjs +0 -30
  9. package/ganwei-iotcenter-index-6.2.0/init.cjs +0 -30
  10. package/ganwei-iotcenter-index-6.2.0/package.json +0 -41
  11. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.babelrc +0 -4
  12. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.editorconfig +0 -22
  13. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.development +0 -22
  14. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.production +0 -22
  15. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.test +0 -22
  16. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintignore +0 -13
  17. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintrc.cjs +0 -176
  18. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierignore +0 -13
  19. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierrc.cjs +0 -19
  20. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/auto-imports.d.ts +0 -5
  21. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/enteryJson.js +0 -9
  22. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +0 -38
  23. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +0 -595
  24. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/components.d.ts +0 -87
  25. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/env.d.ts +0 -7
  26. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/index.html +0 -31
  27. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/package.json +0 -89
  28. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +0 -1
  29. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +0 -16959
  30. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +0 -16075
  31. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +0 -70
  32. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/index.css +0 -15926
  33. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +0 -155
  34. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +0 -1135
  35. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +0 -1
  36. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +0 -1969
  37. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  38. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  39. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  40. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  41. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  42. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +0 -3779
  43. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +0 -1
  44. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +0 -6596
  45. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  46. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  47. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  48. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +0 -486
  49. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  50. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +0 -48
  51. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +0 -42
  52. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +0 -26
  53. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +0 -20
  54. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +0 -20
  55. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +0 -14
  56. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +0 -22
  57. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +0 -16
  58. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +0 -16
  59. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +0 -22
  60. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +0 -19
  61. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +0 -14
  62. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +0 -12
  63. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +0 -19
  64. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  65. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +0 -67
  66. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +0 -67
  67. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +0 -67
  68. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  69. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +0 -67
  70. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  71. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  72. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  73. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +0 -32
  74. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +0 -32
  75. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +0 -9
  76. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +0 -22
  77. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +0 -22
  78. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +0 -15
  79. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +0 -22
  80. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +0 -18
  81. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +0 -18
  82. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +0 -18
  83. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +0 -18
  84. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +0 -18
  85. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +0 -22
  86. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +0 -27
  87. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +0 -22
  88. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +0 -26
  89. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +0 -37
  90. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +0 -37
  91. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +0 -15
  92. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  93. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  94. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  95. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +0 -1
  96. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +0 -1
  97. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +0 -1
  98. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  99. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  100. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  101. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  102. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  103. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  104. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  105. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  106. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +0 -19
  107. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +0 -22
  108. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +0 -17
  109. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +0 -17
  110. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +0 -2
  111. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +0 -25
  112. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +0 -1
  113. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  114. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +0 -86
  115. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/filereader.js +0 -455
  116. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/font.js +0 -56
  117. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +0 -57
  118. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +0 -144
  119. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +0 -52
  120. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +0 -55
  121. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +0 -311
  122. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +0 -18
  123. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +0 -2
  124. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +0 -2
  125. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +0 -14
  126. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +0 -1
  127. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/moment.js +0 -5670
  128. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +0 -14105
  129. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +0 -17
  130. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/tXml.js +0 -244
  131. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +0 -58
  132. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +0 -6
  133. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +0 -11
  134. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +0 -11
  135. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +0 -6
  136. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +0 -201
  137. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/config.json +0 -154
  138. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +0 -34
  139. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +0 -246
  140. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +0 -5384
  141. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +0 -430
  142. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark.css +0 -426
  143. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +0 -48
  144. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +0 -53
  145. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +0 -357
  146. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +0 -424
  147. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light.css +0 -414
  148. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +0 -42
  149. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/App.vue +0 -52
  150. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +0 -122
  151. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/auto-import.d.ts +0 -61
  152. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +0 -216
  153. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +0 -238
  154. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +0 -238
  155. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +0 -42
  156. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +0 -113
  157. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +0 -204
  158. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +0 -258
  159. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +0 -112
  160. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  161. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +0 -282
  162. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +0 -19
  163. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +0 -10
  164. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +0 -50
  165. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +0 -10
  166. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +0 -28
  167. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +0 -137
  168. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +0 -20
  169. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +0 -135
  170. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +0 -327
  171. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +0 -253
  172. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +0 -61
  173. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +0 -97
  174. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +0 -95
  175. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  176. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +0 -8
  177. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +0 -271
  178. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +0 -45
  179. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +0 -36
  180. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +0 -22
  181. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +0 -70
  182. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +0 -94
  183. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +0 -35
  184. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +0 -146
  185. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  186. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +0 -8
  187. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +0 -81
  188. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +0 -147
  189. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +0 -30
  190. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +0 -78
  191. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +0 -265
  192. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +0 -5
  193. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +0 -39
  194. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +0 -94
  195. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +0 -113
  196. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +0 -90
  197. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +0 -68
  198. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +0 -16
  199. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +0 -178
  200. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +0 -16
  201. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +0 -46
  202. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +0 -195
  203. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +0 -70
  204. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +0 -95
  205. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +0 -35
  206. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +0 -240
  207. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +0 -158
  208. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +0 -50
  209. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +0 -63
  210. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +0 -40
  211. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +0 -20
  212. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +0 -398
  213. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +0 -136
  214. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +0 -36
  215. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +0 -34
  216. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +0 -44
  217. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +0 -21
  218. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +0 -65
  219. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +0 -57
  220. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  221. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +0 -78
  222. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +0 -68
  223. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +0 -95
  224. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.js +0 -65
  225. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.vue +0 -136
  226. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +0 -36
  227. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +0 -300
  228. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/hostMap.js +0 -13
  229. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/main.js +0 -50
  230. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +0 -29
  231. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/publish/pub.ts +0 -28
  232. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api/frame.js +0 -142
  233. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api.js +0 -14
  234. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/router.js +0 -34
  235. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/store.js +0 -221
  236. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/types.js +0 -16
  237. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +0 -156
  238. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +0 -325
  239. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +0 -66
  240. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/historyExport.js +0 -158
  241. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/setStorage.js +0 -5
  242. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/Index.vue +0 -81
  243. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/index.js +0 -297
  244. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +0 -242
  245. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +0 -54
  246. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +0 -47
  247. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/tsconfig.json +0 -57
  248. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/vite.config.ts +0 -270
  249. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.babelrc +0 -8
  250. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.editorconfig +0 -22
  251. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.development +0 -22
  252. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.production +0 -22
  253. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.test +0 -22
  254. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintignore +0 -13
  255. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintrc.cjs +0 -162
  256. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierignore +0 -13
  257. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierrc.cjs +0 -37
  258. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/auto-imports.d.ts +0 -5
  259. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/enteryJson.js +0 -72
  260. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +0 -38
  261. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +0 -595
  262. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/env.d.ts +0 -7
  263. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/index.html +0 -34
  264. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/package.json +0 -84
  265. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/drag.css +0 -140
  266. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +0 -1
  267. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +0 -16957
  268. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +0 -16075
  269. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +0 -1471
  270. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/index.css +0 -15926
  271. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +0 -114
  272. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +0 -1135
  273. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +0 -1
  274. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +0 -1969
  275. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  276. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  277. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  278. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  279. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  280. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +0 -4151
  281. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +0 -1
  282. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +0 -7247
  283. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  284. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  285. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  286. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +0 -316
  287. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center.svg +0 -23
  288. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +0 -24
  289. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +0 -15
  290. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  291. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +0 -67
  292. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +0 -67
  293. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +0 -67
  294. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  295. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +0 -67
  296. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left.svg +0 -23
  297. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +0 -24
  298. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +0 -15
  299. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  300. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  301. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  302. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  303. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  304. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right.svg +0 -23
  305. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +0 -24
  306. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +0 -15
  307. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +0 -3
  308. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js +0 -391
  309. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js +0 -57
  310. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +0 -57
  311. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +0 -143
  312. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +0 -52
  313. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +0 -10716
  314. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +0 -333
  315. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark.css +0 -426
  316. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +0 -46
  317. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +0 -53
  318. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +0 -336
  319. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +0 -338
  320. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light.css +0 -414
  321. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +0 -42
  322. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/App.vue +0 -70
  323. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +0 -22
  324. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +0 -5
  325. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +0 -36
  326. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +0 -402
  327. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +0 -43
  328. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +0 -88
  329. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/index.scss +0 -1358
  330. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +0 -16
  331. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +0 -113
  332. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/login.scss +0 -335
  333. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +0 -297
  334. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +0 -199
  335. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/style.css +0 -921
  336. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +0 -147
  337. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +0 -39
  338. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  339. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  340. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  341. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +0 -122
  342. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +0 -118
  343. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +0 -109
  344. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +0 -42
  345. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +0 -134
  346. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +0 -128
  347. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +0 -138
  348. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +0 -4
  349. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +0 -223
  350. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +0 -14
  351. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/hostMap.js +0 -18
  352. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/main.js +0 -39
  353. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +0 -87
  354. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js +0 -95
  355. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api.js +0 -13
  356. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/router.js +0 -48
  357. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/types.js +0 -16
  358. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js +0 -25
  359. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/isApp.js +0 -18
  360. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/language.js +0 -45
  361. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/myUtils.js +0 -646
  362. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +0 -23
  363. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +0 -27
  364. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +0 -374
  365. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +0 -202
  366. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/login.vue +0 -458
  367. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +0 -230
  368. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +0 -58
  369. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/vite.config.ts +0 -237
  370. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.babelrc +0 -8
  371. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.editorconfig +0 -22
  372. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.development +0 -22
  373. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.production +0 -22
  374. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.test +0 -22
  375. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintignore +0 -13
  376. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintrc.cjs +0 -162
  377. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierignore +0 -13
  378. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierrc.cjs +0 -37
  379. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/auto-imports.d.ts +0 -5
  380. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/enteryJson.js +0 -64
  381. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +0 -15
  382. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +0 -38
  383. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +0 -14
  384. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +0 -595
  385. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/env.d.ts +0 -7
  386. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/index.html +0 -25
  387. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/package.json +0 -94
  388. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +0 -1
  389. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +0 -16957
  390. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +0 -114
  391. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +0 -1135
  392. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +0 -1
  393. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +0 -1969
  394. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
  395. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
  396. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
  397. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  398. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  399. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +0 -3535
  400. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +0 -1
  401. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +0 -6169
  402. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  403. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  404. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  405. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +0 -372
  406. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
  407. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +0 -3
  408. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/font.js +0 -58
  409. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +0 -58
  410. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +0 -142
  411. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +0 -51
  412. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +0 -430
  413. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +0 -48
  414. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +0 -424
  415. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +0 -42
  416. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/App.vue +0 -41
  417. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  418. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/hostMap.js +0 -14
  419. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/main.js +0 -39
  420. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api/template.js +0 -11
  421. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api.js +0 -9
  422. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/router.js +0 -23
  423. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/utils/setStorage.js +0 -5
  424. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/views/template.vue +0 -49
  425. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.json +0 -21
  426. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.node.json +0 -10
  427. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/vite.config.ts +0 -240
  428. package/ganwei-iotcenter-index-6.2.0/pnpm-workspace.yaml +0 -3
@@ -1,325 +0,0 @@
1
- import Signalr from './gwSignalr.js';
2
-
3
- export default class equipCache {
4
- constructor() {
5
- this.eGroupNotify = new Signalr('/eGroupNotify', '', '', true);
6
- this.alreadyUpdate = {}
7
- }
8
- init () {
9
- // 打开signalr链接
10
- this.eGroupNotify.openConnect().then((rt) => {
11
- // 分组推送--start
12
- // 通知后台需要推送分组结构
13
- try {
14
- rt.invoke('GetEquipGroupTree');
15
- // 通知后台推送全量分组
16
- rt.invoke('GetAllEquipGroupTree')
17
- } catch (error) {
18
- console.log(error)
19
- }
20
- // 获取分组结构
21
- this.subscribeTo(rt, 'GetEquipGroupTree')
22
- // 新增分组
23
- this.subscribeTo(rt, 'AddEquipGroup')
24
- // 编辑分组
25
- this.subscribeTo(rt, 'EditEquipGroup')
26
- // 删除分组
27
- this.subscribeTo(rt, 'DeleteEquipGroup')
28
- // 分组推送--end
29
- // 设备推送--start
30
- // 通知后台需要推送分组结构
31
- try {
32
- rt.invoke('GetGroupEquips');
33
- } catch (error) {
34
- console.log(error)
35
- }
36
- // 订阅设备推送
37
- this.subscribeTo(rt, 'GetGroupEquips')
38
- // 订阅分组结构推送
39
- this.subscribeTo(rt, 'AddEquip')
40
- // 订阅分组结构推送
41
- this.subscribeTo(rt, 'DeleteEquip')
42
- // 订阅分组结构推送
43
- this.subscribeTo(rt, 'EditEquip')
44
- this.subscribeTo(rt, 'moveEquips')
45
- // 获取全量分组
46
- this.subscribeTo(rt, 'GetAllEquipGroupTree')
47
- // 设备推送--end
48
- rt.onclose((err) => {
49
- try {
50
- rt.invoke('reconnect')
51
- } catch (error) {
52
- console.log(error)
53
- }
54
- console.log('重连', err);
55
- });
56
-
57
- }).catch((e) => {
58
- console.error(e)
59
- });
60
- }
61
- subscribeTo (signalr, func) {
62
- signalr.off(func)
63
- signalr.on(func, res => {
64
- if (res && res.isSuccess) {
65
- if (this[func]) {
66
- this[func](res.data)
67
- } else {
68
- this.notice({ func, data: res.data, key: res.groupId })
69
- }
70
- }
71
- })
72
- }
73
- // 获取分组---无权限管理的分组列表--空设备分组不展示
74
- GetEquipGroupTree (data) {
75
- window.top.groupList = data
76
- this.notice({ type: 'GetEquipGroupTree' })
77
- }
78
- // 获取全量分组---设备管理使用
79
- GetAllEquipGroupTree (data) {
80
- window.top.groupList_manageMent = data
81
- this.notice({ type: 'GetEquipGroupTree' })
82
- }
83
- // 新增分组
84
- AddEquipGroup (data) {
85
- const { parentGroupId, groupId, groupName } = data || {}
86
- if (groupId) {
87
- if (!window.top.groupList_manageMent) {
88
- window.top.groupList_manageMent = []
89
- }
90
- window.top.groupList_manageMent.push({
91
- parentId: parentGroupId,
92
- id: groupId,
93
- name: groupName,
94
- equipCount: 0
95
- })
96
- this.notice({ type: 'AddEquipGroup', data })
97
- }
98
- }
99
- // 编辑分组
100
- EditEquipGroup (data) {
101
- // 更新window缓存
102
- const { groupId, groupName } = data
103
- if (window.top.groupList) {
104
- window.groupList.forEach(item => {
105
- if (item.id == groupId) {
106
- item.name = groupName
107
- }
108
- })
109
- }
110
- if (window.top.groupList_manageMent) {
111
- window.groupList_manageMent.forEach(item => {
112
- if (item.id == groupId) {
113
- item.name = groupName
114
- }
115
- })
116
- }
117
- this.notice({ type: 'EditEquipGroup', data })
118
- }
119
- deleteChildGroup (parentId, list) {
120
- let deleteGroups = []
121
- list.forEach(item => {
122
- if (item.parentId == parentId) {
123
- deleteGroups.push(item.id)
124
- }
125
- })
126
- deleteGroups.forEach(groupId => {
127
- let index = list.findIndex(item => item.id == groupId)
128
- index > -1 && list.splice(index, 1)
129
- this.deleteChildGroup(groupId, list)
130
- })
131
- }
132
- // 删除分组
133
- DeleteEquipGroup (data) {
134
- data.forEach(group => {
135
- if (window.top.groupList) {
136
- let index = window.top.groupList.findIndex(item => item.id == group.groupId)
137
- index > -1 && window.top.groupList.splice(index, 1)
138
- this.deleteChildGroup(group.groupId, window.top.groupList)
139
- }
140
- if (window.top.groupList_manageMent) {
141
- let index = window.top.groupList_manageMent.findIndex(item => item.id == group.groupId)
142
- index > -1 && window.top.groupList_manageMent.splice(index, 1)
143
- this.deleteChildGroup(group.groupId, window.top.groupList_manageMent)
144
- }
145
- })
146
- this.notice({ type: 'DeleteEquipGroup', data })
147
- }
148
- // 获取设备
149
- GetGroupEquips (data) {
150
- const { groupId, equips } = data || {}
151
- if (!window.top.groupCache) {
152
- window.top.groupCache = {}
153
- }
154
- window.top.groupCache[groupId] = {}
155
- if (!this.alreadyUpdate[groupId]) {
156
- if (groupId && equips && equips instanceof Array) {
157
- equips.forEach(item => {
158
- item.title = item.name
159
- item.groupId = groupId
160
- item.equipNo = item.id
161
- delete item.name
162
-
163
- if (!window.equipCache) {
164
- window.top.equipCache = {}
165
- }
166
- // 找分组,设备编辑需要用到
167
- window.top.equipCache[item.id] = item
168
-
169
- // 设备状态需要用到
170
- window.top.groupCache[groupId][item.id] = item
171
- })
172
-
173
- window.top[`group-${groupId}`] = equips
174
- this.notice({ type: 'GetGroupEquips', data: { groupId: groupId } })
175
- this.alreadyUpdate[groupId] = true
176
- }
177
- }
178
- }
179
- // 新增设备
180
- AddEquip (data) {
181
- const { groupId, equips } = data || {}
182
- if (!window.top[`group-${groupId}`]) {
183
- window.top[`group-${groupId}`] = []
184
- }
185
- if (!window.top.groupCache) {
186
- window.top.groupCache = {}
187
- }
188
- if (!window.top.groupCache[groupId]) {
189
- window.top.groupCache[groupId] = {}
190
- }
191
- if (!window.top.equipCache) {
192
- window.top.equipCache = {}
193
- }
194
- let length = window.top[`group-${groupId}`].length
195
- if (groupId && equips) {
196
- equips.forEach((equip, index) => {
197
- window.top[`group-${groupId}`].push(
198
- {
199
- equipNo: equip.id,
200
- groupId: groupId,
201
- id: equip.id,
202
- title: equip.name
203
- }
204
- )
205
-
206
- // 找分组,设备编辑需要用到
207
- window.top.equipCache[equip.id] = window.top[`group-${groupId}`][length + index]
208
-
209
- // 设备状态需要用到
210
- window.top.groupCache[groupId][equip.id] = window.top[`group-${groupId}`][length + index]
211
- })
212
-
213
- if (!this.exist(groupId, window.top.groupList)) {
214
- let list = this.findParentList(groupId, window.top.groupList_manageMent)
215
- window.top.groupList.push(...list)
216
- }
217
- this.notice({ type: 'AddEquip', data })
218
- }
219
- }
220
- moveEquips (data) {
221
- // 统计需要更新的分组Id
222
- let updateGroups = []
223
- let buildTree = true
224
- let needAddToGroupList = []
225
- const { sourceGroup, targetGroupId } = data || {}
226
- targetGroupId && updateGroups.push(targetGroupId)
227
- sourceGroup.forEach(group => {
228
- updateGroups.push(group.groupId)
229
- if (!window.top[`group-${targetGroupId}`] || !window.top[`group-${targetGroupId}`].length) {
230
- window.top[`group-${targetGroupId}`] = []
231
- needAddToGroupList.push(targetGroupId)
232
- }
233
- if (!window.top.groupCache) {
234
- window.top.groupCache = {}
235
- }
236
- if (!window.top.groupCache[targetGroupId]) {
237
- window.top.groupCache[targetGroupId] = {}
238
- }
239
- group.equips.forEach(equip => {
240
- equip.title = equip.name
241
- equip.groupId = targetGroupId
242
- equip.equipNo = equip.id
243
-
244
- if (window.top[`group-${group.groupId}`]) {
245
- let index = window.top[`group-${group.groupId}`].findIndex(item => item.id == equip.id)
246
- index > -1 && window.top[`group-${group.groupId}`].splice(index, 1)
247
- }
248
-
249
- if (!window.equipCache) {
250
- window.top.equipCache = {}
251
- }
252
- // 找分组,设备编辑需要用到
253
- window.top.equipCache[equip.id] = equip
254
- // 设备状态需要用到
255
- window.top.groupCache[targetGroupId][equip.id] = equip
256
- window.top[`group-${targetGroupId}`].push(equip)
257
- })
258
- if (!window.top[`group-${group.groupId}`].length) {
259
- let index = window.top.groupList.findIndex(item => item.id == group.groupId)
260
- index > -1 && window.top.groupList.splice(index, 1)
261
- this.deleteChildGroup(group.groupId, window.top.groupList)
262
- }
263
- })
264
- needAddToGroupList.forEach(groupId => {
265
- if (!this.exist(groupId, window.top.groupList)) {
266
- let list = this.findParentList(groupId, window.top.groupList_manageMent)
267
- window.top.groupList.push(...list)
268
- }
269
- })
270
- this.notice({ type: 'moveEquips', data: { updateGroups, buildTree } })
271
- }
272
- exist (key, list) {
273
- if (list) {
274
- return list.some(item => item.id == key)
275
- }
276
- return false
277
- }
278
- findParentList (groupId, list) {
279
- let parentList = []
280
- if (list) {
281
- let index = list.findIndex(group => group.id == groupId)
282
- if (index > -1) {
283
- parentList.push({ ...list[index] })
284
- }
285
- if (list[index].parentId && !this.exist(list[index].parentId, window.top.groupList)) {
286
- parentList.push(...this.findParentList(list[index].parentId, window.top.groupList_manageMent))
287
- }
288
- }
289
- return parentList
290
- }
291
- // 删除设备
292
- DeleteEquip (data) {
293
- const { groupId, equips } = data || {}
294
- if (groupId && equips && equips instanceof Array) {
295
- if (window.top[`group-${groupId}`]) {
296
- for (let i = 0, length = equips.length; i < length; i++) {
297
- let index = window.top[`group-${groupId}`].findIndex(item => item.id == equips[i].id)
298
- index > -1 && window.top[`group-${groupId}`].splice(index, 1)
299
- //删除引用
300
- delete window.top.equipCache[equips[i].id]
301
- delete window.top.groupCache[groupId][equips[i].id]
302
- }
303
- }
304
- this.notice({ type: 'DeleteEquip', data })
305
- }
306
- }
307
- // 编辑设备
308
- EditEquip (data) {
309
- const { equipNo, groupId, equipName } = data || {}
310
- if (groupId && equipNo) {
311
- if (window[`group-${groupId}`]) {
312
- window.top.equipCache[equipNo] = equipName
313
- }
314
- this.notice({ type: 'EditEquip', data })
315
- }
316
- }
317
- notice (data) {
318
- // 下发通知
319
- let iframe = document.getElementsByTagName('iframe');
320
- for (let item of iframe) {
321
- console.log(item)
322
- item.contentWindow.postMessage(data);
323
- }
324
- }
325
- }
@@ -1,66 +0,0 @@
1
- import * as signalR from '@aspnet/signalr';
2
-
3
- export default class Signalr {
4
- constructor(path, connectionId, equipNo, reconnect) {
5
- this.url = path;
6
- this.connectionId = connectionId;
7
- this.equipNo = equipNo;
8
- this.signalr = null;
9
- this.reconnect = reconnect
10
- }
11
-
12
- openConnect () {
13
-
14
- // 停止连接
15
- if (this.signalr) {
16
- this.signalr.stop();
17
- this.signalr = null;
18
- }
19
-
20
- // 连接
21
- this.signalr = new signalR.HubConnectionBuilder()
22
- .withUrl(this.url)
23
- .build();
24
-
25
- // 停止监听
26
- this.signalr.onclose((err) => {
27
- if (this.reconnect) {
28
- try {
29
- this.signalr.invoke('reconnect')
30
- } catch (error) {
31
- console.log(error)
32
- }
33
- }
34
- // this.openConnect()
35
- console.log('onclose', err);
36
- });
37
-
38
- this.signalr.serverTimeoutInMilliseconds = 500000000;
39
- this.signalr.keepaliveintervalinmilliseconds = 500000000
40
-
41
- return new Promise((resolve, reject) => {
42
- this.signalr
43
- .start() // 启动连接
44
- .then(() => {
45
- if (this.connectionId) {
46
- this.send();
47
- }
48
-
49
- resolve(this.signalr);
50
- })
51
- .catch((e) => {
52
- console.log(e);
53
- reject(e);
54
- });
55
- });
56
- }
57
-
58
- async send () { // 发送请求
59
- try {
60
- await this.signalr.invoke(this.connectionId, this.equipNo);
61
- } catch (error) {
62
- console.log('connectHub 连接失败' + error);
63
- }
64
- }
65
-
66
- }
@@ -1,158 +0,0 @@
1
- import * as signalR from '@aspnet/signalr';
2
- export default {
3
- data () {
4
- return {
5
- exportSignalrConnection: null,
6
- haveDataDwonload: false,
7
- exportTimer: null,
8
- exportTimes: 0,
9
- alreadyExport: true,
10
- getExportCommand: false
11
- }
12
- },
13
- mounted () {
14
- // let that = this
15
- // window.onmessage = function (e) {
16
- // that.curveSignalR(e)
17
- // }
18
- },
19
- methods: {
20
- getCommand (existIframe) {
21
- if (existIframe) {
22
- this.getExportCommand = true;
23
- if (document.getElementById('jumpIframe')) {
24
- document.getElementById('jumpIframe').contentWindow.postMessage({ getExportCommand: true }, '*')
25
- } else {
26
- let arr = Array.from(document.getElementsByTagName('iframe'));
27
- arr.forEach(item => {
28
- item.contentWindow.postMessage({ getExportCommand: true }, '*')
29
- })
30
- }
31
- }
32
- },
33
-
34
- // existIframe:是否有外框
35
- curveSignalR (e, existIframe) {
36
- if (e.data.openCurveLink) {
37
- this.getCommand(existIframe);
38
- if (!this.haveDataDwonload) {
39
- if (this.exportSignalrConnection) {
40
- this.exportSignalrConnection.stop()
41
- }
42
- this.exportSignalrConnection = null;
43
- this.exportSignalrConnection = new signalR.HubConnectionBuilder()
44
- .withUrl('/downFileNotify', {})
45
- .build();
46
- this.exportSignalrConnection.start().then(() => { console.log('链接成功'); }).catch(function (ex) {
47
- console.log('connectHub 连接失败' + ex);
48
- });
49
- window.clearInterval(this.exportTimer);
50
- this.exportTimer = null;
51
-
52
- // 判断连接状态
53
- this.exportSignalrConnection.off('connectionSucceeded');
54
- this.exportSignalrConnection.on('connectionSucceeded', (res) => {
55
- if (res) {
56
- this.exportCurves(window.top.exportData);
57
- }
58
- })
59
-
60
- this.exportSignalrConnection.off('downloadUrl');
61
- this.exportSignalrConnection.on('downloadUrl', res => {
62
- if (res) {
63
- sessionStorage.getDownloadStatus = 'true'
64
- if (this.exportTimes && Number(this.exportTimes) > 7) {
65
- this.$message.warning(this.$t('publics.warnings.readyToExport'));
66
- setTimeout(() => {
67
- let link = document.createElement('a');
68
- link.style.display = 'none';
69
- link.href = res;
70
- link.target = 'blank'
71
- document.body.appendChild(link);
72
- link.click();
73
- this.haveDataDwonload = false;
74
- if (this.exportSignalrConnection) {
75
-
76
- this.exportSignalrConnection.stop()
77
- }
78
- this.exportSignalrConnection = null
79
- this.getExportCommand = false
80
-
81
- }, 2000);
82
- this.alreadyExport = true
83
- } else {
84
- let link = document.createElement('a');
85
- link.style.display = 'none';
86
- link.target = 'blank'
87
- link.href = res;
88
- document.body.appendChild(link);
89
- link.click();
90
- this.haveDataDwonload = false
91
- this.alreadyExport = true
92
- if (this.exportSignalrConnection) {
93
-
94
- this.exportSignalrConnection.stop()
95
- }
96
- this.exportSignalrConnection = null
97
- this.getExportCommand = false
98
- }
99
-
100
- if (!existIframe) {
101
- this.exportCurveLoading = false
102
- } else {
103
- if (document.getElementById('jumpIframe')) {
104
- document.getElementById('jumpIframe').contentWindow.postMessage({ exportYes: true }, '*')
105
- } else {
106
- let arr = Array.from(document.getElementsByTagName('iframe'));
107
- arr.forEach(item => {
108
- item.contentWindow.postMessage({ exportYes: true }, '*')
109
- })
110
- }
111
- }
112
- window.clearInterval(this.exportTimer);
113
- this.exportTimer = null;
114
- this.exportTimes = 0;
115
-
116
- }
117
- });
118
-
119
- this.exportSignalrConnection.off('downloadError');
120
- this.exportSignalrConnection.on('downloadError', res => {
121
- if (res) {
122
- this.$message.warning(res);
123
- sessionStorage.getDownloadStatus = 'error'
124
- }
125
- });
126
- }
127
- // else {
128
- // this.$message.warning(this.$t('login.framePro.tips.historyData'))
129
- // }
130
-
131
- }
132
- },
133
- exportCurves (data) {
134
- this.$api.exportCurve(data).then(res => {
135
- if (res.data.code === 200) {
136
- this.alreadyExport = false
137
- this.haveDataDwonload = true;
138
- if (this.exportTimer) {
139
- window.clearInterval(this.exportTimer);
140
- this.exportTimer = null;
141
- }
142
- this.exportTimer = setInterval(() => {
143
- this.exportTimes = Number(this.exportTimes) + 1;
144
- if (this.exportTimes == 5 && this.$route.path.indexOf('equipListsIot') != -1 && !this.alreadyExport) {
145
- this.$message.warning(this.$t('publics.warnings.processing'));
146
- }
147
- }, 1000);
148
-
149
- } else {
150
- this.$message.error(res.data.message, res)
151
- }
152
- }).catch(err => {
153
- this.$message.error(err.data, err)
154
- console.log(err);
155
- })
156
- }
157
- },
158
- }
@@ -1,5 +0,0 @@
1
- export const setTheme = (theme) => {
2
- localStorage.setItem('theme', theme);
3
- sessionStorage.setItem('theme', theme);
4
- window.document.documentElement.setAttribute('data-theme', theme)
5
- }
@@ -1,81 +0,0 @@
1
- <template>
2
- <el-container id="index" :class="{ onlyContent: onlyContent, isHideMenu: isHideMenu, isHideHead: isHideHead }">
3
- <div class="topIndexHeader"></div>
4
- <!-- 左侧区域 -->
5
- <indexLeftContent :navTopActive="navTopActive" :loading="loading" :allMenus="allMenus" />
6
-
7
- <!-- 右侧区域 -->
8
- <indexRightContent v-model="navTopActive" :allMenus="allMenus"
9
- v-show="Object.keys(routesToPackageId).length > 0" />
10
-
11
- </el-container>
12
- </template>
13
-
14
- <script>
15
- import index from "./index.js"
16
- export default index;
17
- </script>
18
-
19
- <style lang="scss" scoped>
20
- #index {
21
- background-color: var(--frame-main-background) !important;
22
-
23
- .el-icon svg {
24
- height: 1em;
25
- width: 1em;
26
- }
27
-
28
- ::v-deep .el-dialog {
29
- .el-dialog__body {
30
- padding: 0px 20px;
31
- }
32
- }
33
-
34
- ::v-deep .el-menu {
35
- will-change: transform;
36
-
37
- .el-sub-menu .el-menu-item {
38
- height: 44px !important;
39
- line-height: 44px !important;
40
- transition: background-color 0.2s;
41
- }
42
- }
43
-
44
- height: 100%;
45
-
46
- // 主内容
47
- >.el-container {
48
- flex: 1;
49
-
50
- // 面包屑导航
51
- .breadcrumb {
52
- width: 100%;
53
- height: 48px;
54
- padding-left: 16px;
55
- background-color: var(--frame-main-background-1);
56
-
57
- >div {
58
- height: 100%;
59
- line-height: 48px;
60
- font-size: 14px;
61
- }
62
-
63
- ::v-deep .el-breadcrumb {
64
-
65
- .is-link,
66
- span {
67
- font-weight: 500;
68
- color: var(--frame-main-color);
69
- }
70
- }
71
- }
72
-
73
- // 页面内容组件
74
- .el-main {
75
- padding: 0;
76
- height: 100%;
77
- position: relative;
78
- }
79
- }
80
- }
81
- </style>