@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,200 @@
|
|
1
|
+
<template>
|
2
|
+
<el-card>
|
3
|
+
<el-tabs v-model="activeName">
|
4
|
+
<el-tab-pane label="基本信息" name="basic">
|
5
|
+
<basic-info-form ref="basicInfo" :info="info" />
|
6
|
+
</el-tab-pane>
|
7
|
+
<el-tab-pane label="字段信息" name="columnInfo">
|
8
|
+
<el-table ref="dragTable" :data="columns" row-key="columnId" :max-height="tableHeight">
|
9
|
+
<el-table-column label="序号" type="index" min-width="5%"/>
|
10
|
+
<el-table-column
|
11
|
+
label="字段列名"
|
12
|
+
prop="columnName"
|
13
|
+
min-width="10%"
|
14
|
+
:show-overflow-tooltip="true"
|
15
|
+
/>
|
16
|
+
<el-table-column label="字段描述" min-width="10%">
|
17
|
+
<template #default="scope">
|
18
|
+
<el-input v-model="scope.row.columnComment"></el-input>
|
19
|
+
</template>
|
20
|
+
</el-table-column>
|
21
|
+
<el-table-column
|
22
|
+
label="物理类型"
|
23
|
+
prop="columnType"
|
24
|
+
min-width="10%"
|
25
|
+
:show-overflow-tooltip="true"
|
26
|
+
/>
|
27
|
+
<el-table-column label="Java类型" min-width="11%">
|
28
|
+
<template #default="scope">
|
29
|
+
<el-select v-model="scope.row.javaType">
|
30
|
+
<el-option label="Long" value="Long" />
|
31
|
+
<el-option label="String" value="String" />
|
32
|
+
<el-option label="Integer" value="Integer" />
|
33
|
+
<el-option label="Double" value="Double" />
|
34
|
+
<el-option label="BigDecimal" value="BigDecimal" />
|
35
|
+
<el-option label="Date" value="Date" />
|
36
|
+
<el-option label="Boolean" value="Boolean" />
|
37
|
+
</el-select>
|
38
|
+
</template>
|
39
|
+
</el-table-column>
|
40
|
+
<el-table-column label="java属性" min-width="10%">
|
41
|
+
<template #default="scope">
|
42
|
+
<el-input v-model="scope.row.javaField"></el-input>
|
43
|
+
</template>
|
44
|
+
</el-table-column>
|
45
|
+
|
46
|
+
<el-table-column label="插入" min-width="5%">
|
47
|
+
<template #default="scope">
|
48
|
+
<el-checkbox true-label="1" false-label="0" v-model="scope.row.isInsert"></el-checkbox>
|
49
|
+
</template>
|
50
|
+
</el-table-column>
|
51
|
+
<el-table-column label="编辑" min-width="5%">
|
52
|
+
<template #default="scope">
|
53
|
+
<el-checkbox true-label="1" false-label="0" v-model="scope.row.isEdit"></el-checkbox>
|
54
|
+
</template>
|
55
|
+
</el-table-column>
|
56
|
+
<el-table-column label="列表" min-width="5%">
|
57
|
+
<template #default="scope">
|
58
|
+
<el-checkbox true-label="1" false-label="0" v-model="scope.row.isList"></el-checkbox>
|
59
|
+
</template>
|
60
|
+
</el-table-column>
|
61
|
+
<el-table-column label="查询" min-width="5%">
|
62
|
+
<template #default="scope">
|
63
|
+
<el-checkbox true-label="1" false-label="0" v-model="scope.row.isQuery"></el-checkbox>
|
64
|
+
</template>
|
65
|
+
</el-table-column>
|
66
|
+
<el-table-column label="查询方式" min-width="10%">
|
67
|
+
<template #default="scope">
|
68
|
+
<el-select v-model="scope.row.queryType">
|
69
|
+
<el-option label="=" value="EQ" />
|
70
|
+
<el-option label="!=" value="NE" />
|
71
|
+
<el-option label=">" value="GT" />
|
72
|
+
<el-option label=">=" value="GTE" />
|
73
|
+
<el-option label="<" value="LT" />
|
74
|
+
<el-option label="<=" value="LTE" />
|
75
|
+
<el-option label="LIKE" value="LIKE" />
|
76
|
+
<el-option label="BETWEEN" value="BETWEEN" />
|
77
|
+
</el-select>
|
78
|
+
</template>
|
79
|
+
</el-table-column>
|
80
|
+
<el-table-column label="必填" min-width="5%">
|
81
|
+
<template #default="scope">
|
82
|
+
<el-checkbox true-label="1" false-label="0" v-model="scope.row.isRequired"></el-checkbox>
|
83
|
+
</template>
|
84
|
+
</el-table-column>
|
85
|
+
<el-table-column label="显示类型" min-width="12%">
|
86
|
+
<template #default="scope">
|
87
|
+
<el-select v-model="scope.row.htmlType">
|
88
|
+
<el-option label="文本框" value="input" />
|
89
|
+
<el-option label="文本域" value="textarea" />
|
90
|
+
<el-option label="下拉框" value="select" />
|
91
|
+
<el-option label="单选框" value="radio" />
|
92
|
+
<el-option label="复选框" value="checkbox" />
|
93
|
+
<el-option label="日期控件" value="datetime" />
|
94
|
+
<el-option label="图片上传" value="imageUpload" />
|
95
|
+
<el-option label="文件上传" value="fileUpload" />
|
96
|
+
<el-option label="富文本控件" value="editor" />
|
97
|
+
</el-select>
|
98
|
+
</template>
|
99
|
+
</el-table-column>
|
100
|
+
<el-table-column label="字典类型" min-width="12%">
|
101
|
+
<template #default="scope">
|
102
|
+
<el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择">
|
103
|
+
<el-option
|
104
|
+
v-for="dict in dictOptions"
|
105
|
+
:key="dict.dictType"
|
106
|
+
:label="dict.dictName"
|
107
|
+
:value="dict.dictType">
|
108
|
+
<span style="float: left">{{ dict.dictName }}</span>
|
109
|
+
<span style="float: right; color: #8492a6; font-size: 13px">{{ dict.dictType }}</span>
|
110
|
+
</el-option>
|
111
|
+
</el-select>
|
112
|
+
</template>
|
113
|
+
</el-table-column>
|
114
|
+
</el-table>
|
115
|
+
</el-tab-pane>
|
116
|
+
<el-tab-pane label="生成信息" name="genInfo">
|
117
|
+
<gen-info-form ref="genInfo" :info="info" :tables="tables" />
|
118
|
+
</el-tab-pane>
|
119
|
+
</el-tabs>
|
120
|
+
<el-form label-width="100px">
|
121
|
+
<div style="text-align: center;margin-left:-100px;margin-top:10px;">
|
122
|
+
<el-button type="primary" @click="submitForm()">提交</el-button>
|
123
|
+
<el-button @click="close()">返回</el-button>
|
124
|
+
</div>
|
125
|
+
</el-form>
|
126
|
+
</el-card>
|
127
|
+
</template>
|
128
|
+
|
129
|
+
<script setup name="GenEdit">
|
130
|
+
import { getGenTable, updateGenTable } from "@/api/tool/gen";
|
131
|
+
import { optionselect as getDictOptionselect } from "@/api/system/dict/type";
|
132
|
+
import basicInfoForm from "./basicInfoForm";
|
133
|
+
import genInfoForm from "./genInfoForm";
|
134
|
+
|
135
|
+
const route = useRoute();
|
136
|
+
const { proxy } = getCurrentInstance();
|
137
|
+
|
138
|
+
const activeName = ref("columnInfo");
|
139
|
+
const tableHeight = ref(document.documentElement.scrollHeight - 245 + "px");
|
140
|
+
const tables = ref([]);
|
141
|
+
const columns = ref([]);
|
142
|
+
const dictOptions = ref([]);
|
143
|
+
const info = ref({});
|
144
|
+
|
145
|
+
/** 提交按钮 */
|
146
|
+
function submitForm() {
|
147
|
+
const basicForm = proxy.$refs.basicInfo.$refs.basicInfoForm;
|
148
|
+
const genForm = proxy.$refs.genInfo.$refs.genInfoForm;
|
149
|
+
Promise.all([basicForm, genForm].map(getFormPromise)).then(res => {
|
150
|
+
const validateResult = res.every(item => !!item);
|
151
|
+
if (validateResult) {
|
152
|
+
const genTable = Object.assign({}, info.value);
|
153
|
+
genTable.columns = columns.value;
|
154
|
+
genTable.params = {
|
155
|
+
treeCode: info.value.treeCode,
|
156
|
+
treeName: info.value.treeName,
|
157
|
+
treeParentCode: info.value.treeParentCode,
|
158
|
+
parentMenuId: info.value.parentMenuId
|
159
|
+
};
|
160
|
+
updateGenTable(genTable).then(res => {
|
161
|
+
proxy.$modal.msgSuccess(res.msg);
|
162
|
+
if (res.code === 200) {
|
163
|
+
close();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
} else {
|
167
|
+
proxy.$modal.msgError("表单校验未通过,请重新检查提交内容");
|
168
|
+
}
|
169
|
+
});
|
170
|
+
}
|
171
|
+
|
172
|
+
function getFormPromise(form) {
|
173
|
+
return new Promise(resolve => {
|
174
|
+
form.validate(res => {
|
175
|
+
resolve(res);
|
176
|
+
});
|
177
|
+
});
|
178
|
+
}
|
179
|
+
|
180
|
+
function close() {
|
181
|
+
const obj = { path: "/tool/gen", query: { t: Date.now(), pageNum: route.query.pageNum } };
|
182
|
+
proxy.$tab.closeOpenPage(obj);
|
183
|
+
}
|
184
|
+
|
185
|
+
(() => {
|
186
|
+
const tableId = route.params && route.params.tableId;
|
187
|
+
if (tableId) {
|
188
|
+
// 获取表详细信息
|
189
|
+
getGenTable(tableId).then(res => {
|
190
|
+
columns.value = res.data.rows;
|
191
|
+
info.value = res.data.info;
|
192
|
+
tables.value = res.data.tables;
|
193
|
+
});
|
194
|
+
/** 查询字典下拉列表 */
|
195
|
+
getDictOptionselect().then(response => {
|
196
|
+
dictOptions.value = response.data;
|
197
|
+
});
|
198
|
+
}
|
199
|
+
})();
|
200
|
+
</script>
|
@@ -0,0 +1,306 @@
|
|
1
|
+
<template>
|
2
|
+
<el-form ref="genInfoForm" :model="info" :rules="rules" label-width="150px">
|
3
|
+
<el-row>
|
4
|
+
<el-col :span="12">
|
5
|
+
<el-form-item prop="tplCategory">
|
6
|
+
<template #label>生成模板</template>
|
7
|
+
<el-select v-model="info.tplCategory" @change="tplSelectChange">
|
8
|
+
<el-option label="单表(增删改查)" value="crud" />
|
9
|
+
<el-option label="树表(增删改查)" value="tree" />
|
10
|
+
<el-option label="主子表(增删改查)" value="sub" />
|
11
|
+
</el-select>
|
12
|
+
</el-form-item>
|
13
|
+
</el-col>
|
14
|
+
|
15
|
+
<el-col :span="12">
|
16
|
+
<el-form-item prop="tplWebType">
|
17
|
+
<template #label>前端类型</template>
|
18
|
+
<el-select v-model="info.tplWebType">
|
19
|
+
<el-option label="Vue2 Element UI 模版" value="element-ui" />
|
20
|
+
<el-option label="Vue3 Element Plus 模版" value="element-plus" />
|
21
|
+
</el-select>
|
22
|
+
</el-form-item>
|
23
|
+
</el-col>
|
24
|
+
|
25
|
+
<el-col :span="12">
|
26
|
+
<el-form-item prop="packageName">
|
27
|
+
<template #label>
|
28
|
+
生成包路径
|
29
|
+
<el-tooltip content="生成在哪个java包下,例如 com.ruoyi.system" placement="top">
|
30
|
+
<el-icon><question-filled /></el-icon>
|
31
|
+
</el-tooltip>
|
32
|
+
</template>
|
33
|
+
<el-input v-model="info.packageName" />
|
34
|
+
</el-form-item>
|
35
|
+
</el-col>
|
36
|
+
|
37
|
+
<el-col :span="12">
|
38
|
+
<el-form-item prop="moduleName">
|
39
|
+
<template #label>
|
40
|
+
生成模块名
|
41
|
+
<el-tooltip content="可理解为子系统名,例如 system" placement="top">
|
42
|
+
<el-icon><question-filled /></el-icon>
|
43
|
+
</el-tooltip>
|
44
|
+
</template>
|
45
|
+
<el-input v-model="info.moduleName" />
|
46
|
+
</el-form-item>
|
47
|
+
</el-col>
|
48
|
+
|
49
|
+
<el-col :span="12">
|
50
|
+
<el-form-item prop="businessName">
|
51
|
+
<template #label>
|
52
|
+
生成业务名
|
53
|
+
<el-tooltip content="可理解为功能英文名,例如 user" placement="top">
|
54
|
+
<el-icon><question-filled /></el-icon>
|
55
|
+
</el-tooltip>
|
56
|
+
</template>
|
57
|
+
<el-input v-model="info.businessName" />
|
58
|
+
</el-form-item>
|
59
|
+
</el-col>
|
60
|
+
|
61
|
+
<el-col :span="12">
|
62
|
+
<el-form-item prop="functionName">
|
63
|
+
<template #label>
|
64
|
+
生成功能名
|
65
|
+
<el-tooltip content="用作类描述,例如 用户" placement="top">
|
66
|
+
<el-icon><question-filled /></el-icon>
|
67
|
+
</el-tooltip>
|
68
|
+
</template>
|
69
|
+
<el-input v-model="info.functionName" />
|
70
|
+
</el-form-item>
|
71
|
+
</el-col>
|
72
|
+
|
73
|
+
<el-col :span="12">
|
74
|
+
<el-form-item prop="genType">
|
75
|
+
<template #label>
|
76
|
+
生成代码方式
|
77
|
+
<el-tooltip content="默认为zip压缩包下载,也可以自定义生成路径" placement="top">
|
78
|
+
<el-icon><question-filled /></el-icon>
|
79
|
+
</el-tooltip>
|
80
|
+
</template>
|
81
|
+
<el-radio v-model="info.genType" value="0">zip压缩包</el-radio>
|
82
|
+
<el-radio v-model="info.genType" value="1">自定义路径</el-radio>
|
83
|
+
</el-form-item>
|
84
|
+
</el-col>
|
85
|
+
|
86
|
+
<el-col :span="12">
|
87
|
+
<el-form-item>
|
88
|
+
<template #label>
|
89
|
+
上级菜单
|
90
|
+
<el-tooltip content="分配到指定菜单下,例如 系统管理" placement="top">
|
91
|
+
<el-icon><question-filled /></el-icon>
|
92
|
+
</el-tooltip>
|
93
|
+
</template>
|
94
|
+
<el-tree-select
|
95
|
+
v-model="info.parentMenuId"
|
96
|
+
:data="menuOptions"
|
97
|
+
:props="{ value: 'menuId', label: 'menuName', children: 'children' }"
|
98
|
+
value-key="menuId"
|
99
|
+
placeholder="请选择系统菜单"
|
100
|
+
check-strictly
|
101
|
+
/>
|
102
|
+
</el-form-item>
|
103
|
+
</el-col>
|
104
|
+
|
105
|
+
<el-col :span="24" v-if="info.genType == '1'">
|
106
|
+
<el-form-item prop="genPath">
|
107
|
+
<template #label>
|
108
|
+
自定义路径
|
109
|
+
<el-tooltip content="填写磁盘绝对路径,若不填写,则生成到当前Web项目下" placement="top">
|
110
|
+
<el-icon><question-filled /></el-icon>
|
111
|
+
</el-tooltip>
|
112
|
+
</template>
|
113
|
+
<el-input v-model="info.genPath">
|
114
|
+
<template #append>
|
115
|
+
<el-dropdown>
|
116
|
+
<el-button type="primary">
|
117
|
+
最近路径快速选择
|
118
|
+
<i class="el-icon-arrow-down el-icon--right"></i>
|
119
|
+
</el-button>
|
120
|
+
<template #dropdown>
|
121
|
+
<el-dropdown-menu>
|
122
|
+
<el-dropdown-item @click="info.genPath = '/'">恢复默认的生成基础路径</el-dropdown-item>
|
123
|
+
</el-dropdown-menu>
|
124
|
+
</template>
|
125
|
+
</el-dropdown>
|
126
|
+
</template>
|
127
|
+
</el-input>
|
128
|
+
</el-form-item>
|
129
|
+
</el-col>
|
130
|
+
</el-row>
|
131
|
+
|
132
|
+
<template v-if="info.tplCategory == 'tree'">
|
133
|
+
<h4 class="form-header">其他信息</h4>
|
134
|
+
<el-row v-show="info.tplCategory == 'tree'">
|
135
|
+
<el-col :span="12">
|
136
|
+
<el-form-item>
|
137
|
+
<template #label>
|
138
|
+
树编码字段
|
139
|
+
<el-tooltip content="树显示的编码字段名, 如:dept_id" placement="top">
|
140
|
+
<el-icon><question-filled /></el-icon>
|
141
|
+
</el-tooltip>
|
142
|
+
</template>
|
143
|
+
<el-select v-model="info.treeCode" placeholder="请选择">
|
144
|
+
<el-option
|
145
|
+
v-for="(column, index) in info.columns"
|
146
|
+
:key="index"
|
147
|
+
:label="column.columnName + ':' + column.columnComment"
|
148
|
+
:value="column.columnName"
|
149
|
+
></el-option>
|
150
|
+
</el-select>
|
151
|
+
</el-form-item>
|
152
|
+
</el-col>
|
153
|
+
<el-col :span="12">
|
154
|
+
<el-form-item>
|
155
|
+
<template #label>
|
156
|
+
树父编码字段
|
157
|
+
<el-tooltip content="树显示的父编码字段名, 如:parent_Id" placement="top">
|
158
|
+
<el-icon><question-filled /></el-icon>
|
159
|
+
</el-tooltip>
|
160
|
+
</template>
|
161
|
+
<el-select v-model="info.treeParentCode" placeholder="请选择">
|
162
|
+
<el-option
|
163
|
+
v-for="(column, index) in info.columns"
|
164
|
+
:key="index"
|
165
|
+
:label="column.columnName + ':' + column.columnComment"
|
166
|
+
:value="column.columnName"
|
167
|
+
></el-option>
|
168
|
+
</el-select>
|
169
|
+
</el-form-item>
|
170
|
+
</el-col>
|
171
|
+
<el-col :span="12">
|
172
|
+
<el-form-item>
|
173
|
+
<template #label>
|
174
|
+
树名称字段
|
175
|
+
<el-tooltip content="树节点的显示名称字段名, 如:dept_name" placement="top">
|
176
|
+
<el-icon><question-filled /></el-icon>
|
177
|
+
</el-tooltip>
|
178
|
+
</template>
|
179
|
+
<el-select v-model="info.treeName" placeholder="请选择">
|
180
|
+
<el-option
|
181
|
+
v-for="(column, index) in info.columns"
|
182
|
+
:key="index"
|
183
|
+
:label="column.columnName + ':' + column.columnComment"
|
184
|
+
:value="column.columnName"
|
185
|
+
></el-option>
|
186
|
+
</el-select>
|
187
|
+
</el-form-item>
|
188
|
+
</el-col>
|
189
|
+
</el-row>
|
190
|
+
</template>
|
191
|
+
|
192
|
+
<template v-if="info.tplCategory == 'sub'">
|
193
|
+
<h4 class="form-header">关联信息</h4>
|
194
|
+
<el-row>
|
195
|
+
<el-col :span="12">
|
196
|
+
<el-form-item>
|
197
|
+
<template #label>
|
198
|
+
关联子表的表名
|
199
|
+
<el-tooltip content="关联子表的表名, 如:sys_user" placement="top">
|
200
|
+
<el-icon><question-filled /></el-icon>
|
201
|
+
</el-tooltip>
|
202
|
+
</template>
|
203
|
+
<el-select v-model="info.subTableName" placeholder="请选择" @change="subSelectChange">
|
204
|
+
<el-option
|
205
|
+
v-for="(table, index) in tables"
|
206
|
+
:key="index"
|
207
|
+
:label="table.tableName + ':' + table.tableComment"
|
208
|
+
:value="table.tableName"
|
209
|
+
></el-option>
|
210
|
+
</el-select>
|
211
|
+
</el-form-item>
|
212
|
+
</el-col>
|
213
|
+
<el-col :span="12">
|
214
|
+
<el-form-item>
|
215
|
+
<template #label>
|
216
|
+
子表关联的外键名
|
217
|
+
<el-tooltip content="子表关联的外键名, 如:user_id" placement="top">
|
218
|
+
<el-icon><question-filled /></el-icon>
|
219
|
+
</el-tooltip>
|
220
|
+
</template>
|
221
|
+
<el-select v-model="info.subTableFkName" placeholder="请选择">
|
222
|
+
<el-option
|
223
|
+
v-for="(column, index) in subColumns"
|
224
|
+
:key="index"
|
225
|
+
:label="column.columnName + ':' + column.columnComment"
|
226
|
+
:value="column.columnName"
|
227
|
+
></el-option>
|
228
|
+
</el-select>
|
229
|
+
</el-form-item>
|
230
|
+
</el-col>
|
231
|
+
</el-row>
|
232
|
+
</template>
|
233
|
+
|
234
|
+
</el-form>
|
235
|
+
</template>
|
236
|
+
|
237
|
+
<script setup>
|
238
|
+
import { listMenu } from "@/api/system/menu";
|
239
|
+
|
240
|
+
const subColumns = ref([]);
|
241
|
+
const menuOptions = ref([]);
|
242
|
+
const { proxy } = getCurrentInstance();
|
243
|
+
|
244
|
+
const props = defineProps({
|
245
|
+
info: {
|
246
|
+
type: Object,
|
247
|
+
default: null
|
248
|
+
},
|
249
|
+
tables: {
|
250
|
+
type: Array,
|
251
|
+
default: null
|
252
|
+
}
|
253
|
+
});
|
254
|
+
|
255
|
+
// 表单校验
|
256
|
+
const rules = ref({
|
257
|
+
tplCategory: [{ required: true, message: "请选择生成模板", trigger: "blur" }],
|
258
|
+
packageName: [{ required: true, message: "请输入生成包路径", trigger: "blur" }],
|
259
|
+
moduleName: [{ required: true, message: "请输入生成模块名", trigger: "blur" }],
|
260
|
+
businessName: [{ required: true, message: "请输入生成业务名", trigger: "blur" }],
|
261
|
+
functionName: [{ required: true, message: "请输入生成功能名", trigger: "blur" }]
|
262
|
+
});
|
263
|
+
|
264
|
+
function subSelectChange(value) {
|
265
|
+
props.info.subTableFkName = "";
|
266
|
+
}
|
267
|
+
|
268
|
+
function tplSelectChange(value) {
|
269
|
+
if (value !== "sub") {
|
270
|
+
props.info.subTableName = "";
|
271
|
+
props.info.subTableFkName = "";
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
function setSubTableColumns(value) {
|
276
|
+
for (var item in props.tables) {
|
277
|
+
const name = props.tables[item].tableName;
|
278
|
+
if (value === name) {
|
279
|
+
subColumns.value = props.tables[item].columns;
|
280
|
+
break;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
/** 查询菜单下拉树结构 */
|
286
|
+
function getMenuTreeselect() {
|
287
|
+
listMenu().then(response => {
|
288
|
+
menuOptions.value = proxy.handleTree(response.data, "menuId");
|
289
|
+
});
|
290
|
+
}
|
291
|
+
|
292
|
+
onMounted(() => {
|
293
|
+
getMenuTreeselect();
|
294
|
+
})
|
295
|
+
|
296
|
+
watch(() => props.info.subTableName, val => {
|
297
|
+
setSubTableColumns(val);
|
298
|
+
});
|
299
|
+
|
300
|
+
watch(() => props.info.tplWebType, val => {
|
301
|
+
if (val === '') {
|
302
|
+
props.info.tplWebType = "element-plus";
|
303
|
+
}
|
304
|
+
});
|
305
|
+
|
306
|
+
</script>
|
@@ -0,0 +1,126 @@
|
|
1
|
+
<template>
|
2
|
+
<!-- 导入表 -->
|
3
|
+
<el-dialog title="导入表" v-model="visible" width="800px" top="5vh" append-to-body>
|
4
|
+
<el-form :model="queryParams" ref="queryRef" :inline="true">
|
5
|
+
<el-form-item label="表名称" prop="tableName">
|
6
|
+
<el-input
|
7
|
+
v-model="queryParams.tableName"
|
8
|
+
placeholder="请输入表名称"
|
9
|
+
clearable
|
10
|
+
style="width: 180px"
|
11
|
+
@keyup.enter="handleQuery"
|
12
|
+
/>
|
13
|
+
</el-form-item>
|
14
|
+
<el-form-item label="表描述" prop="tableComment">
|
15
|
+
<el-input
|
16
|
+
v-model="queryParams.tableComment"
|
17
|
+
placeholder="请输入表描述"
|
18
|
+
clearable
|
19
|
+
style="width: 180px"
|
20
|
+
@keyup.enter="handleQuery"
|
21
|
+
/>
|
22
|
+
</el-form-item>
|
23
|
+
<el-form-item>
|
24
|
+
<el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
|
25
|
+
<el-button icon="Refresh" @click="resetQuery">重置</el-button>
|
26
|
+
</el-form-item>
|
27
|
+
</el-form>
|
28
|
+
<el-row>
|
29
|
+
<el-table @row-click="clickRow" ref="table" :data="dbTableList" @selection-change="handleSelectionChange" height="260px">
|
30
|
+
<el-table-column type="selection" width="55"></el-table-column>
|
31
|
+
<el-table-column prop="tableName" label="表名称" :show-overflow-tooltip="true"></el-table-column>
|
32
|
+
<el-table-column prop="tableComment" label="表描述" :show-overflow-tooltip="true"></el-table-column>
|
33
|
+
<el-table-column prop="createTime" label="创建时间"></el-table-column>
|
34
|
+
<el-table-column prop="updateTime" label="更新时间"></el-table-column>
|
35
|
+
</el-table>
|
36
|
+
<pagination
|
37
|
+
v-show="total>0"
|
38
|
+
:total="total"
|
39
|
+
v-model:page="queryParams.pageNum"
|
40
|
+
v-model:limit="queryParams.pageSize"
|
41
|
+
@pagination="getList"
|
42
|
+
/>
|
43
|
+
</el-row>
|
44
|
+
<template #footer>
|
45
|
+
<div class="dialog-footer">
|
46
|
+
<el-button type="primary" @click="handleImportTable">确 定</el-button>
|
47
|
+
<el-button @click="visible = false">取 消</el-button>
|
48
|
+
</div>
|
49
|
+
</template>
|
50
|
+
</el-dialog>
|
51
|
+
</template>
|
52
|
+
|
53
|
+
<script setup>
|
54
|
+
import { listDbTable, importTable } from "@/api/tool/gen";
|
55
|
+
|
56
|
+
const total = ref(0);
|
57
|
+
const visible = ref(false);
|
58
|
+
const tables = ref([]);
|
59
|
+
const dbTableList = ref([]);
|
60
|
+
const { proxy } = getCurrentInstance();
|
61
|
+
|
62
|
+
const queryParams = reactive({
|
63
|
+
pageNum: 1,
|
64
|
+
pageSize: 10,
|
65
|
+
tableName: undefined,
|
66
|
+
tableComment: undefined
|
67
|
+
});
|
68
|
+
|
69
|
+
const emit = defineEmits(["ok"]);
|
70
|
+
|
71
|
+
/** 查询参数列表 */
|
72
|
+
function show() {
|
73
|
+
getList();
|
74
|
+
visible.value = true;
|
75
|
+
}
|
76
|
+
|
77
|
+
/** 单击选择行 */
|
78
|
+
function clickRow(row) {
|
79
|
+
proxy.$refs.table.toggleRowSelection(row);
|
80
|
+
}
|
81
|
+
|
82
|
+
/** 多选框选中数据 */
|
83
|
+
function handleSelectionChange(selection) {
|
84
|
+
tables.value = selection.map(item => item.tableName);
|
85
|
+
}
|
86
|
+
|
87
|
+
/** 查询表数据 */
|
88
|
+
function getList() {
|
89
|
+
listDbTable(queryParams).then(res => {
|
90
|
+
dbTableList.value = res.rows;
|
91
|
+
total.value = res.total;
|
92
|
+
});
|
93
|
+
}
|
94
|
+
|
95
|
+
/** 搜索按钮操作 */
|
96
|
+
function handleQuery() {
|
97
|
+
queryParams.pageNum = 1;
|
98
|
+
getList();
|
99
|
+
}
|
100
|
+
|
101
|
+
/** 重置按钮操作 */
|
102
|
+
function resetQuery() {
|
103
|
+
proxy.resetForm("queryRef");
|
104
|
+
handleQuery();
|
105
|
+
}
|
106
|
+
|
107
|
+
/** 导入按钮操作 */
|
108
|
+
function handleImportTable() {
|
109
|
+
const tableNames = tables.value.join(",");
|
110
|
+
if (tableNames == "") {
|
111
|
+
proxy.$modal.msgError("请选择要导入的表");
|
112
|
+
return;
|
113
|
+
}
|
114
|
+
importTable({ tables: tableNames }).then(res => {
|
115
|
+
proxy.$modal.msgSuccess(res.msg);
|
116
|
+
if (res.code === 200) {
|
117
|
+
visible.value = false;
|
118
|
+
emit("ok");
|
119
|
+
}
|
120
|
+
});
|
121
|
+
}
|
122
|
+
|
123
|
+
defineExpose({
|
124
|
+
show,
|
125
|
+
});
|
126
|
+
</script>
|