@pubinfo/module-rbac 2.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/package.json +53 -0
  2. package/src/api/modules/assist/gonggaofuwu.ts +109 -0
  3. package/src/api/modules/assist/index.ts +5 -0
  4. package/src/api/modules/assist/qunzujiekou.ts +95 -0
  5. package/src/api/modules/assist/quyujiekou.ts +97 -0
  6. package/src/api/modules/assist/typings.d.ts +364 -0
  7. package/src/api/modules/configData/heibaimingdanfuwu.ts +95 -0
  8. package/src/api/modules/configData/index.ts +5 -0
  9. package/src/api/modules/configData/typings.d.ts +347 -0
  10. package/src/api/modules/configData/xitongpeizhifuwu.ts +322 -0
  11. package/src/api/modules/configData/zidianfuwu.ts +151 -0
  12. package/src/api/modules/log/caozuorizhifuwu.ts +37 -0
  13. package/src/api/modules/log/denglurizhifuwu.ts +37 -0
  14. package/src/api/modules/log/index.ts +4 -0
  15. package/src/api/modules/log/typings.d.ts +179 -0
  16. package/src/api/modules/rbac/gangweijiekou.ts +93 -0
  17. package/src/api/modules/rbac/index.ts +13 -0
  18. package/src/api/modules/rbac/jiaosejiekou.ts +124 -0
  19. package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +113 -0
  20. package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +186 -0
  21. package/src/api/modules/rbac/typings.d.ts +2001 -0
  22. package/src/api/modules/rbac/yonghujiekou.ts +225 -0
  23. package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +93 -0
  24. package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +72 -0
  25. package/src/api/modules/rbac/ziyuanjiekou.ts +223 -0
  26. package/src/api/modules/rbac/zuhuguanlijiekou.ts +91 -0
  27. package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +76 -0
  28. package/src/api/modules/rbac/zuzhijiekou.ts +171 -0
  29. package/src/api/request.ts +3 -0
  30. package/src/assets/icons/403.svg +1 -0
  31. package/src/assets/icons/403_dark.svg +1 -0
  32. package/src/assets/icons/404.svg +1 -0
  33. package/src/assets/icons/404_dark.svg +1 -0
  34. package/src/assets/icons/add-child.svg +1 -0
  35. package/src/assets/icons/authority.svg +1 -0
  36. package/src/assets/icons/authorize.svg +1 -0
  37. package/src/assets/icons/blacklist-disable.svg +1 -0
  38. package/src/assets/icons/blacklist-enable.svg +1 -0
  39. package/src/assets/icons/browser-360.svg +1 -0
  40. package/src/assets/icons/browser-chrome.svg +1 -0
  41. package/src/assets/icons/browser-edge.svg +1 -0
  42. package/src/assets/icons/browser-ie.svg +1 -0
  43. package/src/assets/icons/browser-other.svg +1 -0
  44. package/src/assets/icons/browser-qq.svg +1 -0
  45. package/src/assets/icons/browser-safari.svg +1 -0
  46. package/src/assets/icons/browser-uc.svg +1 -0
  47. package/src/assets/icons/change-org.svg +1 -0
  48. package/src/assets/icons/edit.svg +1 -0
  49. package/src/assets/icons/empty-data.svg +1 -0
  50. package/src/assets/icons/favorites.svg +1 -0
  51. package/src/assets/icons/icard.svg +1 -0
  52. package/src/assets/icons/icon_animation.svg +1 -0
  53. package/src/assets/icons/icon_breadcrumb.svg +1 -0
  54. package/src/assets/icons/icon_copyright.svg +1 -0
  55. package/src/assets/icons/icon_jt.svg +1 -0
  56. package/src/assets/icons/icon_layout.svg +1 -0
  57. package/src/assets/icons/icon_mainpage.svg +1 -0
  58. package/src/assets/icons/icon_menu.svg +1 -0
  59. package/src/assets/icons/icon_page_size.svg +1 -0
  60. package/src/assets/icons/icon_position_type.svg +1 -0
  61. package/src/assets/icons/icon_safe_manage.svg +1 -0
  62. package/src/assets/icons/icon_screen_scale.svg +6 -0
  63. package/src/assets/icons/icon_system_manage.svg +1 -0
  64. package/src/assets/icons/icon_tabbar.svg +1 -0
  65. package/src/assets/icons/icon_toolbar.svg +1 -0
  66. package/src/assets/icons/icon_topbar.svg +1 -0
  67. package/src/assets/icons/icon_watermark.svg +1 -0
  68. package/src/assets/icons/image-load-fail.svg +1 -0
  69. package/src/assets/icons/log-center.svg +1 -0
  70. package/src/assets/icons/logo-sig.svg +1 -0
  71. package/src/assets/icons/logo.svg +1 -0
  72. package/src/assets/icons/mima.svg +1 -0
  73. package/src/assets/icons/not-data.svg +1 -0
  74. package/src/assets/icons/org-main.svg +1 -0
  75. package/src/assets/icons/org-unmain.svg +1 -0
  76. package/src/assets/icons/process-management.svg +1 -0
  77. package/src/assets/icons/project-management.svg +1 -0
  78. package/src/assets/icons/rbac.svg +1 -0
  79. package/src/assets/icons/remove.svg +1 -0
  80. package/src/assets/icons/resource-app.svg +1 -0
  81. package/src/assets/icons/resource-btn.svg +1 -0
  82. package/src/assets/icons/resource-index.svg +1 -0
  83. package/src/assets/icons/resource-menu.svg +1 -0
  84. package/src/assets/icons/resource-nonmenu.svg +1 -0
  85. package/src/assets/icons/setting-manage.svg +1 -0
  86. package/src/assets/icons/test.svg +1 -0
  87. package/src/assets/icons/theme-check-mark.svg +1 -0
  88. package/src/assets/icons/theme-title.svg +1 -0
  89. package/src/assets/icons/toolbar-collapse.svg +1 -0
  90. package/src/assets/icons/tree_icon.svg +1 -0
  91. package/src/assets/icons/tree_icon_checked.svg +1 -0
  92. package/src/assets/icons/view.svg +1 -0
  93. package/src/assets/icons/workbench.svg +1 -0
  94. package/src/assets/icons/zddata.svg +1 -0
  95. package/src/assets/icons/zy_checked.svg +1 -0
  96. package/src/assets/icons/zy_default.svg +1 -0
  97. package/src/assets/images/layout/item1.webp +0 -0
  98. package/src/assets/images/layout/item1_dark.webp +0 -0
  99. package/src/assets/images/layout/item2.webp +0 -0
  100. package/src/assets/images/layout/item2_dark.webp +0 -0
  101. package/src/assets/images/layout/item3.webp +0 -0
  102. package/src/assets/images/layout/item3_dark.webp +0 -0
  103. package/src/assets/images/layout/item4.webp +0 -0
  104. package/src/assets/images/layout/item4_dark.webp +0 -0
  105. package/src/assets/images/layout/item5.webp +0 -0
  106. package/src/assets/images/layout/item5_dark.webp +0 -0
  107. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  108. package/src/assets/images/page-width/auto.webp +0 -0
  109. package/src/assets/images/page-width/auto_dark.webp +0 -0
  110. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  111. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  112. package/src/assets/images/page-width/icon_auto.webp +0 -0
  113. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  114. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  115. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  116. package/src/assets/images/page-width/icon_middle.webp +0 -0
  117. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  118. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  119. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  120. package/src/assets/images/page-width/middle.webp +0 -0
  121. package/src/assets/images/page-width/middle_dark.webp +0 -0
  122. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  123. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  124. package/src/assets/lottie/breadcrumb/dark/enable.json +1 -0
  125. package/src/assets/lottie/breadcrumb/dark/enableMainMenu.json +1 -0
  126. package/src/assets/lottie/breadcrumb/dark/style.json +1 -0
  127. package/src/assets/lottie/breadcrumb/light/enable.json +1 -0
  128. package/src/assets/lottie/breadcrumb/light/enableMainMenu.json +1 -0
  129. package/src/assets/lottie/breadcrumb/light/style.json +1 -0
  130. package/src/assets/lottie/layout/data-test.json +1 -0
  131. package/src/assets/lottie/layout/data.json +1 -0
  132. package/src/assets/lottie/menu/dark/enableHotkeys.json +1 -0
  133. package/src/assets/lottie/menu/dark/enableSubMenuCollapseButton.json +1 -0
  134. package/src/assets/lottie/menu/dark/isRounded.json +1 -0
  135. package/src/assets/lottie/menu/dark/menuActiveStyle.json +1 -0
  136. package/src/assets/lottie/menu/dark/subMenuCollapse.json +1 -0
  137. package/src/assets/lottie/menu/dark/subMenuUniqueOpened.json +1 -0
  138. package/src/assets/lottie/menu/light/enableHotkeys.json +1 -0
  139. package/src/assets/lottie/menu/light/enableSubMenuCollapseButton.json +1 -0
  140. package/src/assets/lottie/menu/light/isRounded.json +1 -0
  141. package/src/assets/lottie/menu/light/menuActiveStyle.json +1 -0
  142. package/src/assets/lottie/menu/light/subMenuCollapse.json +1 -0
  143. package/src/assets/lottie/menu/light/subMenuUniqueOpened.json +1 -0
  144. package/src/assets/lottie/other/dark/enableCopyright.json +1 -0
  145. package/src/assets/lottie/other/dark/enableHotkeys.json +1 -0
  146. package/src/assets/lottie/other/dark/switchTabbarAndToolbar.json +1 -0
  147. package/src/assets/lottie/other/light/enableCopyright.json +1 -0
  148. package/src/assets/lottie/other/light/enableHotkeys.json +1 -0
  149. package/src/assets/lottie/other/light/switchTabbarAndToolbar.json +1 -0
  150. package/src/assets/lottie/page_animation/dark/fadeinout.json +1 -0
  151. package/src/assets/lottie/page_animation/dark/fadeinout_old.json +1 -0
  152. package/src/assets/lottie/page_animation/dark/tobottom.json +1 -0
  153. package/src/assets/lottie/page_animation/dark/tobottom_old.json +1 -0
  154. package/src/assets/lottie/page_animation/dark/toleft.json +1 -0
  155. package/src/assets/lottie/page_animation/dark/toleft_old.json +1 -0
  156. package/src/assets/lottie/page_animation/dark/toright.json +1 -0
  157. package/src/assets/lottie/page_animation/dark/toright_old.json +1 -0
  158. package/src/assets/lottie/page_animation/dark/totop.json +1 -0
  159. package/src/assets/lottie/page_animation/dark/totop_old.json +1 -0
  160. package/src/assets/lottie/page_animation/light/fadeinout.json +1 -0
  161. package/src/assets/lottie/page_animation/light/tobottom.json +1 -0
  162. package/src/assets/lottie/page_animation/light/toleft.json +1 -0
  163. package/src/assets/lottie/page_animation/light/toright.json +1 -0
  164. package/src/assets/lottie/page_animation/light/totop.json +1 -0
  165. package/src/assets/lottie/tabbar/dark/enable.json +1 -0
  166. package/src/assets/lottie/tabbar/dark/enableHotkeys.json +1 -0
  167. package/src/assets/lottie/tabbar/dark/enableIcon.json +1 -0
  168. package/src/assets/lottie/tabbar/dark/enableMemory.json +1 -0
  169. package/src/assets/lottie/tabbar/dark/style.json +1 -0
  170. package/src/assets/lottie/tabbar/light/enable.json +1 -0
  171. package/src/assets/lottie/tabbar/light/enableHotkeys.json +1 -0
  172. package/src/assets/lottie/tabbar/light/enableIcon.json +1 -0
  173. package/src/assets/lottie/tabbar/light/enableMemory.json +1 -0
  174. package/src/assets/lottie/tabbar/light/style.json +1 -0
  175. package/src/assets/lottie/toolbar/dark/enableColorScheme.json +1 -0
  176. package/src/assets/lottie/toolbar/dark/enableFullscreen.json +1 -0
  177. package/src/assets/lottie/toolbar/dark/enableI18n.json +1 -0
  178. package/src/assets/lottie/toolbar/dark/enableNotification.json +1 -0
  179. package/src/assets/lottie/toolbar/dark/enablePageReload.json +1 -0
  180. package/src/assets/lottie/toolbar/dark/enableUserPreferences.json +1 -0
  181. package/src/assets/lottie/toolbar/dark/navSearchEnable.json +1 -0
  182. package/src/assets/lottie/toolbar/dark/navSearchEnableHotkeys.json +1 -0
  183. package/src/assets/lottie/toolbar/light/enableColorScheme.json +1 -0
  184. package/src/assets/lottie/toolbar/light/enableFullscreen.json +1 -0
  185. package/src/assets/lottie/toolbar/light/enableI18n.json +1 -0
  186. package/src/assets/lottie/toolbar/light/enableNotification.json +1 -0
  187. package/src/assets/lottie/toolbar/light/enablePageReload.json +1 -0
  188. package/src/assets/lottie/toolbar/light/enableUserPreferences.json +1 -0
  189. package/src/assets/lottie/toolbar/light/navSearchEnable.json +1 -0
  190. package/src/assets/lottie/toolbar/light/navSearchEnableHotkeys.json +1 -0
  191. package/src/assets/lottie/watermark/dark/enableWatermark.json +1 -0
  192. package/src/assets/lottie/watermark/light/enableWatermark.json +1 -0
  193. package/src/assets/styles/vxe-table.css +13 -0
  194. package/src/components/GroupSelector/index.vue +311 -0
  195. package/src/components/OrgTree/index.vue +91 -0
  196. package/src/components/OrgUserSelector/OrgSelector.vue +135 -0
  197. package/src/components/OrgUserSelector/UserSelector.vue +164 -0
  198. package/src/components/OrgUserSelector/index.ts +47 -0
  199. package/src/components/OrgUserSelector/provider.ts +373 -0
  200. package/src/components/ResourceSelector/enum.ts +5 -0
  201. package/src/components/ResourceSelector/hooks/useAppAndResource.ts +96 -0
  202. package/src/components/ResourceSelector/index.vue +432 -0
  203. package/src/composables/useLottie.ts +65 -0
  204. package/src/index.ts +31 -0
  205. package/src/interface.ts +54 -0
  206. package/src/routes/index.ts +156 -0
  207. package/src/routes/modules/authority.manage.menu.ts +105 -0
  208. package/src/routes/modules/log.manage.menu.ts +45 -0
  209. package/src/routes/modules/safe.manage.menu.ts +71 -0
  210. package/src/routes/modules/stylesetting.manage.menu.ts +130 -0
  211. package/src/routes/modules/system.manage.menu.ts +92 -0
  212. package/src/stores/index.ts +1 -0
  213. package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +132 -0
  214. package/src/views/blackWhiteList/enum.ts +7 -0
  215. package/src/views/blackWhiteList/index.vue +309 -0
  216. package/src/views/blackWhiteList/types.ts +4 -0
  217. package/src/views/breadcrumb_setting/animationData.ts +15 -0
  218. package/src/views/breadcrumb_setting/index.vue +147 -0
  219. package/src/views/components/HCheckList.vue +47 -0
  220. package/src/views/components/animation_item.vue +37 -0
  221. package/src/views/components/setItem.vue +126 -0
  222. package/src/views/data-permission/components/createAndEditDataPermission.vue +354 -0
  223. package/src/views/data-permission/enum.ts +59 -0
  224. package/src/views/data-permission/index.vue +190 -0
  225. package/src/views/dictionary/components/drawerDictionary.vue +108 -0
  226. package/src/views/dictionary/components/drawerDictionaryItem.vue +115 -0
  227. package/src/views/dictionary/enum.ts +8 -0
  228. package/src/views/dictionary/index.vue +194 -0
  229. package/src/views/dictionary/itemlist.vue +164 -0
  230. package/src/views/group/components/drawerGroup.vue +177 -0
  231. package/src/views/group/enum.ts +25 -0
  232. package/src/views/group/index.vue +207 -0
  233. package/src/views/layout_setting/index.vue +306 -0
  234. package/src/views/log_center/components/browserType.vue +35 -0
  235. package/src/views/log_center/components/loginHistoryDetail.vue +71 -0
  236. package/src/views/log_center/components/operateHistoryDetail.vue +80 -0
  237. package/src/views/log_center/login_history.vue +239 -0
  238. package/src/views/log_center/operate_history.vue +233 -0
  239. package/src/views/menu_setting/animationData.ts +27 -0
  240. package/src/views/menu_setting/index.vue +207 -0
  241. package/src/views/organization/components/drawerOrganization.vue +161 -0
  242. package/src/views/organization/components/drawerRole.vue +159 -0
  243. package/src/views/organization/components/roleSelect.vue +258 -0
  244. package/src/views/organization/enum.ts +26 -0
  245. package/src/views/organization/index.vue +516 -0
  246. package/src/views/other_setting/animationData.ts +15 -0
  247. package/src/views/other_setting/index.vue +250 -0
  248. package/src/views/other_setting/interface.ts +26 -0
  249. package/src/views/page_animation_setting/animationData.ts +23 -0
  250. package/src/views/page_animation_setting/index.vue +200 -0
  251. package/src/views/page_w_setting/index.vue +238 -0
  252. package/src/views/position/components/drawerPosition.vue +131 -0
  253. package/src/views/position/enum.ts +8 -0
  254. package/src/views/position/index.vue +167 -0
  255. package/src/views/region/components/drawerRegion.vue +143 -0
  256. package/src/views/region/enum.ts +24 -0
  257. package/src/views/region/index.vue +246 -0
  258. package/src/views/resource/components/ResourceEdit.vue +209 -0
  259. package/src/views/resource/components/RoleRelation.vue +100 -0
  260. package/src/views/resource/enum.ts +35 -0
  261. package/src/views/resource/index.vue +237 -0
  262. package/src/views/resource/interface.ts +6 -0
  263. package/src/views/role/components/ResourceRelation.vue +113 -0
  264. package/src/views/role/components/drawerRole.vue +191 -0
  265. package/src/views/role/enum.ts +26 -0
  266. package/src/views/role/index.vue +183 -0
  267. package/src/views/role/interface.ts +6 -0
  268. package/src/views/role_group/components/ResourceRelation.vue +91 -0
  269. package/src/views/role_group/components/drawerRole.vue +153 -0
  270. package/src/views/role_group/components/roleSelect.vue +224 -0
  271. package/src/views/role_group/enum.ts +22 -0
  272. package/src/views/role_group/index.vue +170 -0
  273. package/src/views/role_group/interface.ts +6 -0
  274. package/src/views/safe_setting/index.vue +237 -0
  275. package/src/views/tabbar_setting/animationData.ts +23 -0
  276. package/src/views/tabbar_setting/index.vue +186 -0
  277. package/src/views/tenant/components/TenantEdit.vue +226 -0
  278. package/src/views/tenant/index.vue +192 -0
  279. package/src/views/tenant/interface.ts +4 -0
  280. package/src/views/theme_setting/index.vue +465 -0
  281. package/src/views/toolbar_setting/animationData.ts +42 -0
  282. package/src/views/toolbar_setting/index.vue +189 -0
  283. package/src/views/user/components/OrgAndPosition.vue +156 -0
  284. package/src/views/user/components/UserAuthorization.vue +260 -0
  285. package/src/views/user/components/UserEdit.vue +267 -0
  286. package/src/views/user/components/roleSelect.vue +258 -0
  287. package/src/views/user/enum.ts +13 -0
  288. package/src/views/user/index.vue +266 -0
  289. package/src/views/user/interface.ts +43 -0
  290. package/src/views/watermark_setting/animationData.ts +7 -0
  291. package/src/views/watermark_setting/index.vue +236 -0
@@ -0,0 +1,151 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 字典项删除
5
+ * @url /dict/item/delete/${param0}
6
+ * @method DELETE
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function deleteDictItemDeleteById<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
10
+ params: API.deleteDictItemDeleteByIdParams,
11
+ options?: Parameters<typeof request.Delete<R, T>>[2],
12
+ ) {
13
+ const { id: param0, ...queryParams } = params;
14
+ return request.Delete<R, T>(
15
+ `/dict/item/delete/${param0}`,
16
+ {},
17
+ {
18
+ params: { ...queryParams },
19
+ ...(options || {}),
20
+ },
21
+ );
22
+ }
23
+
24
+ /**
25
+ * @description 字典项列表
26
+ * @url /dict/item/list
27
+ * @method GET
28
+ * @author @pubinfo/openapi
29
+ */
30
+ export function getDictItemList<
31
+ R = API.ResponseDataListDictItemVo,
32
+ T = API.ResponseDataListDictItemVo,
33
+ >(params: API.getDictItemListParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
34
+ return request.Get<R, T>('/dict/item/list', {
35
+ params: {
36
+ ...params,
37
+ },
38
+ ...(options || {}),
39
+ });
40
+ }
41
+
42
+ /**
43
+ * @description 字典项列表(批量返回)
44
+ * @url /dict/item/list/batch
45
+ * @method GET
46
+ * @author @pubinfo/openapi
47
+ */
48
+ export function getDictItemListBatch<
49
+ R = API.ResponseDataListDictItemBatchVo,
50
+ T = API.ResponseDataListDictItemBatchVo,
51
+ >(params: API.getDictItemListBatchParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
52
+ return request.Get<R, T>('/dict/item/list/batch', {
53
+ params: {
54
+ ...params,
55
+ },
56
+ ...(options || {}),
57
+ });
58
+ }
59
+
60
+ /**
61
+ * @description 字典项分页查询
62
+ * @url /dict/item/page
63
+ * @method POST
64
+ * @author @pubinfo/openapi
65
+ */
66
+ export function postDictItemPage<
67
+ R = API.ResponseDataPageDataDictItemVo,
68
+ T = API.ResponseDataPageDataDictItemVo,
69
+ >(body: API.DictItemQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
70
+ return request.Post<R, T>('/dict/item/page', body, {
71
+ headers: {
72
+ 'Content-Type': 'application/json',
73
+ },
74
+ ...(options || {}),
75
+ });
76
+ }
77
+
78
+ /**
79
+ * @description 字典项保存
80
+ * @url /dict/item/save
81
+ * @method POST
82
+ * @author @pubinfo/openapi
83
+ */
84
+ export function postDictItemSave<R = API.ResponseDataString, T = API.ResponseDataString>(
85
+ body: API.DictItemSaveDto,
86
+ options?: Parameters<typeof request.Post<R, T>>[2],
87
+ ) {
88
+ return request.Post<R, T>('/dict/item/save', body, {
89
+ headers: {
90
+ 'Content-Type': 'application/json',
91
+ },
92
+ ...(options || {}),
93
+ });
94
+ }
95
+
96
+ /**
97
+ * @description 字典类型删除
98
+ * @url /dict/type/delete/${param0}
99
+ * @method DELETE
100
+ * @author @pubinfo/openapi
101
+ */
102
+ export function deleteDictTypeDeleteById<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
103
+ params: API.deleteDictTypeDeleteByIdParams,
104
+ options?: Parameters<typeof request.Delete<R, T>>[2],
105
+ ) {
106
+ const { id: param0, ...queryParams } = params;
107
+ return request.Delete<R, T>(
108
+ `/dict/type/delete/${param0}`,
109
+ {},
110
+ {
111
+ params: { ...queryParams },
112
+ ...(options || {}),
113
+ },
114
+ );
115
+ }
116
+
117
+ /**
118
+ * @description 字典类型分页查询
119
+ * @url /dict/type/page
120
+ * @method POST
121
+ * @author @pubinfo/openapi
122
+ */
123
+ export function postDictTypePage<
124
+ R = API.ResponseDataPageDataDictTypeVo,
125
+ T = API.ResponseDataPageDataDictTypeVo,
126
+ >(body: API.DictTypeQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
127
+ return request.Post<R, T>('/dict/type/page', body, {
128
+ headers: {
129
+ 'Content-Type': 'application/json',
130
+ },
131
+ ...(options || {}),
132
+ });
133
+ }
134
+
135
+ /**
136
+ * @description 字典类型保存
137
+ * @url /dict/type/save
138
+ * @method POST
139
+ * @author @pubinfo/openapi
140
+ */
141
+ export function postDictTypeSave<R = API.ResponseDataString, T = API.ResponseDataString>(
142
+ body: API.DictTypeSaveDto,
143
+ options?: Parameters<typeof request.Post<R, T>>[2],
144
+ ) {
145
+ return request.Post<R, T>('/dict/type/save', body, {
146
+ headers: {
147
+ 'Content-Type': 'application/json',
148
+ },
149
+ ...(options || {}),
150
+ });
151
+ }
@@ -0,0 +1,37 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 操作日志详情
5
+ * @url /log/operate/detailOperate
6
+ * @method GET
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function getLogOperateDetailOperate<
10
+ R = API.ResponseDataPubOperateLogDto,
11
+ T = API.ResponseDataPubOperateLogDto,
12
+ >(params: API.getLogOperateDetailOperateParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
13
+ return request.Get<R, T>('/log/operate/detailOperate', {
14
+ params: {
15
+ ...params,
16
+ },
17
+ ...(options || {}),
18
+ });
19
+ }
20
+
21
+ /**
22
+ * @description 操作日志分页查询
23
+ * @url /log/operate/page
24
+ * @method POST
25
+ * @author @pubinfo/openapi
26
+ */
27
+ export function postLogOperatePage<
28
+ R = API.ResponseDataPageDataPubOperateLogDto,
29
+ T = API.ResponseDataPageDataPubOperateLogDto,
30
+ >(body: API.PubOperateLogQuery, options?: Parameters<typeof request.Post<R, T>>[2]) {
31
+ return request.Post<R, T>('/log/operate/page', body, {
32
+ headers: {
33
+ 'Content-Type': 'application/json',
34
+ },
35
+ ...(options || {}),
36
+ });
37
+ }
@@ -0,0 +1,37 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 登录日志详情
5
+ * @url /log/login/detailLogin
6
+ * @method GET
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function getLogLoginDetailLogin<
10
+ R = API.ResponseDataPubLoginLogDto,
11
+ T = API.ResponseDataPubLoginLogDto,
12
+ >(params: API.getLogLoginDetailLoginParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
13
+ return request.Get<R, T>('/log/login/detailLogin', {
14
+ params: {
15
+ ...params,
16
+ },
17
+ ...(options || {}),
18
+ });
19
+ }
20
+
21
+ /**
22
+ * @description 登录日志分页查询
23
+ * @url /log/login/page
24
+ * @method POST
25
+ * @author @pubinfo/openapi
26
+ */
27
+ export function postLogLoginPage<
28
+ R = API.ResponseDataPageDataPubLoginLogDto,
29
+ T = API.ResponseDataPageDataPubLoginLogDto,
30
+ >(body: API.PubLoginLogQuery, options?: Parameters<typeof request.Post<R, T>>[2]) {
31
+ return request.Post<R, T>('/log/login/page', body, {
32
+ headers: {
33
+ 'Content-Type': 'application/json',
34
+ },
35
+ ...(options || {}),
36
+ });
37
+ }
@@ -0,0 +1,4 @@
1
+ // API 更新时间:
2
+ // API 唯一标识:
3
+ export * from './caozuorizhifuwu';
4
+ export * from './denglurizhifuwu';
@@ -0,0 +1,179 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ declare namespace API {
4
+ interface getLogLoginDetailLoginParams {
5
+ /** 登录日志id */
6
+ id: string;
7
+ }
8
+
9
+ interface getLogOperateDetailOperateParams {
10
+ /** 操作日志id */
11
+ id: string;
12
+ }
13
+
14
+ interface PageDataPubLoginLogDto {
15
+ currentPage?: number;
16
+ pageSize?: number;
17
+ doSearchTotal?: boolean;
18
+ records?: PubLoginLogDto[];
19
+ total?: number;
20
+ }
21
+
22
+ interface PageDataPubOperateLogDto {
23
+ currentPage?: number;
24
+ pageSize?: number;
25
+ doSearchTotal?: boolean;
26
+ records?: PubOperateLogDto[];
27
+ total?: number;
28
+ }
29
+
30
+ interface PubLoginLogDto {
31
+ /** id */
32
+ id?: number;
33
+ /** 用户id */
34
+ userId?: string;
35
+ /** 账号名 */
36
+ loginName?: string;
37
+ /** 用户姓名 */
38
+ realName?: string;
39
+ /** 组织id */
40
+ orgId?: string;
41
+ /** 组织名称 */
42
+ orgName?: string;
43
+ /** 登录IP */
44
+ loginIp?: string;
45
+ /** 登录时间 */
46
+ loginTime?: string;
47
+ /** 登录类型 */
48
+ loginType?: string;
49
+ /** 登录设备类型, 1-电脑,2-鸿蒙,3-安卓,4-苹果 */
50
+ deviceType?: string;
51
+ /** 登录浏览器 */
52
+ browserName?: string;
53
+ /** 操作系统 */
54
+ os?: string;
55
+ /** 登录是否成功, 0-失败, 1-成功 */
56
+ success?: boolean;
57
+ }
58
+
59
+ interface PubLoginLogQuery {
60
+ currentPage?: number;
61
+ pageSize?: number;
62
+ doSearchTotal?: boolean;
63
+ /** 账号名 */
64
+ loginName?: string;
65
+ /** 用户姓名 */
66
+ realName?: string;
67
+ /** 组织名称 */
68
+ orgName?: string;
69
+ /** 登录IP */
70
+ loginIp?: string;
71
+ /** 开始时间 */
72
+ loginStartTime?: string;
73
+ /** 结束时间 */
74
+ loginEndTime?: string;
75
+ /** 登录类型 */
76
+ loginType?: string;
77
+ /** 登录是否成功, 0-失败, 1-成功 */
78
+ success?: boolean;
79
+ }
80
+
81
+ interface PubOperateLogDto {
82
+ /** 主键 */
83
+ id?: string;
84
+ /** 操作用户id */
85
+ operatorUserId?: string;
86
+ /** 账号名 */
87
+ loginName?: string;
88
+ /** 用户姓名 */
89
+ realName?: string;
90
+ /** 组织id */
91
+ orgId?: string;
92
+ /** 组织名称 */
93
+ orgName?: string;
94
+ /** 操作时间 */
95
+ operateTime?: string;
96
+ /** 操作类型 */
97
+ operateType?: string;
98
+ /** 操作菜单目录 */
99
+ moduleName?: string;
100
+ /** 请求参数 */
101
+ requestParams?: string;
102
+ /** 请求方法,GET、POST、DELETE */
103
+ requestMethod?: string;
104
+ /** 请求地址 */
105
+ requestUri?: string;
106
+ /** 操作人ip */
107
+ remoteAddr?: string;
108
+ /** 服务端ip */
109
+ serverAddr?: string;
110
+ /** 是否成功 */
111
+ success?: boolean;
112
+ /** 耗时,ms */
113
+ executeTime?: number;
114
+ /** 操作设备/操作系统类型, 1-PC,2-鸿蒙,3-安卓,4-苹果 */
115
+ deviceType?: string;
116
+ /** 浏览器名称 */
117
+ browserName?: string;
118
+ /** 日志说明 */
119
+ title?: string;
120
+ }
121
+
122
+ interface PubOperateLogQuery {
123
+ currentPage?: number;
124
+ pageSize?: number;
125
+ doSearchTotal?: boolean;
126
+ /** 主键 */
127
+ id?: string;
128
+ /** 账号名 */
129
+ loginName?: string;
130
+ /** 用户姓名 */
131
+ realName?: string;
132
+ /** 组织名称 */
133
+ orgName?: string;
134
+ /** 开始时间 */
135
+ operateStartTime?: string;
136
+ /** 结束时间 */
137
+ operateEndTime?: string;
138
+ /** 操作菜单目录 */
139
+ moduleName?: string;
140
+ /** 请求方法,GET、POST、DELETE */
141
+ requestMethod?: string;
142
+ /** 是否异常 */
143
+ success?: boolean;
144
+ /** 日志说明 */
145
+ title?: string;
146
+ }
147
+
148
+ interface ResponseDataPageDataPubLoginLogDto {
149
+ code?: number;
150
+ msg?: string;
151
+ hint?: string;
152
+ data?: PageDataPubLoginLogDto;
153
+ success?: boolean;
154
+ }
155
+
156
+ interface ResponseDataPageDataPubOperateLogDto {
157
+ code?: number;
158
+ msg?: string;
159
+ hint?: string;
160
+ data?: PageDataPubOperateLogDto;
161
+ success?: boolean;
162
+ }
163
+
164
+ interface ResponseDataPubLoginLogDto {
165
+ code?: number;
166
+ msg?: string;
167
+ hint?: string;
168
+ data?: PubLoginLogDto;
169
+ success?: boolean;
170
+ }
171
+
172
+ interface ResponseDataPubOperateLogDto {
173
+ code?: number;
174
+ msg?: string;
175
+ hint?: string;
176
+ data?: PubOperateLogDto;
177
+ success?: boolean;
178
+ }
179
+ }
@@ -0,0 +1,93 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 删除 delete
5
+ * @url /rbac/post/delete/${param0}
6
+ * @method DELETE
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function deleteRbacPostDeleteById<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
10
+ params: API.deleteRbacPostDeleteByIdParams,
11
+ options?: Parameters<typeof request.Delete<R, T>>[2],
12
+ ) {
13
+ const { id: param0, ...queryParams } = params;
14
+ return request.Delete<R, T>(
15
+ `/rbac/post/delete/${param0}`,
16
+ {},
17
+ {
18
+ params: { ...queryParams },
19
+ ...(options || {}),
20
+ },
21
+ );
22
+ }
23
+
24
+ /**
25
+ * @description 根据主键获取信息 detail
26
+ * @url /rbac/post/detail/${param0}
27
+ * @method GET
28
+ * @author @pubinfo/openapi
29
+ */
30
+ export function getRbacPostDetailById<R = API.ResponseDataPubPost, T = API.ResponseDataPubPost>(
31
+ params: API.getRbacPostDetailByIdParams,
32
+ options?: Parameters<typeof request.Get<R, T>>[1],
33
+ ) {
34
+ const { id: param0, ...queryParams } = params;
35
+ return request.Get<R, T>(`/rbac/post/detail/${param0}`, {
36
+ params: { ...queryParams },
37
+ ...(options || {}),
38
+ });
39
+ }
40
+
41
+ /**
42
+ * @description 分页查询 findPage
43
+ * @url /rbac/post/findPage
44
+ * @method POST
45
+ * @author @pubinfo/openapi
46
+ */
47
+ export function postRbacPostFindPage<
48
+ R = API.ResponseDataPageDataPubPost,
49
+ T = API.ResponseDataPageDataPubPost,
50
+ >(body: API.PubPostQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
51
+ return request.Post<R, T>('/rbac/post/findPage', body, {
52
+ headers: {
53
+ 'Content-Type': 'application/json',
54
+ },
55
+ ...(options || {}),
56
+ });
57
+ }
58
+
59
+ /**
60
+ * @description 全量岗位列表查询 list
61
+ * @url /rbac/post/list
62
+ * @method GET
63
+ * @author @pubinfo/openapi
64
+ */
65
+ export function getRbacPostList<R = API.ResponseDataListPubPost, T = API.ResponseDataListPubPost>(
66
+ params: API.getRbacPostListParams,
67
+ options?: Parameters<typeof request.Get<R, T>>[1],
68
+ ) {
69
+ return request.Get<R, T>('/rbac/post/list', {
70
+ params: {
71
+ ...params,
72
+ },
73
+ ...(options || {}),
74
+ });
75
+ }
76
+
77
+ /**
78
+ * @description 新增岗位 save
79
+ * @url /rbac/post/save
80
+ * @method POST
81
+ * @author @pubinfo/openapi
82
+ */
83
+ export function postRbacPostSave<R = API.ResponseDataString, T = API.ResponseDataString>(
84
+ body: API.PubPostDto,
85
+ options?: Parameters<typeof request.Post<R, T>>[2],
86
+ ) {
87
+ return request.Post<R, T>('/rbac/post/save', body, {
88
+ headers: {
89
+ 'Content-Type': 'application/json',
90
+ },
91
+ ...(options || {}),
92
+ });
93
+ }
@@ -0,0 +1,13 @@
1
+ export * from './gangweijiekou';
2
+ export * from './jiaosejiekou';
3
+ export * from './pubJiaosezukongzhiqi';
4
+ export * from './shujuquanxianzhubiaokongzhiqi';
5
+ // API 更新时间:
6
+ // API 唯一标识:
7
+ export * from './yonghujiekou';
8
+ export * from './yonghushoucangbiaojiekou';
9
+ export * from './yonghuzuijinchangyongbiaojiekou';
10
+ export * from './ziyuanjiekou';
11
+ export * from './zuhuguanlijiekou';
12
+ export * from './zuzhijiaosebiaokongzhiqi';
13
+ export * from './zuzhijiekou';
@@ -0,0 +1,124 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 角色新增
5
+ * @url /rbac/role/addRole
6
+ * @method POST
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function postRbacRoleAddRole<R = API.ResponseDataPubRoleBo, T = API.ResponseDataPubRoleBo>(
10
+ body: API.PubRoleAddDto,
11
+ options?: Parameters<typeof request.Post<R, T>>[2],
12
+ ) {
13
+ return request.Post<R, T>('/rbac/role/addRole', body, {
14
+ headers: {
15
+ 'Content-Type': 'application/json',
16
+ },
17
+ ...(options || {}),
18
+ });
19
+ }
20
+
21
+ /**
22
+ * @description 根据id查询
23
+ * @url /rbac/role/info
24
+ * @method GET
25
+ * @author @pubinfo/openapi
26
+ */
27
+ export function getRbacRoleInfo<
28
+ R = API.ResponseDataPubRoleResourceBo,
29
+ T = API.ResponseDataPubRoleResourceBo,
30
+ >(params: API.getRbacRoleInfoParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
31
+ return request.Get<R, T>('/rbac/role/info', {
32
+ params: {
33
+ ...params,
34
+ },
35
+ ...(options || {}),
36
+ });
37
+ }
38
+
39
+ /**
40
+ * @description 角色删除
41
+ * @url /rbac/role/roleDelete
42
+ * @method GET
43
+ * @author @pubinfo/openapi
44
+ */
45
+ export function getRbacRoleRoleDelete<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
46
+ params: API.getRbacRoleRoleDeleteParams,
47
+ options?: Parameters<typeof request.Get<R, T>>[1],
48
+ ) {
49
+ return request.Get<R, T>('/rbac/role/roleDelete', {
50
+ params: {
51
+ ...params,
52
+ },
53
+ ...(options || {}),
54
+ });
55
+ }
56
+
57
+ /**
58
+ * @description 角色不分页查询
59
+ * @url /rbac/role/roleList
60
+ * @method GET
61
+ * @author @pubinfo/openapi
62
+ */
63
+ export function getRbacRoleRoleList<
64
+ R = API.ResponseDataListPubRole,
65
+ T = API.ResponseDataListPubRole,
66
+ >(options?: Parameters<typeof request.Get<R, T>>[1]) {
67
+ return request.Get<R, T>('/rbac/role/roleList', {
68
+ ...(options || {}),
69
+ });
70
+ }
71
+
72
+ /**
73
+ * @description 角色分页查询
74
+ * @url /rbac/role/rolePage
75
+ * @method POST
76
+ * @author @pubinfo/openapi
77
+ */
78
+ export function postRbacRoleRolePage<
79
+ R = API.ResponseDataPageDataPubRoleBo,
80
+ T = API.ResponseDataPageDataPubRoleBo,
81
+ >(body: API.PubRoleQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
82
+ return request.Post<R, T>('/rbac/role/rolePage', body, {
83
+ headers: {
84
+ 'Content-Type': 'application/json',
85
+ },
86
+ ...(options || {}),
87
+ });
88
+ }
89
+
90
+ /**
91
+ * @description 角色编辑
92
+ * @url /rbac/role/roleUpdate
93
+ * @method POST
94
+ * @author @pubinfo/openapi
95
+ */
96
+ export function postRbacRoleRoleUpdate<
97
+ R = API.ResponseDataPubRoleBo,
98
+ T = API.ResponseDataPubRoleBo,
99
+ >(body: API.PubRoleUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
100
+ return request.Post<R, T>('/rbac/role/roleUpdate', body, {
101
+ headers: {
102
+ 'Content-Type': 'application/json',
103
+ },
104
+ ...(options || {}),
105
+ });
106
+ }
107
+
108
+ /**
109
+ * @description 角色用户分页查询
110
+ * @url /rbac/role/roleUserPage
111
+ * @method POST
112
+ * @author @pubinfo/openapi
113
+ */
114
+ export function postRbacRoleRoleUserPage<
115
+ R = API.ResponseDataPageDataPubUserOrgRoleBo,
116
+ T = API.ResponseDataPageDataPubUserOrgRoleBo,
117
+ >(body: API.PubRoleQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
118
+ return request.Post<R, T>('/rbac/role/roleUserPage', body, {
119
+ headers: {
120
+ 'Content-Type': 'application/json',
121
+ },
122
+ ...(options || {}),
123
+ });
124
+ }