@ganwei-web/ganwei-pc-cli 6.2.2 → 6.2.4
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/.gitignore +33 -0
- package/ganwei-app-6.2.1/.npmrc +1 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.gitignore +27 -0
- 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/.gitignore +27 -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/.gitignore +27 -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/.gitignore +27 -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/.gitignore +27 -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/.gitignore +27 -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/.gitignore +27 -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/.gitignore +31 -0
- package/ganwei-iotcenter-index-6.2.1/.npmrc +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.gitignore +27 -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/App.vue +5 -0
- 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/index.vue +9 -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/.gitignore +27 -0
- 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/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.gitignore +27 -0
- package/ganwei-pc.js +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createVNode, render } from 'vue';
|
|
2
|
+
import Main from './index.vue';
|
|
3
|
+
|
|
4
|
+
let instance;
|
|
5
|
+
let seed = 1;
|
|
6
|
+
const container = document.createElement('div')
|
|
7
|
+
|
|
8
|
+
function clone (cloneObj, source) {
|
|
9
|
+
for (let prop in source) {
|
|
10
|
+
if (Object.prototype.hasOwnProperty.call(source, prop)) {
|
|
11
|
+
let value = source[prop];
|
|
12
|
+
if (value !== undefined) {
|
|
13
|
+
cloneObj[prop] = value;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return cloneObj;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const Toast = function (options) {
|
|
21
|
+
options = clone({ visible: true }, options);
|
|
22
|
+
const id = 'Toast_' + seed++;
|
|
23
|
+
const userOnClose = options.onClose;
|
|
24
|
+
|
|
25
|
+
options.onClose = function () {
|
|
26
|
+
render(null, container);
|
|
27
|
+
if (typeof userOnClose === 'function') {
|
|
28
|
+
instance ? userOnClose(instance) : userOnClose();
|
|
29
|
+
}
|
|
30
|
+
instance = null;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
if (instance) {
|
|
34
|
+
instance.close();
|
|
35
|
+
instance = null;
|
|
36
|
+
}
|
|
37
|
+
const ToastConstructor = {
|
|
38
|
+
extends: Main,
|
|
39
|
+
data: () => options
|
|
40
|
+
};
|
|
41
|
+
instance = createVNode(ToastConstructor);
|
|
42
|
+
render(instance, container)
|
|
43
|
+
document.body.appendChild(container.firstElementChild)
|
|
44
|
+
|
|
45
|
+
return instance;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
['success', 'error', 'warning', 'info'].forEach(type => {
|
|
49
|
+
Toast[type] = options => {
|
|
50
|
+
if (typeof options === 'string') {
|
|
51
|
+
options = {
|
|
52
|
+
message: options
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
options.type = type;
|
|
56
|
+
return Toast(options);
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
Toast.close = function (userOnClose) {
|
|
61
|
+
instance && instance.component.ctx.close();
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export default Toast;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<transition name="el-fade-in" @after-leave="$emit('destroy')">
|
|
3
|
+
<div class="gw-toast" v-show="visible" role="alert"
|
|
4
|
+
style="position: fixed; z-index: 99999; top: 50%; color: white; transform: translateY(-50%);">
|
|
5
|
+
<div class="gw-toast-inner" :class="{ 'big-msg': isBig, 'has-icon': icon }">
|
|
6
|
+
<template v-if="icon">
|
|
7
|
+
<div class="icon">
|
|
8
|
+
<i class="iconfont-app" :class="icon"></i>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<template v-else>
|
|
12
|
+
<div class="icon" v-if="isBig && type === 'success'">
|
|
13
|
+
<i class="iconfont-app icongw-icon-da-chenggong"></i>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="icon" v-else-if="isBig && type === 'error'">
|
|
16
|
+
<i class="iconfont-app icongw-icon-da-shibai"></i>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
<template v-if="icon">
|
|
20
|
+
<i class="iconfont-app" :class="icon" v-if="!isBig"></i>
|
|
21
|
+
</template>
|
|
22
|
+
<div class="message">
|
|
23
|
+
<el-result :icon="type" :title="message">
|
|
24
|
+
</el-result>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</transition>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
import { ElResult } from 'element-plus'
|
|
33
|
+
export default {
|
|
34
|
+
components: { ElResult },
|
|
35
|
+
name: 'gwToast',
|
|
36
|
+
data () {
|
|
37
|
+
return {
|
|
38
|
+
visible: false,
|
|
39
|
+
message: '',
|
|
40
|
+
duration: 1200,
|
|
41
|
+
type: '',
|
|
42
|
+
customClass: '',
|
|
43
|
+
iconClass: '',
|
|
44
|
+
onClose: null,
|
|
45
|
+
closed: false,
|
|
46
|
+
timer: null,
|
|
47
|
+
isBig: false,
|
|
48
|
+
icon: ''
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
watch: {
|
|
53
|
+
closed (newVal) {
|
|
54
|
+
if (newVal) {
|
|
55
|
+
this.visible = false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
methods: {
|
|
61
|
+
close () {
|
|
62
|
+
this.closed = true;
|
|
63
|
+
if (typeof this.onClose === 'function') {
|
|
64
|
+
this.onClose();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
clearTimer () {
|
|
69
|
+
clearTimeout(this.timer);
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
startTimer () {
|
|
73
|
+
if (this.duration > 0) {
|
|
74
|
+
this.timer = setTimeout(() => {
|
|
75
|
+
if (!this.closed) {
|
|
76
|
+
this.close();
|
|
77
|
+
}
|
|
78
|
+
}, this.duration);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
mounted () {
|
|
84
|
+
if (this.duration > 0) {
|
|
85
|
+
this.timer = setTimeout(() => {
|
|
86
|
+
if (!this.closed) {
|
|
87
|
+
this.close();
|
|
88
|
+
}
|
|
89
|
+
}, this.duration);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
</script>
|
|
94
|
+
|
|
95
|
+
<style lang="scss">
|
|
96
|
+
.gw-toast {
|
|
97
|
+
// width: 170px;
|
|
98
|
+
// height: 156px;
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
align-items: center;
|
|
102
|
+
justify-content: space-between;
|
|
103
|
+
left: 0;
|
|
104
|
+
right: 0;
|
|
105
|
+
margin: 0 auto;
|
|
106
|
+
|
|
107
|
+
.icon .iconfont-app {
|
|
108
|
+
font-size: 61px;
|
|
109
|
+
// height: 61px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.gw-toast-inner {
|
|
114
|
+
max-width: 280px;
|
|
115
|
+
background: rgba(0, 0, 0, 0.8);
|
|
116
|
+
padding: 12px;
|
|
117
|
+
border-radius: 6px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.message {
|
|
121
|
+
font-size: 15px;
|
|
122
|
+
display: flex;
|
|
123
|
+
align-items: center;
|
|
124
|
+
|
|
125
|
+
.iconfont-app,
|
|
126
|
+
.el-icon-circle-close {
|
|
127
|
+
margin-right: 8px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.big-msg {
|
|
132
|
+
padding: 25px 55px;
|
|
133
|
+
|
|
134
|
+
&.has-icon {
|
|
135
|
+
padding: 25px 25px;
|
|
136
|
+
|
|
137
|
+
.icon {
|
|
138
|
+
text-align: center;
|
|
139
|
+
margin-bottom: 8px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.iconfont-app {
|
|
143
|
+
font-size: 24px;
|
|
144
|
+
color: #3874f7;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.icon {
|
|
149
|
+
margin-bottom: 26px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
</style>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import routerUrl from '../../../moduleConfiguration/moduleConfiguration.json'
|
|
2
|
+
const map = {
|
|
3
|
+
'ganwei-app-login': routerUrl.addressMapping['ganwei-app-login'] || "http://localhost:8150/"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export default function hostMap (host) {
|
|
7
|
+
if (process.env.NODE_ENV === 'production') return '/APP/ganwei-app-login/index.html#/Login'
|
|
8
|
+
return map[host]
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import {
|
|
4
|
+
createApp
|
|
5
|
+
} from "vue";
|
|
6
|
+
import Axios from "axios";
|
|
7
|
+
import App from "./App";
|
|
8
|
+
import router from "./router";
|
|
9
|
+
import api from "./request/api";
|
|
10
|
+
import appFrame from "@/components/appFrame/appFrame.vue";
|
|
11
|
+
import "@assets/css/reset.scss";
|
|
12
|
+
import "@assets/css/noDataTips.scss";
|
|
13
|
+
import toast from "./components/toast";
|
|
14
|
+
import i18n from '@/components/i18n/i18n'
|
|
15
|
+
let app;
|
|
16
|
+
app = createApp(App);
|
|
17
|
+
app.component('AppFrame', appFrame)
|
|
18
|
+
app.use(router).use(i18n('ganwei-app-empty-page', app)).mount("#app");
|
|
19
|
+
|
|
20
|
+
app.config.productionTip = false;
|
|
21
|
+
app.config.globalProperties.Axios = Axios;
|
|
22
|
+
|
|
23
|
+
app.config.globalProperties.$message = toast
|
|
24
|
+
app.config.globalProperties.$api = api
|
|
25
|
+
app.config.globalProperties.$MFEManager = window?.$wujie?.props?.MFEManager
|
|
26
|
+
window.$wujie?.props?.MFEManager.setAlive(window)
|
|
27
|
+
console.log('mounted');
|
|
28
|
+
// };
|
|
29
|
+
// window.__WUJIE_UNMOUNT = () => {
|
|
30
|
+
// app.unmount();
|
|
31
|
+
// };
|
|
32
|
+
/*
|
|
33
|
+
由于vite是异步加载,而无界可能采用fiber执行机制
|
|
34
|
+
所以mount的调用时机无法确认,框架调用时可能vite
|
|
35
|
+
还没有加载回来,这里采用主动调用防止用没有mount
|
|
36
|
+
无界mount函数内置标记,不用担心重复mount
|
|
37
|
+
*/
|
|
38
|
+
// window.__WUJIE.mount()
|
|
39
|
+
// }
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* 登录鉴权
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
// import qs from 'qs'; // 根据需求是否导入qs模块
|
|
7
|
+
const Auth = {
|
|
8
|
+
// baohuo
|
|
9
|
+
keepAlive() {
|
|
10
|
+
return this.get('/IoT/api/v3/global/keepalived');
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
// 获取验证码
|
|
14
|
+
getVerificationCode() {
|
|
15
|
+
return this.get('/IoT/api/v3/Auth/GetVerificationCode?codeType=0');
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
// 用户登录,获取token
|
|
19
|
+
login(params) {
|
|
20
|
+
|
|
21
|
+
return this.post(`/IoT/api/v3/Auth/Login?time=${new Date().getTime()}`, params);
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
// 判断是否登录
|
|
25
|
+
isLoggedIn(params) {
|
|
26
|
+
return this.post('/IoT/api/v3/AutoLogin/IsLoggedIn', params);
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
// 用户自动登录
|
|
30
|
+
autoLogin(params) {
|
|
31
|
+
return this.post('/IoT/api/v3/AutoLogin/AutoLogin', params);
|
|
32
|
+
},
|
|
33
|
+
|
|
34
|
+
// 退出登录
|
|
35
|
+
loginOut() {
|
|
36
|
+
return this.get('/IoT/api/v3/Auth/LoginOut');
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
// 用户登录APP,获取token
|
|
40
|
+
// loginApp(params) {
|
|
41
|
+
// return this.post('/api/v3/Auth/KeyAPP', qs.stringify(params));
|
|
42
|
+
// },
|
|
43
|
+
|
|
44
|
+
// 修改密码
|
|
45
|
+
getUpdUserInfoData(data) {
|
|
46
|
+
return this.post('/IoT/api/v3/Auth/UpdUserInfoData', data);
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
// 获取软件授权名称
|
|
50
|
+
getAuthName() {
|
|
51
|
+
return this.get(`/api/v3/Auth/GetAuthName?time=${new Date().getTime()}`);
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
// 获取系统运行信息
|
|
55
|
+
getSystemInfo() {
|
|
56
|
+
return this.get(`/IoT/api/v3/Auth/GetSystemRuntimeInfo?time=${new Date().getTime()}`);
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
// 获取AlarmCenterAPI版本号
|
|
60
|
+
getApiVersion(params) {
|
|
61
|
+
return this.get('/api/v3/Auth/AlarmApiVersion');
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
// 获取用户权限模块
|
|
65
|
+
getUserAuth(params) {
|
|
66
|
+
return this.post('/IoT/api/v3/Auth/GetUserAuth', params);
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
// 获取授权用户名
|
|
70
|
+
getUserName2SF() {
|
|
71
|
+
return this.get(`/IoT/api/v3/Auth/GetName2SF?time=${new Date().getTime()}`);
|
|
72
|
+
},
|
|
73
|
+
GetMenus() {
|
|
74
|
+
return this.get(`/IoT/api/v3/Auth/GetMenus?time=${new Date().getTime()}`)
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
// 获取手机RID
|
|
78
|
+
getRID(params) {
|
|
79
|
+
return this.post('/IoT/api/v3/UserManage/SynAppInfo', params);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export default Auth;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BA设备列表
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const BA = {
|
|
6
|
+
getGroup (data) {
|
|
7
|
+
return this.get('/IoT/api/v3/BA/GetGroupEquip', data)
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
// 分页获取左侧显示设备列表---带搜索
|
|
11
|
+
getEquipLists (data) {
|
|
12
|
+
return this.post('/IoT/api/v3/BA/GroupList', data);
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
// 新增分组
|
|
16
|
+
addGroupEquipList (data) {
|
|
17
|
+
return this.post('/IoT/api/v3/BA/AddGroup', data);
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
// 删除一个分组
|
|
21
|
+
getDeleteGroup (data) {
|
|
22
|
+
return this.post('/IoT/api/v3/BA/DeleteGroup', data);
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
// 重命名分组
|
|
26
|
+
getEquipReName (data) {
|
|
27
|
+
return this.get('/IoT/api/v3/BA/ReNameGroup', data);
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
// 将设备加入分组
|
|
31
|
+
GroupInsertEquips (data) {
|
|
32
|
+
return this.post('/IoT/api/v3/BA/GroupInsertEquip', data);
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
// 将设备从群组里删除
|
|
36
|
+
getGroupDeleteEquip (data) {
|
|
37
|
+
return this.get('/IoT/api/v3/BA/GroupDeleteEquip', data);
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
// 获取抄表设备
|
|
41
|
+
tlRecordEq (data) {
|
|
42
|
+
return this.post('/IoT/api/v3/BA/EquipList', data);
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
// 分页获取一个设备的遥测
|
|
46
|
+
getEquipListYcs (data) {
|
|
47
|
+
return this.post('/IoT/api/v3/BA/EquipYcList', data);
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
// 分页获取一个设备的遥信
|
|
51
|
+
getEquipListYxs (data) {
|
|
52
|
+
return this.post('/IoT/api/v3/BA/EquipYxList', data);
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
// 获取一个设备的控制表
|
|
56
|
+
getEquipControlTable (data) {
|
|
57
|
+
return this.post('/IoT/api/v3/BA/EquipSetparmList', data);
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
// 获取一个设备的遥测状态
|
|
61
|
+
getEquipYcState (data) {
|
|
62
|
+
return this.post('/IoT/api/v3/BA/EquipYcState', data);
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
// 获取一个设备的遥信状态
|
|
66
|
+
getEquipYxState (data) {
|
|
67
|
+
return this.post('/IoT/api/v3/BA/EquipYxState', data);
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
// 获取无状态设备列表
|
|
71
|
+
getNoStateEquipList (data) {
|
|
72
|
+
return this.post('/IoT/api/v3/BA/GroupListNoState', data)
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
// 批量移动设备
|
|
76
|
+
moveToNewGroup (data) {
|
|
77
|
+
return this.post('/IoT/api/v3/BA/BatchMoveEquip', data)
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export default BA;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 设备列表
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const EquipList = {
|
|
6
|
+
|
|
7
|
+
// 获取中英文版本
|
|
8
|
+
getLanguageLogo (data) {
|
|
9
|
+
return this.get(`/IoT/api/v3/Auth/GetLanguageLogo`, data);
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
// 获取所有设备的节点列表---支持分页、搜索
|
|
13
|
+
getEquipListByPage (data) {
|
|
14
|
+
return this.post(`/IoT/api/v3/EquipList/GetEquipListByPage`, data);
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
// 获取所有设备状态---支持分页
|
|
18
|
+
// 获取所有设备的节点列表
|
|
19
|
+
// getEquipLists(data) {
|
|
20
|
+
// return this.post(`/IoT/api/v3/EquipList/GetEquipListByPage`, data);
|
|
21
|
+
// },
|
|
22
|
+
// 获取当前设备遥测、遥信、设置数量
|
|
23
|
+
getYcYxSetNumByEquipNo (data) {
|
|
24
|
+
return this.get(`/IoT/api/v3/EquipList/GetYcYxSetNumByEquipNo?equipNo=${data}&time=${new Date().getTime()}`);
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
// 获取所有设备状态
|
|
28
|
+
getEquipListStateByPage (data) {
|
|
29
|
+
return this.post(`/IoT/api/v3/EquipList/GetEquipListStateByPage`, data);
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// 下拉列表
|
|
33
|
+
// 触发设备项
|
|
34
|
+
togEqDrop (data) {
|
|
35
|
+
return this.post('/IoT/api/v3/EquipList/GetEquipNoAndName', data);
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// 联动设备项
|
|
39
|
+
linkEqDrop (data) {
|
|
40
|
+
return this.post('/IoT/api/v3/EquipList/GetSetEquip', data);
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
// 设备控制项
|
|
44
|
+
evtEqControl (data) {
|
|
45
|
+
return this.post('/IoT/api/v3/EquipList/GetEquipSetParmList', data);
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
// 设备控制项--树状结构
|
|
49
|
+
GetEquipSetParmTreeList (data) {
|
|
50
|
+
return this.post('/IoT/api/v3/EquipList/GetEquipSetParmTreeList', data);
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
// 获取可控设备列表
|
|
54
|
+
getRealEquipSetParmList (data) {
|
|
55
|
+
return this.post('/IoT/api/v3/EquipList/GetRealEquipSetParmList', data);
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
// 获取可看设备列表
|
|
59
|
+
getRealEquipListByPage (data) {
|
|
60
|
+
return this.post('/IoT/api/v3/EquipList/GetRealEquipListByPage', data);
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
// 设备列表模块
|
|
64
|
+
// 指定设备和视频Id获取视频信息
|
|
65
|
+
getEquipNumCatVideoId (data) {
|
|
66
|
+
return this.get('/IoT/api/v3/EquipList/GetVideoInfo?equipNumCatVideoId=' + data);
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
// 获取设备的遥信状态-支持分页搜索
|
|
70
|
+
getYxpItemStateByPage (data) {
|
|
71
|
+
return this.post('/IoT/api/v3/EquipList/GetYxpItemStateByPage', data);
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
// 获取当前设备模拟量集合---支持分页
|
|
75
|
+
getYcpByEquipNo (data) {
|
|
76
|
+
return this.post('/IoT/api/v3/EquipList/GetYcpByEquipNo', data);
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
// 获取当前设备状态量集合——支持分页、搜索
|
|
80
|
+
getYxpByEquipNo (data) {
|
|
81
|
+
return this.post('/IoT/api/v3/EquipList/GetYxpByEquipNo', data);
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
// 获取一个设备对应的控制选项
|
|
85
|
+
getSetParm (data) {
|
|
86
|
+
return this.post('/IoT/api/v3/EquipList/GetSetParmByEquipNo', data);
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
// 获取当前设备单个遥测点的实时状态
|
|
90
|
+
getEquipYcpState (data) {
|
|
91
|
+
return this.post('/IoT/api/v3/EquipList/GetEquipYcpState', data);
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
// 获取历史曲线---水务总览
|
|
95
|
+
getYcpHistroyChartByTime (data) {
|
|
96
|
+
return this.post('/IoT/api/v3/EquipList/GetYcpHistroyChartByTime', data);
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
// 设备列表设置指令下发
|
|
100
|
+
getSetCommandBySetNo (data) {
|
|
101
|
+
return this.post('/IoT/api/v3/EquipList/SetCommandBySetNo', data);
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
// 曲线数据
|
|
105
|
+
getEquipGetCurData (data) {
|
|
106
|
+
return this.post('/IoT/api/v3/EquipList/GetYcpHistroyByTime', data);
|
|
107
|
+
|
|
108
|
+
// return this.post('/IoT/api/v3/BA/EquipCurData', data);
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
exportAbnormalRecord (data) {
|
|
112
|
+
return this.getExcelFile('/IoT/api/v3/EquipList/ExportAbnormalRecord?deviceStatus=' + data.deviceStatus);
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
// 导出历史曲线
|
|
116
|
+
exportCurve (data) {
|
|
117
|
+
return this.post('/IoT/api/v3/EquipList/ExportEquipHistroyCurves', data)
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
// 模板下载
|
|
121
|
+
DownloadTemplateFile () {
|
|
122
|
+
return this.getExcelFile('/IoT/api/v3/ExcelTemplate/Download?templateName=模板管理');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export default EquipList;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 事件查询
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const Event = {
|
|
6
|
+
|
|
7
|
+
// 事件查询
|
|
8
|
+
// 获取设备事件列表
|
|
9
|
+
evtList (data) {
|
|
10
|
+
return this.post('/IoT/api/v3/Event/GetEquipEvtByPage', data);
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
// 获取系统事件列表
|
|
14
|
+
evtSysList (data) {
|
|
15
|
+
return this.post('/IoT/api/v3/Event/GetSysEvtByPage', data);
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
// 系统数据查询
|
|
19
|
+
// 获取数据表
|
|
20
|
+
getTabels () {
|
|
21
|
+
return this.get('/IoT/api/v3/Event/GetHistorySubTables')
|
|
22
|
+
},
|
|
23
|
+
getColumns (data) {
|
|
24
|
+
return this.get('/IoT/api/v3/Event/GetHistorySubColumns', data)
|
|
25
|
+
},
|
|
26
|
+
getSearchResult (data) {
|
|
27
|
+
return this.post('/IoT/api/v3/Event/GetHistorySubs', JSON.stringify(data))
|
|
28
|
+
},
|
|
29
|
+
exportTableData (data) {
|
|
30
|
+
return this.getFile('/IoT/api/v3/Event/BatchExportHistorySubs', JSON.stringify(data))
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Event;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 实时快照
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const RealTime = {
|
|
6
|
+
|
|
7
|
+
// 全局消息提示
|
|
8
|
+
getRealTimeData (data) {
|
|
9
|
+
return this.get(`/IoT/api/v3/RealTime/GetRealTimeData`, data);
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
// 获取事件的报警配置
|
|
13
|
+
getRealTimeEventTypeConfig () {
|
|
14
|
+
return this.get('/IoT/api/v3/RealTime/GetRealTimeEventTypeConfig');
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
// 获取实时快照事件总数
|
|
18
|
+
getRealTimeEventCount (data) {
|
|
19
|
+
return this.get('/IoT/api/v3/RealTime/GetRealTimeEventCount?types=' + data + '×=' + new Date().getTime());
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
// 获取当前系统报警实时事件
|
|
23
|
+
getRealTimeEvent (data) {
|
|
24
|
+
return this.post('/IoT/api/v3/RealTime/GetRealTimeEvent', data);
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
// 确认实时事件状态
|
|
28
|
+
getConfirmedRealTimeEvent (data) {
|
|
29
|
+
return this.post('/IoT/api/v3/RealTime/ConfirmedRealTimeEvent', data);
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// 测试
|
|
33
|
+
getAAA (data) {
|
|
34
|
+
return this.post('/IoT/api/v3/RealTime/GetConfirmedRealTimeEvent', data);
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
// 导出实时快照
|
|
38
|
+
exportRealTimeRecord (data) {
|
|
39
|
+
return this.postBlob('/IoT/api/v3/RealTime/BatchExportRealTime?types=[' + data + ']');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export default RealTime;
|