@ganwei-web/ganwei-pc-cli 6.2.0
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.0/.nvmrc +1 -0
- package/ganwei-iotcenter-index-6.2.0/configuration/cleanNodeModule.js +18 -0
- package/ganwei-iotcenter-index-6.2.0/configuration/gitClone.js +45 -0
- package/ganwei-iotcenter-index-6.2.0/configuration/moduleConfiguration.json +20 -0
- package/ganwei-iotcenter-index-6.2.0/configuration/updateModule.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.0/init.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.0/package.json +41 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.babelrc +4 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/components.d.ts +87 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/index.html +31 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/package.json +89 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/config.json +154 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/App.vue +52 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +135 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/main.js +50 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/router.js +34 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/store.js +221 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/index.js +297 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/index.html +34 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/package.json +84 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +333 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +338 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/App.vue +70 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/router.js +48 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/index.html +25 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/package.json +94 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/App.vue +41 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/router.js +23 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/views/template.vue +49 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
- package/ganwei-iotcenter-index-6.2.0/pnpm-workspace.yaml +3 -0
- package/ganwei-pc.js +3 -0
- package/package.json +28 -0
- package/src/copyConfig.js +85 -0
- package/src/copyDemo.js +21 -0
- package/src/create-app.js +90 -0
- package/src/createQuestions.js +46 -0
- package/src/index.js +63 -0
- package/src/remove-depencies.js +27 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Description:
|
|
3
|
+
* @LastEditTime: 2024-09-30 18:19:44
|
|
4
|
+
*/
|
|
5
|
+
export default {
|
|
6
|
+
inject: ['config', 'theme'],
|
|
7
|
+
data() {
|
|
8
|
+
return {
|
|
9
|
+
dialogVisible: false,
|
|
10
|
+
selectedTheme: sessionStorage.getItem('theme'),
|
|
11
|
+
historyTheme: '',
|
|
12
|
+
saveLoading: false,
|
|
13
|
+
themeList: []
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
mounted() {
|
|
17
|
+
let currentList = this?.config?.theme?.supportThemes
|
|
18
|
+
this.themeList = currentList.filter(item => {
|
|
19
|
+
return item.enable != false
|
|
20
|
+
})
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
changeTheme(theme){
|
|
24
|
+
this.checkStyle(theme)
|
|
25
|
+
},
|
|
26
|
+
checkStyle(theme) {
|
|
27
|
+
sessionStorage.setItem('theme', theme)
|
|
28
|
+
this.myUtils.changeStyle()
|
|
29
|
+
this.$bus.emit('themeChange')
|
|
30
|
+
this.selectedTheme = theme
|
|
31
|
+
// this.sendAiTheme()
|
|
32
|
+
},
|
|
33
|
+
showDialog () {
|
|
34
|
+
this.historyTheme = sessionStorage.getItem('theme')
|
|
35
|
+
this.dialogVisible = true
|
|
36
|
+
},
|
|
37
|
+
closeDialog () {
|
|
38
|
+
this.dialogVisible = false
|
|
39
|
+
if(this.historyTheme != '') { this.checkStyle(this.historyTheme) }
|
|
40
|
+
},
|
|
41
|
+
saveTheme () {
|
|
42
|
+
let data = {
|
|
43
|
+
"ContentDic": {"userTheme": this.selectedTheme}
|
|
44
|
+
}
|
|
45
|
+
this.$api.saveTheme(data).then(res => {
|
|
46
|
+
const { code, message } = res?.data || {}
|
|
47
|
+
if (code == 200) {
|
|
48
|
+
sessionStorage.setItem('theme', this.selectedTheme)
|
|
49
|
+
localStorage.setItem('theme', this.selectedTheme)
|
|
50
|
+
} else {
|
|
51
|
+
this.checkStyle(this.historyTheme)
|
|
52
|
+
}
|
|
53
|
+
}).catch(e=>{
|
|
54
|
+
this.checkStyle(this.historyTheme)
|
|
55
|
+
console.log(e)
|
|
56
|
+
}).finally(er=>{
|
|
57
|
+
this.historyTheme = ''
|
|
58
|
+
this.dialogVisible = false
|
|
59
|
+
})
|
|
60
|
+
},
|
|
61
|
+
sendAiTheme () {
|
|
62
|
+
// 向AI发送通知 start
|
|
63
|
+
let iframes = document.getElementsByTagName("iframe");
|
|
64
|
+
for (let i = 0; i < iframes.length; i++) {
|
|
65
|
+
if(iframes[i]?.src?.indexOf("ai") != -1) { iframes?.contentWindow?.postMessage({ theme: sessionStorage.theme }, "https://ai.ganweicloud.com/"); }
|
|
66
|
+
}
|
|
67
|
+
// 向AI发送通知 end
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.el-radio-group {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
flex-wrap: nowrap;
|
|
7
|
+
align-items: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.el-dropdown-menu p.actived::after{
|
|
11
|
+
left: 11px !important;
|
|
12
|
+
border-color: var(--gw-color-Neutrals2);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.selectedTheme{
|
|
16
|
+
background-color: var(--dialog-background);
|
|
17
|
+
.themeContainer {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
gap: 16px;
|
|
22
|
+
.themeOptionCard{
|
|
23
|
+
margin-bottom: 16px;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
display: flex;
|
|
27
|
+
width: 180px;
|
|
28
|
+
height: 185px;
|
|
29
|
+
border-radius: 12px;
|
|
30
|
+
background-color: var(--radio-inner-background);
|
|
31
|
+
position: relative;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
border: 1px solid var(--dialog-border);
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
.optionBox{
|
|
36
|
+
text-align: center;
|
|
37
|
+
}
|
|
38
|
+
.optionBox>i{
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 30px;
|
|
41
|
+
height: 30px;
|
|
42
|
+
border: 1px solid var(--frame-main-color);
|
|
43
|
+
}
|
|
44
|
+
.optionBox>p{
|
|
45
|
+
margin-top: 23px;
|
|
46
|
+
}
|
|
47
|
+
>span{
|
|
48
|
+
display: inline-block;
|
|
49
|
+
width: 40px;
|
|
50
|
+
height: 40px;
|
|
51
|
+
position: absolute;
|
|
52
|
+
right: -10px;
|
|
53
|
+
top: -10px;
|
|
54
|
+
transform: skew(30deg, 10deg);
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
>label{
|
|
59
|
+
position: absolute;
|
|
60
|
+
right: 5px;
|
|
61
|
+
top: 0px;
|
|
62
|
+
font-size: 20px;
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
.is-active{
|
|
68
|
+
border: 1px solid var(--radio-inner-border__checked);
|
|
69
|
+
>span{
|
|
70
|
+
background-color: var(--radio-inner-border__checked);
|
|
71
|
+
}
|
|
72
|
+
>label{
|
|
73
|
+
display: block;
|
|
74
|
+
color: white;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.noPadding{
|
|
78
|
+
margin-right: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
::v-deep .safetyLevel {
|
|
83
|
+
.el-dialog__header {
|
|
84
|
+
display: none !important;
|
|
85
|
+
}
|
|
86
|
+
.el-dialog__body {
|
|
87
|
+
height: 224px;
|
|
88
|
+
padding-top: 0;
|
|
89
|
+
padding-bottom: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="themeImage" style="margin-right: 0px">
|
|
4
|
+
<img :src="theme.skin" alt="" @click="showDialog"/>
|
|
5
|
+
</div>
|
|
6
|
+
<el-dialog :title="$t('login.framePro.theme.themeTitle')" v-model="dialogVisible" center :close-on-click-modal="false"
|
|
7
|
+
width="auto" class="selectedTheme" top="0vh" append-to="#index" @close="closeDialog">
|
|
8
|
+
<div class="themeContainer">
|
|
9
|
+
<div class="themeOptionCard" v-for="(item, index) in themeList" :key="index"
|
|
10
|
+
:class="{ 'is-active': item.value == selectedTheme, 'noPadding': (index + 1) % 3 == 0 }" @click="changeTheme(item.value)">
|
|
11
|
+
<div class="optionBox" >
|
|
12
|
+
<i :style="{background: item.color}"></i>
|
|
13
|
+
<p>{{ $t('login.framePro.theme.supportThemes.' + item.value) }}</p>
|
|
14
|
+
</div>
|
|
15
|
+
<span></span>
|
|
16
|
+
<label>
|
|
17
|
+
✔
|
|
18
|
+
</label>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<template #footer>
|
|
22
|
+
<span class="dialog-footer">
|
|
23
|
+
<el-button type="primary" plain @click.stop.prevent="closeDialog">{{
|
|
24
|
+
$t('login.publics.button.cancel') }}</el-button>
|
|
25
|
+
<el-button type="primary" :loading="saveLoading" @click.stop.prevent="saveTheme()">{{
|
|
26
|
+
$t('login.publics.button.confirm') }}
|
|
27
|
+
</el-button>
|
|
28
|
+
</span>
|
|
29
|
+
</template>
|
|
30
|
+
</el-dialog>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script src="./index.js"></script>
|
|
35
|
+
<style src="./index.scss"></style>
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import {Signalr as gwSignalr} from '@ganwei-web/gw-base-components-plus/equipProcessing/dist/index.es.js'
|
|
2
|
+
import Speaktts from '@ganwei-web/gw-base-utils-plus/speaktts/dist/index.es.js'
|
|
3
|
+
|
|
4
|
+
import unread from '@/components/unreadMsg/unread.vue'
|
|
5
|
+
export default {
|
|
6
|
+
mixins: [Speaktts],
|
|
7
|
+
components: {
|
|
8
|
+
unread
|
|
9
|
+
},
|
|
10
|
+
inject: ['config', 'theme'],
|
|
11
|
+
data () {
|
|
12
|
+
return {
|
|
13
|
+
messageList: [],
|
|
14
|
+
showSound: false,
|
|
15
|
+
eventType: {},
|
|
16
|
+
isFirst: true,
|
|
17
|
+
speakttsRange: '',
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
watch: {
|
|
22
|
+
config: {
|
|
23
|
+
handler (val) {
|
|
24
|
+
if (val) {
|
|
25
|
+
this.speakttsRange = val.speaktts
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
immediate: true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
created () {
|
|
32
|
+
this.showSound = sessionStorage.showSound || false
|
|
33
|
+
},
|
|
34
|
+
mounted () {
|
|
35
|
+
this.getRealTimeEventTypeConfig()
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getRealTimeEventTypeConfig () {
|
|
39
|
+
this.Axios({
|
|
40
|
+
method: "Get",
|
|
41
|
+
url: '/static/json/snapshot.json'
|
|
42
|
+
}).then(res => {
|
|
43
|
+
this.eventType = res.data
|
|
44
|
+
this.getRealTimeDataInfo()
|
|
45
|
+
}).catch(err => {
|
|
46
|
+
console.log(err)
|
|
47
|
+
this.eventType = {}
|
|
48
|
+
})
|
|
49
|
+
},
|
|
50
|
+
updateMsgList (index) {
|
|
51
|
+
this.messageList.splice(index, 1)
|
|
52
|
+
},
|
|
53
|
+
getRealTimeDataInfo () {
|
|
54
|
+
// eslint-disable-next-line new-cap
|
|
55
|
+
this.snapshotSignlar = new gwSignalr('/realTimeChange')
|
|
56
|
+
this.snapshotSignlar.openConnect().then(signalr => {
|
|
57
|
+
signalr.off('realTimeChange')
|
|
58
|
+
signalr.on('realTimeChange', res => {
|
|
59
|
+
if (res && res.isSuccess && this.$route.path.indexOf('/systemSnapshot') == -1) {
|
|
60
|
+
let item = res.data
|
|
61
|
+
let eventType = this.getEventType(item.level)
|
|
62
|
+
item.snapshotName = eventType[localStorage.languageType]
|
|
63
|
+
item.typeSz = eventType[localStorage.languageType]
|
|
64
|
+
item.iconImage = eventType.icon
|
|
65
|
+
item.Time = this.$moment(item.Time).format('YYYY-MM-DD HH:mm:ss')
|
|
66
|
+
item.color = eventType.color
|
|
67
|
+
item.backgroundColor = eventType.backgroundColor
|
|
68
|
+
|
|
69
|
+
// 是否在语音播报列表中
|
|
70
|
+
if (this.inSpeakttsArray(item.level)) {
|
|
71
|
+
if (this.showSound) {
|
|
72
|
+
if (this.isFirst) {
|
|
73
|
+
this.openSpeak()
|
|
74
|
+
this.speechPlay('即将进行语音播报', false)
|
|
75
|
+
this.isFirst = false
|
|
76
|
+
}
|
|
77
|
+
this.speechPlay(item.eventMsg.split('---')[0], false)
|
|
78
|
+
} else {
|
|
79
|
+
this.closeSpeak()
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
this.messageList.unshift(item)
|
|
83
|
+
let messageLength = this.messageList.length
|
|
84
|
+
if (messageLength > 100) {
|
|
85
|
+
this.messageList.splice(100, 10)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
signalr.onclose(() => {
|
|
90
|
+
this.getRealTimeDataInfo()
|
|
91
|
+
this.$api.getSafeLevelByGateway().then(rt => { console.log(rt) })
|
|
92
|
+
})
|
|
93
|
+
}).catch(e => {
|
|
94
|
+
this.$api.getSafeLevelByGateway().then(rt => { console.log(rt) })
|
|
95
|
+
})
|
|
96
|
+
},
|
|
97
|
+
getEventType (level) {
|
|
98
|
+
let keys = Object.keys(this.eventType)
|
|
99
|
+
let key = keys[0]
|
|
100
|
+
keys.forEach(item => {
|
|
101
|
+
let arr = item.split('-');
|
|
102
|
+
if (Number(level) >= Number(arr[0]) && Number(level) <= Number(arr[1])) {
|
|
103
|
+
key = item
|
|
104
|
+
}
|
|
105
|
+
})
|
|
106
|
+
let obj = {}
|
|
107
|
+
obj = this.eventType[key]
|
|
108
|
+
return obj
|
|
109
|
+
},
|
|
110
|
+
inSpeakttsArray (level) {
|
|
111
|
+
let key = ''
|
|
112
|
+
if (this.speakttsRange) {
|
|
113
|
+
this.speakttsRange.forEach(item => {
|
|
114
|
+
let arr = item.split('-');
|
|
115
|
+
if (Number(level) >= Number(arr[0]) && Number(level) <= Number(arr[1])) {
|
|
116
|
+
key = item
|
|
117
|
+
}
|
|
118
|
+
})
|
|
119
|
+
}
|
|
120
|
+
if (key) {
|
|
121
|
+
return true
|
|
122
|
+
}
|
|
123
|
+
return false
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
closeSpeak () {
|
|
127
|
+
this.speech.init({ volume: 0, rate: 1.5 }).then(() => {
|
|
128
|
+
console.log("success");
|
|
129
|
+
})
|
|
130
|
+
this.showSound = false
|
|
131
|
+
sessionStorage.showSound = false
|
|
132
|
+
},
|
|
133
|
+
openSpeak () {
|
|
134
|
+
this.speech.init({ volume: 1, rate: 1.5 }).then(() => {
|
|
135
|
+
console.log("success");
|
|
136
|
+
})
|
|
137
|
+
this.showSound = true
|
|
138
|
+
sessionStorage.showSound = true
|
|
139
|
+
},
|
|
140
|
+
|
|
141
|
+
toRouter () {
|
|
142
|
+
this.$router.push({ path: '/Index/jumpIframe/ganwei-iotcenter-system-snapshot/systemSnapshot' })
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<unread :messageList="messageList" @updateMsgList="updateMsgList" @jump="toRouter" :showSound="showSound"
|
|
3
|
+
@openSpeak="openSpeak" :theme="theme" @closeSpeak="closeSpeak">
|
|
4
|
+
</unread>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script src="./index.js"></script>
|
|
8
|
+
<style src="./index.scss"></style>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
export default {
|
|
3
|
+
data () {
|
|
4
|
+
return {
|
|
5
|
+
drawer: false,
|
|
6
|
+
upgradeList: [],
|
|
7
|
+
upgradeLoading: false,
|
|
8
|
+
upgradeBtnLoading: ''
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
methods: {
|
|
12
|
+
init () {
|
|
13
|
+
let data = {
|
|
14
|
+
"whereCause": "",
|
|
15
|
+
"pageIndex": 1,
|
|
16
|
+
"pageSize": 9999,
|
|
17
|
+
"searchType": 6,
|
|
18
|
+
"searchPluginType": 0,
|
|
19
|
+
"isPublic": true
|
|
20
|
+
}
|
|
21
|
+
this.$api.getUpgradePluginList(data).then(rt => {
|
|
22
|
+
if (rt?.data?.code == 200) {
|
|
23
|
+
this.upgradeList = rt?.data?.data?.releaseEntityResponse || []
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
.catch(e => {
|
|
27
|
+
console.log(e)
|
|
28
|
+
}).finally((r) => {
|
|
29
|
+
console.log(r)
|
|
30
|
+
})
|
|
31
|
+
},
|
|
32
|
+
upgradePlugin(dt){
|
|
33
|
+
let data;
|
|
34
|
+
if(!dt) {
|
|
35
|
+
this.upgradeLoading = true
|
|
36
|
+
data = this.dataHandle();
|
|
37
|
+
} else {
|
|
38
|
+
this.upgradeBtnLoading = dt?.id
|
|
39
|
+
data = [{
|
|
40
|
+
"pluginId": dt?.id,
|
|
41
|
+
"pluginVersionId": dt?.lastAssest?.id
|
|
42
|
+
}]
|
|
43
|
+
}
|
|
44
|
+
this.$api.upgradePlugin(data).then(rt => {
|
|
45
|
+
if (rt?.data?.code == 200) {
|
|
46
|
+
this.$message.success(rt?.data?.data)
|
|
47
|
+
} else {
|
|
48
|
+
this.$message.warning(rt?.data?.message)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
})
|
|
52
|
+
.catch(e => {
|
|
53
|
+
console.log(e)
|
|
54
|
+
}).finally((r) => {
|
|
55
|
+
this.upgradeBtnLoading = ''
|
|
56
|
+
this.upgradeLoading = false
|
|
57
|
+
this.init()
|
|
58
|
+
console.log(r)
|
|
59
|
+
})
|
|
60
|
+
},
|
|
61
|
+
dataHandle(){
|
|
62
|
+
let arry = [], data = this.upgradeList
|
|
63
|
+
if(Array.isArray(data) && data.length > 0) {
|
|
64
|
+
data.forEach(item => {
|
|
65
|
+
arry.push({
|
|
66
|
+
pluginId: item?.id,
|
|
67
|
+
pluginVersionId: item?.lastAssest?.id
|
|
68
|
+
})
|
|
69
|
+
})
|
|
70
|
+
}
|
|
71
|
+
return arry
|
|
72
|
+
},
|
|
73
|
+
openElDrawer() {
|
|
74
|
+
this.drawer = true
|
|
75
|
+
this.init()
|
|
76
|
+
},
|
|
77
|
+
formatName(name) {
|
|
78
|
+
return name.slice(0, 1);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
.upgradeBox {
|
|
2
|
+
>.upgradeBox-btn {
|
|
3
|
+
display: flex;
|
|
4
|
+
height: 28px;
|
|
5
|
+
align-items: center;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
padding: 0px 8px;
|
|
8
|
+
background-color: var(--frame-top-upgrade-background);
|
|
9
|
+
user-select: none;
|
|
10
|
+
|
|
11
|
+
>span {
|
|
12
|
+
color: var(--frame-main-color-2);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.upgradeBox-drawer {
|
|
19
|
+
.titleClass {
|
|
20
|
+
font-size: 18px;
|
|
21
|
+
text-align: left;
|
|
22
|
+
|
|
23
|
+
>span {
|
|
24
|
+
margin-right: 15px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.el-button {
|
|
28
|
+
width: 100px;
|
|
29
|
+
height: 32px;
|
|
30
|
+
line-height: 32px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.upgradeBox-item {
|
|
35
|
+
height: 100%;
|
|
36
|
+
overflow-y: auto;
|
|
37
|
+
|
|
38
|
+
li {
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
padding: 0 16px 16px 16px;
|
|
41
|
+
background-color: var(--frame-main-background-4);
|
|
42
|
+
margin-bottom: 10px;
|
|
43
|
+
|
|
44
|
+
h4 {
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
padding: 12px 0;
|
|
47
|
+
text-align: left;
|
|
48
|
+
|
|
49
|
+
span {
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
color: #fff;
|
|
52
|
+
display: inline-block;
|
|
53
|
+
width: 20px;
|
|
54
|
+
height: 20px;
|
|
55
|
+
background: var(--button-primary-background);
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
line-height: 20px;
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
label {
|
|
62
|
+
color: var(--button-primary-background);
|
|
63
|
+
margin-left: 5px;
|
|
64
|
+
font-family: PingFangSC, PingFang SC;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
p {
|
|
71
|
+
display: flex;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
align-items: center;
|
|
74
|
+
|
|
75
|
+
.el-button {
|
|
76
|
+
width: 55px;
|
|
77
|
+
height: 18px;
|
|
78
|
+
line-height: 18px;
|
|
79
|
+
border-radius: 14px;
|
|
80
|
+
font-size: 12px;
|
|
81
|
+
span{font-size: 12px;}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
>span {
|
|
85
|
+
color: var(--frame-main-color);
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
text-align: left;
|
|
88
|
+
line-height: 18px;
|
|
89
|
+
width: calc(100% - 75px);
|
|
90
|
+
white-space: break-spaces;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
a {
|
|
94
|
+
color: #fff;
|
|
95
|
+
font-size: 12px;
|
|
96
|
+
display: inline-block;
|
|
97
|
+
width: 55px;
|
|
98
|
+
height: 18px;
|
|
99
|
+
line-height: 18px;
|
|
100
|
+
background: var(--button-primary-background);
|
|
101
|
+
border-radius: 14px;
|
|
102
|
+
text-decoration: none;
|
|
103
|
+
text-align: center;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.el-button {
|
|
110
|
+
padding: 0;
|
|
111
|
+
text-align: center;
|
|
112
|
+
margin-left: 0;
|
|
113
|
+
margin-right: 4px;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
border: unset !important;
|
|
116
|
+
position: relative;
|
|
117
|
+
|
|
118
|
+
&.is-loading {
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
|
|
121
|
+
&::before {
|
|
122
|
+
background: linear-gradient(270deg, var(--gw-color-primary5) 0%, var(--gw-color-primary4) 3%, var(--gw-color-primary) 100%);
|
|
123
|
+
box-shadow: 0px 6px 10px 0px rgba(38, 105, 236, 0.18);
|
|
124
|
+
animation: installing 1s ease-in-out infinite;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.el-icon-loading {
|
|
128
|
+
display: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@keyframes installing {
|
|
134
|
+
from {
|
|
135
|
+
width: 0%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
50% {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
to {
|
|
143
|
+
width: 100%;
|
|
144
|
+
opacity: 0.1;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="upgradeBox">
|
|
3
|
+
<div @click="openElDrawer()" class="upgradeBox-btn" >
|
|
4
|
+
<img style="width: 28px;" :src="`/static/images/index-upgrade.svg`" />
|
|
5
|
+
<span>{{$t('login.tips.upgrade') }}</span>
|
|
6
|
+
</div>
|
|
7
|
+
<el-drawer v-model="drawer" :size="424" class="upgradeBox-drawer" append-to-body>
|
|
8
|
+
<template #header>
|
|
9
|
+
<label class="titleClass">
|
|
10
|
+
<span>{{$t('login.tips.pluginUpgrade') }}</span>
|
|
11
|
+
<el-button type="primary" @click="upgradePlugin()" :class="{'is-loading': upgradeLoading}">{{$t('login.tips.onetouchUpgrade') }}</el-button>
|
|
12
|
+
</label>
|
|
13
|
+
</template>
|
|
14
|
+
<ul class="upgradeBox-item">
|
|
15
|
+
<li v-for="item in upgradeList" :key="item.pluginId">
|
|
16
|
+
<h4>
|
|
17
|
+
<span>{{ formatName(item.product) }}</span>
|
|
18
|
+
<label>{{ item.product }}[{{ item.packageVersion }}]</label>
|
|
19
|
+
</h4>
|
|
20
|
+
<p>
|
|
21
|
+
<span>{{item.memo}}</span>
|
|
22
|
+
<el-button v-if="!upgradeLoading" type="primary" @click="upgradePlugin(item)" :class="{'is-loading': item.id == upgradeBtnLoading}">{{$t('login.tips.upgrade') }}</el-button>
|
|
23
|
+
</p>
|
|
24
|
+
</li>
|
|
25
|
+
</ul>
|
|
26
|
+
</el-drawer>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
<script src="./index.js"></script>
|
|
30
|
+
<style src="./index.scss"></style>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
data () {
|
|
3
|
+
return {
|
|
4
|
+
key: 0,
|
|
5
|
+
observer: null,
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
watch: {
|
|
9
|
+
passwordPolicy () {
|
|
10
|
+
this.disObserveDOM()
|
|
11
|
+
if (this.passwordPolicy == 1) {
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
this.observeDOM()
|
|
14
|
+
}, 500)
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
beforeDestroy () {
|
|
19
|
+
this.disObserveDOM()
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
observeDOM () {
|
|
23
|
+
const id = '#index .el-overlay.editPassword'
|
|
24
|
+
const targetElement = document.querySelector(id);
|
|
25
|
+
this.observer = new MutationObserver((mutations) => {
|
|
26
|
+
mutations.forEach(mutation => {
|
|
27
|
+
// 被删除
|
|
28
|
+
if (Array.from(mutation.removedNodes).findIndex(i => i.contains(targetElement)) > -1) {
|
|
29
|
+
this.reRender()
|
|
30
|
+
}
|
|
31
|
+
// 被隐藏
|
|
32
|
+
if (mutation.target === targetElement && !this.isVisible(targetElement)) {
|
|
33
|
+
this.reRender()
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
})
|
|
37
|
+
this.observer.observe(document.getElementById('index'), { childList: true, subtree: true, attributes: true }); // 开始观察目标元素
|
|
38
|
+
},
|
|
39
|
+
disObserveDOM () {
|
|
40
|
+
if (this.observer) {
|
|
41
|
+
this.observer.disconnect()
|
|
42
|
+
this.observer = null
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
reRender () {
|
|
46
|
+
this.disObserveDOM()
|
|
47
|
+
this.key = new Date().getTime()
|
|
48
|
+
setTimeout(() => {
|
|
49
|
+
this.observeDOM()
|
|
50
|
+
}, 500)
|
|
51
|
+
},
|
|
52
|
+
isVisible (elem) {
|
|
53
|
+
if (!(elem instanceof Element)) throw Error('DomUtil: elem is not an element.');
|
|
54
|
+
const style = getComputedStyle(elem);
|
|
55
|
+
if (style.display === 'none') return false;
|
|
56
|
+
if (style.visibility !== 'visible') return false;
|
|
57
|
+
if (style.opacity < 0.1) return false;
|
|
58
|
+
if (elem.offsetWidth + elem.offsetHeight + elem.getBoundingClientRect().height +
|
|
59
|
+
elem.getBoundingClientRect().width === 0) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
const elemCenter = {
|
|
63
|
+
x: elem.getBoundingClientRect().left + elem.offsetWidth / 2,
|
|
64
|
+
y: elem.getBoundingClientRect().top + elem.offsetHeight / 2
|
|
65
|
+
};
|
|
66
|
+
if (elemCenter.x < 0) return false;
|
|
67
|
+
if (elemCenter.x > (document.documentElement.clientWidth || window.innerWidth)) return false;
|
|
68
|
+
if (elemCenter.y < 0) return false;
|
|
69
|
+
if (elemCenter.y > (document.documentElement.clientHeight || window.innerHeight)) return false;
|
|
70
|
+
let pointContainer = document.elementFromPoint(elemCenter.x, elemCenter.y);
|
|
71
|
+
while (pointContainer && pointContainer !== document.body) {
|
|
72
|
+
if (pointContainer === elem) return true;
|
|
73
|
+
pointContainer = pointContainer.parentNode;
|
|
74
|
+
}
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|