@ganwei-web/ganwei-pc-cli 6.2.0 → 6.2.1
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/package.json +3 -3
- package/src/create-app.js +7 -7
- package/src/createQuestions.js +7 -16
- package/ganwei-iotcenter-index-6.2.0/.nvmrc +0 -1
- package/ganwei-iotcenter-index-6.2.0/configuration/cleanNodeModule.js +0 -18
- package/ganwei-iotcenter-index-6.2.0/configuration/gitClone.js +0 -45
- package/ganwei-iotcenter-index-6.2.0/configuration/moduleConfiguration.json +0 -20
- package/ganwei-iotcenter-index-6.2.0/configuration/updateModule.cjs +0 -30
- package/ganwei-iotcenter-index-6.2.0/init.cjs +0 -30
- package/ganwei-iotcenter-index-6.2.0/package.json +0 -41
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.babelrc +0 -4
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.editorconfig +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.development +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.production +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.env.test +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.eslintrc.cjs +0 -176
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/.prettierrc.cjs +0 -19
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/auto-imports.d.ts +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/enteryJson.js +0 -9
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +0 -38
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +0 -595
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/components.d.ts +0 -87
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/env.d.ts +0 -7
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/index.html +0 -31
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/package.json +0 -89
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +0 -16959
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +0 -16075
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +0 -70
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/index.css +0 -15926
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +0 -155
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +0 -1135
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +0 -1969
- 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 +0 -3779
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +0 -6596
- 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 +0 -486
- 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 +0 -48
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +0 -26
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +0 -20
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +0 -20
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +0 -19
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +0 -12
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +0 -19
- 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 +0 -67
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +0 -67
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +0 -67
- 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 +0 -67
- 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 +0 -32
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +0 -32
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +0 -9
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +0 -15
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +0 -27
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +0 -26
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +0 -37
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +0 -37
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +0 -15
- 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 +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +0 -1
- 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 +0 -19
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +0 -17
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +0 -17
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +0 -2
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +0 -25
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +0 -1
- 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 +0 -86
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/filereader.js +0 -455
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/font.js +0 -56
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +0 -57
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +0 -144
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +0 -52
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +0 -55
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +0 -311
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +0 -2
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +0 -2
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/moment.js +0 -5670
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +0 -14105
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +0 -17
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/tXml.js +0 -244
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +0 -58
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +0 -6
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +0 -11
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +0 -11
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +0 -6
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +0 -201
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/config.json +0 -154
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +0 -34
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +0 -246
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +0 -5384
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +0 -430
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/dark.css +0 -426
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +0 -48
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +0 -53
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +0 -357
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +0 -424
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/light.css +0 -414
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/App.vue +0 -52
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +0 -122
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/auto-import.d.ts +0 -61
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +0 -216
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +0 -238
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +0 -238
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +0 -113
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +0 -204
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +0 -258
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +0 -112
- 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 +0 -282
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +0 -19
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +0 -10
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +0 -50
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +0 -10
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +0 -28
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +0 -137
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +0 -20
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +0 -135
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +0 -327
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +0 -253
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +0 -61
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +0 -97
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +0 -95
- 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 +0 -8
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +0 -271
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +0 -45
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +0 -36
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +0 -70
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +0 -94
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +0 -35
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +0 -146
- 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 +0 -8
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +0 -81
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +0 -147
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +0 -30
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +0 -78
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +0 -265
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +0 -39
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +0 -94
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +0 -113
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +0 -90
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +0 -68
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +0 -178
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +0 -46
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +0 -195
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +0 -70
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +0 -95
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +0 -35
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +0 -240
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +0 -158
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +0 -50
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +0 -63
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +0 -40
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +0 -20
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +0 -398
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +0 -136
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +0 -36
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +0 -34
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +0 -44
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +0 -21
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +0 -65
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +0 -57
- 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 +0 -78
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +0 -68
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +0 -95
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.js +0 -65
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/toast/index.vue +0 -136
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +0 -36
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +0 -300
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/hostMap.js +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/main.js +0 -50
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +0 -29
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/publish/pub.ts +0 -28
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api/frame.js +0 -142
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/request/api.js +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/router.js +0 -34
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/store.js +0 -221
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/types.js +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +0 -156
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +0 -325
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +0 -66
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/historyExport.js +0 -158
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/utils/setStorage.js +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/Index.vue +0 -81
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/index.js +0 -297
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +0 -242
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +0 -54
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +0 -47
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/tsconfig.json +0 -57
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-index/vite.config.ts +0 -270
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.babelrc +0 -8
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.editorconfig +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.development +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.production +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.env.test +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.eslintrc.cjs +0 -162
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/.prettierrc.cjs +0 -37
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/auto-imports.d.ts +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/enteryJson.js +0 -72
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +0 -38
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +0 -595
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/env.d.ts +0 -7
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/index.html +0 -34
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/package.json +0 -84
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/drag.css +0 -140
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +0 -16957
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +0 -16075
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +0 -1471
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/index.css +0 -15926
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +0 -114
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +0 -1135
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +0 -1969
- 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 +0 -4151
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +0 -7247
- 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 +0 -316
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center.svg +0 -23
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +0 -24
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +0 -15
- 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 +0 -67
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +0 -67
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +0 -67
- 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 +0 -67
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left.svg +0 -23
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +0 -24
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +0 -15
- 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 +0 -23
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +0 -24
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +0 -15
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +0 -3
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js +0 -391
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js +0 -57
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +0 -57
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +0 -143
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +0 -52
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +0 -10716
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +0 -333
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/dark.css +0 -426
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +0 -46
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +0 -53
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +0 -336
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +0 -338
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/light.css +0 -414
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/App.vue +0 -70
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +0 -36
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +0 -402
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +0 -43
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +0 -88
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/index.scss +0 -1358
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +0 -113
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/login.scss +0 -335
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +0 -297
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +0 -199
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/style.css +0 -921
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +0 -147
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +0 -39
- 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 +0 -122
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +0 -118
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +0 -109
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +0 -134
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +0 -128
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +0 -138
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +0 -4
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +0 -223
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/hostMap.js +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/main.js +0 -39
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +0 -87
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js +0 -95
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api.js +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/router.js +0 -48
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/types.js +0 -16
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js +0 -25
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/isApp.js +0 -18
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/language.js +0 -45
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/myUtils.js +0 -646
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +0 -23
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +0 -27
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +0 -374
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +0 -202
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/login.vue +0 -458
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +0 -230
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +0 -58
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/vite.config.ts +0 -237
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.babelrc +0 -8
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.editorconfig +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.development +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.production +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.env.test +0 -22
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.eslintrc.cjs +0 -162
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierignore +0 -13
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/.prettierrc.cjs +0 -37
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/auto-imports.d.ts +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/enteryJson.js +0 -64
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +0 -15
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +0 -38
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +0 -595
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/env.d.ts +0 -7
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/index.html +0 -25
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/package.json +0 -94
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +0 -16957
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +0 -114
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +0 -1135
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +0 -1969
- 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 +0 -3535
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +0 -1
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +0 -6169
- 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 +0 -372
- 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 +0 -3
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/font.js +0 -58
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +0 -58
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +0 -142
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +0 -51
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +0 -430
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +0 -48
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +0 -424
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +0 -42
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/App.vue +0 -41
- 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 +0 -14
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/main.js +0 -39
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api/template.js +0 -11
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/request/api.js +0 -9
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/router.js +0 -23
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/utils/setStorage.js +0 -5
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/src/views/template.vue +0 -49
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.json +0 -21
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/tsconfig.node.json +0 -10
- package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-template/vite.config.ts +0 -240
- package/ganwei-iotcenter-index-6.2.0/pnpm-workspace.yaml +0 -3
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
import { createApp } from "vue";
|
|
4
|
-
import Element from 'element-plus';
|
|
5
|
-
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
6
|
-
import Axios from "axios";
|
|
7
|
-
import App from "./App";
|
|
8
|
-
import router from "./router";
|
|
9
|
-
import api from "./request/api";
|
|
10
|
-
import {encrypt as getCode} from "@ganwei-web/gw-base-api-plus/dist/index.es.js";
|
|
11
|
-
import { PartialNotify } from "@ganwei-web/gw-base-utils-plus/notification/dist/index.es.js";
|
|
12
|
-
import hostMap from "./hostMap";
|
|
13
|
-
import loading from '@ganwei-web/gw-base-components-plus/loading/dist/index.es.js'
|
|
14
|
-
import i18n from "@ganwei-web/gw-base-utils-plus/i18n/dist/index.es.js";
|
|
15
|
-
import { configInfoData,getCurrentDate} from '@ganwei-web/gw-base-utils-plus/commonutils/dist/index.es.js';
|
|
16
|
-
const app = createApp(App);
|
|
17
|
-
|
|
18
|
-
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
19
|
-
app.component(key, component)
|
|
20
|
-
}
|
|
21
|
-
app.component('loading', loading)
|
|
22
|
-
app.config.productionTip = false;
|
|
23
|
-
|
|
24
|
-
app.config.globalProperties.Axios = Axios;
|
|
25
|
-
|
|
26
|
-
app.config.globalProperties.i18n = i18n
|
|
27
|
-
|
|
28
|
-
app.use(Element)
|
|
29
|
-
app.use(i18n)
|
|
30
|
-
|
|
31
|
-
app.config.globalProperties.$hostMap = hostMap
|
|
32
|
-
app.config.globalProperties.$message = PartialNotify(app, 'ganwei-iotcenter-login')
|
|
33
|
-
app.config.globalProperties.$api = api
|
|
34
|
-
app.config.globalProperties.$getCode = getCode
|
|
35
|
-
app.config.globalProperties.myUtils = {
|
|
36
|
-
configInfoData,getCurrentDate
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
app.use(router).mount("#app")
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export default {
|
|
3
|
-
data () {
|
|
4
|
-
return {
|
|
5
|
-
isShow: false,
|
|
6
|
-
defaultConfigLanguage: '',
|
|
7
|
-
languageActive: ''
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
async created () {
|
|
11
|
-
// 先请求配置、语言列表,再根据languageType 请求语言
|
|
12
|
-
this.defaultConfig()
|
|
13
|
-
},
|
|
14
|
-
methods: {
|
|
15
|
-
defaultConfig () {
|
|
16
|
-
window.document.title = sessionStorage.platName || ''
|
|
17
|
-
window?.getConfigInfoData().then(webConfig => {
|
|
18
|
-
if (webConfig.img.platLogo) {
|
|
19
|
-
let link = document.createElement('link')
|
|
20
|
-
link.href = webConfig.img.platLogo
|
|
21
|
-
link.setAttribute('rel', 'icon')
|
|
22
|
-
link.setAttribute('type', 'image/x-icon')
|
|
23
|
-
window.document.head.prepend(link)
|
|
24
|
-
}
|
|
25
|
-
this.getAuthName(webConfig.titleConfig.platName)
|
|
26
|
-
sessionStorage.defaultConfigLanguage = webConfig.showLangSelect // 是否显示中英文选择框
|
|
27
|
-
this.defaultConfigLanguage = webConfig.defaultLanguageType
|
|
28
|
-
this.getsupportedcultures()
|
|
29
|
-
sessionStorage.mainImg = webConfig.img.loginImg
|
|
30
|
-
window.document.documentElement.setAttribute('data-theme', localStorage.theme || webConfig?.theme?.default)
|
|
31
|
-
localStorage.setItem('theme', localStorage.theme || webConfig?.theme?.default)
|
|
32
|
-
}).catch((err) => {
|
|
33
|
-
console.log(err)
|
|
34
|
-
})
|
|
35
|
-
},
|
|
36
|
-
getAuthName (platName) {
|
|
37
|
-
this.$api.getAuthName().then(res => {
|
|
38
|
-
window.document.title = res?.data?.data || platName;
|
|
39
|
-
sessionStorage.setItem('platName', res?.data?.data || platName)
|
|
40
|
-
}).catch(err => {
|
|
41
|
-
console.log(err)
|
|
42
|
-
window.document.title = platName
|
|
43
|
-
})
|
|
44
|
-
},
|
|
45
|
-
getsupportedcultures () {
|
|
46
|
-
|
|
47
|
-
let that = this, langString = localStorage.languageType
|
|
48
|
-
window.getLanguageOptions().then((data) => {
|
|
49
|
-
let dat = data || []
|
|
50
|
-
window.localStorage.langOptions = JSON.stringify(dat)
|
|
51
|
-
|
|
52
|
-
if (data.length > 0) {
|
|
53
|
-
// 存在操作记录 且 在操作项在列表中
|
|
54
|
-
if (langString && data.some((item) => { return item.value.toLowerCase().includes(langString.toLowerCase()) })) {
|
|
55
|
-
that.languageActive = localStorage.languageType
|
|
56
|
-
} else { // 没有操作记录
|
|
57
|
-
langString = that.convertLanguage(navigator.language).toLowerCase()
|
|
58
|
-
if (data.some((item) => { return item.value.toLowerCase().includes(langString.toLowerCase()) })) { // 浏览器默认值存在于列表中
|
|
59
|
-
that.languageActive = that.convertLanguage(navigator.language)
|
|
60
|
-
} else { // 使用web配置默认值
|
|
61
|
-
that.languageActive = that.defaultConfigLanguage || "zh-CN"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// 请求语言使用
|
|
65
|
-
localStorage.languageType = sessionStorage.languageType = that.languageActive
|
|
66
|
-
}
|
|
67
|
-
}).catch(err => {
|
|
68
|
-
console.log(err)
|
|
69
|
-
that.languageActive = that.defaultConfigLanguage || "zh-CN"
|
|
70
|
-
}).finally(err=>{
|
|
71
|
-
// 每次设置完首页中英文选项后,自动进入中英文获取,内部根据是否有缓存进行请求
|
|
72
|
-
this.getPublic()
|
|
73
|
-
})
|
|
74
|
-
},
|
|
75
|
-
convertLanguage (str) {
|
|
76
|
-
let result;
|
|
77
|
-
switch (str) {
|
|
78
|
-
case "en": result = "en-US"; break;
|
|
79
|
-
case "zh": result = "zh-CN"; break;
|
|
80
|
-
default:
|
|
81
|
-
result = str; break;
|
|
82
|
-
}
|
|
83
|
-
return result;
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/request/api/login.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Description:
|
|
3
|
-
* @LastEditTime: 2024-10-11 14:49:54
|
|
4
|
-
*/
|
|
5
|
-
const login = {
|
|
6
|
-
// 获取是否忽略验证码校验
|
|
7
|
-
IsIgnoreFalidateCode () {
|
|
8
|
-
return this.get('/IoT/api/v3/auth/IsIgnoreValidateCode');
|
|
9
|
-
},
|
|
10
|
-
//获取当前可切换的语言列表
|
|
11
|
-
getsupportedcultures () {
|
|
12
|
-
return this.get('/api/localization/getsupportedcultures');
|
|
13
|
-
},
|
|
14
|
-
// 获取验证码
|
|
15
|
-
getVerificationCode () {
|
|
16
|
-
return this.get('/IoT/api/v3/Auth/GetVerificationCode?codeType=0');
|
|
17
|
-
},
|
|
18
|
-
// 用户登录,获取token
|
|
19
|
-
login (params) {
|
|
20
|
-
return this.post('/IoT/api/v3/Auth/Login', params);
|
|
21
|
-
},
|
|
22
|
-
// 确认用户条款
|
|
23
|
-
addUserServer () {
|
|
24
|
-
return this.post('/IoT/api/v3/Auth/AddUserServer')
|
|
25
|
-
},
|
|
26
|
-
// 获取服务状态
|
|
27
|
-
GetServiceStatus () {
|
|
28
|
-
return this.get('/api/ServiceManage/GetServiceStatus');
|
|
29
|
-
},
|
|
30
|
-
// 获取注册码与许可状态
|
|
31
|
-
GetLicenseInfo () {
|
|
32
|
-
return this.get('/api/ServiceManage/GetLicenseInfo');
|
|
33
|
-
},
|
|
34
|
-
// 获取初始化状态
|
|
35
|
-
GetInitSate () {
|
|
36
|
-
return this.get('/api/ServiceManage/GetInitSate');
|
|
37
|
-
},
|
|
38
|
-
// 更新许可
|
|
39
|
-
UpdateLicense (data) {
|
|
40
|
-
return this.post('/api/ServiceManage/UploadLicense', data);
|
|
41
|
-
},
|
|
42
|
-
// 提交文件
|
|
43
|
-
UploadLicense (data) {
|
|
44
|
-
return this.postFile('/api/ServiceManage/UploadLicense', data);
|
|
45
|
-
},
|
|
46
|
-
// 初始化用户数据
|
|
47
|
-
InitService () {
|
|
48
|
-
return this.post('/api/ServiceManage/InitService');
|
|
49
|
-
},
|
|
50
|
-
// 启动服务、重启网关、更新许可
|
|
51
|
-
Reboot () {
|
|
52
|
-
return this.post('/api/ServiceManage/Reboot');
|
|
53
|
-
},
|
|
54
|
-
// 重启网站
|
|
55
|
-
RebootWeb () {
|
|
56
|
-
return this.post('/api/ServiceManage/RebootWeb');
|
|
57
|
-
},
|
|
58
|
-
// 下载日志
|
|
59
|
-
DownLoadXlog () {
|
|
60
|
-
return '/api/Maintain/DownLoadXlog';
|
|
61
|
-
},
|
|
62
|
-
// 是否首次登录
|
|
63
|
-
IsInitMaintainPwd () {
|
|
64
|
-
return this.get('/api/ServiceManage/IsInitMaintainPwd');
|
|
65
|
-
},
|
|
66
|
-
// 初始化管理员密码
|
|
67
|
-
InitAdminPwd (initData) {
|
|
68
|
-
return this.post('/api/Maintain/InitAdminPwd', initData);
|
|
69
|
-
},
|
|
70
|
-
// 验证管理员密码
|
|
71
|
-
VerifyLogin (data) {
|
|
72
|
-
return this.post('/api/Maintain/VerifyLogin', data);
|
|
73
|
-
},
|
|
74
|
-
getAuthName () {
|
|
75
|
-
return this.get('/IoT/api/v3/Auth/GetName2SF');
|
|
76
|
-
},
|
|
77
|
-
// 忘记密码-获取图片验证码
|
|
78
|
-
getImageCaptcha(){
|
|
79
|
-
return this.get('/IoT/api/v3/Account/GetImageCaptcha');
|
|
80
|
-
},
|
|
81
|
-
// 忘记密码-验证图片验证码/发送邮箱验证码
|
|
82
|
-
ValidateImageCaptchaAndSendEmail(data){
|
|
83
|
-
return this.post('/IoT/api/v3/Account/ValidateImageCaptchaAndSendEmail', data);
|
|
84
|
-
},
|
|
85
|
-
// 忘记密码-验证邮箱证码
|
|
86
|
-
ValidateEmailCaptcha(data){
|
|
87
|
-
return this.post('/IoT/api/v3/Account/ValidateEmailCaptcha', data);
|
|
88
|
-
},
|
|
89
|
-
// 忘记密码-找回密码
|
|
90
|
-
RetrievePassword(data){
|
|
91
|
-
return this.post('/IoT/api/v3/Account/RetrievePassword', data);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export default login
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createRouter,
|
|
3
|
-
createWebHashHistory
|
|
4
|
-
} from 'vue-router'
|
|
5
|
-
|
|
6
|
-
const LOGIN = () => import('./views/login.vue');
|
|
7
|
-
const SSOLOGIN = () => import('./views/ssoLogin.vue');
|
|
8
|
-
const SSOLOGOUT = () => import('./views/ssoLogout.vue');
|
|
9
|
-
|
|
10
|
-
const router = createRouter({
|
|
11
|
-
history: createWebHashHistory(),
|
|
12
|
-
routes: [
|
|
13
|
-
{
|
|
14
|
-
path: '/',
|
|
15
|
-
redirect: '/Login'
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
path: '/Login',
|
|
19
|
-
name: 'Login',
|
|
20
|
-
component: LOGIN
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
path: '/ssoLogin/:appid',
|
|
24
|
-
name: 'ssoLogin1',
|
|
25
|
-
component: SSOLOGIN
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
path: '/ssoLogin',
|
|
29
|
-
name: 'ssoLogin',
|
|
30
|
-
component: SSOLOGIN
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
path: '/ssoLogout',
|
|
34
|
-
name: 'ssoLogout',
|
|
35
|
-
component: SSOLOGOUT
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
path: '/ssoLogout/:appid',
|
|
39
|
-
name: 'ssoLogout1',
|
|
40
|
-
component: SSOLOGOUT
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
})
|
|
44
|
-
router.beforeEach((to, from, next) => {
|
|
45
|
-
next()
|
|
46
|
-
})
|
|
47
|
-
router.afterEach((to, from, next) => { })
|
|
48
|
-
export default router
|
|
@@ -1,16 +0,0 @@
|
|
|
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';
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/formValidate.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import i18n from '../main';
|
|
2
|
-
const regTel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
|
|
3
|
-
const regName = /^([A-Za-z0-9_]|[\u4e00-\u9fa5]){1,10}$/;
|
|
4
|
-
|
|
5
|
-
function validateTel(rule, value, callback) {
|
|
6
|
-
if (value === '') {
|
|
7
|
-
callback(new Error(i18n.t('formValidate.empty_phoneNum')));
|
|
8
|
-
} else if (!regTel.test(value)) {
|
|
9
|
-
callback(new Error(i18n.t('formValidate.error_phoneNum')));
|
|
10
|
-
} else {
|
|
11
|
-
callback();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function validateName(rule, value, callback) {
|
|
16
|
-
if (value === '') {
|
|
17
|
-
callback(new Error(i18n.t('formValidate.empty_username')));
|
|
18
|
-
} else if (value !== '' && !regName.test(value)) {
|
|
19
|
-
callback(new Error(i18n.t('formValidate.length_username')));
|
|
20
|
-
} else {
|
|
21
|
-
callback();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export {validateTel, validateName}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
function onUserAgent() {
|
|
2
|
-
let navigator = window && window.navigator;
|
|
3
|
-
var sUserAgent = navigator.userAgent.toLowerCase();
|
|
4
|
-
//var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
|
|
5
|
-
var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
|
|
6
|
-
var bIsMidp = sUserAgent.match(/midp/i) == "midp";
|
|
7
|
-
var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
|
|
8
|
-
var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
|
|
9
|
-
var bIsAndroid = sUserAgent.match(/android/i) == "android";
|
|
10
|
-
//var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
|
|
11
|
-
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
|
|
12
|
-
if (bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsWM) {
|
|
13
|
-
return true //是app
|
|
14
|
-
} else {
|
|
15
|
-
return false //非app
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export default onUserAgent
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import Axios from 'axios';
|
|
2
|
-
export default class language {
|
|
3
|
-
getPluginId () {
|
|
4
|
-
let arr = window.top.location.href.split('jump/')
|
|
5
|
-
if (arr.length > 1) {
|
|
6
|
-
return arr.pop().split('/')[0]
|
|
7
|
-
}
|
|
8
|
-
return ''
|
|
9
|
-
}
|
|
10
|
-
static getLanguageByPage (languageType, page, pluginId) {
|
|
11
|
-
let baseUrl = import.meta.env.NODE_ENV === 'production' ? "/APP" : ""
|
|
12
|
-
if (!pluginId) {
|
|
13
|
-
pluginId = this.getPluginId()
|
|
14
|
-
}
|
|
15
|
-
let url = pluginId ? `${baseUrl}/${pluginId}` : baseUrl;
|
|
16
|
-
|
|
17
|
-
return new Promise((resolve, reject) => {
|
|
18
|
-
Axios.get(`${url}/static/language/${languageType}/${page}.json`).then(res => {
|
|
19
|
-
if (res.status == 200) {
|
|
20
|
-
resolve(res.data)
|
|
21
|
-
} else {
|
|
22
|
-
reject(res)
|
|
23
|
-
}
|
|
24
|
-
}).catch(err => {
|
|
25
|
-
reject(err)
|
|
26
|
-
})
|
|
27
|
-
})
|
|
28
|
-
}
|
|
29
|
-
static async getLanguage (languageType, pageItem, vm) {
|
|
30
|
-
if (vm) {
|
|
31
|
-
if (!vm.$i18n.messages[languageType]) {
|
|
32
|
-
vm.$i18n.messages[languageType] = {}
|
|
33
|
-
}
|
|
34
|
-
if (vm.$i18n.messages[languageType][pageItem]) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
await this.getLanguageByPage(languageType, pageItem).then(res => {
|
|
38
|
-
vm.$i18n.messages[languageType][pageItem] = res
|
|
39
|
-
}).catch(err => {
|
|
40
|
-
console.log(err)
|
|
41
|
-
})
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
}
|