@ganwei-web/ganwei-pc-cli 6.2.1 → 6.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ganwei-app-6.2.1/.nvmrc +1 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.editorconfig +22 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.development +23 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.local.config +8 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.production +29 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.env.test +22 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.eslintignore +13 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.prettierignore +13 -0
- package/ganwei-app-6.2.1/moduleConfiguration/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/moduleConfiguration/cleanNodeModule.js +16 -0
- package/ganwei-app-6.2.1/moduleConfiguration/copyFile.js +133 -0
- package/ganwei-app-6.2.1/moduleConfiguration/filterStatic.js +65 -0
- package/ganwei-app-6.2.1/moduleConfiguration/init.js +48 -0
- package/ganwei-app-6.2.1/moduleConfiguration/moduleConfiguration.json +17 -0
- package/ganwei-app-6.2.1/package.json +41 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.babelrc +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.editorconfig +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.development +23 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.production +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.env.test +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.eslintrc.cjs +178 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierignore +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.prettierrc.cjs +37 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/.stylelintrc.cjs +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/auto-imports.d.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/env.d.ts +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/index.html +21 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/package-lock.json +18130 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/package.json +88 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/ElementPlusAdapter.css +706 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus-vars.css +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index-plus.css +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/index.css +15254 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/pptxjs.css +161 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/css/reset-6.1.css +433 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.ttf +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/element-icons.woff +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.css +1167 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.json +2025 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.ttf +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/font/iconfont.woff2 +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/index-loading.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_1.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_2.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_3.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/loading_4.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/logo.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/noPermission1.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/refresh.png +0 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_current.svg +36 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_equip.svg +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_safe.svg +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/scene_zonghe.svg +28 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_alarm.svg +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_info.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_setup.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_warning.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/snapshot_zichan.svg +15 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/images/ts.svg +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/axios.min.js +2 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/base/MFEManager.js +70 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/echarts.min.js +45 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/enc-base64-min.js +88 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/elementUI.min.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/injectCss.js +12 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-i18n.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue-router.min.js +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vue.min.js +11 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue2/vuex.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/ElementPlusAdapter.iife.js +628 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/elementPlus.min.js +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/gw_app_api.iife.js +4024 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-i18n.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue-router.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vue.min.js +1 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/js/vue3/vuex.min.js +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/autoPlay.json +187 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/commandConfig.json +10 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/config.json +32 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/modules.json +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/player.json +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/ppt.json +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/scene.json +72 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/json/welcome.json +8 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/en-US/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-CN/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/frame.json +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/language/zh-HK/publics.json +73 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark-6.1.css +325 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/dark.css +84 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/default-theme.js +43 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light-6.1.css +333 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/public/static/themes/light.css +85 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/App.vue +256 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItem.vue +28 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemBack.vue +18 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemCommon.vue +13 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/components/NavBarItemLogo.vue +33 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/index.vue +66 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/NavigationBar/models/index.ts +10 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/appFrame.vue +119 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/bottom.vue +76 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/bottom.scss +54 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/css/top.scss +44 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/js/useGestrue.ts +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/appFrame/top.vue +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/loading/index.vue +71 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/qrcodeReader/qrcodeReader.vue +328 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeCapture.vue +54 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeDropZone.vue +42 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/components/QrcodeStream.vue +327 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/index.js +32 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/camera.js +153 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/errors.js +25 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/scanner.js +114 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/shimGetUserMedia.js +30 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/misc/util.js +22 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/components/vue-qrcode-reader/src/mixins/CommonAPI.vue +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/enums/index.ts +19 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/hostMap.ts +8 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/main.ts +27 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/models/index.ts +81 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api/Auth.ts +80 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/request/api.ts +5 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/router.ts +134 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/store.js +192 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/types.js +16 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/MFEManager.ts +141 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/URLSearchParams.ts +149 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/defineWindowAttr.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/utils/eventBus.ts +6 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/EditPassword/index.vue +142 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/index.vue +174 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/ganwei-app-jump/src/lifecycles.js +29 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/Index.vue +113 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/getSystemInfo.ts +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useEventBus.ts +93 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useInitMenus.ts +47 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useKeepAlive.ts +35 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useNavigationBar.ts +94 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/usePush.ts +62 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/src/views/index/useScan.ts +36 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/stats.html +4975 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/tsconfig.json +58 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/types/gw-app-public.d.ts +4 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.base.config.ts +233 -0
- package/ganwei-app-6.2.1/packages/ganwei-app-index/vite.config.ts +51 -0
- package/ganwei-app-6.2.1/pnpm-lock.yaml +8810 -0
- package/ganwei-app-6.2.1/pnpm-workspace.yaml +3 -0
- package/ganwei-iotcenter-index-6.2.1/.nvmrc +1 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/cleanNodeModule.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/gitClone.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/moduleConfiguration.json +20 -0
- package/ganwei-iotcenter-index-6.2.1/configuration/updateModule.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.1/init.cjs +30 -0
- package/ganwei-iotcenter-index-6.2.1/package.json +41 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.babelrc +4 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.eslintrc.cjs +176 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/.prettierrc.cjs +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/enteryJson.js +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/components.d.ts +87 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/index.html +31 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/package.json +89 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-plus/index.css +16959 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/equipStatus.css +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/css/reset-6-1.css +155 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.css +3779 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.json +6596 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/http/createAxios.js +486 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/head-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-dark.svg +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-green.svg +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-alarmIcon-light.svg +26 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-dark.svg +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-green.svg +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-apppreview-light.svg +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-green.svg +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull-light.svg +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-contentfull.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-green.svg +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen-light.svg +12 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-fullscreen.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-dark.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-green.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-nopage-light.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-dark.svg +32 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-green.svg +32 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-normalIcon-light.svg +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-skin.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-dark.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-green.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping-light.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-tuchuquanping.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-upgrade.svg +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-dark.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-green.svg +27 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user-light.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-user.svg +26 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-dark.svg +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-green.svg +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/index-warningIcon-light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/menu-background.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-dark.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-green.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/renew-message-light.svg +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-close.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/right-open.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-fullscreen.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-guzhang.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-jinggao.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-shezhi.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-xinxi.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/systemsnapshot-zichan.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-dark.svg +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-green.svg +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/unread-message-light.svg +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/images/webconfig-location.svg +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/axios.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/echarts.min.js +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/element-ui/index.js.gz +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/enc-base64-min.js +86 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/filereader.js +455 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/font.js +56 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguage.js +144 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/getUserPermissionList.js +55 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/h5player.min.js +311 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/hmac-sha256.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jquery.slim.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jsencrypt.min.js +2 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/jszip.min.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/liveplayer-lib.min.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/moment.js +5670 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/pptxjs.min.js +14105 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/signalr.min.js +17 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/tXml.js +244 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/transformpcm.worker.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-i18n.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue-router.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vue.min.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/js/vuex.min.js +6 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/RAMScope.json +201 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/config.json +154 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/json/snapshot.json +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.css +246 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/lib/treeV2/treeV2.js +5384 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/green-6-1.css +357 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/App.vue +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/auto-import.d.ts +61 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/contractMenu.vue +216 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/menu.vue +238 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/asideMenu/topNav.vue +238 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.js +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/contextMenu/index.vue +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.js +204 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.scss +258 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexLeftContent/index.vue +112 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/images/appconnect.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/appPreview/index.vue +282 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.js +19 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/contentFullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.js +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/fullScreen/index.vue +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.js +28 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.scss +137 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/ApprovalDialog.vue +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.js +327 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.scss +253 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/processDesign/index.vue +61 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/RenewDialog.vue +97 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/renewMessages/renew.vue +271 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.scss +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/saveMode/index.vue +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.scss +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/switchTheme/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.js +146 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.scss +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/unReadMessages/index.vue +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.js +81 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.scss +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/upgrade/index.vue +30 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/forceEdit.js +78 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.js +265 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.scss +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/PWEditDialog/index.vue +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.js +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.scss +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/index.vue +90 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.js +68 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/logoutDialog/index.vue +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.js +178 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.scss +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/restartPlatformDialog/index.vue +46 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/safeModeDialog/index.vue +195 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.js +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.scss +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/switchPark/index.vue +35 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.js +240 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.scss +158 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/headerRight/userInfo/systemInfoDialog/index.vue +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.js +63 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.scss +40 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/index.vue +20 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.js +398 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.scss +136 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/labelPage/index.vue +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.js +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.scss +44 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/indexRightContent/normalPage/index.vue +21 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/inputPassword/index.vue +65 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/isDebug.vue +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/isDebug/warning.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noAccess.vue +78 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/noAccess/noPage.vue +68 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/sceneMonitor/index.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.js +65 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/toast/index.vue +136 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/listItem.vue +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/components/unreadMsg/unread.vue +300 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/hostMap.js +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/main.js +50 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/mixins/judgePermission.js +29 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/publish/pub.ts +28 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api/frame.js +142 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/request/api.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/router.js +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/store.js +221 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/MFEManager.js +156 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwEquipCache.js +325 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/gwSignalr.js +66 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/historyExport.js +158 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/Index.vue +81 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/index.js +297 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/index.vue +242 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/preloadMethod.js +54 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/src/views/jumpIframe/queryParser.js +47 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/tsconfig.json +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-index/vite.config.ts +270 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/enteryJson.js +72 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/index.html +34 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/package.json +84 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/drag.css +140 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/index.css +16075 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/element-ui/reset.css +1471 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/index.css +15926 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.css +4151 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.json +7247 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/http/createAxios.js +316 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/centerActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/center_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-dark.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-green.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-light.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src-small.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/index-logo-src.svg +67 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/leftActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/left_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-start.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/login-drag-stop.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/logo.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/refresh.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right.svg +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/rightActive.svg +24 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/images/right_light.svg +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/drag.js +391 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/font.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getConfigInfoData.js +57 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguage.js +143 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/getLanguageOptions.js +52 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/js/jquery.min.js +10716 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/dark.css +426 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme-6-1.js +46 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/default-theme.js +53 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/green-6-1.css +336 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/light.css +414 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/App.vue +70 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/alertHandle.scss +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/browserScroll.scss +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/btnHandle.scss +36 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/containerHandle.scss +402 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/dialogStyle.scss +43 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/equipStatus.scss +88 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/index.scss +1358 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/inputStyle.scss +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/listHandle.scss +113 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/login.scss +335 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/mainInfo.scss +297 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/maintenanceInfo.scss +199 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/style.css +921 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/tableHandle.scss +147 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/css/txtHandle.scss +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-bg-img.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/login-sso-error.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/images/logo-bg.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/assets/plugins/encrypt.js +122 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.scss +118 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declaration.vue +109 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/declaration/declarationPacts.vue +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/checkEmailContainer.vue +134 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/inputEmailContainer.vue +128 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/modifyPasswordContainer.vue +138 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification - /345/211/257/346/234/254.vue" +4 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/components/passwordModification/passwordModification.vue +223 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/directive/loadMore/loadMore.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/hostMap.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/mixins/setDefaultLanguage.js +87 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api/login.js +95 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/request/api.js +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/router.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/types.js +16 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/formValidate.js +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/isApp.js +18 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/language.js +45 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/myUtils.js +646 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timeFormat.js +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/utils/timesYMDHMS.js +27 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/mainInfo.js +374 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/js/maintenanceInfo.js +202 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/login.vue +458 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogin.vue +230 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/src/views/ssoLogout.vue +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-login/vite.config.ts +237 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.babelrc +8 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.editorconfig +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.development +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.production +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.env.test +22 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.eslintrc.cjs +162 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierignore +13 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/.prettierrc.cjs +37 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/auto-imports.d.ts +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/enteryJson.js +64 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.js +15 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-addInfo-html.ts +38 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/build/vite-plugin-stats-html.js +595 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/env.d.ts +7 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/index.html +25 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/package.json +94 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/css-vars.css +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/element-plus/index.css +16957 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/css/reset-6-1.css +114 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.css +1135 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.json +1969 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/appFont/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/element-icons.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.css +3535 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.js +1 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.json +6169 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.ttf +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/fonts/font/iconfont.woff2 +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/http/createAxios.js +372 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/images/index-loading.png +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/axios.min.js +3 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/font.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getConfigInfoData.js +58 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguage.js +142 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/js/getLanguageOptions.js +51 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/dark-6-1.css +430 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/default-theme-6-1.js +48 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/light-6-1.css +424 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/public/static/themes/themeConfig.json +42 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/App.vue +41 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/assets/images/template.jpg +0 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/hostMap.js +14 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/main.js +39 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api/template.js +11 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/request/api.js +9 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/router.js +23 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/utils/setStorage.js +5 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/views/template.vue +1008 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.json +21 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/tsconfig.node.json +10 -0
- package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/vite.config.ts +240 -0
- package/ganwei-iotcenter-index-6.2.1/pnpm-workspace.yaml +3 -0
- package/package.json +3 -2
package/ganwei-iotcenter-index-6.2.1/packages/ganwei-iotcenter-template/src/views/template.vue
ADDED
|
@@ -0,0 +1,1008 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page">
|
|
3
|
+
<span class="header">二次封装组件主题适配测试</span>
|
|
4
|
+
<!-- el-button -->
|
|
5
|
+
<div class="box">
|
|
6
|
+
<span class="title">el-button</span>
|
|
7
|
+
<div class="box-row">
|
|
8
|
+
<el-button>Default</el-button>
|
|
9
|
+
<el-button type="primary">Primary</el-button>
|
|
10
|
+
<el-button type="success">Success</el-button>
|
|
11
|
+
<el-button type="info">Info</el-button>
|
|
12
|
+
<el-button type="warning">Warning</el-button>
|
|
13
|
+
<el-button type="danger">Danger</el-button>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="box-row">
|
|
17
|
+
<el-button plain>Plain</el-button>
|
|
18
|
+
<el-button type="primary" plain>Primary</el-button>
|
|
19
|
+
<el-button type="success" plain>Success</el-button>
|
|
20
|
+
<el-button type="info" plain>Info</el-button>
|
|
21
|
+
<el-button type="warning" plain>Warning</el-button>
|
|
22
|
+
<el-button type="danger" plain>Danger</el-button>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="box-row">
|
|
26
|
+
<el-button round>Round</el-button>
|
|
27
|
+
<el-button type="primary" round>Primary</el-button>
|
|
28
|
+
<el-button type="success" round>Success</el-button>
|
|
29
|
+
<el-button type="info" round>Info</el-button>
|
|
30
|
+
<el-button type="warning" round>Warning</el-button>
|
|
31
|
+
<el-button type="danger" round>Danger</el-button>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="box-row">
|
|
35
|
+
<el-button icon="Search" circle />
|
|
36
|
+
<el-button type="primary" icon="Edit" circle />
|
|
37
|
+
<el-button type="success" icon="Check" circle />
|
|
38
|
+
<el-button type="info" icon="Message" circle />
|
|
39
|
+
<el-button type="warning" icon="Star" circle />
|
|
40
|
+
<el-button type="danger" icon="Delete" circle />
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<!-- el-cascader -->
|
|
45
|
+
<div class="box">
|
|
46
|
+
<span class="title">el-cascader</span>
|
|
47
|
+
<el-cascader v-model="value" :options="options" :props="props" :show-all-levels="false" clearable />
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<!-- el-checkbox -->
|
|
51
|
+
<div class="box">
|
|
52
|
+
<span class="title">el-checkbox</span>
|
|
53
|
+
<div class="box-row">
|
|
54
|
+
<el-checkbox v-model="checked1" label="Option1" />
|
|
55
|
+
<el-checkbox v-model="checked2" label="Option2" border />
|
|
56
|
+
</div>
|
|
57
|
+
<div class="box-row">
|
|
58
|
+
<el-checkbox-group v-model="checkList">
|
|
59
|
+
<el-checkbox label="Option A" value="Value A" />
|
|
60
|
+
<el-checkbox label="Option B" value="Value B" />
|
|
61
|
+
<el-checkbox label="Option C" value="Value C" />
|
|
62
|
+
<el-checkbox label="disabled" value="Value disabled" disabled />
|
|
63
|
+
<el-checkbox label="selected and disabled" value="Value selected and disabled" disabled />
|
|
64
|
+
</el-checkbox-group>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="box-row">
|
|
67
|
+
<el-checkbox-group v-model="checkboxGroup2">
|
|
68
|
+
<el-checkbox-button v-for="city in cities" :key="city" :value="city">
|
|
69
|
+
{{ city }}
|
|
70
|
+
</el-checkbox-button>
|
|
71
|
+
</el-checkbox-group>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<!-- el-collapse -->
|
|
76
|
+
<!-- <div class="box">
|
|
77
|
+
<span class="title">el-collapse</span>
|
|
78
|
+
<el-collapse v-model="activeName" accordion>
|
|
79
|
+
<el-collapse-item title="Consistency" name="1">
|
|
80
|
+
<div>Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used to;</div>
|
|
81
|
+
<div>Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc.</div>
|
|
82
|
+
</el-collapse-item>
|
|
83
|
+
<el-collapse-item title="Feedback" name="2">
|
|
84
|
+
<div>Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects;</div>
|
|
85
|
+
<div>Visual feedback: reflect current state by updating or rearranging elements of the page.</div>
|
|
86
|
+
</el-collapse-item>
|
|
87
|
+
<el-collapse-item title="Efficiency" name="3">
|
|
88
|
+
<div>Simplify the process: keep operating process simple and intuitive;</div>
|
|
89
|
+
<div>Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions;</div>
|
|
90
|
+
<div>Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling.</div>
|
|
91
|
+
</el-collapse-item>
|
|
92
|
+
</el-collapse>
|
|
93
|
+
</div> -->
|
|
94
|
+
|
|
95
|
+
<!-- el-data-picker -->
|
|
96
|
+
<div class="box">
|
|
97
|
+
<span class="title">el-data-picker</span>
|
|
98
|
+
<el-date-picker v-model="value1" type="date" placeholder="Pick a day" />
|
|
99
|
+
<el-date-picker v-model="value1" type="date" placeholder="Pick a day" disabled />
|
|
100
|
+
<el-date-picker v-model="value2" type="daterange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" />
|
|
101
|
+
<el-date-picker v-model="value2" type="daterange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" disabled />
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<!-- el-dialog -->
|
|
105
|
+
<div class="box">
|
|
106
|
+
<span class="title">el-dialog</span>
|
|
107
|
+
<el-button plain @click="dialogVisible = true"> Click to open the Dialog </el-button>
|
|
108
|
+
|
|
109
|
+
<el-dialog v-model="dialogVisible" title="Tips" width="500" :before-close="handleClose">
|
|
110
|
+
<span>This is a message</span>
|
|
111
|
+
<template #footer>
|
|
112
|
+
<div class="dialog-footer">
|
|
113
|
+
<el-button @click="dialogVisible = false">Cancel</el-button>
|
|
114
|
+
<el-button type="primary" @click="dialogVisible = false"> Confirm </el-button>
|
|
115
|
+
</div>
|
|
116
|
+
</template>
|
|
117
|
+
</el-dialog>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<!-- el-drawer -->
|
|
121
|
+
<div class="box">
|
|
122
|
+
<span class="title">el-drawer</span>
|
|
123
|
+
<el-button type="primary" style="margin-left: 16px" @click="drawer = true"> open drawer</el-button>
|
|
124
|
+
<el-drawer v-model="drawer" :direction="direction">
|
|
125
|
+
<template #header>
|
|
126
|
+
<span>set title by slot</span>
|
|
127
|
+
</template>
|
|
128
|
+
<template #default>
|
|
129
|
+
<div>
|
|
130
|
+
<el-radio v-model="radio1" value="Option 1" size="large"> Option 1 </el-radio>
|
|
131
|
+
<el-radio v-model="radio1" value="Option 2" size="large"> Option 2 </el-radio>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
<template #footer>
|
|
135
|
+
<div style="flex: auto">
|
|
136
|
+
<el-button @click="cancelClick">cancel</el-button>
|
|
137
|
+
<el-button type="primary" @click="confirmClick">confirm</el-button>
|
|
138
|
+
</div>
|
|
139
|
+
</template>
|
|
140
|
+
</el-drawer>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<!-- el-dropdown -->
|
|
144
|
+
<div class="box">
|
|
145
|
+
<span class="title">el-dropdown</span>
|
|
146
|
+
<el-dropdown>
|
|
147
|
+
<span class="el-dropdown-link">
|
|
148
|
+
Dropdown List
|
|
149
|
+
<el-icon class="el-icon--right">
|
|
150
|
+
<arrow-down />
|
|
151
|
+
</el-icon>
|
|
152
|
+
</span>
|
|
153
|
+
<template #dropdown>
|
|
154
|
+
<el-dropdown-menu>
|
|
155
|
+
<el-dropdown-item>Action 1</el-dropdown-item>
|
|
156
|
+
<el-dropdown-item>Action 2</el-dropdown-item>
|
|
157
|
+
<el-dropdown-item>Action 3</el-dropdown-item>
|
|
158
|
+
<el-dropdown-item disabled>Action 4</el-dropdown-item>
|
|
159
|
+
<el-dropdown-item divided>Action 5</el-dropdown-item>
|
|
160
|
+
</el-dropdown-menu>
|
|
161
|
+
</template>
|
|
162
|
+
</el-dropdown>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<!-- el-form -->
|
|
166
|
+
<div class="box">
|
|
167
|
+
<span class="title">el-form</span>
|
|
168
|
+
<el-form ref="formRef" :model="form" :rules="rules" label-width="130px">
|
|
169
|
+
<el-form-item label="Input" prop="user">
|
|
170
|
+
<el-input v-model="form.user" placeholder="Approved by" clearable />
|
|
171
|
+
</el-form-item>
|
|
172
|
+
<el-form-item label="Disabled input" prop="user1">
|
|
173
|
+
<el-input v-model="form.user1" placeholder="Approved by" clearable disabled />
|
|
174
|
+
</el-form-item>
|
|
175
|
+
<el-form-item label="Select" prop="region">
|
|
176
|
+
<el-select v-model="form.region" placeholder="Activity zone" clearable>
|
|
177
|
+
<el-option label="Zone one" value="shanghai" />
|
|
178
|
+
<el-option label="Zone two" value="beijing" />
|
|
179
|
+
</el-select>
|
|
180
|
+
</el-form-item>
|
|
181
|
+
<el-form-item label="Disabled select" prop="region1">
|
|
182
|
+
<el-select v-model="form.region1" placeholder="Activity zone" clearable disabled>
|
|
183
|
+
<el-option label="Zone one" value="shanghai" />
|
|
184
|
+
<el-option label="Zone two" value="beijing" />
|
|
185
|
+
</el-select>
|
|
186
|
+
</el-form-item>
|
|
187
|
+
<el-form-item label="Date picker" prop="date">
|
|
188
|
+
<el-date-picker v-model="form.date" type="date" placeholder="Pick a date" clearable />
|
|
189
|
+
</el-form-item>
|
|
190
|
+
<el-form-item>
|
|
191
|
+
<el-button type="primary" @click="onSubmit">Query</el-button>
|
|
192
|
+
</el-form-item>
|
|
193
|
+
</el-form>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
<!-- el-image -->
|
|
197
|
+
<div class="box">
|
|
198
|
+
<span class="title">el-image</span>
|
|
199
|
+
<el-image style="width: 100px; height: 100px" :src="url" :preview-src-list="[url]" fit="cover" />
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<!-- el-input -->
|
|
203
|
+
<div class="box">
|
|
204
|
+
<span class="title">el-input</span>
|
|
205
|
+
<el-input v-model="input1" style="width: 200px;" placeholder="请输入" prefix-icon="Search"/>
|
|
206
|
+
<el-input v-model="input2" style="width: 200px;" placeholder="Type something" prefix-icon="Search" disabled/>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<!-- el-select -->
|
|
210
|
+
<div class="box">
|
|
211
|
+
<span class="title">el-select</span>
|
|
212
|
+
<div class="box-row">
|
|
213
|
+
<el-select v-model="select" placeholder="请选择" style="width: 240px">
|
|
214
|
+
<el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value" :disabled="item.disabled" />
|
|
215
|
+
</el-select>
|
|
216
|
+
</div>
|
|
217
|
+
<div class="box-row">
|
|
218
|
+
<el-select v-model="select" placeholder="请选择" style="width: 240px" disabled>
|
|
219
|
+
<el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value" :disabled="item.disabled" />
|
|
220
|
+
</el-select>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<!-- el-loading -->
|
|
225
|
+
<div class="box">
|
|
226
|
+
<span class="title">el-loading</span>
|
|
227
|
+
<div class="table">
|
|
228
|
+
<el-table v-loading="loading" height="100%" :data="tableData">
|
|
229
|
+
<el-table-column prop="date" label="Date" width="180" />
|
|
230
|
+
<el-table-column prop="name" label="Name" width="180" />
|
|
231
|
+
<el-table-column prop="address" label="Address" />
|
|
232
|
+
</el-table>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<!-- el-menu -->
|
|
237
|
+
<!-- 级联菜单气泡背景色未设置 -->
|
|
238
|
+
<div class="box">
|
|
239
|
+
<span class="title">el-menu</span>
|
|
240
|
+
<div class="box-row">
|
|
241
|
+
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal">
|
|
242
|
+
<el-menu-item index="1">Processing Center</el-menu-item>
|
|
243
|
+
<el-sub-menu index="2">
|
|
244
|
+
<template #title>Workspace</template>
|
|
245
|
+
<el-menu-item index="2-1">item one</el-menu-item>
|
|
246
|
+
<el-menu-item index="2-2">item two</el-menu-item>
|
|
247
|
+
<el-menu-item index="2-3">item three</el-menu-item>
|
|
248
|
+
<el-sub-menu index="2-4">
|
|
249
|
+
<template #title>item four</template>
|
|
250
|
+
<el-menu-item index="2-4-1">item one</el-menu-item>
|
|
251
|
+
<el-menu-item index="2-4-2">item two</el-menu-item>
|
|
252
|
+
<el-menu-item index="2-4-3">item three</el-menu-item>
|
|
253
|
+
</el-sub-menu>
|
|
254
|
+
</el-sub-menu>
|
|
255
|
+
<el-menu-item index="3">Info</el-menu-item>
|
|
256
|
+
<el-menu-item index="4">Orders</el-menu-item>
|
|
257
|
+
</el-menu>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="box-row">
|
|
260
|
+
<el-menu default-active="2" class="el-menu-vertical-demo" @open="handleOpen">
|
|
261
|
+
<el-sub-menu index="1">
|
|
262
|
+
<template #title>
|
|
263
|
+
<el-icon><location /></el-icon>
|
|
264
|
+
<span>Navigator One</span>
|
|
265
|
+
</template>
|
|
266
|
+
<el-menu-item-group title="Group One">
|
|
267
|
+
<el-menu-item index="1-1">item one</el-menu-item>
|
|
268
|
+
<el-menu-item index="1-2">item two</el-menu-item>
|
|
269
|
+
</el-menu-item-group>
|
|
270
|
+
<el-menu-item-group title="Group Two">
|
|
271
|
+
<el-menu-item index="1-3">item three</el-menu-item>
|
|
272
|
+
</el-menu-item-group>
|
|
273
|
+
<el-sub-menu index="1-4">
|
|
274
|
+
<template #title>item four</template>
|
|
275
|
+
<el-menu-item index="1-4-1">item one</el-menu-item>
|
|
276
|
+
</el-sub-menu>
|
|
277
|
+
</el-sub-menu>
|
|
278
|
+
<el-menu-item index="2">
|
|
279
|
+
<el-icon><Menu /></el-icon>
|
|
280
|
+
<span>Navigator Two</span>
|
|
281
|
+
</el-menu-item>
|
|
282
|
+
<el-menu-item index="3" disabled>
|
|
283
|
+
<el-icon><document /></el-icon>
|
|
284
|
+
<span>Navigator Three</span>
|
|
285
|
+
</el-menu-item>
|
|
286
|
+
<el-menu-item index="4">
|
|
287
|
+
<el-icon><Setting /></el-icon>
|
|
288
|
+
<span>Navigator Four</span>
|
|
289
|
+
</el-menu-item>
|
|
290
|
+
</el-menu>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
<!-- el-message-box -->
|
|
295
|
+
<div class="box">
|
|
296
|
+
<span class="title">el-message-box</span>
|
|
297
|
+
<el-button plain @click="open">Click to open the Message Box</el-button>
|
|
298
|
+
</div>
|
|
299
|
+
|
|
300
|
+
<!-- el-notification -->
|
|
301
|
+
<div class="box">
|
|
302
|
+
<span class="title">el-notification</span>
|
|
303
|
+
<div class="box-row">
|
|
304
|
+
<el-button plain @click="open5">Primary</el-button>
|
|
305
|
+
<el-button plain @click="open1">Success</el-button>
|
|
306
|
+
<el-button plain @click="open2">Warning</el-button>
|
|
307
|
+
<el-button plain @click="open3">Info</el-button>
|
|
308
|
+
<el-button plain @click="open4">Error</el-button>
|
|
309
|
+
</div>
|
|
310
|
+
</div>
|
|
311
|
+
|
|
312
|
+
<!-- el-pagination -->
|
|
313
|
+
<div class="box">
|
|
314
|
+
<span class="title">el-pagination</span>
|
|
315
|
+
<el-pagination
|
|
316
|
+
v-model:current-page="currentPage4"
|
|
317
|
+
v-model:page-size="pageSize4"
|
|
318
|
+
:page-sizes="[100, 200, 300, 400]"
|
|
319
|
+
:size="size"
|
|
320
|
+
:disabled="disabled"
|
|
321
|
+
:background="background"
|
|
322
|
+
layout="total, sizes, prev, pager, next, jumper"
|
|
323
|
+
:total="400"
|
|
324
|
+
@size-change="handleSizeChange"
|
|
325
|
+
@current-change="handleCurrentChange"
|
|
326
|
+
/>
|
|
327
|
+
</div>
|
|
328
|
+
|
|
329
|
+
<!-- el-popover -->
|
|
330
|
+
<div class="box">
|
|
331
|
+
<span class="title">el-popover</span>
|
|
332
|
+
<div class="box-row">
|
|
333
|
+
<el-popover title="Title" content="Top Center prompts info" placement="top">
|
|
334
|
+
<template #reference>
|
|
335
|
+
<el-button>top</el-button>
|
|
336
|
+
</template>
|
|
337
|
+
</el-popover>
|
|
338
|
+
<el-popover title="Title" content="Left Center prompts info" placement="left">
|
|
339
|
+
<template #reference>
|
|
340
|
+
<el-button class="mt-3 mb-3">left</el-button>
|
|
341
|
+
</template>
|
|
342
|
+
</el-popover>
|
|
343
|
+
<el-popover title="Title" content="Right Center prompts info" placement="right">
|
|
344
|
+
<template #reference>
|
|
345
|
+
<el-button>right</el-button>
|
|
346
|
+
</template>
|
|
347
|
+
</el-popover>
|
|
348
|
+
<el-popover title="Title" content="Bottom Center prompts info" placement="bottom">
|
|
349
|
+
<template #reference> <el-button>bottom</el-button></template>
|
|
350
|
+
</el-popover>
|
|
351
|
+
</div>
|
|
352
|
+
</div>
|
|
353
|
+
|
|
354
|
+
<!-- el-radio-group -->
|
|
355
|
+
<div class="box">
|
|
356
|
+
<span class="title">el-radio-group</span>
|
|
357
|
+
<div class="box-row">
|
|
358
|
+
<el-radio-group v-model="radio">
|
|
359
|
+
<el-radio :value="3">Option A</el-radio>
|
|
360
|
+
<el-radio :value="6">Option B</el-radio>
|
|
361
|
+
<el-radio :value="9" disabled>Option C</el-radio>
|
|
362
|
+
</el-radio-group>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="box-row">
|
|
365
|
+
<el-radio-group v-model="radio2">
|
|
366
|
+
<el-radio :value="1" border>Option A</el-radio>
|
|
367
|
+
<el-radio :value="2" border>Option B</el-radio>
|
|
368
|
+
<el-radio :value="3" border disabled>Option C</el-radio>
|
|
369
|
+
</el-radio-group>
|
|
370
|
+
</div>
|
|
371
|
+
<div class="box-row">
|
|
372
|
+
<el-radio-group v-model="radio3">
|
|
373
|
+
<el-radio-button label="New York" value="New York" />
|
|
374
|
+
<el-radio-button label="Washington" value="Washington" />
|
|
375
|
+
<el-radio-button label="Los Angeles" value="Los Angeles" />
|
|
376
|
+
<el-radio-button label="Chicago" value="Chicago" />
|
|
377
|
+
</el-radio-group>
|
|
378
|
+
</div>
|
|
379
|
+
</div>
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
<!-- el-switch -->
|
|
384
|
+
<div class="box">
|
|
385
|
+
<span class="title">el-switch</span>
|
|
386
|
+
<div class="box-row">
|
|
387
|
+
<el-switch v-model="switch3" inline-prompt active-text="是" inactive-text="否" />
|
|
388
|
+
<el-switch v-model="switch4" inline-prompt style="--el-switch-on-color: #13ce66; --el-switch-off-color: #ff4949" active-text="Y" inactive-text="N" />
|
|
389
|
+
<el-switch v-model="switch5" width="60" inline-prompt active-text="超出省略" inactive-text="超出省略" />
|
|
390
|
+
<el-switch v-model="switch6" inline-prompt style="--el-switch-on-color: #13ce66; --el-switch-off-color: #ff4949" active-text="完整展示多个内容" inactive-text="多个内容" />
|
|
391
|
+
</div>
|
|
392
|
+
</div>
|
|
393
|
+
|
|
394
|
+
<!-- el-table -->
|
|
395
|
+
<div class="box">
|
|
396
|
+
<span class="title">el-table</span>
|
|
397
|
+
<div style="width: 40%;height: 200px;">
|
|
398
|
+
<el-table :data="tableData1" max-height="100%">
|
|
399
|
+
<el-table-column prop="date" label="Date" width="150" />
|
|
400
|
+
<el-table-column prop="name" label="Name" width="120" />
|
|
401
|
+
<el-table-column prop="state" label="State" width="120" />
|
|
402
|
+
<el-table-column prop="city" label="City" width="120" />
|
|
403
|
+
<el-table-column prop="address" label="Address" width="600" />
|
|
404
|
+
<el-table-column prop="zip" label="Zip" width="120" />
|
|
405
|
+
<el-table-column fixed="right" label="Operations" min-width="120">
|
|
406
|
+
<template #default="scope">
|
|
407
|
+
<el-button type="text" size="small"> Remove </el-button>
|
|
408
|
+
</template>
|
|
409
|
+
</el-table-column>
|
|
410
|
+
</el-table>
|
|
411
|
+
</div>
|
|
412
|
+
</div>
|
|
413
|
+
|
|
414
|
+
<!-- el-time-picker -->
|
|
415
|
+
<div class="box">
|
|
416
|
+
<span class="title">el-time-picker</span>
|
|
417
|
+
<el-time-picker v-model="timePicker" placeholder="Arbitrary time" />
|
|
418
|
+
<el-time-picker v-model="timePicker" placeholder="Arbitrary time" disabled />
|
|
419
|
+
</div>
|
|
420
|
+
|
|
421
|
+
<!-- el-transfer -->
|
|
422
|
+
<div class="box">
|
|
423
|
+
<span class="title">el-transfer</span>
|
|
424
|
+
<el-transfer v-model="transferValue" filterable :filter-method="filterMethod" filter-placeholder="State Abbreviations" :data="data" />
|
|
425
|
+
</div>
|
|
426
|
+
|
|
427
|
+
<!-- el-tree -->
|
|
428
|
+
<div class="box">
|
|
429
|
+
<span class="title">el-tree</span>
|
|
430
|
+
<el-input v-model="filterText" style="width: 300px;" placeholder="Filter keyword" clearable />
|
|
431
|
+
<el-tree ref="treeRef" show-checkbox style="width: 300px" class="filter-tree" :data="treeData" :props="defaultProps" default-expand-all :filter-node-method="filterNode" />
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
<!-- el-upload -->
|
|
435
|
+
<div class="box">
|
|
436
|
+
<span class="title">el-upload</span>
|
|
437
|
+
<span>文件上传</span>
|
|
438
|
+
<el-upload
|
|
439
|
+
v-model:file-list="fileList"
|
|
440
|
+
class="upload-demo"
|
|
441
|
+
action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
|
|
442
|
+
multiple
|
|
443
|
+
:on-preview="handlePreview"
|
|
444
|
+
:on-remove="handleRemove"
|
|
445
|
+
:before-remove="beforeRemove"
|
|
446
|
+
:limit="3"
|
|
447
|
+
:on-exceed="handleExceed"
|
|
448
|
+
>
|
|
449
|
+
<el-button type="primary">Click to upload</el-button>
|
|
450
|
+
<template #tip>
|
|
451
|
+
<div class="el-upload__tip">jpg/png files with a size less than 500KB.</div>
|
|
452
|
+
</template>
|
|
453
|
+
</el-upload>
|
|
454
|
+
<br />
|
|
455
|
+
<span>图片上传</span>
|
|
456
|
+
<el-upload
|
|
457
|
+
v-if="!isCheck"
|
|
458
|
+
limit="1"
|
|
459
|
+
:on-exceed="handleUploadExceed"
|
|
460
|
+
list-type="picture"
|
|
461
|
+
:http-request="customUpload"
|
|
462
|
+
:before-upload="beforeUpload"
|
|
463
|
+
:on-remove="handleUploadRemove"
|
|
464
|
+
:file-list="imageList"
|
|
465
|
+
>
|
|
466
|
+
<div>
|
|
467
|
+
<i style="font-size: 40px" class="el-icon-upload"></i>
|
|
468
|
+
<div slot="tip" class="upload-tip">{{'请上传一张图片'}}</div>
|
|
469
|
+
</div>
|
|
470
|
+
</el-upload>
|
|
471
|
+
<el-image v-if="isCheck && viewImage" :src="viewImage" style="width: 100px; height: 100px; cursor: pointer" :preview-src-list="[viewImage]"></el-image>
|
|
472
|
+
</div>
|
|
473
|
+
</div>
|
|
474
|
+
</template>
|
|
475
|
+
|
|
476
|
+
<script setup>
|
|
477
|
+
import { ref, reactive, watch } from 'vue'
|
|
478
|
+
import { ElMessage, ElMessageBox, ElNotification } from 'element-plus'
|
|
479
|
+
// el-cascader
|
|
480
|
+
const value = ref([])
|
|
481
|
+
const props = {
|
|
482
|
+
expandTrigger: 'hover', // 鼠标悬浮展开
|
|
483
|
+
multiple: true // 多选
|
|
484
|
+
}
|
|
485
|
+
const options = [
|
|
486
|
+
{
|
|
487
|
+
value: 'guide',
|
|
488
|
+
label: 'Guide',
|
|
489
|
+
children: [
|
|
490
|
+
{
|
|
491
|
+
value: 'disciplines',
|
|
492
|
+
label: 'Disciplines',
|
|
493
|
+
children: [
|
|
494
|
+
{
|
|
495
|
+
value: 'consistency',
|
|
496
|
+
label: 'Consistency',
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
value: 'feedback',
|
|
500
|
+
label: 'Feedback',
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
value: 'efficiency',
|
|
504
|
+
label: 'Efficiency',
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
value: 'controllability',
|
|
508
|
+
label: 'Controllability',
|
|
509
|
+
},
|
|
510
|
+
],
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
value: 'navigation',
|
|
514
|
+
label: 'Navigation',
|
|
515
|
+
children: [
|
|
516
|
+
{
|
|
517
|
+
value: 'side nav',
|
|
518
|
+
label: 'Side Navigation',
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
value: 'top nav',
|
|
522
|
+
label: 'Top Navigation',
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
value: 'resource',
|
|
530
|
+
label: 'Resource',
|
|
531
|
+
children: [
|
|
532
|
+
{
|
|
533
|
+
value: 'axure',
|
|
534
|
+
label: 'Axure Components',
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
value: 'sketch',
|
|
538
|
+
label: 'Sketch Templates',
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
value: 'docs',
|
|
542
|
+
label: 'Design Documentation',
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
},
|
|
546
|
+
]
|
|
547
|
+
// el-checkbox
|
|
548
|
+
const checked1 = ref(false)
|
|
549
|
+
const checked2 = ref(false)
|
|
550
|
+
const checkList = ref(['Value selected and disabled', 'Value A'])
|
|
551
|
+
const checkboxGroup2 = ref(['Shanghai'])
|
|
552
|
+
const cities = ['Shanghai', 'Beijing', 'Guangzhou', 'Shenzhen']
|
|
553
|
+
// el-collapse
|
|
554
|
+
const activeName = ref('1')
|
|
555
|
+
// el-data-picker
|
|
556
|
+
const value1 = ref('')
|
|
557
|
+
const value2 = ref('')
|
|
558
|
+
// el-dialog
|
|
559
|
+
const dialogVisible = ref(false)
|
|
560
|
+
|
|
561
|
+
const handleClose = (done) => {
|
|
562
|
+
ElMessageBox.confirm('Are you sure to close this dialog?')
|
|
563
|
+
.then(() => {
|
|
564
|
+
done()
|
|
565
|
+
})
|
|
566
|
+
.catch(() => {
|
|
567
|
+
// catch error
|
|
568
|
+
})
|
|
569
|
+
}
|
|
570
|
+
// el-drawer
|
|
571
|
+
const drawer = ref(false)
|
|
572
|
+
const radio1 = ref('Option 1')
|
|
573
|
+
function cancelClick() {
|
|
574
|
+
drawer.value = false
|
|
575
|
+
}
|
|
576
|
+
function confirmClick() {
|
|
577
|
+
ElMessageBox.confirm(`Are you confirm to chose ${radio1.value} ?`)
|
|
578
|
+
.then(() => {
|
|
579
|
+
drawer.value = false
|
|
580
|
+
})
|
|
581
|
+
.catch(() => {
|
|
582
|
+
// catch error
|
|
583
|
+
})
|
|
584
|
+
}
|
|
585
|
+
// el-form
|
|
586
|
+
const form = reactive({
|
|
587
|
+
user: '',
|
|
588
|
+
region: '',
|
|
589
|
+
user1: '',
|
|
590
|
+
region1: '',
|
|
591
|
+
date: '',
|
|
592
|
+
})
|
|
593
|
+
const formRef = ref(null)
|
|
594
|
+
const rules = reactive({
|
|
595
|
+
user: [
|
|
596
|
+
{ required: true, message: 'Please input Activity name', trigger: 'blur' },
|
|
597
|
+
],
|
|
598
|
+
region: [
|
|
599
|
+
{ required: true, message: 'Please input Activity name', trigger: 'change' },
|
|
600
|
+
],
|
|
601
|
+
date: [
|
|
602
|
+
{ type: 'date', required: true, message: 'Please input Activity name', trigger: 'change' },
|
|
603
|
+
],
|
|
604
|
+
})
|
|
605
|
+
const onSubmit = async () => {
|
|
606
|
+
await formRef.value.validate((valid, fields) => {
|
|
607
|
+
if (valid) {
|
|
608
|
+
console.log('submit!')
|
|
609
|
+
} else {
|
|
610
|
+
console.log('error submit!', fields)
|
|
611
|
+
}
|
|
612
|
+
})
|
|
613
|
+
}
|
|
614
|
+
// el-image
|
|
615
|
+
const url =
|
|
616
|
+
'https://fuss10.elemecdn.com/a/3f/3302e58f9a181d2509f3dc0fa68b0jpeg.jpeg'
|
|
617
|
+
// el-input
|
|
618
|
+
const input1 = ref('')
|
|
619
|
+
const input2 = ref('')
|
|
620
|
+
// el-table
|
|
621
|
+
const loading = ref(true)
|
|
622
|
+
const tableData = [
|
|
623
|
+
{
|
|
624
|
+
date: '2016-05-02',
|
|
625
|
+
name: 'John Smith',
|
|
626
|
+
address: 'No.1518, Jinshajiang Road, Putuo District',
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
date: '2016-05-04',
|
|
630
|
+
name: 'John Smith',
|
|
631
|
+
address: 'No.1518, Jinshajiang Road, Putuo District',
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
date: '2016-05-01',
|
|
635
|
+
name: 'John Smith',
|
|
636
|
+
address: 'No.1518, Jinshajiang Road, Putuo District',
|
|
637
|
+
},
|
|
638
|
+
]
|
|
639
|
+
// el-menu
|
|
640
|
+
const activeIndex = ref('1')
|
|
641
|
+
// el-message-box
|
|
642
|
+
const open = () => {
|
|
643
|
+
ElMessageBox.confirm(
|
|
644
|
+
'proxy will permanently delete the file. Continue?',
|
|
645
|
+
'Warning',
|
|
646
|
+
{
|
|
647
|
+
confirmButtonText: 'OK',
|
|
648
|
+
cancelButtonText: 'Cancel',
|
|
649
|
+
type: 'warning',
|
|
650
|
+
}
|
|
651
|
+
)
|
|
652
|
+
.then(() => {
|
|
653
|
+
ElMessage({
|
|
654
|
+
type: 'success',
|
|
655
|
+
message: 'Delete completed',
|
|
656
|
+
})
|
|
657
|
+
})
|
|
658
|
+
.catch(() => {
|
|
659
|
+
ElMessage({
|
|
660
|
+
type: 'info',
|
|
661
|
+
message: 'Delete canceled',
|
|
662
|
+
})
|
|
663
|
+
})
|
|
664
|
+
}
|
|
665
|
+
// el-notification
|
|
666
|
+
const open1 = () => {
|
|
667
|
+
ElNotification({
|
|
668
|
+
title: 'Success',
|
|
669
|
+
message: 'This is a success message',
|
|
670
|
+
type: 'success',
|
|
671
|
+
duration: 0
|
|
672
|
+
})
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
const open2 = () => {
|
|
676
|
+
ElNotification({
|
|
677
|
+
title: 'Warning',
|
|
678
|
+
message: 'This is a warning message',
|
|
679
|
+
type: 'warning',
|
|
680
|
+
})
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
const open3 = () => {
|
|
684
|
+
ElNotification({
|
|
685
|
+
title: 'Info',
|
|
686
|
+
message: 'This is an info message',
|
|
687
|
+
type: 'info',
|
|
688
|
+
})
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
const open4 = () => {
|
|
692
|
+
ElNotification({
|
|
693
|
+
title: 'Error',
|
|
694
|
+
message: 'This is an error message',
|
|
695
|
+
type: 'error',
|
|
696
|
+
})
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
const open5 = () => {
|
|
700
|
+
ElNotification({
|
|
701
|
+
title: 'Primary',
|
|
702
|
+
message: 'This is a primary message',
|
|
703
|
+
type: 'primary',
|
|
704
|
+
})
|
|
705
|
+
}
|
|
706
|
+
// el-pagination
|
|
707
|
+
const pageSize4 = ref(100)
|
|
708
|
+
const size = ref('default')
|
|
709
|
+
const background = ref(true)
|
|
710
|
+
const disabled = ref(false)
|
|
711
|
+
const handleSizeChange = () => {
|
|
712
|
+
console.log(`${val} items per page`)
|
|
713
|
+
}
|
|
714
|
+
const handleCurrentChange = () => {
|
|
715
|
+
console.log(`current page: ${val}`)
|
|
716
|
+
}
|
|
717
|
+
// el-radio-group
|
|
718
|
+
const radio = ref(3)
|
|
719
|
+
const radio2 = ref(1)
|
|
720
|
+
const radio3 = ref('New York')
|
|
721
|
+
// el-select
|
|
722
|
+
const select = ref('')
|
|
723
|
+
const selectOptions = [
|
|
724
|
+
{
|
|
725
|
+
value: 'Option1',
|
|
726
|
+
label: 'Option1',
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
value: 'Option2',
|
|
730
|
+
label: 'Option2',
|
|
731
|
+
disabled: true,
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
value: 'Option3',
|
|
735
|
+
label: 'Option3',
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
value: 'Option4',
|
|
739
|
+
label: 'Option4',
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
value: 'Option5',
|
|
743
|
+
label: 'Option5',
|
|
744
|
+
},
|
|
745
|
+
]
|
|
746
|
+
// el-switch
|
|
747
|
+
const switch1 = ref(true)
|
|
748
|
+
const switch2 = ref(true)
|
|
749
|
+
const switch3 = ref(true)
|
|
750
|
+
const switch4 = ref(true)
|
|
751
|
+
const switch5 = ref(true)
|
|
752
|
+
const switch6 = ref(true)
|
|
753
|
+
// el-table
|
|
754
|
+
const tableData1 = ref([
|
|
755
|
+
{
|
|
756
|
+
date: '2016-05-01',
|
|
757
|
+
name: 'Tom',
|
|
758
|
+
state: 'California',
|
|
759
|
+
city: 'Los Angeles',
|
|
760
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
761
|
+
zip: 'CA 90036',
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
date: '2016-05-02',
|
|
765
|
+
name: 'Tom',
|
|
766
|
+
state: 'California',
|
|
767
|
+
city: 'Los Angeles',
|
|
768
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
769
|
+
zip: 'CA 90036',
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
date: '2016-05-03',
|
|
773
|
+
name: 'Tom',
|
|
774
|
+
state: 'California',
|
|
775
|
+
city: 'Los Angeles',
|
|
776
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
777
|
+
zip: 'CA 90036',
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
date: '2016-05-03',
|
|
781
|
+
name: 'Tom',
|
|
782
|
+
state: 'California',
|
|
783
|
+
city: 'Los Angeles',
|
|
784
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
785
|
+
zip: 'CA 90036',
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
date: '2016-05-03',
|
|
789
|
+
name: 'Tom',
|
|
790
|
+
state: 'California',
|
|
791
|
+
city: 'Los Angeles',
|
|
792
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
793
|
+
zip: 'CA 90036',
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
date: '2016-05-03',
|
|
797
|
+
name: 'Tom',
|
|
798
|
+
state: 'California',
|
|
799
|
+
city: 'Los Angeles',
|
|
800
|
+
address: 'No. 189, Grove St, Los Angeles',
|
|
801
|
+
zip: 'CA 90036',
|
|
802
|
+
},
|
|
803
|
+
])
|
|
804
|
+
// el-time-picker
|
|
805
|
+
const timePicker = ref()
|
|
806
|
+
// el-transfer
|
|
807
|
+
const generateData = () => {
|
|
808
|
+
const data = [];
|
|
809
|
+
const states = [
|
|
810
|
+
'California',
|
|
811
|
+
'Illinois',
|
|
812
|
+
'Maryland',
|
|
813
|
+
'Texas',
|
|
814
|
+
'Florida',
|
|
815
|
+
'Colorado',
|
|
816
|
+
'Connecticut',
|
|
817
|
+
'Aaa',
|
|
818
|
+
'Bbb',
|
|
819
|
+
'Ccc'
|
|
820
|
+
];
|
|
821
|
+
const initials = ['CA', 'IL', 'MD', 'TX', 'FL', 'CO', 'CT', 'AA', 'BB', 'Cc'];
|
|
822
|
+
|
|
823
|
+
states.forEach((city, index) => {
|
|
824
|
+
data.push({
|
|
825
|
+
label: city,
|
|
826
|
+
key: index,
|
|
827
|
+
initial: initials[index],
|
|
828
|
+
});
|
|
829
|
+
});
|
|
830
|
+
return data;
|
|
831
|
+
};
|
|
832
|
+
// 响应式数据
|
|
833
|
+
const data = ref(generateData());
|
|
834
|
+
const transferValue = ref([]);
|
|
835
|
+
|
|
836
|
+
// 过滤方法
|
|
837
|
+
const filterMethod = (query, item) => {
|
|
838
|
+
return item.initial.toLowerCase().includes(query.toLowerCase());
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
// el-tree
|
|
842
|
+
// 响应式过滤文本
|
|
843
|
+
const filterText = ref('')
|
|
844
|
+
// 树组件引用
|
|
845
|
+
const treeRef = ref()
|
|
846
|
+
|
|
847
|
+
// 树形结构配置
|
|
848
|
+
const defaultProps = {
|
|
849
|
+
children: 'children',
|
|
850
|
+
label: 'label',
|
|
851
|
+
disabled: 'disabled',
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
// 树形数据
|
|
855
|
+
const treeData = [
|
|
856
|
+
{
|
|
857
|
+
id: 1,
|
|
858
|
+
label: 'Level one 1',
|
|
859
|
+
children: [
|
|
860
|
+
{
|
|
861
|
+
id: 4,
|
|
862
|
+
label: 'Level two 1-1',
|
|
863
|
+
children: [
|
|
864
|
+
{ id: 9, label: 'Level three 1-1-1', disabled: true },
|
|
865
|
+
{ id: 10, label: 'Level three 1-1-2' }
|
|
866
|
+
]
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
id: 2,
|
|
872
|
+
label: 'Level one 2',
|
|
873
|
+
children: [
|
|
874
|
+
{ id: 5, label: 'Level two 2-1' },
|
|
875
|
+
{ id: 6, label: 'Level two 2-2' }
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
id: 3,
|
|
880
|
+
label: 'Level one 3',
|
|
881
|
+
children: [
|
|
882
|
+
{ id: 7, label: 'Level two 3-1' },
|
|
883
|
+
{ id: 8, label: 'Level two 3-2' }
|
|
884
|
+
]
|
|
885
|
+
}
|
|
886
|
+
]
|
|
887
|
+
|
|
888
|
+
// 监听过滤文本变化,触发树过滤
|
|
889
|
+
watch(filterText, (val) => {
|
|
890
|
+
treeRef.value?.filter(val) // 使用可选链避免 undefined 错误
|
|
891
|
+
})
|
|
892
|
+
|
|
893
|
+
// 节点过滤方法
|
|
894
|
+
const filterNode = (value, data) => {
|
|
895
|
+
if (!value) return true // 无过滤条件时显示所有节点
|
|
896
|
+
return data.label.includes(value) // 匹配标签包含过滤文本的节点
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
// el-upload
|
|
900
|
+
// 文件列表(移除TS类型注解)
|
|
901
|
+
const fileList = ref([
|
|
902
|
+
{
|
|
903
|
+
name: 'element-plus-logo.svg',
|
|
904
|
+
url: 'https://element-plus.org/images/element-plus-logo.svg',
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
name: 'element-plus-logo2.svg',
|
|
908
|
+
url: 'https://element-plus.org/images/element-plus-logo.svg',
|
|
909
|
+
},
|
|
910
|
+
])
|
|
911
|
+
|
|
912
|
+
// 移除文件回调
|
|
913
|
+
const handleRemove = (file, uploadFiles) => {
|
|
914
|
+
console.log(file, uploadFiles)
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// 预览文件回调
|
|
918
|
+
const handlePreview = (uploadFile) => {
|
|
919
|
+
console.log(uploadFile)
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
// 超出文件数量限制回调
|
|
923
|
+
const handleExceed = (files, uploadFiles) => {
|
|
924
|
+
ElMessage.warning(
|
|
925
|
+
`The limit is 3, you selected ${files.length} files this time, add up to ${
|
|
926
|
+
files.length + uploadFiles.length
|
|
927
|
+
} totally`
|
|
928
|
+
)
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
// 移除前确认回调
|
|
932
|
+
const beforeRemove = (uploadFile, uploadFiles) => {
|
|
933
|
+
return ElMessageBox.confirm(
|
|
934
|
+
`Cancel the transfer of ${uploadFile.name} ?`
|
|
935
|
+
).then(
|
|
936
|
+
() => true,
|
|
937
|
+
() => false
|
|
938
|
+
)
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
// 图片上传
|
|
942
|
+
const isCheck = ref(false)
|
|
943
|
+
const handleUploadExceed= () =>{
|
|
944
|
+
this.$message.warning('最多上传一张图片')
|
|
945
|
+
}
|
|
946
|
+
const customUpload = async (params)=>{
|
|
947
|
+
const formData = new FormData()
|
|
948
|
+
formData.append('formFile', params.file)
|
|
949
|
+
formData.append('subject', 'salesReceivable')
|
|
950
|
+
try {
|
|
951
|
+
const res = await this.$api.uploadFileApi(formData)
|
|
952
|
+
const { code, data } = res.data
|
|
953
|
+
if (code == 200) {
|
|
954
|
+
this.tableDialog.imageList.push({
|
|
955
|
+
uid: params.file.uid,
|
|
956
|
+
url: data[0].accessPath
|
|
957
|
+
})
|
|
958
|
+
console.log('this.tableDialog.imageList', this.tableDialog.imageList)
|
|
959
|
+
console.log('上传成功')
|
|
960
|
+
}
|
|
961
|
+
} catch (error) {
|
|
962
|
+
this.$message.error('上传失败')
|
|
963
|
+
console.log('上传失败', error)
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
</script>
|
|
967
|
+
|
|
968
|
+
<style scoped>
|
|
969
|
+
.page{
|
|
970
|
+
background-color: var(--frame-main-background-1);
|
|
971
|
+
padding: 20px 0;
|
|
972
|
+
height: 100%;
|
|
973
|
+
width: 100%;
|
|
974
|
+
overflow-y: auto;
|
|
975
|
+
|
|
976
|
+
display: flex;
|
|
977
|
+
flex-direction: column;
|
|
978
|
+
gap: 40px;
|
|
979
|
+
}
|
|
980
|
+
.header{
|
|
981
|
+
font-weight: 600;
|
|
982
|
+
font-size: 23px;
|
|
983
|
+
color: var(--frame-main-color);
|
|
984
|
+
text-align: center;
|
|
985
|
+
}
|
|
986
|
+
.box{
|
|
987
|
+
display: flex;
|
|
988
|
+
flex-direction: column;
|
|
989
|
+
align-items: center;
|
|
990
|
+
gap: 20px;
|
|
991
|
+
|
|
992
|
+
.title{
|
|
993
|
+
font-weight: 600;
|
|
994
|
+
font-size: 20px;
|
|
995
|
+
color: var(--frame-main-color);
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
/* el-button */
|
|
999
|
+
.box-row {
|
|
1000
|
+
display: flex;
|
|
1001
|
+
flex-wrap: wrap;
|
|
1002
|
+
align-items: center;
|
|
1003
|
+
}
|
|
1004
|
+
/* el-table */
|
|
1005
|
+
.table{
|
|
1006
|
+
height: 300px;
|
|
1007
|
+
}
|
|
1008
|
+
</style>
|