@ganwei-web/ganwei-pc-cli 6.2.6 → 6.2.7
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/packages/ganwei-app-empty-page/pnpm-lock.yaml +5034 -5034
- package/ganwei-app-6.2.1/packages/ganwei-app-home/src/views/ganwei-app-home/src/components/eslint.config.js +10 -10
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +705 -705
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -1167
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -2025
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -628
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -73
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -4024
- package/ganwei-app-6.2.1/packages/ganwei-app-login/package.json +78 -78
- package/ganwei-app-6.2.1/packages/ganwei-app-template/auto-imports.d.ts +5 -5
- package/ganwei-app-6.2.1/packages/ganwei-app-template/components.d.ts +14 -14
- package/ganwei-app-6.2.1/packages/ganwei-app-template/package.json +76 -76
- package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -8810
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.2/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -5
- package/ganwei-iotcenter-index-6.2.2/pnpm-lock.yaml +7962 -7962
- package/ganwei-iotcenter-index-6.2.3/.gitignore +31 -0
- package/ganwei-iotcenter-index-6.2.3/.npmrc +1 -0
- package/ganwei-iotcenter-index-6.2.3/.nvmrc +1 -0
- package/ganwei-iotcenter-index-6.2.3/configuration/clean.cjs +48 -0
- package/ganwei-iotcenter-index-6.2.3/configuration/cleanNodeModule.js +18 -0
- package/ganwei-iotcenter-index-6.2.3/configuration/gitClone.js +45 -0
- package/ganwei-iotcenter-index-6.2.3/configuration/moduleConfiguration.json +9 -0
- package/ganwei-iotcenter-index-6.2.3/configuration/updateModule.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.3/init.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.3/package.json +47 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.babelrc +4 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/enteryJson.js +8 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/components.d.ts +87 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/index.html +33 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/package.json +92 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/ElementPlusAdapter.css +1417 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +396 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/css/reset.css +1988 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.3/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.3/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/login-bg.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/drag.js +391 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery-3.4.1.min.js +4189 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/sm4Encrypt.js +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/config.json +155 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +457 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +463 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/App.vue +88 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/Index.vue +113 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/features/Form/InputPassword/index.vue +101 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/equipAlarmDialog/index.vue +203 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/expirationReminder/index.vue +108 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +49 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/notificationSlot/index.vue +124 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +331 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +257 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +99 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +278 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +156 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +108 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +34 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +40 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +151 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +96 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +160 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +61 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +152 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +432 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +82 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/AsideMenu.vue +473 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/ContractMenu.vue +347 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Navigation/TopNav.vue +393 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/layouts/Sidebar/LeftContent/index.vue +643 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +145 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +265 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useAuth.ts +269 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useDialog.ts +68 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useFullscreen.ts +100 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/usePermission.ts +230 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/composables/useTheme.ts +115 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/main.js +52 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +60 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api/frame.js +148 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/router.js +34 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/main.example.js +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.init.js +362 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.esm.min.js +7 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socket.io.js +118 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketexample.vue +150 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketplugin.js +10 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/services/socketservice.js +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/store.js +228 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/bubbleSort.ts +168 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/sm4Encrypt.js +200 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/Index.vue +118 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/index.js +381 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +271 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/tsconfig.json +64 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/index.html +34 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/package.json +85 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +180 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/css/reset.css +1992 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.3/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.3/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-bg.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery-3.4.1.min.js +4189 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/config.json +155 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/App.vue +71 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_back.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_front.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_left.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_right.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/clouds_top.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +119 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/loginBg.vue +281 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/router.js +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/login.vue +459 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/mainInfo.vue +62 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/maintenanceInfo.vue +67 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +239 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/tsconfig.json +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.gitignore +27 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/index.html +25 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/package.json +95 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +396 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +4195 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +7324 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +434 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +232 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/js/getUserPermissionList.js +58 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +457 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +463 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/App.vue +53 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/hostMap.ts +45 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/main.ts +48 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api/template.ts +3 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/api.ts +10 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/request/index.ts +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/request/models/response/index.ts +0 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/router.ts +37 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/src/views/template.vue +19 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/tsconfig.json +55 -0
- package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-template/vite.config.ts +233 -0
- package/ganwei-iotcenter-index-6.2.3/pnpm-lock.yaml +8724 -0
- package/ganwei-iotcenter-index-6.2.3/pnpm-workspace.yaml +3 -0
- package/ganwei-iotcenter-index-6.2.3/scripts/ensure-all-modules.js +139 -0
- package/ganwei-pc.js +3 -3
- package/package.json +30 -29
- package/src/createQuestions.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-empty-page/stats.html +0 -356
- package/ganwei-app-6.2.1/packages/ganwei-app-home/stats.html +0 -4975
- package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +0 -4975
- package/ganwei-app-6.2.1/packages/ganwei-app-login/stats.html +0 -4975
- package/ganwei-app-6.2.1/packages/ganwei-app-set-page/stats.html +0 -4975
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
|
|
3
|
+
* @file: types.js
|
|
4
|
+
|
|
5
|
+
* @author: 敢为软件
|
|
6
|
+
|
|
7
|
+
* @update: 2020-06-30
|
|
8
|
+
|
|
9
|
+
*/
|
|
10
|
+
export const LOGIN = 'login';
|
|
11
|
+
export const LOGOUT = 'logout';
|
|
12
|
+
export const TITLE = 'title';
|
|
13
|
+
export const LANG = 'lang';
|
|
14
|
+
export const RTCSW = 'rtc';
|
|
15
|
+
export const WATERMARKSTRING = 'watermarkstring';
|
|
16
|
+
export const WATERMARKTOGGLE = 'watermarktoggle';
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bus,
|
|
3
|
+
destroyApp,
|
|
4
|
+
preloadApp,
|
|
5
|
+
setupApp} from 'wujie'
|
|
6
|
+
import {
|
|
7
|
+
idToSandboxCacheMap
|
|
8
|
+
} from 'wujie/esm/common.js'
|
|
9
|
+
|
|
10
|
+
import hostMap from '../hostMap'
|
|
11
|
+
export function combineQuery (name, query, route) {
|
|
12
|
+
let packageName = name;
|
|
13
|
+
let queryArray = Object.entries(query);
|
|
14
|
+
|
|
15
|
+
if (!this.$hostMap(packageName)) {
|
|
16
|
+
throw new Error(`模块 ${packageName} 未在 hostMap 中定义入口`);
|
|
17
|
+
}
|
|
18
|
+
if (route || queryArray.length > 0) {
|
|
19
|
+
return hostMap(packageName) + '/#/' + (route || '') + queryArray.reduce((pre, [key, value]) => pre + `${key}=${value}`, '?');
|
|
20
|
+
}
|
|
21
|
+
return hostMap(packageName);
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// 管理嵌入模块
|
|
26
|
+
// 管理需要提供特殊功能的模块(非页面),可能多个模块需要预加载这些模块,如:二维码扫描,拍照图片上传
|
|
27
|
+
export class MFEManager {
|
|
28
|
+
router = null
|
|
29
|
+
route = null
|
|
30
|
+
limit = 0
|
|
31
|
+
theme = localStorage.theme || 'dark'
|
|
32
|
+
myJavaFun = ''
|
|
33
|
+
constructor({
|
|
34
|
+
limit,
|
|
35
|
+
router,
|
|
36
|
+
route,
|
|
37
|
+
myJavaFun
|
|
38
|
+
}) {
|
|
39
|
+
this.limit = limit
|
|
40
|
+
this.router = router
|
|
41
|
+
this.route = route
|
|
42
|
+
this.myJavaFun = myJavaFun
|
|
43
|
+
window.idToSandboxCacheMap = idToSandboxCacheMap
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
get size () {
|
|
47
|
+
return idToSandboxCacheMap.size;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
setTheme (value) {
|
|
51
|
+
|
|
52
|
+
changeTheme(window, value)
|
|
53
|
+
Array.from(idToSandboxCacheMap.entries()).forEach(([packageName, instance]) => {
|
|
54
|
+
changeTheme(instance.wujie.iframe.contentWindow, value)
|
|
55
|
+
});
|
|
56
|
+
bus.$emit('changeTheme', value);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
getUrl (appWindow, options) {
|
|
60
|
+
let {
|
|
61
|
+
name,
|
|
62
|
+
query,
|
|
63
|
+
route
|
|
64
|
+
} = options
|
|
65
|
+
if (!name) {
|
|
66
|
+
name = appWindow.__WUJIE.id
|
|
67
|
+
}
|
|
68
|
+
return combineQuery(name, query, route)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
preloadApp (appWindow, options) {
|
|
72
|
+
if (this.limit && this.size >= this.limit) {
|
|
73
|
+
console.warn("预加载子页面超过上限:" + this.limit)
|
|
74
|
+
return
|
|
75
|
+
}
|
|
76
|
+
preloadApp(options);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
setupApp (options) {
|
|
80
|
+
|
|
81
|
+
setupApp(options);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
destroyApp (appWindow) {
|
|
85
|
+
appWindow.__WUJIE?.inject?.idToSandboxMap.clear();
|
|
86
|
+
appWindow.__WUJIE.id && destroyApp(appWindow.__WUJIE.id);
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
setAlive (appWindow, isAlive = true) {
|
|
91
|
+
let revokeSetAlive = null;
|
|
92
|
+
if (appWindow.__POWERED_BY_WUJIE__ && appWindow.__WUJIE) {
|
|
93
|
+
// 设置实例保活配置
|
|
94
|
+
if (appWindow.__WUJIE.alive !== isAlive) {
|
|
95
|
+
appWindow.__WUJIE.alive = isAlive;
|
|
96
|
+
// 设置实例保活配置缓存
|
|
97
|
+
setupApp({
|
|
98
|
+
name: appWindow.__WUJIE.id,
|
|
99
|
+
alive: isAlive
|
|
100
|
+
})
|
|
101
|
+
revokeSetAlive = () => {
|
|
102
|
+
this.setAlive(appWindow, !isAlive)
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return revokeSetAlive;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
startQrcode (appWindow, callback) {
|
|
110
|
+
if (!appWindow) return;
|
|
111
|
+
// 设置保活,避免无法接收二维码识别结果
|
|
112
|
+
this.setAlive(appWindow, true);
|
|
113
|
+
|
|
114
|
+
// 订阅二维码识别事件
|
|
115
|
+
appWindow.$wujie?.bus.$on('app-qrcode-result', callback)
|
|
116
|
+
// 启动二维码扫描
|
|
117
|
+
this.router.push({
|
|
118
|
+
path: '/index/jump/ganwei-app-qrcode',
|
|
119
|
+
query: {
|
|
120
|
+
from: appWindow.__WUJIE.id
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
$on (appWindow, event, callback) {
|
|
126
|
+
appWindow.$wujie?.bus.$on(event, callback)
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function setAlive (appWindow, isAlive = true) {
|
|
131
|
+
if (appWindow.__POWERED_BY_WUJIE__ && appWindow.__WUJIE) {
|
|
132
|
+
// 设置实例保活配置
|
|
133
|
+
appWindow.__WUJIE.alive = isAlive;
|
|
134
|
+
// 设置实例保活配置缓存
|
|
135
|
+
setupApp({
|
|
136
|
+
name: appWindow.__WUJIE.id,
|
|
137
|
+
alive: isAlive
|
|
138
|
+
})
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function changeTheme (appWindow, value) {
|
|
143
|
+
appWindow.localStorage.theme = value;
|
|
144
|
+
|
|
145
|
+
// 删除旧的主题样式
|
|
146
|
+
let themeStyle = appWindow.document.getElementById('themeStyle');
|
|
147
|
+
themeStyle.remove();
|
|
148
|
+
|
|
149
|
+
// 重新请求新主题
|
|
150
|
+
let stylee = document.createElement("link");
|
|
151
|
+
stylee.setAttribute("id", "themeStyle");
|
|
152
|
+
stylee.setAttribute("rel", "stylesheet");
|
|
153
|
+
stylee.href = `/static/themes/${value}.css`;
|
|
154
|
+
let head = appWindow.document.getElementsByTagName("head")[0];
|
|
155
|
+
head.appendChild(stylee);
|
|
156
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 冒泡排序算法实现
|
|
3
|
+
*
|
|
4
|
+
* 时间复杂度:
|
|
5
|
+
* - 最好情况:O(n) - 当数组已经有序时(优化版本)
|
|
6
|
+
* - 平均情况:O(n²)
|
|
7
|
+
* - 最坏情况:O(n²)
|
|
8
|
+
*
|
|
9
|
+
* 空间复杂度:O(1) - 原地排序
|
|
10
|
+
*
|
|
11
|
+
* 稳定性:稳定排序算法
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 基础冒泡排序
|
|
16
|
+
* @param arr 待排序数组
|
|
17
|
+
* @param compareFn 可选的比较函数,默认升序
|
|
18
|
+
* @returns 排序后的新数组(不修改原数组)
|
|
19
|
+
*/
|
|
20
|
+
export function bubbleSort<T>(
|
|
21
|
+
arr: T[],
|
|
22
|
+
compareFn?: (a: T, b: T) => number
|
|
23
|
+
): T[] {
|
|
24
|
+
const result = [...arr]; // 创建副本,不修改原数组
|
|
25
|
+
const n = result.length;
|
|
26
|
+
|
|
27
|
+
// 默认比较函数:升序
|
|
28
|
+
const compare = compareFn || ((a: T, b: T) => {
|
|
29
|
+
if (a < b) return -1;
|
|
30
|
+
if (a > b) return 1;
|
|
31
|
+
return 0;
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// 外层循环:控制排序轮数
|
|
35
|
+
for (let i = 0; i < n - 1; i++) {
|
|
36
|
+
// 内层循环:每轮比较相邻元素
|
|
37
|
+
for (let j = 0; j < n - 1 - i; j++) {
|
|
38
|
+
// 如果前一个元素大于后一个元素,则交换
|
|
39
|
+
if (compare(result[j], result[j + 1]) > 0) {
|
|
40
|
+
// 交换元素
|
|
41
|
+
[result[j], result[j + 1]] = [result[j + 1], result[j]];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return result;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* 优化版冒泡排序(提前终止)
|
|
51
|
+
* 如果某一轮没有发生交换,说明数组已经有序,可以提前结束
|
|
52
|
+
* @param arr 待排序数组
|
|
53
|
+
* @param compareFn 可选的比较函数,默认升序
|
|
54
|
+
* @returns 排序后的新数组(不修改原数组)
|
|
55
|
+
*/
|
|
56
|
+
export function bubbleSortOptimized<T>(
|
|
57
|
+
arr: T[],
|
|
58
|
+
compareFn?: (a: T, b: T) => number
|
|
59
|
+
): T[] {
|
|
60
|
+
const result = [...arr]; // 创建副本,不修改原数组
|
|
61
|
+
const n = result.length;
|
|
62
|
+
|
|
63
|
+
// 默认比较函数:升序
|
|
64
|
+
const compare = compareFn || ((a: T, b: T) => {
|
|
65
|
+
if (a < b) return -1;
|
|
66
|
+
if (a > b) return 1;
|
|
67
|
+
return 0;
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
// 外层循环:控制排序轮数
|
|
71
|
+
for (let i = 0; i < n - 1; i++) {
|
|
72
|
+
let swapped = false; // 标记本轮是否发生交换
|
|
73
|
+
|
|
74
|
+
// 内层循环:每轮比较相邻元素
|
|
75
|
+
for (let j = 0; j < n - 1 - i; j++) {
|
|
76
|
+
// 如果前一个元素大于后一个元素,则交换
|
|
77
|
+
if (compare(result[j], result[j + 1]) > 0) {
|
|
78
|
+
// 交换元素
|
|
79
|
+
[result[j], result[j + 1]] = [result[j + 1], result[j]];
|
|
80
|
+
swapped = true; // 标记发生了交换
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// 如果本轮没有发生交换,说明数组已经有序,可以提前结束
|
|
85
|
+
if (!swapped) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return result;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* 原地冒泡排序(修改原数组)
|
|
95
|
+
* @param arr 待排序数组(会被修改)
|
|
96
|
+
* @param compareFn 可选的比较函数,默认升序
|
|
97
|
+
* @returns 排序后的数组(原数组的引用)
|
|
98
|
+
*/
|
|
99
|
+
export function bubbleSortInPlace<T>(
|
|
100
|
+
arr: T[],
|
|
101
|
+
compareFn?: (a: T, b: T) => number
|
|
102
|
+
): T[] {
|
|
103
|
+
const n = arr.length;
|
|
104
|
+
|
|
105
|
+
// 默认比较函数:升序
|
|
106
|
+
const compare = compareFn || ((a: T, b: T) => {
|
|
107
|
+
if (a < b) return -1;
|
|
108
|
+
if (a > b) return 1;
|
|
109
|
+
return 0;
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
// 外层循环:控制排序轮数
|
|
113
|
+
for (let i = 0; i < n - 1; i++) {
|
|
114
|
+
let swapped = false; // 标记本轮是否发生交换
|
|
115
|
+
|
|
116
|
+
// 内层循环:每轮比较相邻元素
|
|
117
|
+
for (let j = 0; j < n - 1 - i; j++) {
|
|
118
|
+
// 如果前一个元素大于后一个元素,则交换
|
|
119
|
+
if (compare(arr[j], arr[j + 1]) > 0) {
|
|
120
|
+
// 交换元素
|
|
121
|
+
[arr[j], arr[j + 1]] = [arr[j + 1], arr[j]];
|
|
122
|
+
swapped = true; // 标记发生了交换
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// 如果本轮没有发生交换,说明数组已经有序,可以提前结束
|
|
127
|
+
if (!swapped) {
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return arr;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// 使用示例:
|
|
136
|
+
/*
|
|
137
|
+
// 数字数组排序
|
|
138
|
+
const numbers = [64, 34, 25, 12, 22, 11, 90];
|
|
139
|
+
const sortedNumbers = bubbleSort(numbers);
|
|
140
|
+
console.log(sortedNumbers); // [11, 12, 22, 25, 34, 64, 90]
|
|
141
|
+
|
|
142
|
+
// 字符串数组排序
|
|
143
|
+
const strings = ['banana', 'apple', 'cherry', 'date'];
|
|
144
|
+
const sortedStrings = bubbleSort(strings);
|
|
145
|
+
console.log(sortedStrings); // ['apple', 'banana', 'cherry', 'date']
|
|
146
|
+
|
|
147
|
+
// 降序排序
|
|
148
|
+
const descending = bubbleSort(numbers, (a, b) => b - a);
|
|
149
|
+
console.log(descending); // [90, 64, 34, 25, 22, 12, 11]
|
|
150
|
+
|
|
151
|
+
// 对象数组排序
|
|
152
|
+
const objects = [
|
|
153
|
+
{ name: 'John', age: 30 },
|
|
154
|
+
{ name: 'Jane', age: 25 },
|
|
155
|
+
{ name: 'Bob', age: 35 }
|
|
156
|
+
];
|
|
157
|
+
const sortedByAge = bubbleSort(objects, (a, b) => a.age - b.age);
|
|
158
|
+
console.log(sortedByAge); // 按年龄升序排序
|
|
159
|
+
|
|
160
|
+
// 使用优化版本
|
|
161
|
+
const optimized = bubbleSortOptimized([5, 2, 8, 1, 9]);
|
|
162
|
+
console.log(optimized); // [1, 2, 5, 8, 9]
|
|
163
|
+
|
|
164
|
+
// 原地排序(修改原数组)
|
|
165
|
+
const arr = [3, 1, 4, 1, 5, 9, 2, 6];
|
|
166
|
+
bubbleSortInPlace(arr);
|
|
167
|
+
console.log(arr); // [1, 1, 2, 3, 4, 5, 6, 9]
|
|
168
|
+
*/
|
package/ganwei-iotcenter-index-6.2.3/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import Signalr from './gwSignalr.js';
|
|
2
|
+
|
|
3
|
+
export default class equipCache {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.eGroupNotify = new Signalr('/eGroupNotify', '', '', true);
|
|
6
|
+
this.alreadyUpdate = {}
|
|
7
|
+
}
|
|
8
|
+
init () {
|
|
9
|
+
// 打开signalr链接
|
|
10
|
+
this.eGroupNotify.openConnect().then((rt) => {
|
|
11
|
+
// 分组推送--start
|
|
12
|
+
// 通知后台需要推送分组结构
|
|
13
|
+
try {
|
|
14
|
+
rt.invoke('GetEquipGroupTree');
|
|
15
|
+
// 通知后台推送全量分组
|
|
16
|
+
rt.invoke('GetAllEquipGroupTree')
|
|
17
|
+
} catch (error) {
|
|
18
|
+
console.log(error)
|
|
19
|
+
}
|
|
20
|
+
// 获取分组结构
|
|
21
|
+
this.subscribeTo(rt, 'GetEquipGroupTree')
|
|
22
|
+
// 新增分组
|
|
23
|
+
this.subscribeTo(rt, 'AddEquipGroup')
|
|
24
|
+
// 编辑分组
|
|
25
|
+
this.subscribeTo(rt, 'EditEquipGroup')
|
|
26
|
+
// 删除分组
|
|
27
|
+
this.subscribeTo(rt, 'DeleteEquipGroup')
|
|
28
|
+
// 分组推送--end
|
|
29
|
+
// 设备推送--start
|
|
30
|
+
// 通知后台需要推送分组结构
|
|
31
|
+
try {
|
|
32
|
+
rt.invoke('GetGroupEquips');
|
|
33
|
+
} catch (error) {
|
|
34
|
+
console.log(error)
|
|
35
|
+
}
|
|
36
|
+
// 订阅设备推送
|
|
37
|
+
this.subscribeTo(rt, 'GetGroupEquips')
|
|
38
|
+
// 订阅分组结构推送
|
|
39
|
+
this.subscribeTo(rt, 'AddEquip')
|
|
40
|
+
// 订阅分组结构推送
|
|
41
|
+
this.subscribeTo(rt, 'DeleteEquip')
|
|
42
|
+
// 订阅分组结构推送
|
|
43
|
+
this.subscribeTo(rt, 'EditEquip')
|
|
44
|
+
this.subscribeTo(rt, 'moveEquips')
|
|
45
|
+
// 获取全量分组
|
|
46
|
+
this.subscribeTo(rt, 'GetAllEquipGroupTree')
|
|
47
|
+
// 设备推送--end
|
|
48
|
+
rt.onclose((err) => {
|
|
49
|
+
try {
|
|
50
|
+
rt.invoke('reconnect')
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.log(error)
|
|
53
|
+
}
|
|
54
|
+
console.log('重连', err);
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
}).catch((e) => {
|
|
58
|
+
console.error(e)
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
subscribeTo (signalr, func) {
|
|
62
|
+
signalr.off(func)
|
|
63
|
+
signalr.on(func, res => {
|
|
64
|
+
if (res && res.isSuccess) {
|
|
65
|
+
if (this[func]) {
|
|
66
|
+
this[func](res.data)
|
|
67
|
+
} else {
|
|
68
|
+
this.notice({ func, data: res.data, key: res.groupId })
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
}
|
|
73
|
+
// 获取分组---无权限管理的分组列表--空设备分组不展示
|
|
74
|
+
GetEquipGroupTree (data) {
|
|
75
|
+
window.top.groupList = data
|
|
76
|
+
this.notice({ type: 'GetEquipGroupTree' })
|
|
77
|
+
}
|
|
78
|
+
// 获取全量分组---设备管理使用
|
|
79
|
+
GetAllEquipGroupTree (data) {
|
|
80
|
+
window.top.groupList_manageMent = data
|
|
81
|
+
this.notice({ type: 'GetEquipGroupTree' })
|
|
82
|
+
}
|
|
83
|
+
// 新增分组
|
|
84
|
+
AddEquipGroup (data) {
|
|
85
|
+
const { parentGroupId, groupId, groupName } = data || {}
|
|
86
|
+
if (groupId) {
|
|
87
|
+
if (!window.top.groupList_manageMent) {
|
|
88
|
+
window.top.groupList_manageMent = []
|
|
89
|
+
}
|
|
90
|
+
window.top.groupList_manageMent.push({
|
|
91
|
+
parentId: parentGroupId,
|
|
92
|
+
id: groupId,
|
|
93
|
+
name: groupName,
|
|
94
|
+
equipCount: 0
|
|
95
|
+
})
|
|
96
|
+
this.notice({ type: 'AddEquipGroup', data })
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// 编辑分组
|
|
100
|
+
EditEquipGroup (data) {
|
|
101
|
+
// 更新window缓存
|
|
102
|
+
const { groupId, groupName } = data
|
|
103
|
+
if (window.top.groupList) {
|
|
104
|
+
window.groupList.forEach(item => {
|
|
105
|
+
if (item.id == groupId) {
|
|
106
|
+
item.name = groupName
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
if (window.top.groupList_manageMent) {
|
|
111
|
+
window.groupList_manageMent.forEach(item => {
|
|
112
|
+
if (item.id == groupId) {
|
|
113
|
+
item.name = groupName
|
|
114
|
+
}
|
|
115
|
+
})
|
|
116
|
+
}
|
|
117
|
+
this.notice({ type: 'EditEquipGroup', data })
|
|
118
|
+
}
|
|
119
|
+
deleteChildGroup (parentId, list) {
|
|
120
|
+
let deleteGroups = []
|
|
121
|
+
list.forEach(item => {
|
|
122
|
+
if (item.parentId == parentId) {
|
|
123
|
+
deleteGroups.push(item.id)
|
|
124
|
+
}
|
|
125
|
+
})
|
|
126
|
+
deleteGroups.forEach(groupId => {
|
|
127
|
+
let index = list.findIndex(item => item.id == groupId)
|
|
128
|
+
index > -1 && list.splice(index, 1)
|
|
129
|
+
this.deleteChildGroup(groupId, list)
|
|
130
|
+
})
|
|
131
|
+
}
|
|
132
|
+
// 删除分组
|
|
133
|
+
DeleteEquipGroup (data) {
|
|
134
|
+
data.forEach(group => {
|
|
135
|
+
if (window.top.groupList) {
|
|
136
|
+
let index = window.top.groupList.findIndex(item => item.id == group.groupId)
|
|
137
|
+
index > -1 && window.top.groupList.splice(index, 1)
|
|
138
|
+
this.deleteChildGroup(group.groupId, window.top.groupList)
|
|
139
|
+
}
|
|
140
|
+
if (window.top.groupList_manageMent) {
|
|
141
|
+
let index = window.top.groupList_manageMent.findIndex(item => item.id == group.groupId)
|
|
142
|
+
index > -1 && window.top.groupList_manageMent.splice(index, 1)
|
|
143
|
+
this.deleteChildGroup(group.groupId, window.top.groupList_manageMent)
|
|
144
|
+
}
|
|
145
|
+
})
|
|
146
|
+
this.notice({ type: 'DeleteEquipGroup', data })
|
|
147
|
+
}
|
|
148
|
+
// 获取设备
|
|
149
|
+
GetGroupEquips (data) {
|
|
150
|
+
const { groupId, equips } = data || {}
|
|
151
|
+
if (!window.top.groupCache) {
|
|
152
|
+
window.top.groupCache = {}
|
|
153
|
+
}
|
|
154
|
+
window.top.groupCache[groupId] = {}
|
|
155
|
+
if (!this.alreadyUpdate[groupId]) {
|
|
156
|
+
if (groupId && equips && equips instanceof Array) {
|
|
157
|
+
equips.forEach(item => {
|
|
158
|
+
item.title = item.name
|
|
159
|
+
item.groupId = groupId
|
|
160
|
+
item.equipNo = item.id
|
|
161
|
+
delete item.name
|
|
162
|
+
|
|
163
|
+
if (!window.equipCache) {
|
|
164
|
+
window.top.equipCache = {}
|
|
165
|
+
}
|
|
166
|
+
// 找分组,设备编辑需要用到
|
|
167
|
+
window.top.equipCache[item.id] = item
|
|
168
|
+
|
|
169
|
+
// 设备状态需要用到
|
|
170
|
+
window.top.groupCache[groupId][item.id] = item
|
|
171
|
+
})
|
|
172
|
+
|
|
173
|
+
window.top[`group-${groupId}`] = equips
|
|
174
|
+
this.notice({ type: 'GetGroupEquips', data: { groupId: groupId } })
|
|
175
|
+
this.alreadyUpdate[groupId] = true
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
// 新增设备
|
|
180
|
+
AddEquip (data) {
|
|
181
|
+
const { groupId, equips } = data || {}
|
|
182
|
+
if (!window.top[`group-${groupId}`]) {
|
|
183
|
+
window.top[`group-${groupId}`] = []
|
|
184
|
+
}
|
|
185
|
+
if (!window.top.groupCache) {
|
|
186
|
+
window.top.groupCache = {}
|
|
187
|
+
}
|
|
188
|
+
if (!window.top.groupCache[groupId]) {
|
|
189
|
+
window.top.groupCache[groupId] = {}
|
|
190
|
+
}
|
|
191
|
+
if (!window.top.equipCache) {
|
|
192
|
+
window.top.equipCache = {}
|
|
193
|
+
}
|
|
194
|
+
let length = window.top[`group-${groupId}`].length
|
|
195
|
+
if (groupId && equips) {
|
|
196
|
+
equips.forEach((equip, index) => {
|
|
197
|
+
window.top[`group-${groupId}`].push(
|
|
198
|
+
{
|
|
199
|
+
equipNo: equip.id,
|
|
200
|
+
groupId: groupId,
|
|
201
|
+
id: equip.id,
|
|
202
|
+
title: equip.name
|
|
203
|
+
}
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
// 找分组,设备编辑需要用到
|
|
207
|
+
window.top.equipCache[equip.id] = window.top[`group-${groupId}`][length + index]
|
|
208
|
+
|
|
209
|
+
// 设备状态需要用到
|
|
210
|
+
window.top.groupCache[groupId][equip.id] = window.top[`group-${groupId}`][length + index]
|
|
211
|
+
})
|
|
212
|
+
|
|
213
|
+
if (!this.exist(groupId, window.top.groupList)) {
|
|
214
|
+
let list = this.findParentList(groupId, window.top.groupList_manageMent)
|
|
215
|
+
window.top.groupList.push(...list)
|
|
216
|
+
}
|
|
217
|
+
this.notice({ type: 'AddEquip', data })
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
moveEquips (data) {
|
|
221
|
+
// 统计需要更新的分组Id
|
|
222
|
+
let updateGroups = []
|
|
223
|
+
let buildTree = true
|
|
224
|
+
let needAddToGroupList = []
|
|
225
|
+
const { sourceGroup, targetGroupId } = data || {}
|
|
226
|
+
targetGroupId && updateGroups.push(targetGroupId)
|
|
227
|
+
sourceGroup.forEach(group => {
|
|
228
|
+
updateGroups.push(group.groupId)
|
|
229
|
+
if (!window.top[`group-${targetGroupId}`] || !window.top[`group-${targetGroupId}`].length) {
|
|
230
|
+
window.top[`group-${targetGroupId}`] = []
|
|
231
|
+
needAddToGroupList.push(targetGroupId)
|
|
232
|
+
}
|
|
233
|
+
if (!window.top.groupCache) {
|
|
234
|
+
window.top.groupCache = {}
|
|
235
|
+
}
|
|
236
|
+
if (!window.top.groupCache[targetGroupId]) {
|
|
237
|
+
window.top.groupCache[targetGroupId] = {}
|
|
238
|
+
}
|
|
239
|
+
group.equips.forEach(equip => {
|
|
240
|
+
equip.title = equip.name
|
|
241
|
+
equip.groupId = targetGroupId
|
|
242
|
+
equip.equipNo = equip.id
|
|
243
|
+
|
|
244
|
+
if (window.top[`group-${group.groupId}`]) {
|
|
245
|
+
let index = window.top[`group-${group.groupId}`].findIndex(item => item.id == equip.id)
|
|
246
|
+
index > -1 && window.top[`group-${group.groupId}`].splice(index, 1)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (!window.equipCache) {
|
|
250
|
+
window.top.equipCache = {}
|
|
251
|
+
}
|
|
252
|
+
// 找分组,设备编辑需要用到
|
|
253
|
+
window.top.equipCache[equip.id] = equip
|
|
254
|
+
// 设备状态需要用到
|
|
255
|
+
window.top.groupCache[targetGroupId][equip.id] = equip
|
|
256
|
+
window.top[`group-${targetGroupId}`].push(equip)
|
|
257
|
+
})
|
|
258
|
+
if (!window.top[`group-${group.groupId}`].length) {
|
|
259
|
+
let index = window.top.groupList.findIndex(item => item.id == group.groupId)
|
|
260
|
+
index > -1 && window.top.groupList.splice(index, 1)
|
|
261
|
+
this.deleteChildGroup(group.groupId, window.top.groupList)
|
|
262
|
+
}
|
|
263
|
+
})
|
|
264
|
+
needAddToGroupList.forEach(groupId => {
|
|
265
|
+
if (!this.exist(groupId, window.top.groupList)) {
|
|
266
|
+
let list = this.findParentList(groupId, window.top.groupList_manageMent)
|
|
267
|
+
window.top.groupList.push(...list)
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
this.notice({ type: 'moveEquips', data: { updateGroups, buildTree } })
|
|
271
|
+
}
|
|
272
|
+
exist (key, list) {
|
|
273
|
+
if (list) {
|
|
274
|
+
return list.some(item => item.id == key)
|
|
275
|
+
}
|
|
276
|
+
return false
|
|
277
|
+
}
|
|
278
|
+
findParentList (groupId, list) {
|
|
279
|
+
let parentList = []
|
|
280
|
+
if (list) {
|
|
281
|
+
let index = list.findIndex(group => group.id == groupId)
|
|
282
|
+
if (index > -1) {
|
|
283
|
+
parentList.push({ ...list[index] })
|
|
284
|
+
}
|
|
285
|
+
if (list[index].parentId && !this.exist(list[index].parentId, window.top.groupList)) {
|
|
286
|
+
parentList.push(...this.findParentList(list[index].parentId, window.top.groupList_manageMent))
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return parentList
|
|
290
|
+
}
|
|
291
|
+
// 删除设备
|
|
292
|
+
DeleteEquip (data) {
|
|
293
|
+
const { groupId, equips } = data || {}
|
|
294
|
+
if (groupId && equips && equips instanceof Array) {
|
|
295
|
+
if (window.top[`group-${groupId}`]) {
|
|
296
|
+
for (let i = 0, length = equips.length; i < length; i++) {
|
|
297
|
+
let index = window.top[`group-${groupId}`].findIndex(item => item.id == equips[i].id)
|
|
298
|
+
index > -1 && window.top[`group-${groupId}`].splice(index, 1)
|
|
299
|
+
//删除引用
|
|
300
|
+
delete window.top.equipCache[equips[i].id]
|
|
301
|
+
delete window.top.groupCache[groupId][equips[i].id]
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
this.notice({ type: 'DeleteEquip', data })
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
// 编辑设备
|
|
308
|
+
EditEquip (data) {
|
|
309
|
+
const { equipNo, groupId, equipName } = data || {}
|
|
310
|
+
if (groupId && equipNo) {
|
|
311
|
+
if (window[`group-${groupId}`]) {
|
|
312
|
+
window.top.equipCache[equipNo] = equipName
|
|
313
|
+
}
|
|
314
|
+
this.notice({ type: 'EditEquip', data })
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
notice (data) {
|
|
318
|
+
// 下发通知
|
|
319
|
+
let iframe = document.getElementsByTagName('iframe');
|
|
320
|
+
for (let item of iframe) {
|
|
321
|
+
console.log(item)
|
|
322
|
+
item.contentWindow.postMessage(data);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|