@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.
- package/package.json +53 -0
- package/src/api/modules/assist/gonggaofuwu.ts +109 -0
- package/src/api/modules/assist/index.ts +5 -0
- package/src/api/modules/assist/qunzujiekou.ts +95 -0
- package/src/api/modules/assist/quyujiekou.ts +97 -0
- package/src/api/modules/assist/typings.d.ts +364 -0
- package/src/api/modules/configData/heibaimingdanfuwu.ts +95 -0
- package/src/api/modules/configData/index.ts +5 -0
- package/src/api/modules/configData/typings.d.ts +347 -0
- package/src/api/modules/configData/xitongpeizhifuwu.ts +322 -0
- package/src/api/modules/configData/zidianfuwu.ts +151 -0
- package/src/api/modules/log/caozuorizhifuwu.ts +37 -0
- package/src/api/modules/log/denglurizhifuwu.ts +37 -0
- package/src/api/modules/log/index.ts +4 -0
- package/src/api/modules/log/typings.d.ts +179 -0
- package/src/api/modules/rbac/gangweijiekou.ts +93 -0
- package/src/api/modules/rbac/index.ts +13 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +124 -0
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +113 -0
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +186 -0
- package/src/api/modules/rbac/typings.d.ts +2001 -0
- package/src/api/modules/rbac/yonghujiekou.ts +225 -0
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +93 -0
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +72 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +223 -0
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +91 -0
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +76 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +171 -0
- package/src/api/request.ts +3 -0
- package/src/assets/icons/403.svg +1 -0
- package/src/assets/icons/403_dark.svg +1 -0
- package/src/assets/icons/404.svg +1 -0
- package/src/assets/icons/404_dark.svg +1 -0
- package/src/assets/icons/add-child.svg +1 -0
- package/src/assets/icons/authority.svg +1 -0
- package/src/assets/icons/authorize.svg +1 -0
- package/src/assets/icons/blacklist-disable.svg +1 -0
- package/src/assets/icons/blacklist-enable.svg +1 -0
- package/src/assets/icons/browser-360.svg +1 -0
- package/src/assets/icons/browser-chrome.svg +1 -0
- package/src/assets/icons/browser-edge.svg +1 -0
- package/src/assets/icons/browser-ie.svg +1 -0
- package/src/assets/icons/browser-other.svg +1 -0
- package/src/assets/icons/browser-qq.svg +1 -0
- package/src/assets/icons/browser-safari.svg +1 -0
- package/src/assets/icons/browser-uc.svg +1 -0
- package/src/assets/icons/change-org.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/empty-data.svg +1 -0
- package/src/assets/icons/favorites.svg +1 -0
- package/src/assets/icons/icard.svg +1 -0
- package/src/assets/icons/icon_animation.svg +1 -0
- package/src/assets/icons/icon_breadcrumb.svg +1 -0
- package/src/assets/icons/icon_copyright.svg +1 -0
- package/src/assets/icons/icon_jt.svg +1 -0
- package/src/assets/icons/icon_layout.svg +1 -0
- package/src/assets/icons/icon_mainpage.svg +1 -0
- package/src/assets/icons/icon_menu.svg +1 -0
- package/src/assets/icons/icon_page_size.svg +1 -0
- package/src/assets/icons/icon_position_type.svg +1 -0
- package/src/assets/icons/icon_safe_manage.svg +1 -0
- package/src/assets/icons/icon_screen_scale.svg +6 -0
- package/src/assets/icons/icon_system_manage.svg +1 -0
- package/src/assets/icons/icon_tabbar.svg +1 -0
- package/src/assets/icons/icon_toolbar.svg +1 -0
- package/src/assets/icons/icon_topbar.svg +1 -0
- package/src/assets/icons/icon_watermark.svg +1 -0
- package/src/assets/icons/image-load-fail.svg +1 -0
- package/src/assets/icons/log-center.svg +1 -0
- package/src/assets/icons/logo-sig.svg +1 -0
- package/src/assets/icons/logo.svg +1 -0
- package/src/assets/icons/mima.svg +1 -0
- package/src/assets/icons/not-data.svg +1 -0
- package/src/assets/icons/org-main.svg +1 -0
- package/src/assets/icons/org-unmain.svg +1 -0
- package/src/assets/icons/process-management.svg +1 -0
- package/src/assets/icons/project-management.svg +1 -0
- package/src/assets/icons/rbac.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/resource-app.svg +1 -0
- package/src/assets/icons/resource-btn.svg +1 -0
- package/src/assets/icons/resource-index.svg +1 -0
- package/src/assets/icons/resource-menu.svg +1 -0
- package/src/assets/icons/resource-nonmenu.svg +1 -0
- package/src/assets/icons/setting-manage.svg +1 -0
- package/src/assets/icons/test.svg +1 -0
- package/src/assets/icons/theme-check-mark.svg +1 -0
- package/src/assets/icons/theme-title.svg +1 -0
- package/src/assets/icons/toolbar-collapse.svg +1 -0
- package/src/assets/icons/tree_icon.svg +1 -0
- package/src/assets/icons/tree_icon_checked.svg +1 -0
- package/src/assets/icons/view.svg +1 -0
- package/src/assets/icons/workbench.svg +1 -0
- package/src/assets/icons/zddata.svg +1 -0
- package/src/assets/icons/zy_checked.svg +1 -0
- package/src/assets/icons/zy_default.svg +1 -0
- package/src/assets/images/layout/item1.webp +0 -0
- package/src/assets/images/layout/item1_dark.webp +0 -0
- package/src/assets/images/layout/item2.webp +0 -0
- package/src/assets/images/layout/item2_dark.webp +0 -0
- package/src/assets/images/layout/item3.webp +0 -0
- package/src/assets/images/layout/item3_dark.webp +0 -0
- package/src/assets/images/layout/item4.webp +0 -0
- package/src/assets/images/layout/item4_dark.webp +0 -0
- package/src/assets/images/layout/item5.webp +0 -0
- package/src/assets/images/layout/item5_dark.webp +0 -0
- package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/auto.webp +0 -0
- package/src/assets/images/page-width/auto_dark.webp +0 -0
- package/src/assets/images/page-width/auto_min_w.webp +0 -0
- package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto.webp +0 -0
- package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle.webp +0 -0
- package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
- package/src/assets/images/page-width/middle.webp +0 -0
- package/src/assets/images/page-width/middle_dark.webp +0 -0
- package/src/assets/images/page-width/middle_max_w.webp +0 -0
- package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
- package/src/assets/lottie/breadcrumb/dark/enable.json +1 -0
- package/src/assets/lottie/breadcrumb/dark/enableMainMenu.json +1 -0
- package/src/assets/lottie/breadcrumb/dark/style.json +1 -0
- package/src/assets/lottie/breadcrumb/light/enable.json +1 -0
- package/src/assets/lottie/breadcrumb/light/enableMainMenu.json +1 -0
- package/src/assets/lottie/breadcrumb/light/style.json +1 -0
- package/src/assets/lottie/layout/data-test.json +1 -0
- package/src/assets/lottie/layout/data.json +1 -0
- package/src/assets/lottie/menu/dark/enableHotkeys.json +1 -0
- package/src/assets/lottie/menu/dark/enableSubMenuCollapseButton.json +1 -0
- package/src/assets/lottie/menu/dark/isRounded.json +1 -0
- package/src/assets/lottie/menu/dark/menuActiveStyle.json +1 -0
- package/src/assets/lottie/menu/dark/subMenuCollapse.json +1 -0
- package/src/assets/lottie/menu/dark/subMenuUniqueOpened.json +1 -0
- package/src/assets/lottie/menu/light/enableHotkeys.json +1 -0
- package/src/assets/lottie/menu/light/enableSubMenuCollapseButton.json +1 -0
- package/src/assets/lottie/menu/light/isRounded.json +1 -0
- package/src/assets/lottie/menu/light/menuActiveStyle.json +1 -0
- package/src/assets/lottie/menu/light/subMenuCollapse.json +1 -0
- package/src/assets/lottie/menu/light/subMenuUniqueOpened.json +1 -0
- package/src/assets/lottie/other/dark/enableCopyright.json +1 -0
- package/src/assets/lottie/other/dark/enableHotkeys.json +1 -0
- package/src/assets/lottie/other/dark/switchTabbarAndToolbar.json +1 -0
- package/src/assets/lottie/other/light/enableCopyright.json +1 -0
- package/src/assets/lottie/other/light/enableHotkeys.json +1 -0
- package/src/assets/lottie/other/light/switchTabbarAndToolbar.json +1 -0
- package/src/assets/lottie/page_animation/dark/fadeinout.json +1 -0
- package/src/assets/lottie/page_animation/dark/fadeinout_old.json +1 -0
- package/src/assets/lottie/page_animation/dark/tobottom.json +1 -0
- package/src/assets/lottie/page_animation/dark/tobottom_old.json +1 -0
- package/src/assets/lottie/page_animation/dark/toleft.json +1 -0
- package/src/assets/lottie/page_animation/dark/toleft_old.json +1 -0
- package/src/assets/lottie/page_animation/dark/toright.json +1 -0
- package/src/assets/lottie/page_animation/dark/toright_old.json +1 -0
- package/src/assets/lottie/page_animation/dark/totop.json +1 -0
- package/src/assets/lottie/page_animation/dark/totop_old.json +1 -0
- package/src/assets/lottie/page_animation/light/fadeinout.json +1 -0
- package/src/assets/lottie/page_animation/light/tobottom.json +1 -0
- package/src/assets/lottie/page_animation/light/toleft.json +1 -0
- package/src/assets/lottie/page_animation/light/toright.json +1 -0
- package/src/assets/lottie/page_animation/light/totop.json +1 -0
- package/src/assets/lottie/tabbar/dark/enable.json +1 -0
- package/src/assets/lottie/tabbar/dark/enableHotkeys.json +1 -0
- package/src/assets/lottie/tabbar/dark/enableIcon.json +1 -0
- package/src/assets/lottie/tabbar/dark/enableMemory.json +1 -0
- package/src/assets/lottie/tabbar/dark/style.json +1 -0
- package/src/assets/lottie/tabbar/light/enable.json +1 -0
- package/src/assets/lottie/tabbar/light/enableHotkeys.json +1 -0
- package/src/assets/lottie/tabbar/light/enableIcon.json +1 -0
- package/src/assets/lottie/tabbar/light/enableMemory.json +1 -0
- package/src/assets/lottie/tabbar/light/style.json +1 -0
- package/src/assets/lottie/toolbar/dark/enableColorScheme.json +1 -0
- package/src/assets/lottie/toolbar/dark/enableFullscreen.json +1 -0
- package/src/assets/lottie/toolbar/dark/enableI18n.json +1 -0
- package/src/assets/lottie/toolbar/dark/enableNotification.json +1 -0
- package/src/assets/lottie/toolbar/dark/enablePageReload.json +1 -0
- package/src/assets/lottie/toolbar/dark/enableUserPreferences.json +1 -0
- package/src/assets/lottie/toolbar/dark/navSearchEnable.json +1 -0
- package/src/assets/lottie/toolbar/dark/navSearchEnableHotkeys.json +1 -0
- package/src/assets/lottie/toolbar/light/enableColorScheme.json +1 -0
- package/src/assets/lottie/toolbar/light/enableFullscreen.json +1 -0
- package/src/assets/lottie/toolbar/light/enableI18n.json +1 -0
- package/src/assets/lottie/toolbar/light/enableNotification.json +1 -0
- package/src/assets/lottie/toolbar/light/enablePageReload.json +1 -0
- package/src/assets/lottie/toolbar/light/enableUserPreferences.json +1 -0
- package/src/assets/lottie/toolbar/light/navSearchEnable.json +1 -0
- package/src/assets/lottie/toolbar/light/navSearchEnableHotkeys.json +1 -0
- package/src/assets/lottie/watermark/dark/enableWatermark.json +1 -0
- package/src/assets/lottie/watermark/light/enableWatermark.json +1 -0
- package/src/assets/styles/vxe-table.css +13 -0
- package/src/components/GroupSelector/index.vue +311 -0
- package/src/components/OrgTree/index.vue +91 -0
- package/src/components/OrgUserSelector/OrgSelector.vue +135 -0
- package/src/components/OrgUserSelector/UserSelector.vue +164 -0
- package/src/components/OrgUserSelector/index.ts +47 -0
- package/src/components/OrgUserSelector/provider.ts +373 -0
- package/src/components/ResourceSelector/enum.ts +5 -0
- package/src/components/ResourceSelector/hooks/useAppAndResource.ts +96 -0
- package/src/components/ResourceSelector/index.vue +432 -0
- package/src/composables/useLottie.ts +65 -0
- package/src/index.ts +31 -0
- package/src/interface.ts +54 -0
- package/src/routes/index.ts +156 -0
- package/src/routes/modules/authority.manage.menu.ts +105 -0
- package/src/routes/modules/log.manage.menu.ts +45 -0
- package/src/routes/modules/safe.manage.menu.ts +71 -0
- package/src/routes/modules/stylesetting.manage.menu.ts +130 -0
- package/src/routes/modules/system.manage.menu.ts +92 -0
- package/src/stores/index.ts +1 -0
- package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +132 -0
- package/src/views/blackWhiteList/enum.ts +7 -0
- package/src/views/blackWhiteList/index.vue +309 -0
- package/src/views/blackWhiteList/types.ts +4 -0
- package/src/views/breadcrumb_setting/animationData.ts +15 -0
- package/src/views/breadcrumb_setting/index.vue +147 -0
- package/src/views/components/HCheckList.vue +47 -0
- package/src/views/components/animation_item.vue +37 -0
- package/src/views/components/setItem.vue +126 -0
- package/src/views/data-permission/components/createAndEditDataPermission.vue +354 -0
- package/src/views/data-permission/enum.ts +59 -0
- package/src/views/data-permission/index.vue +190 -0
- package/src/views/dictionary/components/drawerDictionary.vue +108 -0
- package/src/views/dictionary/components/drawerDictionaryItem.vue +115 -0
- package/src/views/dictionary/enum.ts +8 -0
- package/src/views/dictionary/index.vue +194 -0
- package/src/views/dictionary/itemlist.vue +164 -0
- package/src/views/group/components/drawerGroup.vue +177 -0
- package/src/views/group/enum.ts +25 -0
- package/src/views/group/index.vue +207 -0
- package/src/views/layout_setting/index.vue +306 -0
- package/src/views/log_center/components/browserType.vue +35 -0
- package/src/views/log_center/components/loginHistoryDetail.vue +71 -0
- package/src/views/log_center/components/operateHistoryDetail.vue +80 -0
- package/src/views/log_center/login_history.vue +239 -0
- package/src/views/log_center/operate_history.vue +233 -0
- package/src/views/menu_setting/animationData.ts +27 -0
- package/src/views/menu_setting/index.vue +207 -0
- package/src/views/organization/components/drawerOrganization.vue +161 -0
- package/src/views/organization/components/drawerRole.vue +159 -0
- package/src/views/organization/components/roleSelect.vue +258 -0
- package/src/views/organization/enum.ts +26 -0
- package/src/views/organization/index.vue +516 -0
- package/src/views/other_setting/animationData.ts +15 -0
- package/src/views/other_setting/index.vue +250 -0
- package/src/views/other_setting/interface.ts +26 -0
- package/src/views/page_animation_setting/animationData.ts +23 -0
- package/src/views/page_animation_setting/index.vue +200 -0
- package/src/views/page_w_setting/index.vue +238 -0
- package/src/views/position/components/drawerPosition.vue +131 -0
- package/src/views/position/enum.ts +8 -0
- package/src/views/position/index.vue +167 -0
- package/src/views/region/components/drawerRegion.vue +143 -0
- package/src/views/region/enum.ts +24 -0
- package/src/views/region/index.vue +246 -0
- package/src/views/resource/components/ResourceEdit.vue +209 -0
- package/src/views/resource/components/RoleRelation.vue +100 -0
- package/src/views/resource/enum.ts +35 -0
- package/src/views/resource/index.vue +237 -0
- package/src/views/resource/interface.ts +6 -0
- package/src/views/role/components/ResourceRelation.vue +113 -0
- package/src/views/role/components/drawerRole.vue +191 -0
- package/src/views/role/enum.ts +26 -0
- package/src/views/role/index.vue +183 -0
- package/src/views/role/interface.ts +6 -0
- package/src/views/role_group/components/ResourceRelation.vue +91 -0
- package/src/views/role_group/components/drawerRole.vue +153 -0
- package/src/views/role_group/components/roleSelect.vue +224 -0
- package/src/views/role_group/enum.ts +22 -0
- package/src/views/role_group/index.vue +170 -0
- package/src/views/role_group/interface.ts +6 -0
- package/src/views/safe_setting/index.vue +237 -0
- package/src/views/tabbar_setting/animationData.ts +23 -0
- package/src/views/tabbar_setting/index.vue +186 -0
- package/src/views/tenant/components/TenantEdit.vue +226 -0
- package/src/views/tenant/index.vue +192 -0
- package/src/views/tenant/interface.ts +4 -0
- package/src/views/theme_setting/index.vue +465 -0
- package/src/views/toolbar_setting/animationData.ts +42 -0
- package/src/views/toolbar_setting/index.vue +189 -0
- package/src/views/user/components/OrgAndPosition.vue +156 -0
- package/src/views/user/components/UserAuthorization.vue +260 -0
- package/src/views/user/components/UserEdit.vue +267 -0
- package/src/views/user/components/roleSelect.vue +258 -0
- package/src/views/user/enum.ts +13 -0
- package/src/views/user/index.vue +266 -0
- package/src/views/user/interface.ts +43 -0
- package/src/views/watermark_setting/animationData.ts +7 -0
- package/src/views/watermark_setting/index.vue +236 -0
package/package.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pubinfo/module-rbac",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.0.0-beta.3",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./es/index.d.ts",
|
|
8
|
+
"import": "./es/index.js",
|
|
9
|
+
"require": "./lib/index.cjs"
|
|
10
|
+
},
|
|
11
|
+
"./style.css": {
|
|
12
|
+
"import": "./es/style.css",
|
|
13
|
+
"require": "./lib/style.css"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"src"
|
|
19
|
+
],
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
22
|
+
"@pubinfo/headlessui": "^1.5.1",
|
|
23
|
+
"@pubinfo/pro-components": "^1.6.1",
|
|
24
|
+
"alova": "^3.2.9",
|
|
25
|
+
"ant-design-vue": "^4.2.6",
|
|
26
|
+
"pubinfo": "2.0.0-beta.3"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@vueuse/core": "^11.3.0",
|
|
30
|
+
"dayjs": "^1.11.13",
|
|
31
|
+
"lodash-es": "^4.17.21",
|
|
32
|
+
"lottie-web": "^5.12.2",
|
|
33
|
+
"vxe-table": "4.6.10"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
37
|
+
"@pubinfo/headlessui": "^1.5.1",
|
|
38
|
+
"@pubinfo/openapi": "^0.8.4",
|
|
39
|
+
"@pubinfo/preset-openapi": "^0.8.4",
|
|
40
|
+
"@pubinfo/pro-components": "^1.6.1",
|
|
41
|
+
"@types/lodash-es": "^4.17.12",
|
|
42
|
+
"alova": "^3.2.9",
|
|
43
|
+
"ant-design-vue": "^4.2.6",
|
|
44
|
+
"type-fest": "^4.36.0",
|
|
45
|
+
"vite-plugin-dts": "^4.5.3",
|
|
46
|
+
"pubinfo": "2.0.0-beta.3"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"dev": "pubinfo build -w",
|
|
50
|
+
"build": "pubinfo build",
|
|
51
|
+
"openapi": "pnpx @pubinfo/openapi generate"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 删除公告服务
|
|
5
|
+
* @url /notice/deleteNotice
|
|
6
|
+
* @method GET
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function getNoticeDeleteNotice<R = API.ResponseData, T = API.ResponseData>(
|
|
10
|
+
params: API.getNoticeDeleteNoticeParams,
|
|
11
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
12
|
+
) {
|
|
13
|
+
return request.Get<R, T>('/notice/deleteNotice', {
|
|
14
|
+
params: {
|
|
15
|
+
...params,
|
|
16
|
+
},
|
|
17
|
+
...(options || {}),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @description 删除公告推送基本信息
|
|
23
|
+
* @url /notice/deleteNoticeSend
|
|
24
|
+
* @method GET
|
|
25
|
+
* @author @pubinfo/openapi
|
|
26
|
+
*/
|
|
27
|
+
export function getNoticeDeleteNoticeSend<R = API.ResponseData, T = API.ResponseData>(
|
|
28
|
+
params: API.getNoticeDeleteNoticeSendParams,
|
|
29
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
30
|
+
) {
|
|
31
|
+
return request.Get<R, T>('/notice/deleteNoticeSend', {
|
|
32
|
+
params: {
|
|
33
|
+
...params,
|
|
34
|
+
},
|
|
35
|
+
...(options || {}),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @description 公告服务详情
|
|
41
|
+
* @url /notice/detailNotice
|
|
42
|
+
* @method GET
|
|
43
|
+
* @author @pubinfo/openapi
|
|
44
|
+
*/
|
|
45
|
+
export function getNoticeDetailNotice<R = API.ResponseData, T = API.ResponseData>(
|
|
46
|
+
params: API.getNoticeDetailNoticeParams,
|
|
47
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
48
|
+
) {
|
|
49
|
+
return request.Get<R, T>('/notice/detailNotice', {
|
|
50
|
+
params: {
|
|
51
|
+
...params,
|
|
52
|
+
},
|
|
53
|
+
...(options || {}),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @description 公告分页查询
|
|
59
|
+
* @url /notice/pageNotice
|
|
60
|
+
* @method POST
|
|
61
|
+
* @author @pubinfo/openapi
|
|
62
|
+
*/
|
|
63
|
+
export function postNoticePageNotice<
|
|
64
|
+
R = API.ResponseDataPageDataPubNotice,
|
|
65
|
+
T = API.ResponseDataPageDataPubNotice,
|
|
66
|
+
>(body: API.PubNoticePageDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
67
|
+
return request.Post<R, T>('/notice/pageNotice', body, {
|
|
68
|
+
headers: {
|
|
69
|
+
'Content-Type': 'application/json',
|
|
70
|
+
},
|
|
71
|
+
...(options || {}),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @description 新增或编辑公告服务
|
|
77
|
+
* @url /notice/saveOrUpdateNotice
|
|
78
|
+
* @method POST
|
|
79
|
+
* @author @pubinfo/openapi
|
|
80
|
+
*/
|
|
81
|
+
export function postNoticeSaveOrUpdateNotice<R = API.ResponseData, T = API.ResponseData>(
|
|
82
|
+
body: API.PubNoticeDto,
|
|
83
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
84
|
+
) {
|
|
85
|
+
return request.Post<R, T>('/notice/saveOrUpdateNotice', body, {
|
|
86
|
+
headers: {
|
|
87
|
+
'Content-Type': 'application/json',
|
|
88
|
+
},
|
|
89
|
+
...(options || {}),
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @description 新增或编辑公告推送基本信息
|
|
95
|
+
* @url /notice/saveOrUpdateNoticeSend
|
|
96
|
+
* @method POST
|
|
97
|
+
* @author @pubinfo/openapi
|
|
98
|
+
*/
|
|
99
|
+
export function postNoticeSaveOrUpdateNoticeSend<R = API.ResponseData, T = API.ResponseData>(
|
|
100
|
+
body: API.PubNoticeSendDto,
|
|
101
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
102
|
+
) {
|
|
103
|
+
return request.Post<R, T>('/notice/saveOrUpdateNoticeSend', body, {
|
|
104
|
+
headers: {
|
|
105
|
+
'Content-Type': 'application/json',
|
|
106
|
+
},
|
|
107
|
+
...(options || {}),
|
|
108
|
+
});
|
|
109
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 删除数据 delete
|
|
5
|
+
* @url /group/delete/${param0}
|
|
6
|
+
* @method DELETE
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function deleteGroupDeleteById<R = API.ResponseData, T = API.ResponseData>(
|
|
10
|
+
params: API.deleteGroupDeleteByIdParams,
|
|
11
|
+
options?: Parameters<typeof request.Delete<R, T>>[2],
|
|
12
|
+
) {
|
|
13
|
+
const { id: param0, ...queryParams } = params;
|
|
14
|
+
return request.Delete<R, T>(
|
|
15
|
+
`/group/delete/${param0}`,
|
|
16
|
+
{},
|
|
17
|
+
{
|
|
18
|
+
params: { ...queryParams },
|
|
19
|
+
...(options || {}),
|
|
20
|
+
},
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @description 根据主键获取群组和群组成员信息 detail
|
|
26
|
+
* @url /group/detail/${param0}
|
|
27
|
+
* @method GET
|
|
28
|
+
* @author @pubinfo/openapi
|
|
29
|
+
*/
|
|
30
|
+
export function getGroupDetailById<R = API.ResponseDataPubGroupBo, T = API.ResponseDataPubGroupBo>(
|
|
31
|
+
params: API.getGroupDetailByIdParams,
|
|
32
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
33
|
+
) {
|
|
34
|
+
const { id: param0, ...queryParams } = params;
|
|
35
|
+
return request.Get<R, T>(`/group/detail/${param0}`, {
|
|
36
|
+
params: {
|
|
37
|
+
...queryParams,
|
|
38
|
+
},
|
|
39
|
+
...(options || {}),
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @description 分页查询 findPage
|
|
45
|
+
* @url /group/findPage
|
|
46
|
+
* @method POST
|
|
47
|
+
* @author @pubinfo/openapi
|
|
48
|
+
*/
|
|
49
|
+
export function postGroupFindPage<
|
|
50
|
+
R = API.ResponseDataPageDataPubGroup,
|
|
51
|
+
T = API.ResponseDataPageDataPubGroup,
|
|
52
|
+
>(body: API.pubGroupDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
53
|
+
return request.Post<R, T>('/group/findPage', body, {
|
|
54
|
+
headers: {
|
|
55
|
+
'Content-Type': 'application/json',
|
|
56
|
+
},
|
|
57
|
+
...(options || {}),
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @description 群组信息不分页查询 list
|
|
63
|
+
* @url /group/list
|
|
64
|
+
* @method POST
|
|
65
|
+
* @author @pubinfo/openapi
|
|
66
|
+
*/
|
|
67
|
+
export function postGroupList<R = API.ResponseDataListPubGroup, T = API.ResponseDataListPubGroup>(
|
|
68
|
+
body: API.PubGroupListDto,
|
|
69
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
70
|
+
) {
|
|
71
|
+
return request.Post<R, T>('/group/list', body, {
|
|
72
|
+
headers: {
|
|
73
|
+
'Content-Type': 'application/json',
|
|
74
|
+
},
|
|
75
|
+
...(options || {}),
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @description 保存群组和成员信息 saveOrUpdate
|
|
81
|
+
* @url /group/saveOrUpdate
|
|
82
|
+
* @method POST
|
|
83
|
+
* @author @pubinfo/openapi
|
|
84
|
+
*/
|
|
85
|
+
export function postGroupSaveOrUpdate<R = API.ResponseData, T = API.ResponseData>(
|
|
86
|
+
body: API.PubGroupBo,
|
|
87
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
88
|
+
) {
|
|
89
|
+
return request.Post<R, T>('/group/saveOrUpdate', body, {
|
|
90
|
+
headers: {
|
|
91
|
+
'Content-Type': 'application/json',
|
|
92
|
+
},
|
|
93
|
+
...(options || {}),
|
|
94
|
+
});
|
|
95
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 区域新增
|
|
5
|
+
* @url /region/addRegion
|
|
6
|
+
* @method POST
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function postRegionAddRegion<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(
|
|
10
|
+
body: API.PubRegionAddDto,
|
|
11
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
12
|
+
) {
|
|
13
|
+
return request.Post<R, T>('/region/addRegion', body, {
|
|
14
|
+
headers: {
|
|
15
|
+
'Content-Type': 'application/json',
|
|
16
|
+
},
|
|
17
|
+
...(options || {}),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @description 区域删除
|
|
23
|
+
* @url /region/deleteRegion/${param0}
|
|
24
|
+
* @method GET
|
|
25
|
+
* @author @pubinfo/openapi
|
|
26
|
+
*/
|
|
27
|
+
export function getRegionDeleteRegionByCode<
|
|
28
|
+
R = API.ResponseDataBoolean,
|
|
29
|
+
T = API.ResponseDataBoolean,
|
|
30
|
+
>(
|
|
31
|
+
params: API.getRegionDeleteRegionByCodeParams,
|
|
32
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
33
|
+
) {
|
|
34
|
+
const { code: param0, ...queryParams } = params;
|
|
35
|
+
return request.Get<R, T>(`/region/deleteRegion/${param0}`, {
|
|
36
|
+
params: { ...queryParams },
|
|
37
|
+
...(options || {}),
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @description 根据parentId获取区域列表
|
|
43
|
+
* @url /region/getListByParentId
|
|
44
|
+
* @method GET
|
|
45
|
+
* @author @pubinfo/openapi
|
|
46
|
+
*/
|
|
47
|
+
export function getRegionGetListByParentId<
|
|
48
|
+
R = API.ResponseDataListPubRegion,
|
|
49
|
+
T = API.ResponseDataListPubRegion,
|
|
50
|
+
>(params: API.getRegionGetListByParentIdParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
51
|
+
return request.Get<R, T>('/region/getListByParentId', {
|
|
52
|
+
params: {
|
|
53
|
+
// parentId has a default value: 0
|
|
54
|
+
parentId: '0',
|
|
55
|
+
...params,
|
|
56
|
+
},
|
|
57
|
+
...(options || {}),
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @description 根据code获取区域详情
|
|
63
|
+
* @url /region/getRegionDetail/${param0}
|
|
64
|
+
* @method GET
|
|
65
|
+
* @author @pubinfo/openapi
|
|
66
|
+
*/
|
|
67
|
+
export function getRegionGetRegionDetailByCode<
|
|
68
|
+
R = API.ResponseDataPubRegion,
|
|
69
|
+
T = API.ResponseDataPubRegion,
|
|
70
|
+
>(
|
|
71
|
+
params: API.getRegionGetRegionDetailByCodeParams,
|
|
72
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
73
|
+
) {
|
|
74
|
+
const { code: param0, ...queryParams } = params;
|
|
75
|
+
return request.Get<R, T>(`/region/getRegionDetail/${param0}`, {
|
|
76
|
+
params: { ...queryParams },
|
|
77
|
+
...(options || {}),
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @description 区域编辑
|
|
83
|
+
* @url /region/updateRegion
|
|
84
|
+
* @method POST
|
|
85
|
+
* @author @pubinfo/openapi
|
|
86
|
+
*/
|
|
87
|
+
export function postRegionUpdateRegion<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(
|
|
88
|
+
body: API.PubRegionAddDto,
|
|
89
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
90
|
+
) {
|
|
91
|
+
return request.Post<R, T>('/region/updateRegion', body, {
|
|
92
|
+
headers: {
|
|
93
|
+
'Content-Type': 'application/json',
|
|
94
|
+
},
|
|
95
|
+
...(options || {}),
|
|
96
|
+
});
|
|
97
|
+
}
|