@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
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/drag.js
DELETED
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* drag 1.1
|
|
3
|
-
* date 2017-02-10
|
|
4
|
-
* 获取滑块验证码
|
|
5
|
-
*/
|
|
6
|
-
(function($) {
|
|
7
|
-
let __imgx = 0, // 图片宽度
|
|
8
|
-
__imgy = 0, // 图片高度
|
|
9
|
-
__spec = '', // 图片尺寸
|
|
10
|
-
__successCallBack, // 校验通过后执行的回调函数
|
|
11
|
-
__codediv, // 验证码区域的div
|
|
12
|
-
__url = ''; // 路径
|
|
13
|
-
$.fn.slide = function(options) {
|
|
14
|
-
let imgspec = options.imgspec;
|
|
15
|
-
__successCallBack = options.successCallBack;
|
|
16
|
-
__url = options.__url;
|
|
17
|
-
|
|
18
|
-
// 校验参数
|
|
19
|
-
if (typeof imgspec === 'undefined') {
|
|
20
|
-
imgspec = '300*300';
|
|
21
|
-
} else if (typeof imgspec !== 'string') {
|
|
22
|
-
imgspec = '300*300';
|
|
23
|
-
}
|
|
24
|
-
let div = this;
|
|
25
|
-
__codediv = '__Verification';
|
|
26
|
-
__spec = imgspec;
|
|
27
|
-
__init();
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
// 公开刷新函数
|
|
31
|
-
$.fn.refresh = __init;
|
|
32
|
-
|
|
33
|
-
// 载入
|
|
34
|
-
function __init() {
|
|
35
|
-
if (__spec === '') __spec = '300*300';
|
|
36
|
-
let _spec = __spec.split('*');
|
|
37
|
-
__imgx = _spec[0];
|
|
38
|
-
__imgy = _spec[1];
|
|
39
|
-
$('#' + __codediv).css('width', __imgx);
|
|
40
|
-
$('#' + __codediv).css('height', parseInt(__imgy) + 50);
|
|
41
|
-
CreadeCodeDiv();
|
|
42
|
-
$('#drag').drag(__successCallBack, __imgx, __imgy, __codediv, __url);
|
|
43
|
-
$.ajax({ // 获取验证码
|
|
44
|
-
type: 'get',
|
|
45
|
-
url: __url,
|
|
46
|
-
dataType: 'JSON',
|
|
47
|
-
async: true,
|
|
48
|
-
data: {
|
|
49
|
-
spec: __spec,
|
|
50
|
-
timestamp: new Date().getTime()
|
|
51
|
-
},
|
|
52
|
-
success: function(res) {
|
|
53
|
-
let result = res.data?res.data.verificationCode:{};
|
|
54
|
-
sessionStorage.setItem('verificationKey', res.data?res.data.verificationKey:'');
|
|
55
|
-
if(typeof result === 'string') {
|
|
56
|
-
result = JSON.parse(result);
|
|
57
|
-
}
|
|
58
|
-
if (result['state'] === -1) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
if (result['y'] > 160) {
|
|
62
|
-
__init();
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
let yvalue = result['y'],
|
|
66
|
-
small = result['small'],
|
|
67
|
-
array = result['array'],
|
|
68
|
-
normal = result['normal'];
|
|
69
|
-
__imgx = result['imgx'];
|
|
70
|
-
__imgy = result['imgy'];
|
|
71
|
-
$('.cut_bg').css('background-image', 'url(' + normal + ')');
|
|
72
|
-
$('#xy_img').css('background-image', 'url(' + small + ')');
|
|
73
|
-
$('#xy_img').css('top', yvalue);
|
|
74
|
-
$('#drag').css('width', __imgx);
|
|
75
|
-
$('#drag .drag_text').css('width', __imgx);
|
|
76
|
-
$('.cut_bg').css('width', __imgx / 10);
|
|
77
|
-
$('.cut_bg').css('height', __imgy / 2);
|
|
78
|
-
$('.refesh_bg').show();
|
|
79
|
-
$('.refesh_bg').css('left', __imgx - 40);
|
|
80
|
-
let bgarray = array.split(',');
|
|
81
|
-
|
|
82
|
-
// 还原图片
|
|
83
|
-
let _cutX = __imgx / 10;
|
|
84
|
-
let _cutY = __imgy / 2;
|
|
85
|
-
for (let i = 0; i < bgarray.length; i++) {
|
|
86
|
-
let num = indexOf(bgarray, i.toString()); // 第i张图相对于混淆图片的位置为num
|
|
87
|
-
let x = 0,
|
|
88
|
-
y = 0;
|
|
89
|
-
|
|
90
|
-
// 还原前偏移
|
|
91
|
-
y = i > 9 ? -_cutY : 0;
|
|
92
|
-
x = i > 9 ? (i - 10) * -_cutX : i * -_cutX;
|
|
93
|
-
|
|
94
|
-
// 当前y轴偏移量
|
|
95
|
-
if (num > 9 && i < 10) y = y - _cutY;
|
|
96
|
-
if (i > 9 && num < 10) y = y + _cutY;
|
|
97
|
-
|
|
98
|
-
// 当前x轴偏移量
|
|
99
|
-
x = x + (num - i) * -_cutX;
|
|
100
|
-
|
|
101
|
-
// 显示第i张图片
|
|
102
|
-
$('#bb' + i).css('background-position', x + 'px ' + y + 'px');
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// 完成,移除提示
|
|
106
|
-
$('.vcode-hints').remove();
|
|
107
|
-
},
|
|
108
|
-
error: function(xhr, textStatus, errorThrown) {
|
|
109
|
-
},
|
|
110
|
-
beforeSend: function() {}
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function indexOf(arr, str) {
|
|
115
|
-
if (arr && arr.indexOf) return arr.indexOf(str);
|
|
116
|
-
let len = arr.length;
|
|
117
|
-
for (let i = 0; i < len; i++) {
|
|
118
|
-
if (arr[i] === str) return i;
|
|
119
|
-
}
|
|
120
|
-
return -1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// 绘制验证码结构
|
|
124
|
-
function CreadeCodeDiv() {
|
|
125
|
-
let _codeDom = $('#' + __codediv)[0];
|
|
126
|
-
if (!_codeDom) return;
|
|
127
|
-
_codeDom.innerHTML = '';
|
|
128
|
-
let __codeHTML = "<div style='width:" + __imgx + 'px;height:' + __imgy + "px;background-color:#e8e8e8;'>";
|
|
129
|
-
|
|
130
|
-
// 正在载入提示文字
|
|
131
|
-
__codeHTML += "<div class='vcode-hints'style='width:" + __imgx + 'px;line-height:' + (__imgy / 100) * 7 + ";'>\u6b63\u5728\u8f7d\u5165...</div>";
|
|
132
|
-
for (let i = 0; i < 20; i++) {
|
|
133
|
-
|
|
134
|
-
// 20张小图组成完整的验证码图片
|
|
135
|
-
__codeHTML += "<div id='bb" + i + "'class='cut_bg'></div>";
|
|
136
|
-
}
|
|
137
|
-
__codeHTML += "<div id='xy_img'class='xy_img_bord'></div></div><div id='drag'></div>";
|
|
138
|
-
_codeDom.innerHTML = __codeHTML;
|
|
139
|
-
}
|
|
140
|
-
})(jQuery);
|
|
141
|
-
|
|
142
|
-
/*
|
|
143
|
-
*
|
|
144
|
-
* date 2017-02-10
|
|
145
|
-
* 滑块验证码校验
|
|
146
|
-
*/
|
|
147
|
-
(function($) {
|
|
148
|
-
$.fn.drag = function(__successCallBack, imgx, imgy, __codediv, __url) {
|
|
149
|
-
let x, drag = this,
|
|
150
|
-
isMove = false;
|
|
151
|
-
|
|
152
|
-
// 添加背景,文字,滑块
|
|
153
|
-
let html = '<div class="drag_bg"></div><div class="drag_text" onselectstart="return false;"' + 'unselectable="on">'+sessionStorage.getItem('slideTipsLabel')+'</div>' + '<div class="handler handler_bg"></div><a href="javascript:;"' + ' title="'+sessionStorage.getItem('slideClickLabel')+'"' + 'style="width:16px;height:16px;"><div class="refesh_bg"></div></a>';
|
|
154
|
-
this.append(html);
|
|
155
|
-
|
|
156
|
-
$('#drag>a').click(function() {
|
|
157
|
-
console.log('%cVerificationCode Refresh', 'color:blue');
|
|
158
|
-
$('#' + __codediv).refresh();
|
|
159
|
-
});
|
|
160
|
-
$('#drag .drag_text').css('width', imgx);
|
|
161
|
-
$('.refesh_bg').css('left', imgx - 35);
|
|
162
|
-
let handler = drag.find('.handler'),
|
|
163
|
-
drag_bg = drag.find('.drag_bg'),
|
|
164
|
-
text = drag.find('.drag_text'),
|
|
165
|
-
maxWidth = imgx - 36, // drag.width() - handler.width(); //能滑动的最大间距
|
|
166
|
-
t1 = new Date(), // 开始滑动时间
|
|
167
|
-
t2 = new Date(); // 结束滑动时间
|
|
168
|
-
let $xy_img = $('#xy_img');
|
|
169
|
-
let arrayDate = new Array(); // 鼠标/手指移动轨迹
|
|
170
|
-
/*
|
|
171
|
-
*鼠标/手指在上下文移动时,
|
|
172
|
-
*移动距离大于0小于最大间距
|
|
173
|
-
*滑块x轴位置等于鼠标移动距离
|
|
174
|
-
*绑定document防止鼠标/手指
|
|
175
|
-
*离开滑块时监听停止
|
|
176
|
-
*/
|
|
177
|
-
handler.mousedown(function(e) {
|
|
178
|
-
dragstart(e.pageX);
|
|
179
|
-
}); // 鼠标按下
|
|
180
|
-
$(document).mousemove(function(e) {
|
|
181
|
-
dragmoving(e.pageX);
|
|
182
|
-
}); // 移动鼠标
|
|
183
|
-
$(document).mouseup(function(e) {
|
|
184
|
-
dragmovend(e.pageX);
|
|
185
|
-
}); // 松开鼠标
|
|
186
|
-
handler.mouseout(function(e) {}); // 鼠标移出元素
|
|
187
|
-
handler.on('touchstart', function(e) {
|
|
188
|
-
dragstart(e.originalEvent.touches[0].pageX);
|
|
189
|
-
|
|
190
|
-
// 阻止页面的滑动默认事件
|
|
191
|
-
document.addEventListener('touchmove', defaultEvent, false);
|
|
192
|
-
}); // 手指按下
|
|
193
|
-
$(document).on('touchmove', function(e) {
|
|
194
|
-
dragmoving(e.originalEvent.touches[0].pageX);
|
|
195
|
-
}); // 手指移动
|
|
196
|
-
$(document).on('touchend', function(e) {
|
|
197
|
-
dragmovend(e.originalEvent.changedTouches[0].pageX);
|
|
198
|
-
|
|
199
|
-
// 阻止页面的滑动默认事件
|
|
200
|
-
document.removeEventListener('touchmove', defaultEvent, false);
|
|
201
|
-
}); // 手指松开
|
|
202
|
-
// 鼠标/手指开始滑动
|
|
203
|
-
function dragstart(thisx) {
|
|
204
|
-
|
|
205
|
-
// if (thisx >= maxWidth) {
|
|
206
|
-
// return;
|
|
207
|
-
// }
|
|
208
|
-
$xy_img.show();
|
|
209
|
-
isMove = true;
|
|
210
|
-
x = thisx - parseInt(handler.css('left'), 10);
|
|
211
|
-
t1 = new Date();
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// 鼠标/手指移动过程
|
|
215
|
-
function dragmoving(thisx) {
|
|
216
|
-
let _x = thisx - x;
|
|
217
|
-
if (isMove) {
|
|
218
|
-
if (_x > 0 && _x <= maxWidth) {
|
|
219
|
-
$xy_img.css({
|
|
220
|
-
'left': _x
|
|
221
|
-
});
|
|
222
|
-
$('.refesh_bg').hide();
|
|
223
|
-
handler.css({
|
|
224
|
-
'left': _x
|
|
225
|
-
});
|
|
226
|
-
drag_bg.css({
|
|
227
|
-
'width': _x
|
|
228
|
-
});
|
|
229
|
-
arrayDate.push([_x, new Date().getTime()]);
|
|
230
|
-
} else if (_x > maxWidth) { // 鼠标指针移动距离达到最大时清空事件
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// 鼠标/手指移动结束
|
|
236
|
-
function dragmovend(thisx) {
|
|
237
|
-
if (!isMove) { // 没有滑动过程 直接返回
|
|
238
|
-
return;
|
|
239
|
-
}
|
|
240
|
-
isMove = false;
|
|
241
|
-
if (isNaN(x) || x === undefined) {
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
let _x = Math.round(thisx - x); // 取整
|
|
245
|
-
if (_x < 10) {
|
|
246
|
-
$('.refesh_bg').show();
|
|
247
|
-
$xy_img.css({
|
|
248
|
-
'left': 0
|
|
249
|
-
});
|
|
250
|
-
handler.css({
|
|
251
|
-
'left': 0
|
|
252
|
-
});
|
|
253
|
-
drag_bg.css({
|
|
254
|
-
'width': 0
|
|
255
|
-
});
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
t2 = new Date();
|
|
259
|
-
window.slideCodeLogin(_x);
|
|
260
|
-
// sessionStorage.setItem("_x",_x);
|
|
261
|
-
}
|
|
262
|
-
// 公开成功回调动画
|
|
263
|
-
$.fn.slideAuthSuccess = slideAuthSuccess;
|
|
264
|
-
// 成功
|
|
265
|
-
function slideAuthSuccess() {
|
|
266
|
-
// let _x = sessionStorage.getItem("_x");
|
|
267
|
-
// // 抖动效果
|
|
268
|
-
// for (let i = 1; i <= 4; i++) {
|
|
269
|
-
// $xy_img.animate({
|
|
270
|
-
// left: _x - (40 - 10 * i)
|
|
271
|
-
// }, 50);
|
|
272
|
-
// $xy_img.animate({
|
|
273
|
-
// left: _x + 2 * (40 - 10 * i)
|
|
274
|
-
// }, 50, function() {
|
|
275
|
-
// $xy_img.css({
|
|
276
|
-
// 'left': _x
|
|
277
|
-
// });
|
|
278
|
-
// });
|
|
279
|
-
// }
|
|
280
|
-
handler.css({
|
|
281
|
-
'left': maxWidth
|
|
282
|
-
});
|
|
283
|
-
drag_bg.css({
|
|
284
|
-
'width': maxWidth
|
|
285
|
-
});
|
|
286
|
-
$xy_img.removeClass('xy_img_bord');
|
|
287
|
-
$xy_img.css('border', '1px solid rgb(255,255,255)');
|
|
288
|
-
$('#drag a').remove();
|
|
289
|
-
console.log('%cVerificationCode Verified', 'color:green');
|
|
290
|
-
if (__successCallBack !== undefined) __successCallBack();
|
|
291
|
-
dragOk();
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
// 错误重新刷新
|
|
295
|
-
function slideAuthError() {
|
|
296
|
-
$('#' + __codediv).refresh();
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// 重试
|
|
300
|
-
function slideAuthWarning() {
|
|
301
|
-
$('.refesh_bg').show(300);
|
|
302
|
-
$xy_img.animate({
|
|
303
|
-
'left': 0
|
|
304
|
-
}, 300);
|
|
305
|
-
handler.animate({
|
|
306
|
-
'left': 0
|
|
307
|
-
}, 300);
|
|
308
|
-
drag_bg.animate({
|
|
309
|
-
'width': 0
|
|
310
|
-
}, 300);
|
|
311
|
-
if (result['msg'] > 4) {
|
|
312
|
-
|
|
313
|
-
// 超过最大错误次数限制 刷新验证码
|
|
314
|
-
$('#' + __codediv).refresh();
|
|
315
|
-
console.log('%cVerificationCode Refresh', 'color:blue');
|
|
316
|
-
} else {
|
|
317
|
-
console.log('%cNumber of errors: ' + result['msg'], 'color:red');
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
// 取消事件的默认动作
|
|
323
|
-
// 防止一些Android浏览器页面跟随滑动的情况
|
|
324
|
-
function defaultEvent(e) {
|
|
325
|
-
e.preventDefault();
|
|
326
|
-
}
|
|
327
|
-
// 清空事件
|
|
328
|
-
function dragOk() {
|
|
329
|
-
handler.removeClass('handler_bg').addClass('handler_ok_bg');
|
|
330
|
-
text.text(sessionStorage.getItem('slideSuccessLabel'));
|
|
331
|
-
drag.find(".drag_bg").css({
|
|
332
|
-
'background': '#D4F2EE',
|
|
333
|
-
"border-color": "#44D7B6"
|
|
334
|
-
});
|
|
335
|
-
handler.unbind('mousedown');
|
|
336
|
-
$(document).unbind('mousemove');
|
|
337
|
-
$(document).unbind('mouseup');
|
|
338
|
-
$('.refesh_bg').hide();
|
|
339
|
-
}
|
|
340
|
-
};
|
|
341
|
-
})(jQuery);
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
/*
|
|
345
|
-
*
|
|
346
|
-
* date 2017-02-10
|
|
347
|
-
* 启动滑块验证码
|
|
348
|
-
*/
|
|
349
|
-
function changespec(val, url) {
|
|
350
|
-
popupHandle();
|
|
351
|
-
$(".slideTitle").html(sessionStorage.getItem('slideTitle'));
|
|
352
|
-
$("#__Verification").slide({
|
|
353
|
-
imgspec: val,
|
|
354
|
-
__url: url,
|
|
355
|
-
successCallBack: function () {
|
|
356
|
-
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
/*
|
|
361
|
-
* 弹出框
|
|
362
|
-
* className: 弹出框的className
|
|
363
|
-
* childrendClassName: 弹出框的子元素className
|
|
364
|
-
* animateClassName: 弹出框的动画className
|
|
365
|
-
*/
|
|
366
|
-
function popupHandle() {
|
|
367
|
-
if ($(".coverUp").hasClass("popupDis")) {
|
|
368
|
-
$(".coverUp").removeClass("popupDis");
|
|
369
|
-
}
|
|
370
|
-
else {
|
|
371
|
-
$(".coverUp").addClass("popupDis");
|
|
372
|
-
}
|
|
373
|
-
$(".verification").off("click").on('click', function(e){
|
|
374
|
-
e.stopPropagation();
|
|
375
|
-
})
|
|
376
|
-
$(".coverUp").off("click").on('click', function(e){
|
|
377
|
-
$(".coverUp").addClass("popupDis");
|
|
378
|
-
})
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
function slideAuthError() {
|
|
383
|
-
if($.fn.refresh)
|
|
384
|
-
$.fn.refresh();
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
function slideAuthSuccess(){
|
|
388
|
-
if($.fn.slideAuthSuccess)
|
|
389
|
-
$.fn.slideAuthSuccess();
|
|
390
|
-
}
|
|
391
|
-
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/font.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
; ((_this) => {
|
|
3
|
-
_this.isGetIconfontList = _this.isGetIconfontList || false
|
|
4
|
-
function setIcon () {
|
|
5
|
-
let iconfontList = _this.iconfontList || []
|
|
6
|
-
iconfontList.forEach(item => {
|
|
7
|
-
try {
|
|
8
|
-
let style = document.createElement('link')
|
|
9
|
-
style.rel = 'stylesheet'
|
|
10
|
-
style.id = `${item}-${item}`
|
|
11
|
-
style.href = `/static/fonts/${item}/iconfont.css`
|
|
12
|
-
document.head.prepend(style)
|
|
13
|
-
} catch (error) {
|
|
14
|
-
console.log(error)
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
})
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
if (_this.iconfontList) {
|
|
21
|
-
setIcon()
|
|
22
|
-
} else {
|
|
23
|
-
if (!_this.isGetIconfontList) {
|
|
24
|
-
_this.isGetIconfontList = true
|
|
25
|
-
_this.axios && _this.axios({
|
|
26
|
-
method: 'get',
|
|
27
|
-
url: '/IoT/api/v3/Auth/icon-fonts',
|
|
28
|
-
headers: {
|
|
29
|
-
'Content-Type': 'application/json;charset=UTF-8',
|
|
30
|
-
'X-Requested-With': 'IoT-XMLHttpRequest',
|
|
31
|
-
'Accept-Language': _this.localStorage.languageType || 'zh-CN',
|
|
32
|
-
}
|
|
33
|
-
}).then(res => {
|
|
34
|
-
if (res.data && res.data.code == 200) {
|
|
35
|
-
let iconfontList = res.data.data || []
|
|
36
|
-
_this.iconfontList = iconfontList
|
|
37
|
-
setIcon()
|
|
38
|
-
}
|
|
39
|
-
}).catch(err => {
|
|
40
|
-
console.log(err)
|
|
41
|
-
})
|
|
42
|
-
} else {
|
|
43
|
-
let times = 0
|
|
44
|
-
let time = _this.setInterval(
|
|
45
|
-
() => {
|
|
46
|
-
if (_this.iconfontList || times > 300) {
|
|
47
|
-
_this.clearInterval(time)
|
|
48
|
-
time = null
|
|
49
|
-
setIcon()
|
|
50
|
-
}
|
|
51
|
-
times = times + 1
|
|
52
|
-
}, 100
|
|
53
|
-
)
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
})(window)
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// sessionStorage.isGetConfigInfoData = sessionStorage.isGetConfigInfoData == 'true' || 'false'
|
|
3
|
-
window.getConfigInfoData = function () {
|
|
4
|
-
return new Promise((resolve, reject) => {
|
|
5
|
-
let configInfoData = sessionStorage.configInfoData || null
|
|
6
|
-
if (configInfoData) {
|
|
7
|
-
resolve(JSON.parse(configInfoData))
|
|
8
|
-
} else {
|
|
9
|
-
if (window.AxiosBuilder.axios) {
|
|
10
|
-
// if (sessionStorage.isGetConfigInfoData == 'false') {
|
|
11
|
-
// sessionStorage.isGetConfigInfoData = true
|
|
12
|
-
window.AxiosBuilder.axios({
|
|
13
|
-
methed: 'get',
|
|
14
|
-
url: '/IoT/api/v3/Frontconfiguration/GetFrontconfigurationData',
|
|
15
|
-
headers: {
|
|
16
|
-
'Content-Type': 'application/json;charset=UTF-8',
|
|
17
|
-
'Accept-Language': window.sessionStorage.languageType || 'zh-CN'
|
|
18
|
-
}
|
|
19
|
-
})
|
|
20
|
-
.then(res => {
|
|
21
|
-
const { code, data } = res ? (res.data || {}) : {}
|
|
22
|
-
if (code == 200 && data) {
|
|
23
|
-
sessionStorage.configInfoData = data
|
|
24
|
-
try {
|
|
25
|
-
resolve(JSON.parse(data))
|
|
26
|
-
} catch (error) {
|
|
27
|
-
resolve({})
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
} else {
|
|
31
|
-
reject({})
|
|
32
|
-
}
|
|
33
|
-
})
|
|
34
|
-
.catch(err => {
|
|
35
|
-
reject({})
|
|
36
|
-
})
|
|
37
|
-
// } else {
|
|
38
|
-
// let times = 0
|
|
39
|
-
// let time = window.setInterval(
|
|
40
|
-
// () => {
|
|
41
|
-
// let configInfoData = sessionStorage.configInfoData
|
|
42
|
-
// if (configInfoData || times > 300) {
|
|
43
|
-
// window.clearInterval(time)
|
|
44
|
-
// time = null
|
|
45
|
-
// configInfoData ? resolve(JSON.parse(configInfoData)) : reject({})
|
|
46
|
-
// }
|
|
47
|
-
// times = times + 1
|
|
48
|
-
// }, 100
|
|
49
|
-
// )
|
|
50
|
-
// }
|
|
51
|
-
|
|
52
|
-
} else {
|
|
53
|
-
reject({})
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
})
|
|
57
|
-
}
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
window.getParameterMap = () => {
|
|
3
|
-
let parameters = window.location.href.split("?")[1];
|
|
4
|
-
map = new Map()
|
|
5
|
-
if (!parameters) return map;
|
|
6
|
-
let data = parameters.indexOf("&") != -1 ? parameters.split("&") : [parameters]
|
|
7
|
-
for (let i = 0; i < data.length; i++) {
|
|
8
|
-
let arry = data[i].split("=")
|
|
9
|
-
map.set(arry[0], arry[1])
|
|
10
|
-
}
|
|
11
|
-
return map;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// 非登录页且URL存在中英文配置
|
|
15
|
-
let languageType = window.getParameterMap().get("languageType")
|
|
16
|
-
if (!window.location.href.includes('ganwei-iotcenter-login') && !window.location.href.includes('/Login') && languageType) {
|
|
17
|
-
localStorage.languageType = sessionStorage.languageType = languageType
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
window.getElementLanguages = async () => {
|
|
21
|
-
let languagePackage = {}
|
|
22
|
-
if (sessionStorage.languagePackage) {
|
|
23
|
-
try {
|
|
24
|
-
languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
25
|
-
} catch (error) {
|
|
26
|
-
console.log(error)
|
|
27
|
-
}
|
|
28
|
-
let language = languagePackage[localStorage.languageType]
|
|
29
|
-
if (!language || !language['ele'] || !Object.keys(language['ele']).length > 0) {
|
|
30
|
-
let result = await requestLanguage('ganwei-iotcenter-login', 'element', 'Ganweisoft.IoTCenter.Module.Login')
|
|
31
|
-
window.saveToSession('element', result)
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
window.requestLanguage = async (pluginName, menuName, packageId, vm) => {
|
|
36
|
-
return new Promise((resolve, reject) => {
|
|
37
|
-
let data = {
|
|
38
|
-
packageId,
|
|
39
|
-
pluginName,
|
|
40
|
-
menuName
|
|
41
|
-
}
|
|
42
|
-
window.AxiosBuilder.axios && window.AxiosBuilder.axios({
|
|
43
|
-
method: 'get',
|
|
44
|
-
url: '/api/localization/getjsontranslationfile',
|
|
45
|
-
params: data,
|
|
46
|
-
headers: {
|
|
47
|
-
'Content-Type': 'application/json;charset=UTF-8',
|
|
48
|
-
'Accept-Language': window.localStorage.languageType || 'zh-CN'
|
|
49
|
-
}
|
|
50
|
-
}).then(res => {
|
|
51
|
-
const { code, data, message } = res ? (res.data || {}) : {}
|
|
52
|
-
if (code == 200) {
|
|
53
|
-
try {
|
|
54
|
-
resolve(data ? JSON.parse(data) : {})
|
|
55
|
-
} catch (error) {
|
|
56
|
-
console.log(error)
|
|
57
|
-
resolve({})
|
|
58
|
-
}
|
|
59
|
-
} else {
|
|
60
|
-
vm && vm.$message.error(message || '')
|
|
61
|
-
resolve({})
|
|
62
|
-
}
|
|
63
|
-
}).catch(err => {
|
|
64
|
-
vm && vm.$message.error(err.data, err)
|
|
65
|
-
resolve({})
|
|
66
|
-
})
|
|
67
|
-
})
|
|
68
|
-
}
|
|
69
|
-
window.updateLanguage = (vm, i18n) => {
|
|
70
|
-
let languagePackage = {}
|
|
71
|
-
try {
|
|
72
|
-
languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
73
|
-
// vue3基座切换
|
|
74
|
-
if (vm.i18nInstance) {
|
|
75
|
-
vm.i18nInstance.locale = localStorage.languageType
|
|
76
|
-
vm.i18nInstance.mergeLocaleMessage(localStorage.languageType, JSON.parse(JSON.stringify(languagePackage[localStorage.languageType] || {})))
|
|
77
|
-
vm.i18nInstance.setLocaleMessage(localStorage.languageType, JSON.parse(JSON.stringify(languagePackage[localStorage.languageType] || {})))
|
|
78
|
-
}
|
|
79
|
-
// vue2基座切换
|
|
80
|
-
if (vm && i18n && i18n._vm) {
|
|
81
|
-
i18n._vm.locale = localStorage.languageType
|
|
82
|
-
vm.$i18n._vm.messages[localStorage.languageType] = JSON.parse(JSON.stringify(languagePackage[localStorage.languageType] || {}))
|
|
83
|
-
}
|
|
84
|
-
} catch (error) {
|
|
85
|
-
console.log(error)
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
// 语言是否已经存在
|
|
90
|
-
window.haveExistLanguage = (menuName) => {
|
|
91
|
-
let languagePackage = {}
|
|
92
|
-
let exsist = false
|
|
93
|
-
if (sessionStorage.languagePackage) {
|
|
94
|
-
try {
|
|
95
|
-
languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
96
|
-
} catch (error) {
|
|
97
|
-
console.log(error)
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
let language = languagePackage[localStorage.languageType]
|
|
101
|
-
if (language && language[menuName] && Object.keys(language[menuName]).length > 0) {
|
|
102
|
-
exsist = true
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return exsist
|
|
106
|
-
}
|
|
107
|
-
// 保存至会话缓存
|
|
108
|
-
window.saveToSession = (menuName, language) => {
|
|
109
|
-
let languagePackage = {}
|
|
110
|
-
try {
|
|
111
|
-
if (sessionStorage.languagePackage) {
|
|
112
|
-
languagePackage = JSON.parse(sessionStorage.languagePackage)
|
|
113
|
-
}
|
|
114
|
-
if (!languagePackage[localStorage.languageType]) {
|
|
115
|
-
languagePackage[localStorage.languageType] = {}
|
|
116
|
-
}
|
|
117
|
-
if (menuName == "login") { languagePackage[localStorage.languageType]['publics'] = language ? (language.publics ? language.publics : {}) : {} }
|
|
118
|
-
if (menuName == "element") {
|
|
119
|
-
languagePackage[localStorage.languageType]['ele'] = language || {}
|
|
120
|
-
languagePackage[localStorage.languageType]['el'] = language && language.el || {}
|
|
121
|
-
} else {
|
|
122
|
-
languagePackage[localStorage.languageType][menuName] = language || {}
|
|
123
|
-
}
|
|
124
|
-
sessionStorage.setItem('languagePackage', JSON.stringify(languagePackage))
|
|
125
|
-
} catch (error) {
|
|
126
|
-
console.log(error)
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return languagePackage
|
|
130
|
-
}
|
|
131
|
-
window.getLanguage = async (pluginName, menuName, packageId, vm, i18n) => {
|
|
132
|
-
if (window.haveExistLanguage(menuName)) {
|
|
133
|
-
window.updateLanguage(vm, i18n)
|
|
134
|
-
if (vm) { vm.isShow = true }
|
|
135
|
-
return
|
|
136
|
-
}
|
|
137
|
-
await window.getElementLanguages()
|
|
138
|
-
let result = await requestLanguage(pluginName, menuName, packageId, vm)
|
|
139
|
-
window.saveToSession(menuName, result)
|
|
140
|
-
window.updateLanguage(vm, i18n)
|
|
141
|
-
if (vm) { vm.isShow = true }
|
|
142
|
-
}
|
|
143
|
-
|