@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 @@
1
+ import{r as m,C as ge,J as ye,d as n,G as Q,o as u,c as I,H as f,I as Y,h as a,e,f as l,k as M,K as j,L as A,l as _,D as $,p as r,m as q,z as P,B as ve,v as be,Q as he}from"./index-BYiWbDzj.js";import{l as we,g as ke,u as Ve,a as Ce,d as Te,r as xe}from"./type-BU7MsCG8.js";const Ne={class:"app-container"},Se={class:"dialog-footer"},De=ve({name:"Dict"}),$e=Object.assign(De,{setup(Ue){const{proxy:p}=be(),{sys_normal_disable:x}=p.useDict("sys_normal_disable"),B=m([]),y=m(!1),N=m(!0),C=m(!0),S=m([]),z=m(!0),E=m(!0),D=m(0),U=m(""),k=m([]),G=ge({form:{},queryParams:{pageNum:1,pageSize:10,dictName:void 0,dictType:void 0,status:void 0},rules:{dictName:[{required:!0,message:"字典名称不能为空",trigger:"blur"}],dictType:[{required:!0,message:"字典类型不能为空",trigger:"blur"}]}}),{queryParams:d,form:i,rules:H}=ye(G);function b(){N.value=!0,we(p.addDateRange(d.value,k.value)).then(s=>{B.value=s.rows,D.value=s.total,N.value=!1})}function J(){y.value=!1,R()}function R(){i.value={dictId:void 0,dictName:void 0,dictType:void 0,status:"0",remark:void 0},p.resetForm("dictRef")}function T(){d.value.pageNum=1,b()}function O(){k.value=[],p.resetForm("queryRef"),T()}function W(){R(),y.value=!0,U.value="添加字典类型"}function X(s){S.value=s.map(o=>o.dictId),z.value=s.length!=1,E.value=!s.length}function F(s){R();const o=s.dictId||S.value;ke(o).then(h=>{i.value=h.data,y.value=!0,U.value="修改字典类型"})}function Z(){p.$refs.dictRef.validate(s=>{s&&(i.value.dictId!=null?Ve(i.value).then(o=>{p.$modal.msgSuccess("修改成功"),y.value=!1,b()}):Ce(i.value).then(o=>{p.$modal.msgSuccess("新增成功"),y.value=!1,b()}))})}function K(s){const o=s.dictId||S.value;p.$modal.confirm('是否确认删除字典编号为"'+o+'"的数据项?').then(function(){return Te(o)}).then(()=>{b(),p.$modal.msgSuccess("删除成功")}).catch(()=>{})}function ee(){p.download("system/dict/type/export",{...d.value},`dict_${new Date().getTime()}.xlsx`)}function te(){xe().then(()=>{p.$modal.msgSuccess("刷新成功"),he().cleanDict()})}return b(),(s,o)=>{const h=n("el-input"),g=n("el-form-item"),le=n("el-option"),ae=n("el-select"),oe=n("el-date-picker"),c=n("el-button"),L=n("el-form"),V=n("el-col"),ne=n("right-toolbar"),de=n("el-row"),v=n("el-table-column"),ie=n("router-link"),se=n("dict-tag"),ue=n("el-table"),re=n("pagination"),pe=n("el-radio"),ce=n("el-radio-group"),me=n("el-dialog"),w=Q("hasPermi"),fe=Q("loading");return u(),I("div",Ne,[f(e(L,{model:a(d),ref:"queryRef",inline:!0,"label-width":"68px"},{default:l(()=>[e(g,{label:"字典名称",prop:"dictName"},{default:l(()=>[e(h,{modelValue:a(d).dictName,"onUpdate:modelValue":o[0]||(o[0]=t=>a(d).dictName=t),placeholder:"请输入字典名称",clearable:"",style:{width:"240px"},onKeyup:M(T,["enter"])},null,8,["modelValue"])]),_:1}),e(g,{label:"字典类型",prop:"dictType"},{default:l(()=>[e(h,{modelValue:a(d).dictType,"onUpdate:modelValue":o[1]||(o[1]=t=>a(d).dictType=t),placeholder:"请输入字典类型",clearable:"",style:{width:"240px"},onKeyup:M(T,["enter"])},null,8,["modelValue"])]),_:1}),e(g,{label:"状态",prop:"status"},{default:l(()=>[e(ae,{modelValue:a(d).status,"onUpdate:modelValue":o[2]||(o[2]=t=>a(d).status=t),placeholder:"字典状态",clearable:"",style:{width:"240px"}},{default:l(()=>[(u(!0),I(j,null,A(a(x),t=>(u(),_(le,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(g,{label:"创建时间",style:{width:"308px"}},{default:l(()=>[e(oe,{modelValue:a(k),"onUpdate:modelValue":o[3]||(o[3]=t=>$(k)?k.value=t:null),"value-format":"YYYY-MM-DD",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1}),e(g,null,{default:l(()=>[e(c,{type:"primary",icon:"Search",onClick:T},{default:l(()=>[r("搜索")]),_:1}),e(c,{icon:"Refresh",onClick:O},{default:l(()=>[r("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[Y,a(C)]]),e(de,{gutter:10,class:"mb8"},{default:l(()=>[e(V,{span:1.5},{default:l(()=>[f((u(),_(c,{type:"primary",plain:"",icon:"Plus",onClick:W},{default:l(()=>[r("新增")]),_:1})),[[w,["system:dict:add"]]])]),_:1}),e(V,{span:1.5},{default:l(()=>[f((u(),_(c,{type:"success",plain:"",icon:"Edit",disabled:a(z),onClick:F},{default:l(()=>[r("修改")]),_:1},8,["disabled"])),[[w,["system:dict:edit"]]])]),_:1}),e(V,{span:1.5},{default:l(()=>[f((u(),_(c,{type:"danger",plain:"",icon:"Delete",disabled:a(E),onClick:K},{default:l(()=>[r("删除")]),_:1},8,["disabled"])),[[w,["system:dict:remove"]]])]),_:1}),e(V,{span:1.5},{default:l(()=>[f((u(),_(c,{type:"warning",plain:"",icon:"Download",onClick:ee},{default:l(()=>[r("导出")]),_:1})),[[w,["system:dict:export"]]])]),_:1}),e(V,{span:1.5},{default:l(()=>[f((u(),_(c,{type:"danger",plain:"",icon:"Refresh",onClick:te},{default:l(()=>[r("刷新缓存")]),_:1})),[[w,["system:dict:remove"]]])]),_:1}),e(ne,{showSearch:a(C),"onUpdate:showSearch":o[4]||(o[4]=t=>$(C)?C.value=t:null),onQueryTable:b},null,8,["showSearch"])]),_:1}),f((u(),_(ue,{data:a(B),onSelectionChange:X},{default:l(()=>[e(v,{type:"selection",width:"55",align:"center"}),e(v,{label:"字典编号",align:"center",prop:"dictId"}),e(v,{label:"字典名称",align:"center",prop:"dictName","show-overflow-tooltip":!0}),e(v,{label:"字典类型",align:"center","show-overflow-tooltip":!0},{default:l(t=>[e(ie,{to:"/system/dict-data/index/"+t.row.dictId,class:"link-type"},{default:l(()=>[q("span",null,P(t.row.dictType),1)]),_:2},1032,["to"])]),_:1}),e(v,{label:"状态",align:"center",prop:"status"},{default:l(t=>[e(se,{options:a(x),value:t.row.status},null,8,["options","value"])]),_:1}),e(v,{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}),e(v,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:l(t=>[q("span",null,P(s.parseTime(t.row.createTime)),1)]),_:1}),e(v,{label:"操作",align:"center",width:"160","class-name":"small-padding fixed-width"},{default:l(t=>[f((u(),_(c,{link:"",type:"primary",icon:"Edit",onClick:_e=>F(t.row)},{default:l(()=>[r("修改")]),_:2},1032,["onClick"])),[[w,["system:dict:edit"]]]),f((u(),_(c,{link:"",type:"primary",icon:"Delete",onClick:_e=>K(t.row)},{default:l(()=>[r("删除")]),_:2},1032,["onClick"])),[[w,["system:dict:remove"]]])]),_:1})]),_:1},8,["data"])),[[fe,a(N)]]),f(e(re,{total:a(D),page:a(d).pageNum,"onUpdate:page":o[5]||(o[5]=t=>a(d).pageNum=t),limit:a(d).pageSize,"onUpdate:limit":o[6]||(o[6]=t=>a(d).pageSize=t),onPagination:b},null,8,["total","page","limit"]),[[Y,a(D)>0]]),e(me,{title:a(U),modelValue:a(y),"onUpdate:modelValue":o[11]||(o[11]=t=>$(y)?y.value=t:null),width:"500px","append-to-body":""},{footer:l(()=>[q("div",Se,[e(c,{type:"primary",onClick:Z},{default:l(()=>[r("确 定")]),_:1}),e(c,{onClick:J},{default:l(()=>[r("取 消")]),_:1})])]),default:l(()=>[e(L,{ref:"dictRef",model:a(i),rules:a(H),"label-width":"80px"},{default:l(()=>[e(g,{label:"字典名称",prop:"dictName"},{default:l(()=>[e(h,{modelValue:a(i).dictName,"onUpdate:modelValue":o[7]||(o[7]=t=>a(i).dictName=t),placeholder:"请输入字典名称"},null,8,["modelValue"])]),_:1}),e(g,{label:"字典类型",prop:"dictType"},{default:l(()=>[e(h,{modelValue:a(i).dictType,"onUpdate:modelValue":o[8]||(o[8]=t=>a(i).dictType=t),placeholder:"请输入字典类型"},null,8,["modelValue"])]),_:1}),e(g,{label:"状态",prop:"status"},{default:l(()=>[e(ce,{modelValue:a(i).status,"onUpdate:modelValue":o[9]||(o[9]=t=>a(i).status=t)},{default:l(()=>[(u(!0),I(j,null,A(a(x),t=>(u(),_(pe,{key:t.value,label:t.value},{default:l(()=>[r(P(t.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(g,{label:"备注",prop:"remark"},{default:l(()=>[e(h,{modelValue:a(i).remark,"onUpdate:modelValue":o[10]||(o[10]=t=>a(i).remark=t),type:"textarea",placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{$e as default};
@@ -0,0 +1 @@
1
+ .el-input-number--small[data-v-afc567d6],.el-select[data-v-afc567d6],.el-select--small[data-v-afc567d6]{margin:0 .2rem}.el-select[data-v-afc567d6],.el-select--small[data-v-afc567d6]{width:18.8rem}.el-input-number--small[data-v-bb4791bc],.el-select[data-v-bb4791bc],.el-select--small[data-v-bb4791bc]{margin:0 .2rem}.el-select[data-v-bb4791bc],.el-select--small[data-v-bb4791bc]{width:19.8rem}.el-input-number--small[data-v-fc50feb9],.el-select[data-v-fc50feb9],.el-select--small[data-v-fc50feb9]{margin:0 .2rem}.el-select[data-v-fc50feb9],.el-select--small[data-v-fc50feb9]{width:18.8rem}.el-input-number--small[data-v-9c0a1813],.el-select[data-v-9c0a1813],.el-select--small[data-v-9c0a1813]{margin:0 .2rem}.el-select[data-v-9c0a1813],.el-select--small[data-v-9c0a1813]{width:18.8rem}.el-input-number--small[data-v-473f710e],.el-select[data-v-473f710e],.el-select--small[data-v-473f710e]{margin:0 .2rem}.el-select[data-v-473f710e],.el-select--small[data-v-473f710e]{width:18.8rem}.el-input-number--small[data-v-1c39e534],.el-select[data-v-1c39e534],.el-select--small[data-v-1c39e534]{margin:0 .5rem}.el-select[data-v-1c39e534],.el-select--small[data-v-1c39e534]{width:8rem}.el-select.multiselect[data-v-1c39e534],.el-select--small.multiselect[data-v-1c39e534]{width:17.8rem}.el-input-number--small[data-v-d9190280],.el-select[data-v-d9190280],.el-select--small[data-v-d9190280]{margin:0 .2rem}.el-select[data-v-d9190280],.el-select--small[data-v-d9190280]{width:18.8rem}.pop_btn[data-v-8a3a4151]{text-align:center;margin-top:20px}.popup-main[data-v-8a3a4151]{position:relative;margin:10px auto;background:#fff;border-radius:5px;font-size:12px;overflow:hidden}.popup-title[data-v-8a3a4151]{overflow:hidden;line-height:34px;padding-top:6px;background:#f2f2f2}.popup-result[data-v-8a3a4151]{box-sizing:border-box;line-height:24px;margin:25px auto;padding:15px 10px 10px;border:1px solid #ccc;position:relative}.popup-result .title[data-v-8a3a4151]{position:absolute;top:-28px;left:50%;width:140px;font-size:14px;margin-left:-70px;text-align:center;line-height:30px;background:#fff}.popup-result table[data-v-8a3a4151]{text-align:center;width:100%;margin:0 auto}.popup-result table td[data-v-8a3a4151]:not(.result){width:3.5rem;min-width:3.5rem;max-width:3.5rem}.popup-result table span[data-v-8a3a4151]{display:block;width:100%;font-family:arial;line-height:30px;height:30px;white-space:nowrap;overflow:hidden;border:1px solid #e8e8e8}.popup-result-scroll[data-v-8a3a4151]{font-size:12px;line-height:24px;height:10em;overflow-y:auto}
@@ -0,0 +1 @@
1
+ import{r as m,C as te,J as le,d as r,G as N,o as g,c as ae,H as f,I as P,h as a,e,f as t,k as q,p as c,l as v,D as B,m as z,z as oe,B as ne,v as re}from"./index-BYiWbDzj.js";import{b as se,c as ie,e as ue,f as de,h as me,r as ce}from"./store-CX7IRN8X.js";const pe={class:"app-container"},fe={class:"dialog-footer"},_e=ne({name:"Store"}),ye=Object.assign(_e,{setup(ge){const{proxy:i}=re(),$=m([]),p=m(!1),C=m(!0),w=m(!0),I=m([]);m(!0),m(!0);const V=m(0),x=m(""),E=te({form:{},queryParams:{pageNum:1,pageSize:10,name:void 0,remark:void 0},rules:{name:[{required:!0,message:"名称不能为空",trigger:"blur"}]}}),{queryParams:n,form:s,rules:F}=le(E);function _(){C.value=!0,se(n.value).then(u=>{$.value=u.rows,V.value=u.total,C.value=!1})}function K(){p.value=!1,R()}function R(){s.value={name:void 0,remark:void 0},i.resetForm("dictRef")}function k(){n.value.pageNum=1,_()}function Q(){i.resetForm("queryRef"),k()}function T(){R(),p.value=!0,x.value="添加存储"}function L(u){R(),ie(u.name).then(l=>{s.value=l.data,p.value=!0,x.value="修改存储数据"})}function j(){i.$refs.dictRef.validate(u=>{u&&(s.value.name!=null?ue(s.value).then(l=>{i.$modal.msgSuccess("修改成功"),p.value=!1,_()}):de(s.value).then(l=>{i.$modal.msgSuccess("新增成功"),p.value=!1,_()}))})}function A(u){const l=u.dictId||I.value;i.$modal.confirm('是否确认删除编号为"'+l+'"的数据项?').then(function(){return me(l)}).then(()=>{_(),i.$modal.msgSuccess("删除成功")}).catch(()=>{})}function G(){i.download("system/dict/type/export",{...n.value},`dict_${new Date().getTime()}.xlsx`)}function H(){ce().then(()=>{i.$modal.msgSuccess("刷新成功")})}return _(),(u,l)=>{const b=r("el-input"),h=r("el-form-item"),d=r("el-button"),D=r("el-form"),U=r("el-col"),J=r("right-toolbar"),O=r("el-row"),M=r("router-link"),S=r("el-table-column"),W=r("el-table"),X=r("pagination"),Y=r("el-dialog"),y=N("hasPermi"),Z=N("loading");return g(),ae("div",pe,[f(e(D,{model:a(n),ref:"queryRef",inline:!0,"label-width":"68px"},{default:t(()=>[e(h,{label:"名称",prop:"name"},{default:t(()=>[e(b,{modelValue:a(n).name,"onUpdate:modelValue":l[0]||(l[0]=o=>a(n).name=o),placeholder:"请输入名称",clearable:"",style:{width:"240px"},onKeyup:q(k,["enter"])},null,8,["modelValue"])]),_:1}),e(h,{label:"备注",prop:"remark"},{default:t(()=>[e(b,{modelValue:a(n).remark,"onUpdate:modelValue":l[1]||(l[1]=o=>a(n).remark=o),placeholder:"请输入备注",clearable:"",style:{width:"240px"},onKeyup:q(k,["enter"])},null,8,["modelValue"])]),_:1}),e(h,null,{default:t(()=>[e(d,{type:"primary",icon:"Search",onClick:k},{default:t(()=>[c("搜索")]),_:1}),e(d,{icon:"Refresh",onClick:Q},{default:t(()=>[c("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[P,a(w)]]),e(O,{gutter:10,class:"mb8"},{default:t(()=>[e(U,{span:1.5},{default:t(()=>[f((g(),v(d,{type:"primary",plain:"",icon:"Plus",onClick:T},{default:t(()=>[c("新增 ")]),_:1})),[[y,["system:store:add"]]])]),_:1}),e(U,{span:1.5},{default:t(()=>[f((g(),v(d,{type:"warning",plain:"",icon:"Download",onClick:G},{default:t(()=>[c("导出 ")]),_:1})),[[y,["system:store:export"]]])]),_:1}),e(U,{span:1.5},{default:t(()=>[f((g(),v(d,{type:"danger",plain:"",icon:"Refresh",onClick:H},{default:t(()=>[c("刷新缓存 ")]),_:1})),[[y,["system:store:remove"]]])]),_:1}),e(J,{showSearch:a(w),"onUpdate:showSearch":l[2]||(l[2]=o=>B(w)?w.value=o:null),onQueryTable:_},null,8,["showSearch"])]),_:1}),f((g(),v(W,{data:a($)},{default:t(()=>[e(S,{label:"名称",align:"center","show-overflow-tooltip":!0},{default:t(o=>[e(M,{to:"/tool/store-data/"+o.row.name,class:"link-type"},{default:t(()=>[z("span",null,oe(o.row.name),1)]),_:2},1032,["to"])]),_:1}),e(S,{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}),e(S,{label:"记录数",align:"center",prop:"total"}),e(S,{label:"操作",align:"center",width:"160","class-name":"small-padding fixed-width"},{default:t(o=>[f((g(),v(d,{link:"",type:"primary",icon:"Edit",onClick:ee=>L(o.row)},{default:t(()=>[c(" 修改 ")]),_:2},1032,["onClick"])),[[y,["system:store:edit"]]]),f((g(),v(d,{link:"",type:"primary",icon:"Delete",onClick:ee=>A(o.row)},{default:t(()=>[c("删除 ")]),_:2},1032,["onClick"])),[[y,["system:store:remove"]]])]),_:1})]),_:1},8,["data"])),[[Z,a(C)]]),f(e(X,{total:a(V),page:a(n).pageNum,"onUpdate:page":l[3]||(l[3]=o=>a(n).pageNum=o),limit:a(n).pageSize,"onUpdate:limit":l[4]||(l[4]=o=>a(n).pageSize=o),onPagination:_},null,8,["total","page","limit"]),[[P,a(V)>0]]),e(Y,{title:a(x),modelValue:a(p),"onUpdate:modelValue":l[7]||(l[7]=o=>B(p)?p.value=o:null),width:"500px","append-to-body":""},{footer:t(()=>[z("div",fe,[e(d,{type:"primary",onClick:j},{default:t(()=>[c("确 定")]),_:1}),e(d,{onClick:K},{default:t(()=>[c("取 消")]),_:1})])]),default:t(()=>[e(D,{ref:"dictRef",model:a(s),rules:a(F),"label-width":"80px"},{default:t(()=>[e(h,{label:"名称",prop:"name"},{default:t(()=>[e(b,{modelValue:a(s).name,"onUpdate:modelValue":l[5]||(l[5]=o=>a(s).name=o),placeholder:"请名称"},null,8,["modelValue"])]),_:1}),e(h,{label:"备注",prop:"remark"},{default:t(()=>[e(b,{modelValue:a(s).remark,"onUpdate:modelValue":l[6]||(l[6]=o=>a(s).remark=o),type:"textarea",placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{ye as default};
@@ -0,0 +1 @@
1
+ import{V as s,_ as he,r as g,d as u,o as n,c as y,e as t,f as e,h as o,D as W,m as v,K as M,L as B,M as Ae,z as Q,s as Oe,t as ye,C as ke,J as we,G as ie,H as U,I as xe,k as Ce,l as m,p as r,W as ne,n as R,B as Ne,v as Se,F as Ue}from"./index-BYiWbDzj.js";import{l as re,a as qe,g as Fe,u as $e,b as Me,d as Be}from"./menu-BIu3IsSF.js";let z=[];const ze=Object.assign({"../../assets/icons/svg/404.svg":()=>s(()=>import("./404-Dy3nURRX.js"),[],import.meta.url),"../../assets/icons/svg/bug.svg":()=>s(()=>import("./bug-10dePVta.js"),[],import.meta.url),"../../assets/icons/svg/build.svg":()=>s(()=>import("./build-2jMyI6eP.js"),[],import.meta.url),"../../assets/icons/svg/button.svg":()=>s(()=>import("./button-BlSCM_GH.js"),[],import.meta.url),"../../assets/icons/svg/cascader.svg":()=>s(()=>import("./cascader-CXIOcY1C.js"),[],import.meta.url),"../../assets/icons/svg/chart.svg":()=>s(()=>import("./chart-BsLMrzXU.js"),[],import.meta.url),"../../assets/icons/svg/checkbox.svg":()=>s(()=>import("./checkbox-Bpiun3bf.js"),[],import.meta.url),"../../assets/icons/svg/clipboard.svg":()=>s(()=>import("./clipboard-DaV3cn7f.js"),[],import.meta.url),"../../assets/icons/svg/code.svg":()=>s(()=>import("./code-DgJ8cT4a.js"),[],import.meta.url),"../../assets/icons/svg/color.svg":()=>s(()=>import("./color-y1Sshoou.js"),[],import.meta.url),"../../assets/icons/svg/component.svg":()=>s(()=>import("./component-Djp9s69L.js"),[],import.meta.url),"../../assets/icons/svg/dashboard.svg":()=>s(()=>import("./dashboard-Dy7qt_a2.js"),[],import.meta.url),"../../assets/icons/svg/date-range.svg":()=>s(()=>import("./date-range-B8MgYLb1.js"),[],import.meta.url),"../../assets/icons/svg/date.svg":()=>s(()=>import("./date-B1FSITvi.js"),[],import.meta.url),"../../assets/icons/svg/dict.svg":()=>s(()=>import("./dict-Bi_GqSXR.js"),[],import.meta.url),"../../assets/icons/svg/documentation.svg":()=>s(()=>import("./documentation-uH9BvL5U.js"),[],import.meta.url),"../../assets/icons/svg/download.svg":()=>s(()=>import("./download-DeIzgQWH.js"),[],import.meta.url),"../../assets/icons/svg/drag.svg":()=>s(()=>import("./drag-BG1_I1vT.js"),[],import.meta.url),"../../assets/icons/svg/druid.svg":()=>s(()=>import("./druid-BybW_S_B.js"),[],import.meta.url),"../../assets/icons/svg/edit.svg":()=>s(()=>import("./edit-D0DI9pAq.js"),[],import.meta.url),"../../assets/icons/svg/education.svg":()=>s(()=>import("./education-47KsSYIl.js"),[],import.meta.url),"../../assets/icons/svg/email.svg":()=>s(()=>import("./email-Dig28Vt2.js"),[],import.meta.url),"../../assets/icons/svg/example.svg":()=>s(()=>import("./example-CnLLAFb9.js"),[],import.meta.url),"../../assets/icons/svg/excel.svg":()=>s(()=>import("./excel-D3hj5F35.js"),[],import.meta.url),"../../assets/icons/svg/exit-fullscreen.svg":()=>s(()=>import("./exit-fullscreen-dXhGKlQm.js"),[],import.meta.url),"../../assets/icons/svg/eye-open.svg":()=>s(()=>import("./eye-open-BxlshWqB.js"),[],import.meta.url),"../../assets/icons/svg/eye.svg":()=>s(()=>import("./eye-DqRz4sMZ.js"),[],import.meta.url),"../../assets/icons/svg/form.svg":()=>s(()=>import("./form-BDTA_i-I.js"),[],import.meta.url),"../../assets/icons/svg/fullscreen.svg":()=>s(()=>import("./fullscreen-0JHt5yWX.js"),[],import.meta.url),"../../assets/icons/svg/github.svg":()=>s(()=>import("./github-AJ0WQBa2.js"),[],import.meta.url),"../../assets/icons/svg/guide.svg":()=>s(()=>import("./guide-DZWUPi2j.js"),[],import.meta.url),"../../assets/icons/svg/icon.svg":()=>s(()=>import("./icon-BtMv6Od8.js"),[],import.meta.url),"../../assets/icons/svg/input.svg":()=>s(()=>import("./input-BJoPMnBW.js"),[],import.meta.url),"../../assets/icons/svg/international.svg":()=>s(()=>import("./international-CmzG1OHg.js"),[],import.meta.url),"../../assets/icons/svg/job.svg":()=>s(()=>import("./job-BcmuINx7.js"),[],import.meta.url),"../../assets/icons/svg/language.svg":()=>s(()=>import("./language-CaW1LMEk.js"),[],import.meta.url),"../../assets/icons/svg/link.svg":()=>s(()=>import("./link-C93f4PgI.js"),[],import.meta.url),"../../assets/icons/svg/list.svg":()=>s(()=>import("./list-C7O8B4zW.js"),[],import.meta.url),"../../assets/icons/svg/lock.svg":()=>s(()=>import("./lock-Bexeb9hp.js"),[],import.meta.url),"../../assets/icons/svg/log.svg":()=>s(()=>import("./log-CF2F-nSs.js"),[],import.meta.url),"../../assets/icons/svg/logininfor.svg":()=>s(()=>import("./logininfor-Bm9ZYYR7.js"),[],import.meta.url),"../../assets/icons/svg/message.svg":()=>s(()=>import("./message-UkR-VIBB.js"),[],import.meta.url),"../../assets/icons/svg/money.svg":()=>s(()=>import("./money-B1qqPuhn.js"),[],import.meta.url),"../../assets/icons/svg/monitor.svg":()=>s(()=>import("./monitor-gwnnVq4l.js"),[],import.meta.url),"../../assets/icons/svg/nested.svg":()=>s(()=>import("./nested-B4d5u3hW.js"),[],import.meta.url),"../../assets/icons/svg/number.svg":()=>s(()=>import("./number-D4hB_nHC.js"),[],import.meta.url),"../../assets/icons/svg/online.svg":()=>s(()=>import("./online-C2ZP8pdY.js"),[],import.meta.url),"../../assets/icons/svg/password.svg":()=>s(()=>import("./password-DfGvqQpB.js"),[],import.meta.url),"../../assets/icons/svg/pdf.svg":()=>s(()=>import("./pdf-CD9mOGjJ.js"),[],import.meta.url),"../../assets/icons/svg/people.svg":()=>s(()=>import("./people-CdGMHN63.js"),[],import.meta.url),"../../assets/icons/svg/peoples.svg":()=>s(()=>import("./peoples-BRYsIqmI.js"),[],import.meta.url),"../../assets/icons/svg/phone.svg":()=>s(()=>import("./phone-BpAUIz0g.js"),[],import.meta.url),"../../assets/icons/svg/post.svg":()=>s(()=>import("./post-DrLDyPY9.js"),[],import.meta.url),"../../assets/icons/svg/qq.svg":()=>s(()=>import("./qq-D8j4O83Y.js"),[],import.meta.url),"../../assets/icons/svg/question.svg":()=>s(()=>import("./question-CvYWQbyW.js"),[],import.meta.url),"../../assets/icons/svg/radio.svg":()=>s(()=>import("./radio-B0t9wPBQ.js"),[],import.meta.url),"../../assets/icons/svg/rate.svg":()=>s(()=>import("./rate-CgnHQvKS.js"),[],import.meta.url),"../../assets/icons/svg/redis-list.svg":()=>s(()=>import("./redis-list-BtKGPnqO.js"),[],import.meta.url),"../../assets/icons/svg/redis.svg":()=>s(()=>import("./redis-D4ECyT6a.js"),[],import.meta.url),"../../assets/icons/svg/row.svg":()=>s(()=>import("./row-CRXKIHjm.js"),[],import.meta.url),"../../assets/icons/svg/search.svg":()=>s(()=>import("./search-CUfclCsR.js"),[],import.meta.url),"../../assets/icons/svg/select.svg":()=>s(()=>import("./select-DhuHHMxz.js"),[],import.meta.url),"../../assets/icons/svg/server.svg":()=>s(()=>import("./server-unS7EyF7.js"),[],import.meta.url),"../../assets/icons/svg/shopping.svg":()=>s(()=>import("./shopping-CU1IRvxM.js"),[],import.meta.url),"../../assets/icons/svg/size.svg":()=>s(()=>import("./size-Cj9fB5Rp.js"),[],import.meta.url),"../../assets/icons/svg/skill.svg":()=>s(()=>import("./skill-B8f_I4m_.js"),[],import.meta.url),"../../assets/icons/svg/slider.svg":()=>s(()=>import("./slider-BGfehM6X.js"),[],import.meta.url),"../../assets/icons/svg/star.svg":()=>s(()=>import("./star-kST8a72V.js"),[],import.meta.url),"../../assets/icons/svg/swagger.svg":()=>s(()=>import("./swagger-BHGXZ2Jt.js"),[],import.meta.url),"../../assets/icons/svg/switch.svg":()=>s(()=>import("./switch-CvaargRJ.js"),[],import.meta.url),"../../assets/icons/svg/system.svg":()=>s(()=>import("./system-DcNSH_Fq.js"),[],import.meta.url),"../../assets/icons/svg/tab.svg":()=>s(()=>import("./tab-nA3f0aBt.js"),[],import.meta.url),"../../assets/icons/svg/table.svg":()=>s(()=>import("./table-5PRh60AQ.js"),[],import.meta.url),"../../assets/icons/svg/textarea.svg":()=>s(()=>import("./textarea-CJWXlgbJ.js"),[],import.meta.url),"../../assets/icons/svg/theme.svg":()=>s(()=>import("./theme-CyGq941x.js"),[],import.meta.url),"../../assets/icons/svg/time-range.svg":()=>s(()=>import("./time-range-D3dxgtLj.js"),[],import.meta.url),"../../assets/icons/svg/time.svg":()=>s(()=>import("./time-BVERp0sU.js"),[],import.meta.url),"../../assets/icons/svg/tool.svg":()=>s(()=>import("./tool-D8kXk1l-.js"),[],import.meta.url),"../../assets/icons/svg/tree-table.svg":()=>s(()=>import("./tree-table-CnOS99I9.js"),[],import.meta.url),"../../assets/icons/svg/tree.svg":()=>s(()=>import("./tree-BCtS3oPD.js"),[],import.meta.url),"../../assets/icons/svg/upload.svg":()=>s(()=>import("./upload-BueI-Il1.js"),[],import.meta.url),"../../assets/icons/svg/user.svg":()=>s(()=>import("./user-DqMuW5cU.js"),[],import.meta.url),"../../assets/icons/svg/validCode.svg":()=>s(()=>import("./validCode-COB1iLxa.js"),[],import.meta.url),"../../assets/icons/svg/wechat.svg":()=>s(()=>import("./wechat-lmQOcPZu.js"),[],import.meta.url),"../../assets/icons/svg/zip.svg":()=>s(()=>import("./zip-DIOSZc69.js"),[],import.meta.url)});for(const P in ze){const c=P.split("assets/icons/svg/")[1].split(".svg")[0];z.push(c)}const je=P=>(Oe("data-v-8c679eef"),P=P(),ye(),P),Ke={class:"icon-body"},Qe=je(()=>v("i",{class:"el-icon-search el-input__icon"},null,-1)),Ge={class:"icon-list"},He={class:"list-container"},Je=["onClick"],We={__name:"index",props:{activeIcon:{type:String}},emits:["selected"],setup(P,{expose:c,emit:G}){const f=g(""),k=g(z),E=G;function w(){k.value=z,f.value&&(k.value=z.filter(D=>D.indexOf(f.value)!==-1))}function x(D){E("selected",D),document.body.click()}function q(){f.value="",k.value=z}return c({reset:q}),(D,C)=>{const F=u("el-input"),j=u("svg-icon");return n(),y("div",Ke,[t(F,{modelValue:o(f),"onUpdate:modelValue":C[0]||(C[0]=L=>W(f)?f.value=L:null),class:"icon-search",clearable:"",placeholder:"请输入图标名称",onClear:w,onInput:w},{suffix:e(()=>[Qe]),_:1},8,["modelValue"]),v("div",Ge,[v("div",He,[(n(!0),y(M,null,B(o(k),(L,b)=>(n(),y("div",{class:"icon-item-wrapper",key:b,onClick:a=>x(L)},[v("div",{class:Ae(["icon-item",{active:P.activeIcon===L}])},[t(j,{"icon-class":L,"class-name":"icon",style:{height:"25px",width:"16px"}},null,8,["icon-class"]),v("span",null,Q(L),1)],2)],8,Je))),128))])])])}}},Xe=he(We,[["__scopeId","data-v-8c679eef"]]),Ye={class:"app-container"},Ze={class:"dialog-footer"},et=Ne({name:"Menu"}),ot=Object.assign(et,{setup(P){const{proxy:c}=Se(),{sys_show_hide:G,sys_normal_disable:f}=c.useDict("sys_show_hide","sys_normal_disable"),k=g([]),E=g(!1),w=g(!0),x=g(!0),q=g(""),D=g([]),C=g(!1),F=g(!0),j=g(null),L=ke({form:{},queryParams:{menuName:void 0,visible:void 0},rules:{menuName:[{required:!0,message:"菜单名称不能为空",trigger:"blur"}],orderNum:[{required:!0,message:"菜单顺序不能为空",trigger:"blur"}],path:[{required:!0,message:"路由地址不能为空",trigger:"blur"}]}}),{queryParams:b,form:a,rules:ue}=we(L);let X=g([]);function N(){w.value=!0,re(b.value).then(_=>{k.value=c.handleTree(_.data,"menuId"),w.value=!1})}function Y(){D.value=[],re().then(_=>{const i={menuId:0,menuName:"主类目",children:[]};i.children=c.handleTree(_.data,"menuId"),D.value.push(i)})}function _e(){E.value=!1,H()}function H(){a.value={menuId:void 0,parentId:0,menuName:void 0,icon:void 0,menuType:"M",orderNum:void 0,isFrame:"1",isCache:"0",visible:"0",status:"0"},c.resetForm("menuRef")}function me(){j.value.reset()}function de(_){a.value.icon=_}function J(){N()}function pe(){c.resetForm("queryRef"),J()}function Z(_){H(),Y(),ee(),_!=null&&_.menuId?a.value.parentId=_.menuId:a.value.parentId=0,E.value=!0,q.value="添加菜单"}function ve(){F.value=!1,C.value=!C.value,Ue(()=>{F.value=!0})}function ee(){qe().then(_=>{X.value=_.data})}async function ce(_){H(),await Y(),ee(),Fe(_.menuId).then(i=>{a.value=i.data,E.value=!0,q.value="修改菜单"})}function ge(){c.$refs.menuRef.validate(_=>{_&&(a.value.menuId!=null?$e(a.value).then(i=>{c.$modal.msgSuccess("修改成功"),E.value=!1,N()}):Me(a.value).then(i=>{c.$modal.msgSuccess("新增成功"),E.value=!1,N()}))})}function fe(_){c.$modal.confirm('是否确认删除名称为"'+_.menuName+'"的数据项?').then(function(){return Be(_.menuId)}).then(()=>{N(),c.$modal.msgSuccess("删除成功")}).catch(()=>{})}return N(),(_,i)=>{const S=u("el-input"),d=u("el-form-item"),te=u("el-option"),se=u("el-select"),V=u("el-button"),oe=u("el-form"),p=u("el-col"),Ee=u("right-toolbar"),le=u("el-row"),h=u("el-table-column"),Ve=u("dict-tag"),Ie=u("el-table"),Te=u("el-tree-select"),I=u("el-radio"),$=u("el-radio-group"),Re=u("search"),T=u("el-icon"),Pe=u("el-popover"),De=u("el-input-number"),A=u("question-filled"),O=u("el-tooltip"),Le=u("el-dialog"),K=ie("hasPermi"),be=ie("loading");return n(),y("div",Ye,[U(t(oe,{model:o(b),ref:"queryRef",inline:!0},{default:e(()=>[t(d,{label:"菜单名称",prop:"menuName"},{default:e(()=>[t(S,{modelValue:o(b).menuName,"onUpdate:modelValue":i[0]||(i[0]=l=>o(b).menuName=l),placeholder:"请输入菜单名称",clearable:"",style:{width:"200px"},onKeyup:Ce(J,["enter"])},null,8,["modelValue"])]),_:1}),t(d,{label:"状态",prop:"status"},{default:e(()=>[t(se,{modelValue:o(b).status,"onUpdate:modelValue":i[1]||(i[1]=l=>o(b).status=l),placeholder:"菜单状态",clearable:"",style:{width:"200px"}},{default:e(()=>[(n(!0),y(M,null,B(o(f),l=>(n(),m(te,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(d,null,{default:e(()=>[t(V,{type:"primary",icon:"Search",onClick:J},{default:e(()=>[r("搜索")]),_:1}),t(V,{icon:"Refresh",onClick:pe},{default:e(()=>[r("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[xe,o(x)]]),t(le,{gutter:10,class:"mb8"},{default:e(()=>[t(p,{span:1.5},{default:e(()=>[U((n(),m(V,{type:"primary",plain:"",icon:"Plus",onClick:Z},{default:e(()=>[r("新增")]),_:1})),[[K,["system:menu:add"]]])]),_:1}),t(p,{span:1.5},{default:e(()=>[t(V,{type:"info",plain:"",icon:"Sort",onClick:ve},{default:e(()=>[r("展开/折叠")]),_:1})]),_:1}),t(Ee,{showSearch:o(x),"onUpdate:showSearch":i[2]||(i[2]=l=>W(x)?x.value=l:null),onQueryTable:N},null,8,["showSearch"])]),_:1}),o(F)?U((n(),m(Ie,{key:0,data:o(k),"row-key":"menuId","default-expand-all":o(C),"tree-props":{children:"children",hasChildren:"hasChildren"}},{default:e(()=>[t(h,{prop:"menuName",label:"菜单名称","show-overflow-tooltip":!0,width:"160"}),t(h,{prop:"icon",label:"图标",align:"center",width:"100"},{default:e(l=>[t(o(ne),{"icon-class":l.row.icon},null,8,["icon-class"])]),_:1}),t(h,{prop:"orderNum",label:"排序",width:"60"}),t(h,{prop:"perms",label:"权限标识","show-overflow-tooltip":!0}),t(h,{prop:"component",label:"组件路径","show-overflow-tooltip":!0}),t(h,{prop:"status",label:"状态",width:"80"},{default:e(l=>[t(Ve,{options:o(f),value:l.row.status},null,8,["options","value"])]),_:1}),t(h,{label:"创建时间",align:"center",width:"160",prop:"createTime"},{default:e(l=>[v("span",null,Q(_.parseTime(l.row.createTime)),1)]),_:1}),t(h,{label:"操作",align:"center",width:"210","class-name":"small-padding fixed-width"},{default:e(l=>[U((n(),m(V,{link:"",type:"primary",icon:"Edit",onClick:ae=>ce(l.row)},{default:e(()=>[r("修改")]),_:2},1032,["onClick"])),[[K,["system:menu:edit"]]]),U((n(),m(V,{link:"",type:"primary",icon:"Plus",onClick:ae=>Z(l.row)},{default:e(()=>[r("新增")]),_:2},1032,["onClick"])),[[K,["system:menu:add"]]]),U((n(),m(V,{link:"",type:"primary",icon:"Delete",onClick:ae=>fe(l.row)},{default:e(()=>[r("删除")]),_:2},1032,["onClick"])),[[K,["system:menu:remove"]]])]),_:1})]),_:1},8,["data","default-expand-all"])),[[be,o(w)]]):R("",!0),t(Le,{title:o(q),modelValue:o(E),"onUpdate:modelValue":i[16]||(i[16]=l=>W(E)?E.value=l:null),width:"680px","append-to-body":""},{footer:e(()=>[v("div",Ze,[t(V,{type:"primary",onClick:ge},{default:e(()=>[r("确 定")]),_:1}),t(V,{onClick:_e},{default:e(()=>[r("取 消")]),_:1})])]),default:e(()=>[t(oe,{ref:"menuRef",model:o(a),rules:o(ue),"label-width":"100px"},{default:e(()=>[t(le,null,{default:e(()=>[t(p,{span:24},{default:e(()=>[t(d,{label:"上级菜单"},{default:e(()=>[t(Te,{modelValue:o(a).parentId,"onUpdate:modelValue":i[3]||(i[3]=l=>o(a).parentId=l),data:o(D),props:{value:"menuId",label:"menuName",children:"children"},"value-key":"menuId",placeholder:"选择上级菜单","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1}),t(p,{span:24},{default:e(()=>[t(d,{label:"菜单类型",prop:"menuType"},{default:e(()=>[t($,{modelValue:o(a).menuType,"onUpdate:modelValue":i[4]||(i[4]=l=>o(a).menuType=l)},{default:e(()=>[t(I,{label:"M"},{default:e(()=>[r("目录")]),_:1}),t(I,{label:"C"},{default:e(()=>[r("菜单")]),_:1}),t(I,{label:"F"},{default:e(()=>[r("按钮")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),o(a).menuType!="F"?(n(),m(p,{key:0,span:24},{default:e(()=>[t(d,{label:"菜单图标",prop:"icon"},{default:e(()=>[t(Pe,{placement:"bottom-start",width:540,trigger:"click"},{reference:e(()=>[t(S,{modelValue:o(a).icon,"onUpdate:modelValue":i[5]||(i[5]=l=>o(a).icon=l),placeholder:"点击选择图标",onBlur:me,readonly:""},{prefix:e(()=>[o(a).icon?(n(),m(o(ne),{key:0,"icon-class":o(a).icon,class:"el-input__icon",style:{height:"32px",width:"16px"}},null,8,["icon-class"])):(n(),m(T,{key:1,style:{height:"32px",width:"16px"}},{default:e(()=>[t(Re)]),_:1}))]),_:1},8,["modelValue"])]),default:e(()=>[t(o(Xe),{ref_key:"iconSelectRef",ref:j,onSelected:de,"active-icon":o(a).icon},null,8,["active-icon"])]),_:1})]),_:1})]),_:1})):R("",!0),t(p,{span:12},{default:e(()=>[t(d,{label:"菜单名称",prop:"menuName"},{default:e(()=>[t(S,{modelValue:o(a).menuName,"onUpdate:modelValue":i[6]||(i[6]=l=>o(a).menuName=l),placeholder:"请输入菜单名称"},null,8,["modelValue"])]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(d,{label:"显示排序",prop:"orderNum"},{default:e(()=>[t(De,{modelValue:o(a).orderNum,"onUpdate:modelValue":i[7]||(i[7]=l=>o(a).orderNum=l),"controls-position":"right",min:0},null,8,["modelValue"])]),_:1})]),_:1}),o(a).menuType!="F"?(n(),m(p,{key:1,span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:"选择是外链则路由地址需要以`http(s)://`开头",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r("是否外链 ")])]),default:e(()=>[t($,{modelValue:o(a).isFrame,"onUpdate:modelValue":i[8]||(i[8]=l=>o(a).isFrame=l)},{default:e(()=>[t(I,{label:"0"},{default:e(()=>[r("是")]),_:1}),t(I,{label:"1"},{default:e(()=>[r("否")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType!="F"?(n(),m(p,{key:2,span:12},{default:e(()=>[t(d,{prop:"path"},{label:e(()=>[v("span",null,[t(O,{content:"访问的路由地址,如:`user`,如外网地址需内链访问则以`http(s)://`开头",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 路由地址 ")])]),default:e(()=>[t(S,{modelValue:o(a).path,"onUpdate:modelValue":i[9]||(i[9]=l=>o(a).path=l),placeholder:"请输入路由地址"},null,8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType=="C"?(n(),m(p,{key:3,span:12},{default:e(()=>[t(d,{prop:"component"},{label:e(()=>[v("span",null,[t(O,{content:"访问的组件路径,如:`system/user/index`,默认在`views`目录下",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 组件路径 ")])]),default:e(()=>[t(se,{modelValue:o(a).component,"onUpdate:modelValue":i[10]||(i[10]=l=>o(a).component=l),filterable:"",placeholder:"请输入组件路径"},{default:e(()=>[(n(!0),y(M,null,B(o(X),l=>(n(),m(te,{key:l,label:l,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType!="M"?(n(),m(p,{key:4,span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:"控制器中定义的权限字符,如:@PreAuthorize(`@ss.hasPermi('system:user:list')`)",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 权限字符 ")])]),default:e(()=>[t(S,{modelValue:o(a).perms,"onUpdate:modelValue":i[11]||(i[11]=l=>o(a).perms=l),placeholder:"请输入权限标识",maxlength:"100"},null,8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType=="C"?(n(),m(p,{key:5,span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:'访问路由的默认传递参数,如:`{"id": 1, "name": "ry"}`',placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 路由参数 ")])]),default:e(()=>[t(S,{modelValue:o(a).query,"onUpdate:modelValue":i[12]||(i[12]=l=>o(a).query=l),placeholder:"请输入路由参数",maxlength:"255"},null,8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType=="C"?(n(),m(p,{key:6,span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:"选择是则会被`keep-alive`缓存,需要匹配组件的`name`和地址保持一致",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 是否缓存 ")])]),default:e(()=>[t($,{modelValue:o(a).isCache,"onUpdate:modelValue":i[13]||(i[13]=l=>o(a).isCache=l)},{default:e(()=>[t(I,{label:"0"},{default:e(()=>[r("缓存")]),_:1}),t(I,{label:"1"},{default:e(()=>[r("不缓存")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})):R("",!0),o(a).menuType!="F"?(n(),m(p,{key:7,span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:"选择隐藏则路由将不会出现在侧边栏,但仍然可以访问",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 显示状态 ")])]),default:e(()=>[t($,{modelValue:o(a).visible,"onUpdate:modelValue":i[14]||(i[14]=l=>o(a).visible=l)},{default:e(()=>[(n(!0),y(M,null,B(o(G),l=>(n(),m(I,{key:l.value,label:l.value},{default:e(()=>[r(Q(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})):R("",!0),t(p,{span:12},{default:e(()=>[t(d,null,{label:e(()=>[v("span",null,[t(O,{content:"选择停用则路由将不会出现在侧边栏,也不能被访问",placement:"top"},{default:e(()=>[t(T,null,{default:e(()=>[t(A)]),_:1})]),_:1}),r(" 菜单状态 ")])]),default:e(()=>[t($,{modelValue:o(a).status,"onUpdate:modelValue":i[15]||(i[15]=l=>o(a).status=l)},{default:e(()=>[(n(!0),y(M,null,B(o(f),l=>(n(),m(I,{key:l.value,label:l.value},{default:e(()=>[r(Q(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{ot as default};
@@ -0,0 +1 @@
1
+ import{T as S,r as u,d as i,G as I,o as c,c as z,H as m,I as K,h as o,e,f as l,k as P,K as te,L as le,l as _,D as Y,p as h,m as ae,z as re,B as ie,v as se}from"./index-BYiWbDzj.js";function ue(f){return S({url:"/monitor/logininfor/list",method:"get",params:f})}function de(f){return S({url:"/monitor/logininfor/"+f,method:"delete"})}function ce(f){return S({url:"/monitor/logininfor/unlock/"+f,method:"get"})}function pe(){return S({url:"/monitor/logininfor/clean",method:"delete"})}const me={class:"app-container"},fe=ie({name:"Logininfor"}),_e=Object.assign(fe,{setup(f){const{proxy:s}=se(),{sys_common_status:L}=s.useDict("sys_common_status"),U=u([]),C=u(!0),b=u(!0),R=u([]),T=u(!0),$=u(!0),B=u(""),D=u(0),v=u([]),N=u({prop:"loginTime",order:"descending"}),r=u({pageNum:1,pageSize:10,ipaddr:void 0,userName:void 0,status:void 0,orderByColumn:void 0,isAsc:void 0});function p(){C.value=!0,ue(s.addDateRange(r.value,v.value)).then(a=>{U.value=a.rows,D.value=a.total,C.value=!1})}function V(){r.value.pageNum=1,p()}function q(){v.value=[],s.resetForm("queryRef"),r.value.pageNum=1,s.$refs.logininforRef.sort(N.value.prop,N.value.order)}function H(a){R.value=a.map(n=>n.infoId),$.value=!a.length,T.value=a.length!=1,B.value=a.map(n=>n.userName)}function Q(a,n,x){r.value.orderByColumn=a.prop,r.value.isAsc=a.order,p()}function A(a){const n=a.infoId||R.value;s.$modal.confirm('是否确认删除访问编号为"'+n+'"的数据项?').then(function(){return de(n)}).then(()=>{p(),s.$modal.msgSuccess("删除成功")}).catch(()=>{})}function E(){s.$modal.confirm("是否确认清空所有登录日志数据项?").then(function(){return pe()}).then(()=>{p(),s.$modal.msgSuccess("清空成功")}).catch(()=>{})}function F(){const a=B.value;s.$modal.confirm('是否确认解锁用户"'+a+'"数据项?').then(function(){return ce(a)}).then(()=>{s.$modal.msgSuccess("用户"+a+"解锁成功")}).catch(()=>{})}function M(){s.download("monitor/logininfor/export",{...r.value},`config_${new Date().getTime()}.xlsx`)}return p(),(a,n)=>{const x=i("el-input"),w=i("el-form-item"),j=i("el-option"),G=i("el-select"),O=i("el-date-picker"),g=i("el-button"),J=i("el-form"),y=i("el-col"),W=i("right-toolbar"),X=i("el-row"),d=i("el-table-column"),Z=i("dict-tag"),ee=i("el-table"),oe=i("pagination"),k=I("hasPermi"),ne=I("loading");return c(),z("div",me,[m(e(J,{model:o(r),ref:"queryRef",inline:!0,"label-width":"68px"},{default:l(()=>[e(w,{label:"登录地址",prop:"ipaddr"},{default:l(()=>[e(x,{modelValue:o(r).ipaddr,"onUpdate:modelValue":n[0]||(n[0]=t=>o(r).ipaddr=t),placeholder:"请输入登录地址",clearable:"",style:{width:"240px"},onKeyup:P(V,["enter"])},null,8,["modelValue"])]),_:1}),e(w,{label:"用户名称",prop:"userName"},{default:l(()=>[e(x,{modelValue:o(r).userName,"onUpdate:modelValue":n[1]||(n[1]=t=>o(r).userName=t),placeholder:"请输入用户名称",clearable:"",style:{width:"240px"},onKeyup:P(V,["enter"])},null,8,["modelValue"])]),_:1}),e(w,{label:"状态",prop:"status"},{default:l(()=>[e(G,{modelValue:o(r).status,"onUpdate:modelValue":n[2]||(n[2]=t=>o(r).status=t),placeholder:"登录状态",clearable:"",style:{width:"240px"}},{default:l(()=>[(c(!0),z(te,null,le(o(L),t=>(c(),_(j,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"登录时间",style:{width:"308px"}},{default:l(()=>[e(O,{modelValue:o(v),"onUpdate:modelValue":n[3]||(n[3]=t=>Y(v)?v.value=t:null),"value-format":"YYYY-MM-DD HH:mm:ss",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":[new Date(2e3,1,1,0,0,0),new Date(2e3,1,1,23,59,59)]},null,8,["modelValue","default-time"])]),_:1}),e(w,null,{default:l(()=>[e(g,{type:"primary",icon:"Search",onClick:V},{default:l(()=>[h("搜索")]),_:1}),e(g,{icon:"Refresh",onClick:q},{default:l(()=>[h("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[K,o(b)]]),e(X,{gutter:10,class:"mb8"},{default:l(()=>[e(y,{span:1.5},{default:l(()=>[m((c(),_(g,{type:"danger",plain:"",icon:"Delete",disabled:o($),onClick:A},{default:l(()=>[h("删除")]),_:1},8,["disabled"])),[[k,["monitor:logininfor:remove"]]])]),_:1}),e(y,{span:1.5},{default:l(()=>[m((c(),_(g,{type:"danger",plain:"",icon:"Delete",onClick:E},{default:l(()=>[h("清空")]),_:1})),[[k,["monitor:logininfor:remove"]]])]),_:1}),e(y,{span:1.5},{default:l(()=>[m((c(),_(g,{type:"primary",plain:"",icon:"Unlock",disabled:o(T),onClick:F},{default:l(()=>[h("解锁")]),_:1},8,["disabled"])),[[k,["monitor:logininfor:unlock"]]])]),_:1}),e(y,{span:1.5},{default:l(()=>[m((c(),_(g,{type:"warning",plain:"",icon:"Download",onClick:M},{default:l(()=>[h("导出")]),_:1})),[[k,["monitor:logininfor:export"]]])]),_:1}),e(W,{showSearch:o(b),"onUpdate:showSearch":n[4]||(n[4]=t=>Y(b)?b.value=t:null),onQueryTable:p},null,8,["showSearch"])]),_:1}),m((c(),_(ee,{ref:"logininforRef",data:o(U),onSelectionChange:H,"default-sort":o(N),onSortChange:Q},{default:l(()=>[e(d,{type:"selection",width:"55",align:"center"}),e(d,{label:"访问编号",align:"center",prop:"infoId"}),e(d,{label:"用户名称",align:"center",prop:"userName","show-overflow-tooltip":!0,sortable:"custom","sort-orders":["descending","ascending"]}),e(d,{label:"地址",align:"center",prop:"ipaddr","show-overflow-tooltip":!0}),e(d,{label:"登录地点",align:"center",prop:"loginLocation","show-overflow-tooltip":!0}),e(d,{label:"操作系统",align:"center",prop:"os","show-overflow-tooltip":!0}),e(d,{label:"浏览器",align:"center",prop:"browser","show-overflow-tooltip":!0}),e(d,{label:"登录状态",align:"center",prop:"status"},{default:l(t=>[e(Z,{options:o(L),value:t.row.status},null,8,["options","value"])]),_:1}),e(d,{label:"描述",align:"center",prop:"msg","show-overflow-tooltip":!0}),e(d,{label:"访问时间",align:"center",prop:"loginTime",sortable:"custom","sort-orders":["descending","ascending"],width:"180"},{default:l(t=>[ae("span",null,re(a.parseTime(t.row.loginTime)),1)]),_:1})]),_:1},8,["data","default-sort"])),[[ne,o(C)]]),m(e(oe,{total:o(D),page:o(r).pageNum,"onUpdate:page":n[5]||(n[5]=t=>o(r).pageNum=t),limit:o(r).pageSize,"onUpdate:limit":n[6]||(n[6]=t=>o(r).pageSize=t),onPagination:p},null,8,["total","page","limit"]),[[K,o(D)>0]])])}}});export{_e as default};
@@ -0,0 +1 @@
1
+ import{T as k,C as oe,r as m,J as ne,d as r,G as K,o as b,c as re,H as w,I as de,h as a,e,f as l,k as ue,D as U,p as _,l as D,z as $,m as L,v as se}from"./index-BYiWbDzj.js";const ie=u=>k({url:"/tool/upload/list",method:"get",params:u}),pe=u=>k({url:"/tool/upload/"+u,method:"delete"}),ce=u=>k({url:"/tool/upload/directory",method:"post",data:u}),me=u=>k({url:"/tool/upload/file",method:"post",transformRequest:(i,R)=>(delete R.post["Content-Type"],i),data:u}),fe=u=>k({url:"/tool/upload",method:"put",data:u}),_e={class:"app-container"},ge={class:"dialog-footer"},he={__name:"index",setup(u){const{proxy:i}=se(),R=oe({queryParams:{name:void 0},form:{},rules:{name:[{required:!0,message:"目录名称不能为空",trigger:"blur"}],newName:[{required:!0,message:"目录名称不能为空",trigger:"blur"},{pattern:/[\\/:*?"<>|]/,message:"请输入正确的目录名称",trigger:"blur"}]}}),q=m([]),{queryParams:V,form:p,rules:M}=ne(R),C=m(!0),S=m(!0),F=m(!0),j=m(!0),g=m(!1),y=m([]),T=m([]),s=m({uploading:0,uploaded:0}),z=o=>{T.value=o.map(t=>t.name),j.value=o.length!=1,F.value=!o.length},v=()=>{S.value=!0,ie(i.addDateRange(V.value,y.value)).then(o=>{q.value=o.rows,S.value=!1})},N=()=>{v()},G=()=>{y.value=[],i.resetForm("queryRef"),N()},P=async(o,t="")=>{if(s.value.uploading++,o.kind==="directory"){await ce({dir:t,name:o.name});for await(const f of o.values())await P(f,`${t}${o.name}/`);s.value.uploaded++}else{const f=await o.getFile(),d=new FormData;d.append("dir",t),d.append("name",f.name),d.append("file",f),d.i=s.value.uploaded,await me(d),s.value.uploaded++}},H=()=>{s.value.uploading=0,s.value.uploaded=0,window.showDirectoryPicker().then(P).then(()=>v())},B=()=>{p.value={name:void 0,newName:void 0},i.resetForm("nameRef")},J=o=>{B(),g.value=!0,p.value=o},Y=o=>{const t=o.name||T.value;i.$modal.confirm('是否确认删除"'+t+'"?').then(function(){return pe(t)}).then(()=>{v(),i.$modal.msgSuccess("删除成功")}).catch(()=>{})},O=()=>{g.value=!1,B()},A=()=>{i.$refs.nameRef.validate(o=>{o&&fe({name:p.value.name,newName:p.value.newName}).then(()=>{i.$modal.msgSuccess("修改成功"),g.value=!1,v()})})};return v(),(o,t)=>{const f=r("el-input"),d=r("el-form-item"),W=r("el-date-picker"),c=r("el-button"),E=r("el-form"),Q=r("el-col"),X=r("right-toolbar"),Z=r("el-row"),h=r("el-table-column"),I=r("el-tooltip"),ee=r("el-table"),le=r("el-dialog"),x=K("hasPermi"),te=K("loading");return b(),re("div",_e,[w(e(E,{model:a(V),ref:"queryRef",inline:!0},{default:l(()=>[e(d,{label:"名称",prop:"name"},{default:l(()=>[e(f,{modelValue:a(V).name,"onUpdate:modelValue":t[0]||(t[0]=n=>a(V).name=n),placeholder:"请输入名称",clearable:"",style:{width:"200px"},onKeyup:ue(N,["enter"])},null,8,["modelValue"])]),_:1}),e(d,{label:"创建时间",style:{width:"308px"}},{default:l(()=>[e(W,{modelValue:a(y),"onUpdate:modelValue":t[1]||(t[1]=n=>U(y)?y.value=n:null),"value-format":"YYYY-MM-DD",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1}),e(d,null,{default:l(()=>[e(c,{type:"primary",icon:"Search",onClick:N},{default:l(()=>[_("搜索")]),_:1}),e(c,{icon:"Refresh",onClick:G},{default:l(()=>[_("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[de,a(C)]]),e(Z,{gutter:10,class:"mb8"},{default:l(()=>[e(Q,{span:1.5},{default:l(()=>[a(s).uploading===a(s).uploaded?w((b(),D(c,{key:0,type:"success",plain:"",icon:"UploadFilled",onClick:H},{default:l(()=>[_("上传 ")]),_:1})),[[x,["tool:upload:upload"]]]):(b(),D(c,{key:1,type:"success",plain:"",icon:"UploadFilled"},{default:l(()=>[_("上传中 "+$(a(s).uploaded)+"/"+$(a(s).uploading),1)]),_:1}))]),_:1}),e(Q,{span:1.5},{default:l(()=>[w((b(),D(c,{type:"danger",plain:"",icon:"Delete",disabled:a(F),onClick:Y},{default:l(()=>[_("删除 ")]),_:1},8,["disabled"])),[[x,["tool:upload:remove"]]])]),_:1}),e(X,{showSearch:a(C),"onUpdate:showSearch":t[2]||(t[2]=n=>U(C)?C.value=n:null),onQueryTable:v},null,8,["showSearch"])]),_:1}),w((b(),D(ee,{data:a(q),onSelectionChange:z},{default:l(()=>[e(h,{type:"selection",align:"center",width:"55"}),e(h,{label:"序号",type:"index",width:"50",align:"center"},{default:l(n=>[L("span",null,$(n.$index+1),1)]),_:1}),e(h,{label:"服务名称",align:"center",prop:"name"}),e(h,{label:"创建时间",align:"center",prop:"createTime"}),e(h,{label:"更新时间",align:"center",prop:"updateTime"}),e(h,{label:"操作",align:"center",width:"330","class-name":"small-padding fixed-width"},{default:l(n=>[e(I,{content:"编辑",placement:"top"},{default:l(()=>[w(e(c,{link:"",type:"primary",icon:"Edit",onClick:ae=>J(n.row)},null,8,["onClick"]),[[x,["tool:upload:edit"]]])]),_:2},1024),e(I,{content:"删除",placement:"top"},{default:l(()=>[w(e(c,{link:"",type:"primary",icon:"Delete",onClick:ae=>Y(n.row)},null,8,["onClick"]),[[x,["tool:upload:remove"]]])]),_:2},1024)]),_:1})]),_:1},8,["data"])),[[te,a(S)]]),e(le,{title:"修改资源目录",modelValue:a(g),"onUpdate:modelValue":t[5]||(t[5]=n=>U(g)?g.value=n:null),width:"500px","append-to-body":""},{footer:l(()=>[L("div",ge,[e(c,{type:"primary",onClick:A},{default:l(()=>[_("确 定")]),_:1}),e(c,{onClick:O},{default:l(()=>[_("取 消")]),_:1})])]),default:l(()=>[e(E,{ref:"nameRef",model:a(p),rules:a(M),"label-width":"100px"},{default:l(()=>[e(d,{label:"原目录名称",prop:"name"},{default:l(()=>[e(f,{modelValue:a(p).name,"onUpdate:modelValue":t[3]||(t[3]=n=>a(p).name=n),placeholder:"请输入目录名称",readonly:""},null,8,["modelValue"])]),_:1}),e(d,{label:"新目录名称",prop:"newName"},{default:l(()=>[e(f,{modelValue:a(p).newName,"onUpdate:modelValue":t[4]||(t[4]=n=>a(p).newName=n),placeholder:"请输入目录名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}};export{he as default};
@@ -0,0 +1 @@
1
+ import{_ as y,r as E,d as o,o as j,c as w,e as i,f as n,B as k,m as l,p as e,z as S,h as I,s as T,t as C}from"./index-BYiWbDzj.js";const B=""+new URL("pay-2ZbgPnxn.png",import.meta.url).href,u=d=>(T("data-v-6643afcd"),d=d(),C(),d),L={class:"app-container home"},P={class:"text-warning",style:{"font-size":"14px"}},M=u(()=>l("br",null,null,-1)),R=u(()=>l("br",null,null,-1)),U=u(()=>l("br",null,null,-1)),q=u(()=>l("br",null,null,-1)),N=u(()=>l("br",null,null,-1)),V=u(()=>l("h4",{class:"text-danger"}," 云产品通用红包,可叠加官网常规优惠使用。(仅限新用户) ",-1)),D=u(()=>l("hr",null,null,-1)),G=u(()=>l("h2",null,"若依后台管理框架",-1)),A=u(()=>l("p",null," 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 ",-1)),F=u(()=>l("b",null,"当前版本:",-1)),H=u(()=>l("h2",null,"技术选型",-1)),X=u(()=>l("h4",null,"后端技术",-1)),z=u(()=>l("ul",null,[l("li",null,"SpringBoot"),l("li",null,"Spring Security"),l("li",null,"JWT"),l("li",null,"MyBatis"),l("li",null,"Druid"),l("li",null,"Fastjson"),l("li",null,"...")],-1)),O=u(()=>l("h4",null,"前端技术",-1)),Q=u(()=>l("ul",null,[l("li",null,"Vue"),l("li",null,"Vuex"),l("li",null,"Element-ui"),l("li",null,"Axios"),l("li",null,"Sass"),l("li",null,"Quill"),l("li",null,"...")],-1)),J=u(()=>l("div",{class:"clearfix"},[l("span",null,"联系信息")],-1)),K={class:"body"},W=u(()=>l("i",{class:"el-icon-s-promotion"},null,-1)),Y=u(()=>l("p",null,[l("i",{class:"el-icon-user-solid"}),e(" QQ群:"),l("s",null," 满937441 "),e(),l("s",null," 满887144332 "),l("s",null," 满180251782 "),e(),l("s",null," 满104180207 "),e(),l("s",null," 满186866453 "),e(),l("s",null," 满201396349 "),l("s",null," 满101456076 "),e(),l("s",null," 满101539465 "),e(),l("s",null," 满264312783 "),e(),l("s",null," 满167385320 "),l("s",null," 满104748341 "),e(),l("s",null," 满160110482 "),e(),l("s",null," 满170801498 "),e(),l("s",null," 满108482800 "),l("s",null," 满101046199 "),e(),l("s",null," 满136919097 "),e(),l("s",null," 满143961921 "),e(),l("a",{href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=1HmEGh7zKA_CKI2E-pGInPTlC5jS9mc_&authKey=XaiUf1wfbSTEecm4lDMtIMsc6g%2BoETxjBm1BbZPr6IfuMGRj7oG4GEeu7jtzNaw%2F&noverify=0&group_code=174951577",target:"_blank"},"174951577")],-1)),Z=u(()=>l("p",null,[l("i",{class:"el-icon-chat-dot-round"}),e(" 微信:"),l("a",{href:"javascript:;"},"/ *若依")],-1)),$=u(()=>l("p",null,[l("i",{class:"el-icon-money"}),e(" 支付宝:"),l("a",{href:"javascript:;",class:"支付宝信息"},"/ *若依")],-1)),ll=u(()=>l("div",{class:"clearfix"},[l("span",null,"更新日志")],-1)),nl=u(()=>l("ol",null,[l("li",null,"操作日志记录部门名称"),l("li",null,"全局数据存储用户编号"),l("li",null,"新增编程式判断资源访问权限"),l("li",null,"操作日志列表新增IP地址查询"),l("li",null,"定时任务新增页去除状态选项"),l("li",null,"代码生成支持选择前端模板类型"),l("li",null,"显隐列组件支持复选框弹出类型"),l("li",null,"通用排序属性orderBy参数限制长度"),l("li",null,"Excel自定义数据处理器增加单元格/工作簿对象"),l("li",null,"升级oshi到最新版本6.4.8"),l("li",null,"升级druid到最新版本1.2.20"),l("li",null,"升级fastjson到最新版2.0.43"),l("li",null,"升级pagehelper到最新版1.4.7"),l("li",null,"升级commons.io到最新版本2.13.0"),l("li",null,"升级element-ui到最新版本2.15.14"),l("li",null,"修复五级路由缓存无效问题"),l("li",null,"修复外链带端口出现的异常"),l("li",null,"修复树模板父级编码变量错误"),l("li",null,"修复字典表详情页面搜索问题"),l("li",null,"修复内链iframe没有传递参数问题"),l("li",null,"修复自定义字典样式不生效的问题"),l("li",null,"修复字典缓存删除方法参数错误问题"),l("li",null,"修复Excel导入数据临时文件无法删除问题"),l("li",null,"修复未登录带参数访问成功后参数丢失问题"),l("li",null,"修复HeaderSearch组件跳转query参数丢失问题"),l("li",null,"修复代码生成导入后必填项与数据库不匹配问题"),l("li",null,"修复Excels导入时无法获取到dictType字典值问题"),l("li",null,"优化下载zip方法新增遮罩层"),l("li",null,"优化头像上传参数新增文件名称"),l("li",null,"优化字典标签支持自定义分隔符"),l("li",null,"优化菜单管理类型为按钮状态可选"),l("li",null,"优化前端防重复提交数据大小限制"),l("li",null,"优化TopNav菜单没有图标svg不显示"),l("li",null,"优化数字金额大写转换精度丢失问题"),l("li",null,"优化富文本Editor组件检验图片格式"),l("li",null,"优化页签在Firefox浏览器被遮挡的问题"),l("li",null,"优化个人中心/基本资料修改时数据显示问题"),l("li",null,"优化缓存监控图表支持跟随屏幕大小自适应调整"),l("li",null,"其他细节优化")],-1)),il=u(()=>l("ol",null,[l("li",null,"支持登录IP黑名单限制"),l("li",null,"新增监控页面图标显示"),l("li",null,"操作日志新增消耗时间属性"),l("li",null,"屏蔽定时任务bean违规的字符"),l("li",null,"日志管理使用索引提升查询性能"),l("li",null,"日志注解支持排除指定的请求参数"),l("li",null,"支持自定义隐藏属性列过滤子对象"),l("li",null,"升级oshi到最新版本6.4.3"),l("li",null,"升级druid到最新版本1.2.16"),l("li",null,"升级fastjson到最新版2.0.34"),l("li",null,"升级spring-boot到最新版本2.5.15"),l("li",null,"升级element-ui到最新版本2.15.13"),l("li",null,"移除apache/commons-fileupload依赖"),l("li",null,"修复页面切换时布局错乱的问题"),l("li",null,"修复匿名注解Anonymous空指针问题"),l("li",null,"修复路由跳转被阻止时内部产生报错信息问题"),l("li",null,"修复isMatchedIp的参数判断产生空指针的问题"),l("li",null,"修复用户多角色数据权限可能出现权限抬升的情况"),l("li",null,"修复开启TopNav后一级菜单路由参数设置无效问题"),l("li",null,"修复DictTag组件value没有匹配的值时则展示value"),l("li",null,"优化文件下载出现的异常"),l("li",null,"优化选择图标组件高亮回显"),l("li",null,"优化弹窗后导航栏偏移的问题"),l("li",null,"优化修改密码日志存储明文问题"),l("li",null,"优化页签栏关闭其他出现的异常问题"),l("li",null,"优化页签关闭左侧选项排除首页选项"),l("li",null,"优化关闭当前tab页跳转最右侧tab页"),l("li",null,"优化缓存列表清除操作提示不变的问题"),l("li",null,"优化字符未使用下划线不进行驼峰式处理"),l("li",null,"优化用户导入更新时需获取用户编号问题"),l("li",null,"优化侧边栏的平台标题与VUE_APP_TITLE保持同步"),l("li",null,"优化导出Excel时设置dictType属性重复查缓存问题"),l("li",null,"连接池Druid支持新的配置connectTimeout和socketTimeout"),l("li",null,"其他细节优化")],-1)),ul=u(()=>l("ol",null,[l("li",null,"定时任务违规的字符"),l("li",null,"重置时取消部门选中"),l("li",null,"新增返回警告消息提示"),l("li",null,"忽略不必要的属性数据返回"),l("li",null,"修改参数键名时移除前缓存配置"),l("li",null,"导入更新用户数据前校验数据权限"),l("li",null,"兼容Excel下拉框内容过多无法显示的问题"),l("li",null,"升级echarts到最新版本5.4.0"),l("li",null,"升级core-js到最新版本3.25.3"),l("li",null,"升级oshi到最新版本6.4.0"),l("li",null,"升级kaptcha到最新版2.3.3"),l("li",null,"升级druid到最新版本1.2.15"),l("li",null,"升级fastjson到最新版2.0.20"),l("li",null,"升级pagehelper到最新版1.4.6"),l("li",null,"优化弹窗内容过多展示不全问题"),l("li",null,"优化swagger-ui静态资源使用缓存"),l("li",null,"开启TopNav没有子菜单隐藏侧边栏"),l("li",null,"删除fuse无效选项maxPatternLength"),l("li",null,"优化导出对象的子列表为空会出现[]问题"),l("li",null,"优化编辑头像时透明部分会变成黑色问题"),l("li",null,"优化小屏幕上修改头像界面布局错位的问题"),l("li",null,"修复代码生成勾选属性无效问题"),l("li",null,"修复文件上传组件格式验证问题"),l("li",null,"修复回显数据字典数组异常问题"),l("li",null,"修复sheet超出最大行数异常问题"),l("li",null,"修复Log注解GET请求记录不到参数问题"),l("li",null,"修复调度日志点击多次数据不变化的问题"),l("li",null,"修复主题颜色在Drawer组件不会加载问题"),l("li",null,"修复文件名包含特殊字符的文件无法下载问题"),l("li",null,"修复table中更多按钮切换主题色未生效修复问题"),l("li",null,"修复某些特性的环境生成代码变乱码TXT文件问题"),l("li",null,"修复代码生成图片/文件/单选时选择必填无法校验问题"),l("li",null,"修复某些特性的情况用户编辑对话框中角色和部门无法修改问题"),l("li",null,"其他细节优化")],-1)),el=u(()=>l("ol",null,[l("li",null,"数据逻辑删除不进行唯一验证"),l("li",null,"Excel注解支持导出对象的子列表方法"),l("li",null,"Excel注解支持自定义隐藏属性列"),l("li",null,"Excel注解支持backgroundColor属性设置背景色"),l("li",null,"支持配置密码最大错误次数/锁定时间"),l("li",null,"登录日志新增解锁账户功能"),l("li",null,"通用下载方法新增config配置选项"),l("li",null,"支持多权限字符匹配角色数据权限"),l("li",null,"页面内嵌iframe切换tab不刷新数据"),l("li",null,"操作日志记录支持排除敏感属性字段"),l("li",null,"修复多文件上传报错出现的异常问题"),l("li",null,"修复图片预览组件src属性为null值控制台报错问题"),l("li",null,"升级oshi到最新版本6.2.2"),l("li",null,"升级fastjson到最新版2.0.14"),l("li",null,"升级pagehelper到最新版1.4.3"),l("li",null,"升级core-js到最新版本3.25.2"),l("li",null,"升级element-ui到最新版本2.15.10"),l("li",null,"优化任务过期不执行调度"),l("li",null,"优化字典数据使用store存取"),l("li",null,"优化修改资料头像被覆盖的问题"),l("li",null,"优化修改用户登录账号重复验证"),l("li",null,"优化代码生成同步后值NULL问题"),l("li",null,"优化定时任务支持执行父类方法"),l("li",null,"优化用户个人信息接口防止修改部门"),l("li",null,"优化布局设置使用el-drawer抽屉显示"),l("li",null,"优化没有权限的用户编辑部门缺少数据"),l("li",null,"优化日志注解记录限制请求地址的长度"),l("li",null,"优化excel/scale属性导出单元格数值类型"),l("li",null,"优化日志操作中重置按钮时重复查询的问题"),l("li",null,"优化多个相同角色数据导致权限SQL重复问题"),l("li",null,"优化表格上右侧工具条(搜索按钮显隐&右侧样式凸出)"),l("li",null,"其他细节优化")],-1)),tl=u(()=>l("ol",null,[l("li",null,"新增缓存列表菜单功能"),l("li",null,"代码生成树表新增(展开/折叠)"),l("li",null,"Excel注解支持color字体颜色"),l("li",null,"新增Anonymous匿名访问不鉴权注解"),l("li",null,"用户头像上传限制只能为图片格式"),l("li",null,"接口使用泛型使其看到响应属性字段"),l("li",null,"检查定时任务bean所在包名是否为白名单配置"),l("li",null,"添加页签openPage支持传递参数"),l("li",null,"用户缓存信息添加部门ancestors祖级列表"),l("li",null,"升级element-ui到最新版本2.15.8"),l("li",null,"升级oshi到最新版本6.1.6"),l("li",null,"升级druid到最新版本1.2.11"),l("li",null,"升级fastjson到最新版2.0.8"),l("li",null,"升级spring-boot到最新版本2.5.14"),l("li",null,"降级jsencrypt版本兼容IE浏览器"),l("li",null,"删除多余的salt字段"),l("li",null,"新增获取不带后缀文件名称方法"),l("li",null,"新增获取配置文件中的属性值方法"),l("li",null,"新增内容编码/解码方便插件集成使用"),l("li",null,"字典类型必须以字母开头,且只能为(小写字母,数字,下滑线)"),l("li",null,"优化设置分页参数默认值"),l("li",null,"优化对空字符串参数处理的过滤"),l("li",null,"优化显示顺序orderNum类型为整型"),l("li",null,"优化表单构建按钮不显示正则校验"),l("li",null,"优化字典数据回显样式下拉框显示值"),l("li",null,"优化R响应成功状态码与全局保持一致"),l("li",null,"优化druid开启wall过滤器出现的异常问题"),l("li",null,"优化用户管理左侧树型组件增加选中高亮保持"),l("li",null,"优化新增用户与角色信息&用户与岗位信息逻辑"),l("li",null,"优化默认不启用压缩文件缓存防止node_modules过大"),l("li",null,"修复字典数据显示不全问题"),l("li",null,"修复操作日志查询类型条件为0时会查到所有数据"),l("li",null,"修复Excel注解prompt/combo同时使用不生效问题"),l("li",null,"其他细节优化")],-1)),sl=u(()=>l("ol",null,[l("li",null,"前端支持设置是否需要防止数据重复提交"),l("li",null,"开启TopNav没有子菜单情况隐藏侧边栏"),l("li",null,"侧边栏菜单名称过长悬停显示标题"),l("li",null,"用户访问控制时校验数据权限,防止越权"),l("li",null,"导出Excel时屏蔽公式,防止CSV注入风险"),l("li",null,"组件ImagePreview支持多图预览显示"),l("li",null,"组件ImageUpload支持多图同时选择上传"),l("li",null,"组件FileUpload支持多文件同时选择上传"),l("li",null,"服务监控新增运行参数信息显示"),l("li",null,"定时任务目标字符串过滤特殊字符"),l("li",null,"定时任务目标字符串验证包名白名单"),l("li",null,"代码生成列表图片支持预览"),l("li",null,"代码生成编辑修改打开新页签"),l("li",null,"代码生成新增Java类型Boolean"),l("li",null,"代码生成子表支持日期/字典配置"),l("li",null,"代码生成同步保留必填/类型选项"),l("li",null,"升级oshi到最新版本6.1.2"),l("li",null,"升级fastjson到最新版1.2.80"),l("li",null,"升级pagehelper到最新版1.4.1"),l("li",null,"升级spring-boot到最新版本2.5.11"),l("li",null,"升级spring-boot-mybatis到最新版2.2.2"),l("li",null,"添加遗漏的分页参数合理化属性"),l("li",null,"修改npm即将过期的注册源地址"),l("li",null,"修复分页组件请求两次问题"),l("li",null,"修复通用文件下载接口跨域问题"),l("li",null,"修复Xss注解字段值为空时的异常问题"),l("li",null,"修复选项卡点击右键刷新丢失参数问题"),l("li",null,"修复表单清除元素位置未垂直居中问题"),l("li",null,"修复服务监控中运行参数显示条件错误"),l("li",null,"修复导入Excel时字典字段类型为Long转义为空问题"),l("li",null,"修复登录超时刷新页面跳转登录页面还提示重新登录问题"),l("li",null,"优化加载字典缓存数据"),l("li",null,"优化IP地址获取到多个的问题"),l("li",null,"优化任务队列满时任务拒绝策略"),l("li",null,"优化文件上传兼容Weblogic环境"),l("li",null,"优化定时任务默认保存到内存中执行"),l("li",null,"优化部门修改缩放后出现的错位问题"),l("li",null,"优化Excel格式化不同类型的日期对象"),l("li",null,"优化菜单表关键字导致的插件报错问题"),l("li",null,"优化Oracle用户头像列为空时不显示问题"),l("li",null,"优化页面若未匹配到字典标签则返回原字典值"),l("li",null,"优化修复登录失效后多次请求提示多次弹窗问题"),l("li",null,"其他细节优化")],-1)),ol=u(()=>l("ol",null,[l("li",null,"新增Vue3前端代码生成模板"),l("li",null,"新增图片预览组件"),l("li",null,"新增压缩插件实现打包Gzip"),l("li",null,"自定义xss校验注解实现"),l("li",null,"自定义文字复制剪贴指令"),l("li",null,"代码生成预览支持复制内容"),l("li",null,"路由支持单独配置菜单或角色权限"),l("li",null,"用户管理部门查询选择节点后分页参数初始"),l("li",null,"修复用户分配角色属性错误"),l("li",null,"修复打包后字体图标偶现的乱码问题"),l("li",null,"修复菜单管理重置表单出现的错误"),l("li",null,"修复版本差异导致的懒加载报错问题"),l("li",null,"修复Cron组件中周回显问题"),l("li",null,"修复定时任务多参数逗号分隔的问题"),l("li",null,"修复根据ID查询列表可能出现的主键溢出问题"),l("li",null,"修复tomcat配置参数已过期问题"),l("li",null,"升级clipboard到最新版本2.0.8"),l("li",null,"升级oshi到最新版本v5.8.6"),l("li",null,"升级fastjson到最新版1.2.79"),l("li",null,"升级spring-boot到最新版本2.5.8"),l("li",null,"升级log4j2到2.17.1,防止漏洞风险"),l("li",null,"优化下载解析blob异常提示"),l("li",null,"优化代码生成字典组重复问题"),l("li",null,"优化查询用户的角色组&岗位组代码"),l("li",null,"优化定时任务cron表达式小时设置24"),l("li",null,"优化用户导入提示溢出则显示滚动条"),l("li",null,"优化防重复提交标识组合为(key+url+header)"),l("li",null,"优化分页方法设置成通用方便灵活调用"),l("li",null,"其他细节优化")],-1)),al=u(()=>l("ol",null,[l("li",null,"新增配套并同步的Vue3前端版本"),l("li",null,"新增通用方法简化模态/缓存/下载/权限/页签使用"),l("li",null,"优化导出数据/使用通用下载方法"),l("li",null,"Excel注解支持自定义数据处理器"),l("li",null,"Excel注解支持导入导出标题信息"),l("li",null,"Excel导入支持@Excels注解"),l("li",null,"新增组件data-dict,简化数据字典使用"),l("li",null,"新增Jaxb依赖,防止jdk8以上出现的兼容错误"),l("li",null,"生产环境使用路由懒加载提升页面响应速度"),l("li",null,"修复五级以上菜单出现的404问题"),l("li",null,"防重提交注解支持配置间隔时间/提示消息"),l("li",null,"日志注解新增是否保存响应参数"),l("li",null,"任务屏蔽违规字符&参数忽略双引号中的逗号"),l("li",null,"升级SpringBoot到最新版本2.5.6"),l("li",null,"升级pagehelper到最新版1.4.0"),l("li",null,"升级spring-boot-mybatis到最新版2.2.0"),l("li",null,"升级oshi到最新版本v5.8.2"),l("li",null,"升级druid到最新版1.2.8"),l("li",null,"升级velocity到最新版本2.3"),l("li",null,"升级fastjson到最新版1.2.78"),l("li",null,"升级axios到最新版本0.24.0"),l("li",null,"升级dart-sass到版本1.32.13"),l("li",null,"升级core-js到最新版本3.19.1"),l("li",null,"升级jsencrypt到最新版本3.2.1"),l("li",null,"升级js-cookie到最新版本3.0.1"),l("li",null,"升级file-saver到最新版本2.0.5"),l("li",null,"升级sass-loader到最新版本10.1.1"),l("li",null,"升级element-ui到最新版本2.15.6"),l("li",null,"新增sendGet无参请求方法"),l("li",null,"禁用el-tag组件的渐变动画"),l("li",null,"代码生成点击预览重置激活tab"),l("li",null,"AjaxResult重写put方法,以方便链式调用"),l("li",null,"优化登录/验证码请求headers不设置token"),l("li",null,"优化用户个人信息接口防止修改用户名"),l("li",null,"优化Cron表达式生成器关闭时销毁避免缓存"),l("li",null,"优化注册成功提示消息类型success"),l("li",null,"优化aop语法,使用spring自动注入注解"),l("li",null,"优化记录登录信息,移除不必要的修改"),l("li",null,"优化mybatis全局默认的执行器"),l("li",null,"优化Excel导入图片可能出现的异常"),l("li",null,"修复代码生成模板主子表删除缺少事务"),l("li",null,"修复日志记录可能出现的转换异常"),l("li",null,"修复代码生成复选框字典遗漏问题"),l("li",null,"修复关闭xss功能导致可重复读RepeatableFilter失效"),l("li",null,"修复字符串无法被反转义问题"),l("li",null,"修复后端主子表代码模板方法名生成错误问题"),l("li",null,"修复xss过滤后格式出现的异常"),l("li",null,"修复swagger没有指定dataTypeClass导致启动出现warn日志"),l("li",null,"其他细节优化")],-1)),cl=u(()=>l("ol",null,[l("li",null,"参数管理支持配置验证码开关"),l("li",null,"新增是否开启用户注册功能"),l("li",null,"定时任务支持在线生成cron表达式"),l("li",null,"菜单管理支持配置路由参数"),l("li",null,"支持自定义注解实现接口限流"),l("li",null,"Excel注解支持Image图片导入"),l("li",null,"自定义弹层溢出滚动样式"),l("li",null,"自定义可拖动弹窗宽度指令"),l("li",null,"自定义可拖动弹窗高度指令"),l("li",null,"修复任意账户越权问题"),l("li",null,"修改时检查用户数据权限范围"),l("li",null,"修复保存配置主题颜色失效问题"),l("li",null,"新增暗色菜单风格主题"),l("li",null,"菜单&部门新增展开/折叠功能"),l("li",null,"页签新增关闭左侧&添加图标"),l("li",null,"顶部菜单排除隐藏的默认路由"),l("li",null,"顶部菜单同步系统主题样式"),l("li",null,"跳转路由高亮相对应的菜单栏"),l("li",null,"代码生成主子表多选行数据"),l("li",null,"日期范围支持添加多组"),l("li",null,"升级element-ui到最新版本2.15.5"),l("li",null,"升级oshi到最新版本v5.8.0"),l("li",null,"升级commons.io到最新版本v2.11.0"),l("li",null,"定时任务屏蔽ldap远程调用"),l("li",null,"定时任务屏蔽http(s)远程调用"),l("li",null,"补充定时任务表字段注释"),l("li",null,"定时任务对检查异常进行事务回滚"),l("li",null,"启用父部门状态排除顶级节点"),l("li",null,"富文本新增上传文件大小限制"),l("li",null,"默认首页使用keep-alive缓存"),l("li",null,"修改代码生成字典回显样式"),l("li",null,"自定义分页合理化传入参数"),l("li",null,"修复字典组件值为整形不显示问题"),l("li",null,"修复定时任务日志执行状态显示"),l("li",null,"角色&菜单新增字段属性提示信息"),l("li",null,"修复角色分配用户页面参数类型错误提醒"),l("li",null,"优化布局设置动画特效"),l("li",null,"优化异常处理信息"),l("li",null,"优化错误token导致的解析异常"),l("li",null,"密码框新增显示切换密码图标"),l("li",null,"定时任务新增更多操作"),l("li",null,"更多操作按钮添加权限控制"),l("li",null,"导入用户样式优化"),l("li",null,"提取通用方法到基类控制器"),l("li",null,"优化使用权限工具获取用户信息"),l("li",null,"优化用户不能删除自己"),l("li",null,"优化XSS跨站脚本过滤"),l("li",null,"优化代码生成模板"),l("li",null,"验证码默认20s超时"),l("li",null,"BLOB下载时清除URL对象引用"),l("li",null,"代码生成导入表按创建时间排序"),l("li",null,"修复代码生成页面数据编辑保存之后总是跳转第一页的问题"),l("li",null,"修复带safari浏览器无法格式化utc日期格式yyyy-MM-dd'T'HH:mm:ss.SSS问题"),l("li",null,"多图上传组件移除多余的api地址&验证失败导致图片删除问题&无法删除相应图片修复"),l("li",null,"其他细节优化")],-1)),dl=u(()=>l("ol",null,[l("li",null,"角色管理新增分配用户功能"),l("li",null,"用户管理新增分配角色功能"),l("li",null,"日志列表支持排序操作"),l("li",null,"优化参数&字典缓存操作"),l("li",null,"系统布局配置支持动态标题开关"),l("li",null,"菜单路由配置支持内链访问"),l("li",null,"默认访问后端首页新增提示语"),l("li",null,"富文本默认上传返回url类型"),l("li",null,"新增自定义弹窗拖拽指令"),l("li",null,"全局注册常用通用组件"),l("li",null,"全局挂载字典标签组件"),l("li",null,"ImageUpload组件支持多图片上传"),l("li",null,"FileUpload组件支持多文件上传"),l("li",null,"文件上传组件添加数量限制属性"),l("li",null,"富文本编辑组件添加类型属性"),l("li",null,"富文本组件工具栏配置视频"),l("li",null,"封装通用iframe组件"),l("li",null,"限制超级管理员不允许操作"),l("li",null,"用户信息长度校验限制"),l("li",null,"分页组件新增pagerCount属性"),l("li",null,"添加bat脚本执行应用"),l("li",null,"升级oshi到最新版本v5.7.4"),l("li",null,"升级element-ui到最新版本2.15.2"),l("li",null,"升级pagehelper到最新版1.3.1"),l("li",null,"升级commons.io到最新版本v2.10.0"),l("li",null,"升级commons.fileupload到最新版本v1.4"),l("li",null,"升级swagger到最新版本v3.0.0"),l("li",null,"修复关闭confirm提示框控制台报错问题"),l("li",null,"修复存在的SQL注入漏洞问题"),l("li",null,"定时任务屏蔽rmi远程调用"),l("li",null,"修复用户搜索分页变量错误"),l("li",null,"修复导出角色数据范围翻译缺少仅本人"),l("li",null,"修复表单构建选择下拉选择控制台报错问题"),l("li",null,"优化图片工具类读取文件"),l("li",null,"其他细节优化")],-1)),rl=u(()=>l("ol",null,[l("li",null,"新增菜单导航显示风格TopNav(false为左侧导航菜单,true为顶部导航菜单)"),l("li",null,"布局设置支持保存&重置配置"),l("li",null,"修复树表数据显示不全&加载慢问题"),l("li",null,"新增IE浏览器版本过低提示页面"),l("li",null,"用户登录后记录最后登录IP&时间"),l("li",null,"页面导出按钮点击之后添加遮罩"),l("li",null,"富文本编辑器支持自定义上传地址"),l("li",null,"富文本编辑组件新增readOnly属性"),l("li",null,"页签TagsView新增关闭右侧功能"),l("li",null,"显隐列组件加载初始默认隐藏列"),l("li",null,"关闭头像上传窗口还原默认图片"),l("li",null,"个人信息添加手机&邮箱重复验证"),l("li",null,"代码生成模板导出按钮点击后添加遮罩"),l("li",null,"代码生成模板树表操作列添加新增按钮"),l("li",null,"代码生成模板修复主子表字段重名问题"),l("li",null,"升级fastjson到最新版1.2.76"),l("li",null,"升级druid到最新版本v1.2.6"),l("li",null,"升级mybatis到最新版3.5.6 阻止远程代码执行漏洞"),l("li",null,"升级oshi到最新版本v5.6.0"),l("li",null,"velocity剔除commons-collections版本,防止3.2.1版本的反序列化漏洞"),l("li",null,"数据监控页默认账户密码防止越权访问"),l("li",null,"修复firefox下表单构建拖拽会新打卡一个选项卡"),l("li",null,"修正后端导入表权限标识"),l("li",null,"修正前端操作日志&登录日志权限标识"),l("li",null,"设置Redis配置HashKey序列化"),l("li",null,"删除操作日志记录信息"),l("li",null,"上传媒体类型添加视频格式"),l("li",null,"修复请求形参未传值记录日志异常问题"),l("li",null,"优化xss校验json请求条件"),l("li",null,"树级结构更新子节点使用replaceFirst"),l("li",null,"优化ExcelUtil空值处理"),l("li",null,"日志记录过滤BindingResult对象,防止异常"),l("li",null,"修改主题后mini类型按钮无效问题"),l("li",null,"优化通用下载完成后删除节点"),l("li",null,"通用Controller添加响应返回消息"),l("li",null,"其他细节优化")],-1)),pl=u(()=>l("ol",null,[l("li",null,"代码生成模板支持主子表"),l("li",null,"表格右侧工具栏组件支持显隐列"),l("li",null,"图片组件添加预览&移除功能"),l("li",null,"Excel注解支持Image图片导出"),l("li",null,"操作按钮组调整为朴素按钮样式"),l("li",null,"代码生成支持文件上传组件"),l("li",null,"代码生成日期控件区分范围"),l("li",null,"代码生成数据库文本类型生成表单文本域"),l("li",null,"用户手机邮箱&菜单组件修改允许空字符串"),l("li",null,"升级SpringBoot到最新版本2.2.13 提升启动速度"),l("li",null,"升级druid到最新版本v1.2.4"),l("li",null,"升级fastjson到最新版1.2.75"),l("li",null,"升级element-ui到最新版本2.15.0"),l("li",null,"修复IE11浏览器报错问题"),l("li",null,"优化多级菜单之间切换无法缓存的问题"),l("li",null,"修复四级菜单无法显示问题"),l("li",null,"修正侧边栏静态路由丢失问题"),l("li",null,"修复角色管理-编辑角色-功能权限显示异常"),l("li",null,"配置文件新增redis数据库索引属性"),l("li",null,"权限工具类增加admin判断"),l("li",null,"角色非自定义权限范围清空选择值"),l("li",null,"修复导入数据为负浮点数时丢失精度问题"),l("li",null,"移除path-to-regexp正则匹配插件"),l("li",null,"修复生成树表代码异常"),l("li",null,"修改ip字段长度防止ipv6地址长度不够"),l("li",null,"防止get请求参数值为false或0等特殊值会导致无法正确的传参"),l("li",null,"登录后push添加catch防止出现检查错误"),l("li",null,"其他细节优化")],-1)),_l=u(()=>l("ol",null,[l("li",null,"新增缓存监控功能"),l("li",null,"支持主题风格配置"),l("li",null,"修复多级菜单之间切换无法缓存的问题"),l("li",null,"多级菜单自动配置组件"),l("li",null,"代码生成预览支持高亮显示"),l("li",null,"支持Get请求映射Params参数"),l("li",null,"删除用户和角色解绑关联"),l("li",null,"去除用户手机邮箱部门必填验证"),l("li",null,"Excel支持注解align对齐方式"),l("li",null,"Excel支持导入Boolean型数据"),l("li",null,"优化头像样式,鼠标移入悬停遮罩"),l("li",null,"代码生成预览提供滚动机制"),l("li",null,"代码生成删除多余的数字float类型"),l("li",null,"修正转换字符串的目标字符集属性"),l("li",null,"回显数据字典防止空值报错"),l("li",null,"日志记录增加过滤多文件场景"),l("li",null,"修改缓存Set方法可能导致嵌套的问题"),l("li",null,"移除前端一些多余的依赖"),l("li",null,"防止安全扫描YUI出现的风险提示"),l("li",null,"修改node-sass为dart-sass"),l("li",null,"升级SpringBoot到最新版本2.1.18"),l("li",null,"升级poi到最新版本4.1.2"),l("li",null,"升级oshi到最新版本v5.3.6"),l("li",null,"升级bitwalker到最新版本1.21"),l("li",null,"升级axios到最新版本0.21.0"),l("li",null,"升级element-ui到最新版本2.14.1"),l("li",null,"升级vue到最新版本2.6.12"),l("li",null,"升级vuex到最新版本3.6.0"),l("li",null,"升级vue-cli到版本4.5.9"),l("li",null,"升级vue-router到最新版本3.4.9"),l("li",null,"升级vue-cli到最新版本4.4.6"),l("li",null,"升级vue-cropper到最新版本0.5.5"),l("li",null,"升级clipboard到最新版本2.0.6"),l("li",null,"升级core-js到最新版本3.8.1"),l("li",null,"升级echarts到最新版本4.9.0"),l("li",null,"升级file-saver到最新版本2.0.4"),l("li",null,"升级fuse.js到最新版本6.4.3"),l("li",null,"升级js-beautify到最新版本1.13.0"),l("li",null,"升级js-cookie到最新版本2.2.1"),l("li",null,"升级path-to-regexp到最新版本6.2.0"),l("li",null,"升级quill到最新版本1.3.7"),l("li",null,"升级screenfull到最新版本5.0.2"),l("li",null,"升级sortablejs到最新版本1.10.2"),l("li",null,"升级vuedraggable到最新版本2.24.3"),l("li",null,"升级chalk到最新版本4.1.0"),l("li",null,"升级eslint到最新版本7.15.0"),l("li",null,"升级eslint-plugin-vue到最新版本7.2.0"),l("li",null,"升级lint-staged到最新版本10.5.3"),l("li",null,"升级runjs到最新版本4.4.2"),l("li",null,"升级sass-loader到最新版本10.1.0"),l("li",null,"升级script-ext-html-webpack-plugin到最新版本2.1.5"),l("li",null,"升级svg-sprite-loader到最新版本5.1.1"),l("li",null,"升级vue-template-compiler到最新版本2.6.12"),l("li",null,"其他细节优化")],-1)),hl=u(()=>l("ol",null,[l("li",null,"阻止任意文件下载漏洞"),l("li",null,"代码生成支持上传控件"),l("li",null,"新增图片上传组件"),l("li",null,"调整默认首页"),l("li",null,"升级druid到最新版本v1.2.2"),l("li",null,"mapperLocations配置支持分隔符"),l("li",null,"权限信息调整"),l("li",null,"调整sql默认时间"),l("li",null,"解决代码生成没有bit类型的问题"),l("li",null,"升级pagehelper到最新版1.3.0")],-1)),ml=u(()=>l("ol",null,[l("li",null,"升级springboot版本到2.1.17 提升安全性"),l("li",null,"升级oshi到最新版本v5.2.5"),l("li",null,"升级druid到最新版本v1.2.1"),l("li",null,"升级jjwt到版本0.9.1"),l("li",null,"升级fastjson到最新版1.2.74"),l("li",null,"修改sass为node-sass,避免el-icon图标乱码"),l("li",null,"代码生成支持同步数据库"),l("li",null,"代码生成支持富文本控件"),l("li",null,"代码生成页面时不忽略remark属性"),l("li",null,"代码生成添加select必填选项"),l("li",null,"Excel导出类型NUMERIC支持精度浮点类型"),l("li",null,"Excel导出targetAttr优化获取值,防止get方法不规范"),l("li",null,"Excel注解支持自动统计数据总和"),l("li",null,"Excel注解支持设置BigDecimal精度&舍入规则"),l("li",null,"菜单&数据权限新增(展开/折叠 全选/全不选 父子联动)"),l("li",null,"允许用户分配到部门父节点"),l("li",null,"菜单新增是否缓存keep-alive"),l("li",null,"表格操作列间距调整"),l("li",null,"限制系统内置参数不允许删除"),l("li",null,"富文本组件优化,支持自定义高度&图片冲突问题"),l("li",null,"富文本工具栏样式对齐"),l("li",null,"导入excel整形值校验优化"),l("li",null,"修复页签关闭所有时固定标签路由不刷新问题"),l("li",null,"表单构建布局型组件新增按钮"),l("li",null,"左侧菜单文字过长显示省略号"),l("li",null,"修正根节点为子部门时,树状结构显示问题"),l("li",null,"修正调用目标字符串最大长度"),l("li",null,"修正菜单提示信息错误"),l("li",null,"修正定时任务执行一次权限标识"),l("li",null,"修正数据库字符串类型nvarchar"),l("li",null,"优化递归子节点"),l("li",null,"优化数据权限判断"),l("li",null,"其他细节优化")],-1)),fl=u(()=>l("ol",null,[l("li",null,"表格工具栏右侧添加刷新&显隐查询组件"),l("li",null,"后端支持CORS跨域请求"),l("li",null,"代码生成支持选择上级菜单"),l("li",null,"代码生成支持自定义路径"),l("li",null,"代码生成支持复选框"),l("li",null,"Excel导出导入支持dictType字典类型"),l("li",null,"Excel支持分割字符串组内容"),l("li",null,"验证码类型支持(数组计算、字符验证)"),l("li",null,"升级vue-cli版本到4.4.4"),l("li",null,"修改 node-sass 为 dart-sass"),l("li",null,"表单类型为Integer/Long设置整形默认值"),l("li",null,"代码生成器默认mapper路径与默认mapperScan路径不一致"),l("li",null,"优化防重复提交拦截器"),l("li",null,"优化上级菜单不能选择自己"),l("li",null,"修复角色的权限分配后,未实时生效问题"),l("li",null,"修复在线用户日志记录类型"),l("li",null,"修复富文本空格和缩进保存后不生效问题"),l("li",null,"修复在线用户判断逻辑"),l("li",null,"唯一限制条件只返回单条数据"),l("li",null,"添加获取当前的环境配置方法"),l("li",null,"超时登录后页面跳转到首页"),l("li",null,"全局异常状态汉化拦截处理"),l("li",null,"HTML过滤器改为将html转义"),l("li",null,"检查字符支持小数点&降级改成异常提醒"),l("li",null,"其他细节优化")],-1)),gl=u(()=>l("ol",null,[l("li",null,"单应用调整为多模块项目"),l("li",null,"升级element-ui版本到2.13.2"),l("li",null,"删除babel,提高编译速度。"),l("li",null,"新增菜单默认主类目"),l("li",null,"编码文件名修改为uuid方式"),l("li",null,"定时任务cron表达式验证"),l("li",null,"角色权限修改时已有权限未自动勾选异常修复"),l("li",null,"防止切换权限用户后登录出现404"),l("li",null,"Excel支持sort导出排序"),l("li",null,"创建用户不允许选择超级管理员角色"),l("li",null,"修复代码生成导入表结构出现异常页面不提醒问题"),l("li",null,"修复代码生成点击多次表修改数据不变化的问题"),l("li",null,"修复头像上传成功二次打开无法改变裁剪框大小和位置问题"),l("li",null,"修复布局为small者mini用户表单显示错位问题"),l("li",null,"修复热部署导致的强换异常问题"),l("li",null,"修改用户管理复选框宽度,防止部分浏览器出现省略号"),l("li",null,"IpUtils工具,清除Xss特殊字符,防止Xff注入攻击"),l("li",null,"生成domain 如果是浮点型 统一用BigDecimal"),l("li",null,"定时任务调整label-width,防止部署出现错位"),l("li",null,"调整表头固定列默认样式"),l("li",null,"代码生成模板调整,字段为String并且必填则加空串条件"),l("li",null,"代码生成字典Integer/Long使用parseInt"),l("li",null," 修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序 "),l("li",null,"修正岗位导出权限注解"),l("li",null,"禁止加密密文返回前端"),l("li",null,"修复代码生成页面中的查询条件创建时间未生效的问题"),l("li",null,"修复首页搜索菜单外链无法点击跳转问题"),l("li",null,"修复菜单管理选择图标,backspace删除时不过滤数据"),l("li",null,"用户管理部门分支节点不可检查&显示计数"),l("li",null,"数据范围过滤属性调整"),l("li",null,"其他细节优化")],-1)),vl=u(()=>l("ol",null,[l("li",null,"升级fastjson到最新版1.2.70 修复高危安全漏洞"),l("li",null,"dev启动默认打开浏览器"),l("li",null,"vue-cli使用默认source-map"),l("li",null,"slidebar eslint报错优化"),l("li",null,"当tags-view滚动关闭右键菜单"),l("li",null,"字典管理添加缓存读取"),l("li",null,"参数管理支持缓存操作"),l("li",null,"支持一级菜单(和主页同级)在main区域显示"),l("li",null,"限制外链地址必须以http(s)开头"),l("li",null,"tagview & sidebar 主题颜色与element ui(全局)同步"),l("li",null,"修改数据源类型优先级,先根据方法,再根据类"),l("li",null,"支持是否需要设置token属性,自定义返回码消息。"),l("li",null,"swagger请求前缀加入配置。"),l("li",null,"登录地点设置内容过长则隐藏显示"),l("li",null,"修复定时任务执行一次按钮后不提示消息问题"),l("li",null,"修改上级部门(选择项排除本身和下级)"),l("li",null,"通用http发送方法增加参数 contentType 编码类型"),l("li",null,"更换IP地址查询接口"),l("li",null,"修复页签变量undefined"),l("li",null,"添加校验部门包含未停用的子部门"),l("li",null,"修改定时任务详情下次执行时间日期显示错误"),l("li",null,"角色管理查询设置默认排序字段"),l("li",null,"swagger添加enable参数控制是否启用"),l("li",null,"只对json类型请求构建可重复读取inputStream的request"),l("li",null,"修改代码生成字典字段int类型没有自动选中问题"),l("li",null,"vuex用户名取值修正"),l("li",null,"表格树模板去掉多余的)"),l("li",null,"代码生成序号修正"),l("li",null,"全屏情况下不调整上外边距"),l("li",null,"代码生成Date字段添加默认格式"),l("li",null,"用户管理角色选择权限控制"),l("li",null,"修复路由懒加载报错问题"),l("li",null,"模板sql.vm添加菜单状态"),l("li",null,"设置用户名称不能修改"),l("li",null,"dialog添加append-to-body属性,防止ie遮罩"),l("li",null,"菜单区分状态和显示隐藏功能"),l("li",null,"升级fastjson到最新版1.2.68 修复安全加固"),l("li",null,"修复代码生成如果选择字典类型缺失逗号问题"),l("li",null,"登录请求params更换为data,防止暴露url"),l("li",null,"日志返回时间格式处理"),l("li",null,"添加handle控制允许拖动的元素"),l("li",null,"布局设置点击扩大范围"),l("li",null,"代码生成列属性排序查询"),l("li",null,"代码生成列支持拖动排序"),l("li",null,"修复时间格式不支持ios问题"),l("li",null,"表单构建添加父级class,防止冲突"),l("li",null,"定时任务并发属性修正"),l("li",null,"角色禁用&菜单隐藏不查询权限"),l("li",null,"其他细节优化")],-1)),bl=u(()=>l("ol",null,[l("li",null,"系统监控新增定时任务功能"),l("li",null,"添加一个打包Web工程bat"),l("li",null,"修复页签鼠标滚轮按下的时候,可以关闭不可关闭的tag"),l("li",null,"修复点击退出登录有时会无提示问题"),l("li",null,"修复防重复提交注解无效问题"),l("li",null,"修复通知公告批量删除异常问题"),l("li",null,"添加菜单时路由地址必填限制"),l("li",null,"代码生成字段描述可编辑"),l("li",null,"修复用户修改个人信息导致缓存不过期问题"),l("li",null,"个人信息创建时间获取正确属性值"),l("li",null,"操作日志详细显示正确类型"),l("li",null,"导入表单击行数据时选中对应的复选框"),l("li",null,"批量替换表前缀逻辑调整"),l("li",null,"固定重定向路径表达式"),l("li",null,"升级element-ui版本到2.13.0"),l("li",null,"操作日志排序调整"),l("li",null,"修复charts切换侧边栏或者缩放窗口显示bug"),l("li",null,"其他细节优化")],-1)),xl=u(()=>l("ol",null,[l("li",null,"新增表单构建"),l("li",null,"代码生成支持树表结构"),l("li",null,"新增用户导入"),l("li",null,"修复动态加载路由页面刷新问题"),l("li",null,"修复地址开关无效问题"),l("li",null,"汉化错误提示页面"),l("li",null,"代码生成已知问题修改"),l("li",null,"修复多数据源下配置关闭出现异常处理"),l("li",null,"添加HTML过滤器,用于去除XSS漏洞隐患"),l("li",null,"修复上传头像控制台出现异常"),l("li",null,"修改用户管理分页不正确的问题"),l("li",null,"修复验证码记录提示错误"),l("li",null,"修复request.js缺少Message引用"),l("li",null,"修复表格时间为空出现的异常"),l("li",null,"添加Jackson日期反序列化时区配置"),l("li",null,"调整根据用户权限加载菜单数据树形结构"),l("li",null,"调整成功登录不恢复按钮,防止多次点击"),l("li",null,"修改用户个人资料同步缓存信息"),l("li",null,"修复页面同时出现el-upload和Editor不显示处理"),l("li",null,"修复在角色管理页修改菜单权限偶尔未选中问题"),l("li",null,"配置文件新增redis密码属性"),l("li",null,"设置mybatis全局的配置文件"),l("li",null,"其他细节优化")],-1)),yl=u(()=>l("ol",null,[l("li",null,"新增代码生成"),l("li",null,"新增@RepeatSubmit注解,防止重复提交"),l("li",null,"新增菜单主目录添加/删除操作"),l("li",null,"日志记录过滤特殊对象,防止转换异常"),l("li",null,"修改代码生成路由脚本错误"),l("li",null,"用户上传头像实时同步缓存,无需重新登录"),l("li",null,"调整切换页签后不重新加载数据"),l("li",null,"添加jsencrypt实现参数的前端加密"),l("li",null,"系统退出删除用户缓存记录"),l("li",null,"其他细节优化")],-1)),El=u(()=>l("ol",null,[l("li",null,"新增在线用户管理"),l("li",null,"新增按钮组功能实现(批量删除、导出、清空)"),l("li",null,"新增查询条件重置按钮"),l("li",null,"新增Swagger全局Token配置"),l("li",null,"新增后端参数校验"),l("li",null,"修复字典管理页面的日期查询异常"),l("li",null,"修改时间函数命名防止冲突"),l("li",null,"去除菜单上级校验,默认为顶级"),l("li",null,"修复用户密码无法修改问题"),l("li",null,"修复菜单类型为按钮时不显示权限标识"),l("li",null,"其他细节优化")],-1)),jl=u(()=>l("ol",null,[l("li",null,"若依前后端分离系统正式发布")],-1)),wl=u(()=>l("div",{class:"clearfix"},[l("span",null,"捐赠支持")],-1)),kl=u(()=>l("div",{class:"body"},[l("img",{src:B,alt:"donate",style:{width:"100%"}}),l("span",{style:{display:"inline-block",height:"30px","line-height":"30px"}},"你可以请作者喝杯咖啡表示鼓励")],-1)),Sl=k({name:"Index"}),Il=Object.assign(Sl,{setup(d){const f=E("3.8.7");function _(h){window.open(h,"__blank")}return(h,r)=>{const a=o("el-link"),s=o("el-col"),c=o("el-row"),g=o("el-tag"),m=o("el-button"),v=o("el-divider"),p=o("el-card"),t=o("el-collapse-item"),b=o("el-collapse");return j(),w("div",L,[i(c,{gutter:20},{default:n(()=>[i(s,{sm:24,lg:24},{default:n(()=>[l("blockquote",P,[e(" 领取阿里云通用云产品1888优惠券 "),M,i(a,{href:"https://www.aliyun.com/minisite/goods?userCode=brki8iof",type:"primary",target:"_blank"},{default:n(()=>[e("https://www.aliyun.com/minisite/goods?userCode=brki8iof")]),_:1}),R,e(" 领取腾讯云通用云产品2860优惠券 "),U,i(a,{href:"https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console",type:"primary",target:"_blank"},{default:n(()=>[e("https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console")]),_:1}),q,e(" 阿里云服务器折扣区 "),i(a,{href:"http://aly.ruoyi.vip",type:"primary",target:"_blank"},{default:n(()=>[e(">☛☛点我进入☚☚")]),_:1}),e("     腾讯云服务器秒杀区 "),i(a,{href:"http://txy.ruoyi.vip",type:"primary",target:"_blank"},{default:n(()=>[e(">☛☛点我进入☚☚")]),_:1}),N,V]),D]),_:1})]),_:1}),i(c,{gutter:20},{default:n(()=>[i(s,{sm:24,lg:12,style:{"padding-left":"20px"}},{default:n(()=>[G,A,l("p",null,[F,e(),l("span",null,"v"+S(I(f)),1)]),l("p",null,[i(g,{type:"danger"},{default:n(()=>[e("¥免费开源")]),_:1})]),l("p",null,[i(m,{type:"primary",icon:"Cloudy",plain:"",onClick:r[0]||(r[0]=x=>_("https://gitee.com/y_project/RuoYi-Vue"))},{default:n(()=>[e("访问码云")]),_:1}),i(m,{icon:"HomeFilled",plain:"",onClick:r[1]||(r[1]=x=>_("http://ruoyi.vip"))},{default:n(()=>[e("访问主页")]),_:1})])]),_:1}),i(s,{sm:24,lg:12,style:{"padding-left":"50px"}},{default:n(()=>[i(c,null,{default:n(()=>[i(s,{span:12},{default:n(()=>[H]),_:1})]),_:1}),i(c,null,{default:n(()=>[i(s,{span:6},{default:n(()=>[X,z]),_:1}),i(s,{span:6},{default:n(()=>[O,Q]),_:1})]),_:1})]),_:1})]),_:1}),i(v),i(c,{gutter:20},{default:n(()=>[i(s,{xs:24,sm:24,md:12,lg:8},{default:n(()=>[i(p,{class:"update-log"},{header:n(()=>[J]),default:n(()=>[l("div",K,[l("p",null,[W,e(" 官网:"),i(a,{href:"http://www.ruoyi.vip",target:"_blank"},{default:n(()=>[e("http://www.ruoyi.vip")]),_:1})]),Y,Z,$])]),_:1})]),_:1}),i(s,{xs:24,sm:24,md:12,lg:8},{default:n(()=>[i(p,{class:"update-log"},{header:n(()=>[ll]),default:n(()=>[i(b,{accordion:""},{default:n(()=>[i(t,{title:"v3.8.7 - 2023-12-08"},{default:n(()=>[nl]),_:1}),i(t,{title:"v3.8.6 - 2023-06-30"},{default:n(()=>[il]),_:1}),i(t,{title:"v3.8.5 - 2023-01-01"},{default:n(()=>[ul]),_:1}),i(t,{title:"v3.8.4 - 2022-09-26"},{default:n(()=>[el]),_:1}),i(t,{title:"v3.8.3 - 2022-06-27"},{default:n(()=>[tl]),_:1}),i(t,{title:"v3.8.2 - 2022-04-01"},{default:n(()=>[sl]),_:1}),i(t,{title:"v3.8.1 - 2022-01-01"},{default:n(()=>[ol]),_:1}),i(t,{title:"v3.8.0 - 2021-12-01"},{default:n(()=>[al]),_:1}),i(t,{title:"v3.7.0 - 2021-09-13"},{default:n(()=>[cl]),_:1}),i(t,{title:"v3.6.0 - 2021-07-12"},{default:n(()=>[dl]),_:1}),i(t,{title:"v3.5.0 - 2021-05-25"},{default:n(()=>[rl]),_:1}),i(t,{title:"v3.4.0 - 2021-02-22"},{default:n(()=>[pl]),_:1}),i(t,{title:"v3.3.0 - 2020-12-14"},{default:n(()=>[_l]),_:1}),i(t,{title:"v3.2.1 - 2020-11-18"},{default:n(()=>[hl]),_:1}),i(t,{title:"v3.2.0 - 2020-10-10"},{default:n(()=>[ml]),_:1}),i(t,{title:"v3.1.0 - 2020-08-13"},{default:n(()=>[fl]),_:1}),i(t,{title:"v3.0.0 - 2020-07-20"},{default:n(()=>[gl]),_:1}),i(t,{title:"v2.3.0 - 2020-06-01"},{default:n(()=>[vl]),_:1}),i(t,{title:"v2.2.0 - 2020-03-18"},{default:n(()=>[bl]),_:1}),i(t,{title:"v2.1.0 - 2020-02-24"},{default:n(()=>[xl]),_:1}),i(t,{title:"v2.0.0 - 2019-12-02"},{default:n(()=>[yl]),_:1}),i(t,{title:"v1.1.0 - 2019-11-11"},{default:n(()=>[El]),_:1}),i(t,{title:"v1.0.0 - 2019-10-08"},{default:n(()=>[jl]),_:1})]),_:1})]),_:1})]),_:1}),i(s,{xs:24,sm:24,md:12,lg:8},{default:n(()=>[i(p,{class:"update-log"},{header:n(()=>[wl]),default:n(()=>[kl]),_:1})]),_:1})]),_:1})])}}}),Cl=y(Il,[["__scopeId","data-v-6643afcd"]]);export{Cl as default};
@@ -0,0 +1 @@
1
+ .home[data-v-6643afcd]{font-family:open sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;color:#676a6c;overflow-x:hidden}.home blockquote[data-v-6643afcd]{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}.home hr[data-v-6643afcd]{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.home .col-item[data-v-6643afcd]{margin-bottom:20px}.home ul[data-v-6643afcd]{padding:0;margin:0}.home ul[data-v-6643afcd]{list-style-type:none}.home h4[data-v-6643afcd]{margin-top:0}.home h2[data-v-6643afcd]{margin-top:10px;font-size:26px;font-weight:100}.home p[data-v-6643afcd]{margin-top:10px}.home p b[data-v-6643afcd]{font-weight:700}.home .update-log ol[data-v-6643afcd]{display:block;list-style-type:decimal;margin-block-start:1em;margin-block-end:1em;margin-inline-start:0;margin-inline-end:0;padding-inline-start:40px}
@@ -0,0 +1 @@
1
+ import{_ as s}from"./index-BH2yis6M.js";import{r as n,o,c as t,e as l,h as c}from"./index-BYiWbDzj.js";const _={__name:"index",setup(u){const e=n("/api/druid/login.html");return(i,r)=>(o(),t("div",null,[l(c(s),{src:e.value,"onUpdate:src":r[0]||(r[0]=a=>e.value=a)},null,8,["src"])]))}};export{_ as default};
@@ -0,0 +1 @@
1
+ import{T as C,r as m,C as _e,J as ye,d as a,G as J,o as d,c as N,H as b,I as O,h as n,e,f as l,k as M,K as $,L as q,l as f,p as c,D as W,m as X,z as Y,B as ge,v as ve}from"./index-BYiWbDzj.js";function be(r){return C({url:"/system/notice/list",method:"get",params:r})}function he(r){return C({url:"/system/notice/"+r,method:"get"})}function we(r){return C({url:"/system/notice",method:"post",data:r})}function Ve(r){return C({url:"/system/notice",method:"put",data:r})}function Te(r){return C({url:"/system/notice/"+r,method:"delete"})}const Ce={class:"app-container"},ke={class:"dialog-footer"},Se=ge({name:"Notice"}),Ue=Object.assign(Se,{setup(r){const{proxy:_}=ve(),{sys_notice_status:P,sys_notice_type:U}=_.useDict("sys_notice_status","sys_notice_type"),z=m([]),y=m(!1),x=m(!0),k=m(!0),B=m([]),F=m(!0),K=m(!0),I=m(0),D=m(""),Z=_e({form:{},queryParams:{pageNum:1,pageSize:10,noticeTitle:void 0,createBy:void 0,status:void 0},rules:{noticeTitle:[{required:!0,message:"公告标题不能为空",trigger:"blur"}],noticeType:[{required:!0,message:"公告类型不能为空",trigger:"change"}]}}),{queryParams:s,form:i,rules:ee}=ye(Z);function h(){x.value=!0,be(s.value).then(u=>{z.value=u.rows,I.value=u.total,x.value=!1})}function te(){y.value=!1,R()}function R(){i.value={noticeId:void 0,noticeTitle:void 0,noticeType:void 0,noticeContent:void 0,status:"0"},_.resetForm("noticeRef")}function S(){s.value.pageNum=1,h()}function le(){_.resetForm("queryRef"),S()}function ne(u){B.value=u.map(o=>o.noticeId),F.value=u.length!=1,K.value=!u.length}function oe(){R(),y.value=!0,D.value="添加公告"}function L(u){R();const o=u.noticeId||B.value;he(o).then(V=>{i.value=V.data,y.value=!0,D.value="修改公告"})}function ae(){_.$refs.noticeRef.validate(u=>{u&&(i.value.noticeId!=null?Ve(i.value).then(o=>{_.$modal.msgSuccess("修改成功"),y.value=!1,h()}):we(i.value).then(o=>{_.$modal.msgSuccess("新增成功"),y.value=!1,h()}))})}function E(u){const o=u.noticeId||B.value;_.$modal.confirm('是否确认删除公告编号为"'+o+'"的数据项?').then(function(){return Te(o)}).then(()=>{h(),_.$modal.msgSuccess("删除成功")}).catch(()=>{})}return h(),(u,o)=>{const V=a("el-input"),g=a("el-form-item"),Q=a("el-option"),j=a("el-select"),p=a("el-button"),A=a("el-form"),w=a("el-col"),ie=a("right-toolbar"),G=a("el-row"),v=a("el-table-column"),H=a("dict-tag"),ue=a("el-table"),se=a("pagination"),de=a("el-radio"),re=a("el-radio-group"),ce=a("editor"),pe=a("el-dialog"),T=J("hasPermi"),me=J("loading");return d(),N("div",Ce,[b(e(A,{model:n(s),ref:"queryRef",inline:!0},{default:l(()=>[e(g,{label:"公告标题",prop:"noticeTitle"},{default:l(()=>[e(V,{modelValue:n(s).noticeTitle,"onUpdate:modelValue":o[0]||(o[0]=t=>n(s).noticeTitle=t),placeholder:"请输入公告标题",clearable:"",style:{width:"200px"},onKeyup:M(S,["enter"])},null,8,["modelValue"])]),_:1}),e(g,{label:"操作人员",prop:"createBy"},{default:l(()=>[e(V,{modelValue:n(s).createBy,"onUpdate:modelValue":o[1]||(o[1]=t=>n(s).createBy=t),placeholder:"请输入操作人员",clearable:"",style:{width:"200px"},onKeyup:M(S,["enter"])},null,8,["modelValue"])]),_:1}),e(g,{label:"类型",prop:"noticeType"},{default:l(()=>[e(j,{modelValue:n(s).noticeType,"onUpdate:modelValue":o[2]||(o[2]=t=>n(s).noticeType=t),placeholder:"公告类型",clearable:"",style:{width:"200px"}},{default:l(()=>[(d(!0),N($,null,q(n(U),t=>(d(),f(Q,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(g,null,{default:l(()=>[e(p,{type:"primary",icon:"Search",onClick:S},{default:l(()=>[c("搜索")]),_:1}),e(p,{icon:"Refresh",onClick:le},{default:l(()=>[c("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[O,n(k)]]),e(G,{gutter:10,class:"mb8"},{default:l(()=>[e(w,{span:1.5},{default:l(()=>[b((d(),f(p,{type:"primary",plain:"",icon:"Plus",onClick:oe},{default:l(()=>[c("新增")]),_:1})),[[T,["system:notice:add"]]])]),_:1}),e(w,{span:1.5},{default:l(()=>[b((d(),f(p,{type:"success",plain:"",icon:"Edit",disabled:n(F),onClick:L},{default:l(()=>[c("修改")]),_:1},8,["disabled"])),[[T,["system:notice:edit"]]])]),_:1}),e(w,{span:1.5},{default:l(()=>[b((d(),f(p,{type:"danger",plain:"",icon:"Delete",disabled:n(K),onClick:E},{default:l(()=>[c("删除")]),_:1},8,["disabled"])),[[T,["system:notice:remove"]]])]),_:1}),e(ie,{showSearch:n(k),"onUpdate:showSearch":o[3]||(o[3]=t=>W(k)?k.value=t:null),onQueryTable:h},null,8,["showSearch"])]),_:1}),b((d(),f(ue,{data:n(z),onSelectionChange:ne},{default:l(()=>[e(v,{type:"selection",width:"55",align:"center"}),e(v,{label:"序号",align:"center",prop:"noticeId",width:"100"}),e(v,{label:"公告标题",align:"center",prop:"noticeTitle","show-overflow-tooltip":!0}),e(v,{label:"公告类型",align:"center",prop:"noticeType",width:"100"},{default:l(t=>[e(H,{options:n(U),value:t.row.noticeType},null,8,["options","value"])]),_:1}),e(v,{label:"状态",align:"center",prop:"status",width:"100"},{default:l(t=>[e(H,{options:n(P),value:t.row.status},null,8,["options","value"])]),_:1}),e(v,{label:"创建者",align:"center",prop:"createBy",width:"100"}),e(v,{label:"创建时间",align:"center",prop:"createTime",width:"100"},{default:l(t=>[X("span",null,Y(u.parseTime(t.row.createTime,"{y}-{m}-{d}")),1)]),_:1}),e(v,{label:"操作",align:"center","class-name":"small-padding fixed-width"},{default:l(t=>[b((d(),f(p,{link:"",type:"primary",icon:"Edit",onClick:fe=>L(t.row)},{default:l(()=>[c("修改")]),_:2},1032,["onClick"])),[[T,["system:notice:edit"]]]),b((d(),f(p,{link:"",type:"primary",icon:"Delete",onClick:fe=>E(t.row)},{default:l(()=>[c("删除")]),_:2},1032,["onClick"])),[[T,["system:notice:remove"]]])]),_:1})]),_:1},8,["data"])),[[me,n(x)]]),b(e(se,{total:n(I),page:n(s).pageNum,"onUpdate:page":o[4]||(o[4]=t=>n(s).pageNum=t),limit:n(s).pageSize,"onUpdate:limit":o[5]||(o[5]=t=>n(s).pageSize=t),onPagination:h},null,8,["total","page","limit"]),[[O,n(I)>0]]),e(pe,{title:n(D),modelValue:n(y),"onUpdate:modelValue":o[10]||(o[10]=t=>W(y)?y.value=t:null),width:"780px","append-to-body":""},{footer:l(()=>[X("div",ke,[e(p,{type:"primary",onClick:ae},{default:l(()=>[c("确 定")]),_:1}),e(p,{onClick:te},{default:l(()=>[c("取 消")]),_:1})])]),default:l(()=>[e(A,{ref:"noticeRef",model:n(i),rules:n(ee),"label-width":"80px"},{default:l(()=>[e(G,null,{default:l(()=>[e(w,{span:12},{default:l(()=>[e(g,{label:"公告标题",prop:"noticeTitle"},{default:l(()=>[e(V,{modelValue:n(i).noticeTitle,"onUpdate:modelValue":o[6]||(o[6]=t=>n(i).noticeTitle=t),placeholder:"请输入公告标题"},null,8,["modelValue"])]),_:1})]),_:1}),e(w,{span:12},{default:l(()=>[e(g,{label:"公告类型",prop:"noticeType"},{default:l(()=>[e(j,{modelValue:n(i).noticeType,"onUpdate:modelValue":o[7]||(o[7]=t=>n(i).noticeType=t),placeholder:"请选择"},{default:l(()=>[(d(!0),N($,null,q(n(U),t=>(d(),f(Q,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(w,{span:24},{default:l(()=>[e(g,{label:"状态"},{default:l(()=>[e(re,{modelValue:n(i).status,"onUpdate:modelValue":o[8]||(o[8]=t=>n(i).status=t)},{default:l(()=>[(d(!0),N($,null,q(n(P),t=>(d(),f(de,{key:t.value,label:t.value},{default:l(()=>[c(Y(t.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(w,{span:24},{default:l(()=>[e(g,{label:"内容"},{default:l(()=>[e(ce,{modelValue:n(i).noticeContent,"onUpdate:modelValue":o[9]||(o[9]=t=>n(i).noticeContent=t),"min-height":192},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{Ue as default};
@@ -0,0 +1 @@
1
+ import{_ as pe,r as g,C as me,J as ce,d as r,G as T,o as m,c as $,H as y,I as j,h as t,e,f as a,k as fe,p as s,l as v,D as K,m as z,z as h,n as Q,K as _e,L as ge,B as he,v as ve}from"./index-BYiWbDzj.js";import{b as we,c as be,e as ye,h as Ve,f as ke,g as Ce,i as Ue}from"./pm2-BkmkkE2A.js";const Se={class:"app-container"},Pe={key:1},xe={class:"code"},$e={class:"dialog-footer"},ze=he({name:"Pm2"}),Re=Object.assign(ze,{setup(De){const{proxy:i}=ve(),R=g([]),D=g([]),w=g(!1),C=g(!0),V=g(!0);g(!0),g(!0);const U=g(0),N=g(""),A=me({form:{},queryParams:{pageNum:1,pageSize:10,name:void 0,type:void 0,host:void 0,status:void 0,remark:void 0},rules:{name:[{required:!0,message:"名称不能为空",trigger:"blur"}],host:[{required:!0,message:"不能为空",trigger:"blur"}],port:[{required:!0,message:"不能为空",trigger:"blur"}]}}),{queryParams:c,form:n,rules:E}=ce(A);function G(){Ue().then(u=>{D.value=u.data})}function f(){C.value=!0,we(c.value).then(u=>{R.value=u.rows,U.value=u.total,C.value=!1})}function H(){w.value=!1,q()}function q(){n.value={name:void 0,type:0,host:"localhost",port:void 0,arg1:void 0,arg2:void 0,path:void 0,status:0,remark:void 0},i.resetForm("serviceRef")}function S(){c.value.pageNum=1,f()}function J(){i.resetForm("queryRef"),S()}function M(){q(),G(),w.value=!0,N.value="添加服务"}function O(){i.$refs.serviceRef.validate(u=>{u&&be(n.value).then(o=>{i.$modal.msgSuccess("新增成功"),w.value=!1,f()})})}function W(u){const o=u.name;i.$modal.confirm('是否确认删除编号为"'+o+'"的数据项?').then(function(){return ye(o)}).then(()=>{f(),i.$modal.msgSuccess("删除成功")}).catch(()=>{})}function X(u){let o=u.status===0?"启用":"停用";i.$modal.confirm('确认要"'+o+'""'+u.name+'"服务吗?').then(function(){return Ve(u.name,u.status)}).then(()=>{f(),i.$modal.msgSuccess(o+"成功")}).catch(function(){u.status=u.status==="stopped"?"online":"stopped"})}function Y(){ke().then(()=>{f(),i.$modal.msgSuccess("保存成功")}).catch(()=>{})}function Z(){Ce().then(()=>{f(),i.$modal.msgSuccess("加载成功")}).catch(()=>{})}const ee=()=>{i.$download.zip("/tool/pm2/data/export","service.zip")};return f(),(u,o)=>{const b=r("el-input"),p=r("el-form-item"),_=r("el-button"),L=r("el-form"),k=r("el-col"),le=r("right-toolbar"),te=r("el-row"),d=r("el-table-column"),ae=r("router-link"),oe=r("el-switch"),ne=r("el-table"),re=r("pagination"),B=r("el-radio"),ue=r("el-radio-group"),se=r("el-input-number"),P=r("el-option"),F=r("el-select"),de=r("el-dialog"),I=T("hasPermi"),ie=T("loading");return m(),$("div",Se,[y(e(L,{model:t(c),ref:"queryRef",inline:!0,"label-width":"68px"},{default:a(()=>[e(p,{label:"名称",prop:"name"},{default:a(()=>[e(b,{modelValue:t(c).name,"onUpdate:modelValue":o[0]||(o[0]=l=>t(c).name=l),placeholder:"请输入名称",clearable:"",style:{width:"240px"},onKeyup:fe(S,["enter"])},null,8,["modelValue"])]),_:1}),e(p,null,{default:a(()=>[e(_,{type:"primary",icon:"Search",onClick:S},{default:a(()=>[s("搜索")]),_:1}),e(_,{icon:"Refresh",onClick:J},{default:a(()=>[s("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[j,t(V)]]),e(te,{gutter:10,class:"mb8"},{default:a(()=>[e(k,{span:1.5},{default:a(()=>[y((m(),v(_,{type:"primary",plain:"",icon:"Plus",onClick:M},{default:a(()=>[s("新增 ")]),_:1})),[[I,["system:store:add"]]])]),_:1}),e(k,{span:1.5},{default:a(()=>[e(_,{type:"primary",plain:"",icon:"Upload",onClick:Y},{default:a(()=>[s("保存 ")]),_:1})]),_:1}),e(k,{span:1.5},{default:a(()=>[e(_,{type:"primary",plain:"",icon:"Refresh",onClick:Z},{default:a(()=>[s("重新加载 ")]),_:1})]),_:1}),e(k,{span:1.5},{default:a(()=>[e(_,{type:"success",plain:"",icon:"Download",onClick:ee},{default:a(()=>[s("导出 ")]),_:1})]),_:1}),e(le,{showSearch:t(V),"onUpdate:showSearch":o[1]||(o[1]=l=>K(V)?V.value=l:null),onQueryTable:f},null,8,["showSearch"])]),_:1}),y((m(),v(ne,{data:t(R)},{default:a(()=>[e(d,{label:"id",align:"center",prop:"id","show-overflow-tooltip":!0}),e(d,{label:"名称",align:"center",prop:"name","show-overflow-tooltip":!0},{default:a(l=>[l.row.type===1?(m(),v(ae,{key:0,to:"/tool/service-data/"+l.row.name,class:"link-type"},{default:a(()=>[z("span",null,h(l.row.name),1)]),_:2},1032,["to"])):(m(),$("span",Pe,h(l.row.name),1))]),_:1}),e(d,{label:"命名空间",align:"center",prop:"namespace","show-overflow-tooltip":!0}),e(d,{label:"pid",align:"center",prop:"pid","show-overflow-tooltip":!0}),e(d,{label:"状态",align:"center",width:"100"},{default:a(l=>[e(oe,{modelValue:l.row.status,"onUpdate:modelValue":x=>l.row.status=x,"active-value":0,"inactive-value":1,onChange:x=>X(l.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),e(d,{label:"cpu",align:"center",prop:"cpu","show-overflow-tooltip":!0}),e(d,{label:"模式",align:"center",prop:"mode","show-overflow-tooltip":!0}),e(d,{label:"监听",align:"center",prop:"watching","show-overflow-tooltip":!0}),e(d,{label:"UDP/TCP服务",align:"center","show-overflow-tooltip":!0},{default:a(l=>[s(h(l.row.type===1?"是":"否"),1)]),_:1}),e(d,{label:"host",align:"center","show-overflow-tooltip":!0},{default:a(l=>[s(h(l.row.type===1?l.row.host:void 0),1)]),_:1}),e(d,{label:"port",align:"center","show-overflow-tooltip":!0},{default:a(l=>[s(h(l.row.type===1?l.row.port:void 0),1)]),_:1}),e(d,{label:"备注",prop:"remark","show-overflow-tooltip":!0}),e(d,{label:"操作",align:"center",width:"160","class-name":"small-padding fixed-width"},{default:a(l=>[y((m(),v(_,{link:"",type:"primary",icon:"Delete",onClick:x=>W(l.row)},{default:a(()=>[s("删除 ")]),_:2},1032,["onClick"])),[[I,["system:store:remove"]]])]),_:1})]),_:1},8,["data"])),[[ie,t(C)]]),y(e(re,{total:t(U),page:t(c).pageNum,"onUpdate:page":o[2]||(o[2]=l=>t(c).pageNum=l),limit:t(c).pageSize,"onUpdate:limit":o[3]||(o[3]=l=>t(c).pageSize=l),onPagination:f},null,8,["total","page","limit"]),[[j,t(U)>0]]),e(de,{title:t(N),modelValue:t(w),"onUpdate:modelValue":o[13]||(o[13]=l=>K(w)?w.value=l:null),width:"500px","append-to-body":""},{footer:a(()=>[z("div",$e,[e(_,{type:"primary",onClick:O},{default:a(()=>[s("确 定")]),_:1}),e(_,{onClick:H},{default:a(()=>[s("取 消")]),_:1})])]),default:a(()=>[e(L,{ref:"serviceRef",model:t(n),rules:t(E),"label-width":"80px"},{default:a(()=>[e(p,{label:"名称",prop:"name"},{default:a(()=>[e(b,{modelValue:t(n).name,"onUpdate:modelValue":o[4]||(o[4]=l=>t(n).name=l),placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),e(p,{label:"类型",prop:"type"},{default:a(()=>[e(ue,{modelValue:t(n).type,"onUpdate:modelValue":o[5]||(o[5]=l=>t(n).type=l),class:"ml-4"},{default:a(()=>[e(B,{value:0,size:"large"},{default:a(()=>[s("普通")]),_:1}),e(B,{value:1,size:"large"},{default:a(()=>[s("UDP/TCP")]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"前置参数",prop:"arg1"},{default:a(()=>[e(b,{modelValue:t(n).arg1,"onUpdate:modelValue":o[6]||(o[6]=l=>t(n).arg1=l),placeholder:"请名称"},null,8,["modelValue"])]),_:1}),t(n).type===1?(m(),v(p,{key:0,label:"域名/IP",prop:"host"},{default:a(()=>[e(b,{modelValue:t(n).host,"onUpdate:modelValue":o[7]||(o[7]=l=>t(n).host=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1})):Q("",!0),t(n).type===1?(m(),v(p,{key:1,label:"端口",prop:"port"},{default:a(()=>[e(se,{modelValue:t(n).port,"onUpdate:modelValue":o[8]||(o[8]=l=>t(n).port=l),placeholder:"请输入"},null,8,["modelValue"])]),_:1})):Q("",!0),e(p,{label:"脚本路径",prop:"arg1"},{default:a(()=>[e(F,{modelValue:t(n).path,"onUpdate:modelValue":o[9]||(o[9]=l=>t(n).path=l),filterable:"",clearable:"",placeholder:"请输入脚本路径"},{default:a(()=>[(m(!0),$(_e,null,ge(t(D),l=>(m(),v(P,{key:l,label:l,value:l},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"后置参数",prop:"arg2"},{default:a(()=>[e(b,{modelValue:t(n).arg2,"onUpdate:modelValue":o[10]||(o[10]=l=>t(n).arg2=l),placeholder:"请名称"},null,8,["modelValue"])]),_:1}),e(p,{label:"状态",prop:"status"},{default:a(()=>[e(F,{modelValue:t(n).status,"onUpdate:modelValue":o[11]||(o[11]=l=>t(n).status=l),size:"large"},{default:a(()=>[e(P,{label:"启用",value:0}),e(P,{label:"停用",value:1})]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"备注",prop:"remark"},{default:a(()=>[e(b,{modelValue:t(n).remark,"onUpdate:modelValue":o[12]||(o[12]=l=>t(n).remark=l),autosize:"",type:"textarea"},null,8,["modelValue"])]),_:1}),z("div",xe,"> pm2 start "+h(t(n).arg1)+" "+h(t(n).path?t(n).path+".mjs":"")+" "+h(t(n).arg2)+' --name="'+h(t(n).name)+'" ',1)]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}}),Le=pe(Re,[["__scopeId","data-v-81235a24"]]);export{Le as default};
@@ -0,0 +1 @@
1
+ import{T as V,r as h,C as ce,J as fe,d,G as K,o as p,c as q,H as b,I as _e,h as a,e,f as l,k as he,K as Q,L as O,l as v,p as m,D as j,m as z,z as G,n as P,B as ve,v as ge,F as ye}from"./index-BYiWbDzj.js";function H(r){return V({url:"/system/dept/list",method:"get",params:r})}function be(r){return V({url:"/system/dept/list/exclude/"+r,method:"get"})}function Ve(r){return V({url:"/system/dept/"+r,method:"get"})}function ke(r){return V({url:"/system/dept",method:"post",data:r})}function we(r){return V({url:"/system/dept",method:"put",data:r})}function Ie(r){return V({url:"/system/dept/"+r,method:"delete"})}const Ne={class:"app-container"},Ce={class:"dialog-footer"},xe=ve({name:"Dept"}),Ue=Object.assign(xe,{setup(r){const{proxy:s}=ge(),{sys_normal_disable:C}=s.useDict("sys_normal_disable"),B=h([]),_=h(!1),x=h(!0),I=h(!0),D=h(""),U=h([]),S=h(!0),T=h(!0),J=ce({form:{},queryParams:{deptName:void 0,status:void 0},rules:{parentId:[{required:!0,message:"上级部门不能为空",trigger:"blur"}],deptName:[{required:!0,message:"部门名称不能为空",trigger:"blur"}],orderNum:[{required:!0,message:"显示排序不能为空",trigger:"blur"}],email:[{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],phone:[{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}),{queryParams:g,form:o,rules:M}=fe(J);function y(){x.value=!0,H(g.value).then(u=>{B.value=s.handleTree(u.data,"deptId"),x.value=!1})}function W(){_.value=!1,$()}function $(){o.value={deptId:void 0,parentId:void 0,deptName:void 0,orderNum:0,leader:void 0,phone:void 0,email:void 0,status:"0"},s.resetForm("deptRef")}function R(){y()}function X(){s.resetForm("queryRef"),R()}function E(u){$(),H().then(n=>{U.value=s.handleTree(n.data,"deptId")}),u!=null&&(o.value.parentId=u.deptId),_.value=!0,D.value="添加部门"}function Y(){T.value=!1,S.value=!S.value,ye(()=>{T.value=!0})}function Z(u){$(),be(u.deptId).then(n=>{U.value=s.handleTree(n.data,"deptId")}),Ve(u.deptId).then(n=>{o.value=n.data,_.value=!0,D.value="修改部门"})}function ee(){s.$refs.deptRef.validate(u=>{u&&(o.value.deptId!=null?we(o.value).then(n=>{s.$modal.msgSuccess("修改成功"),_.value=!1,y()}):ke(o.value).then(n=>{s.$modal.msgSuccess("新增成功"),_.value=!1,y()}))})}function le(u){s.$modal.confirm('是否确认删除名称为"'+u.deptName+'"的数据项?').then(function(){return Ie(u.deptId)}).then(()=>{y(),s.$modal.msgSuccess("删除成功")}).catch(()=>{})}return y(),(u,n)=>{const k=d("el-input"),i=d("el-form-item"),te=d("el-option"),ae=d("el-select"),c=d("el-button"),F=d("el-form"),f=d("el-col"),ne=d("right-toolbar"),L=d("el-row"),w=d("el-table-column"),oe=d("dict-tag"),de=d("el-table"),ue=d("el-tree-select"),re=d("el-input-number"),se=d("el-radio"),pe=d("el-radio-group"),ie=d("el-dialog"),N=K("hasPermi"),me=K("loading");return p(),q("div",Ne,[b(e(F,{model:a(g),ref:"queryRef",inline:!0},{default:l(()=>[e(i,{label:"部门名称",prop:"deptName"},{default:l(()=>[e(k,{modelValue:a(g).deptName,"onUpdate:modelValue":n[0]||(n[0]=t=>a(g).deptName=t),placeholder:"请输入部门名称",clearable:"",style:{width:"200px"},onKeyup:he(R,["enter"])},null,8,["modelValue"])]),_:1}),e(i,{label:"状态",prop:"status"},{default:l(()=>[e(ae,{modelValue:a(g).status,"onUpdate:modelValue":n[1]||(n[1]=t=>a(g).status=t),placeholder:"部门状态",clearable:"",style:{width:"200px"}},{default:l(()=>[(p(!0),q(Q,null,O(a(C),t=>(p(),v(te,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(i,null,{default:l(()=>[e(c,{type:"primary",icon:"Search",onClick:R},{default:l(()=>[m("搜索")]),_:1}),e(c,{icon:"Refresh",onClick:X},{default:l(()=>[m("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[_e,a(I)]]),e(L,{gutter:10,class:"mb8"},{default:l(()=>[e(f,{span:1.5},{default:l(()=>[b((p(),v(c,{type:"primary",plain:"",icon:"Plus",onClick:E},{default:l(()=>[m("新增")]),_:1})),[[N,["system:dept:add"]]])]),_:1}),e(f,{span:1.5},{default:l(()=>[e(c,{type:"info",plain:"",icon:"Sort",onClick:Y},{default:l(()=>[m("展开/折叠")]),_:1})]),_:1}),e(ne,{showSearch:a(I),"onUpdate:showSearch":n[2]||(n[2]=t=>j(I)?I.value=t:null),onQueryTable:y},null,8,["showSearch"])]),_:1}),a(T)?b((p(),v(de,{key:0,data:a(B),"row-key":"deptId","default-expand-all":a(S),"tree-props":{children:"children",hasChildren:"hasChildren"}},{default:l(()=>[e(w,{prop:"deptName",label:"部门名称",width:"260"}),e(w,{prop:"orderNum",label:"排序",width:"200"}),e(w,{prop:"status",label:"状态",width:"100"},{default:l(t=>[e(oe,{options:a(C),value:t.row.status},null,8,["options","value"])]),_:1}),e(w,{label:"创建时间",align:"center",prop:"createTime",width:"200"},{default:l(t=>[z("span",null,G(u.parseTime(t.row.createTime)),1)]),_:1}),e(w,{label:"操作",align:"center","class-name":"small-padding fixed-width"},{default:l(t=>[b((p(),v(c,{link:"",type:"primary",icon:"Edit",onClick:A=>Z(t.row)},{default:l(()=>[m("修改")]),_:2},1032,["onClick"])),[[N,["system:dept:edit"]]]),b((p(),v(c,{link:"",type:"primary",icon:"Plus",onClick:A=>E(t.row)},{default:l(()=>[m("新增")]),_:2},1032,["onClick"])),[[N,["system:dept:add"]]]),t.row.parentId!=0?b((p(),v(c,{key:0,link:"",type:"primary",icon:"Delete",onClick:A=>le(t.row)},{default:l(()=>[m("删除")]),_:2},1032,["onClick"])),[[N,["system:dept:remove"]]]):P("",!0)]),_:1})]),_:1},8,["data","default-expand-all"])),[[me,a(x)]]):P("",!0),e(ie,{title:a(D),modelValue:a(_),"onUpdate:modelValue":n[10]||(n[10]=t=>j(_)?_.value=t:null),width:"600px","append-to-body":""},{footer:l(()=>[z("div",Ce,[e(c,{type:"primary",onClick:ee},{default:l(()=>[m("确 定")]),_:1}),e(c,{onClick:W},{default:l(()=>[m("取 消")]),_:1})])]),default:l(()=>[e(F,{ref:"deptRef",model:a(o),rules:a(M),"label-width":"80px"},{default:l(()=>[e(L,null,{default:l(()=>[a(o).parentId!==0?(p(),v(f,{key:0,span:24},{default:l(()=>[e(i,{label:"上级部门",prop:"parentId"},{default:l(()=>[e(ue,{modelValue:a(o).parentId,"onUpdate:modelValue":n[3]||(n[3]=t=>a(o).parentId=t),data:a(U),props:{value:"deptId",label:"deptName",children:"children"},"value-key":"deptId",placeholder:"选择上级部门","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1})):P("",!0),e(f,{span:12},{default:l(()=>[e(i,{label:"部门名称",prop:"deptName"},{default:l(()=>[e(k,{modelValue:a(o).deptName,"onUpdate:modelValue":n[4]||(n[4]=t=>a(o).deptName=t),placeholder:"请输入部门名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:12},{default:l(()=>[e(i,{label:"显示排序",prop:"orderNum"},{default:l(()=>[e(re,{modelValue:a(o).orderNum,"onUpdate:modelValue":n[5]||(n[5]=t=>a(o).orderNum=t),"controls-position":"right",min:0},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:12},{default:l(()=>[e(i,{label:"负责人",prop:"leader"},{default:l(()=>[e(k,{modelValue:a(o).leader,"onUpdate:modelValue":n[6]||(n[6]=t=>a(o).leader=t),placeholder:"请输入负责人",maxlength:"20"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:12},{default:l(()=>[e(i,{label:"联系电话",prop:"phone"},{default:l(()=>[e(k,{modelValue:a(o).phone,"onUpdate:modelValue":n[7]||(n[7]=t=>a(o).phone=t),placeholder:"请输入联系电话",maxlength:"11"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:12},{default:l(()=>[e(i,{label:"邮箱",prop:"email"},{default:l(()=>[e(k,{modelValue:a(o).email,"onUpdate:modelValue":n[8]||(n[8]=t=>a(o).email=t),placeholder:"请输入邮箱",maxlength:"50"},null,8,["modelValue"])]),_:1})]),_:1}),e(f,{span:12},{default:l(()=>[e(i,{label:"部门状态"},{default:l(()=>[e(pe,{modelValue:a(o).status,"onUpdate:modelValue":n[9]||(n[9]=t=>a(o).status=t)},{default:l(()=>[(p(!0),q(Q,null,O(a(C),t=>(p(),v(se,{key:t.value,label:t.value},{default:l(()=>[m(G(t.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{Ue as default};
@@ -0,0 +1 @@
1
+ import{T as C,r as N,d as n,o as c,c as a,e as o,f as d,p as u,m as l,h as s,z as t,n as _,M as v,l as M,K as T,L as B,v as V}from"./index-BYiWbDzj.js";function J(){return C({url:"/monitor/server",method:"get"})}const L={class:"app-container"},G=l("span",{style:{"vertical-align":"middle"}},"CPU",-1),I={class:"el-table el-table--enable-row-hover el-table--medium"},S={cellspacing:"0",style:{width:"100%"}},z=l("thead",null,[l("tr",null,[l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"属性")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"值")])])],-1),A=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"核心数")],-1),D={class:"el-table__cell is-leaf"},P={key:0,class:"cell"},$=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"用户使用率")],-1),E={class:"el-table__cell is-leaf"},K={key:0,class:"cell"},O=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"系统使用率")],-1),U={class:"el-table__cell is-leaf"},q={key:0,class:"cell"},H=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"当前空闲率")],-1),Q={class:"el-table__cell is-leaf"},R={key:0,class:"cell"},W=l("span",{style:{"vertical-align":"middle"}},"内存",-1),X={class:"el-table el-table--enable-row-hover el-table--medium"},Y={cellspacing:"0",style:{width:"100%"}},Z=l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"属性")],-1),F=l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"内存")],-1),ll={class:"el-table__cell is-leaf"},el={key:0,class:"cell"},sl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"总内存")],-1),tl={class:"el-table__cell is-leaf"},cl={key:0,class:"cell"},al={class:"el-table__cell is-leaf"},_l={key:0,class:"cell"},dl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"已用内存")],-1),ol={class:"el-table__cell is-leaf"},il={key:0,class:"cell"},nl={class:"el-table__cell is-leaf"},hl={key:0,class:"cell"},rl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"剩余内存")],-1),ul={class:"el-table__cell is-leaf"},vl={key:0,class:"cell"},bl={class:"el-table__cell is-leaf"},ml={key:0,class:"cell"},fl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"使用率")],-1),yl={class:"el-table__cell is-leaf"},pl={class:"el-table__cell is-leaf"},gl=l("span",{style:{"vertical-align":"middle"}},"服务器信息",-1),kl={class:"el-table el-table--enable-row-hover el-table--medium"},jl={cellspacing:"0",style:{width:"100%"}},wl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"服务器名称")],-1),xl={class:"el-table__cell is-leaf"},Cl={key:0,class:"cell"},Nl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"操作系统")],-1),Ml={class:"el-table__cell is-leaf"},Tl={key:0,class:"cell"},Bl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"服务器IP")],-1),Vl={class:"el-table__cell is-leaf"},Jl={key:0,class:"cell"},Ll=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"系统架构")],-1),Gl={class:"el-table__cell is-leaf"},Il={key:0,class:"cell"},Sl=l("span",{style:{"vertical-align":"middle"}},"Java虚拟机信息",-1),zl={class:"el-table el-table--enable-row-hover el-table--medium"},Al={cellspacing:"0",style:{width:"100%","table-layout":"fixed"}},Dl=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"Java名称")],-1),Pl={class:"el-table__cell is-leaf"},$l={key:0,class:"cell"},El=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"Java版本")],-1),Kl={class:"el-table__cell is-leaf"},Ol={key:0,class:"cell"},Ul=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"启动时间")],-1),ql={class:"el-table__cell is-leaf"},Hl={key:0,class:"cell"},Ql=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"运行时长")],-1),Rl={class:"el-table__cell is-leaf"},Wl={key:0,class:"cell"},Xl=l("td",{colspan:"1",class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"安装路径")],-1),Yl={colspan:"3",class:"el-table__cell is-leaf"},Zl={key:0,class:"cell"},Fl=l("td",{colspan:"1",class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"项目路径")],-1),le={colspan:"3",class:"el-table__cell is-leaf"},ee={key:0,class:"cell"},se=l("td",{colspan:"1",class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"运行参数")],-1),te={colspan:"3",class:"el-table__cell is-leaf"},ce={key:0,class:"cell"},ae=l("span",{style:{"vertical-align":"middle"}},"Nodejs信息",-1),_e={class:"el-table el-table--enable-row-hover el-table--medium"},de={cellspacing:"0",style:{width:"100%","table-layout":"fixed"}},oe=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"Nodejs版本")],-1),ie={class:"el-table__cell is-leaf"},ne={key:0,class:"cell"},he=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"用户")],-1),re={class:"el-table__cell is-leaf"},ue={key:0,class:"cell"},ve=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"平台")],-1),be={class:"el-table__cell is-leaf"},me={key:0,class:"cell"},fe=l("td",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"内核")],-1),ye={class:"el-table__cell is-leaf"},pe={key:0,class:"cell"},ge=l("td",{colspan:"1",class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"架构")],-1),ke={colspan:"3",class:"el-table__cell is-leaf"},je={key:0,class:"cell"},we=l("span",{style:{"vertical-align":"middle"}},"磁盘状态",-1),xe={class:"el-table el-table--enable-row-hover el-table--medium"},Ce={cellspacing:"0",style:{width:"100%"}},Ne=l("thead",null,[l("tr",null,[l("th",{class:"el-table__cell el-table__cell is-leaf"},[l("div",{class:"cell"},"盘符路径")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"文件系统")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"盘符类型")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"总大小")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"可用大小")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"已用大小")]),l("th",{class:"el-table__cell is-leaf"},[l("div",{class:"cell"},"已用百分比")])])],-1),Me={key:0},Te={class:"el-table__cell is-leaf"},Be={class:"cell"},Ve={class:"el-table__cell is-leaf"},Je={class:"cell"},Le={class:"el-table__cell is-leaf"},Ge={class:"cell"},Ie={class:"el-table__cell is-leaf"},Se={class:"cell"},ze={class:"el-table__cell is-leaf"},Ae={class:"cell"},De={class:"el-table__cell is-leaf"},Pe={class:"cell"},$e={class:"el-table__cell is-leaf"},Ue={__name:"index",setup(Ee){const e=N([]),{proxy:b}=V();function y(){b.$modal.loading("正在加载服务监控数据,请稍候!"),J().then(m=>{e.value=m.data,b.$modal.closeLoading()})}return y(),(m,Ke)=>{const p=n("Cpu"),h=n("el-card"),r=n("el-col"),g=n("Tickets"),k=n("Monitor"),f=n("CoffeeCup"),j=n("MessageBox"),w=n("el-row");return c(),a("div",L,[o(w,null,{default:d(()=>[o(r,{span:12,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(p,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),G]),default:d(()=>[l("div",I,[l("table",S,[z,l("tbody",null,[l("tr",null,[A,l("td",D,[s(e).cpu?(c(),a("div",P,t(s(e).cpu.cpuNum),1)):_("",!0)])]),l("tr",null,[$,l("td",E,[s(e).cpu?(c(),a("div",K,t(s(e).cpu.used)+"%",1)):_("",!0)])]),l("tr",null,[O,l("td",U,[s(e).cpu?(c(),a("div",q,t(s(e).cpu.sys)+"%",1)):_("",!0)])]),l("tr",null,[H,l("td",Q,[s(e).cpu?(c(),a("div",R,t(s(e).cpu.free)+"%",1)):_("",!0)])])])])])]),_:1})]),_:1}),o(r,{span:12,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(g,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),W]),default:d(()=>[l("div",X,[l("table",Y,[l("thead",null,[l("tr",null,[Z,F,l("th",ll,[s(e).jvm?(c(),a("div",el,"JVM")):_("",!0)])])]),l("tbody",null,[l("tr",null,[sl,l("td",tl,[s(e).mem?(c(),a("div",cl,t(s(e).mem.total)+"G",1)):_("",!0)]),l("td",al,[s(e).jvm?(c(),a("div",_l,t(s(e).jvm.total)+"M",1)):_("",!0)])]),l("tr",null,[dl,l("td",ol,[s(e).mem?(c(),a("div",il,t(s(e).mem.used)+"G",1)):_("",!0)]),l("td",nl,[s(e).jvm?(c(),a("div",hl,t(s(e).jvm.used)+"M",1)):_("",!0)])]),l("tr",null,[rl,l("td",ul,[s(e).mem?(c(),a("div",vl,t(s(e).mem.free)+"G",1)):_("",!0)]),l("td",bl,[s(e).jvm?(c(),a("div",ml,t(s(e).jvm.free)+"M",1)):_("",!0)])]),l("tr",null,[fl,l("td",yl,[s(e).mem?(c(),a("div",{key:0,class:v(["cell",{"text-danger":s(e).mem.usage>80}])},t(s(e).mem.usage)+"%",3)):_("",!0)]),l("td",pl,[s(e).jvm?(c(),a("div",{key:0,class:v(["cell",{"text-danger":s(e).jvm.usage>80}])},t(s(e).jvm.usage)+"%",3)):_("",!0)])])])])])]),_:1})]),_:1}),o(r,{span:24,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(k,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),gl]),default:d(()=>[l("div",kl,[l("table",jl,[l("tbody",null,[l("tr",null,[wl,l("td",xl,[s(e).sys?(c(),a("div",Cl,t(s(e).sys.computerName),1)):_("",!0)]),Nl,l("td",Ml,[s(e).sys?(c(),a("div",Tl,t(s(e).sys.osName),1)):_("",!0)])]),l("tr",null,[Bl,l("td",Vl,[s(e).sys?(c(),a("div",Jl,t(s(e).sys.computerIp),1)):_("",!0)]),Ll,l("td",Gl,[s(e).sys?(c(),a("div",Il,t(s(e).sys.osArch),1)):_("",!0)])])])])])]),_:1})]),_:1}),s(e).jvm?(c(),M(r,{key:0,span:24,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(f,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),Sl]),default:d(()=>[l("div",zl,[l("table",Al,[l("tbody",null,[l("tr",null,[Dl,l("td",Pl,[s(e).jvm?(c(),a("div",$l,t(s(e).jvm.name),1)):_("",!0)]),El,l("td",Kl,[s(e).jvm?(c(),a("div",Ol,t(s(e).jvm.version),1)):_("",!0)])]),l("tr",null,[Ul,l("td",ql,[s(e).jvm?(c(),a("div",Hl,t(s(e).jvm.startTime),1)):_("",!0)]),Ql,l("td",Rl,[s(e).jvm?(c(),a("div",Wl,t(s(e).jvm.runTime),1)):_("",!0)])]),l("tr",null,[Xl,l("td",Yl,[s(e).jvm?(c(),a("div",Zl,t(s(e).jvm.home),1)):_("",!0)])]),l("tr",null,[Fl,l("td",le,[s(e).sys?(c(),a("div",ee,t(s(e).sys.userDir),1)):_("",!0)])]),l("tr",null,[se,l("td",te,[s(e).jvm?(c(),a("div",ce,t(s(e).jvm.inputArgs),1)):_("",!0)])])])])])]),_:1})]),_:1})):_("",!0),o(r,{span:24,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(f,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),ae]),default:d(()=>[l("div",_e,[l("table",de,[l("tbody",null,[l("tr",null,[oe,l("td",ie,[s(e).node?(c(),a("div",ne,t(s(e).node.version),1)):_("",!0)]),he,l("td",re,[s(e).node?(c(),a("div",ue,t(s(e).node.username),1)):_("",!0)])]),l("tr",null,[ve,l("td",be,[s(e).node?(c(),a("div",me,t(s(e).node.platform),1)):_("",!0)]),fe,l("td",ye,[s(e).node?(c(),a("div",pe,t(s(e).node.OS),1)):_("",!0)])]),l("tr",null,[ge,l("td",ke,[s(e).node?(c(),a("div",je,t(s(e).node.arch),1)):_("",!0)])])])])])]),_:1})]),_:1}),o(r,{span:24,class:"card-box"},{default:d(()=>[o(h,null,{header:d(()=>[o(j,{style:{width:"1em",height:"1em","vertical-align":"middle"}}),u(),we]),default:d(()=>[l("div",xe,[l("table",Ce,[Ne,s(e).sysFiles?(c(),a("tbody",Me,[(c(!0),a(T,null,B(s(e).sysFiles,(i,x)=>(c(),a("tr",{key:x},[l("td",Te,[l("div",Be,t(i.dirName),1)]),l("td",Ve,[l("div",Je,t(i.sysTypeName),1)]),l("td",Le,[l("div",Ge,t(i.typeName),1)]),l("td",Ie,[l("div",Se,t(i.total),1)]),l("td",ze,[l("div",Ae,t(i.free),1)]),l("td",De,[l("div",Pe,t(i.used),1)]),l("td",$e,[l("div",{class:v(["cell",{"text-danger":i.usage>80}])},t(i.usage)+"%",3)])]))),128))])):_("",!0)])])]),_:1})]),_:1})]),_:1})])}}};export{Ue as default};
@@ -0,0 +1 @@
1
+ import G from"./userAvatar-Bax34kaQ.js";import V from"./userInfo-OvdBjEQX.js";import N from"./resetPwd-M0EIDnQk.js";import{g as C}from"./user-DCGYGA9G.js";import{r as w,C as B,d as r,o as f,c as h,e as s,f as l,B as k,m as e,h as t,p as c,z as a,n as P,D as T}from"./index-BYiWbDzj.js";const U={class:"app-container"},y=e("div",{class:"clearfix"},[e("span",null,"个人信息")],-1),D={class:"text-center"},$={class:"list-group list-group-striped"},j={class:"list-group-item"},z={class:"pull-right"},A={class:"list-group-item"},E={class:"pull-right"},O={class:"list-group-item"},R={class:"pull-right"},S={class:"list-group-item"},q={key:0,class:"pull-right"},F={class:"list-group-item"},H={class:"pull-right"},I={class:"list-group-item"},J={class:"pull-right"},K=e("div",{class:"clearfix"},[e("span",null,"基本资料")],-1),L=k({name:"Profile"}),ee=Object.assign(L,{setup(M){const _=w("userinfo"),o=B({user:{},roleGroup:{},postGroup:{}});function g(){C().then(n=>{o.user=n.data,o.roleGroup=n.roleGroup,o.postGroup=n.postGroup})}return g(),(n,u)=>{const i=r("svg-icon"),p=r("el-card"),d=r("el-col"),m=r("el-tab-pane"),v=r("el-tabs"),b=r("el-row");return f(),h("div",U,[s(b,{gutter:20},{default:l(()=>[s(d,{span:6,xs:24},{default:l(()=>[s(p,{class:"box-card"},{header:l(()=>[y]),default:l(()=>[e("div",null,[e("div",D,[s(t(G))]),e("ul",$,[e("li",j,[s(i,{"icon-class":"user"}),c("用户名称 "),e("div",z,a(t(o).user.userName),1)]),e("li",A,[s(i,{"icon-class":"phone"}),c("手机号码 "),e("div",E,a(t(o).user.phonenumber),1)]),e("li",O,[s(i,{"icon-class":"email"}),c("用户邮箱 "),e("div",R,a(t(o).user.email),1)]),e("li",S,[s(i,{"icon-class":"tree"}),c("所属部门 "),t(o).user.dept?(f(),h("div",q,a(t(o).user.dept.deptName)+" / "+a(t(o).postGroup),1)):P("",!0)]),e("li",F,[s(i,{"icon-class":"peoples"}),c("所属角色 "),e("div",H,a(t(o).roleGroup),1)]),e("li",I,[s(i,{"icon-class":"date"}),c("创建日期 "),e("div",J,a(t(o).user.createTime),1)])])])]),_:1})]),_:1}),s(d,{span:18,xs:24},{default:l(()=>[s(p,null,{header:l(()=>[K]),default:l(()=>[s(v,{modelValue:t(_),"onUpdate:modelValue":u[0]||(u[0]=x=>T(_)?_.value=x:null)},{default:l(()=>[s(m,{label:"基本资料",name:"userinfo"},{default:l(()=>[s(t(V),{user:t(o).user},null,8,["user"])]),_:1}),s(m,{label:"修改密码",name:"resetPwd"},{default:l(()=>[s(t(N))]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})])}}});export{ee as default};
@@ -0,0 +1 @@
1
+ import{T as C,r as g,C as ye,J as ve,d as a,G as L,o as d,c as $,H as _,I as Q,h as n,e,f as o,k as M,K as j,L as A,l as y,D as q,p as s,m as G,z as H,B as he,v as be}from"./index-BYiWbDzj.js";function Ve(p){return C({url:"/system/config/list",method:"get",params:p})}function we(p){return C({url:"/system/config/"+p,method:"get"})}function Ce(p){return C({url:"/system/config",method:"post",data:p})}function ke(p){return C({url:"/system/config",method:"put",data:p})}function xe(p){return C({url:"/system/config/"+p,method:"delete"})}function Ne(){return C({url:"/system/config/refreshCache",method:"delete"})}const Te={class:"app-container"},Se={class:"dialog-footer"},Ke=he({name:"Config"}),De=Object.assign(Ke,{setup(p){const{proxy:c}=be(),{sys_yes_no:S}=c.useDict("sys_yes_no"),P=g([]),h=g(!1),K=g(!0),N=g(!0),U=g([]),B=g(!0),Y=g(!0),D=g(0),R=g(""),k=g([]),J=ye({form:{},queryParams:{pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数键名不能为空",trigger:"blur"}],configValue:[{required:!0,message:"参数键值不能为空",trigger:"blur"}]}}),{queryParams:u,form:i,rules:O}=ve(J);function V(){K.value=!0,Ve(c.addDateRange(u.value,k.value)).then(r=>{P.value=r.rows,D.value=r.total,K.value=!1})}function W(){h.value=!1,I()}function I(){i.value={configId:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},c.resetForm("configRef")}function T(){u.value.pageNum=1,V()}function X(){k.value=[],c.resetForm("queryRef"),T()}function Z(r){U.value=r.map(t=>t.configId),B.value=r.length!=1,Y.value=!r.length}function ee(){I(),h.value=!0,R.value="添加参数"}function z(r){I();const t=r.configId||U.value;we(t).then(b=>{i.value=b.data,h.value=!0,R.value="修改参数"})}function le(){c.$refs.configRef.validate(r=>{r&&(i.value.configId!=null?ke(i.value).then(t=>{c.$modal.msgSuccess("修改成功"),h.value=!1,V()}):Ce(i.value).then(t=>{c.$modal.msgSuccess("新增成功"),h.value=!1,V()}))})}function E(r){const t=r.configId||U.value;c.$modal.confirm('是否确认删除参数编号为"'+t+'"的数据项?').then(function(){return xe(t)}).then(()=>{V(),c.$modal.msgSuccess("删除成功")}).catch(()=>{})}function oe(){c.download("system/config/export",{...u.value},`config_${new Date().getTime()}.xlsx`)}function ne(){Ne().then(()=>{c.$modal.msgSuccess("刷新缓存成功")})}return V(),(r,t)=>{const b=a("el-input"),m=a("el-form-item"),te=a("el-option"),ae=a("el-select"),ie=a("el-date-picker"),f=a("el-button"),F=a("el-form"),x=a("el-col"),ue=a("right-toolbar"),re=a("el-row"),v=a("el-table-column"),de=a("dict-tag"),se=a("el-table"),ce=a("pagination"),fe=a("el-radio"),pe=a("el-radio-group"),me=a("el-dialog"),w=L("hasPermi"),ge=L("loading");return d(),$("div",Te,[_(e(F,{model:n(u),ref:"queryRef",inline:!0,"label-width":"68px"},{default:o(()=>[e(m,{label:"参数名称",prop:"configName"},{default:o(()=>[e(b,{modelValue:n(u).configName,"onUpdate:modelValue":t[0]||(t[0]=l=>n(u).configName=l),placeholder:"请输入参数名称",clearable:"",style:{width:"240px"},onKeyup:M(T,["enter"])},null,8,["modelValue"])]),_:1}),e(m,{label:"参数键名",prop:"configKey"},{default:o(()=>[e(b,{modelValue:n(u).configKey,"onUpdate:modelValue":t[1]||(t[1]=l=>n(u).configKey=l),placeholder:"请输入参数键名",clearable:"",style:{width:"240px"},onKeyup:M(T,["enter"])},null,8,["modelValue"])]),_:1}),e(m,{label:"系统内置",prop:"configType"},{default:o(()=>[e(ae,{modelValue:n(u).configType,"onUpdate:modelValue":t[2]||(t[2]=l=>n(u).configType=l),placeholder:"系统内置",clearable:""},{default:o(()=>[(d(!0),$(j,null,A(n(S),l=>(d(),y(te,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"创建时间",style:{width:"308px"}},{default:o(()=>[e(ie,{modelValue:n(k),"onUpdate:modelValue":t[3]||(t[3]=l=>q(k)?k.value=l:null),"value-format":"YYYY-MM-DD",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1}),e(m,null,{default:o(()=>[e(f,{type:"primary",icon:"Search",onClick:T},{default:o(()=>[s("搜索")]),_:1}),e(f,{icon:"Refresh",onClick:X},{default:o(()=>[s("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[Q,n(N)]]),e(re,{gutter:10,class:"mb8"},{default:o(()=>[e(x,{span:1.5},{default:o(()=>[_((d(),y(f,{type:"primary",plain:"",icon:"Plus",onClick:ee},{default:o(()=>[s("新增")]),_:1})),[[w,["system:config:add"]]])]),_:1}),e(x,{span:1.5},{default:o(()=>[_((d(),y(f,{type:"success",plain:"",icon:"Edit",disabled:n(B),onClick:z},{default:o(()=>[s("修改")]),_:1},8,["disabled"])),[[w,["system:config:edit"]]])]),_:1}),e(x,{span:1.5},{default:o(()=>[_((d(),y(f,{type:"danger",plain:"",icon:"Delete",disabled:n(Y),onClick:E},{default:o(()=>[s("删除")]),_:1},8,["disabled"])),[[w,["system:config:remove"]]])]),_:1}),e(x,{span:1.5},{default:o(()=>[_((d(),y(f,{type:"warning",plain:"",icon:"Download",onClick:oe},{default:o(()=>[s("导出")]),_:1})),[[w,["system:config:export"]]])]),_:1}),e(x,{span:1.5},{default:o(()=>[_((d(),y(f,{type:"danger",plain:"",icon:"Refresh",onClick:ne},{default:o(()=>[s("刷新缓存")]),_:1})),[[w,["system:config:remove"]]])]),_:1}),e(ue,{showSearch:n(N),"onUpdate:showSearch":t[4]||(t[4]=l=>q(N)?N.value=l:null),onQueryTable:V},null,8,["showSearch"])]),_:1}),_((d(),y(se,{data:n(P),onSelectionChange:Z},{default:o(()=>[e(v,{type:"selection",width:"55",align:"center"}),e(v,{label:"参数主键",align:"center",prop:"configId"}),e(v,{label:"参数名称",align:"center",prop:"configName","show-overflow-tooltip":!0}),e(v,{label:"参数键名",align:"center",prop:"configKey","show-overflow-tooltip":!0}),e(v,{label:"参数键值",align:"center",prop:"configValue","show-overflow-tooltip":!0}),e(v,{label:"系统内置",align:"center",prop:"configType"},{default:o(l=>[e(de,{options:n(S),value:l.row.configType},null,8,["options","value"])]),_:1}),e(v,{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}),e(v,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:o(l=>[G("span",null,H(r.parseTime(l.row.createTime)),1)]),_:1}),e(v,{label:"操作",align:"center",width:"150","class-name":"small-padding fixed-width"},{default:o(l=>[_((d(),y(f,{link:"",type:"primary",icon:"Edit",onClick:_e=>z(l.row)},{default:o(()=>[s("修改")]),_:2},1032,["onClick"])),[[w,["system:config:edit"]]]),_((d(),y(f,{link:"",type:"primary",icon:"Delete",onClick:_e=>E(l.row)},{default:o(()=>[s("删除")]),_:2},1032,["onClick"])),[[w,["system:config:remove"]]])]),_:1})]),_:1},8,["data"])),[[ge,n(K)]]),_(e(ce,{total:n(D),page:n(u).pageNum,"onUpdate:page":t[5]||(t[5]=l=>n(u).pageNum=l),limit:n(u).pageSize,"onUpdate:limit":t[6]||(t[6]=l=>n(u).pageSize=l),onPagination:V},null,8,["total","page","limit"]),[[Q,n(D)>0]]),e(me,{title:n(R),modelValue:n(h),"onUpdate:modelValue":t[12]||(t[12]=l=>q(h)?h.value=l:null),width:"500px","append-to-body":""},{footer:o(()=>[G("div",Se,[e(f,{type:"primary",onClick:le},{default:o(()=>[s("确 定")]),_:1}),e(f,{onClick:W},{default:o(()=>[s("取 消")]),_:1})])]),default:o(()=>[e(F,{ref:"configRef",model:n(i),rules:n(O),"label-width":"80px"},{default:o(()=>[e(m,{label:"参数名称",prop:"configName"},{default:o(()=>[e(b,{modelValue:n(i).configName,"onUpdate:modelValue":t[7]||(t[7]=l=>n(i).configName=l),placeholder:"请输入参数名称"},null,8,["modelValue"])]),_:1}),e(m,{label:"参数键名",prop:"configKey"},{default:o(()=>[e(b,{modelValue:n(i).configKey,"onUpdate:modelValue":t[8]||(t[8]=l=>n(i).configKey=l),placeholder:"请输入参数键名"},null,8,["modelValue"])]),_:1}),e(m,{label:"参数键值",prop:"configValue"},{default:o(()=>[e(b,{modelValue:n(i).configValue,"onUpdate:modelValue":t[9]||(t[9]=l=>n(i).configValue=l),placeholder:"请输入参数键值"},null,8,["modelValue"])]),_:1}),e(m,{label:"系统内置",prop:"configType"},{default:o(()=>[e(pe,{modelValue:n(i).configType,"onUpdate:modelValue":t[10]||(t[10]=l=>n(i).configType=l)},{default:o(()=>[(d(!0),$(j,null,A(n(S),l=>(d(),y(fe,{key:l.value,label:l.value},{default:o(()=>[s(H(l.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(m,{label:"备注",prop:"remark"},{default:o(()=>[e(b,{modelValue:n(i).remark,"onUpdate:modelValue":t[11]||(t[11]=l=>n(i).remark=l),type:"textarea",placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"])])}}});export{De as default};
@@ -0,0 +1 @@
1
+ import{a as Ae,r as _,C as te,Z as Qe,J as je,w as He,d,G as ae,o as u,c as S,e as l,f as t,m as k,h as a,D as z,H as y,k as oe,K as T,L as D,l as r,p as g,I as ne,n as h,z as se,B as Ge,v as Je}from"./index-BYiWbDzj.js";import{e as Ze,l as We,f as Xe,h as el,r as ll,i as ue,j as tl,k as al}from"./user-DCGYGA9G.js";const ol={class:"app-container"},nl={class:"head-container"},sl={class:"head-container"},ul={class:"dialog-footer"},dl=k("div",{class:"el-upload__text"},[g("将文件拖到此处,或"),k("em",null,"点击上传")],-1),rl={class:"el-upload__tip text-center"},il={class:"el-upload__tip"},pl=k("span",null,"仅允许导入xls、xlsx格式文件。",-1),ml={class:"dialog-footer"},cl=Ge({name:"User"}),bl=Object.assign(cl,{setup(fl){const de=Ae(),{proxy:i}=Je(),{sys_normal_disable:H,sys_user_sex:re}=i.useDict("sys_normal_disable","sys_user_sex"),G=_([]),x=_(!1),K=_(!0),P=_(!0),O=_([]),J=_(!0),Z=_(!0),E=_(0),M=_(""),$=_([]),B=_(""),Y=_(void 0),ie=_(void 0),A=_([]),Q=_([]),v=te({open:!1,title:"",isUploading:!1,updateSupport:0,headers:{Authorization:"Bearer "+Qe()},url:"/api/system/user/importData"}),I=_([{key:0,label:"用户编号",visible:!0},{key:1,label:"用户名称",visible:!0},{key:2,label:"用户昵称",visible:!0},{key:3,label:"部门",visible:!0},{key:4,label:"手机号码",visible:!0},{key:5,label:"状态",visible:!0},{key:6,label:"创建时间",visible:!0}]),pe=te({form:{},queryParams:{pageNum:1,pageSize:10,userName:void 0,phonenumber:void 0,status:void 0,deptId:void 0},rules:{userName:[{required:!0,message:"用户名称不能为空",trigger:"blur"},{min:2,max:20,message:"用户名称长度必须介于 2 和 20 之间",trigger:"blur"}],nickName:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],password:[{required:!0,message:"用户密码不能为空",trigger:"blur"},{min:5,max:20,message:"用户密码长度必须介于 5 和 20 之间",trigger:"blur"}],email:[{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],phonenumber:[{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}),{queryParams:c,form:s,rules:me}=je(pe),ce=(n,o)=>n?o.label.indexOf(n)!==-1:!0;He(B,n=>{i.$refs.deptTreeRef.filter(n)});function fe(){Ze().then(n=>{Y.value=n.data})}function U(){K.value=!0,We(i.addDateRange(c.value,$.value)).then(n=>{K.value=!1,G.value=n.rows,E.value=n.total})}function _e(n){c.value.deptId=n.id,R()}function R(){c.value.pageNum=1,U()}function ve(){$.value=[],i.resetForm("queryRef"),c.value.deptId=void 0,i.$refs.deptTreeRef.setCurrentKey(null),R()}function W(n){const o=n.userId||O.value;i.$modal.confirm('是否确认删除用户编号为"'+o+'"的数据项?').then(function(){return Xe(o)}).then(()=>{U(),i.$modal.msgSuccess("删除成功")}).catch(()=>{})}function be(){i.download("system/user/export",{...c.value},`user_${new Date().getTime()}.xlsx`)}function ge(n){let o=n.status==="0"?"启用":"停用";i.$modal.confirm('确认要"'+o+'""'+n.userName+'"用户吗?').then(function(){return el(n.userId,n.status)}).then(()=>{i.$modal.msgSuccess(o+"成功")}).catch(function(){n.status=n.status==="0"?"1":"0"})}function he(n){const o=n.userId;de.push("/system/user-auth/role/"+o)}function ye(n){i.$prompt('请输入"'+n.userName+'"的新密码',"提示",{confirmButtonText:"确定",cancelButtonText:"取消",closeOnClickModal:!1,inputPattern:/^.{5,20}$/,inputErrorMessage:"用户密码长度必须介于 5 和 20 之间"}).then(({value:o})=>{ll(n.userId,o).then(p=>{i.$modal.msgSuccess("修改成功,新密码是:"+o)})}).catch(()=>{})}function ke(n){O.value=n.map(o=>o.userId),J.value=n.length!=1,Z.value=!n.length}function Ve(){v.title="用户导入",v.open=!0}function we(){i.download("system/user/importTemplate",{},`user_template_${new Date().getTime()}.xlsx`)}const xe=(n,o,p)=>{v.isUploading=!0},Ie=(n,o,p)=>{v.open=!1,v.isUploading=!1,i.$refs.uploadRef.handleRemove(o),i.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"+n.msg+"</div>","导入结果",{dangerouslyUseHTMLString:!0}),U()};function Ue(){i.$refs.uploadRef.submit()}function j(){s.value={userId:void 0,deptId:void 0,userName:void 0,nickName:void 0,password:void 0,phonenumber:void 0,email:void 0,sex:void 0,status:"0",remark:void 0,postIds:[],roleIds:[]},i.resetForm("userRef")}function Ce(){x.value=!1,j()}function Ne(){j(),ue().then(n=>{A.value=n.posts,Q.value=n.roles,x.value=!0,M.value="添加用户",s.value.password=ie.value})}function X(n){j();const o=n.userId||O.value;ue(o).then(p=>{s.value=p.data,A.value=p.posts,Q.value=p.roles,s.value.postIds=p.postIds,s.value.roleIds=p.roleIds,x.value=!0,M.value="修改用户",s.password=""})}function Se(){i.$refs.userRef.validate(n=>{n&&(s.value.userId!=null?tl(s.value).then(o=>{i.$modal.msgSuccess("修改成功"),x.value=!1,U()}):al(s.value).then(o=>{i.$modal.msgSuccess("新增成功"),x.value=!1,U()}))})}return fe(),U(),(n,o)=>{const p=d("el-input"),$e=d("el-tree"),m=d("el-col"),f=d("el-form-item"),F=d("el-option"),q=d("el-select"),Re=d("el-date-picker"),b=d("el-button"),ee=d("el-form"),Te=d("right-toolbar"),C=d("el-row"),V=d("el-table-column"),De=d("el-switch"),L=d("el-tooltip"),Pe=d("el-table"),Be=d("pagination"),Fe=d("el-tree-select"),qe=d("el-radio"),Le=d("el-radio-group"),le=d("el-dialog"),ze=d("upload-filled"),Ke=d("el-icon"),Oe=d("el-checkbox"),Ee=d("el-link"),Me=d("el-upload"),w=ae("hasPermi"),Ye=ae("loading");return u(),S("div",ol,[l(C,{gutter:20},{default:t(()=>[l(m,{span:4,xs:24},{default:t(()=>[k("div",nl,[l(p,{modelValue:a(B),"onUpdate:modelValue":o[0]||(o[0]=e=>z(B)?B.value=e:null),placeholder:"请输入部门名称",clearable:"","prefix-icon":"Search",style:{"margin-bottom":"20px"}},null,8,["modelValue"])]),k("div",sl,[l($e,{data:a(Y),props:{label:"label",children:"children"},"expand-on-click-node":!1,"filter-node-method":ce,ref:"deptTreeRef","node-key":"id","highlight-current":"","default-expand-all":"",onNodeClick:_e},null,8,["data"])])]),_:1}),l(m,{span:20,xs:24},{default:t(()=>[y(l(ee,{model:a(c),ref:"queryRef",inline:!0,"label-width":"68px"},{default:t(()=>[l(f,{label:"用户名称",prop:"userName"},{default:t(()=>[l(p,{modelValue:a(c).userName,"onUpdate:modelValue":o[1]||(o[1]=e=>a(c).userName=e),placeholder:"请输入用户名称",clearable:"",style:{width:"240px"},onKeyup:oe(R,["enter"])},null,8,["modelValue"])]),_:1}),l(f,{label:"手机号码",prop:"phonenumber"},{default:t(()=>[l(p,{modelValue:a(c).phonenumber,"onUpdate:modelValue":o[2]||(o[2]=e=>a(c).phonenumber=e),placeholder:"请输入手机号码",clearable:"",style:{width:"240px"},onKeyup:oe(R,["enter"])},null,8,["modelValue"])]),_:1}),l(f,{label:"状态",prop:"status"},{default:t(()=>[l(q,{modelValue:a(c).status,"onUpdate:modelValue":o[3]||(o[3]=e=>a(c).status=e),placeholder:"用户状态",clearable:"",style:{width:"240px"}},{default:t(()=>[(u(!0),S(T,null,D(a(H),e=>(u(),r(F,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(f,{label:"创建时间",style:{width:"308px"}},{default:t(()=>[l(Re,{modelValue:a($),"onUpdate:modelValue":o[4]||(o[4]=e=>z($)?$.value=e:null),"value-format":"YYYY-MM-DD",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),_:1}),l(f,null,{default:t(()=>[l(b,{type:"primary",icon:"Search",onClick:R},{default:t(()=>[g("搜索")]),_:1}),l(b,{icon:"Refresh",onClick:ve},{default:t(()=>[g("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[ne,a(P)]]),l(C,{gutter:10,class:"mb8"},{default:t(()=>[l(m,{span:1.5},{default:t(()=>[y((u(),r(b,{type:"primary",plain:"",icon:"Plus",onClick:Ne},{default:t(()=>[g("新增")]),_:1})),[[w,["system:user:add"]]])]),_:1}),l(m,{span:1.5},{default:t(()=>[y((u(),r(b,{type:"success",plain:"",icon:"Edit",disabled:a(J),onClick:X},{default:t(()=>[g("修改")]),_:1},8,["disabled"])),[[w,["system:user:edit"]]])]),_:1}),l(m,{span:1.5},{default:t(()=>[y((u(),r(b,{type:"danger",plain:"",icon:"Delete",disabled:a(Z),onClick:W},{default:t(()=>[g("删除")]),_:1},8,["disabled"])),[[w,["system:user:remove"]]])]),_:1}),l(m,{span:1.5},{default:t(()=>[y((u(),r(b,{type:"info",plain:"",icon:"Upload",onClick:Ve},{default:t(()=>[g("导入")]),_:1})),[[w,["system:user:import"]]])]),_:1}),l(m,{span:1.5},{default:t(()=>[y((u(),r(b,{type:"warning",plain:"",icon:"Download",onClick:be},{default:t(()=>[g("导出")]),_:1})),[[w,["system:user:export"]]])]),_:1}),l(Te,{showSearch:a(P),"onUpdate:showSearch":o[5]||(o[5]=e=>z(P)?P.value=e:null),onQueryTable:U,columns:a(I)},null,8,["showSearch","columns"])]),_:1}),y((u(),r(Pe,{data:a(G),onSelectionChange:ke},{default:t(()=>[l(V,{type:"selection",width:"50",align:"center"}),a(I)[0].visible?(u(),r(V,{label:"用户编号",align:"center",key:"userId",prop:"userId"})):h("",!0),a(I)[1].visible?(u(),r(V,{label:"用户名称",align:"center",key:"userName",prop:"userName","show-overflow-tooltip":!0})):h("",!0),a(I)[2].visible?(u(),r(V,{label:"用户昵称",align:"center",key:"nickName",prop:"nickName","show-overflow-tooltip":!0})):h("",!0),a(I)[3].visible?(u(),r(V,{label:"部门",align:"center",key:"deptName",prop:"dept.deptName","show-overflow-tooltip":!0})):h("",!0),a(I)[4].visible?(u(),r(V,{label:"手机号码",align:"center",key:"phonenumber",prop:"phonenumber",width:"120"})):h("",!0),a(I)[5].visible?(u(),r(V,{label:"状态",align:"center",key:"status"},{default:t(e=>[l(De,{modelValue:e.row.status,"onUpdate:modelValue":N=>e.row.status=N,"active-value":"0","inactive-value":"1",onChange:N=>ge(e.row)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1})):h("",!0),a(I)[6].visible?(u(),r(V,{key:6,label:"创建时间",align:"center",prop:"createTime",width:"160"},{default:t(e=>[k("span",null,se(n.parseTime(e.row.createTime)),1)]),_:1})):h("",!0),l(V,{label:"操作",align:"center",width:"150","class-name":"small-padding fixed-width"},{default:t(e=>[e.row.userId!==1?(u(),r(L,{key:0,content:"修改",placement:"top"},{default:t(()=>[y(l(b,{link:"",type:"primary",icon:"Edit",onClick:N=>X(e.row)},null,8,["onClick"]),[[w,["system:user:edit"]]])]),_:2},1024)):h("",!0),e.row.userId!==1?(u(),r(L,{key:1,content:"删除",placement:"top"},{default:t(()=>[y(l(b,{link:"",type:"primary",icon:"Delete",onClick:N=>W(e.row)},null,8,["onClick"]),[[w,["system:user:remove"]]])]),_:2},1024)):h("",!0),e.row.userId!==1?(u(),r(L,{key:2,content:"重置密码",placement:"top"},{default:t(()=>[y(l(b,{link:"",type:"primary",icon:"Key",onClick:N=>ye(e.row)},null,8,["onClick"]),[[w,["system:user:resetPwd"]]])]),_:2},1024)):h("",!0),e.row.userId!==1?(u(),r(L,{key:3,content:"分配角色",placement:"top"},{default:t(()=>[y(l(b,{link:"",type:"primary",icon:"CircleCheck",onClick:N=>he(e.row)},null,8,["onClick"]),[[w,["system:user:edit"]]])]),_:2},1024)):h("",!0)]),_:1})]),_:1},8,["data"])),[[Ye,a(K)]]),y(l(Be,{total:a(E),page:a(c).pageNum,"onUpdate:page":o[6]||(o[6]=e=>a(c).pageNum=e),limit:a(c).pageSize,"onUpdate:limit":o[7]||(o[7]=e=>a(c).pageSize=e),onPagination:U},null,8,["total","page","limit"]),[[ne,a(E)>0]])]),_:1})]),_:1}),l(le,{title:a(M),modelValue:a(x),"onUpdate:modelValue":o[19]||(o[19]=e=>z(x)?x.value=e:null),width:"600px","append-to-body":""},{footer:t(()=>[k("div",ul,[l(b,{type:"primary",onClick:Se},{default:t(()=>[g("确 定")]),_:1}),l(b,{onClick:Ce},{default:t(()=>[g("取 消")]),_:1})])]),default:t(()=>[l(ee,{model:a(s),rules:a(me),ref:"userRef","label-width":"80px"},{default:t(()=>[l(C,null,{default:t(()=>[l(m,{span:12},{default:t(()=>[l(f,{label:"用户昵称",prop:"nickName"},{default:t(()=>[l(p,{modelValue:a(s).nickName,"onUpdate:modelValue":o[8]||(o[8]=e=>a(s).nickName=e),placeholder:"请输入用户昵称",maxlength:"30"},null,8,["modelValue"])]),_:1})]),_:1}),l(m,{span:12},{default:t(()=>[l(f,{label:"归属部门",prop:"deptId"},{default:t(()=>[l(Fe,{modelValue:a(s).deptId,"onUpdate:modelValue":o[9]||(o[9]=e=>a(s).deptId=e),data:a(Y),props:{value:"id",label:"label",children:"children"},"value-key":"id",placeholder:"请选择归属部门","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:t(()=>[l(m,{span:12},{default:t(()=>[l(f,{label:"手机号码",prop:"phonenumber"},{default:t(()=>[l(p,{modelValue:a(s).phonenumber,"onUpdate:modelValue":o[10]||(o[10]=e=>a(s).phonenumber=e),placeholder:"请输入手机号码",maxlength:"11"},null,8,["modelValue"])]),_:1})]),_:1}),l(m,{span:12},{default:t(()=>[l(f,{label:"邮箱",prop:"email"},{default:t(()=>[l(p,{modelValue:a(s).email,"onUpdate:modelValue":o[11]||(o[11]=e=>a(s).email=e),placeholder:"请输入邮箱",maxlength:"50"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:t(()=>[l(m,{span:12},{default:t(()=>[a(s).userId==null?(u(),r(f,{key:0,label:"用户名称",prop:"userName"},{default:t(()=>[l(p,{modelValue:a(s).userName,"onUpdate:modelValue":o[12]||(o[12]=e=>a(s).userName=e),placeholder:"请输入用户名称",maxlength:"30"},null,8,["modelValue"])]),_:1})):h("",!0)]),_:1}),l(m,{span:12},{default:t(()=>[a(s).userId==null?(u(),r(f,{key:0,label:"用户密码",prop:"password"},{default:t(()=>[l(p,{modelValue:a(s).password,"onUpdate:modelValue":o[13]||(o[13]=e=>a(s).password=e),placeholder:"请输入用户密码",type:"password",maxlength:"20","show-password":""},null,8,["modelValue"])]),_:1})):h("",!0)]),_:1})]),_:1}),l(C,null,{default:t(()=>[l(m,{span:12},{default:t(()=>[l(f,{label:"用户性别"},{default:t(()=>[l(q,{modelValue:a(s).sex,"onUpdate:modelValue":o[14]||(o[14]=e=>a(s).sex=e),placeholder:"请选择"},{default:t(()=>[(u(!0),S(T,null,D(a(re),e=>(u(),r(F,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(m,{span:12},{default:t(()=>[l(f,{label:"状态"},{default:t(()=>[l(Le,{modelValue:a(s).status,"onUpdate:modelValue":o[15]||(o[15]=e=>a(s).status=e)},{default:t(()=>[(u(!0),S(T,null,D(a(H),e=>(u(),r(qe,{key:e.value,label:e.value},{default:t(()=>[g(se(e.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:t(()=>[l(m,{span:12},{default:t(()=>[l(f,{label:"岗位"},{default:t(()=>[l(q,{modelValue:a(s).postIds,"onUpdate:modelValue":o[16]||(o[16]=e=>a(s).postIds=e),multiple:"",placeholder:"请选择"},{default:t(()=>[(u(!0),S(T,null,D(a(A),e=>(u(),r(F,{key:e.postId,label:e.postName,value:e.postId,disabled:e.status==1},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(m,{span:12},{default:t(()=>[l(f,{label:"角色"},{default:t(()=>[l(q,{modelValue:a(s).roleIds,"onUpdate:modelValue":o[17]||(o[17]=e=>a(s).roleIds=e),multiple:"",placeholder:"请选择"},{default:t(()=>[(u(!0),S(T,null,D(a(Q),e=>(u(),r(F,{key:e.roleId,label:e.roleName,value:e.roleId,disabled:e.status==1},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),l(C,null,{default:t(()=>[l(m,{span:24},{default:t(()=>[l(f,{label:"备注"},{default:t(()=>[l(p,{modelValue:a(s).remark,"onUpdate:modelValue":o[18]||(o[18]=e=>a(s).remark=e),type:"textarea",placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["title","modelValue"]),l(le,{title:a(v).title,modelValue:a(v).open,"onUpdate:modelValue":o[22]||(o[22]=e=>a(v).open=e),width:"400px","append-to-body":""},{footer:t(()=>[k("div",ml,[l(b,{type:"primary",onClick:Ue},{default:t(()=>[g("确 定")]),_:1}),l(b,{onClick:o[21]||(o[21]=e=>a(v).open=!1)},{default:t(()=>[g("取 消")]),_:1})])]),default:t(()=>[l(Me,{ref:"uploadRef",limit:1,accept:".xlsx, .xls",headers:a(v).headers,action:a(v).url+"?updateSupport="+a(v).updateSupport,disabled:a(v).isUploading,"on-progress":xe,"on-success":Ie,"auto-upload":!1,drag:""},{tip:t(()=>[k("div",rl,[k("div",il,[l(Oe,{modelValue:a(v).updateSupport,"onUpdate:modelValue":o[20]||(o[20]=e=>a(v).updateSupport=e)},null,8,["modelValue"]),g("是否更新已经存在的用户数据 ")]),pl,l(Ee,{type:"primary",underline:!1,style:{"font-size":"12px","vertical-align":"baseline"},onClick:we},{default:t(()=>[g("下载模板")]),_:1})])]),default:t(()=>[l(Ke,{class:"el-icon--upload"},{default:t(()=>[l(ze)]),_:1}),dl]),_:1},8,["headers","action","disabled"])]),_:1},8,["title","modelValue"])])}}});export{bl as default};