@ganwei-web/ganwei-pc-cli 6.2.2 → 6.2.3
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/moduleConfiguration/copyFile.js +8 -14
- package/ganwei-app-6.2.1/moduleConfiguration/init.js +2 -8
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/banner.js +9 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/build-version.js +42 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/bulidList.js +26 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/enteryJson.js +108 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/filterStatic.js +64 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/init.js +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/look-dir.js +24 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/rollup-options.js +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/test.js +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/components.d.ts +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/env.d.ts +7 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/index.html +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package-lock.json +3965 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/package.json +69 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus-vars.css +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index-plus.css +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/index.css +15926 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/css/pptxjs.css +161 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.css +1135 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.json +1969 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.ttf +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/font/iconfont.woff2 +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/en-US/noPage.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-CN/noPage.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/language/zh-HK/noPage.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/dark.css +77 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/default-theme.js +34 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/public/static/themes/light.css +79 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/App.vue +198 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/index.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/linkSetting.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/sceneSetting.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/specialTask.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/style.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/.sass-cache/59ae6c3370e48597956c7d0775238711a2c22a84/weekTask.scssc +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/VideoSystem.scss +397 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-dialog.scss +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/el-drawer.scss +41 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/index.scss +1052 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/login.scss +320 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/mobileStyle.scss +332 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/noDataTips.scss +57 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/reset.scss +1192 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-black.scss +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style-white.scss +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/style.scss +633 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlaybackCom.scss +468 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/css/videoPlayer.scss +441 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/appFrame.vue +163 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/bottom.vue +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/bottom.scss +381 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/css/top.scss +49 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/Voice.js +345 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/js/bottom.js +102 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/appFrame/top.vue +114 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18n.js +42 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/i18nObserver.js +39 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/i18n/vueI18n.js +17 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.js +64 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/components/toast/index.vue +152 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/hostMap.js +9 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/main.js +39 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Auth.js +83 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/BA.js +81 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/EquipList.js +127 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Event.js +34 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/GwEcharts.js +9 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/PPT.js +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/RealTime.js +43 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/SystemConfig.js +177 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/Video.js +57 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/VideoTour.js +129 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WelcomeWord.js +24 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/WorkOrder.js +265 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api/videoSystem.js +81 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/api.js +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/apiFunction.js +200 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/encrypt.js +14 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/request/http.js +186 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/router.js +31 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/store.js +189 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/formValidate.js +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/isApp.js +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/language.js +45 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/myUtils.js +643 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timeFormat.js +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/src/views/ganwei-app-empty-page/src/noPage.vue +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +356 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.base.config.js +244 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/vite.config.ts +44 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/.stylelintrc.cjs +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/auto-imports.d.ts +56 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/components.d.ts +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/env.d.ts +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/index.html +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/package.json +87 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/en-US/home.json +39 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-CN/home.json +39 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/public/static/language/zh-HK/home.json +39 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/App.vue +203 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/assets/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/components/Layout/TitleList.vue +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/enums/index.ts +24 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/main.ts +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/models/index.ts +91 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api/RealTime.ts +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/router.ts +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/store.js +189 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenuItem.vue +95 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenus.vue +118 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeMenusEditDrawer.vue +119 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/HomeSnapshots.vue +109 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/chatbot.vue +96 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/css/index.scss +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/chatbot.gif +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/img/six.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/index.vue +42 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useLanguageStyle.ts +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useManageMenus.ts +38 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useMenus.ts +49 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/usePolling.ts +38 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/js/useRealTime.ts +128 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +4975 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/tsconfig.json +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.base.config.ts +233 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-home/vite.config.ts +49 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/index.html +1 -2
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/config.json +2 -2
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/util.js +4 -10
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/types.js +1 -1
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/.stylelintrc.cjs +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/env.d.ts +67 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/index.html +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +79 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/en-US/login.json +48 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-CN/login.json +48 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/public/static/language/zh-HK/login.json +48 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/App.vue +225 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/bg.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/assets/images/refresh.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/components/app-drag/index.vue +183 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/hostMap.ts +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/main.ts +19 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/models/index.ts +48 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api/Auth.ts +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/router.ts +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/Login.vue +99 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/css/login.scss +78 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useLogin.ts +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/src/views/login/js/useRememberPassword.ts +48 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +4975 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/tsconfig.json +56 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.base.config.ts +233 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-login/vite.config.ts +51 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/.stylelintrc.cjs +17 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/env.d.ts +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/index.html +20 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/package.json +85 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/en-US/setPage.json +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-CN/setPage.json +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/public/static/language/zh-HK/setPage.json +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/App.vue +202 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/assets/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/components/buttonModeSelect/index.vue +190 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/hostMap.ts +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/main.ts +24 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/models/index.ts +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api/Auth.ts +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/router.ts +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/store.js +189 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeLanguage.ts +19 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useChangeTheme.ts +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useClearCache.ts +26 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useJavaFunc.ts +146 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/js/useLogout.ts +52 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/src/views/ganwei-app-setPage/src/setPage.vue +120 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +4975 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/tsconfig.json +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.base.config.ts +233 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/vite.config.ts +49 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/env.d.ts +7 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/index.html +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +77 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/en-US/template.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-CN/template.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/public/static/language/zh-HK/template.json +3 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/App.vue +202 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/assets/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/components/buttonModeSelect/index.vue +190 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/hostMap.ts +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/main.ts +24 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/models/index.ts +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api/Auth.ts +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/router.ts +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/store.js +189 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/src/views/ganwei-app-template/src/template.vue +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/tsconfig.json +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.base.config.js +246 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-template/vite.config.ts +44 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/config.json +47 -43
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +2 -9
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/types.js +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/index.js +0 -3
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +3 -3
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/login.scss +50 -30
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/types.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// gw
|
|
2
|
+
.login {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
text-align: center;
|
|
6
|
+
|
|
7
|
+
>img {
|
|
8
|
+
position: absolute;
|
|
9
|
+
z-index: -1;
|
|
10
|
+
left: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
>main {
|
|
15
|
+
width: 100%;
|
|
16
|
+
padding: 30px 24px 70px;
|
|
17
|
+
text-align: right;
|
|
18
|
+
|
|
19
|
+
.login_form {
|
|
20
|
+
margin-top: 48px;
|
|
21
|
+
|
|
22
|
+
h2 {
|
|
23
|
+
height: 58px;
|
|
24
|
+
margin-bottom: 5%;
|
|
25
|
+
text-align: left;
|
|
26
|
+
|
|
27
|
+
h3 {
|
|
28
|
+
height: 24px;
|
|
29
|
+
margin-bottom: 20px;
|
|
30
|
+
font-size: 24px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h5 {
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
::v-deep() .el-form {
|
|
39
|
+
margin-top: 12%;
|
|
40
|
+
|
|
41
|
+
.el-form-item__label {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: flex-start;
|
|
45
|
+
|
|
46
|
+
height: 30px;
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
|
|
49
|
+
.iconfont-app {
|
|
50
|
+
margin: 0 5px;
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
font-weight: 700;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.loginButton {
|
|
58
|
+
position: relative;
|
|
59
|
+
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 40px;
|
|
62
|
+
margin-top: 66px;
|
|
63
|
+
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
|
|
66
|
+
border: 0;
|
|
67
|
+
border-radius: 6px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.icongw-icon-shezhi {
|
|
73
|
+
z-index: 4;
|
|
74
|
+
font-size: 24px;
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ref } from "vue";
|
|
2
|
+
import { useI18n } from "vue-i18n";
|
|
3
|
+
import moment from "dayjs";
|
|
4
|
+
|
|
5
|
+
import { getCode } from "@ganwei-web/gw-app-api/dist/index.es.js";
|
|
6
|
+
import Toast from "@ganwei-web/gw-app-components/toast/index";
|
|
7
|
+
|
|
8
|
+
import hostMap from "@/hostMap";
|
|
9
|
+
import { ILoginModel, LoginResponse } from '@/models';
|
|
10
|
+
import { authService } from "@/request/api";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @description 调用登录接口
|
|
14
|
+
* @param {ILoginModel} loginModel see {@link ILoginModel}
|
|
15
|
+
* @return {*} ` { loading, login } `
|
|
16
|
+
*/
|
|
17
|
+
export default function (loginModel: ILoginModel) {
|
|
18
|
+
const { t } = useI18n()
|
|
19
|
+
|
|
20
|
+
async function login() {
|
|
21
|
+
const data = {
|
|
22
|
+
userName: await getProcessUserName(loginModel.userName),
|
|
23
|
+
password: await getCode.RSAEncrypt(loginModel.password),
|
|
24
|
+
TimeZone: Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone || 'Asia/Shanghai'
|
|
25
|
+
}
|
|
26
|
+
return authService.login(data).then(res => {
|
|
27
|
+
const data = res.data.data;
|
|
28
|
+
if (res.data.code === 200) {
|
|
29
|
+
sessionStorage.roleName = data?.roleName;
|
|
30
|
+
sessionStorage.roleName = loginModel?.userName;
|
|
31
|
+
checkPasswordPolicy(data)
|
|
32
|
+
} else {
|
|
33
|
+
Toast.error(res.data.message);
|
|
34
|
+
}
|
|
35
|
+
}).catch(err => {
|
|
36
|
+
Toast.error(err.data.message);
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
async function getProcessUserName(userName: string) {
|
|
41
|
+
// 2024-08-20 11:23:13
|
|
42
|
+
const _userName = userName + '|' + moment().format('YYYY-MM-DD HH:mm:ss');
|
|
43
|
+
return await getCode.RSAEncrypt(_userName)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function checkPasswordPolicy(data?: LoginResponse) {
|
|
47
|
+
const token = data?.token || ''
|
|
48
|
+
window.sessionStorage.setItem('CSRF_TOKEN', token)
|
|
49
|
+
const indexPage = hostMap('ganwei-app-index') + '?languageType=' + (localStorage.languageType || 'zh-CN') + '&CSRF_TOKEN=' + token
|
|
50
|
+
if (data?.passwordPolicy) {
|
|
51
|
+
window.sessionStorage.removeItem('passwordPolicy');
|
|
52
|
+
switch (data.passwordPolicy.passwordPolicy) {
|
|
53
|
+
case 0:
|
|
54
|
+
Toast.warning('密码过期,请联系管理员');
|
|
55
|
+
break;
|
|
56
|
+
case 1:
|
|
57
|
+
window.sessionStorage.passwordPolicy = 1;
|
|
58
|
+
window.location.href = indexPage;
|
|
59
|
+
break;
|
|
60
|
+
default:
|
|
61
|
+
Toast.success(t('login.msg.afterLogin[2]'));
|
|
62
|
+
window.location.href = indexPage;
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
} else {
|
|
66
|
+
window.location.href = indexPage;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
login
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { onBeforeUnmount, onMounted } from 'vue'
|
|
2
|
+
|
|
3
|
+
import { MyJavaFun } from '@ganwei-web/gw-app-mfe';
|
|
4
|
+
|
|
5
|
+
import { ILoginModel } from '@/models';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @description 调用底层获取/记住账号密码
|
|
9
|
+
* @param {ILoginModel} loginModel see {@link ILoginModel}
|
|
10
|
+
* @return {*} `{ getUser, saveUser }`
|
|
11
|
+
*/
|
|
12
|
+
export default function (loginModel: ILoginModel) {
|
|
13
|
+
function getPassword(pwd: string, userName = '') {
|
|
14
|
+
loginModel.password = pwd;
|
|
15
|
+
if (userName) {
|
|
16
|
+
loginModel.userName = userName;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function getUser(userName: string) {
|
|
21
|
+
return MyJavaFun.getPassword(userName)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @description 保存密码到原生
|
|
26
|
+
* @param {string} userName
|
|
27
|
+
* @param {string} userPwd
|
|
28
|
+
*/
|
|
29
|
+
function saveUser(userName: string, userPwd: string) {
|
|
30
|
+
localStorage.setItem('userName', userName);
|
|
31
|
+
MyJavaFun.setPassword(userName, userPwd)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
onMounted(() => {
|
|
35
|
+
if (!window.getPassword) { window.getPassword = getPassword }
|
|
36
|
+
loginModel.userName = localStorage.getItem('userName') || '';
|
|
37
|
+
getUser(loginModel.userName);
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
onBeforeUnmount(() => {
|
|
41
|
+
window.getPassword = undefined
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
getUser,
|
|
46
|
+
saveUser
|
|
47
|
+
}
|
|
48
|
+
}
|