@ganwei-web/ganwei-pc-cli 6.2.4 → 6.2.6
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-iotcenter-index-6.2.1/configuration/moduleConfiguration.json +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.development +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.production +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.test +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.development +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.production +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.test +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.production +1 -1
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.test +1 -1
- package/ganwei-iotcenter-index-6.2.2/.gitignore +31 -0
- package/ganwei-iotcenter-index-6.2.2/.npmrc +1 -0
- package/ganwei-iotcenter-index-6.2.2/.nvmrc +1 -0
- package/ganwei-iotcenter-index-6.2.2/configuration/cleanNodeModule.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/configuration/gitClone.js +45 -0
- package/ganwei-iotcenter-index-6.2.2/configuration/moduleConfiguration.json +9 -0
- package/ganwei-iotcenter-index-6.2.2/configuration/updateModule.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.2/init.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.2/package.json +46 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.babelrc +4 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/components.d.ts +87 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/index.html +31 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/package.json +90 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +180 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/css/reset.css +1992 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/login-bg.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/drag.js +354 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jquery-3.4.1.min.js +4189 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/config.json +155 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/App.vue +88 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +195 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +256 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +205 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +248 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/equipAlarmDialog/index.vue +203 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/expirationReminder/index.vue +108 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +23 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +331 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +257 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +278 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +147 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +108 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +33 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +110 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +95 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +120 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +265 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/main.js +51 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +38 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/request/api/frame.js +148 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/router.js +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/store.js +228 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/index.js +291 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +257 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/index.html +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/package.json +84 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +180 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/css/reset.css +1992 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/login-bg.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/drag.js +354 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jquery-3.4.1.min.js +4189 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/config.json +155 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/App.vue +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_back.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_front.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_left.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_right.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/clouds_top.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +119 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/loginBg.vue +281 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/router.js +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/login.vue +459 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/mainInfo.vue +62 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/maintenanceInfo.vue +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +239 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/index.html +25 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/package.json +94 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +180 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/css/reset.css +1992 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/http/createAxios--/346/234/252/346/267/273/345/212/240SM/347/211/210/346/234/254.js +486 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/login-bg.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/drag.js +354 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jquery-3.4.1.min.js +4189 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/config.json +155 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/App.vue +41 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/router.js +23 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/src/views/template.vue +49 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
- package/ganwei-iotcenter-index-6.2.2/pnpm-lock.yaml +7962 -0
- package/ganwei-iotcenter-index-6.2.2/pnpm-workspace.yaml +3 -0
- package/package.json +2 -1
- package/src/createQuestions.js +1 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API超时配置
|
|
3
|
+
* 定义不同API的超时时间
|
|
4
|
+
*/
|
|
5
|
+
const overTimeList = [
|
|
6
|
+
{ api: "/IoT/api/v3/GWAssembly/InstallAppStorePlugin", timeout: 1800000 },
|
|
7
|
+
{ api: "/IoT/api/v3/Event/GetEquipEvtCounts", timeout: 1800000 },
|
|
8
|
+
{ api: "/IoT/api/v3/Event/GetEquipEvtByPage", timeout: 1800000 },
|
|
9
|
+
{ api: "/IoT/api/v3/Event/GetSysEvtByPage", timeout: 1800000 },
|
|
10
|
+
{ api: "/IoT/api/v3/HistoryData/GetYcYxList", timeout: 1800000 },
|
|
11
|
+
{ api: "/IoT/api/v3/EquipList/GetYcpHistroyByTime", timeout: 1800000 },
|
|
12
|
+
{ api: "/IoT/api/v3/EquipList/ExportEquipHistroyCurves", timeout: 1800000 },
|
|
13
|
+
{ api: "/IoT/api/v3/EquipList/ExportAbnormalRecord", timeout: 1800000 },
|
|
14
|
+
{ api: "/IoT/api/v3/Record/GetRecordListByPage", timeout: 1800000 },
|
|
15
|
+
{ api: "/IoT/api/v3/GWAssembly/BatchInstallAppStorePlugin", timeout: 1800000 }
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Axios封装
|
|
20
|
+
* 请求拦截、响应拦截、错误统一处理
|
|
21
|
+
* @param {Object} _this - 上下文对象
|
|
22
|
+
*/
|
|
23
|
+
(function (_this) {
|
|
24
|
+
/**
|
|
25
|
+
* 获取URL参数映射
|
|
26
|
+
* 将URL参数转换为Map对象
|
|
27
|
+
* @returns {Map} 返回参数Map对象
|
|
28
|
+
*/
|
|
29
|
+
const getParameterMap = () => {
|
|
30
|
+
let parameters = window.location.href.split("?")[1];
|
|
31
|
+
let map = new Map()
|
|
32
|
+
|
|
33
|
+
if (!parameters) return map;
|
|
34
|
+
let data = parameters.indexOf("&") != -1 ? parameters.split("&") : [parameters]
|
|
35
|
+
for (let i = 0; i < data.length; i++) {
|
|
36
|
+
let arry = data[i].split("=")
|
|
37
|
+
map.set(arry[0], arry[1])
|
|
38
|
+
}
|
|
39
|
+
return map;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 检查并设置CSRF令牌
|
|
43
|
+
if (getParameterMap().get('CSRF_TOKEN')) {
|
|
44
|
+
window.sessionStorage.CSRF_TOKEN = getParameterMap().get('CSRF_TOKEN')
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
let currentAxiosBuilder = null
|
|
48
|
+
const timeoutNoTips = ['/api/ServiceManage/GetServiceStatus']
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 弹窗提示
|
|
52
|
+
* 显示错误消息提示
|
|
53
|
+
* @param {string} msg - 键值文本
|
|
54
|
+
* @param {number} duration - 延迟时间
|
|
55
|
+
*/
|
|
56
|
+
const tip = async (msg, duration) => {
|
|
57
|
+
let languagePackage = {}
|
|
58
|
+
try {
|
|
59
|
+
if (sessionStorage.languagePackage) languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
60
|
+
} catch (error) {
|
|
61
|
+
console.log(error)
|
|
62
|
+
}
|
|
63
|
+
if (!languagePackage || !languagePackage[localStorage.languageType] || !languagePackage[localStorage.languageType].login) {
|
|
64
|
+
await getLoginLanuage('ganwei-iotcenter-login', 'login', 'Ganweisoft.IoTCenter.Module.Login', msg, duration)
|
|
65
|
+
} else {
|
|
66
|
+
messageTips(msg, duration)
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* 获取登录语言包
|
|
72
|
+
* 请求并设置登录页面的语言包
|
|
73
|
+
* @param {string} pluginName - 插件名称
|
|
74
|
+
* @param {string} menuName - 菜单名称
|
|
75
|
+
* @param {string} packageId - 包ID
|
|
76
|
+
* @param {string} msg - 消息
|
|
77
|
+
* @param {number} duration - 延迟时间
|
|
78
|
+
*/
|
|
79
|
+
async function getLoginLanuage(pluginName, menuName, packageId, msg, duration) {
|
|
80
|
+
await _this.requestLanguage(pluginName, menuName, packageId, '').then(res => {
|
|
81
|
+
if (!sessionStorage.languageType) { sessionStorage.languageType = localStorage.languageType }
|
|
82
|
+
if (currentAxiosBuilder.i18n && currentAxiosBuilder.i18n.global && currentAxiosBuilder.i18n.global.messages) {
|
|
83
|
+
currentAxiosBuilder.i18n.global.messages.value[sessionStorage.languageType][menuName] = res
|
|
84
|
+
}
|
|
85
|
+
}).catch(err => {
|
|
86
|
+
console.log(err)
|
|
87
|
+
}).finally(o => {
|
|
88
|
+
messageTips(msg, duration)
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 消息提示
|
|
94
|
+
* 显示错误消息
|
|
95
|
+
* @param {string} msg - 消息
|
|
96
|
+
* @param {number} duration - 延迟时间
|
|
97
|
+
*/
|
|
98
|
+
function messageTips(msg, duration) {
|
|
99
|
+
currentAxiosBuilder.notification({
|
|
100
|
+
message: currentAxiosBuilder.i18n.global.t(msg),
|
|
101
|
+
duration: duration,
|
|
102
|
+
type: 'error'
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 合并API配置
|
|
108
|
+
* 合并现有的API配置和新的API配置
|
|
109
|
+
* @param {Array} webApis - 现有的API配置
|
|
110
|
+
* @param {Array} apis - 新的API配置
|
|
111
|
+
* @returns {Array} 合并后的API配置
|
|
112
|
+
*/
|
|
113
|
+
_this.mergeApi = function (webApis, apis) {
|
|
114
|
+
let newApis = []
|
|
115
|
+
if (webApis && apis) {
|
|
116
|
+
newApis = [...webApis]
|
|
117
|
+
for (let i = 0; i < apis.length; i++) {
|
|
118
|
+
let api = apis[i]
|
|
119
|
+
let hasApi = newApis.some(item => item.api === api.api)
|
|
120
|
+
if (!hasApi) {
|
|
121
|
+
newApis.push(api)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return newApis
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* 跳转登录页
|
|
130
|
+
* 携带当前页面路由,以期在登录页面完成登录后返回当前页面
|
|
131
|
+
*/
|
|
132
|
+
const toLogin = async () => {
|
|
133
|
+
try {
|
|
134
|
+
if (top.location.href.toLowerCase().indexOf('login') == -1) {
|
|
135
|
+
let languagePackage = {}
|
|
136
|
+
try {
|
|
137
|
+
if (sessionStorage.languagePackage) languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
138
|
+
} catch (error) {
|
|
139
|
+
console.log(error)
|
|
140
|
+
}
|
|
141
|
+
if (!languagePackage || !languagePackage[localStorage.languageType] || !languagePackage[localStorage.languageType].login) {
|
|
142
|
+
await getLoginLanuage('ganwei-iotcenter-login', 'login', 'Ganweisoft.IoTCenter.Module.Login', msg, duration)
|
|
143
|
+
}
|
|
144
|
+
currentAxiosBuilder.elmessageBox && currentAxiosBuilder.elmessageBox.confirm(
|
|
145
|
+
currentAxiosBuilder.i18n.global.t('login.noAccess.noAccess[7]'),
|
|
146
|
+
currentAxiosBuilder.i18n.global.t('login.mainInfoDialog.tips.tip'),
|
|
147
|
+
{
|
|
148
|
+
confirmButtonText: currentAxiosBuilder.i18n.global.t('login.publics.button.confirm'),
|
|
149
|
+
cancelButtonText: currentAxiosBuilder.i18n.global.t('login.publics.button.cancel'),
|
|
150
|
+
type: 'warning',
|
|
151
|
+
showClose: false,
|
|
152
|
+
closeOnClickModal: false,
|
|
153
|
+
closeOnPressEscape: false,
|
|
154
|
+
showCancelButton: false,
|
|
155
|
+
showConfirmButton: true,
|
|
156
|
+
customClass: 'logoutTip'
|
|
157
|
+
}
|
|
158
|
+
).then(() => {
|
|
159
|
+
jumpPage('ganwei-iotcenter-login')
|
|
160
|
+
}).catch((e) => {
|
|
161
|
+
try {
|
|
162
|
+
currentAxiosBuilder.elmessageBox = _this.top.AxiosBuilder.elmessageBox || _this.elmessageBox
|
|
163
|
+
} catch (error) {
|
|
164
|
+
currentAxiosBuilder.elmessageBox = _this.elmessageBox
|
|
165
|
+
}
|
|
166
|
+
})
|
|
167
|
+
currentAxiosBuilder.elmessageBox = null
|
|
168
|
+
}
|
|
169
|
+
} catch (error) {
|
|
170
|
+
console.log(error)
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* 跳转判断
|
|
176
|
+
* 根据环境跳转到指定页面
|
|
177
|
+
* @param {string} page - 路由
|
|
178
|
+
*/
|
|
179
|
+
const jumpPage = (page) => {
|
|
180
|
+
try {
|
|
181
|
+
_this.top.location.href = _this.top.isProduction ? `${_this.top.location.origin}/${page}` : hostMap(page)
|
|
182
|
+
} catch (error) {
|
|
183
|
+
_this.top.location.href = hostMap(page)
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 主机映射
|
|
189
|
+
* 根据环境获取主机地址
|
|
190
|
+
* @param {string} host - 主机名
|
|
191
|
+
* @returns {string} 主机地址
|
|
192
|
+
*/
|
|
193
|
+
function hostMap(host) {
|
|
194
|
+
if (_this.top.isProduction) return host;
|
|
195
|
+
let hostLocalMap = JSON.parse(localStorage.hostMap || '{}')
|
|
196
|
+
return hostLocalMap[host] || host;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* 服务器存在响应状态码处理
|
|
201
|
+
* @param {Number} status 请求失败的状态码
|
|
202
|
+
* 401 cookie过期,后端重定向,检测到?ReturnUrl=则跳转登录页
|
|
203
|
+
* 403 拒绝访问,无权限,不处理
|
|
204
|
+
* 404 缺失,不处理
|
|
205
|
+
* 500 ghost关闭或者其它异常,不处理
|
|
206
|
+
* 501 服务异常,不处理
|
|
207
|
+
* 504 服务异常,跳转登录页
|
|
208
|
+
* default 其它情况不做处理
|
|
209
|
+
*/
|
|
210
|
+
const errorHandle = function (status, other) {
|
|
211
|
+
// 状态码判断
|
|
212
|
+
switch (status) {
|
|
213
|
+
case 401:
|
|
214
|
+
if (window.sessionStorage.getItem('isSsoLogin')) {
|
|
215
|
+
window.sessionStorage.clear()
|
|
216
|
+
jumpPage('/ganwei-iotcenter-login/ssoLogout')
|
|
217
|
+
} else {
|
|
218
|
+
toLogin()
|
|
219
|
+
}
|
|
220
|
+
break
|
|
221
|
+
case 403:
|
|
222
|
+
tip('login.framePro.tips.noOparate', 2000)
|
|
223
|
+
break
|
|
224
|
+
case 404:
|
|
225
|
+
break
|
|
226
|
+
case 500:
|
|
227
|
+
break
|
|
228
|
+
case 501:
|
|
229
|
+
break
|
|
230
|
+
case 504:
|
|
231
|
+
toLogin()
|
|
232
|
+
break
|
|
233
|
+
default:
|
|
234
|
+
break
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* 默认响应拦截器配置
|
|
240
|
+
* 定义请求成功和失败的回调函数
|
|
241
|
+
*/
|
|
242
|
+
let defaultResponseInterceptorConfig = {
|
|
243
|
+
/**
|
|
244
|
+
* 请求成功回调
|
|
245
|
+
* @param {Object} res - 响应对象
|
|
246
|
+
* @returns {Promise} 返回Promise对象
|
|
247
|
+
*/
|
|
248
|
+
fullfilled: res => {
|
|
249
|
+
if (res.status === 200 || res.status === 201 || res.status === 204) {
|
|
250
|
+
let requestData = res.request
|
|
251
|
+
if (requestData.responseURL.indexOf('?ReturnUrl=') != -1) {
|
|
252
|
+
toLogin()
|
|
253
|
+
return
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return res.status === 200 || res.status === 201 ? Promise.resolve(res) : Promise.reject(res)
|
|
257
|
+
},
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 请求失败回调
|
|
261
|
+
* @param {Object} err - 错误对象
|
|
262
|
+
* @returns {Promise} 返回Promise对象
|
|
263
|
+
*/
|
|
264
|
+
reject: function axiosRetryInterceptor(err) {
|
|
265
|
+
let codeToLowerCase = err.code.toLowerCase()
|
|
266
|
+
const instance = currentAxiosBuilder.axios
|
|
267
|
+
const { response } = err
|
|
268
|
+
let retryWhiteList = err.config.retryWhiteList, url = err.config.url, location = url.split('?')[0]
|
|
269
|
+
if (typeof err.code == 'string' && codeToLowerCase.includes('err_network') && !timeoutNoTips.includes(location)) {
|
|
270
|
+
toLogin();
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
let ifRetryApi = retryWhiteList.findIndex(reg => reg && reg.test(location)) > -1
|
|
274
|
+
|
|
275
|
+
// 具有返回值且不属于重复请求API
|
|
276
|
+
if (response && !ifRetryApi) {
|
|
277
|
+
errorHandle(response.status, response)
|
|
278
|
+
return Promise.reject(response)
|
|
279
|
+
} else if (response == undefined || ifRetryApi) {
|
|
280
|
+
let config = err.config
|
|
281
|
+
if (ifRetryApi) {
|
|
282
|
+
// 记录当前重连次数,初始化默认为0
|
|
283
|
+
config.__retryCount = config.__retryCount || 0
|
|
284
|
+
|
|
285
|
+
// 超过重连次数时,retry为配置管理获取次数
|
|
286
|
+
if (config.__retryCount >= config.retry) {
|
|
287
|
+
// 超过重连次数且有响应内容时,进行相应的错误处理
|
|
288
|
+
if (response) {
|
|
289
|
+
errorHandle(response.status, response)
|
|
290
|
+
return Promise.reject(response)
|
|
291
|
+
}
|
|
292
|
+
tip('login.framePro.tips.overtime', 3000)
|
|
293
|
+
return Promise.reject({})
|
|
294
|
+
}
|
|
295
|
+
// 重连次数加一
|
|
296
|
+
config.__retryCount += 1
|
|
297
|
+
|
|
298
|
+
// 创建一个新的promise来处理请求
|
|
299
|
+
let backoff = new Promise(function (resolve) {
|
|
300
|
+
setTimeout(function () {
|
|
301
|
+
resolve()
|
|
302
|
+
}, config.retryDelay || 1000)
|
|
303
|
+
})
|
|
304
|
+
|
|
305
|
+
// 返回一个axios重试请求的promise
|
|
306
|
+
return backoff.then(function () {
|
|
307
|
+
return instance(config)
|
|
308
|
+
})
|
|
309
|
+
}
|
|
310
|
+
// 接口请求超时的处理
|
|
311
|
+
if (response == undefined) {
|
|
312
|
+
|
|
313
|
+
if (!timeoutNoTips.includes(location)) {
|
|
314
|
+
tip('login.framePro.tips.overtime', 3000)
|
|
315
|
+
}
|
|
316
|
+
return Promise.reject({})
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* HTTP配置
|
|
324
|
+
* 定义默认的HTTP请求配置
|
|
325
|
+
*/
|
|
326
|
+
let httpConfig = {
|
|
327
|
+
countRetry: 0,
|
|
328
|
+
timeout: 30000,
|
|
329
|
+
retryDelay: 3000
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* 定义AxiosBuilder并挂载window
|
|
334
|
+
* 创建AxiosBuilder构造函数
|
|
335
|
+
* @return {*} 返回AxiosBuilder实例
|
|
336
|
+
*/
|
|
337
|
+
_this['AxiosBuilder'] = function AxiosBuilder() {
|
|
338
|
+
this.axios = window.axios
|
|
339
|
+
this.config = {}
|
|
340
|
+
this.requestInterceptor = []
|
|
341
|
+
this.responseInterceptor = []
|
|
342
|
+
this.i18n = null
|
|
343
|
+
this.notification = null
|
|
344
|
+
this.elmessageBox = null
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* 配置提示组件
|
|
349
|
+
* 设置国际化、通知和消息框组件
|
|
350
|
+
* @param {Object} i18n - 国际化对象
|
|
351
|
+
* @param {Object} notification - 通知组件
|
|
352
|
+
* @param {Object} elmessageBox - 消息框组件
|
|
353
|
+
* @returns {Object} 返回当前实例
|
|
354
|
+
*/
|
|
355
|
+
_this['AxiosBuilder'].prototype.withTipConfig = function withTipConfig(i18n, notification, elmessageBox) {
|
|
356
|
+
_this.i18n = this.i18n = i18n
|
|
357
|
+
_this.notification = this.notification = notification
|
|
358
|
+
_this.elmessageBox = this.elmessageBox = elmessageBox
|
|
359
|
+
try {
|
|
360
|
+
if (_this.top.AxiosBuilder.i18n) { this.i18n = _this.top.AxiosBuilder.i18n }
|
|
361
|
+
if (_this.top.AxiosBuilder.notification) { this.notification = _this.top.AxiosBuilder.notification }
|
|
362
|
+
if (_this.top.AxiosBuilder.elmessageBox) { this.elmessageBox = _this.top.AxiosBuilder.elmessageBox }
|
|
363
|
+
} catch (error) { }
|
|
364
|
+
_this.AxiosBuilder = this
|
|
365
|
+
return this
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* 配置默认参数
|
|
370
|
+
* 设置默认的HTTP配置
|
|
371
|
+
* @param {Object} config - 配置对象
|
|
372
|
+
* @returns {Object} 返回当前实例
|
|
373
|
+
*/
|
|
374
|
+
_this['AxiosBuilder'].prototype.withDeafultConfig = function withDeafultConfig(config) {
|
|
375
|
+
this.config = config || httpConfig
|
|
376
|
+
return this
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* 配置请求拦截器
|
|
381
|
+
* 添加请求拦截器
|
|
382
|
+
* @param {Array} requestInterceptor - 请求拦截器数组
|
|
383
|
+
* @returns {Object} 返回当前实例
|
|
384
|
+
*/
|
|
385
|
+
_this['AxiosBuilder'].prototype.withRequestInterceptor = function withRequestInterceptor(requestInterceptor) {
|
|
386
|
+
if (Array.isArray(requestInterceptor) && requestInterceptor[0] instanceof Function && requestInterceptor[1] instanceof Function) {
|
|
387
|
+
this.requestInterceptor.push(requestInterceptor)
|
|
388
|
+
} else {
|
|
389
|
+
console.error('requestInterceptor should be [(config) => {}, (error) => {}]')
|
|
390
|
+
}
|
|
391
|
+
return this
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 配置响应拦截器
|
|
396
|
+
* 添加响应拦截器
|
|
397
|
+
* @param {Array} responseInterceptor - 响应拦截器数组
|
|
398
|
+
* @returns {Object} 返回当前实例
|
|
399
|
+
*/
|
|
400
|
+
_this['AxiosBuilder'].prototype.withResponseInterceptor = function withResponseInterceptor(responseInterceptor) {
|
|
401
|
+
if (Array.isArray(responseInterceptor) && responseInterceptor[0] instanceof Function && responseInterceptor[1] instanceof Function) {
|
|
402
|
+
this.responseInterceptor.push(responseInterceptor)
|
|
403
|
+
} else {
|
|
404
|
+
console.error('responseInterceptor should be [(response) => {}, (error) => {}]')
|
|
405
|
+
}
|
|
406
|
+
return this
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* 配置默认请求拦截器
|
|
411
|
+
* 添加默认的请求拦截器
|
|
412
|
+
* @returns {Object} 返回当前实例
|
|
413
|
+
*/
|
|
414
|
+
_this['AxiosBuilder'].prototype.withDeafultRequestInterceptor = function withDeafultRequestInterceptor() {
|
|
415
|
+
this.requestInterceptor.push([
|
|
416
|
+
config => {
|
|
417
|
+
config.headers['Accept-Language'] = window.localStorage.languageType || 'zh-CN'
|
|
418
|
+
config.headers['Xsrf-Token'] = window.sessionStorage.CSRF_TOKEN || ''
|
|
419
|
+
// config.url = config.url + (config.url.indexOf("?") != -1 ? "&culture=" : "?culture=") + window.localStorage.languageType
|
|
420
|
+
let specialConfig = config.overTimeList.find((i, index) => {
|
|
421
|
+
return i.api === (config.url.indexOf("?") != -1 ? config.url.split("?")[0] : config.url)
|
|
422
|
+
});
|
|
423
|
+
if (specialConfig) {
|
|
424
|
+
config.timeout = specialConfig.timeout;
|
|
425
|
+
}
|
|
426
|
+
return config
|
|
427
|
+
},
|
|
428
|
+
error => Promise.error(error)
|
|
429
|
+
])
|
|
430
|
+
return this
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* 配置默认响应拦截器
|
|
435
|
+
* 添加默认的响应拦截器
|
|
436
|
+
* @returns {Object} 返回当前实例
|
|
437
|
+
*/
|
|
438
|
+
_this['AxiosBuilder'].prototype.withDeafultResponseInterceptor = function withDeafultResponseInterceptor() {
|
|
439
|
+
this.responseInterceptor.push([defaultResponseInterceptorConfig.fullfilled, defaultResponseInterceptorConfig.reject])
|
|
440
|
+
return this
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* 构建Axios实例
|
|
445
|
+
* 创建并配置Axios实例
|
|
446
|
+
* @returns {Object} 返回当前实例
|
|
447
|
+
*/
|
|
448
|
+
_this['AxiosBuilder'].prototype.build = function build() {
|
|
449
|
+
this.axios = window.axios.create(this.config)
|
|
450
|
+
this.axios.defaults.headers.post['Content-Type'] = 'application/json'
|
|
451
|
+
this.axios.defaults.headers['X-Requested-With'] = 'IoT-XMLHttpRequest'
|
|
452
|
+
this.axios.defaults.withCredentials = true
|
|
453
|
+
this.requestInterceptor.forEach(r => {
|
|
454
|
+
this.axios.interceptors.request.use(...r)
|
|
455
|
+
})
|
|
456
|
+
this.responseInterceptor.forEach(r => {
|
|
457
|
+
this.axios.interceptors.response.use(...r)
|
|
458
|
+
})
|
|
459
|
+
|
|
460
|
+
this.axios.defaults['timeout'] = httpConfig.timeout
|
|
461
|
+
this.axios.defaults['retry'] = httpConfig.countRetry
|
|
462
|
+
this.axios.defaults['retryDelay'] = httpConfig.retryDelay
|
|
463
|
+
this.axios.defaults['retryWhiteList'] = []
|
|
464
|
+
this.axios.defaults['overTimeList'] = []
|
|
465
|
+
_this.getConfigInfoData().then(res => {
|
|
466
|
+
if (res.httpConfig) {
|
|
467
|
+
this.axios.defaults['timeout'] = res.httpConfig.timeout
|
|
468
|
+
this.axios.defaults['retry'] = res.httpConfig.countRetry
|
|
469
|
+
this.axios.defaults['retryDelay'] = res.httpConfig.retryDelay
|
|
470
|
+
this.axios.defaults['retryWhiteList'] = Array.from(new Set(res.httpConfig.retryWhiteList.replaceAll('\n', '').split(','))).map(str => str && new RegExp(str))
|
|
471
|
+
this.axios.defaults['overTimeList'] = _this.mergeApi(res.httpConfig.overTimeList || [], overTimeList)
|
|
472
|
+
}
|
|
473
|
+
})
|
|
474
|
+
return this
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* 获取Axios实例
|
|
479
|
+
* 设置当前AxiosBuilder实例并返回Axios实例
|
|
480
|
+
* @returns {Object} 返回Axios实例
|
|
481
|
+
*/
|
|
482
|
+
_this['AxiosBuilder'].prototype.getInstance = function getInstance() {
|
|
483
|
+
currentAxiosBuilder = this
|
|
484
|
+
return this.axios
|
|
485
|
+
}
|
|
486
|
+
})(window)
|