@k3000/s1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (620) hide show
  1. package/README.md +2 -0
  2. package/RuoYi-Vue3/.env.development +8 -0
  3. package/RuoYi-Vue3/.env.production +11 -0
  4. package/RuoYi-Vue3/.env.staging +11 -0
  5. package/RuoYi-Vue3/.github/FUNDING.yml +1 -0
  6. package/RuoYi-Vue3/LICENSE +20 -0
  7. package/RuoYi-Vue3/README.md +109 -0
  8. package/RuoYi-Vue3/bin/build.bat +12 -0
  9. package/RuoYi-Vue3/bin/package.bat +12 -0
  10. package/RuoYi-Vue3/bin/run-web.bat +12 -0
  11. package/RuoYi-Vue3/html/ie.html +46 -0
  12. package/RuoYi-Vue3/index.html +215 -0
  13. package/RuoYi-Vue3/package.json +44 -0
  14. package/RuoYi-Vue3/public/favicon.ico +0 -0
  15. package/RuoYi-Vue3/src/App.vue +15 -0
  16. package/RuoYi-Vue3/src/api/login.js +60 -0
  17. package/RuoYi-Vue3/src/api/menu.js +9 -0
  18. package/RuoYi-Vue3/src/api/monitor/cache.js +57 -0
  19. package/RuoYi-Vue3/src/api/monitor/job.js +71 -0
  20. package/RuoYi-Vue3/src/api/monitor/jobLog.js +26 -0
  21. package/RuoYi-Vue3/src/api/monitor/logininfor.js +34 -0
  22. package/RuoYi-Vue3/src/api/monitor/online.js +18 -0
  23. package/RuoYi-Vue3/src/api/monitor/operlog.js +26 -0
  24. package/RuoYi-Vue3/src/api/monitor/server.js +9 -0
  25. package/RuoYi-Vue3/src/api/system/config.js +60 -0
  26. package/RuoYi-Vue3/src/api/system/dept.js +52 -0
  27. package/RuoYi-Vue3/src/api/system/dict/data.js +52 -0
  28. package/RuoYi-Vue3/src/api/system/dict/type.js +60 -0
  29. package/RuoYi-Vue3/src/api/system/menu.js +60 -0
  30. package/RuoYi-Vue3/src/api/system/notice.js +44 -0
  31. package/RuoYi-Vue3/src/api/system/post.js +44 -0
  32. package/RuoYi-Vue3/src/api/system/role.js +119 -0
  33. package/RuoYi-Vue3/src/api/system/user.js +136 -0
  34. package/RuoYi-Vue3/src/api/tool/gen.js +85 -0
  35. package/RuoYi-Vue3/src/assets/401_images/401.gif +0 -0
  36. package/RuoYi-Vue3/src/assets/404_images/404.png +0 -0
  37. package/RuoYi-Vue3/src/assets/404_images/404_cloud.png +0 -0
  38. package/RuoYi-Vue3/src/assets/icons/svg/404.svg +1 -0
  39. package/RuoYi-Vue3/src/assets/icons/svg/bug.svg +1 -0
  40. package/RuoYi-Vue3/src/assets/icons/svg/build.svg +1 -0
  41. package/RuoYi-Vue3/src/assets/icons/svg/button.svg +1 -0
  42. package/RuoYi-Vue3/src/assets/icons/svg/cascader.svg +1 -0
  43. package/RuoYi-Vue3/src/assets/icons/svg/chart.svg +1 -0
  44. package/RuoYi-Vue3/src/assets/icons/svg/checkbox.svg +1 -0
  45. package/RuoYi-Vue3/src/assets/icons/svg/clipboard.svg +1 -0
  46. package/RuoYi-Vue3/src/assets/icons/svg/code.svg +1 -0
  47. package/RuoYi-Vue3/src/assets/icons/svg/color.svg +1 -0
  48. package/RuoYi-Vue3/src/assets/icons/svg/component.svg +1 -0
  49. package/RuoYi-Vue3/src/assets/icons/svg/dashboard.svg +1 -0
  50. package/RuoYi-Vue3/src/assets/icons/svg/date-range.svg +1 -0
  51. package/RuoYi-Vue3/src/assets/icons/svg/date.svg +1 -0
  52. package/RuoYi-Vue3/src/assets/icons/svg/dict.svg +1 -0
  53. package/RuoYi-Vue3/src/assets/icons/svg/documentation.svg +1 -0
  54. package/RuoYi-Vue3/src/assets/icons/svg/download.svg +1 -0
  55. package/RuoYi-Vue3/src/assets/icons/svg/drag.svg +1 -0
  56. package/RuoYi-Vue3/src/assets/icons/svg/druid.svg +1 -0
  57. package/RuoYi-Vue3/src/assets/icons/svg/edit.svg +1 -0
  58. package/RuoYi-Vue3/src/assets/icons/svg/education.svg +1 -0
  59. package/RuoYi-Vue3/src/assets/icons/svg/email.svg +1 -0
  60. package/RuoYi-Vue3/src/assets/icons/svg/example.svg +1 -0
  61. package/RuoYi-Vue3/src/assets/icons/svg/excel.svg +1 -0
  62. package/RuoYi-Vue3/src/assets/icons/svg/exit-fullscreen.svg +1 -0
  63. package/RuoYi-Vue3/src/assets/icons/svg/eye-open.svg +1 -0
  64. package/RuoYi-Vue3/src/assets/icons/svg/eye.svg +1 -0
  65. package/RuoYi-Vue3/src/assets/icons/svg/form.svg +1 -0
  66. package/RuoYi-Vue3/src/assets/icons/svg/fullscreen.svg +1 -0
  67. package/RuoYi-Vue3/src/assets/icons/svg/github.svg +1 -0
  68. package/RuoYi-Vue3/src/assets/icons/svg/guide.svg +1 -0
  69. package/RuoYi-Vue3/src/assets/icons/svg/icon.svg +1 -0
  70. package/RuoYi-Vue3/src/assets/icons/svg/input.svg +1 -0
  71. package/RuoYi-Vue3/src/assets/icons/svg/international.svg +1 -0
  72. package/RuoYi-Vue3/src/assets/icons/svg/job.svg +1 -0
  73. package/RuoYi-Vue3/src/assets/icons/svg/language.svg +1 -0
  74. package/RuoYi-Vue3/src/assets/icons/svg/link.svg +1 -0
  75. package/RuoYi-Vue3/src/assets/icons/svg/list.svg +1 -0
  76. package/RuoYi-Vue3/src/assets/icons/svg/lock.svg +1 -0
  77. package/RuoYi-Vue3/src/assets/icons/svg/log.svg +1 -0
  78. package/RuoYi-Vue3/src/assets/icons/svg/logininfor.svg +1 -0
  79. package/RuoYi-Vue3/src/assets/icons/svg/message.svg +1 -0
  80. package/RuoYi-Vue3/src/assets/icons/svg/money.svg +1 -0
  81. package/RuoYi-Vue3/src/assets/icons/svg/monitor.svg +2 -0
  82. package/RuoYi-Vue3/src/assets/icons/svg/nested.svg +1 -0
  83. package/RuoYi-Vue3/src/assets/icons/svg/number.svg +1 -0
  84. package/RuoYi-Vue3/src/assets/icons/svg/online.svg +1 -0
  85. package/RuoYi-Vue3/src/assets/icons/svg/password.svg +1 -0
  86. package/RuoYi-Vue3/src/assets/icons/svg/pdf.svg +1 -0
  87. package/RuoYi-Vue3/src/assets/icons/svg/people.svg +1 -0
  88. package/RuoYi-Vue3/src/assets/icons/svg/peoples.svg +1 -0
  89. package/RuoYi-Vue3/src/assets/icons/svg/phone.svg +1 -0
  90. package/RuoYi-Vue3/src/assets/icons/svg/post.svg +1 -0
  91. package/RuoYi-Vue3/src/assets/icons/svg/qq.svg +1 -0
  92. package/RuoYi-Vue3/src/assets/icons/svg/question.svg +1 -0
  93. package/RuoYi-Vue3/src/assets/icons/svg/radio.svg +1 -0
  94. package/RuoYi-Vue3/src/assets/icons/svg/rate.svg +1 -0
  95. package/RuoYi-Vue3/src/assets/icons/svg/redis-list.svg +2 -0
  96. package/RuoYi-Vue3/src/assets/icons/svg/redis.svg +1 -0
  97. package/RuoYi-Vue3/src/assets/icons/svg/row.svg +1 -0
  98. package/RuoYi-Vue3/src/assets/icons/svg/search.svg +1 -0
  99. package/RuoYi-Vue3/src/assets/icons/svg/select.svg +1 -0
  100. package/RuoYi-Vue3/src/assets/icons/svg/server.svg +1 -0
  101. package/RuoYi-Vue3/src/assets/icons/svg/shopping.svg +1 -0
  102. package/RuoYi-Vue3/src/assets/icons/svg/size.svg +1 -0
  103. package/RuoYi-Vue3/src/assets/icons/svg/skill.svg +1 -0
  104. package/RuoYi-Vue3/src/assets/icons/svg/slider.svg +1 -0
  105. package/RuoYi-Vue3/src/assets/icons/svg/star.svg +1 -0
  106. package/RuoYi-Vue3/src/assets/icons/svg/swagger.svg +1 -0
  107. package/RuoYi-Vue3/src/assets/icons/svg/switch.svg +1 -0
  108. package/RuoYi-Vue3/src/assets/icons/svg/system.svg +2 -0
  109. package/RuoYi-Vue3/src/assets/icons/svg/tab.svg +1 -0
  110. package/RuoYi-Vue3/src/assets/icons/svg/table.svg +1 -0
  111. package/RuoYi-Vue3/src/assets/icons/svg/textarea.svg +1 -0
  112. package/RuoYi-Vue3/src/assets/icons/svg/theme.svg +1 -0
  113. package/RuoYi-Vue3/src/assets/icons/svg/time-range.svg +1 -0
  114. package/RuoYi-Vue3/src/assets/icons/svg/time.svg +1 -0
  115. package/RuoYi-Vue3/src/assets/icons/svg/tool.svg +1 -0
  116. package/RuoYi-Vue3/src/assets/icons/svg/tree-table.svg +1 -0
  117. package/RuoYi-Vue3/src/assets/icons/svg/tree.svg +1 -0
  118. package/RuoYi-Vue3/src/assets/icons/svg/upload.svg +1 -0
  119. package/RuoYi-Vue3/src/assets/icons/svg/user.svg +1 -0
  120. package/RuoYi-Vue3/src/assets/icons/svg/validCode.svg +1 -0
  121. package/RuoYi-Vue3/src/assets/icons/svg/wechat.svg +1 -0
  122. package/RuoYi-Vue3/src/assets/icons/svg/zip.svg +1 -0
  123. package/RuoYi-Vue3/src/assets/images/dark.svg +39 -0
  124. package/RuoYi-Vue3/src/assets/images/light.svg +39 -0
  125. package/RuoYi-Vue3/src/assets/images/login-background.jpg +0 -0
  126. package/RuoYi-Vue3/src/assets/images/pay.png +0 -0
  127. package/RuoYi-Vue3/src/assets/images/profile.jpg +0 -0
  128. package/RuoYi-Vue3/src/assets/logo/logo.png +0 -0
  129. package/RuoYi-Vue3/src/assets/styles/btn.scss +99 -0
  130. package/RuoYi-Vue3/src/assets/styles/element-ui.scss +96 -0
  131. package/RuoYi-Vue3/src/assets/styles/index.scss +184 -0
  132. package/RuoYi-Vue3/src/assets/styles/mixin.scss +66 -0
  133. package/RuoYi-Vue3/src/assets/styles/ruoyi.scss +281 -0
  134. package/RuoYi-Vue3/src/assets/styles/sidebar.scss +238 -0
  135. package/RuoYi-Vue3/src/assets/styles/transition.scss +49 -0
  136. package/RuoYi-Vue3/src/assets/styles/variables.module.scss +65 -0
  137. package/RuoYi-Vue3/src/components/Breadcrumb/index.vue +66 -0
  138. package/RuoYi-Vue3/src/components/Crontab/day.vue +174 -0
  139. package/RuoYi-Vue3/src/components/Crontab/hour.vue +133 -0
  140. package/RuoYi-Vue3/src/components/Crontab/index.vue +310 -0
  141. package/RuoYi-Vue3/src/components/Crontab/min.vue +126 -0
  142. package/RuoYi-Vue3/src/components/Crontab/month.vue +141 -0
  143. package/RuoYi-Vue3/src/components/Crontab/result.vue +540 -0
  144. package/RuoYi-Vue3/src/components/Crontab/second.vue +128 -0
  145. package/RuoYi-Vue3/src/components/Crontab/week.vue +197 -0
  146. package/RuoYi-Vue3/src/components/Crontab/year.vue +149 -0
  147. package/RuoYi-Vue3/src/components/DictTag/index.vue +82 -0
  148. package/RuoYi-Vue3/src/components/Editor/index.vue +251 -0
  149. package/RuoYi-Vue3/src/components/FileUpload/index.vue +207 -0
  150. package/RuoYi-Vue3/src/components/Hamburger/index.vue +41 -0
  151. package/RuoYi-Vue3/src/components/HeaderSearch/index.vue +187 -0
  152. package/RuoYi-Vue3/src/components/IconSelect/index.vue +111 -0
  153. package/RuoYi-Vue3/src/components/IconSelect/requireIcons.js +8 -0
  154. package/RuoYi-Vue3/src/components/ImagePreview/index.vue +92 -0
  155. package/RuoYi-Vue3/src/components/ImageUpload/index.vue +213 -0
  156. package/RuoYi-Vue3/src/components/Pagination/index.vue +105 -0
  157. package/RuoYi-Vue3/src/components/ParentView/index.vue +3 -0
  158. package/RuoYi-Vue3/src/components/RightToolbar/index.vue +134 -0
  159. package/RuoYi-Vue3/src/components/RuoYi/Doc/index.vue +13 -0
  160. package/RuoYi-Vue3/src/components/RuoYi/Git/index.vue +13 -0
  161. package/RuoYi-Vue3/src/components/Screenfull/index.vue +22 -0
  162. package/RuoYi-Vue3/src/components/SizeSelect/index.vue +45 -0
  163. package/RuoYi-Vue3/src/components/SvgIcon/index.vue +53 -0
  164. package/RuoYi-Vue3/src/components/SvgIcon/svgicon.js +10 -0
  165. package/RuoYi-Vue3/src/components/TopNav/index.vue +214 -0
  166. package/RuoYi-Vue3/src/components/TreeSelect/index.vue +156 -0
  167. package/RuoYi-Vue3/src/components/iFrame/index.vue +31 -0
  168. package/RuoYi-Vue3/src/directive/common/copyText.js +66 -0
  169. package/RuoYi-Vue3/src/directive/index.js +9 -0
  170. package/RuoYi-Vue3/src/directive/permission/hasPermi.js +28 -0
  171. package/RuoYi-Vue3/src/directive/permission/hasRole.js +28 -0
  172. package/RuoYi-Vue3/src/layout/components/AppMain.vue +68 -0
  173. package/RuoYi-Vue3/src/layout/components/IframeToggle/index.vue +25 -0
  174. package/RuoYi-Vue3/src/layout/components/InnerLink/index.vue +24 -0
  175. package/RuoYi-Vue3/src/layout/components/Navbar.vue +191 -0
  176. package/RuoYi-Vue3/src/layout/components/Settings/index.vue +209 -0
  177. package/RuoYi-Vue3/src/layout/components/Sidebar/Link.vue +40 -0
  178. package/RuoYi-Vue3/src/layout/components/Sidebar/Logo.vue +81 -0
  179. package/RuoYi-Vue3/src/layout/components/Sidebar/SidebarItem.vue +102 -0
  180. package/RuoYi-Vue3/src/layout/components/Sidebar/index.vue +54 -0
  181. package/RuoYi-Vue3/src/layout/components/TagsView/ScrollPane.vue +107 -0
  182. package/RuoYi-Vue3/src/layout/components/TagsView/index.vue +358 -0
  183. package/RuoYi-Vue3/src/layout/components/index.js +4 -0
  184. package/RuoYi-Vue3/src/layout/index.vue +114 -0
  185. package/RuoYi-Vue3/src/main.js +84 -0
  186. package/RuoYi-Vue3/src/permission.js +65 -0
  187. package/RuoYi-Vue3/src/plugins/auth.js +60 -0
  188. package/RuoYi-Vue3/src/plugins/cache.js +77 -0
  189. package/RuoYi-Vue3/src/plugins/download.js +79 -0
  190. package/RuoYi-Vue3/src/plugins/index.js +18 -0
  191. package/RuoYi-Vue3/src/plugins/modal.js +82 -0
  192. package/RuoYi-Vue3/src/plugins/tab.js +69 -0
  193. package/RuoYi-Vue3/src/router/index.js +175 -0
  194. package/RuoYi-Vue3/src/settings.js +47 -0
  195. package/RuoYi-Vue3/src/store/index.js +3 -0
  196. package/RuoYi-Vue3/src/store/modules/app.js +46 -0
  197. package/RuoYi-Vue3/src/store/modules/dict.js +57 -0
  198. package/RuoYi-Vue3/src/store/modules/permission.js +142 -0
  199. package/RuoYi-Vue3/src/store/modules/settings.js +38 -0
  200. package/RuoYi-Vue3/src/store/modules/tagsView.js +182 -0
  201. package/RuoYi-Vue3/src/store/modules/user.js +72 -0
  202. package/RuoYi-Vue3/src/utils/auth.js +15 -0
  203. package/RuoYi-Vue3/src/utils/dict.js +24 -0
  204. package/RuoYi-Vue3/src/utils/dynamicTitle.js +15 -0
  205. package/RuoYi-Vue3/src/utils/errorCode.js +6 -0
  206. package/RuoYi-Vue3/src/utils/index.js +390 -0
  207. package/RuoYi-Vue3/src/utils/jsencrypt.js +30 -0
  208. package/RuoYi-Vue3/src/utils/permission.js +51 -0
  209. package/RuoYi-Vue3/src/utils/request.js +152 -0
  210. package/RuoYi-Vue3/src/utils/ruoyi.js +246 -0
  211. package/RuoYi-Vue3/src/utils/scroll-to.js +58 -0
  212. package/RuoYi-Vue3/src/utils/theme.js +49 -0
  213. package/RuoYi-Vue3/src/utils/validate.js +93 -0
  214. package/RuoYi-Vue3/src/views/error/401.vue +82 -0
  215. package/RuoYi-Vue3/src/views/error/404.vue +227 -0
  216. package/RuoYi-Vue3/src/views/index.vue +1092 -0
  217. package/RuoYi-Vue3/src/views/login.vue +227 -0
  218. package/RuoYi-Vue3/src/views/monitor/cache/index.vue +132 -0
  219. package/RuoYi-Vue3/src/views/monitor/cache/list.vue +246 -0
  220. package/RuoYi-Vue3/src/views/monitor/druid/index.vue +13 -0
  221. package/RuoYi-Vue3/src/views/monitor/job/index.vue +501 -0
  222. package/RuoYi-Vue3/src/views/monitor/job/log.vue +283 -0
  223. package/RuoYi-Vue3/src/views/monitor/logininfor/index.vue +233 -0
  224. package/RuoYi-Vue3/src/views/monitor/online/index.vue +109 -0
  225. package/RuoYi-Vue3/src/views/monitor/operlog/index.vue +310 -0
  226. package/RuoYi-Vue3/src/views/monitor/server/index.vue +187 -0
  227. package/RuoYi-Vue3/src/views/redirect/index.vue +14 -0
  228. package/RuoYi-Vue3/src/views/register.vue +219 -0
  229. package/RuoYi-Vue3/src/views/system/config/index.vue +316 -0
  230. package/RuoYi-Vue3/src/views/system/dept/index.vue +283 -0
  231. package/RuoYi-Vue3/src/views/system/dict/data.vue +362 -0
  232. package/RuoYi-Vue3/src/views/system/dict/index.vue +323 -0
  233. package/RuoYi-Vue3/src/views/system/menu/index.vue +452 -0
  234. package/RuoYi-Vue3/src/views/system/notice/index.vue +292 -0
  235. package/RuoYi-Vue3/src/views/system/post/index.vue +287 -0
  236. package/RuoYi-Vue3/src/views/system/role/authUser.vue +179 -0
  237. package/RuoYi-Vue3/src/views/system/role/index.vue +584 -0
  238. package/RuoYi-Vue3/src/views/system/role/selectUser.vue +144 -0
  239. package/RuoYi-Vue3/src/views/system/user/authRole.vue +116 -0
  240. package/RuoYi-Vue3/src/views/system/user/index.vue +635 -0
  241. package/RuoYi-Vue3/src/views/system/user/profile/index.vue +87 -0
  242. package/RuoYi-Vue3/src/views/system/user/profile/resetPwd.vue +59 -0
  243. package/RuoYi-Vue3/src/views/system/user/profile/userAvatar.vue +180 -0
  244. package/RuoYi-Vue3/src/views/system/user/profile/userInfo.vue +67 -0
  245. package/RuoYi-Vue3/src/views/tool/build/index.vue +3 -0
  246. package/RuoYi-Vue3/src/views/tool/gen/basicInfoForm.vue +48 -0
  247. package/RuoYi-Vue3/src/views/tool/gen/createTable.vue +46 -0
  248. package/RuoYi-Vue3/src/views/tool/gen/editTable.vue +200 -0
  249. package/RuoYi-Vue3/src/views/tool/gen/genInfoForm.vue +306 -0
  250. package/RuoYi-Vue3/src/views/tool/gen/importTable.vue +126 -0
  251. package/RuoYi-Vue3/src/views/tool/gen/index.vue +310 -0
  252. package/RuoYi-Vue3/src/views/tool/swagger/index.vue +9 -0
  253. package/RuoYi-Vue3/vite/plugins/auto-import.js +12 -0
  254. package/RuoYi-Vue3/vite/plugins/compression.js +28 -0
  255. package/RuoYi-Vue3/vite/plugins/index.js +15 -0
  256. package/RuoYi-Vue3/vite/plugins/setup-extend.js +5 -0
  257. package/RuoYi-Vue3/vite/plugins/svg-icon.js +10 -0
  258. package/RuoYi-Vue3/vite.config.js +58 -0
  259. package/admin/README.MD +0 -0
  260. package/admin/base.mjs +447 -0
  261. package/admin/index.mjs +19 -0
  262. package/admin/monitor/job.mjs +24 -0
  263. package/admin/monitor/jobLog.mjs +8 -0
  264. package/admin/monitor/logininfor.mjs +23 -0
  265. package/admin/monitor/operlog.mjs +9 -0
  266. package/admin/monitor/server.mjs +54 -0
  267. package/admin/service.mjs +10 -0
  268. package/admin/system/component.mjs +16 -0
  269. package/admin/system/config.mjs +8 -0
  270. package/admin/system/dept.mjs +24 -0
  271. package/admin/system/dict.mjs +34 -0
  272. package/admin/system/login.mjs +119 -0
  273. package/admin/system/menu.mjs +33 -0
  274. package/admin/system/notice.mjs +8 -0
  275. package/admin/system/path.mjs +53 -0
  276. package/admin/system/post.mjs +8 -0
  277. package/admin/system/role.mjs +105 -0
  278. package/admin/system/user.mjs +93 -0
  279. package/admin/tool/gen.mjs +95 -0
  280. package/admin/tool/helper.mjs +1335 -0
  281. package/admin/tool/pm2.mjs +71 -0
  282. package/admin/tool/store.mjs +84 -0
  283. package/admin/tool/upload.mjs +112 -0
  284. package/app/README.MD +0 -0
  285. package/app/index.mjs +9 -0
  286. package/bin.mjs +211 -0
  287. package/build.mjs +25 -0
  288. package/common/README.MD +0 -0
  289. package/common/config.mjs +40 -0
  290. package/common/pm2.mjs +145 -0
  291. package/common/service.mjs +79 -0
  292. package/common/service0.mjs +468 -0
  293. package/common/tools.mjs +314 -0
  294. package/common/type.ts +498 -0
  295. package/file/README.MD +0 -0
  296. package/files/.env.production +11 -0
  297. package/files/gen.js +76 -0
  298. package/files/genImportTable.vue +120 -0
  299. package/files/genIndex.vue +309 -0
  300. package/files/genInfoForm.vue +302 -0
  301. package/files/login.vue +237 -0
  302. package/files/menu.js +68 -0
  303. package/files/menuIndex.vue +447 -0
  304. package/files/pm2.js +88 -0
  305. package/files/pm2Data.vue +335 -0
  306. package/files/pm2Index.vue +343 -0
  307. package/files/routerIndex.js +204 -0
  308. package/files/serverIndex.vue +215 -0
  309. package/files/store.js +96 -0
  310. package/files/storeData.vue +294 -0
  311. package/files/storeIndex.vue +245 -0
  312. package/files/upload.js +47 -0
  313. package/files/uploadIndex.vue +240 -0
  314. package/files/vite.config.js +58 -0
  315. package/index.mjs +28 -0
  316. package/jwt/README.MD +12 -0
  317. package/jwt/index.mjs +17 -0
  318. package/package.json +22 -0
  319. package/proxy/README.MD +0 -0
  320. package/proxy/index.mjs +16 -0
  321. package/static/README.MD +0 -0
  322. package/static/admin/assets/401-CYieuz9-.js +1 -0
  323. package/static/admin/assets/401-CYieuz9-.js.gz +0 -0
  324. package/static/admin/assets/401-DmT2Eyz6.css +1 -0
  325. package/static/admin/assets/401-HGF6Q5qM.gif +0 -0
  326. package/static/admin/assets/404-DFv5Zpvm.js +1 -0
  327. package/static/admin/assets/404-DFv5Zpvm.js.gz +0 -0
  328. package/static/admin/assets/404-Dy3nURRX.js +1 -0
  329. package/static/admin/assets/404-Dy3nURRX.js.gz +0 -0
  330. package/static/admin/assets/404-N4aRkdWY.png +0 -0
  331. package/static/admin/assets/404-uZCOR2Ze.css +1 -0
  332. package/static/admin/assets/404-uZCOR2Ze.css.gz +0 -0
  333. package/static/admin/assets/404_cloud-CPexjtDj.png +0 -0
  334. package/static/admin/assets/authRole-ma37t91O.js +1 -0
  335. package/static/admin/assets/authRole-ma37t91O.js.gz +0 -0
  336. package/static/admin/assets/authUser-C2Y6gkW3.js +1 -0
  337. package/static/admin/assets/authUser-C2Y6gkW3.js.gz +0 -0
  338. package/static/admin/assets/basicInfoForm-Cqv-g0Vq.js +1 -0
  339. package/static/admin/assets/basicInfoForm-Cqv-g0Vq.js.gz +0 -0
  340. package/static/admin/assets/bug-10dePVta.js +1 -0
  341. package/static/admin/assets/bug-10dePVta.js.gz +0 -0
  342. package/static/admin/assets/build-2jMyI6eP.js +1 -0
  343. package/static/admin/assets/build-2jMyI6eP.js.gz +0 -0
  344. package/static/admin/assets/button-BlSCM_GH.js +1 -0
  345. package/static/admin/assets/button-BlSCM_GH.js.gz +0 -0
  346. package/static/admin/assets/cache-CRGI5LFU.js +1 -0
  347. package/static/admin/assets/cascader-CXIOcY1C.js +1 -0
  348. package/static/admin/assets/cascader-CXIOcY1C.js.gz +0 -0
  349. package/static/admin/assets/chart-BsLMrzXU.js +1 -0
  350. package/static/admin/assets/checkbox-Bpiun3bf.js +1 -0
  351. package/static/admin/assets/checkbox-Bpiun3bf.js.gz +0 -0
  352. package/static/admin/assets/clipboard-DaV3cn7f.js +1 -0
  353. package/static/admin/assets/clipboard-DaV3cn7f.js.gz +0 -0
  354. package/static/admin/assets/code-DgJ8cT4a.js +1 -0
  355. package/static/admin/assets/color-y1Sshoou.js +1 -0
  356. package/static/admin/assets/color-y1Sshoou.js.gz +0 -0
  357. package/static/admin/assets/component-Djp9s69L.js +1 -0
  358. package/static/admin/assets/component-Djp9s69L.js.gz +0 -0
  359. package/static/admin/assets/createTable-CpixhIJI.js +1 -0
  360. package/static/admin/assets/createTable-CpixhIJI.js.gz +0 -0
  361. package/static/admin/assets/dashboard-Dy7qt_a2.js +1 -0
  362. package/static/admin/assets/dashboard-Dy7qt_a2.js.gz +0 -0
  363. package/static/admin/assets/data-B6ExfNCI.js +1 -0
  364. package/static/admin/assets/data-B6ExfNCI.js.gz +0 -0
  365. package/static/admin/assets/data-BNwnwlkO.js +34 -0
  366. package/static/admin/assets/data-BNwnwlkO.js.gz +0 -0
  367. package/static/admin/assets/data-C3FuPwta.css +1 -0
  368. package/static/admin/assets/data-DmSA0HcO.js +1 -0
  369. package/static/admin/assets/data-DmSA0HcO.js.gz +0 -0
  370. package/static/admin/assets/date-B1FSITvi.js +1 -0
  371. package/static/admin/assets/date-B1FSITvi.js.gz +0 -0
  372. package/static/admin/assets/date-range-B8MgYLb1.js +1 -0
  373. package/static/admin/assets/date-range-B8MgYLb1.js.gz +0 -0
  374. package/static/admin/assets/dict-Bi_GqSXR.js +1 -0
  375. package/static/admin/assets/dict-Bi_GqSXR.js.gz +0 -0
  376. package/static/admin/assets/documentation-uH9BvL5U.js +1 -0
  377. package/static/admin/assets/download-DeIzgQWH.js +1 -0
  378. package/static/admin/assets/download-DeIzgQWH.js.gz +0 -0
  379. package/static/admin/assets/drag-BG1_I1vT.js +1 -0
  380. package/static/admin/assets/druid-BybW_S_B.js +1 -0
  381. package/static/admin/assets/edit-D0DI9pAq.js +1 -0
  382. package/static/admin/assets/editTable-zr5bdAM7.js +1 -0
  383. package/static/admin/assets/editTable-zr5bdAM7.js.gz +0 -0
  384. package/static/admin/assets/education-47KsSYIl.js +1 -0
  385. package/static/admin/assets/email-Dig28Vt2.js +1 -0
  386. package/static/admin/assets/example-CnLLAFb9.js +1 -0
  387. package/static/admin/assets/excel-D3hj5F35.js +1 -0
  388. package/static/admin/assets/exit-fullscreen-dXhGKlQm.js +1 -0
  389. package/static/admin/assets/exit-fullscreen-dXhGKlQm.js.gz +0 -0
  390. package/static/admin/assets/eye-DqRz4sMZ.js +1 -0
  391. package/static/admin/assets/eye-DqRz4sMZ.js.gz +0 -0
  392. package/static/admin/assets/eye-open-BxlshWqB.js +1 -0
  393. package/static/admin/assets/eye-open-BxlshWqB.js.gz +0 -0
  394. package/static/admin/assets/form-BDTA_i-I.js +1 -0
  395. package/static/admin/assets/form-BDTA_i-I.js.gz +0 -0
  396. package/static/admin/assets/fullscreen-0JHt5yWX.js +1 -0
  397. package/static/admin/assets/gen-DLNrNhtb.js +1 -0
  398. package/static/admin/assets/genInfoForm-CMDsV5QX.js +1 -0
  399. package/static/admin/assets/genInfoForm-CMDsV5QX.js.gz +0 -0
  400. package/static/admin/assets/github-AJ0WQBa2.js +1 -0
  401. package/static/admin/assets/github-AJ0WQBa2.js.gz +0 -0
  402. package/static/admin/assets/guide-DZWUPi2j.js +1 -0
  403. package/static/admin/assets/icon-BtMv6Od8.js +1 -0
  404. package/static/admin/assets/icon-BtMv6Od8.js.gz +0 -0
  405. package/static/admin/assets/importTable-BsBsGfWB.js +1 -0
  406. package/static/admin/assets/importTable-BsBsGfWB.js.gz +0 -0
  407. package/static/admin/assets/index-1Gtzb1EG.css +1 -0
  408. package/static/admin/assets/index-1Gtzb1EG.css.gz +0 -0
  409. package/static/admin/assets/index-22TxXV_H.js +1 -0
  410. package/static/admin/assets/index-2PS_9Njt.js +1 -0
  411. package/static/admin/assets/index-2PS_9Njt.js.gz +0 -0
  412. package/static/admin/assets/index-2QWdVCKT.js +1 -0
  413. package/static/admin/assets/index-BH2yis6M.js +1 -0
  414. package/static/admin/assets/index-BYiWbDzj.js +137 -0
  415. package/static/admin/assets/index-BYiWbDzj.js.gz +0 -0
  416. package/static/admin/assets/index-BcoIBYYg.js +1 -0
  417. package/static/admin/assets/index-BcoIBYYg.js.gz +0 -0
  418. package/static/admin/assets/index-BdfyYxZX.css +1 -0
  419. package/static/admin/assets/index-BdfyYxZX.css.gz +0 -0
  420. package/static/admin/assets/index-BpFFXMK5.js +1 -0
  421. package/static/admin/assets/index-BpFFXMK5.js.gz +0 -0
  422. package/static/admin/assets/index-CKPU_AaL.js +1 -0
  423. package/static/admin/assets/index-CKPU_AaL.js.gz +0 -0
  424. package/static/admin/assets/index-CXsykB0X.js +1 -0
  425. package/static/admin/assets/index-CXsykB0X.js.gz +0 -0
  426. package/static/admin/assets/index-CfHRKVJR.js +1 -0
  427. package/static/admin/assets/index-CfHRKVJR.js.gz +0 -0
  428. package/static/admin/assets/index-ChrWcM7o.js +1 -0
  429. package/static/admin/assets/index-ChrWcM7o.js.gz +0 -0
  430. package/static/admin/assets/index-CyGqJLpz.css +1 -0
  431. package/static/admin/assets/index-Czuq8j-W.js +1 -0
  432. package/static/admin/assets/index-D5kEXJN3.js +1 -0
  433. package/static/admin/assets/index-D5kEXJN3.js.gz +0 -0
  434. package/static/admin/assets/index-D7sjRL--.js +1 -0
  435. package/static/admin/assets/index-D7sjRL--.js.gz +0 -0
  436. package/static/admin/assets/index-D9JRAPr4.js +1 -0
  437. package/static/admin/assets/index-D9JRAPr4.js.gz +0 -0
  438. package/static/admin/assets/index-DADWjT7Y.js +1 -0
  439. package/static/admin/assets/index-DADWjT7Y.js.gz +0 -0
  440. package/static/admin/assets/index-DUTtT4NU.js +1 -0
  441. package/static/admin/assets/index-DUTtT4NU.js.gz +0 -0
  442. package/static/admin/assets/index-DZR__uIb.js +1 -0
  443. package/static/admin/assets/index-DZR__uIb.js.gz +0 -0
  444. package/static/admin/assets/index-Da2r8G2b.js +1 -0
  445. package/static/admin/assets/index-Da2r8G2b.js.gz +0 -0
  446. package/static/admin/assets/index-DakybE_b.js +1 -0
  447. package/static/admin/assets/index-DakybE_b.js.gz +0 -0
  448. package/static/admin/assets/index-DdnU2rJ0.css +1 -0
  449. package/static/admin/assets/index-H21xXZr5.js +60 -0
  450. package/static/admin/assets/index-H21xXZr5.js.gz +0 -0
  451. package/static/admin/assets/index-PGDGQEbD.js +1 -0
  452. package/static/admin/assets/index-PGDGQEbD.js.gz +0 -0
  453. package/static/admin/assets/index-Rm6qYhrO.js +1 -0
  454. package/static/admin/assets/index-VG6ZkdYt.js +1 -0
  455. package/static/admin/assets/index-VG6ZkdYt.js.gz +0 -0
  456. package/static/admin/assets/index-YVnsjgTq.js +1 -0
  457. package/static/admin/assets/index-YVnsjgTq.js.gz +0 -0
  458. package/static/admin/assets/index-t3XJ47us.css +1 -0
  459. package/static/admin/assets/index-t3XJ47us.css.gz +0 -0
  460. package/static/admin/assets/index-xfai-fRy.js +1 -0
  461. package/static/admin/assets/index-xfai-fRy.js.gz +0 -0
  462. package/static/admin/assets/input-BJoPMnBW.js +1 -0
  463. package/static/admin/assets/international-CmzG1OHg.js +1 -0
  464. package/static/admin/assets/international-CmzG1OHg.js.gz +0 -0
  465. package/static/admin/assets/job-BcmuINx7.js +1 -0
  466. package/static/admin/assets/job-BcmuINx7.js.gz +0 -0
  467. package/static/admin/assets/job-COdMvNx2.js +1 -0
  468. package/static/admin/assets/language-CaW1LMEk.js +1 -0
  469. package/static/admin/assets/language-CaW1LMEk.js.gz +0 -0
  470. package/static/admin/assets/link-C93f4PgI.js +1 -0
  471. package/static/admin/assets/list-C7O8B4zW.js +1 -0
  472. package/static/admin/assets/list-C7O8B4zW.js.gz +0 -0
  473. package/static/admin/assets/list-DUaPnccL.js +1 -0
  474. package/static/admin/assets/list-DUaPnccL.js.gz +0 -0
  475. package/static/admin/assets/lock-Bexeb9hp.js +1 -0
  476. package/static/admin/assets/log-CF2F-nSs.js +1 -0
  477. package/static/admin/assets/log-CF2F-nSs.js.gz +0 -0
  478. package/static/admin/assets/log-g6qirYnf.js +1 -0
  479. package/static/admin/assets/log-g6qirYnf.js.gz +0 -0
  480. package/static/admin/assets/login-1ezV0PC1.css +1 -0
  481. package/static/admin/assets/login-1ezV0PC1.css.gz +0 -0
  482. package/static/admin/assets/login-BnkuYS6J.js +22 -0
  483. package/static/admin/assets/login-BnkuYS6J.js.gz +0 -0
  484. package/static/admin/assets/login-background-Yn3y1TP_.jpg +0 -0
  485. package/static/admin/assets/logininfor-Bm9ZYYR7.js +1 -0
  486. package/static/admin/assets/logininfor-Bm9ZYYR7.js.gz +0 -0
  487. package/static/admin/assets/logo-BjsPc2xl.png +0 -0
  488. package/static/admin/assets/menu-BIu3IsSF.js +1 -0
  489. package/static/admin/assets/message-UkR-VIBB.js +1 -0
  490. package/static/admin/assets/money-B1qqPuhn.js +1 -0
  491. package/static/admin/assets/monitor-gwnnVq4l.js +1 -0
  492. package/static/admin/assets/monitor-gwnnVq4l.js.gz +0 -0
  493. package/static/admin/assets/nested-B4d5u3hW.js +1 -0
  494. package/static/admin/assets/number-D4hB_nHC.js +1 -0
  495. package/static/admin/assets/number-D4hB_nHC.js.gz +0 -0
  496. package/static/admin/assets/online-C2ZP8pdY.js +1 -0
  497. package/static/admin/assets/online-C2ZP8pdY.js.gz +0 -0
  498. package/static/admin/assets/password-DfGvqQpB.js +1 -0
  499. package/static/admin/assets/password-DfGvqQpB.js.gz +0 -0
  500. package/static/admin/assets/pay-2ZbgPnxn.png +0 -0
  501. package/static/admin/assets/pdf-CD9mOGjJ.js +1 -0
  502. package/static/admin/assets/pdf-CD9mOGjJ.js.gz +0 -0
  503. package/static/admin/assets/people-CdGMHN63.js +1 -0
  504. package/static/admin/assets/people-CdGMHN63.js.gz +0 -0
  505. package/static/admin/assets/peoples-BRYsIqmI.js +1 -0
  506. package/static/admin/assets/phone-BpAUIz0g.js +1 -0
  507. package/static/admin/assets/phone-BpAUIz0g.js.gz +0 -0
  508. package/static/admin/assets/pm2-BkmkkE2A.js +1 -0
  509. package/static/admin/assets/post-DrLDyPY9.js +1 -0
  510. package/static/admin/assets/post-DrLDyPY9.js.gz +0 -0
  511. package/static/admin/assets/profile-DruvkrZU.jpg +0 -0
  512. package/static/admin/assets/qq-D8j4O83Y.js +1 -0
  513. package/static/admin/assets/qq-D8j4O83Y.js.gz +0 -0
  514. package/static/admin/assets/question-CvYWQbyW.js +1 -0
  515. package/static/admin/assets/question-CvYWQbyW.js.gz +0 -0
  516. package/static/admin/assets/radio-B0t9wPBQ.js +1 -0
  517. package/static/admin/assets/radio-B0t9wPBQ.js.gz +0 -0
  518. package/static/admin/assets/rate-CgnHQvKS.js +1 -0
  519. package/static/admin/assets/rate-CgnHQvKS.js.gz +0 -0
  520. package/static/admin/assets/redis-D4ECyT6a.js +1 -0
  521. package/static/admin/assets/redis-D4ECyT6a.js.gz +0 -0
  522. package/static/admin/assets/redis-list-BtKGPnqO.js +1 -0
  523. package/static/admin/assets/redis-list-BtKGPnqO.js.gz +0 -0
  524. package/static/admin/assets/register-B9RmZvjt.js +1 -0
  525. package/static/admin/assets/register-B9RmZvjt.js.gz +0 -0
  526. package/static/admin/assets/register-n3u7gqca.css +1 -0
  527. package/static/admin/assets/resetPwd-M0EIDnQk.js +1 -0
  528. package/static/admin/assets/resetPwd-M0EIDnQk.js.gz +0 -0
  529. package/static/admin/assets/role-XbHkNxnW.js +1 -0
  530. package/static/admin/assets/role-XbHkNxnW.js.gz +0 -0
  531. package/static/admin/assets/row-CRXKIHjm.js +1 -0
  532. package/static/admin/assets/row-CRXKIHjm.js.gz +0 -0
  533. package/static/admin/assets/search-CUfclCsR.js +1 -0
  534. package/static/admin/assets/select-DhuHHMxz.js +1 -0
  535. package/static/admin/assets/select-DhuHHMxz.js.gz +0 -0
  536. package/static/admin/assets/selectUser-DA_rE9J_.js +1 -0
  537. package/static/admin/assets/selectUser-DA_rE9J_.js.gz +0 -0
  538. package/static/admin/assets/server-unS7EyF7.js +1 -0
  539. package/static/admin/assets/shopping-CU1IRvxM.js +1 -0
  540. package/static/admin/assets/shopping-CU1IRvxM.js.gz +0 -0
  541. package/static/admin/assets/size-Cj9fB5Rp.js +1 -0
  542. package/static/admin/assets/skill-B8f_I4m_.js +1 -0
  543. package/static/admin/assets/skill-B8f_I4m_.js.gz +0 -0
  544. package/static/admin/assets/slider-BGfehM6X.js +1 -0
  545. package/static/admin/assets/star-kST8a72V.js +1 -0
  546. package/static/admin/assets/store-CX7IRN8X.js +1 -0
  547. package/static/admin/assets/swagger-BHGXZ2Jt.js +1 -0
  548. package/static/admin/assets/swagger-BHGXZ2Jt.js.gz +0 -0
  549. package/static/admin/assets/switch-CvaargRJ.js +1 -0
  550. package/static/admin/assets/system-DcNSH_Fq.js +1 -0
  551. package/static/admin/assets/system-DcNSH_Fq.js.gz +0 -0
  552. package/static/admin/assets/tab-nA3f0aBt.js +1 -0
  553. package/static/admin/assets/table-5PRh60AQ.js +1 -0
  554. package/static/admin/assets/test-CEJIIaDM.js +1 -0
  555. package/static/admin/assets/test-CEJIIaDM.js.gz +0 -0
  556. package/static/admin/assets/textarea-CJWXlgbJ.js +1 -0
  557. package/static/admin/assets/theme-CyGq941x.js +1 -0
  558. package/static/admin/assets/time-BVERp0sU.js +1 -0
  559. package/static/admin/assets/time-BVERp0sU.js.gz +0 -0
  560. package/static/admin/assets/time-range-D3dxgtLj.js +1 -0
  561. package/static/admin/assets/time-range-D3dxgtLj.js.gz +0 -0
  562. package/static/admin/assets/tool-D8kXk1l-.js +1 -0
  563. package/static/admin/assets/tool-D8kXk1l-.js.gz +0 -0
  564. package/static/admin/assets/tree-BCtS3oPD.js +1 -0
  565. package/static/admin/assets/tree-BCtS3oPD.js.gz +0 -0
  566. package/static/admin/assets/tree-table-CnOS99I9.js +1 -0
  567. package/static/admin/assets/tree-table-CnOS99I9.js.gz +0 -0
  568. package/static/admin/assets/type-BU7MsCG8.js +1 -0
  569. package/static/admin/assets/upload-BueI-Il1.js +1 -0
  570. package/static/admin/assets/upload-BueI-Il1.js.gz +0 -0
  571. package/static/admin/assets/user-DCGYGA9G.js +1 -0
  572. package/static/admin/assets/user-DCGYGA9G.js.gz +0 -0
  573. package/static/admin/assets/user-DqMuW5cU.js +1 -0
  574. package/static/admin/assets/userAvatar-BAmwMY1G.css +1 -0
  575. package/static/admin/assets/userAvatar-BAmwMY1G.css.gz +0 -0
  576. package/static/admin/assets/userAvatar-Bax34kaQ.js +7 -0
  577. package/static/admin/assets/userAvatar-Bax34kaQ.js.gz +0 -0
  578. package/static/admin/assets/userInfo-OvdBjEQX.js +1 -0
  579. package/static/admin/assets/userInfo-OvdBjEQX.js.gz +0 -0
  580. package/static/admin/assets/validCode-COB1iLxa.js +1 -0
  581. package/static/admin/assets/validCode-COB1iLxa.js.gz +0 -0
  582. package/static/admin/assets/wechat-lmQOcPZu.js +1 -0
  583. package/static/admin/assets/wechat-lmQOcPZu.js.gz +0 -0
  584. package/static/admin/assets/zip-DIOSZc69.js +1 -0
  585. package/static/admin/assets/zip-DIOSZc69.js.gz +0 -0
  586. package/static/admin/favicon.ico +0 -0
  587. package/static/admin/index.html +216 -0
  588. package/static/admin/index.html.gz +0 -0
  589. package/store1/README.MD +0 -0
  590. package/store1/generic.mjs +102 -0
  591. package/store1/index.mjs +30 -0
  592. package/store1/monitor.mjs +13 -0
  593. package/store1/role.mjs +137 -0
  594. package/store1/store/0/data +0 -0
  595. package/store1/store/0/index +0 -0
  596. package/store1/store/0/index.mjs +15 -0
  597. package/store1/store/1/buffer/464135 +1 -0
  598. package/store1/store/1/buffer/464587 +1 -0
  599. package/store1/store/1/data +0 -0
  600. package/store1/store/1/data-LAPTOP-S8G0S6EH +0 -0
  601. package/store1/store/1/index +0 -0
  602. package/store1/store/1/index-LAPTOP-S8G0S6EH +0 -0
  603. package/store1/store/1/index.mjs +4045 -0
  604. package/store1/store/1/type.ts +1492 -0
  605. package/store1/store/index.mjs +23 -0
  606. package/store1/store2/0/data +0 -0
  607. package/store1/store2/0/index +0 -0
  608. package/store1/store2/0/index.mjs +15 -0
  609. package/store1/store2/1/buffer/464135 +1 -0
  610. package/store1/store2/1/buffer/464587 +1 -0
  611. package/store1/store2/1/data +0 -0
  612. package/store1/store2/1/data-LAPTOP-S8G0S6EH +0 -0
  613. package/store1/store2/1/index +0 -0
  614. package/store1/store2/1/index-LAPTOP-S8G0S6EH +0 -0
  615. package/store1/store2/1/index.mjs +4045 -0
  616. package/store1/store2/1/type.ts +1492 -0
  617. package/store1/store2/index.mjs +23 -0
  618. package/store1/system.mjs +67 -0
  619. package/store1/tool.mjs +472 -0
  620. package/store1/user.mjs +228 -0
@@ -0,0 +1,240 @@
1
+ <script setup>
2
+ import {directory, file, listUpload, remove, rename} from "@/api/tool/upload.js";
3
+ import {addRole, updateRole} from "@/api/system/role.js";
4
+
5
+ const {proxy} = getCurrentInstance();
6
+
7
+ const data = reactive({
8
+ queryParams: {
9
+ name: undefined,
10
+ },
11
+ form: {},
12
+ rules: {
13
+ name: [{required: true, message: "目录名称不能为空", trigger: "blur"}],
14
+ newName: [{required: true, message: "目录名称不能为空", trigger: "blur"}, {
15
+ pattern: /[\\/:*?"<>|]/,
16
+ message: "请输入正确的目录名称",
17
+ trigger: "blur"
18
+ }],
19
+ },
20
+ });
21
+
22
+ const tableList = ref([]);
23
+ const {queryParams, form, rules} = toRefs(data);
24
+ const showSearch = ref(true);
25
+ const loading = ref(true);
26
+ const multiple = ref(true);
27
+ const single = ref(true);
28
+ const open = ref(false);
29
+ const dateRange = ref([]);
30
+ const ids = ref([]);
31
+ const uploadObj = ref({
32
+ uploading: 0,
33
+ uploaded: 0
34
+ })
35
+
36
+ const handleSelectionChange = (selection) => {
37
+ ids.value = selection.map(item => item.name);
38
+ single.value = selection.length != 1;
39
+ multiple.value = !selection.length;
40
+ }
41
+ const getList = () => {
42
+ loading.value = true;
43
+ listUpload(proxy.addDateRange(queryParams.value, dateRange.value)).then(response => {
44
+ tableList.value = response.rows;
45
+ loading.value = false;
46
+ });
47
+ }
48
+ const handleQuery = () => {
49
+ getList();
50
+ }
51
+ const resetQuery = () => {
52
+ dateRange.value = [];
53
+ proxy.resetForm("queryRef");
54
+ handleQuery();
55
+ }
56
+ const entries = async (handle, dir = '') => {
57
+
58
+ uploadObj.value.uploading++
59
+
60
+ if (handle.kind === 'directory') {
61
+
62
+ await directory({dir, name: handle.name})
63
+
64
+ for await (const value of handle.values()) await entries(value, `${dir}${handle.name}/`)
65
+
66
+ uploadObj.value.uploaded++
67
+
68
+ } else {
69
+
70
+ const f = await handle.getFile()
71
+ const data = new FormData
72
+
73
+ data.append('dir', dir)
74
+ data.append('name', f.name)
75
+ data.append('file', f)
76
+
77
+ data.i = uploadObj.value.uploaded
78
+
79
+ await file(data)
80
+
81
+ uploadObj.value.uploaded++
82
+ }
83
+ }
84
+ const handleUpload = () => {
85
+ uploadObj.value.uploading = 0
86
+ uploadObj.value.uploaded = 0
87
+ window.showDirectoryPicker().then(entries).then(() => getList())
88
+ }
89
+ const reset = () => {
90
+ form.value = {
91
+ name: undefined,
92
+ newName: undefined,
93
+ };
94
+ proxy.resetForm("nameRef");
95
+ }
96
+ const handleEdit = (row) => {
97
+ reset();
98
+ open.value = true;
99
+ form.value = row
100
+ }
101
+ const handleDelete = (row) => {
102
+ const names = row.name || ids.value;
103
+ proxy.$modal.confirm('是否确认删除"' + names + '"?').then(function () {
104
+ return remove(names);
105
+ }).then(() => {
106
+ getList();
107
+ proxy.$modal.msgSuccess("删除成功");
108
+ }).catch(() => {
109
+ });
110
+ }
111
+ const cancel = () => {
112
+ open.value = false;
113
+ reset();
114
+ }
115
+ const submitForm = () => {
116
+
117
+ proxy.$refs["nameRef"].validate(valid => {
118
+ if (valid) {
119
+ rename({
120
+ name: form.value.name,
121
+ newName: form.value.newName,
122
+ }).then(() => {
123
+ proxy.$modal.msgSuccess("修改成功");
124
+ open.value = false;
125
+ getList();
126
+ });
127
+ }
128
+ });
129
+ }
130
+
131
+ getList()
132
+ </script>
133
+
134
+ <template>
135
+ <div class="app-container">
136
+ <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
137
+ <el-form-item label="名称" prop="name">
138
+ <el-input
139
+ v-model="queryParams.name"
140
+ placeholder="请输入名称"
141
+ clearable
142
+ style="width: 200px"
143
+ @keyup.enter="handleQuery"
144
+ />
145
+ </el-form-item>
146
+ <el-form-item label="创建时间" style="width: 308px">
147
+ <el-date-picker
148
+ v-model="dateRange"
149
+ value-format="YYYY-MM-DD"
150
+ type="daterange"
151
+ range-separator="-"
152
+ start-placeholder="开始日期"
153
+ end-placeholder="结束日期"
154
+ ></el-date-picker>
155
+ </el-form-item>
156
+ <el-form-item>
157
+ <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
158
+ <el-button icon="Refresh" @click="resetQuery">重置</el-button>
159
+ </el-form-item>
160
+ </el-form>
161
+
162
+ <el-row :gutter="10" class="mb8">
163
+ <el-col :span="1.5">
164
+ <el-button
165
+ type="success"
166
+ plain
167
+ icon="UploadFilled"
168
+ @click="handleUpload"
169
+ v-if="uploadObj.uploading === uploadObj.uploaded"
170
+ v-hasPermi="['tool:upload:upload']"
171
+ >上传
172
+ </el-button>
173
+ <el-button
174
+ type="success"
175
+ plain
176
+ icon="UploadFilled"
177
+ v-else
178
+ >上传中 {{uploadObj.uploaded}}/{{uploadObj.uploading}}
179
+ </el-button>
180
+ </el-col>
181
+ <el-col :span="1.5">
182
+ <el-button
183
+ type="danger"
184
+ plain
185
+ icon="Delete"
186
+ :disabled="multiple"
187
+ @click="handleDelete"
188
+ v-hasPermi="['tool:upload:remove']"
189
+ >删除
190
+ </el-button>
191
+ </el-col>
192
+ <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
193
+ </el-row>
194
+
195
+ <el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
196
+ <el-table-column type="selection" align="center" width="55"></el-table-column>
197
+ <el-table-column label="序号" type="index" width="50" align="center">
198
+ <template #default="scope">
199
+ <span>{{ scope.$index + 1 }}</span>
200
+ </template>
201
+ </el-table-column>
202
+ <el-table-column label="服务名称" align="center" prop="name"/>
203
+ <el-table-column label="创建时间" align="center" prop="createTime"/>
204
+ <el-table-column label="更新时间" align="center" prop="updateTime"/>
205
+ <el-table-column label="操作" align="center" width="330" class-name="small-padding fixed-width">
206
+ <template #default="scope">
207
+ <el-tooltip content="编辑" placement="top">
208
+ <el-button link type="primary" icon="Edit" @click="handleEdit(scope.row)"
209
+ v-hasPermi="['tool:upload:edit']"></el-button>
210
+ </el-tooltip>
211
+ <el-tooltip content="删除" placement="top">
212
+ <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
213
+ v-hasPermi="['tool:upload:remove']"></el-button>
214
+ </el-tooltip>
215
+ </template>
216
+ </el-table-column>
217
+ </el-table>
218
+
219
+ <el-dialog title="修改资源目录" v-model="open" width="500px" append-to-body>
220
+ <el-form ref="nameRef" :model="form" :rules="rules" label-width="100px">
221
+ <el-form-item label="原目录名称" prop="name">
222
+ <el-input v-model="form.name" placeholder="请输入目录名称" readonly/>
223
+ </el-form-item>
224
+ <el-form-item label="新目录名称" prop="newName">
225
+ <el-input v-model="form.newName" placeholder="请输入目录名称"/>
226
+ </el-form-item>
227
+ </el-form>
228
+ <template #footer>
229
+ <div class="dialog-footer">
230
+ <el-button type="primary" @click="submitForm">确 定</el-button>
231
+ <el-button @click="cancel">取 消</el-button>
232
+ </div>
233
+ </template>
234
+ </el-dialog>
235
+ </div>
236
+ </template>
237
+
238
+ <style scoped lang="scss">
239
+
240
+ </style>
@@ -0,0 +1,58 @@
1
+ import { defineConfig, loadEnv } from 'vite'
2
+ import path from 'path'
3
+ import createVitePlugins from './vite/plugins'
4
+
5
+ // https://vitejs.dev/config/
6
+ export default defineConfig(({ mode, command }) => {
7
+ const env = loadEnv(mode, process.cwd())
8
+ const { VITE_APP_ENV } = env
9
+ return {
10
+ // 部署生产环境和开发环境下的URL。
11
+ // 默认情况下,vite 会假设你的应用是被部署在一个域名的根路径上
12
+ // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
13
+ base: VITE_APP_ENV === 'production' ? '' : '/',
14
+ plugins: createVitePlugins(env, command === 'build'),
15
+ resolve: {
16
+ // https://cn.vitejs.dev/config/#resolve-alias
17
+ alias: {
18
+ // 设置路径
19
+ '~': path.resolve(__dirname, './'),
20
+ // 设置别名
21
+ '@': path.resolve(__dirname, './src')
22
+ },
23
+ // https://cn.vitejs.dev/config/#resolve-extensions
24
+ extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
25
+ },
26
+ // vite 相关配置
27
+ server: {
28
+ port: 80,
29
+ host: true,
30
+ open: true,
31
+ proxy: {
32
+ // https://cn.vitejs.dev/config/#server-proxy
33
+ '/dev-api': {
34
+ target: 'http://localhost:8080',
35
+ changeOrigin: true,
36
+ rewrite: (p) => p.replace(/^\/dev-api/, '')
37
+ }
38
+ }
39
+ },
40
+ //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
41
+ css: {
42
+ postcss: {
43
+ plugins: [
44
+ {
45
+ postcssPlugin: 'internal:charset-removal',
46
+ AtRule: {
47
+ charset: (atRule) => {
48
+ if (atRule.name === 'charset') {
49
+ atRule.remove();
50
+ }
51
+ }
52
+ }
53
+ }
54
+ ]
55
+ }
56
+ }
57
+ }
58
+ })
package/index.mjs ADDED
@@ -0,0 +1,28 @@
1
+
2
+ import { Worker, isMainThread } from 'node:worker_threads';
3
+
4
+ const files = [
5
+ './proxy/index.mjs',
6
+ './admin/index.mjs',
7
+ // './app/index.mjs',
8
+ './jwt/index.mjs',
9
+ './store1/index.mjs',
10
+ ]
11
+
12
+ const workers = new Set;
13
+
14
+ for (const file of files) {
15
+
16
+ const path = import.meta.resolve(file).substring(process.platform === "win32" ? 8 : 7)
17
+
18
+ workers.add(new Worker(decodeURI(path)))
19
+ }
20
+
21
+ process.on('beforeExit', () => {
22
+
23
+ for (const worker of workers.values()) {
24
+
25
+ worker.dispose();
26
+ }
27
+ })
28
+
package/jwt/README.MD ADDED
@@ -0,0 +1,12 @@
1
+ Header: {
2
+ 'alg': "HS256",
3
+ 'typ': "JWT"
4
+ }
5
+
6
+ Payload: {
7
+ "sub": '1234567890',
8
+ "name": 'john',
9
+ "admin":true
10
+ }
11
+
12
+ Signature: HMACSHA256(base64UrlEncode(header) + "." + base64UrlEncode(payload), secret)
package/jwt/index.mjs ADDED
@@ -0,0 +1,17 @@
1
+ import createServer from 'tools2/server.mjs'
2
+ import {jwtPort as port} from "../common/config.mjs";
3
+ import {service as pools} from "../common/service.mjs";
4
+ import {fromJWT, toJWT} from "../common/tools.mjs";
5
+
6
+ const map = new Map
7
+
8
+ const service = createServer({pools, port, map})
9
+
10
+ console.log('running on ' + port)
11
+
12
+ map.set('/login', data => service.store1.login(data).then(data => ({code: 200, token: toJWT(data)})))
13
+ map.set('/logout', data => console.log(data))
14
+ map.set('/update', data => {
15
+ data = fromJWT(data, false)
16
+ return service.store1.checkJWT({userId: data.userId, jti: data.jti}).then(_ => toJWT(data, data.sub))
17
+ })
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@k3000/s1",
3
+ "version": "0.1.0",
4
+ "description": "",
5
+ "scripts": {
6
+ "admin": "node admin/index.mjs",
7
+ "store1": "node store1/index.mjs",
8
+ "proxy": "node proxy/index.mjs",
9
+ "jwt": "node jwt/index.mjs",
10
+ "app": "node app/index.mjs"
11
+ },
12
+ "dependencies": {
13
+ "@k3000/store": "^0.1.0",
14
+ "@types/node": "^20.16.1",
15
+ "archiver": "^7.0.1",
16
+ "body-parser": "^1.20.2",
17
+ "express-fileupload": "^1.5.0",
18
+ "mysql2": "^3.10.2",
19
+ "ssh2": "^1.15.0",
20
+ "svg-captcha": "^1.4.0"
21
+ }
22
+ }
File without changes
@@ -0,0 +1,16 @@
1
+ import {createProxy} from "tools2/proxy.mjs";
2
+ import {proxyMap, proxyPort} from "../common/config.mjs";
3
+
4
+ try {
5
+
6
+ createProxy({
7
+ map: proxyMap,
8
+ port: proxyPort,
9
+ })
10
+
11
+ } catch (e) {
12
+
13
+ console.error(e);
14
+ }
15
+
16
+ console.log('running on ' + proxyPort)
File without changes
@@ -0,0 +1 @@
1
+ import{_ as h,r as f,d as n,o as m,c as k,e as t,f as o,p as _,m as e,h as b,v as g,s as w,t as x}from"./index-BYiWbDzj.js";const I=""+new URL("401-HGF6Q5qM.gif",import.meta.url).href,a=s=>(w("data-v-980b8710"),s=s(),x(),s),v={class:"errPage-container"},y=a(()=>e("h1",{class:"text-jumbo text-ginormous"}," 401错误! ",-1)),B=a(()=>e("h2",null,"您没有访问权限!",-1)),C=a(()=>e("h6",null,"对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面",-1)),G={class:"list-unstyled"},N={class:"link-type"},S=["src"],V={__name:"401",setup(s){let{proxy:c}=g();const l=f(I+"?"+ +new Date);function i(){c.$route.query.noGoBack?c.$router.push({path:"/"}):c.$router.go(-1)}return($,q)=>{const u=n("el-button"),p=n("router-link"),r=n("el-col"),d=n("el-row");return m(),k("div",v,[t(u,{icon:"arrow-left",class:"pan-back-btn",onClick:i},{default:o(()=>[_(" 返回 ")]),_:1}),t(d,null,{default:o(()=>[t(r,{span:12},{default:o(()=>[y,B,C,e("ul",G,[e("li",N,[t(p,{to:"/"},{default:o(()=>[_(" 回首页 ")]),_:1})])])]),_:1}),t(r,{span:12},{default:o(()=>[e("img",{src:b(l),width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,S)]),_:1})]),_:1})])}}},D=h(V,[["__scopeId","data-v-980b8710"]]);export{D as default};
@@ -0,0 +1 @@
1
+ .errPage-container[data-v-980b8710]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-980b8710]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-980b8710]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-980b8710]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-980b8710]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-980b8710]{font-size:14px}.errPage-container .list-unstyled li[data-v-980b8710]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-980b8710]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-980b8710]:hover{text-decoration:underline}
@@ -0,0 +1 @@
1
+ import{_,y as i,d as l,o as d,c as r,m as s,z as n,h as p,e as h,f as m,A as u,p as v,s as b,t as f}from"./index-BYiWbDzj.js";const g=""+new URL("404-N4aRkdWY.png",import.meta.url).href,e=""+new URL("404_cloud-CPexjtDj.png",import.meta.url).href,a=t=>(b("data-v-5945313b"),t=t(),f(),t),x={class:"wscn-http404-container"},w={class:"wscn-http404"},k=u('<div class="pic-404" data-v-5945313b><img class="pic-404__parent" src="'+g+'" alt="404" data-v-5945313b><img class="pic-404__child left" src="'+e+'" alt="404" data-v-5945313b><img class="pic-404__child mid" src="'+e+'" alt="404" data-v-5945313b><img class="pic-404__child right" src="'+e+'" alt="404" data-v-5945313b></div>',1),N={class:"bullshit"},S=a(()=>s("div",{class:"bullshit__oops"}," 404错误! ",-1)),I={class:"bullshit__headline"},R=a(()=>s("div",{class:"bullshit__info"}," 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ",-1)),V={__name:"404",setup(t){let c=i(()=>"找不到网页!");return(B,C)=>{const o=l("router-link");return d(),r("div",x,[s("div",w,[k,s("div",N,[S,s("div",I,n(p(c)),1),R,h(o,{to:"/index",class:"bullshit__return-home"},{default:m(()=>[v(" 返回首页 ")]),_:1})])])])}}},U=_(V,[["__scopeId","data-v-5945313b"]]);export{U as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M121.718%2073.272v9.953c3.957-7.584%206.199-16.05%206.199-24.995C127.917%2026.079%2099.273%200%2063.958%200%2028.644%200%200%2026.079%200%2058.23c0%20.403.028.806.028%201.21l22.97-25.953h13.34l-19.76%2027.187h6.42V53.77l13.728-19.477v49.361H22.998V73.272H2.158c5.951%2020.284%2023.608%2036.208%2045.998%2041.399-1.44%203.3-5.618%2011.263-12.565%2012.674-8.607%201.764%2023.358.428%2046.163-13.178%2017.519-4.611%2031.938-15.849%2039.77-30.513h-13.506V73.272H85.02V59.464l22.998-25.977h13.008l-19.429%2027.187h6.421v-7.433l13.727-19.402v39.433h-.027zm-78.24%202.822a10.516%2010.516%200%200%201-.996-4.535V44.548c0-1.613.332-3.124.996-4.535a11.66%2011.66%200%200%201%202.713-3.68c1.134-1.032%202.49-1.864%204.04-2.468%201.55-.605%203.21-.908%204.982-.908h11.292c1.77%200%203.431.303%204.981.908%201.522.604%202.85%201.41%203.986%202.418l-12.26%2016.303v-2.898a1.96%201.96%200%200%200-.665-1.512c-.443-.403-.996-.604-1.66-.604-.665%200-1.218.201-1.661.604a1.96%201.96%200%200%200-.664%201.512v9.071L44.364%2077.606a10.556%2010.556%200%200%201-.886-1.512zm35.73-4.535c0%201.613-.332%203.124-.997%204.535a11.66%2011.66%200%200%201-2.712%203.68c-1.134%201.032-2.49%201.864-4.04%202.469-1.55.604-3.21.907-4.982.907H55.185c-1.77%200-3.431-.303-4.981-.907-1.55-.605-2.906-1.437-4.041-2.47a12.49%2012.49%200%200%201-1.384-1.512l13.727-18.217v6.375c0%20.605.222%201.109.665%201.512.442.403.996.604%201.66.604.664%200%201.218-.201%201.66-.604a1.96%201.96%200%200%200%20.665-1.512V53.87L75.97%2036.838c.913.932%201.66%201.99%202.214%203.175.664%201.41.996%202.922.996%204.535v27.011h.028z'/%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ .wscn-http404-container[data-v-5945313b]{transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-5945313b]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-5945313b]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-5945313b]{width:100%}.wscn-http404 .pic-404__child[data-v-5945313b]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-5945313b]{width:80px;top:17px;left:220px;opacity:0;animation-name:cloudLeft-5945313b;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-5945313b]{width:46px;top:10px;left:420px;opacity:0;animation-name:cloudMid-5945313b;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-5945313b]{width:62px;top:100px;left:500px;opacity:0;animation-name:cloudRight-5945313b;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}@keyframes cloudLeft-5945313b{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudMid-5945313b{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudRight-5945313b{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-5945313b]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-5945313b]{font-size:32px;font-weight:700;line-height:40px;color:#1482f0;opacity:0;margin-bottom:20px;animation-name:slideUp-5945313b;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-5945313b]{font-size:20px;line-height:24px;color:#222;font-weight:700;opacity:0;margin-bottom:10px;animation-name:slideUp-5945313b;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-5945313b]{font-size:13px;line-height:21px;color:gray;opacity:0;margin-bottom:30px;animation-name:slideUp-5945313b;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-5945313b]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;opacity:0;font-size:14px;line-height:36px;cursor:pointer;animation-name:slideUp-5945313b;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-5945313b{0%{transform:translateY(60px);opacity:0}to{transform:translateY(0);opacity:1}}
@@ -0,0 +1 @@
1
+ import{u as E,r as i,F,d as s,G as K,o as x,c as O,e as t,f as a,h as o,H as y,l as G,m,z as C,I as H,D as V,p as S,B as P,v as q}from"./index-BYiWbDzj.js";import{a as J,u as L}from"./user-DCGYGA9G.js";const M={class:"app-container"},Q=m("h4",{class:"form-header h4"},"基本信息",-1),W=m("h4",{class:"form-header h4"},"角色信息",-1),X={style:{"text-align":"center","margin-left":"-120px","margin-top":"30px"}},Y=P({name:"AuthRole"}),oe=Object.assign(Y,{setup(Z){const b=E(),{proxy:f}=q(),g=i(!0),v=i(0),u=i(1),d=i(10),h=i([]),_=i([]),r=i({nickName:void 0,userName:void 0,userId:void 0});function $(l){f.$refs.roleRef.toggleRowSelection(l)}function B(l){h.value=l.map(e=>e.roleId)}function T(l){return l.roleId}function w(){const l={path:"/system/user"};f.$tab.closeOpenPage(l)}function D(){const l=r.value.userId,e=h.value.join(",");L({userId:l,roleIds:e}).then(c=>{f.$modal.msgSuccess("授权成功"),w()})}return(()=>{const l=b.params&&b.params.userId;l&&(g.value=!0,J(l).then(e=>{r.value=e.user,_.value=e.roles,v.value=_.value.length,F(()=>{_.value.forEach(c=>{c.flag&&f.$refs.roleRef.toggleRowSelection(c)})}),g.value=!1}))})(),(l,e)=>{const c=s("el-input"),I=s("el-form-item"),k=s("el-col"),U=s("el-row"),N=s("el-form"),p=s("el-table-column"),j=s("el-table"),A=s("pagination"),R=s("el-button"),z=K("loading");return x(),O("div",M,[Q,t(N,{model:o(r),"label-width":"80px"},{default:a(()=>[t(U,null,{default:a(()=>[t(k,{span:8,offset:2},{default:a(()=>[t(I,{label:"用户昵称",prop:"nickName"},{default:a(()=>[t(c,{modelValue:o(r).nickName,"onUpdate:modelValue":e[0]||(e[0]=n=>o(r).nickName=n),disabled:""},null,8,["modelValue"])]),_:1})]),_:1}),t(k,{span:8,offset:2},{default:a(()=>[t(I,{label:"登录账号",prop:"userName"},{default:a(()=>[t(c,{modelValue:o(r).userName,"onUpdate:modelValue":e[1]||(e[1]=n=>o(r).userName=n),disabled:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),W,y((x(),G(j,{"row-key":T,onRowClick:$,ref:"roleRef",onSelectionChange:B,data:o(_).slice((o(u)-1)*o(d),o(u)*o(d))},{default:a(()=>[t(p,{label:"序号",width:"55",type:"index",align:"center"},{default:a(n=>[m("span",null,C((o(u)-1)*o(d)+n.$index+1),1)]),_:1}),t(p,{type:"selection","reserve-selection":!0,width:"55"}),t(p,{label:"角色编号",align:"center",prop:"roleId"}),t(p,{label:"角色名称",align:"center",prop:"roleName"}),t(p,{label:"权限字符",align:"center",prop:"roleKey"}),t(p,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:a(n=>[m("span",null,C(l.parseTime(n.row.createTime)),1)]),_:1})]),_:1},8,["data"])),[[z,o(g)]]),y(t(A,{total:o(v),page:o(u),"onUpdate:page":e[2]||(e[2]=n=>V(u)?u.value=n:null),limit:o(d),"onUpdate:limit":e[3]||(e[3]=n=>V(d)?d.value=n:null)},null,8,["total","page","limit"]),[[H,o(v)>0]]),t(N,{"label-width":"100px"},{default:a(()=>[m("div",X,[t(R,{type:"primary",onClick:e[4]||(e[4]=n=>D())},{default:a(()=>[S("提交")]),_:1}),t(R,{onClick:e[5]||(e[5]=n=>w())},{default:a(()=>[S("返回")]),_:1})])]),_:1})])}}});export{oe as default};
@@ -0,0 +1 @@
1
+ import{u as G,r as d,C as H,d as r,G as V,o as h,c as J,H as m,I as $,h as o,e,f as t,k as x,p as _,l as w,D as M,m as W,z as X,B as Y,v as Z}from"./index-BYiWbDzj.js";import ee from"./selectUser-DA_rE9J_.js";import{a as oe,b as te,c as le}from"./role-XbHkNxnW.js";const ne={class:"app-container"},ae=Y({name:"AuthUser"}),pe=Object.assign(ae,{setup(se){const R=G(),{proxy:i}=Z(),{sys_normal_disable:P}=i.useDict("sys_normal_disable"),k=d([]),y=d(!0),g=d(!0),N=d(!0),v=d(0),U=d([]),n=H({pageNum:1,pageSize:10,roleId:R.params.roleId,userName:void 0,phonenumber:void 0});function c(){y.value=!0,oe(n).then(s=>{k.value=s.rows,v.value=s.total,y.value=!1})}function A(){const s={path:"/system/role"};i.$tab.closeOpenPage(s)}function f(){n.pageNum=1,c()}function B(){i.resetForm("queryRef"),f()}function D(s){U.value=s.map(a=>a.userId),N.value=!s.length}function T(){i.$refs.selectRef.show()}function z(s){i.$modal.confirm('确认要取消该用户"'+s.userName+'"角色吗?').then(function(){return te({userId:s.userId,roleId:n.roleId})}).then(()=>{c(),i.$modal.msgSuccess("取消授权成功")}).catch(()=>{})}function j(s){const a=n.roleId,b=U.value.join(",");i.$modal.confirm("是否取消选中用户授权数据项?").then(function(){return le({roleId:a,userIds:b})}).then(()=>{c(),i.$modal.msgSuccess("取消授权成功")}).catch(()=>{})}return c(),(s,a)=>{const b=r("el-input"),C=r("el-form-item"),p=r("el-button"),q=r("el-form"),I=r("el-col"),K=r("right-toolbar"),L=r("el-row"),u=r("el-table-column"),O=r("dict-tag"),Q=r("el-table"),E=r("pagination"),S=V("hasPermi"),F=V("loading");return h(),J("div",ne,[m(e(q,{model:o(n),ref:"queryRef",inline:!0},{default:t(()=>[e(C,{label:"用户名称",prop:"userName"},{default:t(()=>[e(b,{modelValue:o(n).userName,"onUpdate:modelValue":a[0]||(a[0]=l=>o(n).userName=l),placeholder:"请输入用户名称",clearable:"",style:{width:"240px"},onKeyup:x(f,["enter"])},null,8,["modelValue"])]),_:1}),e(C,{label:"手机号码",prop:"phonenumber"},{default:t(()=>[e(b,{modelValue:o(n).phonenumber,"onUpdate:modelValue":a[1]||(a[1]=l=>o(n).phonenumber=l),placeholder:"请输入手机号码",clearable:"",style:{width:"240px"},onKeyup:x(f,["enter"])},null,8,["modelValue"])]),_:1}),e(C,null,{default:t(()=>[e(p,{type:"primary",icon:"Search",onClick:f},{default:t(()=>[_("搜索")]),_:1}),e(p,{icon:"Refresh",onClick:B},{default:t(()=>[_("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[$,o(g)]]),e(L,{gutter:10,class:"mb8"},{default:t(()=>[e(I,{span:1.5},{default:t(()=>[m((h(),w(p,{type:"primary",plain:"",icon:"Plus",onClick:T},{default:t(()=>[_("添加用户")]),_:1})),[[S,["system:role:add"]]])]),_:1}),e(I,{span:1.5},{default:t(()=>[m((h(),w(p,{type:"danger",plain:"",icon:"CircleClose",disabled:o(N),onClick:j},{default:t(()=>[_("批量取消授权")]),_:1},8,["disabled"])),[[S,["system:role:remove"]]])]),_:1}),e(I,{span:1.5},{default:t(()=>[e(p,{type:"warning",plain:"",icon:"Close",onClick:A},{default:t(()=>[_("关闭")]),_:1})]),_:1}),e(K,{showSearch:o(g),"onUpdate:showSearch":a[2]||(a[2]=l=>M(g)?g.value=l:null),onQueryTable:c},null,8,["showSearch"])]),_:1}),m((h(),w(Q,{data:o(k),onSelectionChange:D},{default:t(()=>[e(u,{type:"selection",width:"55",align:"center"}),e(u,{label:"用户名称",prop:"userName","show-overflow-tooltip":!0}),e(u,{label:"用户昵称",prop:"nickName","show-overflow-tooltip":!0}),e(u,{label:"邮箱",prop:"email","show-overflow-tooltip":!0}),e(u,{label:"手机",prop:"phonenumber","show-overflow-tooltip":!0}),e(u,{label:"状态",align:"center",prop:"status"},{default:t(l=>[e(O,{options:o(P),value:l.row.status},null,8,["options","value"])]),_:1}),e(u,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:t(l=>[W("span",null,X(s.parseTime(l.row.createTime)),1)]),_:1}),e(u,{label:"操作",align:"center","class-name":"small-padding fixed-width"},{default:t(l=>[m((h(),w(p,{link:"",type:"primary",icon:"CircleClose",onClick:re=>z(l.row)},{default:t(()=>[_("取消授权")]),_:2},1032,["onClick"])),[[S,["system:role:remove"]]])]),_:1})]),_:1},8,["data"])),[[F,o(y)]]),m(e(E,{total:o(v),page:o(n).pageNum,"onUpdate:page":a[3]||(a[3]=l=>o(n).pageNum=l),limit:o(n).pageSize,"onUpdate:limit":a[4]||(a[4]=l=>o(n).pageSize=l),onPagination:c},null,8,["total","page","limit"]),[[$,o(v)>0]]),e(o(ee),{ref:"selectRef",roleId:o(n).roleId,onOk:f},null,8,["roleId"])])}}});export{pe as default};
@@ -0,0 +1 @@
1
+ import{r as i,d as m,o as b,l as p,f as l,e,h as c}from"./index-BYiWbDzj.js";const N={__name:"basicInfoForm",props:{info:{type:Object,default:null}},setup(o){const d=i({tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]});return(V,a)=>{const n=m("el-input"),u=m("el-form-item"),r=m("el-col"),f=m("el-row"),s=m("el-form");return b(),p(s,{ref:"basicInfoForm",model:o.info,rules:c(d),"label-width":"150px"},{default:l(()=>[e(f,null,{default:l(()=>[e(r,{span:12},{default:l(()=>[e(u,{label:"表名称",prop:"tableName"},{default:l(()=>[e(n,{placeholder:"请输入仓库名称",modelValue:o.info.tableName,"onUpdate:modelValue":a[0]||(a[0]=t=>o.info.tableName=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(u,{label:"表描述",prop:"tableComment"},{default:l(()=>[e(n,{placeholder:"请输入",modelValue:o.info.tableComment,"onUpdate:modelValue":a[1]||(a[1]=t=>o.info.tableComment=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(u,{label:"实体类名称",prop:"className"},{default:l(()=>[e(n,{placeholder:"请输入",modelValue:o.info.className,"onUpdate:modelValue":a[2]||(a[2]=t=>o.info.className=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:12},{default:l(()=>[e(u,{label:"作者",prop:"functionAuthor"},{default:l(()=>[e(n,{placeholder:"请输入",modelValue:o.info.functionAuthor,"onUpdate:modelValue":a[3]||(a[3]=t=>o.info.functionAuthor=t)},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{span:24},{default:l(()=>[e(u,{label:"备注",prop:"remark"},{default:l(()=>[e(n,{type:"textarea",rows:3,modelValue:o.info.remark,"onUpdate:modelValue":a[4]||(a[4]=t=>o.info.remark=t)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])}}};export{N as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M127.88%2073.143c0%201.412-.506%202.635-1.518%203.669-1.011%201.033-2.209%201.55-3.592%201.55h-17.887c0%209.296-1.783%2017.178-5.35%2023.645l16.609%2017.044c1.011%201.034%201.517%202.257%201.517%203.67%200%201.412-.506%202.635-1.517%203.668-.958%201.033-2.155%201.55-3.593%201.55-1.438%200-2.635-.517-3.593-1.55l-15.811-16.063a15.49%2015.49%200%200%201-1.196%201.06c-.532.434-1.65%201.208-3.353%202.322a50.104%2050.104%200%200%201-5.192%202.974c-1.758.87-3.94%201.658-6.546%202.364-2.607.706-5.189%201.06-7.748%201.06V47.044H58.89v73.062c-2.716%200-5.417-.367-8.106-1.102-2.688-.734-5.003-1.631-6.945-2.692a66.769%2066.769%200%200%201-5.268-3.179c-1.571-1.057-2.73-1.94-3.476-2.65L33.9%20109.34l-14.611%2016.877c-1.066%201.14-2.344%201.711-3.833%201.711-1.277%200-2.422-.434-3.434-1.304-1.012-.978-1.557-2.187-1.635-3.627-.079-1.44.333-2.705%201.236-3.794l16.129-18.51c-3.087-6.197-4.63-13.644-4.63-22.342H5.235c-1.383%200-2.58-.517-3.592-1.55S.125%2074.545.125%2073.132c0-1.412.506-2.635%201.518-3.668%201.012-1.034%202.21-1.55%203.592-1.55h17.887V43.939L9.308%2029.833c-1.012-1.033-1.517-2.256-1.517-3.669%200-1.412.505-2.635%201.517-3.668%201.012-1.034%202.21-1.55%203.593-1.55s2.58.516%203.593%201.55l13.813%2014.106h67.396l13.814-14.106c1.012-1.034%202.21-1.55%203.592-1.55%201.384%200%202.581.516%203.593%201.55%201.012%201.033%201.518%202.256%201.518%203.668%200%201.413-.506%202.636-1.518%203.67l-13.814%2014.105v23.975h17.887c1.383%200%202.58.516%203.593%201.55%201.011%201.033%201.517%202.256%201.517%203.668l-.005.01zM89.552%2026.175H38.448c0-7.23%202.489-13.386%207.466-18.469C50.892%202.623%2056.92.082%2064%20.082c7.08%200%2013.108%202.541%2018.086%207.624%204.977%205.083%207.466%2011.24%207.466%2018.469z'/%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1568899741379'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2054'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M960%20591.424V368.96c0-0.288%200.16-0.512%200.16-0.768S960%20367.68%20960%20367.424V192a32%2032%200%200%200-32-32H96a32%2032%200%200%200-32%2032v175.424c0%200.288-0.16%200.512-0.16%200.768s0.16%200.48%200.16%200.768v222.464c0%200.288-0.16%200.512-0.16%200.768s0.16%200.48%200.16%200.768V864a32%2032%200%200%200%2032%2032h832a32%2032%200%200%200%2032-32v-271.04c0-0.288%200.16-0.512%200.16-0.768S960%20591.68%20960%20591.424z%20m-560-31.232v-160H608v160h-208z%20m208%2064V832h-208v-207.808H608z%20m-480-224h208v160H128v-160z%20m544%200h224v160h-224v-160zM896%20224v112.192H128V224h768zM128%20624.192h208V832H128v-207.808zM672%20832v-207.808h224V832h-224z'%20p-id='2055'%3e%3c/path%3e%3c/svg%3e";export{e as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1588670460195'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1314'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M230.4%20307.712c13.824%200%2025.088-11.264%2025.088-25.088%200-100.352%2081.92-182.272%20182.272-182.272s182.272%2081.408%20182.272%20182.272c0%2013.824%2011.264%2025.088%2025.088%2025.088s25.088-11.264%2024.576-25.088c0-127.488-103.936-231.936-231.936-231.936S205.824%20154.624%20205.824%20282.624c-0.512%2014.336%2010.752%2025.088%2024.576%2025.088z%20m564.736%20234.496c-11.264%200-21.504%202.048-31.232%206.144%200-44.544-40.448-81.92-88.064-81.92-14.848%200-28.16%203.584-39.936%2010.24-13.824-28.16-44.544-48.128-78.848-48.128-12.288%200-24.576%202.56-35.328%207.68V284.16c0-45.568-37.888-81.92-84.48-81.92s-84.48%2036.864-84.48%2081.92v348.672l-69.12-112.64c-18.432-28.16-58.368-36.864-91.136-19.968-26.624%2014.336-46.592%2047.104-30.208%2088.064%203.072%208.192%2076.8%20205.312%20171.52%20311.296%200%200%2028.16%2024.576%2043.008%2058.88%204.096%209.728%2013.312%2015.36%2022.528%2015.36%203.072%200%206.656-0.512%209.728-2.048%2012.288-5.12%2018.432-19.968%2012.8-32.256-19.456-44.544-53.76-74.752-53.76-74.752C281.6%20768%20209.408%20573.44%20208.384%20570.88c-5.12-12.8-2.56-20.992%207.168-26.112%209.216-4.608%2021.504-4.608%2026.112%202.56l113.152%20184.32c4.096%208.704%2012.8%2014.336%2022.528%2014.336%2013.824%200%2025.088-10.752%2025.088-25.088V284.16c0-17.92%2015.36-32.256%2034.816-32.256s34.816%2014.336%2034.816%2032.256v284.16c0%2013.824%2010.24%2025.088%2024.576%2025.088%2013.824%200%2025.088-11.264%2025.088-25.088v-57.344c0-17.92%2015.36-32.768%2034.816-32.768%2019.968%200%2037.376%2015.36%2037.376%2032.768v95.232c0%207.168%203.072%2013.312%207.68%2017.92%204.608%204.608%2010.752%207.168%2017.92%207.168%2013.824%200%2024.576-11.264%2024.576-25.088V547.84c0-18.432%2013.824-32.256%2032.256-32.256%2020.48%200%2038.912%2015.36%2038.912%2032.256v95.232c0%2013.824%2011.264%2025.088%2025.088%2025.088s24.576-11.264%2025.088-25.088v-18.944c0-18.944%2012.8-32.256%2030.72-32.256%2018.432%200%2022.528%2018.944%2022.528%2031.744%200%201.024-11.776%2099.84-50.688%20173.056-30.72%2058.368-45.056%20112.128-51.2%20146.944-2.56%2013.312%206.656%2026.112%2019.968%2028.672%201.536%200%203.072%200.512%204.608%200.512%2011.776%200%2022.016-8.192%2024.064-20.48%205.632-31.232%2018.432-79.36%2046.08-132.608%2043.52-81.92%2055.808-186.88%2056.32-193.536-0.512-50.688-29.696-83.968-72.704-83.968z'%3e%3c/path%3e%3c/path%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ import{T as t}from"./index-BYiWbDzj.js";function r(){return t({url:"/monitor/cache",method:"get"})}function o(){return t({url:"/monitor/cache/getNames",method:"get"})}function n(e){return t({url:"/monitor/cache/getKeys/"+e,method:"get"})}function l(e,c){return t({url:"/monitor/cache/getValue/"+e+"/"+c,method:"get"})}function h(e){return t({url:"/monitor/cache/clearCacheName/"+e,method:"delete"})}function u(e){return t({url:"/monitor/cache/clearCacheKey/"+e,method:"delete"})}function m(){return t({url:"/monitor/cache/clearCacheAll",method:"delete"})}export{n as a,u as b,h as c,l as d,m as e,r as g,o as l};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1576153230908'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='971'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='81'%20height='81'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M772.87036133%20734.06115723c-43.34106445%200-80.00793458%2027.93273926-93.76831055%2066.57714843H475.90991211c-56.60705567%200-102.66723633-46.06018067-102.66723633-102.66723633V600.82446289h305.859375c13.76037598%2038.64440918%2050.42724609%2066.57714844%2093.76831055%2066.57714844%2055.12390137%200%2099.94812012-44.82421875%2099.94812012-99.94812012S827.9942627%20467.50537109%20772.87036133%20467.50537109c-43.34106445%200-80.00793458%2027.93273926-93.76831055%2066.57714844H373.24267578V401.01062011h321.92687989c55.12390137%200%2099.94812012-44.82421875%2099.94812011-99.94812011V190.07312011C795.11767578%20134.94921875%20750.29345703%2090.125%20695.16955567%2090.125H251.12963867C196.0057373%2090.125%20151.18151855%20134.94921875%20151.18151855%20190.07312011V301.0625c0%2055.12390137%2044.82421875%2099.94812012%2099.94812012%2099.94812012h55.53588867v296.96044921c0%2093.35632325%2075.97045898%20169.32678223%20169.32678224%20169.32678223h203.19213866c13.76037598%2038.64440918%2050.42724609%2066.57714844%2093.76831055%2066.57714844%2055.12390137%200%2099.94812012-44.82421875%2099.94812012-99.94812012s-44.90661622-99.86572266-100.03051758-99.86572265z%20m0-199.89624024c18.37463379%200%2033.28857422%2014.91394043%2033.28857422%2033.28857423s-14.91394043%2033.28857422-33.28857422%2033.28857421-33.28857422-14.91394043-33.28857422-33.28857421%2014.91394043-33.28857422%2033.28857422-33.28857422zM217.75866699%20301.0625V190.07312011c0-18.37463379%2014.91394043-33.28857422%2033.28857423-33.28857421h444.03991698c18.37463379%200%2033.28857422%2014.91394043%2033.28857422%2033.28857422V301.0625c0%2018.37463379-14.91394043%2033.28857422-33.28857422%2033.28857422H251.12963867c-18.37463379%200-33.37097168-14.91394043-33.37097168-33.28857422z%20m555.11169434%20566.23535156c-18.37463379%200-33.28857422-14.91394043-33.28857422-33.28857422%200-18.37463379%2014.91394043-33.28857422%2033.28857422-33.28857422s33.28857422%2014.91394043%2033.28857422%2033.28857422c0.08239747%2018.29223633-14.91394043%2033.28857422-33.28857422%2033.28857422z'%20p-id='972'%3e%3c/path%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ const t="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2054.857h36.571V128H0V54.857zM91.429%2027.43H128V128H91.429V27.429zM45.714%200h36.572v128H45.714V0z'/%3e%3c/svg%3e";export{t as default};
@@ -0,0 +1 @@
1
+ const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1575982282951'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='902'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M828.40625%2090.125H195.59375C137.375%2090.125%2090.125%20137.375%2090.125%20195.59375v632.8125c0%2058.21875%2047.25%20105.46875%20105.46875%20105.46875h632.8125c58.21875%200%20105.46875-47.25%20105.46875-105.46875V195.59375c0-58.21875-47.25-105.46875-105.46875-105.46875z%20m52.734375%20738.28125c0%2029.16-23.57015625%2052.734375-52.734375%2052.734375H195.59375c-29.109375%200-52.734375-23.574375-52.734375-52.734375V195.59375c0-29.109375%2023.625-52.734375%2052.734375-52.734375h632.8125c29.16%200%2052.734375%2023.625%2052.734375%2052.734375v632.8125z'%20p-id='903'%3e%3c/path%3e%3cpath%20d='M421.52890625%20709.55984375a36.28125%2036.28125%200%200%201-27.55265625-12.66890625L205.17453125%20476.613125a36.28546875%2036.28546875%200%200%201%2055.10109375-47.22890625l164.986875%20192.4846875%20342.16171875-298.48078125a36.2896875%2036.2896875%200%200%201%2047.70984375%2054.68765625L445.3859375%20700.6203125a36.3234375%2036.3234375%200%200%201-23.85703125%208.93953125z'%20p-id='904'%3e%3c/path%3e%3c/svg%3e";export{e as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M54.857%20118.857h64V73.143H89.143c-1.902%200-3.52-.668-4.855-2.002-1.335-1.335-2.002-2.954-2.002-4.855V36.57H54.857v82.286zM73.143%2016v-4.571a2.2%202.2%200%200%200-.677-1.61%202.198%202.198%200%200%200-1.609-.676H20.571c-.621%200-1.158.225-1.609.676a2.198%202.198%200%200%200-.676%201.61V16a2.2%202.2%200%200%200%20.676%201.61c.451.45.988.676%201.61.676h50.285c.622%200%201.158-.226%201.61-.677.45-.45.676-.987.676-1.609zm18.286%2048h21.357L91.43%2042.642V64zM128%2073.143v48c0%201.902-.667%203.52-2.002%204.855-1.335%201.335-2.953%202.002-4.855%202.002H52.57c-1.901%200-3.52-.667-4.854-2.002-1.335-1.335-2.003-2.953-2.003-4.855v-11.429H6.857c-1.902%200-3.52-.667-4.855-2.002C.667%20106.377%200%20104.759%200%20102.857v-96c0-1.902.667-3.52%202.002-4.855C3.337.667%204.955%200%206.857%200h77.714c1.902%200%203.52.667%204.855%202.002%201.335%201.335%202.003%202.953%202.003%204.855V30.29c1%20.622%201.856%201.29%202.569%202.003l29.147%2029.147c1.335%201.335%202.478%203.145%203.429%205.43.95%202.287%201.426%204.383%201.426%206.291v-.018z'/%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1546567861908'%20class='icon'%20style=''%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2422'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M318.577778%20819.2L17.066667%20512l301.511111-307.2%2045.511111%2045.511111L96.711111%20512l267.377778%20261.688889zM705.422222%20819.2l-45.511111-45.511111L927.288889%20512l-267.377778-261.688889%2045.511111-45.511111L1006.933333%20512zM540.785778%20221.866667l55.751111%2011.150222L483.157333%20802.133333l-55.751111-11.093333z'%20p-id='2423'%3e%3c/path%3e%3c/svg%3e";export{e as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1577252187056'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2508'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='81'%20height='81'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M747.59340925%20691.12859384c11.51396329%200.25305413%2022.43746719-0.21087818%2040.74171707-1.51832482%2029.35428085-2.10878421%2035.84933734-2.36183835%2046.47761114-0.8856895%2024.71495444%203.37405491%2041.12129828%2021.76265671%2032.47528161%2047.95376084-85.57447632%20258.19957947-442.00123984%20249.76444099-628.67084683%2050.73735554-153.47733892-159.33976008-153.09775772-414.41833795%200.92786545-573.42069196%20159.71934128-162.67163983%20424.03439521-166.59397897%20565.78689185%200.63263534%2080.38686649%2094.81095318%20108.34934958%20169.16669549%2089.11723508%20230.57450162-15.01454608%2047.99593598-50.61082928%2077.68762207-119.77896259%20114.63352789-4.89237973%202.65706845-29.35428085%2015.52065436-35.84933652%2019.02123633-46.94154346%2025.30541465-63.51659033%2041.20565021-62.20914449%2058.45550757%202.95229856%2039.13904114%2024.16667102%2052.7196135%2070.98168823%2053.81618115z%20m44.41100207%2050.10472101c-19.82257471%201.43397372-32.05352527%201.940082-45.63409763%201.6448519-70.34905207-1.60267593-115.98314969-30.91478165-121.38163769-101.64341492-3.45840683-46.05585397%2024.7571304-73.13264758%2089.24376132-107.96976837%206.7902866-3.66928501%2031.37871396-16.57504688%2036.06021551-19.06341229%2057.69634516-30.83042972%2085.15271997-53.73183005%2094.76877722-84.47790866%2012.77923398-40.78389304-9.10994898-98.94417051-79.24812286-181.6507002-121.17075953-142.97559219-350.14258521-139.60153647-489.2380134%202.06660824-134.49827774%20138.84237405-134.79350784%20362.12048163-0.42175717%20501.637667%20158.53842169%20168.99799328%20451.9968783%20181.18676788%20534.57688175-11.80919339-4.68150156%200.2952301-10.71262573%200.67481131-18.72600705%201.26527069z'%20p-id='2509'%3e%3c/path%3e%3cpath%20d='M346.03865637%20637.18588562a78.82636652%2078.82636652%200%200%200%2078.32025825-79.29029883c0-43.69401562-35.005823-79.29029883-78.32025825-79.29029882a78.82636652%2078.82636652%200%200%200-78.36243338%2079.29029882c0%2043.69401562%2035.005823%2079.29029883%2078.36243338%2079.29029883z%20m0-51.7495729a27.07679361%2027.07679361%200%200%201-26.5706845-27.54072593c0-15.30977536%2011.97789643-27.54072593%2026.5706845-27.54072592%2014.55061295%200%2026.57068533%2012.23095057%2026.57068533%2027.54072592a27.07679361%2027.07679361%200%200%201-26.57068533%2027.54072593zM475.7289063%20807.11174353a78.82636652%2078.82636652%200%200%200%2078.3624334-79.29029882c0-43.69401562-34.96364785-79.29029883-78.32025825-79.29029883a78.82636652%2078.82636652%200%200%200-78.32025742%2079.29029883c0%2043.69401562%2034.96364785%2079.29029883%2078.32025742%2079.29029882z%20m0-51.74957208a27.07679361%2027.07679361%200%200%201-26.57068532-27.54072674c0-15.30977536%2012.06224753-27.54072593%2026.57068532-27.54072593%2014.59278892%200%2026.57068533%2012.23095057%2026.57068453%2027.54072593a27.07679361%2027.07679361%200%200%201-26.57068453%2027.54072674zM601.24376214%20377.21492718a78.82636652%2078.82636652%200%200%200%2078.32025742-79.29029883c0-43.69401562-34.96364785-79.29029883-78.32025742-79.29029882a78.82636652%2078.82636652%200%200%200-78.32025823%2079.29029883c0%2043.69401562%2034.96364785%2079.29029883%2078.32025824%2079.29029883z%20m1e-8-51.74957208a27.07679361%2027.07679361%200%200%201-26.57068534-27.54072675c0-15.30977536%2011.97789643-27.54072593%2026.57068534-27.54072591%2014.55061295%200%2026.57068533%2012.23095057%2026.57068451%2027.54072592a27.07679361%2027.07679361%200%200%201-26.57068451%2027.54072674zM378.80916809%20433.85687983a78.82636652%2078.82636652%200%200%200%2078.32025824-79.29029883c0-43.69401562-34.96364785-79.29029883-78.32025824-79.29029802a78.82636652%2078.82636652%200%200%200-78.32025742%2079.29029802c0%2043.69401562%2034.96364785%2079.29029883%2078.32025742%2079.29029883z%20m0-51.74957209a27.07679361%2027.07679361%200%200%201-26.57068451-27.54072674c0-15.30977536%2011.97789643-27.54072593%2026.57068451-27.54072593%2014.55061295%200%2026.57068533%2012.23095057%2026.57068533%2027.54072593a27.07679361%2027.07679361%200%200%201-26.57068533%2027.54072674z'%20p-id='2510'%3e%3c/path%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1575804206892'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3145'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M826.56%20470.016c-32.896%200-64.384%2012.288-89.984%2035.52l0-104.96c0-62.208-50.496-112.832-112.64-113.088L623.936%20287.04%20519.552%20287.104C541.824%20262.72%20554.56%20230.72%20554.56%20197.12c0-73.536-59.904-133.44-133.504-133.44-73.472%200-133.376%2059.904-133.376%20133.44%200%2032.896%2012.224%2064.256%2035.52%2089.984L175.232%20287.104l0%200.576C113.728%20288.704%2064%20338.88%2064%20400.576l0.32%200%200.32%20116.48C60.864%20544.896%2070.592%20577.728%20100.8%20588.48c12.736%204.608%2037.632%207.488%2060.864-25.28%2012.992-18.368%2034.24-29.248%2056.64-29.248%2038.336%200%2069.504%2031.104%2069.504%2069.312%200%2038.4-31.168%2069.504-69.504%2069.504-22.656%200-44.032-11.264-57.344-30.4C138.688%20610.112%20112.576%20615.36%20102.464%20619.136c-29.824%2010.752-39.104%2043.776-38.144%2067.392l0%20160.384L64%20846.912C64%20909.248%20114.752%20960%20177.216%20960l446.272%200c62.4%200%20113.152-50.752%20113.152-113.152l0-145.024c24.384%2022.272%2056.384%2035.008%2089.984%2035.008%2073.536%200%20133.44-59.904%20133.44-133.504C960%20529.92%20900.096%20470.016%20826.56%20470.016zM826.56%20672.896c-22.72%200-44.032-11.264-57.344-30.4-22.272-32.384-48.448-27.136-58.56-23.36-29.824%2010.752-39.04%2043.776-38.08%2067.392l0%20160.384c0%2027.136-22.016%2049.152-49.152%2049.152L177.216%20896.064C150.08%20896%20128%20873.984%20128%20846.848l0.32%200%200-145.024c24.384%2022.272%2056.384%2035.008%2089.984%2035.008%2073.6%200%20133.504-59.904%20133.504-133.504%200-73.472-59.904-133.376-133.504-133.376-32.896%200-64.32%2012.288-89.984%2035.52l0-104.96L128%20400.512c0-27.072%2022.08-49.152%2049.216-49.152L177.216%20351.04%20334.656%20350.72c3.776%200.512%207.616%200.832%2011.52%200.832%2024.896%200%2050.752-10.816%2060.032-37.056%204.544-12.736%207.424-37.568-25.344-60.736C362.624%20240.768%20351.68%20219.52%20351.68%20197.12c0-38.272%2031.104-69.44%2069.376-69.44%2038.336%200%2069.504%2031.168%2069.504%2069.44%200%2022.72-11.264%2044.032-30.528%2057.472C427.968%20276.736%20433.088%20302.784%20436.8%20313.024c10.752%2029.888%2043.072%2039.232%2067.392%2038.08l119.232%200%200%200.384c27.136%200%2049.152%2022.08%2049.152%2049.152l0.256%20116.48c-3.776%2027.84%206.016%2060.736%2036.224%2071.488%2012.736%204.608%2037.632%207.488%2060.8-25.28%2013.056-18.368%2034.24-29.248%2056.704-29.248C864.832%20534.016%20896%20565.12%20896%20603.392%20896%20641.728%20864.832%20672.896%20826.56%20672.896z'%20p-id='3146'%3e%3c/path%3e%3c/svg%3e";export{c as default};
@@ -0,0 +1 @@
1
+ import{c as h}from"./gen-DLNrNhtb.js";import{r as p,d as s,o as y,l as C,f as a,m as f,e as r,p as i,h as m,D as c,v as w}from"./index-BYiWbDzj.js";const T=f("span",null,"创建表语句(支持多个建表语句):",-1),B={class:"dialog-footer"},U={__name:"createTable",emits:["ok"],setup(N,{expose:_,emit:v}){const e=p(!1),t=p(""),{proxy:u}=w(),V=v;function x(){e.value=!0}function b(){if(t.value===""){u.$modal.msgError("请输入建表语句");return}h({sql:t.value}).then(n=>{u.$modal.msgSuccess(n.msg),n.code===200&&(e.value=!1,V("ok"))})}return _({show:x}),(n,o)=>{const g=s("el-input"),d=s("el-button"),k=s("el-dialog");return y(),C(k,{title:"创建表",modelValue:m(e),"onUpdate:modelValue":o[2]||(o[2]=l=>c(e)?e.value=l:null),width:"800px",top:"5vh","append-to-body":""},{footer:a(()=>[f("div",B,[r(d,{type:"primary",onClick:b},{default:a(()=>[i("确 定")]),_:1}),r(d,{onClick:o[1]||(o[1]=l=>e.value=!1)},{default:a(()=>[i("取 消")]),_:1})])]),default:a(()=>[T,r(g,{type:"textarea",rows:10,placeholder:"请输入文本",modelValue:m(t),"onUpdate:modelValue":o[0]||(o[0]=l=>c(t)?t.value=l:null)},null,8,["modelValue"])]),_:1},8,["modelValue"])}}};export{U as default};
@@ -0,0 +1 @@
1
+ const c="data:image/svg+xml,%3csvg%20width='128'%20height='100'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.429%2063.638c0-2.508-.893-4.65-2.679-6.424-1.786-1.775-3.94-2.662-6.464-2.662-2.524%200-4.679.887-6.465%202.662-1.785%201.774-2.678%203.916-2.678%206.424%200%202.508.893%204.65%202.678%206.424%201.786%201.775%203.94%202.662%206.465%202.662%202.524%200%204.678-.887%206.464-2.662%201.786-1.775%202.679-3.916%202.679-6.424zm13.714-31.801c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524%200-4.679.887-6.464%202.662-1.786%201.774-2.679%203.916-2.679%206.424%200%202.508.893%204.65%202.679%206.424%201.785%201.774%203.94%202.662%206.464%202.662%202.524%200%204.679-.888%206.464-2.662%201.786-1.775%202.679-3.916%202.679-6.424zM71.714%2065.98l7.215-27.116c.285-1.23.107-2.378-.536-3.443-.643-1.064-1.56-1.762-2.75-2.094-1.19-.33-2.333-.177-3.429.462-1.095.639-1.81%201.573-2.143%202.804l-7.214%2027.116c-2.857.237-5.405%201.266-7.643%203.088-2.238%201.822-3.738%204.152-4.5%206.992-.952%203.644-.476%207.098%201.429%2010.364%201.905%203.265%204.69%205.37%208.357%206.317%203.667.947%207.143.474%2010.429-1.42%203.285-1.892%205.404-4.66%206.357-8.305.762-2.84.619-5.607-.429-8.305-1.047-2.697-2.762-4.85-5.143-6.46zm47.143-2.342c0-2.508-.893-4.65-2.678-6.424-1.786-1.775-3.94-2.662-6.465-2.662-2.524%200-4.678.887-6.464%202.662-1.786%201.774-2.679%203.916-2.679%206.424%200%202.508.893%204.65%202.679%206.424%201.786%201.775%203.94%202.662%206.464%202.662%202.524%200%204.679-.887%206.465-2.662%201.785-1.775%202.678-3.916%202.678-6.424zm-45.714-45.43c0-2.509-.893-4.65-2.679-6.425C68.68%2010.01%2066.524%209.122%2064%209.122c-2.524%200-4.679.887-6.464%202.661-1.786%201.775-2.679%203.916-2.679%206.425%200%202.508.893%204.65%202.679%206.424%201.785%201.774%203.94%202.662%206.464%202.662%202.524%200%204.679-.888%206.464-2.662%201.786-1.775%202.679-3.916%202.679-6.424zm32%2013.629c0-2.508-.893-4.65-2.679-6.424-1.785-1.775-3.94-2.662-6.464-2.662-2.524%200-4.679.887-6.464%202.662-1.786%201.774-2.679%203.916-2.679%206.424%200%202.508.893%204.65%202.679%206.424%201.785%201.774%203.94%202.662%206.464%202.662%202.524%200%204.679-.888%206.464-2.662%201.786-1.775%202.679-3.916%202.679-6.424zM128%2063.638c0%2012.351-3.357%2023.78-10.071%2034.286-.905%201.372-2.19%202.058-3.858%202.058H13.93c-1.667%200-2.953-.686-3.858-2.058C3.357%2087.465%200%2076.037%200%2063.638c0-8.613%201.69-16.847%205.071-24.703C8.452%2031.08%2013%2024.312%2018.714%2018.634c5.715-5.68%2012.524-10.199%2020.429-13.559C47.048%201.715%2055.333.035%2064%20.035c8.667%200%2016.952%201.68%2024.857%205.04%207.905%203.36%2014.714%207.88%2020.429%2013.559%205.714%205.678%2010.262%2012.446%2013.643%2020.301%203.38%207.856%205.071%2016.09%205.071%2024.703z'/%3e%3c/svg%3e";export{c as default};