@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,646 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Describe the file
|
|
3
|
-
*/
|
|
4
|
-
// import api from '../request/api.js';
|
|
5
|
-
import Axios from 'axios';
|
|
6
|
-
export default class myUtils {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @param {String} 两个日期相差天数(sDate1, sDate2),时间格式【2020-05-10】
|
|
10
|
-
* @returns {Number} 返回相差天数数值
|
|
11
|
-
*/
|
|
12
|
-
static dateDiff(sDate1, sDate2) {
|
|
13
|
-
let aDate = sDate1.split('-');
|
|
14
|
-
let oDate1 = new Date(aDate[0], aDate[1], aDate[2]); // 转换为12-18-2006格式
|
|
15
|
-
aDate = sDate2.split('-');
|
|
16
|
-
let oDate2 = new Date(aDate[0], aDate[1], aDate[2]);
|
|
17
|
-
let iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); // 把相差的毫秒数转换为天数
|
|
18
|
-
return iDays;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @param {Number} timeStamp 传入的时间戳
|
|
23
|
-
* @returns {string} startType 要返回的时间字符串的格式类型,传入'year'则返回年开头的完整时间
|
|
24
|
-
*/
|
|
25
|
-
static getTimeStampToTime(timeStamp) {
|
|
26
|
-
let date = new Date(Number(timeStamp)); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
|
27
|
-
let Y = date.getFullYear() + '-';
|
|
28
|
-
let M =
|
|
29
|
-
(date.getMonth() + 1 < 10 ?
|
|
30
|
-
'0' + (date.getMonth() + 1) :
|
|
31
|
-
date.getMonth() + 1) + '-';
|
|
32
|
-
let D = date.getDate() + 'T';
|
|
33
|
-
let h = date.getHours();
|
|
34
|
-
let m = date.getMinutes();
|
|
35
|
-
let s = date.getSeconds();
|
|
36
|
-
if (h < 10) {
|
|
37
|
-
h = '0' + h;
|
|
38
|
-
}
|
|
39
|
-
if (m < 10) {
|
|
40
|
-
m = '0' + m;
|
|
41
|
-
}
|
|
42
|
-
return Y + M + D + h + ':' + m + ':' + s;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @param 数组去重
|
|
47
|
-
* @returns {Obj}
|
|
48
|
-
* 传参:数组
|
|
49
|
-
*/
|
|
50
|
-
static unique(arr) {
|
|
51
|
-
return Array.from(new Set(arr));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* 获取当前时间---年月日时分秒
|
|
56
|
-
* @param
|
|
57
|
-
* @returns {number}
|
|
58
|
-
*/
|
|
59
|
-
static getCurrentDate(format, type) {
|
|
60
|
-
let now = new Date();
|
|
61
|
-
let year = now.getFullYear(); // 得到年份
|
|
62
|
-
let month = now.getMonth(); // 得到月份
|
|
63
|
-
let date = now.getDate(); // 得到日期
|
|
64
|
-
|
|
65
|
-
// let day = now.getDay();// 得到周几
|
|
66
|
-
let hour = now.getHours(); // 得到小时
|
|
67
|
-
let minu = now.getMinutes(); // 得到分钟
|
|
68
|
-
let sec = now.getSeconds(); // 得到秒
|
|
69
|
-
month = month + 1;
|
|
70
|
-
if (month < 10) {
|
|
71
|
-
month = '0' + month;
|
|
72
|
-
}
|
|
73
|
-
if (date < 10) {
|
|
74
|
-
date = '0' + date;
|
|
75
|
-
}
|
|
76
|
-
if (hour < 10) {
|
|
77
|
-
hour = '0' + hour;
|
|
78
|
-
}
|
|
79
|
-
if (minu < 10) {
|
|
80
|
-
minu = '0' + minu;
|
|
81
|
-
}
|
|
82
|
-
if (sec < 10) {
|
|
83
|
-
sec = '0' + sec;
|
|
84
|
-
}
|
|
85
|
-
let time = '';
|
|
86
|
-
|
|
87
|
-
// 精确到天
|
|
88
|
-
if (format === 1) {
|
|
89
|
-
time = year + type + month + type + date;
|
|
90
|
-
} else {
|
|
91
|
-
|
|
92
|
-
// 精确到分
|
|
93
|
-
time =
|
|
94
|
-
year +
|
|
95
|
-
type +
|
|
96
|
-
month +
|
|
97
|
-
type +
|
|
98
|
-
date +
|
|
99
|
-
' ' +
|
|
100
|
-
hour +
|
|
101
|
-
':' +
|
|
102
|
-
minu +
|
|
103
|
-
':' +
|
|
104
|
-
sec;
|
|
105
|
-
}
|
|
106
|
-
return time;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @param
|
|
111
|
-
* @returns {obj}
|
|
112
|
-
* 文件导出功能
|
|
113
|
-
* 文件格式:.xlsx
|
|
114
|
-
* data:【必传】文件下载接口返回的数据流
|
|
115
|
-
* name:导出的文件命名,不传默认为时间命名,(字符串,一般为中文+年月日时分秒,配合getCurrentDate方法)
|
|
116
|
-
* 例:平台设备统计明细2020-10-30 15_30_56.xlsx
|
|
117
|
-
*/
|
|
118
|
-
static downloadFile(data, name) {
|
|
119
|
-
let fileName = "";
|
|
120
|
-
if (String(name) !== "undefined") {
|
|
121
|
-
fileName = String(name);
|
|
122
|
-
} else {
|
|
123
|
-
fileName = this.getCurrentDate();
|
|
124
|
-
}
|
|
125
|
-
let blob = new Blob([data], {
|
|
126
|
-
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
127
|
-
});
|
|
128
|
-
let url = window.URL.createObjectURL(blob);
|
|
129
|
-
const link = document.createElement("a"); // 创建a标签
|
|
130
|
-
link.href = url;
|
|
131
|
-
link.download = fileName; // 重命名文件
|
|
132
|
-
link.click();
|
|
133
|
-
URL.revokeObjectURL(url); // 释放内存
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* 应用于图表插件---获取日的时间数据
|
|
138
|
-
* @param
|
|
139
|
-
* @returns {obj}
|
|
140
|
-
*/
|
|
141
|
-
static getChartDay() {
|
|
142
|
-
let dataTimes = [
|
|
143
|
-
"00:00",
|
|
144
|
-
"01:00",
|
|
145
|
-
"02:00",
|
|
146
|
-
"03:00",
|
|
147
|
-
"04:00",
|
|
148
|
-
"05:00",
|
|
149
|
-
"06:00",
|
|
150
|
-
"07:00",
|
|
151
|
-
"08:00",
|
|
152
|
-
"09:00",
|
|
153
|
-
"10:00",
|
|
154
|
-
"11:00",
|
|
155
|
-
"12:00",
|
|
156
|
-
"13:00",
|
|
157
|
-
"14:00",
|
|
158
|
-
"15:00",
|
|
159
|
-
"16:00",
|
|
160
|
-
"17:00",
|
|
161
|
-
"18:00",
|
|
162
|
-
"19:00",
|
|
163
|
-
"20:00",
|
|
164
|
-
"21:00",
|
|
165
|
-
"22:00",
|
|
166
|
-
"23:00"
|
|
167
|
-
];
|
|
168
|
-
return dataTimes;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* 应用于图表插件---获取随机图表数据
|
|
173
|
-
* @param
|
|
174
|
-
* @returns {obj}
|
|
175
|
-
*/
|
|
176
|
-
static getChartDayObjList() {
|
|
177
|
-
let dataList = [];
|
|
178
|
-
for (let i = 1; i < this.getCurrentMonthDays() + 1; i++) {
|
|
179
|
-
// for (var i = 1; i < 4+1; i++) {
|
|
180
|
-
dataList.push(+this.getRandomNumber(2));
|
|
181
|
-
}
|
|
182
|
-
return dataList;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* 应用于图表插件---获取周的时间数据
|
|
187
|
-
* @param
|
|
188
|
-
* @returns {obj}
|
|
189
|
-
*/
|
|
190
|
-
static getChartWeek() {
|
|
191
|
-
let dataTimes = this.$t("myUtils.msg.dataTimes");
|
|
192
|
-
return dataTimes;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* 应用于图表插件---获取当前月天数数组
|
|
197
|
-
* @param
|
|
198
|
-
* @returns {obj}
|
|
199
|
-
*/
|
|
200
|
-
static getChartMonth() {
|
|
201
|
-
let dataTimes = [];
|
|
202
|
-
let date = new Date();
|
|
203
|
-
let year = date.getFullYear();
|
|
204
|
-
let month = date.getMonth() + 1;
|
|
205
|
-
let d = new Date(year, month, 0);
|
|
206
|
-
let n = +d.getDate();
|
|
207
|
-
|
|
208
|
-
for (let i = 1; i < n + 1; i++) {
|
|
209
|
-
dataTimes.push(i + " 号");
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
return dataTimes; //返回天数数组
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* 获取当前月有多少天
|
|
217
|
-
* @param
|
|
218
|
-
* @returns {number}
|
|
219
|
-
*/
|
|
220
|
-
static getCurrentMonthDays() {
|
|
221
|
-
let date = new Date();
|
|
222
|
-
let year = date.getFullYear();
|
|
223
|
-
let month = date.getMonth() + 1;
|
|
224
|
-
let d = new Date(year, month, 0);
|
|
225
|
-
return +d.getDate();
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* 获取随机数
|
|
230
|
-
* @param n
|
|
231
|
-
* @returns {number}
|
|
232
|
-
*/
|
|
233
|
-
static getRandomNumber(n) {
|
|
234
|
-
let rnd = "";
|
|
235
|
-
for (let i = 0; i < n; i++) rnd += Math.floor(Math.random() * 10);
|
|
236
|
-
return rnd;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* 判断字符串是否为空
|
|
241
|
-
* @param str
|
|
242
|
-
* @returns {boolean}
|
|
243
|
-
*/
|
|
244
|
-
static isNull(str) {
|
|
245
|
-
return str === null || str.length == 0 || str === "";
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* @desc 判断是否为身份证号
|
|
251
|
-
* @param {String|Number} str
|
|
252
|
-
* @return {Boolean}
|
|
253
|
-
*/
|
|
254
|
-
static isIdCard(str) {
|
|
255
|
-
return /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/.test(
|
|
256
|
-
str
|
|
257
|
-
);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @desc 判断邮箱
|
|
263
|
-
* @param {String} str
|
|
264
|
-
* @return {Boolean}
|
|
265
|
-
*/
|
|
266
|
-
static emails(str) {
|
|
267
|
-
return /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(
|
|
268
|
-
str
|
|
269
|
-
);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
*
|
|
274
|
-
* @desc 判断是否为座机号
|
|
275
|
-
* @param {String|Number} str
|
|
276
|
-
* @return {Boolean}
|
|
277
|
-
*/
|
|
278
|
-
static landlineNumber(str) {
|
|
279
|
-
return /^(\(\d{3,4}\)|\d{3,4}-|\s)?\d{7,14}$/.test(str);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @desc 判断是否为手机号
|
|
285
|
-
* @param {String|Number} str
|
|
286
|
-
* @return {Boolean}
|
|
287
|
-
*/
|
|
288
|
-
static isPhoneNum(str) {
|
|
289
|
-
return /^(0|86|17951)?(1[3-9][0-9])[0-9]{8}$/.test(str);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* @description 日期格式化
|
|
294
|
-
* @param {Date} date 日期
|
|
295
|
-
* @param {String} fmt 日期格式 eg: yyyy-MM-dd hh:mm:ss
|
|
296
|
-
*/
|
|
297
|
-
static dateFormat(date, fmt) {
|
|
298
|
-
let o = {
|
|
299
|
-
"M+": date.getMonth() + 1, // 月份
|
|
300
|
-
"d+": date.getDate(), // 日
|
|
301
|
-
"h+": date.getHours(), // 小时
|
|
302
|
-
"m+": date.getMinutes(), // 分
|
|
303
|
-
"s+": date.getSeconds(), // 秒
|
|
304
|
-
"q+": Math.floor((date.getMonth() + 3) / 3), // 季度
|
|
305
|
-
S: date.getMilliseconds() // 毫秒
|
|
306
|
-
};
|
|
307
|
-
if (/(y+)/.test(fmt)) {
|
|
308
|
-
fmt = fmt.replace(
|
|
309
|
-
RegExp.$1,
|
|
310
|
-
(date.getFullYear() + "").substr(4 - RegExp.$1.length)
|
|
311
|
-
);
|
|
312
|
-
}
|
|
313
|
-
for (let k in o) {
|
|
314
|
-
if (new RegExp("(" + k + ")").test(fmt)) {
|
|
315
|
-
fmt = fmt.replace(
|
|
316
|
-
RegExp.$1,
|
|
317
|
-
RegExp.$1.length === 1 ?
|
|
318
|
-
o[k] :
|
|
319
|
-
("00" + o[k]).substr(("" + o[k]).length)
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
return fmt;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @description 文件下载
|
|
328
|
-
* @param {Object} data 数据
|
|
329
|
-
* @param {String} fileName 下载文件名
|
|
330
|
-
*/
|
|
331
|
-
static download(data, fileName) {
|
|
332
|
-
// 创建一个blob对象,file的一种
|
|
333
|
-
let blob = new Blob([data], {
|
|
334
|
-
type: "application/x-xls"
|
|
335
|
-
});
|
|
336
|
-
if ("download" in document.createElement("a")) {
|
|
337
|
-
// 非IE下载
|
|
338
|
-
let link = document.createElement("a");
|
|
339
|
-
if (window.URL) {
|
|
340
|
-
link.href = window.URL.createObjectURL(blob);
|
|
341
|
-
} else {
|
|
342
|
-
link.href = window.webkitURL.createObjectURL(blob);
|
|
343
|
-
}
|
|
344
|
-
link.download = fileName;
|
|
345
|
-
document.body.appendChild(link);
|
|
346
|
-
link.click();
|
|
347
|
-
link.remove();
|
|
348
|
-
} else {
|
|
349
|
-
// IE10+下载
|
|
350
|
-
navigator.msSaveBlob(blob, fileName);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* @description 校验导入execl格式
|
|
356
|
-
* @param {file} file 导入文件对象
|
|
357
|
-
*/
|
|
358
|
-
static validateExecl(file) {
|
|
359
|
-
const isXLS = file.type === "application/vnd.ms-excel";
|
|
360
|
-
const isXLSX =
|
|
361
|
-
file.type ===
|
|
362
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
363
|
-
if (!isXLS && !isXLSX) {
|
|
364
|
-
this.$message.error(this.$t("myUtils.msg.validateExecl"));
|
|
365
|
-
return false;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* @description 校验上传图片格式和大小
|
|
371
|
-
* @param {file} file 导入文件对象
|
|
372
|
-
*/
|
|
373
|
-
static validateImage(file) {
|
|
374
|
-
const isPNG = file.type.toLowerCase() === "image/png";
|
|
375
|
-
const isJPG = file.type.toLowerCase() === "image/jpeg";
|
|
376
|
-
const isLt2M = file.size / 1024 / 1024 < 2;
|
|
377
|
-
if (!isJPG && !isPNG) {
|
|
378
|
-
this.$message.error(this.$t("myUtils.msg.validateImage[0]"));
|
|
379
|
-
return false;
|
|
380
|
-
}
|
|
381
|
-
if (!isLt2M) {
|
|
382
|
-
this.$message.error(this.$t("myUtils.msg.validateImage[1]"));
|
|
383
|
-
return false;
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
static debounce(func, wait) {
|
|
388
|
-
let timeout;
|
|
389
|
-
return function (event) {
|
|
390
|
-
let _this = this;
|
|
391
|
-
let args = arguments;
|
|
392
|
-
if (timeout) {
|
|
393
|
-
clearTimeout(timeout);
|
|
394
|
-
}
|
|
395
|
-
timeout = setTimeout(() => {
|
|
396
|
-
timeout = null;
|
|
397
|
-
func.call(_this, args);
|
|
398
|
-
}, wait);
|
|
399
|
-
};
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
static rollImg(e, element, zoomNum) {
|
|
403
|
-
try {
|
|
404
|
-
zoomNum += event.wheelDelta / 12;
|
|
405
|
-
} catch (e) {
|
|
406
|
-
console.log(e)
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
if (zoomNum >= 60 && zoomNum < 2000) {
|
|
410
|
-
element.style.zoom = zoomNum + "%";
|
|
411
|
-
}
|
|
412
|
-
return false;
|
|
413
|
-
}
|
|
414
|
-
static move(e, element) {
|
|
415
|
-
let odiv = element; // 获取目标元素
|
|
416
|
-
// 算出鼠标相对元素的位置
|
|
417
|
-
let disX = e.clientX - odiv.offsetLeft;
|
|
418
|
-
let disY = e.clientY - odiv.offsetTop;
|
|
419
|
-
document.onmousemove = e => {
|
|
420
|
-
// 鼠标按下并移动的事件
|
|
421
|
-
// 用鼠标的位置减去鼠标相对元素的位置,得到元素的位置
|
|
422
|
-
let left = e.clientX - disX;
|
|
423
|
-
let top = e.clientY - disY;
|
|
424
|
-
|
|
425
|
-
// 绑定元素位置到positionX和positionY上面
|
|
426
|
-
// this.positionX = top;
|
|
427
|
-
// this.positionY = left;
|
|
428
|
-
|
|
429
|
-
// 移动当前元素
|
|
430
|
-
odiv.style.left = left + "px";
|
|
431
|
-
odiv.style.top = top + "px";
|
|
432
|
-
};
|
|
433
|
-
document.onmouseup = e => {
|
|
434
|
-
document.onmousemove = null;
|
|
435
|
-
document.onmouseup = null;
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
static downloadTXTFile(data, name) {
|
|
439
|
-
let fileName = "";
|
|
440
|
-
if (String(name) !== "undefined") {
|
|
441
|
-
fileName = String(name);
|
|
442
|
-
} else {
|
|
443
|
-
fileName = this.getCurrentDate();
|
|
444
|
-
}
|
|
445
|
-
let blob = new Blob([data], {
|
|
446
|
-
type: "application/octet-stream"
|
|
447
|
-
});
|
|
448
|
-
let url = window.URL.createObjectURL(blob);
|
|
449
|
-
if (window.navigator.msSaveBlob) {
|
|
450
|
-
//ie浏览器
|
|
451
|
-
try {
|
|
452
|
-
window.navigator.msSaveBlob(blob, fileName);
|
|
453
|
-
} catch (e) {
|
|
454
|
-
console.log(e);
|
|
455
|
-
}
|
|
456
|
-
} else {
|
|
457
|
-
const link = document.createElement("a"); // 创建a标签
|
|
458
|
-
link.href = url;
|
|
459
|
-
link.download = fileName; // 重命名文件
|
|
460
|
-
link.click();
|
|
461
|
-
URL.revokeObjectURL(url); // 释放内存
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
static connectServer(equipNo, messageType) {
|
|
466
|
-
if (!this.signalr_connection) {
|
|
467
|
-
// 如果有连接就断开连接
|
|
468
|
-
return false;
|
|
469
|
-
}
|
|
470
|
-
this.signalr_connection.stop();
|
|
471
|
-
|
|
472
|
-
// 开始连接this.signalr_connection
|
|
473
|
-
this.signalr_connection
|
|
474
|
-
.start()
|
|
475
|
-
.then(() => {
|
|
476
|
-
this.signalr_connection.invoke(
|
|
477
|
-
"OnConnect",
|
|
478
|
-
localStorage.SRToken,
|
|
479
|
-
equipNo
|
|
480
|
-
);
|
|
481
|
-
})
|
|
482
|
-
.catch(function (ex) {
|
|
483
|
-
console.log(
|
|
484
|
-
"connectServer" +
|
|
485
|
-
this.$t("myUtils.msg.connectionFailed") +
|
|
486
|
-
ex
|
|
487
|
-
);
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
static signalRaddeventlistener(arry) {
|
|
492
|
-
console.log(arry)
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* @description 生成唯一Id
|
|
497
|
-
* @param {} 不用传参
|
|
498
|
-
* @return {string}
|
|
499
|
-
*/
|
|
500
|
-
static generateUUID() {
|
|
501
|
-
let d = new Date().getTime();
|
|
502
|
-
if (
|
|
503
|
-
window.performance &&
|
|
504
|
-
typeof window.performance.now === "function"
|
|
505
|
-
) {
|
|
506
|
-
d += performance.now(); // use high-precision timer if available
|
|
507
|
-
}
|
|
508
|
-
let uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
509
|
-
/[xy]/g,
|
|
510
|
-
function (c) {
|
|
511
|
-
let r = (d + Math.random() * 16) % 16 | 0;
|
|
512
|
-
d = Math.floor(d / 16);
|
|
513
|
-
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
|
|
514
|
-
}
|
|
515
|
-
);
|
|
516
|
-
return uuid;
|
|
517
|
-
}
|
|
518
|
-
static fontSize(num, echartId) {
|
|
519
|
-
let clientWidth = document.getElementById(echartId).clientWidth;
|
|
520
|
-
if (!clientWidth) {
|
|
521
|
-
return;
|
|
522
|
-
}
|
|
523
|
-
let fontSize = clientWidth / 400;
|
|
524
|
-
return num * fontSize;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
// 补零 num:要改变的值,len补零后数字的长度
|
|
528
|
-
static addZero(num, len) {
|
|
529
|
-
return String(num).length > len ?
|
|
530
|
-
num :
|
|
531
|
-
(Array(len).join(0) + num).slice(-len);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* @param
|
|
536
|
-
* @returns {Obj}
|
|
537
|
-
* 水质、水质、水情设备状态判断
|
|
538
|
-
* 传参:状态
|
|
539
|
-
*/
|
|
540
|
-
static equipStateJudge(state) {
|
|
541
|
-
let obj = {
|
|
542
|
-
stateClass: "",
|
|
543
|
-
stateValue: ""
|
|
544
|
-
};
|
|
545
|
-
switch (state) {
|
|
546
|
-
case "CommunicationOK":
|
|
547
|
-
obj.stateValue = "在线";
|
|
548
|
-
obj.stateClass = "CommunicationOK";
|
|
549
|
-
break;
|
|
550
|
-
case "HaveAlarm":
|
|
551
|
-
obj.stateValue = "通讯报警";
|
|
552
|
-
obj.stateClass = "HaveAlarm";
|
|
553
|
-
break;
|
|
554
|
-
case "HaveSetParm":
|
|
555
|
-
obj.stateValue = "正在设置中";
|
|
556
|
-
obj.stateClass = "HaveSetParm";
|
|
557
|
-
break;
|
|
558
|
-
case "Initial":
|
|
559
|
-
obj.stateValue = "正在初始化";
|
|
560
|
-
obj.stateClass = "Initial";
|
|
561
|
-
break;
|
|
562
|
-
case "CheFang":
|
|
563
|
-
obj.stateValue = "撤防";
|
|
564
|
-
obj.stateClass = "CheFang";
|
|
565
|
-
break;
|
|
566
|
-
case "NoCommunication":
|
|
567
|
-
obj.stateValue = "离线";
|
|
568
|
-
obj.stateClass = "NoCommunication";
|
|
569
|
-
break;
|
|
570
|
-
case 1:
|
|
571
|
-
obj.stateValue = "在线";
|
|
572
|
-
obj.stateClass = "CommunicationOK";
|
|
573
|
-
break;
|
|
574
|
-
case 2:
|
|
575
|
-
obj.stateValue = "通讯报警";
|
|
576
|
-
obj.stateClass = "HaveAlarm";
|
|
577
|
-
break;
|
|
578
|
-
case 3:
|
|
579
|
-
obj.stateValue = "正在设置中";
|
|
580
|
-
obj.stateClass = "HaveSetParm";
|
|
581
|
-
break;
|
|
582
|
-
case 4:
|
|
583
|
-
obj.stateValue = "正在初始化";
|
|
584
|
-
obj.stateClass = "Initial";
|
|
585
|
-
break;
|
|
586
|
-
case 5:
|
|
587
|
-
obj.stateValue = "撤防";
|
|
588
|
-
obj.stateClass = "CheFang";
|
|
589
|
-
break;
|
|
590
|
-
case 0:
|
|
591
|
-
obj.stateValue = "离线";
|
|
592
|
-
obj.stateClass = "NoCommunication";
|
|
593
|
-
break;
|
|
594
|
-
}
|
|
595
|
-
return obj;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* @arry 去重
|
|
600
|
-
*
|
|
601
|
-
*/
|
|
602
|
-
static arrayRemoveRepeat(arry) {
|
|
603
|
-
let obj = [];
|
|
604
|
-
if (arry.length > 0) {
|
|
605
|
-
obj.push(arry[0]);
|
|
606
|
-
arry.forEach((item, index) => {
|
|
607
|
-
if (
|
|
608
|
-
!obj.some((itemChild, indexChild) => {
|
|
609
|
-
return itemChild.equipno == item.equipno;
|
|
610
|
-
})
|
|
611
|
-
) {
|
|
612
|
-
obj.push(item);
|
|
613
|
-
}
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
return obj;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
// 请求主题文件
|
|
620
|
-
static async getStyle() {
|
|
621
|
-
let stylee;
|
|
622
|
-
await Axios.get(
|
|
623
|
-
"/APP/static/themes/" + localStorage.getItem("theme") + ".css"
|
|
624
|
-
).then(ret => {
|
|
625
|
-
stylee = document.createElement("style");
|
|
626
|
-
stylee.setAttribute("id", "themeStyle");
|
|
627
|
-
stylee.type = "text/css";
|
|
628
|
-
stylee.innerHTML = ret.data;
|
|
629
|
-
});
|
|
630
|
-
return stylee;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
// 请求主题文件
|
|
634
|
-
static async setStyle(ele) {
|
|
635
|
-
let stylee = await this.getStyle();
|
|
636
|
-
ele.appendChild(stylee);
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
// 切换主题文件
|
|
640
|
-
static async changeStyle(ele) {
|
|
641
|
-
let stylee = await this.getStyle();
|
|
642
|
-
let head = document.getElementsByTagName("head")[0];
|
|
643
|
-
head.removeChild(document.querySelector("#themeStyle"));
|
|
644
|
-
head.appendChild(stylee);
|
|
645
|
-
}
|
|
646
|
-
}
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timeFormat.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export default function timestamp(type, datetime) {
|
|
2
|
-
let date = new Date(datetime); // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
|
|
3
|
-
let year = date.getFullYear(),
|
|
4
|
-
month = ('0' + (date.getMonth() + 1)).slice(-2),
|
|
5
|
-
sdate = ('0' + date.getDate()).slice(-2),
|
|
6
|
-
hour = ('0' + date.getHours()).slice(-2),
|
|
7
|
-
minute = ('0' + date.getMinutes()).slice(-2),
|
|
8
|
-
second = ('0' + date.getSeconds()).slice(-2);
|
|
9
|
-
|
|
10
|
-
// 拼接
|
|
11
|
-
let result = year + '-' + month + '-' + sdate + ' ' + hour + ':' + minute + ':' + second;
|
|
12
|
-
|
|
13
|
-
// 返回
|
|
14
|
-
if (type == 'YTD') {
|
|
15
|
-
return result;
|
|
16
|
-
} else if (type == 'HMS') {
|
|
17
|
-
result = result.substring(result.length - 8);
|
|
18
|
-
return result;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
timestamp
|
|
23
|
-
}
|
package/ganwei-iotcenter-index-6.2.0/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export default function timesYMDHMS() {
|
|
2
|
-
let date = new Date();
|
|
3
|
-
let seperator1 = '-';
|
|
4
|
-
let seperator2 = ':';
|
|
5
|
-
|
|
6
|
-
// 外国的月份都是从0开始的,所以+1
|
|
7
|
-
let month = date.getMonth() + 1;
|
|
8
|
-
let strDate = date.getDate();
|
|
9
|
-
|
|
10
|
-
// 1-9月用0补位
|
|
11
|
-
if (month >= 1 && month <= 9) {
|
|
12
|
-
month = '0' + month;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// 1-9日用0补位
|
|
16
|
-
if (strDate >= 0 && strDate <= 9) {
|
|
17
|
-
strDate = '0' + strDate;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// 获取当前时间 yyyy-MM-dd HH:mm:ss
|
|
21
|
-
let currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + ' ' + date.getHours() + seperator2 + date.getMinutes() + seperator2 + date.getSeconds();
|
|
22
|
-
return currentdate;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
timesYMDHMS
|
|
27
|
-
}
|