@ganwei-web/ganwei-pc-cli 6.2.0

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 (433) hide show
  1. package/ganwei-iotcenter-index-6.2.0/.nvmrc +1 -0
  2. package/ganwei-iotcenter-index-6.2.0/configuration/cleanNodeModule.js +18 -0
  3. package/ganwei-iotcenter-index-6.2.0/configuration/gitClone.js +45 -0
  4. package/ganwei-iotcenter-index-6.2.0/configuration/moduleConfiguration.json +20 -0
  5. package/ganwei-iotcenter-index-6.2.0/configuration/updateModule.cjs +30 -0
  6. package/ganwei-iotcenter-index-6.2.0/init.cjs +30 -0
  7. package/ganwei-iotcenter-index-6.2.0/package.json +41 -0
  8. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.babelrc +4 -0
  9. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.editorconfig +22 -0
  10. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.development +22 -0
  11. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.production +22 -0
  12. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.test +22 -0
  13. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintignore +13 -0
  14. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
  15. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierignore +13 -0
  16. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
  17. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
  18. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
  19. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
  20. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
  21. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/components.d.ts +87 -0
  22. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/env.d.ts +7 -0
  23. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/index.html +31 -0
  24. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/package.json +89 -0
  25. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
  26. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
  27. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
  28. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
  29. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
  30. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
  31. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
  32. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
  33. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
  34. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
  35. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
  36. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
  37. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
  38. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
  39. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
  40. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
  41. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
  42. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
  43. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
  44. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
  45. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
  46. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
  47. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
  48. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
  49. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
  50. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
  51. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
  52. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
  53. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
  54. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
  55. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
  56. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
  57. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
  58. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
  59. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
  60. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
  61. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
  62. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
  63. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
  64. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
  65. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
  66. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
  67. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
  68. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
  69. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
  70. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
  71. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
  72. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
  73. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
  74. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
  75. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
  76. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
  77. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
  78. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
  79. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
  80. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
  81. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
  82. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
  83. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
  84. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
  85. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
  86. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
  87. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
  88. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
  89. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
  90. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
  91. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
  92. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
  93. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
  94. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
  95. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
  96. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
  97. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
  98. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
  99. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
  100. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
  101. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
  102. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
  103. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
  104. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
  105. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
  106. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
  107. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
  108. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
  109. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
  110. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
  111. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
  112. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
  113. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
  114. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
  115. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
  116. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
  117. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
  118. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
  119. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
  120. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
  121. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
  122. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
  123. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
  124. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
  125. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
  126. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
  127. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
  128. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
  129. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
  130. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
  131. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
  132. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
  133. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
  134. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/config.json +154 -0
  135. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
  136. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
  137. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
  138. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
  139. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
  140. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
  141. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
  142. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
  143. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
  144. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
  145. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
  146. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/App.vue +52 -0
  147. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
  148. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
  149. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
  150. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
  151. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
  152. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
  153. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
  154. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
  155. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
  156. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
  157. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
  158. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
  159. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
  160. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
  161. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
  162. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
  163. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
  164. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
  165. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
  166. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +135 -0
  167. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
  168. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
  169. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
  170. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
  171. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
  172. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
  173. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
  174. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
  175. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
  176. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
  177. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
  178. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
  179. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
  180. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
  181. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
  182. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
  183. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
  184. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
  185. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
  186. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
  187. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
  188. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
  189. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
  190. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
  191. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
  192. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
  193. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
  194. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
  195. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
  196. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
  197. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
  198. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
  199. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
  200. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
  201. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
  202. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
  203. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
  204. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
  205. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
  206. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
  207. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
  208. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
  209. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
  210. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
  211. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
  212. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
  213. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
  214. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
  215. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
  216. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
  217. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
  218. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
  219. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
  220. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
  221. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
  222. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
  223. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
  224. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
  225. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
  226. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/main.js +50 -0
  227. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
  228. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
  229. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
  230. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
  231. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/router.js +34 -0
  232. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/store.js +221 -0
  233. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/types.js +16 -0
  234. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
  235. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
  236. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
  237. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
  238. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
  239. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
  240. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/index.js +297 -0
  241. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
  242. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
  243. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
  244. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
  245. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
  246. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.babelrc +8 -0
  247. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.editorconfig +22 -0
  248. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.development +22 -0
  249. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.production +22 -0
  250. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.test +22 -0
  251. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintignore +13 -0
  252. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
  253. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierignore +13 -0
  254. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
  255. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
  256. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
  257. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
  258. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
  259. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/env.d.ts +7 -0
  260. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/index.html +34 -0
  261. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/package.json +84 -0
  262. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
  263. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
  264. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
  265. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
  266. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
  267. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
  268. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
  269. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
  270. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
  271. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
  272. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
  273. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
  274. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
  275. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
  276. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
  277. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
  278. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
  279. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
  280. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
  281. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
  282. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
  283. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
  284. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
  285. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
  286. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
  287. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
  288. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
  289. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
  290. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
  291. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
  292. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
  293. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
  294. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
  295. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
  296. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
  297. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
  298. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
  299. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
  300. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
  301. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
  302. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
  303. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
  304. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
  305. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
  306. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
  307. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
  308. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
  309. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
  310. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
  311. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +333 -0
  312. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
  313. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
  314. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
  315. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
  316. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +338 -0
  317. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
  318. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
  319. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/App.vue +70 -0
  320. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
  321. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
  322. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
  323. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
  324. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
  325. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
  326. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
  327. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
  328. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
  329. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
  330. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
  331. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
  332. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
  333. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
  334. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
  335. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
  336. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
  337. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
  338. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
  339. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
  340. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
  341. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
  342. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
  343. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
  344. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
  345. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
  346. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
  347. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
  348. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
  349. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/main.js +39 -0
  350. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
  351. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
  352. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
  353. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/router.js +48 -0
  354. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/types.js +16 -0
  355. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
  356. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
  357. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
  358. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
  359. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
  360. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
  361. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
  362. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
  363. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
  364. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
  365. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
  366. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
  367. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.babelrc +8 -0
  368. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.editorconfig +22 -0
  369. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.development +22 -0
  370. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.production +22 -0
  371. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.test +22 -0
  372. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintignore +13 -0
  373. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
  374. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierignore +13 -0
  375. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
  376. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
  377. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
  378. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
  379. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
  380. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
  381. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
  382. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/env.d.ts +7 -0
  383. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/index.html +25 -0
  384. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/package.json +94 -0
  385. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
  386. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
  387. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
  388. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
  389. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
  390. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
  391. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
  392. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
  393. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
  394. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
  395. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
  396. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
  397. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
  398. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
  399. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
  400. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
  401. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
  402. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
  403. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
  404. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
  405. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
  406. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
  407. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
  408. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
  409. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
  410. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
  411. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
  412. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
  413. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/App.vue +41 -0
  414. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
  415. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
  416. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/main.js +39 -0
  417. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
  418. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
  419. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/router.js +23 -0
  420. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
  421. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/views/template.vue +49 -0
  422. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
  423. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
  424. package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
  425. package/ganwei-iotcenter-index-6.2.0/pnpm-workspace.yaml +3 -0
  426. package/ganwei-pc.js +3 -0
  427. package/package.json +28 -0
  428. package/src/copyConfig.js +85 -0
  429. package/src/copyDemo.js +21 -0
  430. package/src/create-app.js +90 -0
  431. package/src/createQuestions.js +46 -0
  432. package/src/index.js +63 -0
  433. package/src/remove-depencies.js +27 -0
@@ -0,0 +1,135 @@
1
+ <template>
2
+ <el-dialog v-model="dialogBaseProcess" width="800" top="5vh" class="base-dialog-process-details"
3
+ :close-on-click-modal="false">
4
+ <div v-loading="loading" :element-loading-text="$tt('加载中') + '...'" class="dialogBaseProcess-container">
5
+ <iframe :src="dialogBaseProcessUrl" frameborder="0" class="dialogBaseProcess" id="dialogBaseProcess"
6
+ :class="loading ? 'displayNone' : ''"></iframe>
7
+ </div>
8
+ </el-dialog>
9
+ </template>
10
+ <script>
11
+ export default {
12
+ name: 'ApprovalDialog',
13
+ data() {
14
+ return {
15
+ dialogBaseProcessUrl: '',
16
+ loading: true
17
+ }
18
+ },
19
+ props: {
20
+ visible: { // 弹窗控制
21
+ type: Boolean,
22
+ default: false
23
+ },
24
+ btnLoading: {
25
+ type: Boolean,
26
+ default: false
27
+ },
28
+ item: { // 当前操作行数据
29
+ type: Object,
30
+ default: () => ({})
31
+ },
32
+ state: {
33
+ type: Number,
34
+ default: 10
35
+ },
36
+ btcControl: {
37
+ type: Boolean,
38
+ default: false
39
+ }
40
+ },
41
+ inject: ['update:visible', 'close', 'approve', 'reject', 'initData'],
42
+ computed: {
43
+ dialogBaseProcess: {
44
+ get() {
45
+ return this.visible
46
+ },
47
+ set(val) {
48
+ this.$emit('update:visible', val)
49
+ }
50
+ }
51
+ },
52
+ mounted() {
53
+ this.loading = true
54
+ this.dialogBaseProcessUrl = this.$hostMap('ganwei-iotcenter-lowcodeformflow') + '/#/processDetails'
55
+ let _this = this
56
+ window.onmessage = (event) => {
57
+ console.log(event.data)
58
+ if (event.data.type === "processCode") {
59
+ switch (event.data.processCode) {
60
+ case "close": _this.close(); break;
61
+ case "approve": _this.approve(this.item); break;
62
+ case "reject": _this.reject(this.item); break;
63
+ case "initData": _this.initData(); break;
64
+ default: break;
65
+ }
66
+ }
67
+ }
68
+ let messageContent = {
69
+ "dialogVisible": this.visible,
70
+ "currentItem": JSON.stringify(this.item),
71
+ "btcControl": this.btcControl
72
+ }
73
+ this.$nextTick(() => {
74
+ let dom = document.getElementById('dialogBaseProcess')
75
+ dom.onload = () => {
76
+ dom.contentWindow.postMessage(messageContent, "*")
77
+ this.loading = false
78
+ }
79
+ })
80
+ },
81
+ methods: {
82
+
83
+ /**
84
+ * 翻译函数
85
+ * 用于获取国际化文本,支持路由前缀
86
+ * @param {string} str - 需要翻译的文本键值
87
+ * @returns {string} 翻译后的文本
88
+ */
89
+ $tt(str) {
90
+ // 获取当前路由
91
+ const currentRoute = 'login';
92
+ // 尝试获取完整路径的翻译
93
+ let fullKey = currentRoute + '.' + str;
94
+ let result = this.$t(fullKey);
95
+ // 如果完整路径的翻译不存在,则使用原始key
96
+ return result === fullKey ? this.$t(str) : result;
97
+ },
98
+ }
99
+ }
100
+ </script>
101
+ <style lang="scss">
102
+ .base-dialog-process-details {
103
+ width: 100%;
104
+ height: 100%;
105
+ background: transparent;
106
+
107
+ .el-dialog__header {
108
+ display: none;
109
+ }
110
+
111
+ .el-dialog__body {
112
+ height: 100% !important;
113
+ overflow: hidden !important;
114
+ }
115
+
116
+ .dialogBaseProcess-container,
117
+ iframe {
118
+ width: 800px;
119
+ height: 660px;
120
+ position: absolute;
121
+ left: 50%;
122
+ top: 50%;
123
+ transform: translate(-50%, -50%);
124
+
125
+ &>.el-loading-mask {
126
+ visibility: visible !important;
127
+ }
128
+ }
129
+
130
+ .displayNone {
131
+ display: none;
132
+ }
133
+
134
+ }
135
+ </style>
@@ -0,0 +1,327 @@
1
+
2
+ import { mapState } from 'vuex';
3
+
4
+ import ApprovalDialog from './ApprovalDialog.vue';
5
+ export const approveStatus = {
6
+ "pass": 1, // 通过
7
+ "reject": 2, // 驳回
8
+ "transfer": 3, // 转办
9
+ "abandoned": 4, // 废弃
10
+ "revoke": 5 // 撤回
11
+ }
12
+ export default {
13
+ components: {
14
+ ApprovalDialog // 引入审批对话框组件
15
+ },
16
+ data() {
17
+ return {
18
+ drawer: false, // 控制抽屉组件的显示状态
19
+ processDesignList: [], // 存储流程设计列表数据
20
+ processDesignLoading: false, // 控制流程设计加载状态
21
+ processDesignBtnLoading: '', // 控制流程设计按钮的加载状态
22
+ rejectLoading: "", // 拒绝审批的加载状态
23
+ agreeLoading: "", // 同意审批的加载状态
24
+ allAgreeLoading: false, // 全部同意的加载状态
25
+ totalMessage: window.totalMessage || 0, // 总消息数量
26
+ approvalDialogVisible: false, // 控制审批对话框的显示状态
27
+ currentItem: null, // 当前选中的项目
28
+ loadingMore: false, // 是否正在加载更多数据
29
+ noMoreData: false, // 是否没有更多数据
30
+ searchCriteria: {
31
+ searchText: '', // 搜索文本
32
+ pageNo: 1, // 当前页码
33
+ pageSize: 20, // 每页大小,减少以支持懒加载
34
+ userName: '' // 搜索名称
35
+ }
36
+ }
37
+ },
38
+ provide() {
39
+ return {
40
+ close: this.closeApprovalDialog,
41
+ reject: this.rejectApproval,
42
+ approve: this.agreeApproval,
43
+ initData: this.init
44
+ }
45
+ },
46
+ computed: {
47
+ ...mapState({
48
+ processesStatistics: state => state.processesStatistics, // 将 state.processesStatistics 映射为组件的计算属性 processesStatistics
49
+ })
50
+ },
51
+ watch: {
52
+ processesStatistics: {
53
+ handler(newVal) {
54
+ this.totalMessage = newVal
55
+ if (this.drawer) {
56
+ this.init()
57
+ }
58
+ },
59
+ immediate: true
60
+ }
61
+ },
62
+ methods: {
63
+
64
+ /**
65
+ * 翻译函数
66
+ * 用于获取国际化文本,支持路由前缀
67
+ * @param {string} str - 需要翻译的文本键值
68
+ * @returns {string} 翻译后的文本
69
+ */
70
+ $tt(str) {
71
+ // 获取当前路由
72
+ const currentRoute = 'login';
73
+ // 尝试获取完整路径的翻译
74
+ let fullKey = currentRoute + '.' + str;
75
+ let result = this.$t(fullKey);
76
+ // 如果完整路径的翻译不存在,则使用原始key
77
+ return result === fullKey ? this.$t(str) : result;
78
+ },
79
+
80
+ /**
81
+ * 初始化方法
82
+ * 用于获取流程设计列表数据
83
+ * @param {boolean} reset - 是否重置页码和列表,默认为true
84
+ */
85
+ init(reset = true) {
86
+ if (reset) {
87
+ // 重置页码和列表
88
+ this.searchCriteria.pageNo = 1;
89
+ this.noMoreData = false;
90
+ }
91
+
92
+ // 构建请求数据
93
+ let data = this.searchCriteria
94
+
95
+ // 设置加载状态
96
+ if (reset) {
97
+ this.processDesignLoading = true;
98
+ } else {
99
+ this.loadingMore = true;
100
+ }
101
+
102
+ // 调用API获取审批列表
103
+ this.$api.getToDoMainList(data).then(rt => {
104
+ if (rt?.data?.code == 200) {
105
+ const list = rt?.data?.data?.list || [];
106
+
107
+ if (reset) {
108
+ // 首次加载或刷新,直接替换列表
109
+ this.processDesignList = list;
110
+ } else {
111
+ // 懒加载,追加到列表
112
+ this.processDesignList = [...this.processDesignList, ...list];
113
+ }
114
+
115
+ this.totalMessage = rt?.data?.data?.totalCount || 0;
116
+
117
+ // 如果返回的数据少于pageSize,说明没有更多数据了
118
+ if (list.length < this.searchCriteria.pageSize) {
119
+ this.noMoreData = true;
120
+ }
121
+ }
122
+ })
123
+ .catch(e => {
124
+ // 捕获并打印错误
125
+ console.log(e)
126
+ }).finally((r) => {
127
+ console.log(r)
128
+ // 无论成功失败都会执行
129
+ if (reset) {
130
+ this.processDesignLoading = false;
131
+ } else {
132
+ this.loadingMore = false;
133
+ }
134
+ })
135
+ },
136
+
137
+ /**
138
+ * 批量审批流程
139
+ * 对流程设计列表中的第一项进行批量审批操作
140
+ */
141
+ batchFlowAudit() {
142
+ let item = this.processDesignList.length > 0 ? this.processDesignList[0] : []
143
+ this.allAgreeLoading = true
144
+ let data =
145
+ {
146
+ "crtim": item.crtim
147
+ }
148
+ this.$api.batchFlowAudit(data).then(rt => {
149
+ if (rt?.data?.code == 200) {
150
+ this.$message.success(rt?.data?.message)
151
+ } else {
152
+ this.$message.warning(rt?.data?.message)
153
+ }
154
+ }).catch(e => {
155
+ console.log(e)
156
+ }).finally((r) => {
157
+ this.allAgreeLoading = false
158
+ this.init()
159
+ console.log(r)
160
+ })
161
+ },
162
+
163
+ /**
164
+ * 拒绝审批操作
165
+ * 对指定的审批项执行拒绝操作
166
+ * @param {Object} item - 需要拒绝的审批项
167
+ */
168
+ rejectApproval(item) {
169
+ this.rejectLoading = item.id
170
+ let data =
171
+ {
172
+ "id": item.id,
173
+ "approveStatus": approveStatus.reject,
174
+ "remark": "string",
175
+ "transferId": "string"
176
+ }
177
+ this.$api.FlowAudit(data).then(rt => {
178
+ if (rt?.data?.code == 200) {
179
+ this.$message.success(rt?.data?.message)
180
+ } else {
181
+ this.$message.warning(rt?.data?.message)
182
+ }
183
+ }).catch(e => {
184
+ console.log(e)
185
+ }).finally((r) => {
186
+ this.rejectLoading = ""
187
+ this.init()
188
+ console.log(r)
189
+ })
190
+ },
191
+
192
+ /**
193
+ * 同意审批的方法
194
+ * 对指定的审批项执行同意操作
195
+ * @param {Object} item - 需要审批的项目对象
196
+ */
197
+ agreeApproval(item) {
198
+ this.agreeLoading = item.id
199
+ let data =
200
+ {
201
+ "id": item.id,
202
+ "approveStatus": approveStatus.pass,
203
+ "remark": "",
204
+ "transferId": ""
205
+ }
206
+ this.$api.FlowAudit(data).then(rt => {
207
+ if (rt?.data?.code == 200) {
208
+ this.$message.success(rt?.data?.message)
209
+ } else {
210
+ this.$message.warning(rt?.data?.message)
211
+ }
212
+ }).catch(e => {
213
+ console.log(e)
214
+ }).finally((r) => {
215
+ this.agreeLoading = false
216
+ this.init()
217
+ console.log(r)
218
+ })
219
+ },
220
+
221
+ /**
222
+ * 数据处理方法
223
+ * 将processDesignList转换为API所需格式
224
+ * @return {Array} 处理后的数据数组
225
+ */
226
+ dataHandle() {
227
+ let arry = [], data = this.processDesignList
228
+ if (Array.isArray(data) && data.length > 0) {
229
+ // 遍历数据并格式化
230
+ data.forEach(item => {
231
+ arry.push({
232
+ pluginId: item?.id,
233
+ pluginVersionId: item?.lastAssest?.id
234
+ })
235
+ })
236
+ }
237
+ return arry
238
+ },
239
+
240
+ /**
241
+ * 打开抽屉组件
242
+ * 设置drawer为true并初始化数据
243
+ */
244
+ openElDrawer() {
245
+ this.drawer = true
246
+ this.init()
247
+ },
248
+
249
+ /**
250
+ * 格式化名称的方法
251
+ * 截取名称的第一个字符作为显示内容
252
+ * @param {string} name - 需要格式化的名称
253
+ * @returns {string} 格式化后的名称
254
+ */
255
+ formatName(name) {
256
+ return name.slice(0, 1);
257
+ },
258
+
259
+ /**
260
+ * 处理已完成操作
261
+ * 关闭抽屉并跳转到已办事宜页面
262
+ */
263
+ handleProcessed() {
264
+ this.drawer = false; // 关闭抽屉
265
+ this.$router.push('/Index/jumpIframe/ganwei-iotcenter-lowcodeformflow/processed'); // 跳转到已办事宜页面
266
+ },
267
+
268
+ /**
269
+ * 显示审批详情弹窗
270
+ * 打开审批详情对话框并设置当前选中项
271
+ * @param {Object} item - 当前选中的审批项
272
+ */
273
+ showApprovalDetail(item) {
274
+ this.approvalDialogVisible = true;
275
+ this.currentItem = item;
276
+ },
277
+
278
+ /**
279
+ * 关闭审批详情弹窗
280
+ * 关闭对话框并清空当前选中项
281
+ */
282
+ closeApprovalDialog() {
283
+ this.approvalDialogVisible = false;
284
+ this.currentItem = null;
285
+ },
286
+
287
+ /**
288
+ * 处理滚动事件
289
+ * 检测是否滚动到底部,如果是则加载更多数据
290
+ */
291
+ handleScroll() {
292
+ // 如果正在加载或没有更多数据,则不处理
293
+ if (this.loadingMore || this.noMoreData) {
294
+ return;
295
+ }
296
+
297
+ const scrollContainer = this.$refs.scrollContainer;
298
+ if (!scrollContainer) return;
299
+
300
+ // 计算滚动位置
301
+ const scrollTop = scrollContainer.scrollTop;
302
+ const scrollHeight = scrollContainer.scrollHeight;
303
+ const clientHeight = scrollContainer.clientHeight;
304
+
305
+ // 当滚动到距离底部50px以内时,加载更多数据
306
+ if (scrollHeight - scrollTop - clientHeight < 50) {
307
+ this.loadMore();
308
+ }
309
+ },
310
+
311
+ /**
312
+ * 加载更多数据
313
+ * 增加页码并调用init方法加载下一页数据
314
+ */
315
+ loadMore() {
316
+ // 设置加载状态
317
+ this.loadingMore = true;
318
+
319
+ // 增加页码
320
+ this.searchCriteria.pageNo += 1;
321
+
322
+ // 调用init方法,传入false表示不清空现有数据
323
+ this.init(false);
324
+ }
325
+
326
+ }
327
+ }
@@ -0,0 +1,253 @@
1
+ .processDesign {
2
+ >.processDesign-btn {
3
+ display: flex;
4
+ align-items: center;
5
+ font-size: 12px;
6
+ user-select: none;
7
+
8
+ i {
9
+ font-size: 28px;
10
+ }
11
+
12
+ >span {
13
+ color: var(--frame-main-color-2);
14
+ }
15
+
16
+ .el-badge .el-badge__content {
17
+ background-color: var(--gw-color-danger);
18
+ color: white;
19
+ }
20
+
21
+ .el-badge__content.is-fixed {
22
+ top: 3px;
23
+ }
24
+
25
+ .el-badge__content {
26
+ border-color: #ff0024;
27
+ }
28
+ }
29
+
30
+ }
31
+
32
+ .processDesign-drawer {
33
+ box-shadow: 0px 0px;
34
+
35
+ .el-drawer__header {
36
+ border-bottom: 1px solid var(--frame-main-border);
37
+ margin-bottom: 0;
38
+
39
+ .titleClass {
40
+ font-size: 18px;
41
+ text-align: left;
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: space-between;
45
+ padding: 10px 0;
46
+ color: var(--frame-main-color);
47
+
48
+ .titleClassLabel {
49
+ font-size: 14px !important;
50
+ }
51
+
52
+ label {
53
+ font-family: PingFangSC, PingFang SC;
54
+ font-weight: 600;
55
+ margin-right: 10px;
56
+ font-size: 18px;
57
+ color: var(--frame-main-color);
58
+
59
+ i {
60
+ font-size: 18px;
61
+ margin-right: 10px;
62
+ }
63
+ }
64
+
65
+ a {
66
+ font-size: 18px;
67
+ height: 24px;
68
+ line-height: 24px;
69
+ text-decoration: none;
70
+ text-align: center;
71
+ margin-right: 10px;
72
+ color: var(--button-primary-color);
73
+ }
74
+ }
75
+ }
76
+
77
+
78
+ .el-drawer__body {
79
+ overflow: hidden;
80
+ padding: 0;
81
+
82
+ .el-modal-dialog .el-overlay-dialog {
83
+ overflow: hidden;
84
+ }
85
+
86
+ .processDesign-item {
87
+ height: calc(100% - 46px);
88
+ overflow-y: auto;
89
+ padding: 20px;
90
+ position: relative;
91
+
92
+ li {
93
+ height: 158px;
94
+ border-radius: 4px;
95
+ padding: 14px;
96
+ background-color: var(--frame-main-background-4);
97
+ margin-bottom: 10px;
98
+
99
+ h4 {
100
+ height: 38px;
101
+ line-height: 38px;
102
+ font-size: 14px;
103
+ text-align: left;
104
+
105
+ label {
106
+ color: var(--button-primary-color);
107
+ font-family: PingFangSC, PingFang SC;
108
+ font-weight: 400;
109
+ font-size: 14px;
110
+ }
111
+ }
112
+
113
+ .bodySection {
114
+ height: calc(100% - 68px);
115
+ padding-top: 4px;
116
+
117
+ >span {
118
+ margin-bottom: 8px;
119
+
120
+ label,
121
+ b {
122
+ font-size: 14px;
123
+ color: var(--frame-main-color);
124
+ font-weight: 500;
125
+ }
126
+
127
+ label {
128
+ display: inline-block;
129
+ max-width: 80px;
130
+ text-overflow: ellipsis;
131
+ padding-right: 10px;
132
+ white-space: nowrap;
133
+ overflow: hidden;
134
+ }
135
+
136
+ display: flex;
137
+ text-align: left;
138
+ line-height: 20px;
139
+ white-space: break-spaces;
140
+ }
141
+ }
142
+
143
+ .footer {
144
+ display: block;
145
+ text-align: right;
146
+
147
+ .el-button {
148
+ width: 84px;
149
+ height: 30px;
150
+ border-radius: 2px;
151
+ border: 1px solid var(--button-primary-color) !important;
152
+ margin-left: 10px;
153
+
154
+ span {
155
+ font-size: 12px;
156
+ }
157
+ }
158
+
159
+ }
160
+ }
161
+
162
+ .loading-more {
163
+ display: flex;
164
+ justify-content: center;
165
+ align-items: center;
166
+ padding: 15px;
167
+ color: var(--frame-main-color);
168
+
169
+ .el-icon {
170
+ margin-right: 8px;
171
+ font-size: 16px;
172
+ }
173
+ }
174
+
175
+ .no-more-data {
176
+ text-align: center;
177
+ padding: 15px;
178
+ color: var(--frame-main-color);
179
+ font-size: 14px;
180
+ }
181
+ }
182
+
183
+ .el-button {
184
+ padding: 0;
185
+ text-align: center;
186
+ margin-left: 0;
187
+ margin-right: 4px;
188
+ overflow: hidden;
189
+ border: unset !important;
190
+ position: relative;
191
+
192
+ &.is-loading {
193
+ cursor: pointer;
194
+
195
+ &::before {
196
+ background: linear-gradient(270deg, var(--gw-color-primary5) 0%, var(--gw-color-primary4) 3%, var(--gw-color-primary) 100%);
197
+ box-shadow: 0px 6px 10px 0px rgba(38, 105, 236, 0.18);
198
+ animation: installing 1s ease-in-out infinite;
199
+ }
200
+
201
+ .el-icon-loading {
202
+ display: none;
203
+ }
204
+ }
205
+ }
206
+ }
207
+
208
+
209
+ .footer {
210
+ .el-button {
211
+ width: 100%;
212
+ height: 46px;
213
+ border-radius: 0;
214
+
215
+ &.is-loading {
216
+ cursor: pointer;
217
+
218
+ &::before {
219
+ background: linear-gradient(270deg, var(--gw-color-primary5) 0%, var(--gw-color-primary4) 3%, var(--gw-color-primary) 100%);
220
+ box-shadow: 0px 6px 10px 0px rgba(38, 105, 236, 0.18);
221
+ animation: installing 1s ease-in-out infinite;
222
+ }
223
+
224
+ .el-icon-loading {
225
+ display: none;
226
+ }
227
+ }
228
+ }
229
+ }
230
+
231
+ .el-dialog {
232
+ .el-dialog__header {
233
+ padding: 0;
234
+ }
235
+ }
236
+
237
+ @keyframes installing {
238
+ from {
239
+ width: 0%;
240
+ }
241
+
242
+ 50% {
243
+ opacity: 1;
244
+ }
245
+
246
+ to {
247
+ width: 100%;
248
+ opacity: 0.1;
249
+ }
250
+ }
251
+
252
+
253
+ }