@pubinfo/module-rbac 2.0.0-beta.10
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/dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js +567 -0
- package/dist/_baseClone-CQ44TFeq.js +191 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js +4864 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +43 -0
- package/dist/api/modules/assist/index.d.ts +3 -0
- package/dist/api/modules/assist/qunzujiekou.d.ts +36 -0
- package/dist/api/modules/assist/quyujiekou.d.ts +36 -0
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/dist/api/modules/configData/index.d.ts +3 -0
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/dist/api/modules/configData/zidianfuwu.d.ts +57 -0
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +15 -0
- package/dist/api/modules/log/denglurizhifuwu.d.ts +15 -0
- package/dist/api/modules/log/index.d.ts +2 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +36 -0
- package/dist/api/modules/rbac/index.d.ts +11 -0
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +85 -0
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/dist/api/request.d.ts +1 -0
- package/dist/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +38 -0
- package/dist/cloneDeep-BI4WNBQ9.js +8 -0
- package/dist/components/GroupSelector/index.vue.d.ts +15 -0
- package/dist/components/GroupSelector/interface.d.ts +6 -0
- package/dist/components/OrgTree/index.vue.d.ts +5 -0
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +68 -0
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +72 -0
- package/dist/components/OrgUserSelector/index.d.ts +8 -0
- package/dist/components/OrgUserSelector/provider.d.ts +24 -0
- package/dist/components/ResourceSelector/enum.d.ts +5 -0
- package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +29 -0
- package/dist/components/ResourceSelector/index.vue.d.ts +24 -0
- package/dist/composables/useLottie.d.ts +11 -0
- package/dist/enum-BEHz_Q18.js +74 -0
- package/dist/enum-C9ihxJe7.js +4 -0
- package/dist/enum-CTUzwCYG.js +4 -0
- package/dist/enum-DDKThkSw.js +24 -0
- package/dist/gangweijiekou-BxJq_m0o.js +46 -0
- package/dist/index-BS45K9vK.js +685 -0
- package/dist/index-Bbsiwecf.js +1631 -0
- package/dist/index-BhcAk-IH.js +399 -0
- package/dist/index-Bl4v-7On.js +125 -0
- package/dist/index-BleenJqT.js +168 -0
- package/dist/index-CFPhIFyG.js +140 -0
- package/dist/index-CLSeuhTv.js +872 -0
- package/dist/index-CLxqmFPw.js +317 -0
- package/dist/index-CTiFd9M0.js +303 -0
- package/dist/index-Cej8u1qo.js +274 -0
- package/dist/index-Cr17VOfm.js +389 -0
- package/dist/index-CsHj-xDw.js +283 -0
- package/dist/index-D0yB_8b0.js +181 -0
- package/dist/index-DFR8dd2B.js +785 -0
- package/dist/index-DNf0NPrD.js +131 -0
- package/dist/index-Dm4sOX43.js +27 -0
- package/dist/index-KboUdpTh.js +18588 -0
- package/dist/index-MtXfNGqS.js +1246 -0
- package/dist/index-U8kjKY6p.js +462 -0
- package/dist/index-UZeQsp70.js +177 -0
- package/dist/index-a0E9oj3q.js +703 -0
- package/dist/index-gmUZUdNl.js +634 -0
- package/dist/index-j_ln_NSt.js +455 -0
- package/dist/index-s32GbmsJ.js +164 -0
- package/dist/index-yEpViVkx.js +409 -0
- package/dist/index-zh8PZXw2.js +862 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -0
- package/dist/interface.d.ts +47 -0
- package/dist/itemlist-xAbIKRVj.js +369 -0
- package/dist/jiaosejiekou-BfY4h7uI.js +58 -0
- package/dist/login_history-CuQv9Iw3.js +430 -0
- package/dist/operate_history-CGP-1Xy2.js +468 -0
- package/dist/pubJiaosezukongzhiqi-CvYfc8Uz.js +57 -0
- package/dist/request-DQLgc7lT.js +5 -0
- package/dist/routes/index.d.ts +14 -0
- package/dist/routes/modules/authority.manage.menu.d.ts +3 -0
- package/dist/routes/modules/log.manage.menu.d.ts +3 -0
- package/dist/routes/modules/safe.manage.menu.d.ts +3 -0
- package/dist/routes/modules/stylesetting.manage.menu.d.ts +3 -0
- package/dist/routes/modules/system.manage.menu.d.ts +3 -0
- package/dist/setItem-DkOvmWXP.js +152 -0
- package/dist/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +65 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/useAppAndResource-D_b19V4t.js +55 -0
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +14 -0
- package/dist/views/blackWhiteList/enum.d.ts +7 -0
- package/dist/views/blackWhiteList/index.vue.d.ts +1535 -0
- package/dist/views/blackWhiteList/types.d.ts +4 -0
- package/dist/views/breadcrumb_setting/animationData.d.ts +7 -0
- package/dist/views/breadcrumb_setting/index.vue.d.ts +2 -0
- package/dist/views/components/HCheckList.vue.d.ts +20 -0
- package/dist/views/components/animation_item.vue.d.ts +14 -0
- package/dist/views/components/setItem.vue.d.ts +61 -0
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +172 -0
- package/dist/views/data-permission/enum.d.ts +34 -0
- package/dist/views/data-permission/index.vue.d.ts +1691 -0
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +12 -0
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +12 -0
- package/dist/views/dictionary/enum.d.ts +8 -0
- package/dist/views/dictionary/index.vue.d.ts +1532 -0
- package/dist/views/dictionary/itemlist.vue.d.ts +1532 -0
- package/dist/views/group/components/drawerGroup.vue.d.ts +12 -0
- package/dist/views/group/enum.d.ts +21 -0
- package/dist/views/group/index.vue.d.ts +1532 -0
- package/dist/views/layout_setting/index.vue.d.ts +2 -0
- package/dist/views/log_center/components/browserType.vue.d.ts +12 -0
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +14 -0
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +14 -0
- package/dist/views/log_center/login_history.vue.d.ts +1511 -0
- package/dist/views/log_center/operate_history.vue.d.ts +1511 -0
- package/dist/views/menu_setting/animationData.d.ts +13 -0
- package/dist/views/menu_setting/index.vue.d.ts +2 -0
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +12 -0
- package/dist/views/organization/components/drawerRole.vue.d.ts +36 -0
- package/dist/views/organization/components/roleSelect.vue.d.ts +14 -0
- package/dist/views/organization/enum.d.ts +25 -0
- package/dist/views/organization/index.vue.d.ts +73 -0
- package/dist/views/other_setting/animationData.d.ts +7 -0
- package/dist/views/other_setting/index.vue.d.ts +2 -0
- package/dist/views/other_setting/interface.d.ts +23 -0
- package/dist/views/page_animation_setting/animationData.d.ts +11 -0
- package/dist/views/page_animation_setting/index.vue.d.ts +2 -0
- package/dist/views/page_w_setting/index.vue.d.ts +2 -0
- package/dist/views/position/components/drawerPosition.vue.d.ts +12 -0
- package/dist/views/position/enum.d.ts +8 -0
- package/dist/views/position/index.vue.d.ts +1532 -0
- package/dist/views/region/components/drawerRegion.vue.d.ts +12 -0
- package/dist/views/region/enum.d.ts +22 -0
- package/dist/views/region/index.vue.d.ts +1533 -0
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +16 -0
- package/dist/views/resource/components/RoleRelation.vue.d.ts +6 -0
- package/dist/views/resource/enum.d.ts +30 -0
- package/dist/views/resource/index.vue.d.ts +1549 -0
- package/dist/views/resource/interface.d.ts +6 -0
- package/dist/views/role/components/ResourceRelation.vue.d.ts +1515 -0
- package/dist/views/role/components/drawerRole.vue.d.ts +49 -0
- package/dist/views/role/enum.d.ts +25 -0
- package/dist/views/role/index.vue.d.ts +3090 -0
- package/dist/views/role/interface.d.ts +6 -0
- package/dist/views/role_group/components/drawerRole.vue.d.ts +37 -0
- package/dist/views/role_group/components/roleSelect.vue.d.ts +14 -0
- package/dist/views/role_group/enum.d.ts +21 -0
- package/dist/views/role_group/index.vue.d.ts +1557 -0
- package/dist/views/role_group/interface.d.ts +6 -0
- package/dist/views/safe_setting/index.vue.d.ts +4 -0
- package/dist/views/tabbar_setting/animationData.d.ts +11 -0
- package/dist/views/tabbar_setting/index.vue.d.ts +2 -0
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +50 -0
- package/dist/views/tenant/enum.d.ts +7 -0
- package/dist/views/tenant/index.vue.d.ts +1570 -0
- package/dist/views/tenant/interface.d.ts +6 -0
- package/dist/views/theme_setting/index.vue.d.ts +2 -0
- package/dist/views/toolbar_setting/animationData.d.ts +17 -0
- package/dist/views/toolbar_setting/index.vue.d.ts +2 -0
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +14 -0
- package/dist/views/user/components/UserAuthorization.vue.d.ts +39 -0
- package/dist/views/user/components/UserEdit.vue.d.ts +16 -0
- package/dist/views/user/components/roleSelect.vue.d.ts +14 -0
- package/dist/views/user/enum.d.ts +13 -0
- package/dist/views/user/index.vue.d.ts +1586 -0
- package/dist/views/user/interface.d.ts +39 -0
- package/dist/views/watermark_setting/animationData.d.ts +3 -0
- package/dist/views/watermark_setting/index.vue.d.ts +31 -0
- package/dist/xitongpeizhifuwu-C1Vm-W1B.js +23 -0
- package/dist/zidianfuwu-yCWHhOfO.js +65 -0
- package/dist/ziyuanjiekou-DhrAbneq.js +69 -0
- package/dist/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +28 -0
- package/dist/zuzhijiekou-PeZuFtCO.js +85 -0
- package/package.json +52 -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 +305 -0
- package/src/components/GroupSelector/interface.ts +6 -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 +431 -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 +219 -0
- package/src/views/tenant/enum.ts +7 -0
- package/src/views/tenant/index.vue +185 -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
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 修改登录密码
|
|
5
|
+
* @url /rbac/user/changePassword
|
|
6
|
+
* @method PUT
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function putRbacUserChangePassword<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
10
|
+
params: API.putRbacUserChangePasswordParams,
|
|
11
|
+
options?: Parameters<typeof request.Put<R, T>>[2],
|
|
12
|
+
) {
|
|
13
|
+
return request.Put<R, T>(
|
|
14
|
+
'/rbac/user/changePassword',
|
|
15
|
+
{},
|
|
16
|
+
{
|
|
17
|
+
params: {
|
|
18
|
+
...params,
|
|
19
|
+
},
|
|
20
|
+
...(options || {}),
|
|
21
|
+
},
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @description 编辑角色和授权数据权限
|
|
27
|
+
* @url /rbac/user/grantUserRoleAndDatPermission
|
|
28
|
+
* @method POST
|
|
29
|
+
* @author @pubinfo/openapi
|
|
30
|
+
*/
|
|
31
|
+
export function postRbacUserGrantUserRoleAndDatPermission<
|
|
32
|
+
R = API.ResponseDataVoid,
|
|
33
|
+
T = API.ResponseDataVoid,
|
|
34
|
+
>(
|
|
35
|
+
body: API.bianjijiaoseheshouquanshujuquanxianduixiang[],
|
|
36
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
37
|
+
) {
|
|
38
|
+
return request.Post<R, T>('/rbac/user/grantUserRoleAndDatPermission', body, {
|
|
39
|
+
headers: {
|
|
40
|
+
'Content-Type': 'application/json',
|
|
41
|
+
},
|
|
42
|
+
...(options || {}),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @description 根据id查询
|
|
48
|
+
* @url /rbac/user/info
|
|
49
|
+
* @method GET
|
|
50
|
+
* @author @pubinfo/openapi
|
|
51
|
+
*/
|
|
52
|
+
export function getRbacUserInfo<R = API.ResponseDataPubUserBo, T = API.ResponseDataPubUserBo>(
|
|
53
|
+
params: API.getRbacUserInfoParams,
|
|
54
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
55
|
+
) {
|
|
56
|
+
return request.Get<R, T>('/rbac/user/info', {
|
|
57
|
+
params: {
|
|
58
|
+
...params,
|
|
59
|
+
},
|
|
60
|
+
...(options || {}),
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @description 用户新增
|
|
66
|
+
* @url /rbac/user/pubUserAdd
|
|
67
|
+
* @method POST
|
|
68
|
+
* @author @pubinfo/openapi
|
|
69
|
+
*/
|
|
70
|
+
export function postRbacUserPubUserAdd<R = API.ResponseDataString, T = API.ResponseDataString>(
|
|
71
|
+
body: API.PubUserAddDto,
|
|
72
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
73
|
+
) {
|
|
74
|
+
return request.Post<R, T>('/rbac/user/pubUserAdd', body, {
|
|
75
|
+
headers: {
|
|
76
|
+
'Content-Type': 'application/json',
|
|
77
|
+
},
|
|
78
|
+
...(options || {}),
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @description 重置登录密码
|
|
84
|
+
* @url /rbac/user/resetPassword
|
|
85
|
+
* @method PUT
|
|
86
|
+
* @author @pubinfo/openapi
|
|
87
|
+
*/
|
|
88
|
+
export function putRbacUserResetPassword<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
89
|
+
params: API.putRbacUserResetPasswordParams,
|
|
90
|
+
options?: Parameters<typeof request.Put<R, T>>[2],
|
|
91
|
+
) {
|
|
92
|
+
return request.Put<R, T>(
|
|
93
|
+
'/rbac/user/resetPassword',
|
|
94
|
+
{},
|
|
95
|
+
{
|
|
96
|
+
params: {
|
|
97
|
+
...params,
|
|
98
|
+
},
|
|
99
|
+
...(options || {}),
|
|
100
|
+
},
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @description 用户id和组织id查询详情
|
|
106
|
+
* @url /rbac/user/userAndOrgList
|
|
107
|
+
* @method POST
|
|
108
|
+
* @author @pubinfo/openapi
|
|
109
|
+
*/
|
|
110
|
+
export function postRbacUserUserAndOrgList<
|
|
111
|
+
R = API.ResponseDataListPubUserDto,
|
|
112
|
+
T = API.ResponseDataListPubUserDto,
|
|
113
|
+
>(body: API.PubUserAndOrgQueryDto[], options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
114
|
+
return request.Post<R, T>('/rbac/user/userAndOrgList', body, {
|
|
115
|
+
headers: {
|
|
116
|
+
'Content-Type': 'application/json',
|
|
117
|
+
},
|
|
118
|
+
...(options || {}),
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @description 用户删除
|
|
124
|
+
* @url /rbac/user/userDelete
|
|
125
|
+
* @method GET
|
|
126
|
+
* @author @pubinfo/openapi
|
|
127
|
+
*/
|
|
128
|
+
export function getRbacUserUserDelete<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
129
|
+
params: API.getRbacUserUserDeleteParams,
|
|
130
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
131
|
+
) {
|
|
132
|
+
return request.Get<R, T>('/rbac/user/userDelete', {
|
|
133
|
+
params: {
|
|
134
|
+
...params,
|
|
135
|
+
},
|
|
136
|
+
...(options || {}),
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @description 登录用户完整信息
|
|
142
|
+
* @url /rbac/user/userEntireInfo
|
|
143
|
+
* @method GET
|
|
144
|
+
* @author @pubinfo/openapi
|
|
145
|
+
*/
|
|
146
|
+
export function getRbacUserUserEntireInfo<
|
|
147
|
+
R = API.ResponseDataPubUserBo,
|
|
148
|
+
T = API.ResponseDataPubUserBo,
|
|
149
|
+
>(options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
150
|
+
return request.Get<R, T>('/rbac/user/userEntireInfo', {
|
|
151
|
+
...(options || {}),
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @description 用户和组织信息分页查询
|
|
157
|
+
* @url /rbac/user/userForMultiOrgPage
|
|
158
|
+
* @method POST
|
|
159
|
+
* @author @pubinfo/openapi
|
|
160
|
+
*/
|
|
161
|
+
export function postRbacUserUserForMultiOrgPage<
|
|
162
|
+
R = API.ResponseDataPageDataPubUserOrgBo,
|
|
163
|
+
T = API.ResponseDataPageDataPubUserOrgBo,
|
|
164
|
+
>(body: API.PubUserSplitOrgQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
165
|
+
return request.Post<R, T>('/rbac/user/userForMultiOrgPage', body, {
|
|
166
|
+
headers: {
|
|
167
|
+
'Content-Type': 'application/json',
|
|
168
|
+
},
|
|
169
|
+
...(options || {}),
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @description 用户分页查询
|
|
175
|
+
* @url /rbac/user/userPage
|
|
176
|
+
* @method POST
|
|
177
|
+
* @author @pubinfo/openapi
|
|
178
|
+
*/
|
|
179
|
+
export function postRbacUserUserPage<
|
|
180
|
+
R = API.ResponseDataPageDataPubUserBo,
|
|
181
|
+
T = API.ResponseDataPageDataPubUserBo,
|
|
182
|
+
>(body: API.PubUserQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
183
|
+
return request.Post<R, T>('/rbac/user/userPage', body, {
|
|
184
|
+
headers: {
|
|
185
|
+
'Content-Type': 'application/json',
|
|
186
|
+
},
|
|
187
|
+
...(options || {}),
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @description 用户编辑
|
|
193
|
+
* @url /rbac/user/userUpdate
|
|
194
|
+
* @method POST
|
|
195
|
+
* @author @pubinfo/openapi
|
|
196
|
+
*/
|
|
197
|
+
export function postRbacUserUserUpdate<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
198
|
+
body: API.PubUserUpdateDto,
|
|
199
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
200
|
+
) {
|
|
201
|
+
return request.Post<R, T>('/rbac/user/userUpdate', body, {
|
|
202
|
+
headers: {
|
|
203
|
+
'Content-Type': 'application/json',
|
|
204
|
+
},
|
|
205
|
+
...(options || {}),
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @description 用户编辑(详情和组织等)-2024年6月24日
|
|
211
|
+
* @url /rbac/user/userUpdate-v2
|
|
212
|
+
* @method POST
|
|
213
|
+
* @author @pubinfo/openapi
|
|
214
|
+
*/
|
|
215
|
+
export function postRbacUserUserUpdateV2<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
216
|
+
body: API.PubUserUpdateDto,
|
|
217
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
218
|
+
) {
|
|
219
|
+
return request.Post<R, T>('/rbac/user/userUpdate-v2', body, {
|
|
220
|
+
headers: {
|
|
221
|
+
'Content-Type': 'application/json',
|
|
222
|
+
},
|
|
223
|
+
...(options || {}),
|
|
224
|
+
});
|
|
225
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 删除用户收藏表数据 删除用户收藏表数据
|
|
5
|
+
* @url /rbac/collect/${param0}/delete
|
|
6
|
+
* @method POST
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function postRbacCollectByIdDelete<R = API.ResponseData, T = API.ResponseData>(
|
|
10
|
+
params: API.postRbacCollectByIdDeleteParams,
|
|
11
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
12
|
+
) {
|
|
13
|
+
const { id: param0, ...queryParams } = params;
|
|
14
|
+
return request.Post<R, T>(
|
|
15
|
+
`/rbac/collect/${param0}/delete`,
|
|
16
|
+
{},
|
|
17
|
+
{
|
|
18
|
+
params: { ...queryParams },
|
|
19
|
+
...(options || {}),
|
|
20
|
+
},
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @description 根据主键获取用户收藏表详情 根据主键获取用户收藏表详情
|
|
26
|
+
* @url /rbac/collect/${param0}/detail
|
|
27
|
+
* @method GET
|
|
28
|
+
* @author @pubinfo/openapi
|
|
29
|
+
*/
|
|
30
|
+
export function getRbacCollectByIdDetail<
|
|
31
|
+
R = API.ResponseDataPubUserCollect,
|
|
32
|
+
T = API.ResponseDataPubUserCollect,
|
|
33
|
+
>(params: API.getRbacCollectByIdDetailParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
34
|
+
const { id: param0, ...queryParams } = params;
|
|
35
|
+
return request.Get<R, T>(`/rbac/collect/${param0}/detail`, {
|
|
36
|
+
params: { ...queryParams },
|
|
37
|
+
...(options || {}),
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @description 添加用户收藏表数据 添加用户收藏表数据
|
|
43
|
+
* @url /rbac/collect/add
|
|
44
|
+
* @method POST
|
|
45
|
+
* @author @pubinfo/openapi
|
|
46
|
+
*/
|
|
47
|
+
export function postRbacCollectAdd<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(
|
|
48
|
+
body: API.AddPubUserCollectDto,
|
|
49
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
50
|
+
) {
|
|
51
|
+
return request.Post<R, T>('/rbac/collect/add', body, {
|
|
52
|
+
headers: {
|
|
53
|
+
'Content-Type': 'application/json',
|
|
54
|
+
},
|
|
55
|
+
...(options || {}),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @description 分页查询用户收藏表 分页查询用户收藏表
|
|
61
|
+
* @url /rbac/collect/findPage
|
|
62
|
+
* @method POST
|
|
63
|
+
* @author @pubinfo/openapi
|
|
64
|
+
*/
|
|
65
|
+
export function postRbacCollectFindPage<
|
|
66
|
+
R = API.ResponseDataPageDataPubUserCollect,
|
|
67
|
+
T = API.ResponseDataPageDataPubUserCollect,
|
|
68
|
+
>(body: API.PubUserCollectDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
69
|
+
return request.Post<R, T>('/rbac/collect/findPage', body, {
|
|
70
|
+
headers: {
|
|
71
|
+
'Content-Type': 'application/json',
|
|
72
|
+
},
|
|
73
|
+
...(options || {}),
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @description 取消用户收藏表数据 取消用户收藏表数据
|
|
79
|
+
* @url /rbac/collect/removeCollect
|
|
80
|
+
* @method POST
|
|
81
|
+
* @author @pubinfo/openapi
|
|
82
|
+
*/
|
|
83
|
+
export function postRbacCollectRemoveCollect<
|
|
84
|
+
R = API.ResponseDataBoolean,
|
|
85
|
+
T = API.ResponseDataBoolean,
|
|
86
|
+
>(body: API.AddPubUserCollectDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
87
|
+
return request.Post<R, T>('/rbac/collect/removeCollect', body, {
|
|
88
|
+
headers: {
|
|
89
|
+
'Content-Type': 'application/json',
|
|
90
|
+
},
|
|
91
|
+
...(options || {}),
|
|
92
|
+
});
|
|
93
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 根据主键获取用户最近常用表详情 根据主键获取用户最近常用表详情
|
|
5
|
+
* @url /rbac/used/${param0}/detail
|
|
6
|
+
* @method GET
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function getRbacUsedByIdDetail<
|
|
10
|
+
R = API.ResponseDataPubUserUsed,
|
|
11
|
+
T = API.ResponseDataPubUserUsed,
|
|
12
|
+
>(params: API.getRbacUsedByIdDetailParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
13
|
+
const { id: param0, ...queryParams } = params;
|
|
14
|
+
return request.Get<R, T>(`/rbac/used/${param0}/detail`, {
|
|
15
|
+
params: { ...queryParams },
|
|
16
|
+
...(options || {}),
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @description 添加用户最近常用表数据 添加用户最近常用表数据
|
|
22
|
+
* @url /rbac/used/add
|
|
23
|
+
* @method POST
|
|
24
|
+
* @author @pubinfo/openapi
|
|
25
|
+
*/
|
|
26
|
+
export function postRbacUsedAdd<R = API.ResponseData, T = API.ResponseData>(
|
|
27
|
+
body: API.AddPubUserUsedDto,
|
|
28
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
29
|
+
) {
|
|
30
|
+
return request.Post<R, T>('/rbac/used/add', body, {
|
|
31
|
+
headers: {
|
|
32
|
+
'Content-Type': 'application/json',
|
|
33
|
+
},
|
|
34
|
+
...(options || {}),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @description 批量添加用户最近常用表数据 批量添加用户最近常用表数据
|
|
40
|
+
* @url /rbac/used/addBatch
|
|
41
|
+
* @method POST
|
|
42
|
+
* @author @pubinfo/openapi
|
|
43
|
+
*/
|
|
44
|
+
export function postRbacUsedAddBatch<R = API.ResponseData, T = API.ResponseData>(
|
|
45
|
+
body: API.AddPubUserUsedDto[],
|
|
46
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
47
|
+
) {
|
|
48
|
+
return request.Post<R, T>('/rbac/used/addBatch', body, {
|
|
49
|
+
headers: {
|
|
50
|
+
'Content-Type': 'application/json',
|
|
51
|
+
},
|
|
52
|
+
...(options || {}),
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @description 分页查询用户最近常用表 分页查询用户最近常用表
|
|
58
|
+
* @url /rbac/used/findPage
|
|
59
|
+
* @method POST
|
|
60
|
+
* @author @pubinfo/openapi
|
|
61
|
+
*/
|
|
62
|
+
export function postRbacUsedFindPage<
|
|
63
|
+
R = API.ResponseDataPageDataPubUserUsed,
|
|
64
|
+
T = API.ResponseDataPageDataPubUserUsed,
|
|
65
|
+
>(body: API.PubUserUsedDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
66
|
+
return request.Post<R, T>('/rbac/used/findPage', body, {
|
|
67
|
+
headers: {
|
|
68
|
+
'Content-Type': 'application/json',
|
|
69
|
+
},
|
|
70
|
+
...(options || {}),
|
|
71
|
+
});
|
|
72
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 资源新增
|
|
5
|
+
* @url /rbac/resource/addResource
|
|
6
|
+
* @method POST
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function postRbacResourceAddResource<
|
|
10
|
+
R = API.ResponseDataPubResource,
|
|
11
|
+
T = API.ResponseDataPubResource,
|
|
12
|
+
>(body: API.PubResourceAddDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
13
|
+
return request.Post<R, T>('/rbac/resource/addResource', body, {
|
|
14
|
+
headers: {
|
|
15
|
+
'Content-Type': 'application/json',
|
|
16
|
+
},
|
|
17
|
+
...(options || {}),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @description 应用列表
|
|
23
|
+
* @url /rbac/resource/appList
|
|
24
|
+
* @method GET
|
|
25
|
+
* @author @pubinfo/openapi
|
|
26
|
+
*/
|
|
27
|
+
export function getRbacResourceAppList<
|
|
28
|
+
R = API.ResponseDataListPubResource,
|
|
29
|
+
T = API.ResponseDataListPubResource,
|
|
30
|
+
>(options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
31
|
+
return request.Get<R, T>('/rbac/resource/appList', {
|
|
32
|
+
...(options || {}),
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @description 资源绑定的角色列表
|
|
38
|
+
* @url /rbac/resource/getRoleListByResourceId
|
|
39
|
+
* @method GET
|
|
40
|
+
* @author @pubinfo/openapi
|
|
41
|
+
*/
|
|
42
|
+
export function getRbacResourceGetRoleListByResourceId<
|
|
43
|
+
R = API.ResponseDataListPubRoleBo,
|
|
44
|
+
T = API.ResponseDataListPubRoleBo,
|
|
45
|
+
>(
|
|
46
|
+
params: API.getRbacResourceGetRoleListByResourceIdParams,
|
|
47
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
48
|
+
) {
|
|
49
|
+
return request.Get<R, T>('/rbac/resource/getRoleListByResourceId', {
|
|
50
|
+
params: {
|
|
51
|
+
...params,
|
|
52
|
+
},
|
|
53
|
+
...(options || {}),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @description 授权资源列表
|
|
59
|
+
* @url /rbac/resource/grantedResources
|
|
60
|
+
* @method GET
|
|
61
|
+
* @author @pubinfo/openapi
|
|
62
|
+
*/
|
|
63
|
+
export function getRbacResourceGrantedResources<
|
|
64
|
+
R = API.ResponseDataListString,
|
|
65
|
+
T = API.ResponseDataListString,
|
|
66
|
+
>(options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
67
|
+
return request.Get<R, T>('/rbac/resource/grantedResources', {
|
|
68
|
+
...(options || {}),
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @description 选择应用下的资源树
|
|
74
|
+
* @url /rbac/resource/groupResourceTree
|
|
75
|
+
* @method GET
|
|
76
|
+
* @author @pubinfo/openapi
|
|
77
|
+
*/
|
|
78
|
+
export function getRbacResourceGroupResourceTree<
|
|
79
|
+
R = API.ResponseDataListPubResourceTreeBo,
|
|
80
|
+
T = API.ResponseDataListPubResourceTreeBo,
|
|
81
|
+
>(
|
|
82
|
+
params: API.getRbacResourceGroupResourceTreeParams,
|
|
83
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
84
|
+
) {
|
|
85
|
+
return request.Get<R, T>('/rbac/resource/groupResourceTree', {
|
|
86
|
+
params: {
|
|
87
|
+
...params,
|
|
88
|
+
},
|
|
89
|
+
...(options || {}),
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @description 根据id查询
|
|
95
|
+
* @url /rbac/resource/info
|
|
96
|
+
* @method GET
|
|
97
|
+
* @author @pubinfo/openapi
|
|
98
|
+
*/
|
|
99
|
+
export function getRbacResourceInfo<
|
|
100
|
+
R = API.ResponseDataPubResource,
|
|
101
|
+
T = API.ResponseDataPubResource,
|
|
102
|
+
>(params: API.getRbacResourceInfoParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
103
|
+
return request.Get<R, T>('/rbac/resource/info', {
|
|
104
|
+
params: {
|
|
105
|
+
...params,
|
|
106
|
+
},
|
|
107
|
+
...(options || {}),
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @description 登录后菜单树加载
|
|
113
|
+
* @url /rbac/resource/menuTree
|
|
114
|
+
* @method POST
|
|
115
|
+
* @author @pubinfo/openapi
|
|
116
|
+
*/
|
|
117
|
+
export function postRbacResourceMenuTree<
|
|
118
|
+
R = API.ResponseDataListPubResourceTreeBo,
|
|
119
|
+
T = API.ResponseDataListPubResourceTreeBo,
|
|
120
|
+
>(options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
121
|
+
return request.Post<R, T>(
|
|
122
|
+
'/rbac/resource/menuTree',
|
|
123
|
+
{},
|
|
124
|
+
{
|
|
125
|
+
...(options || {}),
|
|
126
|
+
},
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @description 资源删除
|
|
132
|
+
* @url /rbac/resource/resourceDelete
|
|
133
|
+
* @method GET
|
|
134
|
+
* @author @pubinfo/openapi
|
|
135
|
+
*/
|
|
136
|
+
export function getRbacResourceResourceDelete<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
137
|
+
params: API.getRbacResourceResourceDeleteParams,
|
|
138
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
139
|
+
) {
|
|
140
|
+
return request.Get<R, T>('/rbac/resource/resourceDelete', {
|
|
141
|
+
params: {
|
|
142
|
+
...params,
|
|
143
|
+
},
|
|
144
|
+
...(options || {}),
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @description 资源列表通过父id查询
|
|
150
|
+
* @url /rbac/resource/resourceListByParentId
|
|
151
|
+
* @method GET
|
|
152
|
+
* @author @pubinfo/openapi
|
|
153
|
+
*/
|
|
154
|
+
export function getRbacResourceResourceListByParentId<
|
|
155
|
+
R = API.ResponseDataListPubResource,
|
|
156
|
+
T = API.ResponseDataListPubResource,
|
|
157
|
+
>(
|
|
158
|
+
params: API.getRbacResourceResourceListByParentIdParams,
|
|
159
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
160
|
+
) {
|
|
161
|
+
return request.Get<R, T>('/rbac/resource/resourceListByParentId', {
|
|
162
|
+
params: {
|
|
163
|
+
// parentId has a default value: 0
|
|
164
|
+
parentId: '0',
|
|
165
|
+
...params,
|
|
166
|
+
},
|
|
167
|
+
...(options || {}),
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @description 全量树
|
|
173
|
+
* @url /rbac/resource/resourceTree
|
|
174
|
+
* @method GET
|
|
175
|
+
* @author @pubinfo/openapi
|
|
176
|
+
*/
|
|
177
|
+
export function getRbacResourceResourceTree<
|
|
178
|
+
R = API.ResponseDataListPubResourceTreeBo,
|
|
179
|
+
T = API.ResponseDataListPubResourceTreeBo,
|
|
180
|
+
>(
|
|
181
|
+
params: API.getRbacResourceResourceTreeParams,
|
|
182
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
183
|
+
) {
|
|
184
|
+
return request.Get<R, T>('/rbac/resource/resourceTree', {
|
|
185
|
+
params: {
|
|
186
|
+
...params,
|
|
187
|
+
},
|
|
188
|
+
...(options || {}),
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @description 资源编辑
|
|
194
|
+
* @url /rbac/resource/resourceUpdate
|
|
195
|
+
* @method POST
|
|
196
|
+
* @author @pubinfo/openapi
|
|
197
|
+
*/
|
|
198
|
+
export function postRbacResourceResourceUpdate<
|
|
199
|
+
R = API.ResponseDataPubResource,
|
|
200
|
+
T = API.ResponseDataPubResource,
|
|
201
|
+
>(body: API.PubResourceUpdateDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
202
|
+
return request.Post<R, T>('/rbac/resource/resourceUpdate', body, {
|
|
203
|
+
headers: {
|
|
204
|
+
'Content-Type': 'application/json',
|
|
205
|
+
},
|
|
206
|
+
...(options || {}),
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @description 租户新增的资源树
|
|
212
|
+
* @url /rbac/resource/tenantAddResourceTree
|
|
213
|
+
* @method GET
|
|
214
|
+
* @author @pubinfo/openapi
|
|
215
|
+
*/
|
|
216
|
+
export function getRbacResourceTenantAddResourceTree<
|
|
217
|
+
R = API.ResponseDataListPubResourceTreeBo,
|
|
218
|
+
T = API.ResponseDataListPubResourceTreeBo,
|
|
219
|
+
>(options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
220
|
+
return request.Get<R, T>('/rbac/resource/tenantAddResourceTree', {
|
|
221
|
+
...(options || {}),
|
|
222
|
+
});
|
|
223
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { basic as request } from '@/api/request';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 租户新增
|
|
5
|
+
* @url /rbac/tenant/pubTenantAdd
|
|
6
|
+
* @method POST
|
|
7
|
+
* @author @pubinfo/openapi
|
|
8
|
+
*/
|
|
9
|
+
export function postRbacTenantPubTenantAdd<R = API.ResponseDataString, T = API.ResponseDataString>(
|
|
10
|
+
body: API.PubTenantDto,
|
|
11
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
12
|
+
) {
|
|
13
|
+
return request.Post<R, T>('/rbac/tenant/pubTenantAdd', body, {
|
|
14
|
+
headers: {
|
|
15
|
+
'Content-Type': 'application/json',
|
|
16
|
+
},
|
|
17
|
+
...(options || {}),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @description 租户删除
|
|
23
|
+
* @url /rbac/tenant/pubTenantDelete
|
|
24
|
+
* @method GET
|
|
25
|
+
* @author @pubinfo/openapi
|
|
26
|
+
*/
|
|
27
|
+
export function getRbacTenantPubTenantDelete<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
28
|
+
params: API.getRbacTenantPubTenantDeleteParams,
|
|
29
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
30
|
+
) {
|
|
31
|
+
return request.Get<R, T>('/rbac/tenant/pubTenantDelete', {
|
|
32
|
+
params: {
|
|
33
|
+
...params,
|
|
34
|
+
},
|
|
35
|
+
...(options || {}),
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @description 根据id查询租户
|
|
41
|
+
* @url /rbac/tenant/pubTenantInfo
|
|
42
|
+
* @method GET
|
|
43
|
+
* @author @pubinfo/openapi
|
|
44
|
+
*/
|
|
45
|
+
export function getRbacTenantPubTenantInfo<
|
|
46
|
+
R = API.ResponseDataPubTenantBo,
|
|
47
|
+
T = API.ResponseDataPubTenantBo,
|
|
48
|
+
>(params: API.getRbacTenantPubTenantInfoParams, options?: Parameters<typeof request.Get<R, T>>[1]) {
|
|
49
|
+
return request.Get<R, T>('/rbac/tenant/pubTenantInfo', {
|
|
50
|
+
params: {
|
|
51
|
+
...params,
|
|
52
|
+
},
|
|
53
|
+
...(options || {}),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @description 租户分页查询
|
|
59
|
+
* @url /rbac/tenant/pubTenantPage
|
|
60
|
+
* @method POST
|
|
61
|
+
* @author @pubinfo/openapi
|
|
62
|
+
*/
|
|
63
|
+
export function postRbacTenantPubTenantPage<
|
|
64
|
+
R = API.ResponseDataPageDataPubTenant,
|
|
65
|
+
T = API.ResponseDataPageDataPubTenant,
|
|
66
|
+
>(body: API.PubTenantQueryDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
67
|
+
return request.Post<R, T>('/rbac/tenant/pubTenantPage', body, {
|
|
68
|
+
headers: {
|
|
69
|
+
'Content-Type': 'application/json',
|
|
70
|
+
},
|
|
71
|
+
...(options || {}),
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @description 租户编辑
|
|
77
|
+
* @url /rbac/tenant/pubTenantUpdate
|
|
78
|
+
* @method POST
|
|
79
|
+
* @author @pubinfo/openapi
|
|
80
|
+
*/
|
|
81
|
+
export function postRbacTenantPubTenantUpdate<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(
|
|
82
|
+
body: API.PubTenantDto,
|
|
83
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
84
|
+
) {
|
|
85
|
+
return request.Post<R, T>('/rbac/tenant/pubTenantUpdate', body, {
|
|
86
|
+
headers: {
|
|
87
|
+
'Content-Type': 'application/json',
|
|
88
|
+
},
|
|
89
|
+
...(options || {}),
|
|
90
|
+
});
|
|
91
|
+
}
|