@ganwei-web/ganwei-pc-cli 6.2.1 → 6.2.2
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.
- package/ganwei-app-6.2.1/.nvmrc +1 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.editorconfig +22 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.development +23 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.local.config +8 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.production +29 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.test +22 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.eslintignore +13 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.prettierignore +13 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/moduleConfiguration/cleanNodeModule.js +16 -0
- package/ganwei-app-6.2.1/moduleConfiguration/copyFile.js +133 -0
- package/ganwei-app-6.2.1/moduleConfiguration/filterStatic.js +65 -0
- package/ganwei-app-6.2.1/moduleConfiguration/init.js +48 -0
- package/ganwei-app-6.2.1/moduleConfiguration/moduleConfiguration.json +17 -0
- package/ganwei-app-6.2.1/package.json +41 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.stylelintrc.cjs +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/env.d.ts +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/index.html +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/package-lock.json +18130 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/package.json +88 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +706 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus-vars.css +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus.css +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index.css +15254 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/pptxjs.css +161 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/reset-6.1.css +433 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.ttf +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.woff +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.ttf +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff2 +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/index-loading.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_1.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_2.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_3.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_4.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission1.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/refresh.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_current.svg +36 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_equip.svg +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_safe.svg +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_zonghe.svg +28 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_alarm.svg +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_info.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_setup.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_warning.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_zichan.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/ts.svg +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/axios.min.js +2 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/base/MFEManager.js +70 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/echarts.min.js +45 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/enc-base64-min.js +88 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/elementUI.min.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/injectCss.js +12 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-i18n.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-router.min.js +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue.min.js +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vuex.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-i18n.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-router.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue.min.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vuex.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/autoPlay.json +187 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/commandConfig.json +10 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/config.json +32 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/modules.json +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/player.json +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/ppt.json +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/scene.json +72 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/welcome.json +8 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark-6.1.css +325 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark.css +84 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/default-theme.js +43 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light-6.1.css +333 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light.css +85 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/App.vue +256 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItem.vue +28 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemBack.vue +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemCommon.vue +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemLogo.vue +33 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/index.vue +66 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/models/index.ts +10 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/appFrame.vue +119 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/bottom.vue +76 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/bottom.scss +54 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/top.scss +44 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/js/useGestrue.ts +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/top.vue +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/loading/index.vue +71 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/qrcodeReader/qrcodeReader.vue +328 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeCapture.vue +54 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeDropZone.vue +42 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeStream.vue +327 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/index.js +32 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/camera.js +153 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/errors.js +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/scanner.js +114 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/shimGetUserMedia.js +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/util.js +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/mixins/CommonAPI.vue +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/enums/index.ts +19 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/hostMap.ts +8 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/main.ts +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/models/index.ts +81 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api/Auth.ts +80 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/router.ts +134 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/store.js +192 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/MFEManager.ts +141 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/URLSearchParams.ts +149 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/defineWindowAttr.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/eventBus.ts +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/EditPassword/index.vue +142 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/index.vue +174 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/lifecycles.js +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/Index.vue +113 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/getSystemInfo.ts +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useEventBus.ts +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useInitMenus.ts +47 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useKeepAlive.ts +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useNavigationBar.ts +94 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/usePush.ts +62 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useScan.ts +36 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +4975 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/tsconfig.json +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.base.config.ts +233 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.config.ts +51 -0
- package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -0
- package/ganwei-app-6.2.1/pnpm-workspace.yaml +3 -0
- package/ganwei-iotcenter-index-6.2.1/.nvmrc +1 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/cleanNodeModule.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/gitClone.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/moduleConfiguration.json +20 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/updateModule.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.1/init.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.1/package.json +41 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.babelrc +4 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/components.d.ts +87 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/index.html +31 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/package.json +89 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/config.json +154 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/App.vue +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/main.js +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/router.js +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/store.js +221 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/index.js +297 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/index.html +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/package.json +84 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/App.vue +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/router.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/index.html +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/package.json +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/App.vue +41 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/router.js +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/views/template.vue +1008 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
- package/ganwei-iotcenter-index-6.2.1/pnpm-workspace.yaml +3 -0
- package/package.json +3 -2
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
|
|
2
|
+
export default {
|
|
3
|
+
|
|
4
|
+
data () {
|
|
5
|
+
return {
|
|
6
|
+
licenseForm: {
|
|
7
|
+
registrationCode: '',
|
|
8
|
+
file: [],
|
|
9
|
+
licenseStatus: '',
|
|
10
|
+
serviceStatus: '',
|
|
11
|
+
code: ''
|
|
12
|
+
},
|
|
13
|
+
labelWidth: '150px',
|
|
14
|
+
timeInterval: null, // 定时器
|
|
15
|
+
timeOut: null,
|
|
16
|
+
isInitSate: false,
|
|
17
|
+
percentage: 0,
|
|
18
|
+
timeStart: '0',
|
|
19
|
+
loadingDialogVisible: false,
|
|
20
|
+
dialogTitle: 'login.mainInfoDialog.tips.initing',
|
|
21
|
+
tipsMessage: '',
|
|
22
|
+
formData: '',
|
|
23
|
+
tabNav: [
|
|
24
|
+
{
|
|
25
|
+
name: 'login.button.uploadLisence',
|
|
26
|
+
val: 0
|
|
27
|
+
}],
|
|
28
|
+
activeTab: 0,
|
|
29
|
+
homeBgImg: sessionStorage.getItem("bgImg")
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
async created () {
|
|
33
|
+
await this.GetInitSate();
|
|
34
|
+
await this.GetLicenseInfo();
|
|
35
|
+
await this.GetServiceStatus();
|
|
36
|
+
this.timeInterval = setInterval(async () => {
|
|
37
|
+
await this.GetLicenseInfo();
|
|
38
|
+
await this.GetServiceStatus();
|
|
39
|
+
}, 5000);
|
|
40
|
+
},
|
|
41
|
+
methods: {
|
|
42
|
+
showBgImg(){
|
|
43
|
+
this.homeBgImg = "/static/images/login-bg-img.png"
|
|
44
|
+
},
|
|
45
|
+
toLogin () {
|
|
46
|
+
this.$router.push('/')
|
|
47
|
+
},
|
|
48
|
+
changeTab (val) {
|
|
49
|
+
this.activeTab = val;
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
// 获取服务状态
|
|
53
|
+
GetServiceStatus () {
|
|
54
|
+
this.$api
|
|
55
|
+
.GetServiceStatus()
|
|
56
|
+
.then(res => {
|
|
57
|
+
const { code, message, data } = res?.data || {}
|
|
58
|
+
if (code === 200) {
|
|
59
|
+
if (data?.serviceStatus == 2) {
|
|
60
|
+
this.licenseForm.serviceStatus = this.$t(
|
|
61
|
+
'login.mainInfoDialog.tips.startUp'
|
|
62
|
+
);
|
|
63
|
+
} else {
|
|
64
|
+
// this.$message.error(message);
|
|
65
|
+
this.licenseForm.serviceStatus = this.$t(
|
|
66
|
+
'login.mainInfoDialog.tips.noStartUp'
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
.catch(error => {
|
|
72
|
+
this.$message.error(error?.data, error)
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
getStatus () {
|
|
77
|
+
this.$api
|
|
78
|
+
.GetServiceStatus()
|
|
79
|
+
.then(res => {
|
|
80
|
+
const { code, data } = res?.data || {}
|
|
81
|
+
if (code === 200) {
|
|
82
|
+
if (data?.licenseStatus === false) {
|
|
83
|
+
this.licenseForm.serviceStatus = this.$t(
|
|
84
|
+
'login.mainInfoDialog.tips.noStartUp'
|
|
85
|
+
);
|
|
86
|
+
this.loadingDialogVisible = false;
|
|
87
|
+
this.$message.error(this.$t('login.mainInfoDialog.tips.lisenceNoFit'));
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (data?.serviceStatus == 2) {
|
|
91
|
+
this.licenseForm.serviceStatus = this.$t(
|
|
92
|
+
'login.mainInfoDialog.tips.startUp'
|
|
93
|
+
);
|
|
94
|
+
this.$message.success(this.tipsMessage);
|
|
95
|
+
this.RebootWeb();
|
|
96
|
+
setTimeout(async () => {
|
|
97
|
+
this.loadingDialogVisible = false;
|
|
98
|
+
this.percentage = 100;
|
|
99
|
+
this.$router.push('/')
|
|
100
|
+
}, 30000);
|
|
101
|
+
} else if (data?.serviceStatus == 0) {
|
|
102
|
+
this.licenseForm.serviceStatus = this.$t(
|
|
103
|
+
'login.mainInfoDialog.tips.noStartUp'
|
|
104
|
+
);
|
|
105
|
+
this.loadingDialogVisible = false;
|
|
106
|
+
setTimeout(async () => {
|
|
107
|
+
await this.GetLicenseInfo();
|
|
108
|
+
await this.GetServiceStatus();
|
|
109
|
+
}, 5000)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
.catch(error => {
|
|
114
|
+
this.loadingDialogVisible = false;
|
|
115
|
+
this.$message.error(error.data, error)
|
|
116
|
+
console.log('error:', error);
|
|
117
|
+
})
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
// 获取注册码与许可状态
|
|
121
|
+
GetLicenseInfo () {
|
|
122
|
+
this.$api
|
|
123
|
+
.GetLicenseInfo()
|
|
124
|
+
.then(res => {
|
|
125
|
+
const { code, data, message } = res?.data || {};
|
|
126
|
+
if (code === 200) {
|
|
127
|
+
this.licenseForm.registrationCode = data?.authCode || '';
|
|
128
|
+
this.licenseForm.licenseStatus = data?.licenseState || '';
|
|
129
|
+
} else {
|
|
130
|
+
// this.$message.error(message);
|
|
131
|
+
this.licenseForm.licenseStatus = message;
|
|
132
|
+
}
|
|
133
|
+
})
|
|
134
|
+
.catch(err => {
|
|
135
|
+
this.$message.error(err?.data, err)
|
|
136
|
+
});
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
// 获取初始化状态
|
|
140
|
+
GetInitSate () {
|
|
141
|
+
this.$api.GetInitSate().then(res => {
|
|
142
|
+
const { code, message } = res?.data || {};
|
|
143
|
+
if (code === 200) {
|
|
144
|
+
this.isInitSate = false;
|
|
145
|
+
} else {
|
|
146
|
+
this.isInitSate = true;
|
|
147
|
+
// this.$message.error(message);
|
|
148
|
+
}
|
|
149
|
+
}).catch(err => {
|
|
150
|
+
this.$message.error(err?.data, err)
|
|
151
|
+
})
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
// 选中文件改变事件
|
|
155
|
+
fileListChange (file, fileList) {
|
|
156
|
+
this.licenseForm.file = fileList;
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
// 文件删除事件
|
|
160
|
+
fileListremove (file, fileList) {
|
|
161
|
+
this.licenseForm.file = fileList;
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
async changeEvents () {
|
|
165
|
+
this.percentage = 0;
|
|
166
|
+
this.formData = new FormData();
|
|
167
|
+
if (this.licenseForm.file.length) {
|
|
168
|
+
this.formData.append('file', this.licenseForm.file[0].raw);
|
|
169
|
+
} else {
|
|
170
|
+
this.$message.warning(
|
|
171
|
+
this.$t('login.mainInfoDialog.tips.notUpload')
|
|
172
|
+
);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
clearInterval(this.timeInterval);
|
|
176
|
+
this.timeInterval = null;
|
|
177
|
+
if (this.isInitSate) {
|
|
178
|
+
this.dialogTitle = this.$t(
|
|
179
|
+
'login.mainInfoDialog.tips.updatingLisens'
|
|
180
|
+
);
|
|
181
|
+
this.tipsMessage = this.$t(
|
|
182
|
+
'login.mainInfoDialog.tips.updateSuccess'
|
|
183
|
+
);
|
|
184
|
+
await this.getLicenseStatus(this.licenseForm.licenseStatus);
|
|
185
|
+
} else {
|
|
186
|
+
this.loadingDialogVisible = true;
|
|
187
|
+
this.dialogTitle = this.$t('login.mainInfoDialog.tips.initing');
|
|
188
|
+
this.tipsMessage = this.$t(
|
|
189
|
+
'login.mainInfoDialog.tips.initSuccess'
|
|
190
|
+
);
|
|
191
|
+
this.UploadLicense();
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
async getLicenseStatus (licenseStatus) {
|
|
196
|
+
if (licenseStatus === '已生效') {
|
|
197
|
+
this.$confirm(
|
|
198
|
+
this.$t('login.mainInfoDialog.tips.lisensIsEffectIfNext'),
|
|
199
|
+
this.$t('login.mainInfoDialog.tips.tip'),
|
|
200
|
+
{
|
|
201
|
+
confirmButtonText: this.$t(
|
|
202
|
+
'login.publics.button.confirm'
|
|
203
|
+
),
|
|
204
|
+
cancelButtonText: this.$t(
|
|
205
|
+
'login.publics.button.cancel'
|
|
206
|
+
),
|
|
207
|
+
type: 'warning'
|
|
208
|
+
}
|
|
209
|
+
)
|
|
210
|
+
.then(async () => {
|
|
211
|
+
this.loadingDialogVisible = true;
|
|
212
|
+
await this.UpdateLicense(this.formData);
|
|
213
|
+
})
|
|
214
|
+
.catch(err => {
|
|
215
|
+
console.log(err);
|
|
216
|
+
});
|
|
217
|
+
} else {
|
|
218
|
+
this.loadingDialogVisible = true;
|
|
219
|
+
await this.UpdateLicense(this.formData);
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
// 更新许可
|
|
224
|
+
UpdateLicense (formData) {
|
|
225
|
+
this.$api
|
|
226
|
+
.UpdateLicense(formData)
|
|
227
|
+
.then(res => {
|
|
228
|
+
const { code, message } = res?.data || {};
|
|
229
|
+
if (code === 200) {
|
|
230
|
+
this.$message.success(message);
|
|
231
|
+
this.InitService();
|
|
232
|
+
} else {
|
|
233
|
+
this.loadingDialogVisible = false;
|
|
234
|
+
this.$message.error(message);
|
|
235
|
+
}
|
|
236
|
+
})
|
|
237
|
+
.catch(err => {
|
|
238
|
+
this.loadingDialogVisible = false;
|
|
239
|
+
this.$message.error(err?.data, err)
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
|
|
243
|
+
// 上传许可文件
|
|
244
|
+
async UploadLicense () {
|
|
245
|
+
let formData = new FormData();
|
|
246
|
+
this.percentage = 0;
|
|
247
|
+
if (this.licenseForm.file.length) {
|
|
248
|
+
formData.append('file', this.licenseForm.file[0].raw);
|
|
249
|
+
} else {
|
|
250
|
+
this.$message.error(this.$t('login.mainInfoDialog.button.uploadSHDFile'));
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
await this.$api
|
|
254
|
+
.UploadLicense(formData)
|
|
255
|
+
.then(res => {
|
|
256
|
+
const { code, message } = res?.data || {}
|
|
257
|
+
if (code === 200) {
|
|
258
|
+
this.$message.success(message);
|
|
259
|
+
this.loadingDialogVisible = true;
|
|
260
|
+
this.InitService();
|
|
261
|
+
} else {
|
|
262
|
+
this.$message.error(
|
|
263
|
+
message ||
|
|
264
|
+
this.$t('manageLicenses.tips.err')
|
|
265
|
+
);
|
|
266
|
+
this.licenseForm.file = [];
|
|
267
|
+
this.loadingDialogVisible = false;
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
.catch(error => {
|
|
271
|
+
this.licenseForm.file = [];
|
|
272
|
+
this.$message.error(error?.data)
|
|
273
|
+
console.log('error:', error);
|
|
274
|
+
});
|
|
275
|
+
},
|
|
276
|
+
|
|
277
|
+
// 初始化
|
|
278
|
+
async InitService () {
|
|
279
|
+
setTimeout(() => {
|
|
280
|
+
this.Reboot();
|
|
281
|
+
}, 5000);
|
|
282
|
+
setTimeout(() => {
|
|
283
|
+
this.$api
|
|
284
|
+
.InitService()
|
|
285
|
+
.then(res => {
|
|
286
|
+
// const { code, message } = res?.data || {};
|
|
287
|
+
// if (code !== 200) {
|
|
288
|
+
// this.loadingDialogVisible = false;
|
|
289
|
+
// this.$message.error(message);
|
|
290
|
+
// }
|
|
291
|
+
})
|
|
292
|
+
.catch(error => {
|
|
293
|
+
this.loadingDialogVisible = false;
|
|
294
|
+
this.$message.error(error?.data)
|
|
295
|
+
});
|
|
296
|
+
}, 30000);
|
|
297
|
+
|
|
298
|
+
this.timeOut = setTimeout(async () => {
|
|
299
|
+
await this.getStatus();
|
|
300
|
+
}, 35000);
|
|
301
|
+
},
|
|
302
|
+
|
|
303
|
+
// 重启网关
|
|
304
|
+
Reboot () {
|
|
305
|
+
this.$api
|
|
306
|
+
.Reboot()
|
|
307
|
+
.then(() => { })
|
|
308
|
+
.catch(error => {
|
|
309
|
+
this.$message.error(error?.data)
|
|
310
|
+
});
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
// 重启网站
|
|
314
|
+
RebootWeb () {
|
|
315
|
+
this.$api
|
|
316
|
+
.RebootWeb()
|
|
317
|
+
.then(() => { })
|
|
318
|
+
.catch(() => { });
|
|
319
|
+
},
|
|
320
|
+
|
|
321
|
+
// 下载日志
|
|
322
|
+
DownLoadXlog () {
|
|
323
|
+
let url = this.$api.DownLoadXlog();
|
|
324
|
+
let link = document.createElement('a');
|
|
325
|
+
link.style.display = 'none';
|
|
326
|
+
link.href = url;
|
|
327
|
+
document.body.appendChild(link);
|
|
328
|
+
link.click();
|
|
329
|
+
document.body.removeChild(link);
|
|
330
|
+
},
|
|
331
|
+
|
|
332
|
+
increase () {
|
|
333
|
+
this.timeStart = setInterval(() => {
|
|
334
|
+
if (this.percentage < 98) {
|
|
335
|
+
this.percentage += 2;
|
|
336
|
+
}
|
|
337
|
+
if (this.percentage > 100) {
|
|
338
|
+
this.percentage = 100;
|
|
339
|
+
}
|
|
340
|
+
}, 1500);
|
|
341
|
+
},
|
|
342
|
+
increaseend () {
|
|
343
|
+
this.percentage = 100;
|
|
344
|
+
clearInterval(this.timeStart);
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
watch: {
|
|
348
|
+
|
|
349
|
+
// 监听loading状态控制进度条显示
|
|
350
|
+
loadingDialogVisible (value, newValue) {
|
|
351
|
+
if (value) {
|
|
352
|
+
this.increase();
|
|
353
|
+
} else {
|
|
354
|
+
this.increaseend();
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
beforeDestroy () {
|
|
359
|
+
clearInterval(this.timeInterval);
|
|
360
|
+
this.timeInterval = null;
|
|
361
|
+
if (this.timeOut) {
|
|
362
|
+
clearTimeout(this.timeOut);
|
|
363
|
+
this.timeOut = null;
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
destroyed () {
|
|
367
|
+
clearInterval(this.timeInterval);
|
|
368
|
+
this.timeInterval = null;
|
|
369
|
+
if (this.timeOut) {
|
|
370
|
+
clearTimeout(this.timeOut);
|
|
371
|
+
this.timeOut = null;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
};
|
package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Description:
|
|
3
|
+
* @LastEditTime: 2024-07-24 16:49:14
|
|
4
|
+
*/
|
|
5
|
+
// import _ from 'lodash';
|
|
6
|
+
import sha512 from 'js-sha512'
|
|
7
|
+
import showPassword from '@ganwei-web/gw-base-components-plus/showPassword/indexOption.vue'
|
|
8
|
+
export default {
|
|
9
|
+
components: {
|
|
10
|
+
showPassword
|
|
11
|
+
},
|
|
12
|
+
data () {
|
|
13
|
+
return {
|
|
14
|
+
|
|
15
|
+
// 上传文件表单
|
|
16
|
+
uploadForm: {
|
|
17
|
+
systemInfo: '',
|
|
18
|
+
serviceLog: '',
|
|
19
|
+
file: []
|
|
20
|
+
},
|
|
21
|
+
loading: false,
|
|
22
|
+
labelWidth: '150px',
|
|
23
|
+
DefaultForm: {
|
|
24
|
+
DefaultPassword: '',
|
|
25
|
+
InputPassword: '',
|
|
26
|
+
confirmAdminPwd: ''
|
|
27
|
+
}, // 默认密码数据
|
|
28
|
+
testForm: {
|
|
29
|
+
password: ''
|
|
30
|
+
}, //
|
|
31
|
+
firstLogin: false, // 首次登录
|
|
32
|
+
secondLogin: false, // 二次登录
|
|
33
|
+
firstLoading: false,
|
|
34
|
+
secondLoading: false,
|
|
35
|
+
url: '',
|
|
36
|
+
homeBgImg: sessionStorage.getItem("bgImg")
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
computed: {
|
|
40
|
+
FormRules () {
|
|
41
|
+
return {
|
|
42
|
+
DefaultPassword: [
|
|
43
|
+
{ required: true, message: this.$t('login.maintainDialog.tips.inputPassword'), trigger: 'blur' }
|
|
44
|
+
],
|
|
45
|
+
InputPassword: [
|
|
46
|
+
{
|
|
47
|
+
required: true,
|
|
48
|
+
validator: (rule, value, callback) => {
|
|
49
|
+
if (value === '') {
|
|
50
|
+
callback(new Error(this.$t('login.maintainDialog.tips.inputAdminPWD')));
|
|
51
|
+
} else if (value === this.DefaultForm.DefaultPassword) {
|
|
52
|
+
callback(new Error(this.$t('login.maintainDialog.tips.adminPWDFitDefaultPWD')));
|
|
53
|
+
} else {
|
|
54
|
+
callback();
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
trigger: 'blur'
|
|
58
|
+
}],
|
|
59
|
+
confirmAdminPwd: [
|
|
60
|
+
{
|
|
61
|
+
required: true,
|
|
62
|
+
validator: (rule, value, callback) => {
|
|
63
|
+
if (value === '') {
|
|
64
|
+
callback(new Error(this.$t('login.maintainDialog.tips.inputAdminPWDAgain')));
|
|
65
|
+
} else if (value !== this.DefaultForm.InputPassword) {
|
|
66
|
+
callback(new Error(this.$t('login.maintainDialog.tips.twoPWDNotFit')));
|
|
67
|
+
} else {
|
|
68
|
+
callback();
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
trigger: 'blur'
|
|
72
|
+
}],
|
|
73
|
+
password: [
|
|
74
|
+
{
|
|
75
|
+
required: true,
|
|
76
|
+
message: this.$t('login.maintainDialog.tips.inputAdminPWD'),
|
|
77
|
+
trigger: 'blur'
|
|
78
|
+
}]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
created () {
|
|
83
|
+
this.IsInitMaintainPwd();
|
|
84
|
+
},
|
|
85
|
+
methods: {
|
|
86
|
+
showBgImg(){
|
|
87
|
+
this.homeBgImg = "/static/images/login-bg-img.png"
|
|
88
|
+
},
|
|
89
|
+
toLogin () {
|
|
90
|
+
this.$router.push('/')
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
// 首次登录
|
|
94
|
+
IsInitMaintainPwd () {
|
|
95
|
+
this.$api.IsInitMaintainPwd().then(res => {
|
|
96
|
+
const { code, data, message } = res?.data || {};
|
|
97
|
+
if (code === 200) {
|
|
98
|
+
const initData = data ? JSON.parse(data) : {};
|
|
99
|
+
if (
|
|
100
|
+
initData?.initStatus === 0 ||
|
|
101
|
+
initData?.initStatus === 1
|
|
102
|
+
) {
|
|
103
|
+
this.firstLogin = true;
|
|
104
|
+
this.secondLogin = false;
|
|
105
|
+
} else if (initData?.initStatus === 2) {
|
|
106
|
+
this.firstLogin = false;
|
|
107
|
+
this.secondLogin = true;
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
this.$message.warning(message);
|
|
111
|
+
}
|
|
112
|
+
}).catch(err => {
|
|
113
|
+
this.$message.error(err?.data, err)
|
|
114
|
+
})
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
async confirm (props, DefaultForm) {
|
|
118
|
+
if (props === 'firstLogin') {
|
|
119
|
+
this.firstLogin = true;
|
|
120
|
+
this.secondLogin = false;
|
|
121
|
+
let firstFormData = {
|
|
122
|
+
DefaultPassword: await this.$getCode.RSAEncrypt(
|
|
123
|
+
sha512(this.DefaultForm.DefaultPassword)
|
|
124
|
+
),
|
|
125
|
+
InputPassword: await this.$getCode.RSAEncrypt(sha512(this.DefaultForm.InputPassword))
|
|
126
|
+
};
|
|
127
|
+
this.$refs[DefaultForm].validate(valid => {
|
|
128
|
+
if (valid) {
|
|
129
|
+
this.InitAdminPwd(firstFormData);
|
|
130
|
+
} else {
|
|
131
|
+
console.log('error submit!!');
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
if (props === 'secondLogin') {
|
|
137
|
+
this.secondLoading = true;
|
|
138
|
+
this.firstLogin = false;
|
|
139
|
+
this.secondLogin = true;
|
|
140
|
+
this.$refs[DefaultForm].validate(async valid => {
|
|
141
|
+
if (valid) {
|
|
142
|
+
this.VerifyLogin({
|
|
143
|
+
InputPassword: await this.$getCode.RSAEncrypt(sha512(this.testForm.password))
|
|
144
|
+
});
|
|
145
|
+
} else {
|
|
146
|
+
console.log('error submit!!');
|
|
147
|
+
this.secondLoading = false;
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
// 初始化管理员密码
|
|
155
|
+
InitAdminPwd (formData) {
|
|
156
|
+
this.firstLoading = true;
|
|
157
|
+
this.$api
|
|
158
|
+
.InitAdminPwd(formData)
|
|
159
|
+
.then(res => {
|
|
160
|
+
const { code, message } = res?.data || {}
|
|
161
|
+
if (code === 200) {
|
|
162
|
+
this.firstLogin = false;
|
|
163
|
+
this.secondLogin = true;
|
|
164
|
+
this.$message.success(message);
|
|
165
|
+
} else {
|
|
166
|
+
this.$message.error(message);
|
|
167
|
+
}
|
|
168
|
+
this.firstLoading = false;
|
|
169
|
+
})
|
|
170
|
+
.catch(err => {
|
|
171
|
+
this.$message.error(err?.data, err)
|
|
172
|
+
this.firstLogin = true;
|
|
173
|
+
this.secondLogin = false;
|
|
174
|
+
this.firstLoading = false;
|
|
175
|
+
});
|
|
176
|
+
},
|
|
177
|
+
|
|
178
|
+
// 验证管理员密码
|
|
179
|
+
VerifyLogin (formData) {
|
|
180
|
+
this.$api
|
|
181
|
+
.VerifyLogin(formData)
|
|
182
|
+
.then(res => {
|
|
183
|
+
const { code, message } = res?.data || {}
|
|
184
|
+
if (code === 200) {
|
|
185
|
+
this.firstLogin = false;
|
|
186
|
+
this.secondLogin = false;
|
|
187
|
+
this.$message.success(message);
|
|
188
|
+
this.$router.replace('/mainInfo');
|
|
189
|
+
} else {
|
|
190
|
+
this.$message.error(message);
|
|
191
|
+
}
|
|
192
|
+
this.secondLoading = false;
|
|
193
|
+
})
|
|
194
|
+
.catch(err => {
|
|
195
|
+
this.$message.error(err?.data, err)
|
|
196
|
+
this.secondLoading = false;
|
|
197
|
+
this.firstLogin = false;
|
|
198
|
+
this.secondLogin = true;
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
};
|