@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,78 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import inputPassword from '@/components/inputPassword/index.vue'
|
|
2
|
-
import forceEdit from './forceEdit'
|
|
3
|
-
export default {
|
|
4
|
-
components: {
|
|
5
|
-
inputPassword
|
|
6
|
-
},
|
|
7
|
-
mixins: [forceEdit],
|
|
8
|
-
props: {
|
|
9
|
-
showDialog: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
default: false
|
|
12
|
-
},
|
|
13
|
-
passwordPolicy: {
|
|
14
|
-
type: [Number, String],
|
|
15
|
-
default: ''
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
watch: {
|
|
19
|
-
showDialog (val) {
|
|
20
|
-
if (val) {
|
|
21
|
-
this.getRule()
|
|
22
|
-
}
|
|
23
|
-
this.dialogVisible = val;
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
data () {
|
|
27
|
-
return {
|
|
28
|
-
dialogVisible: false,
|
|
29
|
-
changePwd: {
|
|
30
|
-
oldPwd: '',
|
|
31
|
-
newPwd: '',
|
|
32
|
-
confPwd: ''
|
|
33
|
-
},
|
|
34
|
-
// 修改密码校验规则
|
|
35
|
-
regPwdLength: /./,
|
|
36
|
-
regPwd1: /./,
|
|
37
|
-
regPwd2: new RegExp('[\u4E00-\u9FFF]+'),
|
|
38
|
-
regPwd3: /^[\S]*$/,
|
|
39
|
-
|
|
40
|
-
regPwdLengthMsg: '',
|
|
41
|
-
regPwdMsg: '',
|
|
42
|
-
pwdHaveName: undefined,
|
|
43
|
-
minCharacters: 0,
|
|
44
|
-
pwdCharacters: 0,
|
|
45
|
-
pwdMinCharactersMsg: undefined,
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
computed: {
|
|
49
|
-
rules () {
|
|
50
|
-
return {
|
|
51
|
-
oldPwd: [
|
|
52
|
-
{
|
|
53
|
-
type: 'string',
|
|
54
|
-
required: true,
|
|
55
|
-
validator: (rule, value, callback) => {
|
|
56
|
-
if (!value) {
|
|
57
|
-
callback(new Error(this.$t('login.framePro.tips.enterOriginPas')))
|
|
58
|
-
}
|
|
59
|
-
callback()
|
|
60
|
-
},
|
|
61
|
-
trigger: 'blur'
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
newPwd: [
|
|
65
|
-
{
|
|
66
|
-
validator: this.validatePass,
|
|
67
|
-
required: true,
|
|
68
|
-
trigger: 'blur'
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
confPwd: [
|
|
72
|
-
{
|
|
73
|
-
validator: this.validateConfPass,
|
|
74
|
-
required: true,
|
|
75
|
-
trigger: 'blur'
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
methods: {
|
|
83
|
-
changeCode () {
|
|
84
|
-
this.$refs['changePasswordForm'].validate(async valid => {
|
|
85
|
-
if (valid) {
|
|
86
|
-
let data = {
|
|
87
|
-
userName: window.sessionStorage.userName,
|
|
88
|
-
oldPassword: await this.$getCode.RSAEncrypt(this.changePwd.oldPwd),
|
|
89
|
-
newPassword: await this.$getCode.RSAEncrypt(this.changePwd.newPwd)
|
|
90
|
-
}
|
|
91
|
-
this.$api.getUpdUserInfoData(data).then(rt => {
|
|
92
|
-
let code = rt?.data?.code
|
|
93
|
-
if (code == 200) {
|
|
94
|
-
this.$message.success(this.$t('login.framePro.tips.changeSuccess'))
|
|
95
|
-
this.quitLogin()
|
|
96
|
-
} else if (code == 5001) {
|
|
97
|
-
this.$message.warning(rt?.data?.message)
|
|
98
|
-
return
|
|
99
|
-
} else if (code == -100) {
|
|
100
|
-
this.$message.error(rt?.data?.message)
|
|
101
|
-
setTimeout(() => {
|
|
102
|
-
this.quitLogin()
|
|
103
|
-
}, 1000)
|
|
104
|
-
} else {
|
|
105
|
-
if (rt?.data?.message) {
|
|
106
|
-
this.$message.error(
|
|
107
|
-
rt?.data?.message
|
|
108
|
-
)
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
})
|
|
112
|
-
}
|
|
113
|
-
})
|
|
114
|
-
},
|
|
115
|
-
quitLogin (typeName) {
|
|
116
|
-
let isSsoLogin = window.sessionStorage.getItem('isSsoLogin')
|
|
117
|
-
if (isSsoLogin) {
|
|
118
|
-
this.$router.replace('/ganwei-iotcenter-login/ssoLogout')
|
|
119
|
-
window.sessionStorage.clear()
|
|
120
|
-
return
|
|
121
|
-
}
|
|
122
|
-
typeName = typeName == 'get' ? 'get' : 'post'
|
|
123
|
-
this.$api.loginOut(typeName).then(rt => {
|
|
124
|
-
if (rt?.data?.code == 200) {
|
|
125
|
-
window.sessionStorage.clear()
|
|
126
|
-
this.$message.success(this.$t('login.framePro.tips.loggedOut'))
|
|
127
|
-
if (isSsoLogin == null || isSsoLogin == undefined || !isSsoLogin) {
|
|
128
|
-
window.location.href = window.location.origin + '/ganwei-iotcenter-login'
|
|
129
|
-
} else {
|
|
130
|
-
this.$router.replace('/ganwei-iotcenter-login/ssoLogout')
|
|
131
|
-
}
|
|
132
|
-
} else {
|
|
133
|
-
this.$message.error(this.$t('login.framePro.tips.logOutFail'))
|
|
134
|
-
}
|
|
135
|
-
}).catch(er=>{
|
|
136
|
-
if(er.status == 405 && typeName == "post"){
|
|
137
|
-
this.quitLogin ('get')
|
|
138
|
-
}
|
|
139
|
-
})
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
pwdInputChange (val) {
|
|
143
|
-
if (window.sessionStorage.accountRule) {
|
|
144
|
-
let rule = JSON.parse(window.sessionStorage.accountRule)
|
|
145
|
-
if (rule.password.minCharacters != 0) {
|
|
146
|
-
let len = val.length
|
|
147
|
-
let arr = []
|
|
148
|
-
for (let i = 0; i < len; i++) {
|
|
149
|
-
if (arr.indexOf(val[i]) == -1) {
|
|
150
|
-
arr.push(val[i])
|
|
151
|
-
}
|
|
152
|
-
this.pwdCharacters = arr.length
|
|
153
|
-
if (arr.length >= rule.password.minCharacters) {
|
|
154
|
-
break
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
getRule () {
|
|
161
|
-
this.$api
|
|
162
|
-
.GetAccountPasswordRule()
|
|
163
|
-
.then(res => {
|
|
164
|
-
const { code, data, message } = res?.data || {}
|
|
165
|
-
if (code === 200) {
|
|
166
|
-
if (data) {
|
|
167
|
-
window.sessionStorage.accountRule = JSON.stringify(data || '{}')
|
|
168
|
-
this.setRule()
|
|
169
|
-
}
|
|
170
|
-
} else if (message) {
|
|
171
|
-
this.$message.error(message)
|
|
172
|
-
}
|
|
173
|
-
})
|
|
174
|
-
.catch(er => {
|
|
175
|
-
console.log(er)
|
|
176
|
-
})
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
setRule () {
|
|
180
|
-
let rule = JSON.parse(window.sessionStorage.accountRule)
|
|
181
|
-
let regArr = ['(?=.*[a-z])', '(?=.*[A-Z])', '(?=.*[0-9])', '(?=.*[`~!@#$%^&*()_+={}|:;"\'<>,.?/-])']
|
|
182
|
-
let msgArr = [
|
|
183
|
-
this.$t('login.framePro.tips.lowercaseLetter'),
|
|
184
|
-
this.$t('login.framePro.tips.capitalize'),
|
|
185
|
-
this.$t('login.framePro.tips.number'),
|
|
186
|
-
this.$t('login.framePro.tips.specialSymbols')
|
|
187
|
-
]
|
|
188
|
-
|
|
189
|
-
// 密码规则
|
|
190
|
-
if (rule.password.enabled === true) {
|
|
191
|
-
// 密码长度
|
|
192
|
-
this.regPwdLength = new RegExp('^.{' + rule.password.length + ',32}$')
|
|
193
|
-
this.regPwdLengthMsg = this.$t('login.framePro.tips.passwordLength') + `${rule.password.length}-32` + this.$t('login.framePro.tips.characterNumber')
|
|
194
|
-
|
|
195
|
-
// 密码中必须包含的类型
|
|
196
|
-
let regStr = '^'
|
|
197
|
-
let newMsgArr = []
|
|
198
|
-
for (let item of rule.password.elements) {
|
|
199
|
-
regStr += regArr[item]
|
|
200
|
-
newMsgArr.push(msgArr[item])
|
|
201
|
-
}
|
|
202
|
-
this.regPwd1 = new RegExp(regStr)
|
|
203
|
-
this.regPwdMsg = this.$t('login.framePro.tips.passwordHas') + newMsgArr.join('、')
|
|
204
|
-
|
|
205
|
-
if (!rule.password.allowedUserName) {
|
|
206
|
-
this.pwdHaveName = this.$t('login.framePro.tips.passwordNoHasUser')
|
|
207
|
-
} else {
|
|
208
|
-
this.pwdHaveName = undefined
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
if (rule.password.minCharacters != 0) {
|
|
212
|
-
this.minCharacters = rule.password.minCharacters
|
|
213
|
-
this.pwdMinCharactersMsg = new Error(this.$t('login.framePro.tips.containAtLeast') + `${rule.password.minCharacters}` + this.$t('login.framePro.tips.differentCharacters'))
|
|
214
|
-
} else {
|
|
215
|
-
this.pwdMinCharactersMsg = undefined
|
|
216
|
-
}
|
|
217
|
-
} else {
|
|
218
|
-
this.regPwdLength = /./
|
|
219
|
-
this.regPwd1 = /./
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
|
|
223
|
-
validatePass (rule, value, callback) {
|
|
224
|
-
if (value === '') {
|
|
225
|
-
callback(new Error(this.$t('login.framePro.tips.inputNewPassword')))
|
|
226
|
-
} else if (!this.regPwdLength.test(value)) {
|
|
227
|
-
callback(new Error(this.regPwdLengthMsg))
|
|
228
|
-
} else if (value != '' && !this.regPwd1.test(value)) {
|
|
229
|
-
callback(new Error(this.regPwdMsg))
|
|
230
|
-
} else if (this.regPwd2.test(value)) {
|
|
231
|
-
callback(new Error(this.$t('login.framePro.tips.noChinese')))
|
|
232
|
-
} else if (!this.regPwd3.test(value)) {
|
|
233
|
-
callback(new Error(this.$t('login.framePro.tips.noSpaces')))
|
|
234
|
-
} else if (this.pwdCharacters < this.minCharacters) {
|
|
235
|
-
callback(this.pwdMinCharactersMsg)
|
|
236
|
-
} else if (value == this.changePwd.oldPwd) {
|
|
237
|
-
callback(new Error(this.$t('login.framePro.tips.newAndOldPwd')))
|
|
238
|
-
} else if (value.indexOf(window.sessionStorage.userName) != -1 && window.sessionStorage.userName != '') {
|
|
239
|
-
callback(this.pwdHaveName)
|
|
240
|
-
} else {
|
|
241
|
-
callback()
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
|
|
245
|
-
validateConfPass (rule, value, callback) {
|
|
246
|
-
if (value === '') {
|
|
247
|
-
callback(new Error(this.$t('login.framePro.tips.enterConfirmPas')))
|
|
248
|
-
} else if (value != this.changePwd.newPwd) {
|
|
249
|
-
callback(new Error(this.$t('login.framePro.tips.towPasAreNoSame')))
|
|
250
|
-
} else {
|
|
251
|
-
callback()
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
|
|
255
|
-
closeDialog () {
|
|
256
|
-
if (this.passwordPolicy != 1) {
|
|
257
|
-
this.changePwd.oldPwd = ''
|
|
258
|
-
this.changePwd.newPwd = ''
|
|
259
|
-
this.changePwd.confPwd = ''
|
|
260
|
-
this.$refs['changePasswordForm'].resetFields()
|
|
261
|
-
this.$emit('closeDialog')
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dialog :key="key" ref="editPasswordDialog" class="editPassword" @closed="closeDialog" modal-class="editPassword" v-model="dialogVisible" width="480px" top="0vh"
|
|
3
|
-
:close-on-click-modal="false" :show-close="false" center :close-on-press-escape="false" append-to="#index" >
|
|
4
|
-
<template #header>
|
|
5
|
-
<div>
|
|
6
|
-
<span class="el-dialog__title" style="line-height: 24px; font-size: 18px">{{
|
|
7
|
-
$t('login.framePro.title.dialogChangePasswordTitle') }}</span>
|
|
8
|
-
<i v-show="passwordPolicy != 1"
|
|
9
|
-
style="position: absolute; top: 20px; right: 20px; line-height: 20px; font-size: 14px; color: #909399; cursor: pointer"
|
|
10
|
-
class="iconfont icon-tubiao24_guanbi" @click.stop.prevent="closeDialog"></i>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
<el-form :model="changePwd" label-position="top" :rules="rules" ref="changePasswordForm">
|
|
14
|
-
<el-form-item :label="$t('login.framePro.label.originalPassword')" prop="oldPwd">
|
|
15
|
-
<inputPassword v-model="changePwd.oldPwd" :placeholder="$t('login.framePro.tips.enterOriginPas')" />
|
|
16
|
-
</el-form-item>
|
|
17
|
-
<el-form-item :label="$t('login.framePro.label.newPassword')" prop="newPwd">
|
|
18
|
-
<inputPassword v-model="changePwd.newPwd" :placeholder="$t('login.framePro.tips.inputNewPassword')"
|
|
19
|
-
@change="pwdInputChange" />
|
|
20
|
-
</el-form-item>
|
|
21
|
-
<el-form-item :label="$t('login.framePro.label.confirmPassword')" prop="confPwd">
|
|
22
|
-
<inputPassword v-model="changePwd.confPwd" :placeholder="$t('login.framePro.tips.enterConfirmPas')" />
|
|
23
|
-
</el-form-item>
|
|
24
|
-
</el-form>
|
|
25
|
-
|
|
26
|
-
<template #footer>
|
|
27
|
-
<span class="dialog-footer">
|
|
28
|
-
<el-button type="primary" v-if="passwordPolicy != 1" plain @click.stop.prevent="closeDialog">{{
|
|
29
|
-
$t('login.publics.button.cancel') }}</el-button>
|
|
30
|
-
<el-button type="primary" @click.stop.prevent="changeCode()">{{ $t('login.publics.button.confirm') }}
|
|
31
|
-
</el-button>
|
|
32
|
-
</span>
|
|
33
|
-
</template>
|
|
34
|
-
</el-dialog>
|
|
35
|
-
</template>
|
|
36
|
-
|
|
37
|
-
<script src="./index.js"></script>
|
|
38
|
-
|
|
39
|
-
<style src="./index.scss"></style>
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import logoutDialog from './logoutDialog/index.vue'
|
|
3
|
-
import PWEditDialog from './PWEditDialog/index.vue'
|
|
4
|
-
import restartPlatformDialog from './restartPlatformDialog/index.vue'
|
|
5
|
-
import safeModeDialog from './safeModeDialog/index.vue'
|
|
6
|
-
import switchPark from './switchPark/index.vue'
|
|
7
|
-
import systemInfoDialog from './systemInfoDialog/index.vue'
|
|
8
|
-
export default {
|
|
9
|
-
components: {
|
|
10
|
-
logoutDialog,
|
|
11
|
-
PWEditDialog,
|
|
12
|
-
systemInfoDialog,
|
|
13
|
-
restartPlatformDialog,
|
|
14
|
-
safeModeDialog,
|
|
15
|
-
switchPark
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
inject: ['config', 'theme'],
|
|
19
|
-
data() {
|
|
20
|
-
return {
|
|
21
|
-
// 登录者姓名
|
|
22
|
-
loginUsername: window.sessionStorage.userName,
|
|
23
|
-
showLogoutDialog: false,
|
|
24
|
-
showPWEditDialog: false,
|
|
25
|
-
showSystemInfoDialog: false,
|
|
26
|
-
passwordPolicy: '',
|
|
27
|
-
isAdmin: false,
|
|
28
|
-
showRestartPlatform: false,
|
|
29
|
-
showSafeModeDialog: false,
|
|
30
|
-
organizationName: '',
|
|
31
|
-
parkDialog: false,
|
|
32
|
-
showComfirm: localStorage.getItem('multiPark') == 'true' ? true : false
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
mounted() {
|
|
36
|
-
this.passwordPolicy = sessionStorage.passwordPolicy || ''
|
|
37
|
-
this.$api.getUserInfo().then(res => {
|
|
38
|
-
const { code, data, message } = res?.data || {}
|
|
39
|
-
if (code == -99999) {
|
|
40
|
-
this.openDialog('showPWEditDialog')
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
if (code == 200) {
|
|
44
|
-
this.loginUsername = sessionStorage.userName = data?.userName
|
|
45
|
-
sessionStorage.passwordPolicy = this.passwordPolicy = data?.passwordPolicy?.passwordPolicy
|
|
46
|
-
this.isAdmin = data?.role == 'ADMIN'
|
|
47
|
-
if (data?.passwordPolicy?.passwordPolicy == 1) {
|
|
48
|
-
this.openDialog('showPWEditDialog')
|
|
49
|
-
}
|
|
50
|
-
this.organizationName = data?.organizationName
|
|
51
|
-
this.$bus.emit('organizationName', this.organizationName)
|
|
52
|
-
} else {
|
|
53
|
-
this.$message.warning(message)
|
|
54
|
-
}
|
|
55
|
-
})
|
|
56
|
-
},
|
|
57
|
-
methods: {
|
|
58
|
-
openDialog(dialog) {
|
|
59
|
-
this[dialog] = true
|
|
60
|
-
},
|
|
61
|
-
closeDialog(dialog) {
|
|
62
|
-
this[dialog] = false
|
|
63
|
-
},
|
|
64
|
-
updateApplicationAuth() {
|
|
65
|
-
this.$msgbox({
|
|
66
|
-
title: this.$t('login.framePro.title.updateApplicationAuth'),
|
|
67
|
-
message: this.$t('login.framePro.tips.updateApplicationAuthTip'),
|
|
68
|
-
customClass: 'message-auth-dialog',
|
|
69
|
-
showCancelButton: true,
|
|
70
|
-
type: 'warning',
|
|
71
|
-
confirmButtonText: this.$t('login.publics.button.confirm'),
|
|
72
|
-
cancelButtonText: this.$t('login.publics.button.cancel'),
|
|
73
|
-
beforeClose: (action, instance, done) => {
|
|
74
|
-
if (action === 'confirm') {
|
|
75
|
-
instance.confirmButtonLoading = true;
|
|
76
|
-
setTimeout(() => {
|
|
77
|
-
this.$api.updateApplicationAuth().then(res => {
|
|
78
|
-
const { code, message } = res?.data || {}
|
|
79
|
-
if (code == 200) {
|
|
80
|
-
this.$message.success(message)
|
|
81
|
-
} else {
|
|
82
|
-
this.$message.warning(message)
|
|
83
|
-
}
|
|
84
|
-
}).finally(() => {
|
|
85
|
-
instance.confirmButtonLoading = false;
|
|
86
|
-
done()
|
|
87
|
-
})
|
|
88
|
-
}, 120);
|
|
89
|
-
} else { done() }
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
.el-dropdown-menu {
|
|
2
|
-
margin-top: 0;
|
|
3
|
-
|
|
4
|
-
p {
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
width: 220px;
|
|
7
|
-
height: 28px;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
color: #f0f4ff;
|
|
11
|
-
padding: 10px 4px;
|
|
12
|
-
margin: 0px;
|
|
13
|
-
|
|
14
|
-
i {
|
|
15
|
-
margin-left: 16px;
|
|
16
|
-
margin-right: 14px;
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.user {
|
|
22
|
-
padding: 4px 15px 14px;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
margin-bottom: 10px;
|
|
26
|
-
border-bottom: 1px solid var(--poper-border);
|
|
27
|
-
|
|
28
|
-
.el-avatar {
|
|
29
|
-
background: transparent;
|
|
30
|
-
height: auto;
|
|
31
|
-
margin-right: 10px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
span {
|
|
35
|
-
color: var(--dropdown-menu-color);
|
|
36
|
-
font-size: 16px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.el-overlay-message-box {
|
|
42
|
-
.el-message-box {
|
|
43
|
-
transform: translateY(-100px);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.message-auth-dialog {
|
|
47
|
-
.el-message-box__message {
|
|
48
|
-
padding-left: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.dividingLine {
|
|
54
|
-
margin: 5px 0;
|
|
55
|
-
height: 1px;
|
|
56
|
-
background-color: var(--poper-border);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.el-dropdown-menu p {
|
|
60
|
-
height: 34px !important;
|
|
61
|
-
width: auto !important;
|
|
62
|
-
padding-right: 20px !important;
|
|
63
|
-
|
|
64
|
-
.iconBox {
|
|
65
|
-
height: 20px !important;
|
|
66
|
-
width: 20px !important;
|
|
67
|
-
padding: 0 6px;
|
|
68
|
-
margin-left: 6px;
|
|
69
|
-
display: inline-block;
|
|
70
|
-
display: flex;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
align-items: center;
|
|
73
|
-
margin-right: 6px;
|
|
74
|
-
border-radius: 6px;
|
|
75
|
-
|
|
76
|
-
i {
|
|
77
|
-
margin: 0px !important;
|
|
78
|
-
font-size: 14px !important;
|
|
79
|
-
color: white;
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.iconBox.info {
|
|
85
|
-
background-color: rgb(47, 169, 230);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.iconBox.updateAuth {
|
|
89
|
-
background-color: rgb(103, 99, 239);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.iconBox.restartPlatform {
|
|
93
|
-
background-color: rgb(39, 174, 121);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.iconBox.changePassword {
|
|
97
|
-
background-color: rgb(253, 176, 61);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.iconBox.logout {
|
|
101
|
-
background-color: rgb(243, 112, 113);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.iconBox.safeMode {
|
|
105
|
-
background-color: rgb(47, 169, 230);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
span {
|
|
109
|
-
display: inline-block;
|
|
110
|
-
white-space: nowrap;
|
|
111
|
-
color: var(--frame-main-color);
|
|
112
|
-
}
|
|
113
|
-
}
|