@k3000/s1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/RuoYi-Vue3/.env.development +8 -0
- package/RuoYi-Vue3/.env.production +11 -0
- package/RuoYi-Vue3/.env.staging +11 -0
- package/RuoYi-Vue3/.github/FUNDING.yml +1 -0
- package/RuoYi-Vue3/LICENSE +20 -0
- package/RuoYi-Vue3/README.md +109 -0
- package/RuoYi-Vue3/bin/build.bat +12 -0
- package/RuoYi-Vue3/bin/package.bat +12 -0
- package/RuoYi-Vue3/bin/run-web.bat +12 -0
- package/RuoYi-Vue3/html/ie.html +46 -0
- package/RuoYi-Vue3/index.html +215 -0
- package/RuoYi-Vue3/package.json +44 -0
- package/RuoYi-Vue3/public/favicon.ico +0 -0
- package/RuoYi-Vue3/src/App.vue +15 -0
- package/RuoYi-Vue3/src/api/login.js +60 -0
- package/RuoYi-Vue3/src/api/menu.js +9 -0
- package/RuoYi-Vue3/src/api/monitor/cache.js +57 -0
- package/RuoYi-Vue3/src/api/monitor/job.js +71 -0
- package/RuoYi-Vue3/src/api/monitor/jobLog.js +26 -0
- package/RuoYi-Vue3/src/api/monitor/logininfor.js +34 -0
- package/RuoYi-Vue3/src/api/monitor/online.js +18 -0
- package/RuoYi-Vue3/src/api/monitor/operlog.js +26 -0
- package/RuoYi-Vue3/src/api/monitor/server.js +9 -0
- package/RuoYi-Vue3/src/api/system/config.js +60 -0
- package/RuoYi-Vue3/src/api/system/dept.js +52 -0
- package/RuoYi-Vue3/src/api/system/dict/data.js +52 -0
- package/RuoYi-Vue3/src/api/system/dict/type.js +60 -0
- package/RuoYi-Vue3/src/api/system/menu.js +60 -0
- package/RuoYi-Vue3/src/api/system/notice.js +44 -0
- package/RuoYi-Vue3/src/api/system/post.js +44 -0
- package/RuoYi-Vue3/src/api/system/role.js +119 -0
- package/RuoYi-Vue3/src/api/system/user.js +136 -0
- package/RuoYi-Vue3/src/api/tool/gen.js +85 -0
- package/RuoYi-Vue3/src/assets/401_images/401.gif +0 -0
- package/RuoYi-Vue3/src/assets/404_images/404.png +0 -0
- package/RuoYi-Vue3/src/assets/404_images/404_cloud.png +0 -0
- package/RuoYi-Vue3/src/assets/icons/svg/404.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/bug.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/build.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/button.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/cascader.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/chart.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/checkbox.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/clipboard.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/code.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/color.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/component.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/dashboard.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/date-range.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/date.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/dict.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/documentation.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/download.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/drag.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/druid.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/edit.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/education.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/email.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/example.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/excel.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/exit-fullscreen.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/eye-open.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/eye.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/form.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/fullscreen.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/github.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/guide.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/icon.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/input.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/international.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/job.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/language.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/link.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/list.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/lock.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/log.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/logininfor.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/message.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/money.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/monitor.svg +2 -0
- package/RuoYi-Vue3/src/assets/icons/svg/nested.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/number.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/online.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/password.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/pdf.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/people.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/peoples.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/phone.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/post.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/qq.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/question.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/radio.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/rate.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/redis-list.svg +2 -0
- package/RuoYi-Vue3/src/assets/icons/svg/redis.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/row.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/search.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/select.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/server.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/shopping.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/size.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/skill.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/slider.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/star.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/swagger.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/switch.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/system.svg +2 -0
- package/RuoYi-Vue3/src/assets/icons/svg/tab.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/table.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/textarea.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/theme.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/time-range.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/time.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/tool.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/tree-table.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/tree.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/upload.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/user.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/validCode.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/wechat.svg +1 -0
- package/RuoYi-Vue3/src/assets/icons/svg/zip.svg +1 -0
- package/RuoYi-Vue3/src/assets/images/dark.svg +39 -0
- package/RuoYi-Vue3/src/assets/images/light.svg +39 -0
- package/RuoYi-Vue3/src/assets/images/login-background.jpg +0 -0
- package/RuoYi-Vue3/src/assets/images/pay.png +0 -0
- package/RuoYi-Vue3/src/assets/images/profile.jpg +0 -0
- package/RuoYi-Vue3/src/assets/logo/logo.png +0 -0
- package/RuoYi-Vue3/src/assets/styles/btn.scss +99 -0
- package/RuoYi-Vue3/src/assets/styles/element-ui.scss +96 -0
- package/RuoYi-Vue3/src/assets/styles/index.scss +184 -0
- package/RuoYi-Vue3/src/assets/styles/mixin.scss +66 -0
- package/RuoYi-Vue3/src/assets/styles/ruoyi.scss +281 -0
- package/RuoYi-Vue3/src/assets/styles/sidebar.scss +238 -0
- package/RuoYi-Vue3/src/assets/styles/transition.scss +49 -0
- package/RuoYi-Vue3/src/assets/styles/variables.module.scss +65 -0
- package/RuoYi-Vue3/src/components/Breadcrumb/index.vue +66 -0
- package/RuoYi-Vue3/src/components/Crontab/day.vue +174 -0
- package/RuoYi-Vue3/src/components/Crontab/hour.vue +133 -0
- package/RuoYi-Vue3/src/components/Crontab/index.vue +310 -0
- package/RuoYi-Vue3/src/components/Crontab/min.vue +126 -0
- package/RuoYi-Vue3/src/components/Crontab/month.vue +141 -0
- package/RuoYi-Vue3/src/components/Crontab/result.vue +540 -0
- package/RuoYi-Vue3/src/components/Crontab/second.vue +128 -0
- package/RuoYi-Vue3/src/components/Crontab/week.vue +197 -0
- package/RuoYi-Vue3/src/components/Crontab/year.vue +149 -0
- package/RuoYi-Vue3/src/components/DictTag/index.vue +82 -0
- package/RuoYi-Vue3/src/components/Editor/index.vue +251 -0
- package/RuoYi-Vue3/src/components/FileUpload/index.vue +207 -0
- package/RuoYi-Vue3/src/components/Hamburger/index.vue +41 -0
- package/RuoYi-Vue3/src/components/HeaderSearch/index.vue +187 -0
- package/RuoYi-Vue3/src/components/IconSelect/index.vue +111 -0
- package/RuoYi-Vue3/src/components/IconSelect/requireIcons.js +8 -0
- package/RuoYi-Vue3/src/components/ImagePreview/index.vue +92 -0
- package/RuoYi-Vue3/src/components/ImageUpload/index.vue +213 -0
- package/RuoYi-Vue3/src/components/Pagination/index.vue +105 -0
- package/RuoYi-Vue3/src/components/ParentView/index.vue +3 -0
- package/RuoYi-Vue3/src/components/RightToolbar/index.vue +134 -0
- package/RuoYi-Vue3/src/components/RuoYi/Doc/index.vue +13 -0
- package/RuoYi-Vue3/src/components/RuoYi/Git/index.vue +13 -0
- package/RuoYi-Vue3/src/components/Screenfull/index.vue +22 -0
- package/RuoYi-Vue3/src/components/SizeSelect/index.vue +45 -0
- package/RuoYi-Vue3/src/components/SvgIcon/index.vue +53 -0
- package/RuoYi-Vue3/src/components/SvgIcon/svgicon.js +10 -0
- package/RuoYi-Vue3/src/components/TopNav/index.vue +214 -0
- package/RuoYi-Vue3/src/components/TreeSelect/index.vue +156 -0
- package/RuoYi-Vue3/src/components/iFrame/index.vue +31 -0
- package/RuoYi-Vue3/src/directive/common/copyText.js +66 -0
- package/RuoYi-Vue3/src/directive/index.js +9 -0
- package/RuoYi-Vue3/src/directive/permission/hasPermi.js +28 -0
- package/RuoYi-Vue3/src/directive/permission/hasRole.js +28 -0
- package/RuoYi-Vue3/src/layout/components/AppMain.vue +68 -0
- package/RuoYi-Vue3/src/layout/components/IframeToggle/index.vue +25 -0
- package/RuoYi-Vue3/src/layout/components/InnerLink/index.vue +24 -0
- package/RuoYi-Vue3/src/layout/components/Navbar.vue +191 -0
- package/RuoYi-Vue3/src/layout/components/Settings/index.vue +209 -0
- package/RuoYi-Vue3/src/layout/components/Sidebar/Link.vue +40 -0
- package/RuoYi-Vue3/src/layout/components/Sidebar/Logo.vue +81 -0
- package/RuoYi-Vue3/src/layout/components/Sidebar/SidebarItem.vue +102 -0
- package/RuoYi-Vue3/src/layout/components/Sidebar/index.vue +54 -0
- package/RuoYi-Vue3/src/layout/components/TagsView/ScrollPane.vue +107 -0
- package/RuoYi-Vue3/src/layout/components/TagsView/index.vue +358 -0
- package/RuoYi-Vue3/src/layout/components/index.js +4 -0
- package/RuoYi-Vue3/src/layout/index.vue +114 -0
- package/RuoYi-Vue3/src/main.js +84 -0
- package/RuoYi-Vue3/src/permission.js +65 -0
- package/RuoYi-Vue3/src/plugins/auth.js +60 -0
- package/RuoYi-Vue3/src/plugins/cache.js +77 -0
- package/RuoYi-Vue3/src/plugins/download.js +79 -0
- package/RuoYi-Vue3/src/plugins/index.js +18 -0
- package/RuoYi-Vue3/src/plugins/modal.js +82 -0
- package/RuoYi-Vue3/src/plugins/tab.js +69 -0
- package/RuoYi-Vue3/src/router/index.js +175 -0
- package/RuoYi-Vue3/src/settings.js +47 -0
- package/RuoYi-Vue3/src/store/index.js +3 -0
- package/RuoYi-Vue3/src/store/modules/app.js +46 -0
- package/RuoYi-Vue3/src/store/modules/dict.js +57 -0
- package/RuoYi-Vue3/src/store/modules/permission.js +142 -0
- package/RuoYi-Vue3/src/store/modules/settings.js +38 -0
- package/RuoYi-Vue3/src/store/modules/tagsView.js +182 -0
- package/RuoYi-Vue3/src/store/modules/user.js +72 -0
- package/RuoYi-Vue3/src/utils/auth.js +15 -0
- package/RuoYi-Vue3/src/utils/dict.js +24 -0
- package/RuoYi-Vue3/src/utils/dynamicTitle.js +15 -0
- package/RuoYi-Vue3/src/utils/errorCode.js +6 -0
- package/RuoYi-Vue3/src/utils/index.js +390 -0
- package/RuoYi-Vue3/src/utils/jsencrypt.js +30 -0
- package/RuoYi-Vue3/src/utils/permission.js +51 -0
- package/RuoYi-Vue3/src/utils/request.js +152 -0
- package/RuoYi-Vue3/src/utils/ruoyi.js +246 -0
- package/RuoYi-Vue3/src/utils/scroll-to.js +58 -0
- package/RuoYi-Vue3/src/utils/theme.js +49 -0
- package/RuoYi-Vue3/src/utils/validate.js +93 -0
- package/RuoYi-Vue3/src/views/error/401.vue +82 -0
- package/RuoYi-Vue3/src/views/error/404.vue +227 -0
- package/RuoYi-Vue3/src/views/index.vue +1092 -0
- package/RuoYi-Vue3/src/views/login.vue +227 -0
- package/RuoYi-Vue3/src/views/monitor/cache/index.vue +132 -0
- package/RuoYi-Vue3/src/views/monitor/cache/list.vue +246 -0
- package/RuoYi-Vue3/src/views/monitor/druid/index.vue +13 -0
- package/RuoYi-Vue3/src/views/monitor/job/index.vue +501 -0
- package/RuoYi-Vue3/src/views/monitor/job/log.vue +283 -0
- package/RuoYi-Vue3/src/views/monitor/logininfor/index.vue +233 -0
- package/RuoYi-Vue3/src/views/monitor/online/index.vue +109 -0
- package/RuoYi-Vue3/src/views/monitor/operlog/index.vue +310 -0
- package/RuoYi-Vue3/src/views/monitor/server/index.vue +187 -0
- package/RuoYi-Vue3/src/views/redirect/index.vue +14 -0
- package/RuoYi-Vue3/src/views/register.vue +219 -0
- package/RuoYi-Vue3/src/views/system/config/index.vue +316 -0
- package/RuoYi-Vue3/src/views/system/dept/index.vue +283 -0
- package/RuoYi-Vue3/src/views/system/dict/data.vue +362 -0
- package/RuoYi-Vue3/src/views/system/dict/index.vue +323 -0
- package/RuoYi-Vue3/src/views/system/menu/index.vue +452 -0
- package/RuoYi-Vue3/src/views/system/notice/index.vue +292 -0
- package/RuoYi-Vue3/src/views/system/post/index.vue +287 -0
- package/RuoYi-Vue3/src/views/system/role/authUser.vue +179 -0
- package/RuoYi-Vue3/src/views/system/role/index.vue +584 -0
- package/RuoYi-Vue3/src/views/system/role/selectUser.vue +144 -0
- package/RuoYi-Vue3/src/views/system/user/authRole.vue +116 -0
- package/RuoYi-Vue3/src/views/system/user/index.vue +635 -0
- package/RuoYi-Vue3/src/views/system/user/profile/index.vue +87 -0
- package/RuoYi-Vue3/src/views/system/user/profile/resetPwd.vue +59 -0
- package/RuoYi-Vue3/src/views/system/user/profile/userAvatar.vue +180 -0
- package/RuoYi-Vue3/src/views/system/user/profile/userInfo.vue +67 -0
- package/RuoYi-Vue3/src/views/tool/build/index.vue +3 -0
- package/RuoYi-Vue3/src/views/tool/gen/basicInfoForm.vue +48 -0
- package/RuoYi-Vue3/src/views/tool/gen/createTable.vue +46 -0
- package/RuoYi-Vue3/src/views/tool/gen/editTable.vue +200 -0
- package/RuoYi-Vue3/src/views/tool/gen/genInfoForm.vue +306 -0
- package/RuoYi-Vue3/src/views/tool/gen/importTable.vue +126 -0
- package/RuoYi-Vue3/src/views/tool/gen/index.vue +310 -0
- package/RuoYi-Vue3/src/views/tool/swagger/index.vue +9 -0
- package/RuoYi-Vue3/vite/plugins/auto-import.js +12 -0
- package/RuoYi-Vue3/vite/plugins/compression.js +28 -0
- package/RuoYi-Vue3/vite/plugins/index.js +15 -0
- package/RuoYi-Vue3/vite/plugins/setup-extend.js +5 -0
- package/RuoYi-Vue3/vite/plugins/svg-icon.js +10 -0
- package/RuoYi-Vue3/vite.config.js +58 -0
- package/admin/README.MD +0 -0
- package/admin/base.mjs +447 -0
- package/admin/index.mjs +19 -0
- package/admin/monitor/job.mjs +24 -0
- package/admin/monitor/jobLog.mjs +8 -0
- package/admin/monitor/logininfor.mjs +23 -0
- package/admin/monitor/operlog.mjs +9 -0
- package/admin/monitor/server.mjs +54 -0
- package/admin/service.mjs +10 -0
- package/admin/system/component.mjs +16 -0
- package/admin/system/config.mjs +8 -0
- package/admin/system/dept.mjs +24 -0
- package/admin/system/dict.mjs +34 -0
- package/admin/system/login.mjs +119 -0
- package/admin/system/menu.mjs +33 -0
- package/admin/system/notice.mjs +8 -0
- package/admin/system/path.mjs +53 -0
- package/admin/system/post.mjs +8 -0
- package/admin/system/role.mjs +105 -0
- package/admin/system/user.mjs +93 -0
- package/admin/tool/gen.mjs +95 -0
- package/admin/tool/helper.mjs +1335 -0
- package/admin/tool/pm2.mjs +71 -0
- package/admin/tool/store.mjs +84 -0
- package/admin/tool/upload.mjs +112 -0
- package/app/README.MD +0 -0
- package/app/index.mjs +9 -0
- package/bin.mjs +211 -0
- package/build.mjs +25 -0
- package/common/README.MD +0 -0
- package/common/config.mjs +40 -0
- package/common/pm2.mjs +145 -0
- package/common/service.mjs +79 -0
- package/common/service0.mjs +468 -0
- package/common/tools.mjs +314 -0
- package/common/type.ts +498 -0
- package/file/README.MD +0 -0
- package/files/.env.production +11 -0
- package/files/gen.js +76 -0
- package/files/genImportTable.vue +120 -0
- package/files/genIndex.vue +309 -0
- package/files/genInfoForm.vue +302 -0
- package/files/login.vue +237 -0
- package/files/menu.js +68 -0
- package/files/menuIndex.vue +447 -0
- package/files/pm2.js +88 -0
- package/files/pm2Data.vue +335 -0
- package/files/pm2Index.vue +343 -0
- package/files/routerIndex.js +204 -0
- package/files/serverIndex.vue +215 -0
- package/files/store.js +96 -0
- package/files/storeData.vue +294 -0
- package/files/storeIndex.vue +245 -0
- package/files/upload.js +47 -0
- package/files/uploadIndex.vue +240 -0
- package/files/vite.config.js +58 -0
- package/index.mjs +28 -0
- package/jwt/README.MD +12 -0
- package/jwt/index.mjs +17 -0
- package/package.json +22 -0
- package/proxy/README.MD +0 -0
- package/proxy/index.mjs +16 -0
- package/static/README.MD +0 -0
- package/static/admin/assets/401-CYieuz9-.js +1 -0
- package/static/admin/assets/401-CYieuz9-.js.gz +0 -0
- package/static/admin/assets/401-DmT2Eyz6.css +1 -0
- package/static/admin/assets/401-HGF6Q5qM.gif +0 -0
- package/static/admin/assets/404-DFv5Zpvm.js +1 -0
- package/static/admin/assets/404-DFv5Zpvm.js.gz +0 -0
- package/static/admin/assets/404-Dy3nURRX.js +1 -0
- package/static/admin/assets/404-Dy3nURRX.js.gz +0 -0
- package/static/admin/assets/404-N4aRkdWY.png +0 -0
- package/static/admin/assets/404-uZCOR2Ze.css +1 -0
- package/static/admin/assets/404-uZCOR2Ze.css.gz +0 -0
- package/static/admin/assets/404_cloud-CPexjtDj.png +0 -0
- package/static/admin/assets/authRole-ma37t91O.js +1 -0
- package/static/admin/assets/authRole-ma37t91O.js.gz +0 -0
- package/static/admin/assets/authUser-C2Y6gkW3.js +1 -0
- package/static/admin/assets/authUser-C2Y6gkW3.js.gz +0 -0
- package/static/admin/assets/basicInfoForm-Cqv-g0Vq.js +1 -0
- package/static/admin/assets/basicInfoForm-Cqv-g0Vq.js.gz +0 -0
- package/static/admin/assets/bug-10dePVta.js +1 -0
- package/static/admin/assets/bug-10dePVta.js.gz +0 -0
- package/static/admin/assets/build-2jMyI6eP.js +1 -0
- package/static/admin/assets/build-2jMyI6eP.js.gz +0 -0
- package/static/admin/assets/button-BlSCM_GH.js +1 -0
- package/static/admin/assets/button-BlSCM_GH.js.gz +0 -0
- package/static/admin/assets/cache-CRGI5LFU.js +1 -0
- package/static/admin/assets/cascader-CXIOcY1C.js +1 -0
- package/static/admin/assets/cascader-CXIOcY1C.js.gz +0 -0
- package/static/admin/assets/chart-BsLMrzXU.js +1 -0
- package/static/admin/assets/checkbox-Bpiun3bf.js +1 -0
- package/static/admin/assets/checkbox-Bpiun3bf.js.gz +0 -0
- package/static/admin/assets/clipboard-DaV3cn7f.js +1 -0
- package/static/admin/assets/clipboard-DaV3cn7f.js.gz +0 -0
- package/static/admin/assets/code-DgJ8cT4a.js +1 -0
- package/static/admin/assets/color-y1Sshoou.js +1 -0
- package/static/admin/assets/color-y1Sshoou.js.gz +0 -0
- package/static/admin/assets/component-Djp9s69L.js +1 -0
- package/static/admin/assets/component-Djp9s69L.js.gz +0 -0
- package/static/admin/assets/createTable-CpixhIJI.js +1 -0
- package/static/admin/assets/createTable-CpixhIJI.js.gz +0 -0
- package/static/admin/assets/dashboard-Dy7qt_a2.js +1 -0
- package/static/admin/assets/dashboard-Dy7qt_a2.js.gz +0 -0
- package/static/admin/assets/data-B6ExfNCI.js +1 -0
- package/static/admin/assets/data-B6ExfNCI.js.gz +0 -0
- package/static/admin/assets/data-BNwnwlkO.js +34 -0
- package/static/admin/assets/data-BNwnwlkO.js.gz +0 -0
- package/static/admin/assets/data-C3FuPwta.css +1 -0
- package/static/admin/assets/data-DmSA0HcO.js +1 -0
- package/static/admin/assets/data-DmSA0HcO.js.gz +0 -0
- package/static/admin/assets/date-B1FSITvi.js +1 -0
- package/static/admin/assets/date-B1FSITvi.js.gz +0 -0
- package/static/admin/assets/date-range-B8MgYLb1.js +1 -0
- package/static/admin/assets/date-range-B8MgYLb1.js.gz +0 -0
- package/static/admin/assets/dict-Bi_GqSXR.js +1 -0
- package/static/admin/assets/dict-Bi_GqSXR.js.gz +0 -0
- package/static/admin/assets/documentation-uH9BvL5U.js +1 -0
- package/static/admin/assets/download-DeIzgQWH.js +1 -0
- package/static/admin/assets/download-DeIzgQWH.js.gz +0 -0
- package/static/admin/assets/drag-BG1_I1vT.js +1 -0
- package/static/admin/assets/druid-BybW_S_B.js +1 -0
- package/static/admin/assets/edit-D0DI9pAq.js +1 -0
- package/static/admin/assets/editTable-zr5bdAM7.js +1 -0
- package/static/admin/assets/editTable-zr5bdAM7.js.gz +0 -0
- package/static/admin/assets/education-47KsSYIl.js +1 -0
- package/static/admin/assets/email-Dig28Vt2.js +1 -0
- package/static/admin/assets/example-CnLLAFb9.js +1 -0
- package/static/admin/assets/excel-D3hj5F35.js +1 -0
- package/static/admin/assets/exit-fullscreen-dXhGKlQm.js +1 -0
- package/static/admin/assets/exit-fullscreen-dXhGKlQm.js.gz +0 -0
- package/static/admin/assets/eye-DqRz4sMZ.js +1 -0
- package/static/admin/assets/eye-DqRz4sMZ.js.gz +0 -0
- package/static/admin/assets/eye-open-BxlshWqB.js +1 -0
- package/static/admin/assets/eye-open-BxlshWqB.js.gz +0 -0
- package/static/admin/assets/form-BDTA_i-I.js +1 -0
- package/static/admin/assets/form-BDTA_i-I.js.gz +0 -0
- package/static/admin/assets/fullscreen-0JHt5yWX.js +1 -0
- package/static/admin/assets/gen-DLNrNhtb.js +1 -0
- package/static/admin/assets/genInfoForm-CMDsV5QX.js +1 -0
- package/static/admin/assets/genInfoForm-CMDsV5QX.js.gz +0 -0
- package/static/admin/assets/github-AJ0WQBa2.js +1 -0
- package/static/admin/assets/github-AJ0WQBa2.js.gz +0 -0
- package/static/admin/assets/guide-DZWUPi2j.js +1 -0
- package/static/admin/assets/icon-BtMv6Od8.js +1 -0
- package/static/admin/assets/icon-BtMv6Od8.js.gz +0 -0
- package/static/admin/assets/importTable-BsBsGfWB.js +1 -0
- package/static/admin/assets/importTable-BsBsGfWB.js.gz +0 -0
- package/static/admin/assets/index-1Gtzb1EG.css +1 -0
- package/static/admin/assets/index-1Gtzb1EG.css.gz +0 -0
- package/static/admin/assets/index-22TxXV_H.js +1 -0
- package/static/admin/assets/index-2PS_9Njt.js +1 -0
- package/static/admin/assets/index-2PS_9Njt.js.gz +0 -0
- package/static/admin/assets/index-2QWdVCKT.js +1 -0
- package/static/admin/assets/index-BH2yis6M.js +1 -0
- package/static/admin/assets/index-BYiWbDzj.js +137 -0
- package/static/admin/assets/index-BYiWbDzj.js.gz +0 -0
- package/static/admin/assets/index-BcoIBYYg.js +1 -0
- package/static/admin/assets/index-BcoIBYYg.js.gz +0 -0
- package/static/admin/assets/index-BdfyYxZX.css +1 -0
- package/static/admin/assets/index-BdfyYxZX.css.gz +0 -0
- package/static/admin/assets/index-BpFFXMK5.js +1 -0
- package/static/admin/assets/index-BpFFXMK5.js.gz +0 -0
- package/static/admin/assets/index-CKPU_AaL.js +1 -0
- package/static/admin/assets/index-CKPU_AaL.js.gz +0 -0
- package/static/admin/assets/index-CXsykB0X.js +1 -0
- package/static/admin/assets/index-CXsykB0X.js.gz +0 -0
- package/static/admin/assets/index-CfHRKVJR.js +1 -0
- package/static/admin/assets/index-CfHRKVJR.js.gz +0 -0
- package/static/admin/assets/index-ChrWcM7o.js +1 -0
- package/static/admin/assets/index-ChrWcM7o.js.gz +0 -0
- package/static/admin/assets/index-CyGqJLpz.css +1 -0
- package/static/admin/assets/index-Czuq8j-W.js +1 -0
- package/static/admin/assets/index-D5kEXJN3.js +1 -0
- package/static/admin/assets/index-D5kEXJN3.js.gz +0 -0
- package/static/admin/assets/index-D7sjRL--.js +1 -0
- package/static/admin/assets/index-D7sjRL--.js.gz +0 -0
- package/static/admin/assets/index-D9JRAPr4.js +1 -0
- package/static/admin/assets/index-D9JRAPr4.js.gz +0 -0
- package/static/admin/assets/index-DADWjT7Y.js +1 -0
- package/static/admin/assets/index-DADWjT7Y.js.gz +0 -0
- package/static/admin/assets/index-DUTtT4NU.js +1 -0
- package/static/admin/assets/index-DUTtT4NU.js.gz +0 -0
- package/static/admin/assets/index-DZR__uIb.js +1 -0
- package/static/admin/assets/index-DZR__uIb.js.gz +0 -0
- package/static/admin/assets/index-Da2r8G2b.js +1 -0
- package/static/admin/assets/index-Da2r8G2b.js.gz +0 -0
- package/static/admin/assets/index-DakybE_b.js +1 -0
- package/static/admin/assets/index-DakybE_b.js.gz +0 -0
- package/static/admin/assets/index-DdnU2rJ0.css +1 -0
- package/static/admin/assets/index-H21xXZr5.js +60 -0
- package/static/admin/assets/index-H21xXZr5.js.gz +0 -0
- package/static/admin/assets/index-PGDGQEbD.js +1 -0
- package/static/admin/assets/index-PGDGQEbD.js.gz +0 -0
- package/static/admin/assets/index-Rm6qYhrO.js +1 -0
- package/static/admin/assets/index-VG6ZkdYt.js +1 -0
- package/static/admin/assets/index-VG6ZkdYt.js.gz +0 -0
- package/static/admin/assets/index-YVnsjgTq.js +1 -0
- package/static/admin/assets/index-YVnsjgTq.js.gz +0 -0
- package/static/admin/assets/index-t3XJ47us.css +1 -0
- package/static/admin/assets/index-t3XJ47us.css.gz +0 -0
- package/static/admin/assets/index-xfai-fRy.js +1 -0
- package/static/admin/assets/index-xfai-fRy.js.gz +0 -0
- package/static/admin/assets/input-BJoPMnBW.js +1 -0
- package/static/admin/assets/international-CmzG1OHg.js +1 -0
- package/static/admin/assets/international-CmzG1OHg.js.gz +0 -0
- package/static/admin/assets/job-BcmuINx7.js +1 -0
- package/static/admin/assets/job-BcmuINx7.js.gz +0 -0
- package/static/admin/assets/job-COdMvNx2.js +1 -0
- package/static/admin/assets/language-CaW1LMEk.js +1 -0
- package/static/admin/assets/language-CaW1LMEk.js.gz +0 -0
- package/static/admin/assets/link-C93f4PgI.js +1 -0
- package/static/admin/assets/list-C7O8B4zW.js +1 -0
- package/static/admin/assets/list-C7O8B4zW.js.gz +0 -0
- package/static/admin/assets/list-DUaPnccL.js +1 -0
- package/static/admin/assets/list-DUaPnccL.js.gz +0 -0
- package/static/admin/assets/lock-Bexeb9hp.js +1 -0
- package/static/admin/assets/log-CF2F-nSs.js +1 -0
- package/static/admin/assets/log-CF2F-nSs.js.gz +0 -0
- package/static/admin/assets/log-g6qirYnf.js +1 -0
- package/static/admin/assets/log-g6qirYnf.js.gz +0 -0
- package/static/admin/assets/login-1ezV0PC1.css +1 -0
- package/static/admin/assets/login-1ezV0PC1.css.gz +0 -0
- package/static/admin/assets/login-BnkuYS6J.js +22 -0
- package/static/admin/assets/login-BnkuYS6J.js.gz +0 -0
- package/static/admin/assets/login-background-Yn3y1TP_.jpg +0 -0
- package/static/admin/assets/logininfor-Bm9ZYYR7.js +1 -0
- package/static/admin/assets/logininfor-Bm9ZYYR7.js.gz +0 -0
- package/static/admin/assets/logo-BjsPc2xl.png +0 -0
- package/static/admin/assets/menu-BIu3IsSF.js +1 -0
- package/static/admin/assets/message-UkR-VIBB.js +1 -0
- package/static/admin/assets/money-B1qqPuhn.js +1 -0
- package/static/admin/assets/monitor-gwnnVq4l.js +1 -0
- package/static/admin/assets/monitor-gwnnVq4l.js.gz +0 -0
- package/static/admin/assets/nested-B4d5u3hW.js +1 -0
- package/static/admin/assets/number-D4hB_nHC.js +1 -0
- package/static/admin/assets/number-D4hB_nHC.js.gz +0 -0
- package/static/admin/assets/online-C2ZP8pdY.js +1 -0
- package/static/admin/assets/online-C2ZP8pdY.js.gz +0 -0
- package/static/admin/assets/password-DfGvqQpB.js +1 -0
- package/static/admin/assets/password-DfGvqQpB.js.gz +0 -0
- package/static/admin/assets/pay-2ZbgPnxn.png +0 -0
- package/static/admin/assets/pdf-CD9mOGjJ.js +1 -0
- package/static/admin/assets/pdf-CD9mOGjJ.js.gz +0 -0
- package/static/admin/assets/people-CdGMHN63.js +1 -0
- package/static/admin/assets/people-CdGMHN63.js.gz +0 -0
- package/static/admin/assets/peoples-BRYsIqmI.js +1 -0
- package/static/admin/assets/phone-BpAUIz0g.js +1 -0
- package/static/admin/assets/phone-BpAUIz0g.js.gz +0 -0
- package/static/admin/assets/pm2-BkmkkE2A.js +1 -0
- package/static/admin/assets/post-DrLDyPY9.js +1 -0
- package/static/admin/assets/post-DrLDyPY9.js.gz +0 -0
- package/static/admin/assets/profile-DruvkrZU.jpg +0 -0
- package/static/admin/assets/qq-D8j4O83Y.js +1 -0
- package/static/admin/assets/qq-D8j4O83Y.js.gz +0 -0
- package/static/admin/assets/question-CvYWQbyW.js +1 -0
- package/static/admin/assets/question-CvYWQbyW.js.gz +0 -0
- package/static/admin/assets/radio-B0t9wPBQ.js +1 -0
- package/static/admin/assets/radio-B0t9wPBQ.js.gz +0 -0
- package/static/admin/assets/rate-CgnHQvKS.js +1 -0
- package/static/admin/assets/rate-CgnHQvKS.js.gz +0 -0
- package/static/admin/assets/redis-D4ECyT6a.js +1 -0
- package/static/admin/assets/redis-D4ECyT6a.js.gz +0 -0
- package/static/admin/assets/redis-list-BtKGPnqO.js +1 -0
- package/static/admin/assets/redis-list-BtKGPnqO.js.gz +0 -0
- package/static/admin/assets/register-B9RmZvjt.js +1 -0
- package/static/admin/assets/register-B9RmZvjt.js.gz +0 -0
- package/static/admin/assets/register-n3u7gqca.css +1 -0
- package/static/admin/assets/resetPwd-M0EIDnQk.js +1 -0
- package/static/admin/assets/resetPwd-M0EIDnQk.js.gz +0 -0
- package/static/admin/assets/role-XbHkNxnW.js +1 -0
- package/static/admin/assets/role-XbHkNxnW.js.gz +0 -0
- package/static/admin/assets/row-CRXKIHjm.js +1 -0
- package/static/admin/assets/row-CRXKIHjm.js.gz +0 -0
- package/static/admin/assets/search-CUfclCsR.js +1 -0
- package/static/admin/assets/select-DhuHHMxz.js +1 -0
- package/static/admin/assets/select-DhuHHMxz.js.gz +0 -0
- package/static/admin/assets/selectUser-DA_rE9J_.js +1 -0
- package/static/admin/assets/selectUser-DA_rE9J_.js.gz +0 -0
- package/static/admin/assets/server-unS7EyF7.js +1 -0
- package/static/admin/assets/shopping-CU1IRvxM.js +1 -0
- package/static/admin/assets/shopping-CU1IRvxM.js.gz +0 -0
- package/static/admin/assets/size-Cj9fB5Rp.js +1 -0
- package/static/admin/assets/skill-B8f_I4m_.js +1 -0
- package/static/admin/assets/skill-B8f_I4m_.js.gz +0 -0
- package/static/admin/assets/slider-BGfehM6X.js +1 -0
- package/static/admin/assets/star-kST8a72V.js +1 -0
- package/static/admin/assets/store-CX7IRN8X.js +1 -0
- package/static/admin/assets/swagger-BHGXZ2Jt.js +1 -0
- package/static/admin/assets/swagger-BHGXZ2Jt.js.gz +0 -0
- package/static/admin/assets/switch-CvaargRJ.js +1 -0
- package/static/admin/assets/system-DcNSH_Fq.js +1 -0
- package/static/admin/assets/system-DcNSH_Fq.js.gz +0 -0
- package/static/admin/assets/tab-nA3f0aBt.js +1 -0
- package/static/admin/assets/table-5PRh60AQ.js +1 -0
- package/static/admin/assets/test-CEJIIaDM.js +1 -0
- package/static/admin/assets/test-CEJIIaDM.js.gz +0 -0
- package/static/admin/assets/textarea-CJWXlgbJ.js +1 -0
- package/static/admin/assets/theme-CyGq941x.js +1 -0
- package/static/admin/assets/time-BVERp0sU.js +1 -0
- package/static/admin/assets/time-BVERp0sU.js.gz +0 -0
- package/static/admin/assets/time-range-D3dxgtLj.js +1 -0
- package/static/admin/assets/time-range-D3dxgtLj.js.gz +0 -0
- package/static/admin/assets/tool-D8kXk1l-.js +1 -0
- package/static/admin/assets/tool-D8kXk1l-.js.gz +0 -0
- package/static/admin/assets/tree-BCtS3oPD.js +1 -0
- package/static/admin/assets/tree-BCtS3oPD.js.gz +0 -0
- package/static/admin/assets/tree-table-CnOS99I9.js +1 -0
- package/static/admin/assets/tree-table-CnOS99I9.js.gz +0 -0
- package/static/admin/assets/type-BU7MsCG8.js +1 -0
- package/static/admin/assets/upload-BueI-Il1.js +1 -0
- package/static/admin/assets/upload-BueI-Il1.js.gz +0 -0
- package/static/admin/assets/user-DCGYGA9G.js +1 -0
- package/static/admin/assets/user-DCGYGA9G.js.gz +0 -0
- package/static/admin/assets/user-DqMuW5cU.js +1 -0
- package/static/admin/assets/userAvatar-BAmwMY1G.css +1 -0
- package/static/admin/assets/userAvatar-BAmwMY1G.css.gz +0 -0
- package/static/admin/assets/userAvatar-Bax34kaQ.js +7 -0
- package/static/admin/assets/userAvatar-Bax34kaQ.js.gz +0 -0
- package/static/admin/assets/userInfo-OvdBjEQX.js +1 -0
- package/static/admin/assets/userInfo-OvdBjEQX.js.gz +0 -0
- package/static/admin/assets/validCode-COB1iLxa.js +1 -0
- package/static/admin/assets/validCode-COB1iLxa.js.gz +0 -0
- package/static/admin/assets/wechat-lmQOcPZu.js +1 -0
- package/static/admin/assets/wechat-lmQOcPZu.js.gz +0 -0
- package/static/admin/assets/zip-DIOSZc69.js +1 -0
- package/static/admin/assets/zip-DIOSZc69.js.gz +0 -0
- package/static/admin/favicon.ico +0 -0
- package/static/admin/index.html +216 -0
- package/static/admin/index.html.gz +0 -0
- package/store1/README.MD +0 -0
- package/store1/generic.mjs +102 -0
- package/store1/index.mjs +30 -0
- package/store1/monitor.mjs +13 -0
- package/store1/role.mjs +137 -0
- package/store1/store/0/data +0 -0
- package/store1/store/0/index +0 -0
- package/store1/store/0/index.mjs +15 -0
- package/store1/store/1/buffer/464135 +1 -0
- package/store1/store/1/buffer/464587 +1 -0
- package/store1/store/1/data +0 -0
- package/store1/store/1/data-LAPTOP-S8G0S6EH +0 -0
- package/store1/store/1/index +0 -0
- package/store1/store/1/index-LAPTOP-S8G0S6EH +0 -0
- package/store1/store/1/index.mjs +4045 -0
- package/store1/store/1/type.ts +1492 -0
- package/store1/store/index.mjs +23 -0
- package/store1/store2/0/data +0 -0
- package/store1/store2/0/index +0 -0
- package/store1/store2/0/index.mjs +15 -0
- package/store1/store2/1/buffer/464135 +1 -0
- package/store1/store2/1/buffer/464587 +1 -0
- package/store1/store2/1/data +0 -0
- package/store1/store2/1/data-LAPTOP-S8G0S6EH +0 -0
- package/store1/store2/1/index +0 -0
- package/store1/store2/1/index-LAPTOP-S8G0S6EH +0 -0
- package/store1/store2/1/index.mjs +4045 -0
- package/store1/store2/1/type.ts +1492 -0
- package/store1/store2/index.mjs +23 -0
- package/store1/system.mjs +67 -0
- package/store1/tool.mjs +472 -0
- package/store1/user.mjs +228 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
<template>
|
2
|
+
<section class="app-main">
|
3
|
+
<router-view v-slot="{ Component, route }">
|
4
|
+
<transition name="fade-transform" mode="out-in">
|
5
|
+
<keep-alive :include="tagsViewStore.cachedViews">
|
6
|
+
<component v-if="!route.meta.link" :is="Component" :key="route.path"/>
|
7
|
+
</keep-alive>
|
8
|
+
</transition>
|
9
|
+
</router-view>
|
10
|
+
<iframe-toggle />
|
11
|
+
</section>
|
12
|
+
</template>
|
13
|
+
|
14
|
+
<script setup>
|
15
|
+
import iframeToggle from "./IframeToggle/index"
|
16
|
+
import useTagsViewStore from '@/store/modules/tagsView'
|
17
|
+
|
18
|
+
const tagsViewStore = useTagsViewStore()
|
19
|
+
</script>
|
20
|
+
|
21
|
+
<style lang="scss" scoped>
|
22
|
+
.app-main {
|
23
|
+
/* 50= navbar 50 */
|
24
|
+
min-height: calc(100vh - 50px);
|
25
|
+
width: 100%;
|
26
|
+
position: relative;
|
27
|
+
overflow: hidden;
|
28
|
+
}
|
29
|
+
|
30
|
+
.fixed-header + .app-main {
|
31
|
+
padding-top: 50px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.hasTagsView {
|
35
|
+
.app-main {
|
36
|
+
/* 84 = navbar + tags-view = 50 + 34 */
|
37
|
+
min-height: calc(100vh - 84px);
|
38
|
+
}
|
39
|
+
|
40
|
+
.fixed-header + .app-main {
|
41
|
+
padding-top: 84px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
</style>
|
45
|
+
|
46
|
+
<style lang="scss">
|
47
|
+
// fix css style bug in open el-dialog
|
48
|
+
.el-popup-parent--hidden {
|
49
|
+
.fixed-header {
|
50
|
+
padding-right: 6px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
::-webkit-scrollbar {
|
55
|
+
width: 6px;
|
56
|
+
height: 6px;
|
57
|
+
}
|
58
|
+
|
59
|
+
::-webkit-scrollbar-track {
|
60
|
+
background-color: #f1f1f1;
|
61
|
+
}
|
62
|
+
|
63
|
+
::-webkit-scrollbar-thumb {
|
64
|
+
background-color: #c0c0c0;
|
65
|
+
border-radius: 3px;
|
66
|
+
}
|
67
|
+
</style>
|
68
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<template>
|
2
|
+
<inner-link
|
3
|
+
v-for="(item, index) in tagsViewStore.iframeViews"
|
4
|
+
:key="item.path"
|
5
|
+
:iframeId="'iframe' + index"
|
6
|
+
v-show="route.path === item.path"
|
7
|
+
:src="iframeUrl(item.meta.link, item.query)"
|
8
|
+
></inner-link>
|
9
|
+
</template>
|
10
|
+
|
11
|
+
<script setup>
|
12
|
+
import InnerLink from "../InnerLink/index";
|
13
|
+
import useTagsViewStore from "@/store/modules/tagsView";
|
14
|
+
|
15
|
+
const route = useRoute();
|
16
|
+
const tagsViewStore = useTagsViewStore();
|
17
|
+
|
18
|
+
function iframeUrl(url, query) {
|
19
|
+
if (Object.keys(query).length > 0) {
|
20
|
+
let params = Object.keys(query).map((key) => key + "=" + query[key]).join("&");
|
21
|
+
return url + "?" + params;
|
22
|
+
}
|
23
|
+
return url;
|
24
|
+
}
|
25
|
+
</script>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<template>
|
2
|
+
<div :style="'height:' + height">
|
3
|
+
<iframe
|
4
|
+
:id="iframeId"
|
5
|
+
style="width: 100%; height: 100%"
|
6
|
+
:src="src"
|
7
|
+
frameborder="no"
|
8
|
+
></iframe>
|
9
|
+
</div>
|
10
|
+
</template>
|
11
|
+
|
12
|
+
<script setup>
|
13
|
+
const props = defineProps({
|
14
|
+
src: {
|
15
|
+
type: String,
|
16
|
+
default: "/"
|
17
|
+
},
|
18
|
+
iframeId: {
|
19
|
+
type: String
|
20
|
+
}
|
21
|
+
});
|
22
|
+
|
23
|
+
const height = ref(document.documentElement.clientHeight - 94.5 + "px");
|
24
|
+
</script>
|
@@ -0,0 +1,191 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="navbar">
|
3
|
+
<hamburger id="hamburger-container" :is-active="appStore.sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
4
|
+
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!settingsStore.topNav" />
|
5
|
+
<top-nav id="topmenu-container" class="topmenu-container" v-if="settingsStore.topNav" />
|
6
|
+
|
7
|
+
<div class="right-menu">
|
8
|
+
<template v-if="appStore.device !== 'mobile'">
|
9
|
+
<header-search id="header-search" class="right-menu-item" />
|
10
|
+
|
11
|
+
<el-tooltip content="源码地址" effect="dark" placement="bottom">
|
12
|
+
<ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
|
13
|
+
</el-tooltip>
|
14
|
+
|
15
|
+
<el-tooltip content="文档地址" effect="dark" placement="bottom">
|
16
|
+
<ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
|
17
|
+
</el-tooltip>
|
18
|
+
|
19
|
+
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
20
|
+
|
21
|
+
<el-tooltip content="布局大小" effect="dark" placement="bottom">
|
22
|
+
<size-select id="size-select" class="right-menu-item hover-effect" />
|
23
|
+
</el-tooltip>
|
24
|
+
</template>
|
25
|
+
<div class="avatar-container">
|
26
|
+
<el-dropdown @command="handleCommand" class="right-menu-item hover-effect" trigger="click">
|
27
|
+
<div class="avatar-wrapper">
|
28
|
+
<img :src="userStore.avatar" class="user-avatar" />
|
29
|
+
<el-icon><caret-bottom /></el-icon>
|
30
|
+
</div>
|
31
|
+
<template #dropdown>
|
32
|
+
<el-dropdown-menu>
|
33
|
+
<router-link to="/user/profile">
|
34
|
+
<el-dropdown-item>个人中心</el-dropdown-item>
|
35
|
+
</router-link>
|
36
|
+
<el-dropdown-item command="setLayout" v-if="settingsStore.showSettings">
|
37
|
+
<span>布局设置</span>
|
38
|
+
</el-dropdown-item>
|
39
|
+
<el-dropdown-item divided command="logout">
|
40
|
+
<span>退出登录</span>
|
41
|
+
</el-dropdown-item>
|
42
|
+
</el-dropdown-menu>
|
43
|
+
</template>
|
44
|
+
</el-dropdown>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
</template>
|
49
|
+
|
50
|
+
<script setup>
|
51
|
+
import { ElMessageBox } from 'element-plus'
|
52
|
+
import Breadcrumb from '@/components/Breadcrumb'
|
53
|
+
import TopNav from '@/components/TopNav'
|
54
|
+
import Hamburger from '@/components/Hamburger'
|
55
|
+
import Screenfull from '@/components/Screenfull'
|
56
|
+
import SizeSelect from '@/components/SizeSelect'
|
57
|
+
import HeaderSearch from '@/components/HeaderSearch'
|
58
|
+
import RuoYiGit from '@/components/RuoYi/Git'
|
59
|
+
import RuoYiDoc from '@/components/RuoYi/Doc'
|
60
|
+
import useAppStore from '@/store/modules/app'
|
61
|
+
import useUserStore from '@/store/modules/user'
|
62
|
+
import useSettingsStore from '@/store/modules/settings'
|
63
|
+
|
64
|
+
const appStore = useAppStore()
|
65
|
+
const userStore = useUserStore()
|
66
|
+
const settingsStore = useSettingsStore()
|
67
|
+
|
68
|
+
function toggleSideBar() {
|
69
|
+
appStore.toggleSideBar()
|
70
|
+
}
|
71
|
+
|
72
|
+
function handleCommand(command) {
|
73
|
+
switch (command) {
|
74
|
+
case "setLayout":
|
75
|
+
setLayout();
|
76
|
+
break;
|
77
|
+
case "logout":
|
78
|
+
logout();
|
79
|
+
break;
|
80
|
+
default:
|
81
|
+
break;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
function logout() {
|
86
|
+
ElMessageBox.confirm('确定注销并退出系统吗?', '提示', {
|
87
|
+
confirmButtonText: '确定',
|
88
|
+
cancelButtonText: '取消',
|
89
|
+
type: 'warning'
|
90
|
+
}).then(() => {
|
91
|
+
userStore.logOut().then(() => {
|
92
|
+
location.href = '/index';
|
93
|
+
})
|
94
|
+
}).catch(() => { });
|
95
|
+
}
|
96
|
+
|
97
|
+
const emits = defineEmits(['setLayout'])
|
98
|
+
function setLayout() {
|
99
|
+
emits('setLayout');
|
100
|
+
}
|
101
|
+
</script>
|
102
|
+
|
103
|
+
<style lang='scss' scoped>
|
104
|
+
.navbar {
|
105
|
+
height: 50px;
|
106
|
+
overflow: hidden;
|
107
|
+
position: relative;
|
108
|
+
background: #fff;
|
109
|
+
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
110
|
+
|
111
|
+
.hamburger-container {
|
112
|
+
line-height: 46px;
|
113
|
+
height: 100%;
|
114
|
+
float: left;
|
115
|
+
cursor: pointer;
|
116
|
+
transition: background 0.3s;
|
117
|
+
-webkit-tap-highlight-color: transparent;
|
118
|
+
|
119
|
+
&:hover {
|
120
|
+
background: rgba(0, 0, 0, 0.025);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
.breadcrumb-container {
|
125
|
+
float: left;
|
126
|
+
}
|
127
|
+
|
128
|
+
.topmenu-container {
|
129
|
+
position: absolute;
|
130
|
+
left: 50px;
|
131
|
+
}
|
132
|
+
|
133
|
+
.errLog-container {
|
134
|
+
display: inline-block;
|
135
|
+
vertical-align: top;
|
136
|
+
}
|
137
|
+
|
138
|
+
.right-menu {
|
139
|
+
float: right;
|
140
|
+
height: 100%;
|
141
|
+
line-height: 50px;
|
142
|
+
display: flex;
|
143
|
+
|
144
|
+
&:focus {
|
145
|
+
outline: none;
|
146
|
+
}
|
147
|
+
|
148
|
+
.right-menu-item {
|
149
|
+
display: inline-block;
|
150
|
+
padding: 0 8px;
|
151
|
+
height: 100%;
|
152
|
+
font-size: 18px;
|
153
|
+
color: #5a5e66;
|
154
|
+
vertical-align: text-bottom;
|
155
|
+
|
156
|
+
&.hover-effect {
|
157
|
+
cursor: pointer;
|
158
|
+
transition: background 0.3s;
|
159
|
+
|
160
|
+
&:hover {
|
161
|
+
background: rgba(0, 0, 0, 0.025);
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
.avatar-container {
|
167
|
+
margin-right: 40px;
|
168
|
+
|
169
|
+
.avatar-wrapper {
|
170
|
+
margin-top: 5px;
|
171
|
+
position: relative;
|
172
|
+
|
173
|
+
.user-avatar {
|
174
|
+
cursor: pointer;
|
175
|
+
width: 40px;
|
176
|
+
height: 40px;
|
177
|
+
border-radius: 10px;
|
178
|
+
}
|
179
|
+
|
180
|
+
i {
|
181
|
+
cursor: pointer;
|
182
|
+
position: absolute;
|
183
|
+
right: -20px;
|
184
|
+
top: 25px;
|
185
|
+
font-size: 12px;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
</style>
|
@@ -0,0 +1,209 @@
|
|
1
|
+
<template>
|
2
|
+
<el-drawer v-model="showSettings" :withHeader="false" direction="rtl" size="300px">
|
3
|
+
<div class="setting-drawer-title">
|
4
|
+
<h3 class="drawer-title">主题风格设置</h3>
|
5
|
+
</div>
|
6
|
+
<div class="setting-drawer-block-checbox">
|
7
|
+
<div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-dark')">
|
8
|
+
<img src="@/assets/images/dark.svg" alt="dark" />
|
9
|
+
<div v-if="sideTheme === 'theme-dark'" class="setting-drawer-block-checbox-selectIcon" style="display: block;">
|
10
|
+
<i aria-label="图标: check" class="anticon anticon-check">
|
11
|
+
<svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class>
|
12
|
+
<path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" />
|
13
|
+
</svg>
|
14
|
+
</i>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-light')">
|
18
|
+
<img src="@/assets/images/light.svg" alt="light" />
|
19
|
+
<div v-if="sideTheme === 'theme-light'" class="setting-drawer-block-checbox-selectIcon" style="display: block;">
|
20
|
+
<i aria-label="图标: check" class="anticon anticon-check">
|
21
|
+
<svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class>
|
22
|
+
<path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" />
|
23
|
+
</svg>
|
24
|
+
</i>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="drawer-item">
|
29
|
+
<span>主题颜色</span>
|
30
|
+
<span class="comp-style">
|
31
|
+
<el-color-picker v-model="theme" :predefine="predefineColors" @change="themeChange"/>
|
32
|
+
</span>
|
33
|
+
</div>
|
34
|
+
<el-divider />
|
35
|
+
|
36
|
+
<h3 class="drawer-title">系统布局配置</h3>
|
37
|
+
|
38
|
+
<div class="drawer-item">
|
39
|
+
<span>开启 TopNav</span>
|
40
|
+
<span class="comp-style">
|
41
|
+
<el-switch v-model="settingsStore.topNav" @change="topNavChange" class="drawer-switch" />
|
42
|
+
</span>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div class="drawer-item">
|
46
|
+
<span>开启 Tags-Views</span>
|
47
|
+
<span class="comp-style">
|
48
|
+
<el-switch v-model="settingsStore.tagsView" class="drawer-switch" />
|
49
|
+
</span>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
<div class="drawer-item">
|
53
|
+
<span>固定 Header</span>
|
54
|
+
<span class="comp-style">
|
55
|
+
<el-switch v-model="settingsStore.fixedHeader" class="drawer-switch" />
|
56
|
+
</span>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div class="drawer-item">
|
60
|
+
<span>显示 Logo</span>
|
61
|
+
<span class="comp-style">
|
62
|
+
<el-switch v-model="settingsStore.sidebarLogo" class="drawer-switch" />
|
63
|
+
</span>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<div class="drawer-item">
|
67
|
+
<span>动态标题</span>
|
68
|
+
<span class="comp-style">
|
69
|
+
<el-switch v-model="settingsStore.dynamicTitle" class="drawer-switch" />
|
70
|
+
</span>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<el-divider />
|
74
|
+
|
75
|
+
<el-button type="primary" plain icon="DocumentAdd" @click="saveSetting">保存配置</el-button>
|
76
|
+
<el-button plain icon="Refresh" @click="resetSetting">重置配置</el-button>
|
77
|
+
</el-drawer>
|
78
|
+
|
79
|
+
</template>
|
80
|
+
|
81
|
+
<script setup>
|
82
|
+
import variables from '@/assets/styles/variables.module.scss'
|
83
|
+
import axios from 'axios'
|
84
|
+
import { ElLoading, ElMessage } from 'element-plus'
|
85
|
+
import { useDynamicTitle } from '@/utils/dynamicTitle'
|
86
|
+
import useAppStore from '@/store/modules/app'
|
87
|
+
import useSettingsStore from '@/store/modules/settings'
|
88
|
+
import usePermissionStore from '@/store/modules/permission'
|
89
|
+
import { handleThemeStyle } from '@/utils/theme'
|
90
|
+
|
91
|
+
const { proxy } = getCurrentInstance();
|
92
|
+
const appStore = useAppStore()
|
93
|
+
const settingsStore = useSettingsStore()
|
94
|
+
const permissionStore = usePermissionStore()
|
95
|
+
const showSettings = ref(false);
|
96
|
+
const theme = ref(settingsStore.theme);
|
97
|
+
const sideTheme = ref(settingsStore.sideTheme);
|
98
|
+
const storeSettings = computed(() => settingsStore);
|
99
|
+
const predefineColors = ref(["#409EFF", "#ff4500", "#ff8c00", "#ffd700", "#90ee90", "#00ced1", "#1e90ff", "#c71585"]);
|
100
|
+
|
101
|
+
/** 是否需要topnav */
|
102
|
+
function topNavChange(val) {
|
103
|
+
if (!val) {
|
104
|
+
appStore.toggleSideBarHide(false);
|
105
|
+
permissionStore.setSidebarRouters(permissionStore.defaultRoutes);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
function themeChange(val) {
|
110
|
+
settingsStore.theme = val;
|
111
|
+
handleThemeStyle(val);
|
112
|
+
}
|
113
|
+
|
114
|
+
function handleTheme(val) {
|
115
|
+
settingsStore.sideTheme = val;
|
116
|
+
sideTheme.value = val;
|
117
|
+
}
|
118
|
+
|
119
|
+
function saveSetting() {
|
120
|
+
proxy.$modal.loading("正在保存到本地,请稍候...");
|
121
|
+
let layoutSetting = {
|
122
|
+
"topNav": storeSettings.value.topNav,
|
123
|
+
"tagsView": storeSettings.value.tagsView,
|
124
|
+
"fixedHeader": storeSettings.value.fixedHeader,
|
125
|
+
"sidebarLogo": storeSettings.value.sidebarLogo,
|
126
|
+
"dynamicTitle": storeSettings.value.dynamicTitle,
|
127
|
+
"sideTheme": storeSettings.value.sideTheme,
|
128
|
+
"theme": storeSettings.value.theme
|
129
|
+
};
|
130
|
+
localStorage.setItem("layout-setting", JSON.stringify(layoutSetting));
|
131
|
+
setTimeout(proxy.$modal.closeLoading(), 1000)
|
132
|
+
}
|
133
|
+
|
134
|
+
function resetSetting() {
|
135
|
+
proxy.$modal.loading("正在清除设置缓存并刷新,请稍候...");
|
136
|
+
localStorage.removeItem("layout-setting")
|
137
|
+
setTimeout("window.location.reload()", 1000)
|
138
|
+
}
|
139
|
+
|
140
|
+
function openSetting() {
|
141
|
+
showSettings.value = true;
|
142
|
+
}
|
143
|
+
|
144
|
+
defineExpose({
|
145
|
+
openSetting,
|
146
|
+
})
|
147
|
+
</script>
|
148
|
+
|
149
|
+
<style lang='scss' scoped>
|
150
|
+
.setting-drawer-title {
|
151
|
+
margin-bottom: 12px;
|
152
|
+
color: rgba(0, 0, 0, 0.85);
|
153
|
+
line-height: 22px;
|
154
|
+
font-weight: bold;
|
155
|
+
.drawer-title {
|
156
|
+
font-size: 14px;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
.setting-drawer-block-checbox {
|
160
|
+
display: flex;
|
161
|
+
justify-content: flex-start;
|
162
|
+
align-items: center;
|
163
|
+
margin-top: 10px;
|
164
|
+
margin-bottom: 20px;
|
165
|
+
|
166
|
+
.setting-drawer-block-checbox-item {
|
167
|
+
position: relative;
|
168
|
+
margin-right: 16px;
|
169
|
+
border-radius: 2px;
|
170
|
+
cursor: pointer;
|
171
|
+
|
172
|
+
img {
|
173
|
+
width: 48px;
|
174
|
+
height: 48px;
|
175
|
+
}
|
176
|
+
|
177
|
+
.custom-img {
|
178
|
+
width: 48px;
|
179
|
+
height: 38px;
|
180
|
+
border-radius: 5px;
|
181
|
+
box-shadow: 1px 1px 2px #898484;
|
182
|
+
}
|
183
|
+
|
184
|
+
.setting-drawer-block-checbox-selectIcon {
|
185
|
+
position: absolute;
|
186
|
+
top: 0;
|
187
|
+
right: 0;
|
188
|
+
width: 100%;
|
189
|
+
height: 100%;
|
190
|
+
padding-top: 15px;
|
191
|
+
padding-left: 24px;
|
192
|
+
color: #1890ff;
|
193
|
+
font-weight: 700;
|
194
|
+
font-size: 14px;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.drawer-item {
|
200
|
+
color: rgba(0, 0, 0, 0.65);
|
201
|
+
padding: 12px 0;
|
202
|
+
font-size: 14px;
|
203
|
+
|
204
|
+
.comp-style {
|
205
|
+
float: right;
|
206
|
+
margin: -3px 8px 0px 0px;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
</style>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<template>
|
2
|
+
<component :is="type" v-bind="linkProps()">
|
3
|
+
<slot />
|
4
|
+
</component>
|
5
|
+
</template>
|
6
|
+
|
7
|
+
<script setup>
|
8
|
+
import { isExternal } from '@/utils/validate'
|
9
|
+
|
10
|
+
const props = defineProps({
|
11
|
+
to: {
|
12
|
+
type: [String, Object],
|
13
|
+
required: true
|
14
|
+
}
|
15
|
+
})
|
16
|
+
|
17
|
+
const isExt = computed(() => {
|
18
|
+
return isExternal(props.to)
|
19
|
+
})
|
20
|
+
|
21
|
+
const type = computed(() => {
|
22
|
+
if (isExt.value) {
|
23
|
+
return 'a'
|
24
|
+
}
|
25
|
+
return 'router-link'
|
26
|
+
})
|
27
|
+
|
28
|
+
function linkProps() {
|
29
|
+
if (isExt.value) {
|
30
|
+
return {
|
31
|
+
href: props.to,
|
32
|
+
target: '_blank',
|
33
|
+
rel: 'noopener'
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
to: props.to
|
38
|
+
}
|
39
|
+
}
|
40
|
+
</script>
|
@@ -0,0 +1,81 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="sidebar-logo-container" :class="{ 'collapse': collapse }" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
|
3
|
+
<transition name="sidebarLogoFade">
|
4
|
+
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
|
5
|
+
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
6
|
+
<h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1>
|
7
|
+
</router-link>
|
8
|
+
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
|
9
|
+
<img v-if="logo" :src="logo" class="sidebar-logo" />
|
10
|
+
<h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }}</h1>
|
11
|
+
</router-link>
|
12
|
+
</transition>
|
13
|
+
</div>
|
14
|
+
</template>
|
15
|
+
|
16
|
+
<script setup>
|
17
|
+
import variables from '@/assets/styles/variables.module.scss'
|
18
|
+
import logo from '@/assets/logo/logo.png'
|
19
|
+
import useSettingsStore from '@/store/modules/settings'
|
20
|
+
|
21
|
+
defineProps({
|
22
|
+
collapse: {
|
23
|
+
type: Boolean,
|
24
|
+
required: true
|
25
|
+
}
|
26
|
+
})
|
27
|
+
|
28
|
+
const title = import.meta.env.VITE_APP_TITLE;
|
29
|
+
const settingsStore = useSettingsStore();
|
30
|
+
const sideTheme = computed(() => settingsStore.sideTheme);
|
31
|
+
</script>
|
32
|
+
|
33
|
+
<style lang="scss" scoped>
|
34
|
+
.sidebarLogoFade-enter-active {
|
35
|
+
transition: opacity 1.5s;
|
36
|
+
}
|
37
|
+
|
38
|
+
.sidebarLogoFade-enter,
|
39
|
+
.sidebarLogoFade-leave-to {
|
40
|
+
opacity: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.sidebar-logo-container {
|
44
|
+
position: relative;
|
45
|
+
width: 100%;
|
46
|
+
height: 50px;
|
47
|
+
line-height: 50px;
|
48
|
+
background: #2b2f3a;
|
49
|
+
text-align: center;
|
50
|
+
overflow: hidden;
|
51
|
+
|
52
|
+
& .sidebar-logo-link {
|
53
|
+
height: 100%;
|
54
|
+
width: 100%;
|
55
|
+
|
56
|
+
& .sidebar-logo {
|
57
|
+
width: 32px;
|
58
|
+
height: 32px;
|
59
|
+
vertical-align: middle;
|
60
|
+
margin-right: 12px;
|
61
|
+
}
|
62
|
+
|
63
|
+
& .sidebar-title {
|
64
|
+
display: inline-block;
|
65
|
+
margin: 0;
|
66
|
+
color: #fff;
|
67
|
+
font-weight: 600;
|
68
|
+
line-height: 50px;
|
69
|
+
font-size: 14px;
|
70
|
+
font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
|
71
|
+
vertical-align: middle;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
&.collapse {
|
76
|
+
.sidebar-logo {
|
77
|
+
margin-right: 0px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
</style>
|