@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,458 +0,0 @@
1
- <template>
2
- <div class="login" v-cloak>
3
- <div class="backgroundImage">
4
- <img :src="homeBgImg" alt="" :class="{ invisible: !homeBgImg }" @error="showBgImg" v-if="homeBgImg"/>
5
- </div>
6
- <el-select v-if="showLangSelect" v-model="languageSelected" @change="langChange" class="languageSelect">
7
- <template v-slot:prefix>
8
- <i class="iconfont icon-gw-icon-diqiu"></i>
9
- </template>
10
- <el-option v-for="(item, index) in langOptions" :label="item.name" :value="item.value" :key="index">
11
- </el-option>
12
- </el-select>
13
- <section class="main" >
14
- <aside class="login_form">
15
- <div class="logo">
16
- <img :src="mainImg" alt="" :class="{ invisible: !mainImg }" @error="showImg" />
17
- </div>
18
- <el-form ref="loginForm" :model="form" label-width="0px" :rules="rules">
19
- <el-form-item prop="userName">
20
- <el-input v-model="form.userName" @keyup.enter.native="showSlideCode"
21
- :placeholder="txtTips[0]" autocomplete="off" clearable>
22
- <template #prefix>
23
- <i class="iconfont icon-denglu_zhanghu"></i>
24
- </template>
25
- </el-input>
26
- </el-form-item>
27
- <el-form-item prop="userPwd">
28
- <el-input type="password" v-model="form.userPwd" @keyup.enter.native="showSlideCode"
29
- :placeholder="txtTips[1]" autocomplete="off">
30
- <template #prefix>
31
- <i class="iconfont icon-denglu_mima"></i>
32
- </template>
33
- <template #suffix>
34
- <showPassword :userPwd="form.userPwd"></showPassword>
35
- </template>
36
- </el-input>
37
- </el-form-item>
38
- <el-form-item v-if="!IsIgnoreFalidateCode && verificationType != 1" prop="verificationCode">
39
- <div class="verificationCode">
40
- <el-input v-model="form.verificationCode" @keyup.enter.native="login"
41
- :placeholder="txtTips[2]" autocomplete="off" clearable>
42
- <template #prefix>
43
- <i class="iconfont icon-denglu_yanzhengma"></i>
44
- </template>
45
- </el-input>
46
- <span class="codeLoading" v-loading="errorLoading">
47
- <img id="code_img" @click="drawCode()" />
48
- </span>
49
- </div>
50
- </el-form-item>
51
-
52
- <!-- 忘记密码功能暂时注释
53
- <div class="loginExtend">
54
- <el-button class="loginExtendButton" @click="forgotPassworrd">{{ txtTips[10] }}?</el-button>
55
- </div>
56
- -->
57
- </el-form>
58
- <el-button type="primary" class="submit" :disabled="loading" @click.stop="showSlideCode">
59
- <span v-if="loading && !isLogin">{{ txtTips[3] }}</span>
60
- <span v-if="isLogin && !loading">{{ txtTips[4] }}</span>
61
- <span v-if="!isLogin && !loading">{{ txtTips[5] }}</span>
62
- </el-button>
63
- </aside>
64
- </section>
65
- <declaration v-if="showDeclare" @agree="agree" />
66
- <passwordModification :passwordDialogVisible="passwordDialogVisible" @closePassword="closePassword" />
67
- </div>
68
- </template>
69
-
70
- <script>
71
- import declaration from '@/components/declaration/declaration.vue'
72
- import passwordModification from '@/components/passwordModification/passwordModification.vue'
73
- import { useI18n } from 'vue-i18n'
74
- import showPassword from '@ganwei-web/gw-base-components-plus/showPassword/dist/index.es.js'
75
- export default {
76
- components: {
77
- declaration,
78
- passwordModification,
79
- showPassword
80
- },
81
- data () {
82
- return {
83
- form: {
84
- userName: '',
85
- userPwd: '',
86
- verificationCode: '',
87
- verificationKey: '',
88
- },
89
- verificationType: 1,
90
- isLogin: false,
91
- langOptions: [],
92
- IsIgnoreFalidateCode: true,
93
- loading: false,
94
- showDeclare: false,
95
- mainImg: '',
96
- homeBgImg: '',
97
- errorLoading: true,
98
- showMaintain: false,
99
- showLangSelect: false,
100
- languageSelected: '',
101
- outerHeight: '',
102
- loginFormHeight: '',
103
- i18nInstance: null,
104
- defaultTheme: '',
105
- txtTips: [],
106
- passwordDialogVisible: false
107
- }
108
- },
109
-
110
- watch: {
111
- txtTips (val) {
112
- setTimeout(() => {
113
- if (this.$refs.loginForm) {
114
- this.$refs.loginForm.clearValidate()
115
- }
116
- }, 50)
117
- }
118
- },
119
-
120
- computed: {
121
- rules () {
122
- return {
123
- userName: [
124
- { required: true, message: this.txtTips[7], trigger: 'blur' },
125
- ],
126
- userPwd: [
127
- { required: true, message: this.txtTips[8], trigger: 'blur' },
128
- ],
129
- verificationCode: [
130
- { required: true, message: this.txtTips[9], trigger: 'blur' },
131
- ],
132
- }
133
- }
134
- },
135
-
136
- created () {
137
- this.loginCreated()
138
- //this.mainImg = sessionStorage.mainImg
139
- this.langOptions = localStorage.langOptions ? JSON.parse(localStorage.langOptions) : []
140
- this.languageSelected = localStorage.languageType
141
- this.i18nInstance = useI18n()
142
- this.initTxtTips()
143
- },
144
- mounted () {
145
- window.showSlideCode = this.showSlideCode.bind(this)
146
- window.slideCodeLogin = this.slideCodeLogin.bind(this)
147
- },
148
- methods: {
149
- initTxtTips(){
150
- this.txtTips = [
151
- this.$t('login.input.inputAccount'),
152
- this.$t('login.input.inputPassword'),
153
- this.$t('login.input.inputCode'),
154
- this.$t('login.button.logining'),
155
- this.$t('login.button.enterSystem'),
156
- this.$t('login.button.loginNow'),
157
- this.$t('login.button.updateLisens'),
158
- this.$t('login.tips.ACTCantBeNull'),
159
- this.$t('login.tips.PWDCantBeNull'),
160
- this.$t('login.tips.codeCantBeNull'),
161
- this.$t('login.button.forgotPassword')
162
- ]
163
- },
164
- getImageUrlWithoutAuth(originUrl, imageCode) {
165
- // 静态文件路径
166
- if(originUrl.startsWith('/static/images')) {
167
- return originUrl
168
- }
169
-
170
- // 上传图片路径
171
- if(originUrl.startsWith('/file/')) {
172
- return `/IoT/api/v3/FrontConfiguration/DownloadImage?subject=${imageCode}&fileDir=${originUrl}`
173
- }
174
- return ''
175
- },
176
- async loginCreated () {
177
- sessionStorage.removeItem('configInfoData')
178
- if (window.top.getConfigInfoData) {
179
- await window.top.getConfigInfoData().then(webConfig => {
180
- this.defaultTheme = webConfig?.theme?.default || "dark"
181
- this.showLangSelect = webConfig?.showLangSelect // 默认选项
182
- this.mainImg = this.getImageUrlWithoutAuth(webConfig?.img?.loginImg, "loginImg")
183
- this.homeBgImg = this.getImageUrlWithoutAuth(webConfig?.img?.loginBgImg || "/static/images/login-bg-img.png", 'loginBgImg')
184
- sessionStorage.setItem("bgImg", this.homeBgImg)
185
- this.verificationType = (webConfig?.verificationType) ? 1 : 0
186
- }).catch((err) => {
187
- console.log(err)
188
- })
189
- }
190
- // 验证码配置
191
- this.$api
192
- .IsIgnoreFalidateCode()
193
- .then(res => {
194
- const { code, data, message } = res?.data || {}
195
- if (code === 200) {
196
- this.IsIgnoreFalidateCode = data || false
197
- if (!this.IsIgnoreFalidateCode) {
198
- this.drawCode()
199
- this.outerHeight = 518
200
- this.loginFormHeight = 518
201
- }
202
- } else {
203
- this.$message.error(message)
204
- }
205
- })
206
- .catch(err => {
207
- this.$message.error(err?.data, err)
208
- })
209
-
210
- },
211
- async langChange (val) {
212
- // 语言切换
213
- try {
214
- localStorage.languageType = sessionStorage.languageType = val
215
- await window.getLanguage('ganwei-iotcenter-login', 'login', 'Ganweisoft.IoTCenter.Module.Login', this)
216
- sessionStorage.haveSetLanguageType = true
217
- this.initTxtTips()
218
- } catch (error) {
219
- console.log(error)
220
- }
221
- },
222
- drawCode () {
223
- if (this.IsIgnoreFalidateCode || this.verificationType == 1) {
224
- return;
225
- }
226
- this.form.verificationCode = ''
227
- this.errorLoading = true
228
- this.$api
229
- .getVerificationCode()
230
- .then(res => {
231
- const { code, data, message } = res?.data || {}
232
- if (code == 200) {
233
- let image = document.getElementById('code_img')
234
- this.form.verificationKey = data?.verificationKey || ''
235
- if (image) {
236
- image.src = data?.verificationCode || ''
237
- }
238
- this.errorLoading = false
239
- } else {
240
- this.$message.error(message)
241
- }
242
-
243
- })
244
- .catch(err => {
245
- this.$message.error(err?.data, err)
246
- })
247
- },
248
-
249
- // 提示
250
- info (type, msg) {
251
- this.$message({
252
- title: msg,
253
- type: type
254
- })
255
- },
256
- login () {
257
- // 登录操作
258
- this.$refs.loginForm.validate(async valid => {
259
- if (valid) {
260
- this.form.userName = this.form.userName.trim()
261
- this.form.userPwd = this.form.userPwd.trim()
262
- this.loading = true
263
- this.$message.closeAll()
264
- let name = this.form.userName + "|" + this.myUtils.getCurrentDate(2, '-')
265
- this.$api
266
- .login({
267
- userName: await this.$getCode.RSAEncrypt(name),
268
- password: await this.$getCode.RSAEncrypt(this.form.userPwd),
269
- verificationKey: this.form.verificationKey,
270
- verificationCode: this.verificationType == 1 ? this.form.verificationCode : this.form.verificationCode?.toUpperCase()?.replace(/(^\s*)|(\s*$)/g, ''),
271
- TimeZone: Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone || 'Asia/Shanghai',
272
- verificationType: this.verificationType
273
- })
274
- .then(res => {
275
- const { code, data, message } = res?.data || {}
276
- if (code == 200) {
277
- this.isLogin = true
278
- this.loginData = data || {}
279
- window.localStorage.setItem('multiPark', this.loginData.multiPark || false)
280
- window.sessionStorage.setItem('CSRF_TOKEN', this.loginData.token || '')
281
- if (!data?.userTermsService) {
282
- this.showDeclare = true
283
- } else {
284
- if(this.verificationType == 1 && !this.IsIgnoreFalidateCode) {
285
- window.slideAuthSuccess()
286
- }
287
- this.afterLogin()
288
- }
289
- } else {
290
- this.isLogin = false
291
- if(!this.IsIgnoreFalidateCode) { // 未关闭验证码
292
- if(this.verificationType == 1) { // 滑块验证码
293
- if(code === 40005 || code === 40001 || code == 400) { // 账号密码错误,关闭弹窗
294
- window.popupHandle("coverUp", "__Verification", "flipInX");
295
- } else {
296
- window.slideAuthError()
297
- }
298
- } else {
299
- this.drawCode()
300
- }
301
- }
302
- this.$message.error(message)
303
- }
304
- })
305
- .catch(err => {
306
- try {
307
- this.$message.error(err.data, err)
308
- } catch (e) {
309
- this.$message.error(this.$t('login.systemError'))
310
- }
311
- if(!this.IsIgnoreFalidateCode) {
312
- if(this.verificationType == 1) {
313
- window.slideAuthError()
314
- } else {
315
- this.drawCode()
316
- }
317
- }
318
- this.isLogin = false
319
- }).finally(() => {
320
- this.loading = false
321
- })
322
- }
323
- })
324
-
325
- },
326
-
327
- // 确认条款
328
- async agree () {
329
- try {
330
- let res = await this.$api.addUserServer()
331
- if (res?.data?.code !== 200) {
332
- this.$message.error(res?.data?.message)
333
- }
334
- } catch (err) {
335
- this.$message.error(err?.data, err)
336
- }
337
- this.afterLogin()
338
- },
339
-
340
- afterLogin () {
341
- let data = this.loginData
342
- window.sessionStorage.userName = this?.form?.userName
343
- let userRetrunInfo = this.filterUserInfo(data?.personReserve)
344
- if(userRetrunInfo?.userTheme) {
345
- sessionStorage.setItem('theme', userRetrunInfo?.userTheme)
346
- } else {
347
- sessionStorage.setItem('theme', this.defaultTheme || "dark")
348
- }
349
- let urlParameter = "?languageType=" + localStorage.languageType + "&userName=" + window.sessionStorage.userName + "&passwordPolicy=" + window.sessionStorage.passwordPolicy + "&theme=" + sessionStorage.getItem('theme') + "&userId=" + window.sessionStorage.userId + "&multiPark=" + window.sessionStorage.multiPark + "&CSRF_TOKEN=" + window.sessionStorage.CSRF_TOKEN
350
- if (data?.passwordPolicy?.passwordPolicy != null) {
351
- window.sessionStorage.removeItem('passwordPolicy')
352
- // 密码规则 0:禁止登录 1:强制修改 2:不限制登录
353
- switch (data.passwordPolicy.passwordPolicy) {
354
- case 0:
355
- this.$message.warning(this.$t('login.tips.PWDOverContactAdmin'))
356
- break
357
- case 1:
358
- window.sessionStorage.passwordPolicy = 1
359
- this.$message.warning(this.$t('login.tips.PWDOverTimelyModify'))
360
- setTimeout(() => {
361
- if (process.env.NODE_ENV === "development") {
362
- window.top.location.href = this.$hostMap('ganwei-iotcenter-index') + urlParameter
363
- } else { window.top.location.href = '/index.html' }
364
- }, 250)
365
- break
366
-
367
- default:
368
- let reminderDaysInAdvance = data.passwordPolicy.reminderDaysInAdvance // 提前多少天提醒
369
- if (reminderDaysInAdvance != null) {
370
- if (reminderDaysInAdvance > 0) {
371
- this.$message.warning(`${this.$t('login.tips.PWDAlso')}${reminderDaysInAdvance}${this.$t('login.tips.dayExpire')}`)
372
- } else if (reminderDaysInAdvance == 0) {
373
- this.$message.warning(this.$t('login.tips.PWDOverTodayModify'))
374
- } else if (reminderDaysInAdvance < 0) {
375
- this.$message.warning(this.$t('login.tips.PWDOverTimelyModify'))
376
- }
377
- } else {
378
- this.$message.success(this.$t('login.tips.loginSuccess'))
379
- }
380
- setTimeout(() => {
381
- if (process.env.NODE_ENV === "development") {
382
- window.top.location.href = this.$hostMap('ganwei-iotcenter-index') + urlParameter
383
- } else { window.top.location.href = '/index.html' }
384
- }, 250)
385
-
386
- break
387
- }
388
- } else {
389
- this.$message.success(this.$t('login.tips.loginSuccess'))
390
- setTimeout(() => {
391
- if (process.env.NODE_ENV === "development") {
392
- window.top.location.href = this.$hostMap('ganwei-iotcenter-index') + urlParameter
393
- } else { window.top.location.href = '/index.html' }
394
- }, 250)
395
- }
396
- },
397
-
398
- showImg () {
399
- if (process.env.NODE_ENV === "development") { this.mainImg = `/static/images/${localStorage.theme == 'dark' ? 'index-logo-src' : 'index-logo-src-light'}.svg` }
400
- },
401
-
402
- showBgImg(){
403
- this.homeBgImg = "/static/images/login-bg-img.png"
404
- },
405
-
406
- filterUserInfo (item) {
407
- let obj = {}
408
- if(Array.isArray(item) && item.length > 0) {
409
- for (let i of item) {
410
- if(i.key && i.value) {
411
- obj[i.key] = i.value
412
- }
413
- }
414
- }
415
- return obj
416
- },
417
-
418
- showSlideCode () {
419
- this.$refs.loginForm.validate(valid => {
420
- if (valid) {
421
- // 滑块验证 且 未关闭验证码
422
- if(this.verificationType == 1 && !this.IsIgnoreFalidateCode) {
423
- // 请完成安全验证 拖动图片验证 验证成功 点击刷新验证码
424
- sessionStorage.setItem('slideTitle', this.$t('login.tips.slideTitle'))
425
- sessionStorage.setItem('slideTipsLabel', this.$t('login.tips.slideTipsLabel'))
426
- sessionStorage.setItem('slideSuccessLabel', this.$t('login.tips.slideSuccessLabel'))
427
- sessionStorage.setItem('slideClickLabel', this.$t('login.tips.slideClickLabel'))
428
- window.changespec("300*200", '/IoT/api/v3/Auth/GetSlideVerificationCode');
429
- } else {
430
- this.login()
431
- }
432
- }
433
- })
434
- },
435
-
436
- slideCodeLogin(point){
437
- this.form.verificationCode = point
438
- this.form.verificationKey = sessionStorage.getItem('verificationKey')
439
- sessionStorage.removeItem('verificationKey')
440
- this.login()
441
- },
442
-
443
- // 忘记密码
444
- forgotPassworrd(){
445
- // 清除邮箱
446
- window.sessionStorage.removeItem("eamilUrl");
447
- this.passwordDialogVisible = true
448
- },
449
-
450
- // 关闭密码弹窗
451
- closePassword(){
452
- this.passwordDialogVisible = false
453
- }
454
-
455
- }
456
- }
457
- </script>
458
- <style lang="scss" src="@/assets/css/login.scss" scoped></style>
@@ -1,230 +0,0 @@
1
- <template>
2
- <div id="ssoLogin" v-loading='loading' loading-type="2">
3
- <div class="error-box" v-show="isError">
4
- <img src="@/assets/images/login-sso-error.png">
5
- <p class="error-txt">{{ errorTxt }}</p>
6
- <el-button type="primary" @click="toBack">{{ $t('login.publics.button.confirm') }}</el-button>
7
- </div>
8
- </div>
9
- </template>
10
- <script>
11
- export default {
12
- data () {
13
- return {
14
- query: {},
15
- urlConfig: null,
16
- loginConfig: null,
17
- loading: true,
18
- isError: false,
19
- errorTxt: ''
20
- }
21
- },
22
- mounted () {
23
- this.getSsoConfig();
24
- },
25
- methods: {
26
- getSsoConfig () {
27
- if (window.getConfigInfoData) {
28
- window.getConfigInfoData().then(webConfig => {
29
- if (!this.$route.params.appid) {
30
- this.urlConfig = webConfig?.ssoConfig?.default?.ssoUrl
31
- this.loginConfig = webConfig?.ssoConfig?.default?.ssoLogin;
32
- } else {
33
- this.urlConfig = webConfig?.ssoConfig[this.$route.params.appid]?.ssoUrl
34
- this.loginConfig = webConfig?.ssoConfig[this.$route.params.appid]?.ssoLogin;
35
- }
36
- this.ssoLogin()
37
- })
38
- }
39
- },
40
-
41
- async ssoLogin () {
42
- if (this.$route.query) {
43
- this.query = this.$route.query;
44
- let query = window.location.hash.split('?')[1];
45
- if (query && this.query.url) {
46
- this.query.url = new URLSearchParams(query).get('url');
47
- }
48
- if (window.location.search) {
49
- let search = window.location.search.split('?')[1];
50
- let searchObj = new URLSearchParams(search)
51
- for (let i of searchObj.keys()) {
52
- this.query[i] = searchObj.get(i);
53
- }
54
- }
55
- }
56
-
57
- if (JSON.stringify(this.query) == '{}') {
58
- // 判断是否需要进行重定向
59
- if (this.urlConfig.method == 'redirect') {
60
- // 判断参数是否被加到#之前,是的话重定向地址
61
- if (window.location.search) {
62
- let str = window.location.origin + window.location.pathname + window.location.hash + window.location.search
63
- window.location.href = str;
64
- } else {
65
- window.location.href = this.urlConfig.api;
66
- }
67
- } else {
68
-
69
- // 调用获取重定向地址接口
70
- this.ssoUrlApi(this.urlConfig.api, this.urlConfig.method).then(res => {
71
- if (res.data.code == 200) {
72
- let data = res.data.data;
73
- let { requestUrl, ...queryData } = data;
74
- let url = `${data.requestUrl}?`
75
- Object.keys(queryData).forEach((item, index) => {
76
- if (index > 0) {
77
- url += '&'
78
- }
79
- console.log(item, this.camel2UnderLine(item));
80
- url += `${this.camel2UnderLine(item)}=${queryData[item]}`
81
- })
82
- url = url.replace(/\#/g, '%23');
83
-
84
- window.location.href = url;
85
- } else {
86
- this.isError = true;
87
- this.errorTxt = res.data.message;
88
- }
89
- this.loading = false;
90
- }).catch(er => {
91
- this.isError = true;
92
- this.loading = false;
93
- })
94
- }
95
- } else {
96
-
97
- // 调用单点登录接口
98
- this.ssoApi(this.loginConfig.api, this.loginConfig.method, this.query).then(res => {
99
- if (res.data.code == 200) {
100
- this.$message.success(this.$t('login.tips.loginSuccess'));
101
- if (res.data.data) {
102
- sessionStorage.userName = res.data.data.userName
103
- }
104
- sessionStorage.isSsoLogin = '1';
105
- sessionStorage.ssoLoginAppId = this.$route.params.appid;
106
- if (this.query.url) {
107
- try {
108
- let url = new URL(window.location.origin + decodeURI(this.query.url));
109
- const search = url.href.indexOf('?') > -1 ? url.href.split('?')[1] : ''
110
- const urlSearchParams = new URLSearchParams(search)
111
- const searchParams = new URLSearchParams(this.query)
112
- const mergedParams = this.mergeURLSearchParams(searchParams, urlSearchParams)
113
- mergedParams.delete('url')
114
- let urlString = url.origin + url.pathname + url.hash.split('?')[0] + '?' + mergedParams.toString()
115
- window.location.href = urlString
116
- } catch (error) {
117
- this.loading = false;
118
- this.errorTxt = error.message;
119
- this.isError = true;
120
- }
121
- } else {
122
- const userAgent = navigator.userAgent.toLowerCase();
123
- if (/mobile|android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent)) {
124
- this.$api.get('/APP/index.html').then(res => {
125
- window.location.href = '/APP'
126
- }).catch(err => {
127
- if (err.status == 404) {
128
- window.location.href = '/#/Index'
129
- }
130
- })
131
- } else {
132
- window.location.href = '/#/Index'
133
- }
134
- }
135
-
136
- // this.$router.push('/Index');
137
- } else {
138
- this.isError = true;
139
- this.errorTxt = res.data.message;
140
- }
141
- this.loading = false;
142
- }).catch(er => {
143
- this.isError = true;
144
- this.loading = false;
145
- this.errorTxt = this.$t('login.tips.errorAppear');
146
- })
147
- }
148
-
149
- },
150
-
151
- // 可配置接口
152
- ssoUrlApi (api, method) {
153
- return this.Axios({
154
- method: method,
155
- url: api
156
- });
157
- },
158
-
159
- // 可配置接口
160
- ssoApi (api, method, data) {
161
- return this.Axios({
162
- method: method,
163
- url: api,
164
- data: method.toLowerCase() == 'get' ? null : data,
165
- params: method.toLowerCase() == 'post' ? '' : data
166
- });
167
- },
168
-
169
- toBack () {
170
- window.history.back(-1);
171
- },
172
-
173
- camel2UnderLine (name) {
174
- let isCamel = name.match(/^([a-z]+)([A-Z][a-z]*)$/);
175
- if (isCamel) {
176
- name = isCamel[1] + '_' + isCamel[2].toLowerCase();
177
- }
178
- return name;
179
- },
180
-
181
- mergeURLSearchParams(searchParams1, searchParams2) {
182
- const mergedParams = new URLSearchParams();
183
- for (const [key, value] of searchParams1) {
184
- mergedParams.append(key, value);
185
- }
186
- for (const [key, value] of searchParams2) {
187
- mergedParams.set(key, value);
188
- }
189
- return mergedParams;
190
- }
191
- }
192
- }
193
- </script>
194
- <style lang="scss" scoped>
195
- #ssoLogin {
196
- width: 100%;
197
- height: 100%;
198
- display: flex;
199
- align-items: center;
200
- justify-content: center;
201
-
202
- .error-box {
203
- width: 80%;
204
- max-width: 570px;
205
- text-align: center;
206
- transform: translateY(-10px);
207
-
208
- img {
209
- width: 100%;
210
- }
211
-
212
- .error-txt {
213
- font-size: 24px;
214
- color: #90959b;
215
- margin: 26px 0 28px;
216
- }
217
-
218
- .el-button {
219
- width: 160px;
220
- font-size: 22px;
221
- padding: 8px 20px;
222
-
223
- &:not(:hover) {
224
- background-color: #669eff;
225
- border-color: #669eff;
226
- }
227
- }
228
- }
229
- }
230
- </style>