@pubinfo-nightly/module-rbac 2025.11.14
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/LICENSE +21 -0
- package/dist/ComponentSelect-ZLey_5w7.js +4 -0
- package/dist/ComponentSelect.css +1 -0
- package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +3981 -0
- package/dist/DynamicRoutesForm-BU4EAISs.js +4 -0
- package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +179 -0
- package/dist/HCheckList-Dkxhu1br.js +4 -0
- package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +41 -0
- package/dist/HoverCard-7agF2aDO.js +4 -0
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +62 -0
- package/dist/IconSelect-DtNpk3Rj.js +4 -0
- package/dist/IconSelect.css +1 -0
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +757 -0
- package/dist/ImportExport-DAe_Sl13.js +4 -0
- package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +456 -0
- package/dist/LayoutForm-Pv6UyKl3.js +173 -0
- package/dist/LayoutForm.css +1 -0
- package/dist/MetaForm-BMPtZc0g.js +42413 -0
- package/dist/MetaForm.css +1 -0
- package/dist/OrgAndPosition-R-YixdXG.js +4 -0
- package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +195 -0
- package/dist/ResourceEdit-D59JUDvG.js +4 -0
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +429 -0
- package/dist/ResourceRelation-CeM9Eq39.js +90 -0
- package/dist/ResourceRelation-qhIdXLAy.js +111 -0
- package/dist/ResourceRelation.css +1 -0
- package/dist/ResourceRelation2.css +1 -0
- package/dist/RoleRelation-BuqK0cnl.js +4 -0
- package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +93 -0
- package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +352 -0
- package/dist/TenantEdit-C61O1pSu.js +4 -0
- package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +306 -0
- package/dist/UserAuthorization-Ch_iKzms.js +273 -0
- package/dist/UserAuthorization.css +1 -0
- package/dist/UserEdit-B1fnFcSC.js +4 -0
- package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +315 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/add-child-B9gDBQjZ.js +4 -0
- package/dist/animation_item-BZ1HNA6o.js +4 -0
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +4858 -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 +43 -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/zidifuwu.d.ts +71 -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 +43 -0
- package/dist/api/modules/rbac/index.d.ts +12 -0
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +50 -0
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +106 -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/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +92 -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/authority-B-0S66Fv.js +4 -0
- package/dist/authorize-DnyYvAo3.js +4 -0
- package/dist/blacklist-disable-DzVU8JLV.js +4 -0
- package/dist/blacklist-enable-BmWQR1i4.js +4 -0
- package/dist/browser-chrome-O9MASusF.js +4 -0
- package/dist/browser-edge-Dk6N_uRy.js +4 -0
- package/dist/browser-ie-Dtz7hQTC.js +4 -0
- package/dist/browser-other-Crzi8vov.js +4 -0
- package/dist/browser-safari-DF0pVlrn.js +4 -0
- package/dist/browserType-DQySszjD.js +4 -0
- package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +32 -0
- package/dist/cloneDeep-BOLZdR62.js +8 -0
- package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -0
- package/dist/components/GroupSelector/index.vue.d.ts +15 -0
- package/dist/components/GroupSelector/interface.d.ts +6 -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 +9 -0
- package/dist/components/OrgUserSelector/provider.d.ts +24 -0
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +26 -0
- package/dist/components/ResourceIcones/Select.vue.d.ts +58 -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/components/RoleSelector/RoleSearch.vue.d.ts +19 -0
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +20 -0
- package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +8 -0
- package/dist/components/RoleSelector/index.d.ts +2 -0
- package/dist/components/RoleSelector/interface.d.ts +4 -0
- package/dist/components/RoleSelector/useRole.d.ts +13 -0
- package/dist/composables/useLottie.d.ts +11 -0
- package/dist/composables/useWebSocketManager.d.ts +8 -0
- package/dist/context.d.ts +2 -0
- package/dist/createAndEditDataPermission-DPeFulie.js +4 -0
- package/dist/createAndEditDataPermission.css +1 -0
- package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +528 -0
- package/dist/dayjs.min-B2Yn1Frg.js +284 -0
- package/dist/drawerBlackWhiteList-eWyKScZN.js +4 -0
- package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +173 -0
- package/dist/drawerDictionary-BRGmcIFT.js +4 -0
- package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +146 -0
- package/dist/drawerDictionaryItem-CFBfyhEw.js +4 -0
- package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +158 -0
- package/dist/drawerGroup-Bs1Z8XPo.js +4 -0
- package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +202 -0
- package/dist/drawerOrganization-Bs0YtPuo.js +4 -0
- package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +250 -0
- package/dist/drawerPosition-BA_gLotd.js +4 -0
- package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +181 -0
- package/dist/drawerRegion-CauOP4lh.js +4 -0
- package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +235 -0
- package/dist/drawerRole-CXGVqxPX.js +4 -0
- package/dist/drawerRole-CfJjf3v_.js +4 -0
- package/dist/drawerRole-nmMTIQYS.js +4 -0
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +243 -0
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +197 -0
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +191 -0
- package/dist/edit-B69fMWPH.js +4 -0
- package/dist/enum-C9ihxJe7.js +4 -0
- package/dist/enum-D5iPiZiT.js +17 -0
- package/dist/enum-DDKThkSw.js +24 -0
- package/dist/enum-DkSNwGbC.js +74 -0
- package/dist/gangweijiekou-CUGlx4Ni.js +48 -0
- package/dist/icard-C4FaIC0V.js +4 -0
- package/dist/icon_animation-CfRxn8ne.js +4 -0
- package/dist/icon_breadcrumb-CAPCH16K.js +4 -0
- package/dist/icon_copyright-T9HuRtib.js +4 -0
- package/dist/icon_jt-BZgxEG_D.js +4 -0
- package/dist/icon_layout-BynQzkfn.js +4 -0
- package/dist/icon_mainpage-Bu_lyj_6.js +4 -0
- package/dist/icon_menu-D41hl_4p.js +4 -0
- package/dist/icon_page_size-Bioi61il.js +4 -0
- package/dist/icon_position_type-QpezzPDJ.js +4 -0
- package/dist/icon_safe_manage-ByWMOnwf.js +4 -0
- package/dist/icon_screen_scale-CuPyb7Ni.js +4 -0
- package/dist/icon_system_manage-BxRLv7Nw.js +4 -0
- package/dist/icon_tabbar-CetwmJHN.js +4 -0
- package/dist/icon_toolbar-DXt_LXp8.js +4 -0
- package/dist/icon_topbar-C186yIiC.js +4 -0
- package/dist/icon_watermark-DhaloO3m.js +4 -0
- package/dist/index-B0zXLUdu.js +350 -0
- package/dist/index-B5aP0re3.js +170 -0
- package/dist/index-BEB4liGe.js +151 -0
- package/dist/index-BNwGLzXe.js +168 -0
- package/dist/index-BXvJhqJD.js +97 -0
- package/dist/index-BhZNbJp6.js +189 -0
- package/dist/index-Bm3WQuJD.js +226 -0
- package/dist/index-C2G4xRrJ.js +144 -0
- package/dist/index-C5WD-YUu.js +246 -0
- package/dist/index-CJQB8KAz.js +186 -0
- package/dist/index-CLnFLvHy.js +193 -0
- package/dist/index-CbVJdR5M.js +194 -0
- package/dist/index-ChWnVs6j.js +196 -0
- package/dist/index-CoZM8pyH.js +197 -0
- package/dist/index-Copy5kiW.js +17701 -0
- package/dist/index-D3Xw_aOi.js +144 -0
- package/dist/index-DHVEXch0.js +253 -0
- package/dist/index-DQhQqT_Z.js +269 -0
- package/dist/index-Dl0hWfIE.js +118 -0
- package/dist/index-En8oOf9e.js +168 -0
- package/dist/index-VZuizuKs.js +257 -0
- package/dist/index-XhYtVVT9.js +88 -0
- package/dist/index-iBmBJd50.js +181 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +7496 -0
- package/dist/index10.css +1 -0
- package/dist/index11.css +1 -0
- package/dist/index12.css +1 -0
- package/dist/index13.css +1 -0
- package/dist/index14.css +1 -0
- package/dist/index15.css +1 -0
- package/dist/index16.css +1 -0
- package/dist/index17.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/index8.css +1 -0
- package/dist/index9.css +1 -0
- package/dist/interface.d.ts +71 -0
- package/dist/isEmpty-BgDIb4aS.js +20 -0
- package/dist/itemlist-zTYJtoSs.js +172 -0
- package/dist/jiaosejiekou-p42Hm9h3.js +58 -0
- package/dist/log-center-Bw9UlmOq.js +4 -0
- package/dist/loginHistoryDetail-BZVwG8m2.js +105 -0
- package/dist/loginHistoryDetail.css +1 -0
- package/dist/login_history-CMZGS2PN.js +221 -0
- package/dist/login_history.css +1 -0
- package/dist/not-data-BDuvYboz.js +4 -0
- package/dist/operateHistoryDetail-Badx3zl-.js +123 -0
- package/dist/operateHistoryDetail.css +1 -0
- package/dist/operate_history-B42WNY1u.js +217 -0
- package/dist/operate_history.css +1 -0
- package/dist/org-main-DfWpX8Wv.js +4 -0
- package/dist/org-unmain-DrX63NH5.js +4 -0
- package/dist/remove-D2ES5tEr.js +4 -0
- package/dist/resource-app-1lqF6C6F.js +4 -0
- package/dist/resource-btn-Cfo6ddAY.js +4 -0
- package/dist/resource-dynamic-BAwkCWS4.js +4 -0
- package/dist/resource-index-BS4V5uy8.js +4 -0
- package/dist/resource-menu-CEWU8Iis.js +4 -0
- package/dist/resource-micro-9S0h5AlK.js +4 -0
- package/dist/resource-nonmenu-BZ9e4ynT.js +4 -0
- package/dist/routes/index.d.ts +16 -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-Blb3dox4.js +87 -0
- package/dist/setItem.css +1 -0
- package/dist/setting-manage-Xj_s0OoK.js +4 -0
- package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +65 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/view.d.ts +56 -0
- package/dist/theme-check-mark-D58efagJ.js +4 -0
- package/dist/theme-title-CYUX2SBW.js +4 -0
- package/dist/useAppAndResource-DDywX2iz.js +54 -0
- package/dist/utils/dict.d.ts +6 -0
- package/dist/utils/routeSystem.d.ts +55 -0
- package/dist/utils/validateObjectStructure.d.ts +11 -0
- package/dist/vanilla-picker-BAEwS4Fy.js +536 -0
- package/dist/view-BCWU0JWM.js +4 -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 +44 -0
- package/dist/views/organization/enum.d.ts +25 -0
- package/dist/views/organization/index.vue.d.ts +81 -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/ComponentSelect.vue.d.ts +14 -0
- package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +13 -0
- package/dist/views/resource/components/HoverCard.vue.d.ts +21 -0
- package/dist/views/resource/components/IconSelect.vue.d.ts +10 -0
- package/dist/views/resource/components/ImportExport.vue.d.ts +13 -0
- package/dist/views/resource/components/LayoutForm.vue.d.ts +10 -0
- package/dist/views/resource/components/MetaForm.vue.d.ts +10 -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 +23 -0
- package/dist/views/resource/hooks/useLayoutForm.d.ts +12 -0
- package/dist/views/resource/hooks/useMetaForm.d.ts +6 -0
- package/dist/views/resource/index.vue.d.ts +1571 -0
- package/dist/views/resource/interface.d.ts +9 -0
- package/dist/views/resource/model.d.ts +53 -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 +45 -0
- package/dist/views/role_group/enum.d.ts +21 -0
- package/dist/views/role_group/index.vue.d.ts +1565 -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 +14 -0
- package/dist/views/tenant/enum.d.ts +7 -0
- package/dist/views/tenant/index.vue.d.ts +1534 -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 +15 -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 +47 -0
- package/dist/views/user/components/UserEdit.vue.d.ts +16 -0
- package/dist/views/user/enum.d.ts +13 -0
- package/dist/views/user/index.vue.d.ts +1594 -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-BoCbGEk7.js +23 -0
- package/dist/zddata-DQP5Kx3c.js +4 -0
- package/dist/ziyuanjiekou-BC65-bFK.js +69 -0
- package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +28 -0
- package/dist/zy_checked-Bb6zRsYe.js +4 -0
- package/dist/zy_default-BGjhoury.js +4 -0
- package/package.json +59 -0
- package/src/api/modules/assist/gonggaofuwu.ts +124 -0
- package/src/api/modules/assist/index.ts +3 -0
- package/src/api/modules/assist/qunzujiekou.ts +128 -0
- package/src/api/modules/assist/quyujiekou.ts +108 -0
- package/src/api/modules/assist/typings.d.ts +368 -0
- package/src/api/modules/configData/heibaimingdanfuwu.ts +106 -0
- package/src/api/modules/configData/index.ts +3 -0
- package/src/api/modules/configData/typings.d.ts +357 -0
- package/src/api/modules/configData/xitongpeizhifuwu.ts +346 -0
- package/src/api/modules/configData/zidifuwu.ts +227 -0
- package/src/api/modules/log/caozuorizhifuwu.ts +43 -0
- package/src/api/modules/log/denglurizhifuwu.ts +43 -0
- package/src/api/modules/log/index.ts +2 -0
- package/src/api/modules/log/typings.d.ts +183 -0
- package/src/api/modules/rbac/gangweijiekou.ts +132 -0
- package/src/api/modules/rbac/index.ts +12 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +139 -0
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +152 -0
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +200 -0
- package/src/api/modules/rbac/typings.d.ts +2124 -0
- package/src/api/modules/rbac/yonghujiekou.ts +327 -0
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +110 -0
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +82 -0
- package/src/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +262 -0
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +100 -0
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +85 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +189 -0
- package/src/api/request.ts +4 -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-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-safari.svg +1 -0
- package/src/assets/icons/edit.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/log-center.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/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-dynamic.svg +39 -0
- package/src/assets/icons/resource-index.svg +1 -0
- package/src/assets/icons/resource-menu.svg +1 -0
- package/src/assets/icons/resource-micro.svg +40 -0
- package/src/assets/icons/resource-nonmenu.svg +1 -0
- package/src/assets/icons/setting-manage.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/view.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/DirectoryIcones/ComponentsIcones.vue +18 -0
- package/src/components/DirectoryIcones/FolderIcones.vue +18 -0
- package/src/components/DirectoryIcones/ModuleIcones.vue +18 -0
- package/src/components/DirectoryIcones/PackagesIcones.vue +18 -0
- package/src/components/DirectoryIcones/SrcIcones.vue +18 -0
- package/src/components/DirectoryIcones/ViewIcones.vue +18 -0
- package/src/components/DirectoryIcones/VueIcones.vue +9 -0
- package/src/components/GroupSelector/index.vue +280 -0
- package/src/components/GroupSelector/interface.ts +6 -0
- package/src/components/JsonEditorModal/index.vue +59 -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 +52 -0
- package/src/components/OrgUserSelector/provider.ts +373 -0
- package/src/components/ResourceIcones/BoxColorPicker.vue +228 -0
- package/src/components/ResourceIcones/Select.vue +474 -0
- package/src/components/ResourceSelector/enum.ts +5 -0
- package/src/components/ResourceSelector/hooks/useAppAndResource.ts +96 -0
- package/src/components/ResourceSelector/index.vue +414 -0
- package/src/components/RoleSelector/RoleSearch.vue +60 -0
- package/src/components/RoleSelector/RoleSelector.vue +174 -0
- package/src/components/RoleSelector/TooltipLabel.vue +24 -0
- package/src/components/RoleSelector/index.ts +2 -0
- package/src/components/RoleSelector/interface.ts +4 -0
- package/src/components/RoleSelector/useRole.ts +56 -0
- package/src/composables/useLottie.ts +65 -0
- package/src/composables/useWebSocketManager.ts +103 -0
- package/src/context.ts +4 -0
- package/src/index.ts +51 -0
- package/src/interface.ts +83 -0
- package/src/routes/index.ts +160 -0
- package/src/routes/modules/authority.manage.menu.ts +92 -0
- package/src/routes/modules/log.manage.menu.ts +37 -0
- package/src/routes/modules/safe.manage.menu.ts +59 -0
- package/src/routes/modules/stylesetting.manage.menu.ts +114 -0
- package/src/routes/modules/system.manage.menu.ts +82 -0
- package/src/stores/index.ts +1 -0
- package/src/stores/view.ts +292 -0
- package/src/utils/dict.ts +21 -0
- package/src/utils/routeSystem.ts +53 -0
- package/src/utils/validateObjectStructure.ts +47 -0
- package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +132 -0
- package/src/views/blackWhiteList/enum.ts +7 -0
- package/src/views/blackWhiteList/index.vue +297 -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 +119 -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 +187 -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 +202 -0
- package/src/views/layout_setting/index.vue +296 -0
- package/src/views/log_center/components/browserType.vue +35 -0
- package/src/views/log_center/components/loginHistoryDetail.vue +69 -0
- package/src/views/log_center/components/operateHistoryDetail.vue +78 -0
- package/src/views/log_center/login_history.vue +234 -0
- package/src/views/log_center/operate_history.vue +228 -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 +161 -0
- package/src/views/organization/enum.ts +26 -0
- package/src/views/organization/index.vue +497 -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 +192 -0
- package/src/views/page_w_setting/index.vue +255 -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/ComponentSelect.vue +303 -0
- package/src/views/resource/components/DynamicRoutesForm.vue +84 -0
- package/src/views/resource/components/HoverCard.vue +62 -0
- package/src/views/resource/components/IconSelect.vue +188 -0
- package/src/views/resource/components/ImportExport.vue +313 -0
- package/src/views/resource/components/LayoutForm.vue +92 -0
- package/src/views/resource/components/MetaForm.vue +216 -0
- package/src/views/resource/components/ResourceEdit.vue +331 -0
- package/src/views/resource/components/RoleRelation.vue +100 -0
- package/src/views/resource/enum.ts +33 -0
- package/src/views/resource/hooks/useLayoutForm.ts +57 -0
- package/src/views/resource/hooks/useMetaForm.ts +130 -0
- package/src/views/resource/index.vue +261 -0
- package/src/views/resource/interface.ts +10 -0
- package/src/views/resource/model.ts +81 -0
- package/src/views/role/components/ResourceRelation.vue +112 -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 +90 -0
- package/src/views/role_group/components/drawerRole.vue +154 -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 +235 -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 +436 -0
- package/src/views/toolbar_setting/animationData.ts +38 -0
- package/src/views/toolbar_setting/index.vue +176 -0
- package/src/views/user/components/OrgAndPosition.vue +156 -0
- package/src/views/user/components/UserAuthorization.vue +261 -0
- package/src/views/user/components/UserEdit.vue +267 -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 +229 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { Space as P, Button as T } from "ant-design-vue/es";
|
|
2
|
+
import { useAuth as S, PubinfoIcon as O } from "pubinfo-nightly";
|
|
3
|
+
import { PlusCircleOutlined as A } from "@ant-design/icons-vue";
|
|
4
|
+
import { defineComponent as N, ref as I, resolveDirective as V, createElementBlock as _, openBlock as i, createVNode as a, unref as n, withCtx as s, createBlock as R, createCommentVNode as B, withDirectives as f, createElementVNode as D, toDisplayString as h, createTextVNode as W } from "vue";
|
|
5
|
+
import { ProTable as $ } from "@pubinfo/pro-components";
|
|
6
|
+
import { Badge as k, Modal as M, message as q } from "ant-design-vue";
|
|
7
|
+
import "./index.js";
|
|
8
|
+
import { p as G, d as z } from "./RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js";
|
|
9
|
+
import { A as t, _ as Q } from "./drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js";
|
|
10
|
+
const U = {
|
|
11
|
+
"py-10px": "",
|
|
12
|
+
"px-10px": "",
|
|
13
|
+
"w-full": "",
|
|
14
|
+
"h-full": ""
|
|
15
|
+
}, j = ["onClick"], F = {
|
|
16
|
+
class: "ml-4px"
|
|
17
|
+
}, H = ["onClick"], J = {
|
|
18
|
+
class: "ml-4px"
|
|
19
|
+
}, re = /* @__PURE__ */ N({
|
|
20
|
+
name: "Role",
|
|
21
|
+
__name: "index",
|
|
22
|
+
setup(K) {
|
|
23
|
+
const {
|
|
24
|
+
auth: C
|
|
25
|
+
} = S(), x = I(), c = I();
|
|
26
|
+
function b() {
|
|
27
|
+
x.value.reload();
|
|
28
|
+
}
|
|
29
|
+
async function g(o) {
|
|
30
|
+
const {
|
|
31
|
+
current: e,
|
|
32
|
+
pageSize: l,
|
|
33
|
+
...d
|
|
34
|
+
} = o, r = await G({
|
|
35
|
+
currentPage: e,
|
|
36
|
+
pageSize: l,
|
|
37
|
+
...d
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
success: r.success,
|
|
41
|
+
data: r.data?.records ?? [],
|
|
42
|
+
total: r.data?.total ?? 0
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
const E = [{
|
|
46
|
+
valueType: "a-input",
|
|
47
|
+
bind: "value",
|
|
48
|
+
minWidth: 200,
|
|
49
|
+
title: "角色组名称",
|
|
50
|
+
dataIndex: "name",
|
|
51
|
+
ellipsis: !0,
|
|
52
|
+
fieldProps: {
|
|
53
|
+
placeholder: "请输入角色组名称",
|
|
54
|
+
allowClear: !0
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
hideInSearch: !0,
|
|
58
|
+
minWidth: 80,
|
|
59
|
+
title: "创建人",
|
|
60
|
+
dataIndex: "createUserName"
|
|
61
|
+
}, {
|
|
62
|
+
hideInSearch: !0,
|
|
63
|
+
minWidth: 100,
|
|
64
|
+
title: "创建部门",
|
|
65
|
+
dataIndex: "createOrgName"
|
|
66
|
+
}, {
|
|
67
|
+
hideInSearch: !0,
|
|
68
|
+
minWidth: 100,
|
|
69
|
+
title: "创建时间",
|
|
70
|
+
dataIndex: "createTime"
|
|
71
|
+
}, {
|
|
72
|
+
hideInSearch: !0,
|
|
73
|
+
minWidth: 100,
|
|
74
|
+
title: "修改时间",
|
|
75
|
+
dataIndex: "updateTime"
|
|
76
|
+
}, {
|
|
77
|
+
valueType: "a-select",
|
|
78
|
+
minWidth: 80,
|
|
79
|
+
title: "角色组状态",
|
|
80
|
+
dataIndex: "enable",
|
|
81
|
+
customRender: ({
|
|
82
|
+
text: o
|
|
83
|
+
}) => o ? a(k, {
|
|
84
|
+
status: "success",
|
|
85
|
+
text: "正常"
|
|
86
|
+
}, null) : a(k, {
|
|
87
|
+
status: "error",
|
|
88
|
+
text: "关闭"
|
|
89
|
+
}, null),
|
|
90
|
+
fieldProps: {
|
|
91
|
+
placeholder: "请选择是否启用",
|
|
92
|
+
allowClear: !0,
|
|
93
|
+
options: [{
|
|
94
|
+
value: 1,
|
|
95
|
+
label: "正常"
|
|
96
|
+
}, {
|
|
97
|
+
value: 0,
|
|
98
|
+
label: "关闭"
|
|
99
|
+
}]
|
|
100
|
+
}
|
|
101
|
+
}, {
|
|
102
|
+
hideInSearch: !0,
|
|
103
|
+
width: 140,
|
|
104
|
+
title: "操作",
|
|
105
|
+
dataIndex: "action",
|
|
106
|
+
fixed: "right",
|
|
107
|
+
hideInTable() {
|
|
108
|
+
return !C(["role_group_edit", "role_group_remove"]);
|
|
109
|
+
}
|
|
110
|
+
}];
|
|
111
|
+
function u(o, e) {
|
|
112
|
+
switch (o) {
|
|
113
|
+
case t.EDIT:
|
|
114
|
+
c.value.open(o, e);
|
|
115
|
+
break;
|
|
116
|
+
case t.ADD:
|
|
117
|
+
c.value.open(o);
|
|
118
|
+
break;
|
|
119
|
+
case t.REMOVE:
|
|
120
|
+
M.confirm({
|
|
121
|
+
title: "删除",
|
|
122
|
+
content: "确定要删除该角色组吗?",
|
|
123
|
+
onOk() {
|
|
124
|
+
z({
|
|
125
|
+
id: e?.id
|
|
126
|
+
}).then((l) => {
|
|
127
|
+
l.success && (q.success("删除成功"), b());
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return (o, e) => {
|
|
135
|
+
const l = A, d = T, r = O, y = P, m = V("auth");
|
|
136
|
+
return i(), _("div", U, [a(n($), {
|
|
137
|
+
ref_key: "tableRef",
|
|
138
|
+
ref: x,
|
|
139
|
+
"row-key": "id",
|
|
140
|
+
request: g,
|
|
141
|
+
columns: E,
|
|
142
|
+
"auto-height": "",
|
|
143
|
+
scroll: {
|
|
144
|
+
x: 1100
|
|
145
|
+
}
|
|
146
|
+
}, {
|
|
147
|
+
toolbar: s(() => [f((i(), R(d, {
|
|
148
|
+
type: "primary",
|
|
149
|
+
onClick: e[0] || (e[0] = (p) => u(n(t).ADD))
|
|
150
|
+
}, {
|
|
151
|
+
default: s(() => [a(l), W(" " + h(n(t).ADD), 1)]),
|
|
152
|
+
_: 1
|
|
153
|
+
})), [[m, "role_group_add"]])]),
|
|
154
|
+
bodyCell: s(({
|
|
155
|
+
column: p,
|
|
156
|
+
record: v
|
|
157
|
+
}) => [p.dataIndex === "action" ? (i(), R(y, {
|
|
158
|
+
key: 0
|
|
159
|
+
}, {
|
|
160
|
+
default: s(() => [f((i(), _("a", {
|
|
161
|
+
class: "flex items-center",
|
|
162
|
+
onClick: (w) => u(n(t).EDIT, v)
|
|
163
|
+
}, [a(r, {
|
|
164
|
+
name: "edit",
|
|
165
|
+
class: "text-base"
|
|
166
|
+
}), D("span", F, h(n(t).EDIT), 1)], 8, j)), [[m, "role_edit"]]), f((i(), _("span", {
|
|
167
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
168
|
+
onClick: (w) => u(n(t).REMOVE, v)
|
|
169
|
+
}, [a(r, {
|
|
170
|
+
name: "remove",
|
|
171
|
+
class: "text-base"
|
|
172
|
+
}), D("span", J, h(n(t).REMOVE), 1)], 8, H)), [[m, "role_remove"]])]),
|
|
173
|
+
_: 2
|
|
174
|
+
}, 1024)) : B("", !0)]),
|
|
175
|
+
_: 1
|
|
176
|
+
}, 512), a(Q, {
|
|
177
|
+
ref_key: "drawerRoleRef",
|
|
178
|
+
ref: c,
|
|
179
|
+
onSubmit: e[1] || (e[1] = (p) => b())
|
|
180
|
+
}, null, 512)]);
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
export {
|
|
185
|
+
re as default
|
|
186
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { Space as S, Button as g } from "ant-design-vue/es";
|
|
2
|
+
import { useAuth as P, PubinfoIcon as R } from "pubinfo-nightly";
|
|
3
|
+
import { PlusCircleOutlined as $ } from "@ant-design/icons-vue";
|
|
4
|
+
import { defineComponent as O, ref as k, resolveDirective as V, createElementBlock as c, openBlock as n, createVNode as i, unref as a, withCtx as _, createCommentVNode as b, createBlock as C, createElementVNode as h, toDisplayString as d, withDirectives as f, createTextVNode as B } from "vue";
|
|
5
|
+
import { ProTable as M } from "@pubinfo/pro-components";
|
|
6
|
+
import { Modal as W, message as q } from "ant-design-vue";
|
|
7
|
+
import { a as X, d as z } from "./index.js";
|
|
8
|
+
import { _ as j } from "./drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js";
|
|
9
|
+
import { A as e } from "./enum-C9ihxJe7.js";
|
|
10
|
+
import { useRouter as F } from "vue-router";
|
|
11
|
+
const G = {
|
|
12
|
+
"py-10px": "",
|
|
13
|
+
"px-10px": "",
|
|
14
|
+
"w-full": "",
|
|
15
|
+
"h-full": ""
|
|
16
|
+
}, H = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "flex items-center"
|
|
19
|
+
}, J = {
|
|
20
|
+
class: "ml-4px"
|
|
21
|
+
}, K = ["onClick"], L = {
|
|
22
|
+
class: "ml-4px"
|
|
23
|
+
}, Q = ["onClick"], U = {
|
|
24
|
+
class: "ml-4px"
|
|
25
|
+
}, Y = ["onClick"], Z = {
|
|
26
|
+
class: "ml-4px"
|
|
27
|
+
}, me = /* @__PURE__ */ O({
|
|
28
|
+
name: "Dictionary",
|
|
29
|
+
__name: "index",
|
|
30
|
+
setup(ee) {
|
|
31
|
+
const {
|
|
32
|
+
auth: T
|
|
33
|
+
} = P(), D = k(), x = k(), E = [{
|
|
34
|
+
valueType: "a-input",
|
|
35
|
+
width: 50,
|
|
36
|
+
hideInTable: !0,
|
|
37
|
+
title: "名称或编码",
|
|
38
|
+
dataIndex: "searchName",
|
|
39
|
+
fieldProps: {
|
|
40
|
+
placeholder: "请输入名称或者编码",
|
|
41
|
+
allowClear: !0
|
|
42
|
+
}
|
|
43
|
+
}, {
|
|
44
|
+
hideInSearch: !0,
|
|
45
|
+
minWidth: 100,
|
|
46
|
+
title: "类型名称",
|
|
47
|
+
dataIndex: "name",
|
|
48
|
+
ellipsis: !0
|
|
49
|
+
}, {
|
|
50
|
+
hideInSearch: !0,
|
|
51
|
+
minWidth: 80,
|
|
52
|
+
title: "类型编码",
|
|
53
|
+
dataIndex: "code",
|
|
54
|
+
ellipsis: !0
|
|
55
|
+
}, {
|
|
56
|
+
hideInSearch: !0,
|
|
57
|
+
minWidth: 100,
|
|
58
|
+
title: "描述",
|
|
59
|
+
dataIndex: "description",
|
|
60
|
+
ellipsis: !0
|
|
61
|
+
}, {
|
|
62
|
+
hideInSearch: !0,
|
|
63
|
+
width: 80,
|
|
64
|
+
minWidth: 60,
|
|
65
|
+
title: "排序",
|
|
66
|
+
dataIndex: "sort"
|
|
67
|
+
}, {
|
|
68
|
+
hideInSearch: !0,
|
|
69
|
+
title: "操作",
|
|
70
|
+
dataIndex: "action",
|
|
71
|
+
width: 240,
|
|
72
|
+
fixed: "right",
|
|
73
|
+
hideInTable() {
|
|
74
|
+
return !T(["dictionary_data", "dictionary_edit", "dictionary_remove"]);
|
|
75
|
+
}
|
|
76
|
+
}];
|
|
77
|
+
async function w(s) {
|
|
78
|
+
const {
|
|
79
|
+
current: t,
|
|
80
|
+
pageSize: r,
|
|
81
|
+
searchName: y
|
|
82
|
+
} = s, o = await X({
|
|
83
|
+
currentPage: t,
|
|
84
|
+
pageSize: r,
|
|
85
|
+
name: y,
|
|
86
|
+
doSearchTotal: !0
|
|
87
|
+
});
|
|
88
|
+
return {
|
|
89
|
+
success: o.success,
|
|
90
|
+
data: o.data?.records ?? [],
|
|
91
|
+
total: o.data?.total ?? 0
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const A = F();
|
|
95
|
+
function l(s, t) {
|
|
96
|
+
switch (s) {
|
|
97
|
+
case e.ADD:
|
|
98
|
+
x.value.open(s);
|
|
99
|
+
break;
|
|
100
|
+
case e.EDIT:
|
|
101
|
+
x.value.open(s, t);
|
|
102
|
+
break;
|
|
103
|
+
case e.REMOVE:
|
|
104
|
+
W.confirm({
|
|
105
|
+
title: "删除",
|
|
106
|
+
content: "确定要删除该类型吗?",
|
|
107
|
+
onOk() {
|
|
108
|
+
z({
|
|
109
|
+
id: t?.id
|
|
110
|
+
}).then((r) => {
|
|
111
|
+
r.success && (q.success("删除成功"), I());
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
break;
|
|
116
|
+
case e.ADDNEXT:
|
|
117
|
+
A.push({
|
|
118
|
+
name: "DictionaryItem",
|
|
119
|
+
params: {
|
|
120
|
+
id: `${t?.id}`
|
|
121
|
+
},
|
|
122
|
+
query: {
|
|
123
|
+
code: `${t?.code}`
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function I() {
|
|
130
|
+
D.value.reload();
|
|
131
|
+
}
|
|
132
|
+
return (s, t) => {
|
|
133
|
+
const r = $, y = g, o = R, N = S, m = V("auth");
|
|
134
|
+
return n(), c("div", G, [i(a(M), {
|
|
135
|
+
ref_key: "tableRef",
|
|
136
|
+
ref: D,
|
|
137
|
+
"row-key": "id",
|
|
138
|
+
request: w,
|
|
139
|
+
columns: E,
|
|
140
|
+
"auto-height": "",
|
|
141
|
+
scroll: {
|
|
142
|
+
x: 1040
|
|
143
|
+
}
|
|
144
|
+
}, {
|
|
145
|
+
toolbar: _(() => [f((n(), C(y, {
|
|
146
|
+
type: "primary",
|
|
147
|
+
onClick: t[0] || (t[0] = (u) => l(a(e).ADD))
|
|
148
|
+
}, {
|
|
149
|
+
default: _(() => [i(r), B(" " + d(a(e).ADD), 1)]),
|
|
150
|
+
_: 1
|
|
151
|
+
})), [[m, "dictionary_add"]])]),
|
|
152
|
+
bodyCell: _(({
|
|
153
|
+
column: u,
|
|
154
|
+
record: p
|
|
155
|
+
}) => [u.dataIndex === "code" ? (n(), c("div", H, [i(o, {
|
|
156
|
+
name: "icard",
|
|
157
|
+
class: "text-20px"
|
|
158
|
+
}), h("span", J, d(p.code), 1)])) : b("", !0), u.dataIndex === "action" ? (n(), C(N, {
|
|
159
|
+
key: 1
|
|
160
|
+
}, {
|
|
161
|
+
default: _(() => [f((n(), c("a", {
|
|
162
|
+
class: "flex items-center",
|
|
163
|
+
onClick: (v) => l(a(e).ADDNEXT, p)
|
|
164
|
+
}, [i(o, {
|
|
165
|
+
name: "zddata",
|
|
166
|
+
class: "text-20px"
|
|
167
|
+
}), h("span", L, d(a(e).ADDNEXT), 1)], 8, K)), [[m, "dictionary_data"]]), f((n(), c("a", {
|
|
168
|
+
class: "flex items-center",
|
|
169
|
+
onClick: (v) => l(a(e).EDIT, p)
|
|
170
|
+
}, [i(o, {
|
|
171
|
+
name: "edit",
|
|
172
|
+
class: "text-base"
|
|
173
|
+
}), h("span", U, d(a(e).EDIT), 1)], 8, Q)), [[m, "dictionary_edit"]]), f((n(), c("span", {
|
|
174
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
175
|
+
onClick: (v) => l(a(e).REMOVE, p)
|
|
176
|
+
}, [i(o, {
|
|
177
|
+
name: "remove",
|
|
178
|
+
class: "text-base"
|
|
179
|
+
}), h("span", Z, d(a(e).REMOVE), 1)], 8, Y)), [[m, "dictionary_remove"]])]),
|
|
180
|
+
_: 2
|
|
181
|
+
}, 1024)) : b("", !0)]),
|
|
182
|
+
_: 1
|
|
183
|
+
}, 512), i(j, {
|
|
184
|
+
ref_key: "drawerDictionaryRef",
|
|
185
|
+
ref: x,
|
|
186
|
+
onSubmit: t[1] || (t[1] = (u) => I())
|
|
187
|
+
}, null, 512)]);
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
export {
|
|
192
|
+
me as default
|
|
193
|
+
};
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { Tabs as O, TabPane as V, Space as A, Button as G } from "ant-design-vue/es";
|
|
2
|
+
import { PubinfoIcon as N } from "pubinfo-nightly";
|
|
3
|
+
import { PlusCircleOutlined as B } from "@ant-design/icons-vue";
|
|
4
|
+
import { defineComponent as M, ref as p, resolveDirective as W, createElementBlock as x, openBlock as l, createElementVNode as m, createVNode as n, unref as e, withCtx as d, createBlock as C, createCommentVNode as $, withDirectives as y, toDisplayString as b, createTextVNode as q } from "vue";
|
|
5
|
+
import { ProTable as U } from "@pubinfo/pro-components";
|
|
6
|
+
import { Modal as z, message as F } from "ant-design-vue";
|
|
7
|
+
import { h as K, i as j, _ as H } from "./index.js";
|
|
8
|
+
import { _ as J } from "./drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js";
|
|
9
|
+
import { A as a } from "./enum-DDKThkSw.js";
|
|
10
|
+
import './index4.css';const L = {
|
|
11
|
+
"py-10px": "",
|
|
12
|
+
"px-10px": "",
|
|
13
|
+
"w-full": "",
|
|
14
|
+
"h-full": ""
|
|
15
|
+
}, Q = {
|
|
16
|
+
"h-full": "",
|
|
17
|
+
"w-full": "",
|
|
18
|
+
"bg-white": "",
|
|
19
|
+
"rounded-8px": "",
|
|
20
|
+
class: "dark:bg-[#141414]"
|
|
21
|
+
}, X = {
|
|
22
|
+
style: {
|
|
23
|
+
height: "calc(100% - 48px)"
|
|
24
|
+
}
|
|
25
|
+
}, Y = ["onClick"], Z = {
|
|
26
|
+
class: "ml-4px"
|
|
27
|
+
}, ee = ["onClick"], te = {
|
|
28
|
+
class: "ml-4px"
|
|
29
|
+
}, oe = /* @__PURE__ */ M({
|
|
30
|
+
name: "GroupManage",
|
|
31
|
+
__name: "index",
|
|
32
|
+
setup(ae) {
|
|
33
|
+
const i = p({
|
|
34
|
+
type: "1"
|
|
35
|
+
}), D = p([]), _ = p(), f = p();
|
|
36
|
+
function k() {
|
|
37
|
+
_.value?.reload();
|
|
38
|
+
}
|
|
39
|
+
async function w(o) {
|
|
40
|
+
const {
|
|
41
|
+
current: t,
|
|
42
|
+
pageSize: r,
|
|
43
|
+
...s
|
|
44
|
+
} = o, u = await K({
|
|
45
|
+
currentPage: t,
|
|
46
|
+
pageSize: r,
|
|
47
|
+
...s,
|
|
48
|
+
type: i.value.type
|
|
49
|
+
});
|
|
50
|
+
return {
|
|
51
|
+
success: !0,
|
|
52
|
+
data: u.data?.records ?? [],
|
|
53
|
+
total: u.data?.total
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
const E = [{
|
|
57
|
+
valueType: "a-input",
|
|
58
|
+
bind: "value",
|
|
59
|
+
minWidth: 200,
|
|
60
|
+
title: "群组名称",
|
|
61
|
+
dataIndex: "name",
|
|
62
|
+
ellipsis: !0,
|
|
63
|
+
fieldProps: {
|
|
64
|
+
placeholder: "请输入群组名称",
|
|
65
|
+
allowClear: !0
|
|
66
|
+
}
|
|
67
|
+
}, {
|
|
68
|
+
hideInSearch: !0,
|
|
69
|
+
minWidth: 80,
|
|
70
|
+
title: "群组描述",
|
|
71
|
+
dataIndex: "remark",
|
|
72
|
+
ellipsis: !0
|
|
73
|
+
}, {
|
|
74
|
+
hideInSearch: !0,
|
|
75
|
+
minWidth: 100,
|
|
76
|
+
title: "群组使用范围",
|
|
77
|
+
dataIndex: "viewScope",
|
|
78
|
+
customRender: ({
|
|
79
|
+
text: o
|
|
80
|
+
}) => o === "1" ? "本部门" : o === "2" ? "本部门及子部门" : "全部"
|
|
81
|
+
}, {
|
|
82
|
+
hideInSearch: !0,
|
|
83
|
+
minWidth: 100,
|
|
84
|
+
title: "最后一次编辑时间",
|
|
85
|
+
dataIndex: "updateTime",
|
|
86
|
+
ellipsis: !0
|
|
87
|
+
}, {
|
|
88
|
+
hideInSearch: !0,
|
|
89
|
+
minWidth: 100,
|
|
90
|
+
title: "编辑人",
|
|
91
|
+
dataIndex: "updatedUserName"
|
|
92
|
+
}, {
|
|
93
|
+
hideInSearch: !0,
|
|
94
|
+
width: 160,
|
|
95
|
+
title: "操作",
|
|
96
|
+
dataIndex: "action",
|
|
97
|
+
fixed: "right"
|
|
98
|
+
}];
|
|
99
|
+
function T() {
|
|
100
|
+
_.value?.reload();
|
|
101
|
+
}
|
|
102
|
+
function h(o, t, r) {
|
|
103
|
+
switch (o) {
|
|
104
|
+
case a.EDIT:
|
|
105
|
+
f.value?.open(o, t, r);
|
|
106
|
+
break;
|
|
107
|
+
case a.ADD:
|
|
108
|
+
f.value?.open(o, t);
|
|
109
|
+
break;
|
|
110
|
+
case a.REMOVE:
|
|
111
|
+
z.confirm({
|
|
112
|
+
title: "删除",
|
|
113
|
+
content: "确定要删除该群组吗?",
|
|
114
|
+
onOk() {
|
|
115
|
+
j({
|
|
116
|
+
id: r?.id
|
|
117
|
+
}).then(({
|
|
118
|
+
success: s
|
|
119
|
+
}) => {
|
|
120
|
+
s && (F.success("删除成功"), k());
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return (o, t) => {
|
|
128
|
+
const r = V, s = O, u = B, S = G, I = N, P = A, v = W("auth");
|
|
129
|
+
return l(), x("div", L, [m("div", Q, [n(s, {
|
|
130
|
+
"active-key": e(i).type,
|
|
131
|
+
"onUpdate:activeKey": t[0] || (t[0] = (c) => e(i).type = c),
|
|
132
|
+
class: "tabs_custom",
|
|
133
|
+
onChange: T
|
|
134
|
+
}, {
|
|
135
|
+
default: d(() => [n(r, {
|
|
136
|
+
key: "1",
|
|
137
|
+
tab: "组织群组"
|
|
138
|
+
}), n(r, {
|
|
139
|
+
key: "2",
|
|
140
|
+
tab: "人员群组"
|
|
141
|
+
})]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["active-key"]), m("div", X, [n(e(U), {
|
|
144
|
+
ref_key: "tableRef",
|
|
145
|
+
ref: _,
|
|
146
|
+
"row-key": "id",
|
|
147
|
+
request: w,
|
|
148
|
+
columns: E,
|
|
149
|
+
"data-source": e(D),
|
|
150
|
+
"auto-height": "",
|
|
151
|
+
scroll: {
|
|
152
|
+
x: 1100
|
|
153
|
+
}
|
|
154
|
+
}, {
|
|
155
|
+
toolbar: d(() => [y((l(), C(S, {
|
|
156
|
+
type: "primary",
|
|
157
|
+
onClick: t[1] || (t[1] = (c) => h(e(a).ADD, e(i).type))
|
|
158
|
+
}, {
|
|
159
|
+
default: d(() => [n(u), q(" " + b(e(a).ADD), 1)]),
|
|
160
|
+
_: 1
|
|
161
|
+
})), [[v, "group_save"]])]),
|
|
162
|
+
bodyCell: d(({
|
|
163
|
+
column: c,
|
|
164
|
+
record: g
|
|
165
|
+
}) => [c.dataIndex === "action" ? (l(), C(P, {
|
|
166
|
+
key: 0
|
|
167
|
+
}, {
|
|
168
|
+
default: d(() => [y((l(), x("a", {
|
|
169
|
+
class: "flex items-center",
|
|
170
|
+
onClick: (R) => h(e(a).EDIT, e(i).type, g)
|
|
171
|
+
}, [n(I, {
|
|
172
|
+
name: "edit",
|
|
173
|
+
class: "text-base"
|
|
174
|
+
}), m("span", Z, b(e(a).EDIT), 1)], 8, Y)), [[v, "group_edit"]]), y((l(), x("span", {
|
|
175
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
176
|
+
onClick: (R) => h(e(a).REMOVE, e(i).type, g)
|
|
177
|
+
}, [n(I, {
|
|
178
|
+
name: "remove",
|
|
179
|
+
class: "text-base"
|
|
180
|
+
}), m("span", te, b(e(a).REMOVE), 1)], 8, ee)), [[v, "group_delete"]])]),
|
|
181
|
+
_: 2
|
|
182
|
+
}, 1024)) : $("", !0)]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["data-source"])])]), n(J, {
|
|
185
|
+
ref_key: "drawerGroupRef",
|
|
186
|
+
ref: f,
|
|
187
|
+
onSubmit: t[2] || (t[2] = (c) => k())
|
|
188
|
+
}, null, 512)]);
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}), me = /* @__PURE__ */ H(oe, [["__scopeId", "data-v-fb537441"]]);
|
|
192
|
+
export {
|
|
193
|
+
me as default
|
|
194
|
+
};
|