@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,364 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ declare namespace API {
4
+ interface deleteGroupDeleteByIdParams {
5
+ id: string;
6
+ }
7
+
8
+ interface getGroupDetailByIdParams {
9
+ id: string;
10
+ /** 是否显示是否收藏,默认不显示 */
11
+ showIsCollect?: boolean;
12
+ }
13
+
14
+ interface getNoticeDeleteNoticeParams {
15
+ /** 公告服务id */
16
+ id: string;
17
+ }
18
+
19
+ interface getNoticeDeleteNoticeSendParams {
20
+ /** 公告服务推送id */
21
+ id: string;
22
+ }
23
+
24
+ interface getNoticeDetailNoticeParams {
25
+ /** 公告服务id */
26
+ id: string;
27
+ }
28
+
29
+ interface getRegionDeleteRegionByCodeParams {
30
+ code: string;
31
+ }
32
+
33
+ interface getRegionGetListByParentIdParams {
34
+ /** 父级id */
35
+ parentId?: string;
36
+ }
37
+
38
+ interface getRegionGetRegionDetailByCodeParams {
39
+ code: string;
40
+ }
41
+
42
+ interface PageDataPubGroup {
43
+ currentPage?: number;
44
+ pageSize?: number;
45
+ doSearchTotal?: boolean;
46
+ records?: PubGroup[];
47
+ total?: number;
48
+ }
49
+
50
+ interface PageDataPubNotice {
51
+ currentPage?: number;
52
+ pageSize?: number;
53
+ doSearchTotal?: boolean;
54
+ records?: PubNotice[];
55
+ total?: number;
56
+ }
57
+
58
+ interface PubGroup {
59
+ /** 主键 */
60
+ id?: string;
61
+ /** 群组名称 */
62
+ name?: string;
63
+ /** 群组类型:1=组织,2=人员 */
64
+ type?: string;
65
+ /** 可见范围: 1、本部门 2、本部门及子部门 3、全部 */
66
+ viewScope?: string;
67
+ /** 备注 */
68
+ remark?: string;
69
+ /** 是否删除,0:否,1:是 */
70
+ deleted?: boolean;
71
+ /** 创建组织id */
72
+ createdOrgId?: string;
73
+ /** 创建人id */
74
+ createdBy?: string;
75
+ /** 创建时间 */
76
+ createTime?: string;
77
+ /** 更新人id */
78
+ updatedBy?: string;
79
+ /** 更新时间 */
80
+ updateTime?: string;
81
+ /** 更新人姓名 */
82
+ updatedUserName?: string;
83
+ /** 创建人姓名 */
84
+ createUserName?: string;
85
+ }
86
+
87
+ interface PubGroupBo {
88
+ /** 主键 */
89
+ id?: string;
90
+ /** 群组名称 */
91
+ name?: string;
92
+ /** 群组类型:1=组织,2=人员 */
93
+ type?: string;
94
+ /** 可见范围: 1、本部门 2、本部门及子部门 3、全部 */
95
+ viewScope?: string;
96
+ /** 备注 */
97
+ remark?: string;
98
+ /** 是否删除,0:否,1:是 */
99
+ deleted?: boolean;
100
+ /** 创建组织id */
101
+ createdOrgId?: string;
102
+ /** 创建人id */
103
+ createdBy?: string;
104
+ /** 创建时间 */
105
+ createTime?: string;
106
+ /** 更新人id */
107
+ updatedBy?: string;
108
+ /** 更新时间 */
109
+ updateTime?: string;
110
+ /** 更新人姓名 */
111
+ updatedUserName?: string;
112
+ /** 创建人姓名 */
113
+ createUserName?: string;
114
+ /** 群组成员信息 */
115
+ pubGroupMemberList?: PubGroupMemberDto[];
116
+ }
117
+
118
+ interface pubGroupDto {
119
+ currentPage?: number;
120
+ pageSize?: number;
121
+ doSearchTotal?: boolean;
122
+ /** 群组名称 */
123
+ name?: string;
124
+ /** 群组类型:1=组织,2=人员 */
125
+ type?: string;
126
+ }
127
+
128
+ interface PubGroupListDto {
129
+ /** 群组名称 */
130
+ name?: string;
131
+ /** 群组类型:1=组织,2=人员 */
132
+ type?: string;
133
+ }
134
+
135
+ interface PubGroupMemberDto {
136
+ /** 主键 */
137
+ id?: string;
138
+ /** 群组id */
139
+ groupId?: string;
140
+ /** 创建人id */
141
+ createdBy?: string;
142
+ /** 用户id */
143
+ userId?: string;
144
+ /** 用户姓名 */
145
+ userName?: string;
146
+ /** 组织id */
147
+ orgId?: string;
148
+ /** 组织名称 */
149
+ orgName?: string;
150
+ /** 组织全名称 */
151
+ fullOrgName?: string;
152
+ }
153
+
154
+ interface PubNotice {
155
+ /** id */
156
+ id?: string;
157
+ /** 标题 */
158
+ title?: string;
159
+ /** 公告类型, 1-通知 2-公告 3-升级 */
160
+ type?: string;
161
+ /** 内容 */
162
+ content?: string;
163
+ /** 置顶标识, 0-未置顶,1-置顶 */
164
+ top?: boolean;
165
+ /** 附件地址,多个逗号隔开 */
166
+ url?: string;
167
+ /** 阅读量 */
168
+ reviewCount?: number;
169
+ /** 状态,0-草稿,1-发布,2-下线 */
170
+ status?: string;
171
+ deleted?: boolean;
172
+ /** 创建人id */
173
+ createdBy?: string;
174
+ /** 创建时间 */
175
+ createTime?: string;
176
+ /** 更新人id */
177
+ updatedBy?: string;
178
+ /** 更新时间 */
179
+ updateTime?: string;
180
+ }
181
+
182
+ interface PubNoticeDto {
183
+ /** id */
184
+ id?: string;
185
+ /** 标题 */
186
+ title?: string;
187
+ /** 公告类型, 1-通知 2-公告 3-升级 */
188
+ type?: string;
189
+ /** 内容 */
190
+ content?: string;
191
+ /** 置顶标识, 0-未置顶,1-置顶 */
192
+ top?: boolean;
193
+ /** 附件地址,多个逗号隔开 */
194
+ url?: string;
195
+ /** 阅读量 */
196
+ reviewCount?: number;
197
+ /** 状态,0-草稿,1-发布,2-下线 */
198
+ status?: string;
199
+ /** 创建人id */
200
+ createdBy?: string;
201
+ /** 创建时间 */
202
+ createTime?: string;
203
+ /** 更新人id */
204
+ updatedBy?: string;
205
+ /** 更新时间 */
206
+ updateTime?: string;
207
+ }
208
+
209
+ interface PubNoticePageDto {
210
+ currentPage?: number;
211
+ pageSize?: number;
212
+ doSearchTotal?: boolean;
213
+ /** id */
214
+ id?: string;
215
+ /** 标题 */
216
+ title?: string;
217
+ /** 公告类型, 1-通知 2-公告 3-升级 */
218
+ type?: string;
219
+ /** 内容 */
220
+ content?: string;
221
+ /** 状态,0-草稿,1-发布,2-下线 */
222
+ status?: string;
223
+ }
224
+
225
+ interface PubNoticeSendDto {
226
+ /** id */
227
+ id?: string;
228
+ /** 公告id */
229
+ noticeId?: number;
230
+ /** 接收对象类型 1-组织,2-个人 */
231
+ objectType?: string;
232
+ /** 接收组织,逗号分隔 */
233
+ orgIds?: string;
234
+ /** 接收人-逗号分隔 */
235
+ userIds?: string;
236
+ /** 接收方式(站内、钉钉、email等) */
237
+ channel?: string;
238
+ /** 发送时间 */
239
+ sendTime?: number;
240
+ /** 发送状态(0:等待发送,1:发送成功,2:发送失败) */
241
+ sendState?: string;
242
+ /** 备注 */
243
+ remark?: string;
244
+ /** 创建人id */
245
+ createdBy?: string;
246
+ /** 创建时间 */
247
+ createTime?: string;
248
+ /** 更新人id */
249
+ updatedBy?: string;
250
+ /** 更新时间 */
251
+ updateTime?: string;
252
+ }
253
+
254
+ interface PubRegion {
255
+ /** id */
256
+ id?: string;
257
+ /** 父级id */
258
+ parentId?: string;
259
+ /** 祖籍id */
260
+ idPath?: string;
261
+ /** 行政区名称 */
262
+ name?: string;
263
+ /** 行政区编码 */
264
+ code?: string;
265
+ /** 区域类型 */
266
+ type?: string;
267
+ /** 区域编码 */
268
+ regionCode?: string;
269
+ /** 排序 */
270
+ sort?: number;
271
+ /** 删除标识, 0-未删除, 1-删除 */
272
+ deleted?: boolean;
273
+ /** 更新用户id */
274
+ updatedBy?: string;
275
+ /** 更新时间 */
276
+ updateTime?: string;
277
+ /** 创建用户id */
278
+ createdBy?: string;
279
+ /** 创建时间 */
280
+ createTime?: string;
281
+ isLeaf?: boolean;
282
+ /** 父级名称 */
283
+ parentName?: string;
284
+ }
285
+
286
+ interface PubRegionAddDto {
287
+ /** 父级id */
288
+ parentId?: string;
289
+ /** 行政区名称 */
290
+ name: string;
291
+ /** 行政区编码 */
292
+ code: string;
293
+ /** 区域类型 */
294
+ type: string;
295
+ /** 区域编码 */
296
+ regionCode: string;
297
+ /** 排序 */
298
+ sort?: number;
299
+ }
300
+
301
+ interface ResponseData {
302
+ code?: number;
303
+ msg?: string;
304
+ hint?: string;
305
+ data?: Record<string, any>;
306
+ success?: boolean;
307
+ }
308
+
309
+ interface ResponseDataBoolean {
310
+ code?: number;
311
+ msg?: string;
312
+ hint?: string;
313
+ data?: boolean;
314
+ success?: boolean;
315
+ }
316
+
317
+ interface ResponseDataListPubGroup {
318
+ code?: number;
319
+ msg?: string;
320
+ hint?: string;
321
+ data?: PubGroup[];
322
+ success?: boolean;
323
+ }
324
+
325
+ interface ResponseDataListPubRegion {
326
+ code?: number;
327
+ msg?: string;
328
+ hint?: string;
329
+ data?: PubRegion[];
330
+ success?: boolean;
331
+ }
332
+
333
+ interface ResponseDataPageDataPubGroup {
334
+ code?: number;
335
+ msg?: string;
336
+ hint?: string;
337
+ data?: PageDataPubGroup;
338
+ success?: boolean;
339
+ }
340
+
341
+ interface ResponseDataPageDataPubNotice {
342
+ code?: number;
343
+ msg?: string;
344
+ hint?: string;
345
+ data?: PageDataPubNotice;
346
+ success?: boolean;
347
+ }
348
+
349
+ interface ResponseDataPubGroupBo {
350
+ code?: number;
351
+ msg?: string;
352
+ hint?: string;
353
+ data?: PubGroupBo;
354
+ success?: boolean;
355
+ }
356
+
357
+ interface ResponseDataPubRegion {
358
+ code?: number;
359
+ msg?: string;
360
+ hint?: string;
361
+ data?: PubRegion;
362
+ success?: boolean;
363
+ }
364
+ }
@@ -0,0 +1,95 @@
1
+ import { basic as request } from '@/api/request';
2
+
3
+ /**
4
+ * @description 新增黑白名单
5
+ * @url /blackWhiteList/addBlackWhiteList
6
+ * @method POST
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function postBlackWhiteListAddBlackWhiteList<
10
+ R = API.ResponseDataBoolean,
11
+ T = API.ResponseDataBoolean,
12
+ >(body: API.BlackWhiteListAddDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
13
+ return request.Post<R, T>('/blackWhiteList/addBlackWhiteList', body, {
14
+ headers: {
15
+ 'Content-Type': 'application/json',
16
+ },
17
+ ...(options || {}),
18
+ });
19
+ }
20
+
21
+ /**
22
+ * @description 删除黑白名单
23
+ * @url /blackWhiteList/delete/${param0}
24
+ * @method GET
25
+ * @author @pubinfo/openapi
26
+ */
27
+ export function getBlackWhiteListDeleteById<
28
+ R = API.ResponseDataBoolean,
29
+ T = API.ResponseDataBoolean,
30
+ >(
31
+ params: API.getBlackWhiteListDeleteByIdParams,
32
+ options?: Parameters<typeof request.Get<R, T>>[1],
33
+ ) {
34
+ const { id: param0, ...queryParams } = params;
35
+ return request.Get<R, T>(`/blackWhiteList/delete/${param0}`, {
36
+ params: { ...queryParams },
37
+ ...(options || {}),
38
+ });
39
+ }
40
+
41
+ /**
42
+ * @description 查询黑白名单
43
+ * @url /blackWhiteList/getBlackWhiteList/${param0}
44
+ * @method GET
45
+ * @author @pubinfo/openapi
46
+ */
47
+ export function getBlackWhiteListGetBlackWhiteListById<
48
+ R = API.ResponseDataPubBlackWhiteList,
49
+ T = API.ResponseDataPubBlackWhiteList,
50
+ >(
51
+ params: API.getBlackWhiteListGetBlackWhiteListByIdParams,
52
+ options?: Parameters<typeof request.Get<R, T>>[1],
53
+ ) {
54
+ const { id: param0, ...queryParams } = params;
55
+ return request.Get<R, T>(`/blackWhiteList/getBlackWhiteList/${param0}`, {
56
+ params: { ...queryParams },
57
+ ...(options || {}),
58
+ });
59
+ }
60
+
61
+ /**
62
+ * @description 分页查询查询黑白名单列表
63
+ * @url /blackWhiteList/getBlackWhiteListPageList
64
+ * @method POST
65
+ * @author @pubinfo/openapi
66
+ */
67
+ export function postBlackWhiteListGetBlackWhiteListPageList<
68
+ R = API.ResponseDataIPagePubBlackWhiteList,
69
+ T = API.ResponseDataIPagePubBlackWhiteList,
70
+ >(body: API.BlackWhiteListQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
71
+ return request.Post<R, T>('/blackWhiteList/getBlackWhiteListPageList', body, {
72
+ headers: {
73
+ 'Content-Type': 'application/json',
74
+ },
75
+ ...(options || {}),
76
+ });
77
+ }
78
+
79
+ /**
80
+ * @description 编辑黑白名单
81
+ * @url /blackWhiteList/updateBlackWhiteList
82
+ * @method POST
83
+ * @author @pubinfo/openapi
84
+ */
85
+ export function postBlackWhiteListUpdateBlackWhiteList<
86
+ R = API.ResponseDataBoolean,
87
+ T = API.ResponseDataBoolean,
88
+ >(body: API.BlackWhiteListUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
89
+ return request.Post<R, T>('/blackWhiteList/updateBlackWhiteList', body, {
90
+ headers: {
91
+ 'Content-Type': 'application/json',
92
+ },
93
+ ...(options || {}),
94
+ });
95
+ }
@@ -0,0 +1,5 @@
1
+ export * from './heibaimingdanfuwu';
2
+ // API 更新时间:
3
+ // API 唯一标识:
4
+ export * from './xitongpeizhifuwu';
5
+ export * from './zidianfuwu';