@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,90 @@
|
|
|
1
|
+
import { Drawer as x, Avatar as h } from "ant-design-vue/es";
|
|
2
|
+
import { defineComponent as k, ref as b, createBlock as v, openBlock as d, unref as s, isRef as w, withCtx as l, createVNode as u, createElementBlock as N, createCommentVNode as I, createElementVNode as C, normalizeStyle as z, createTextVNode as P, toDisplayString as p } from "vue";
|
|
3
|
+
import { ProTable as S } from "@pubinfo/pro-components";
|
|
4
|
+
import { theme as T } from "ant-design-vue";
|
|
5
|
+
import { u as V, _ as B } from "./index.js";
|
|
6
|
+
import { e as A } from "./jiaosejiekou-p42Hm9h3.js";
|
|
7
|
+
import './ResourceRelation2.css';const D = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "w-full truncate space-x-2"
|
|
10
|
+
}, E = /* @__PURE__ */ k({
|
|
11
|
+
name: "ResourceRelation",
|
|
12
|
+
__name: "ResourceRelation",
|
|
13
|
+
setup(O, { expose: m }) {
|
|
14
|
+
const { token: f } = T.useToken(), [a, _] = V(!1), c = b("");
|
|
15
|
+
async function g(t) {
|
|
16
|
+
t.pageSize = 15, t.roleId = c.value;
|
|
17
|
+
const { current: o, pageSize: r, ...n } = t, e = await A({
|
|
18
|
+
currentPage: o,
|
|
19
|
+
pageSize: r,
|
|
20
|
+
...n
|
|
21
|
+
});
|
|
22
|
+
return {
|
|
23
|
+
success: e.success,
|
|
24
|
+
data: e.data?.records ?? [],
|
|
25
|
+
total: e.data?.total ?? 0
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
const y = [
|
|
29
|
+
{
|
|
30
|
+
title: "用户名称",
|
|
31
|
+
dataIndex: "realName",
|
|
32
|
+
ellipsis: !0
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: "组织名称",
|
|
36
|
+
dataIndex: "orgName",
|
|
37
|
+
ellipsis: !0
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
function R(t) {
|
|
41
|
+
c.value = t.id || "", _(!0);
|
|
42
|
+
}
|
|
43
|
+
return m({
|
|
44
|
+
open: R
|
|
45
|
+
}), (t, o) => {
|
|
46
|
+
const r = h, n = x;
|
|
47
|
+
return d(), v(n, {
|
|
48
|
+
open: s(a),
|
|
49
|
+
"onUpdate:open": o[0] || (o[0] = (e) => w(a) ? a.value = e : null),
|
|
50
|
+
title: "分配查看",
|
|
51
|
+
placement: "right",
|
|
52
|
+
width: 720,
|
|
53
|
+
"destroy-on-close": "",
|
|
54
|
+
"footer-style": { textAlign: "right" },
|
|
55
|
+
"body-style": { paddingLeft: 0, paddingRight: 0 }
|
|
56
|
+
}, {
|
|
57
|
+
default: l(() => [
|
|
58
|
+
u(s(S), {
|
|
59
|
+
"row-key": "id",
|
|
60
|
+
request: g,
|
|
61
|
+
columns: y,
|
|
62
|
+
search: !1,
|
|
63
|
+
toolbar: !1,
|
|
64
|
+
"auto-height": ""
|
|
65
|
+
}, {
|
|
66
|
+
bodyCell: l(({ column: e, text: i }) => [
|
|
67
|
+
e.dataIndex === "realName" ? (d(), N("div", D, [
|
|
68
|
+
u(r, {
|
|
69
|
+
size: "small",
|
|
70
|
+
style: z({ backgroundColor: s(f).colorPrimary })
|
|
71
|
+
}, {
|
|
72
|
+
default: l(() => [
|
|
73
|
+
P(p(i[0]), 1)
|
|
74
|
+
]),
|
|
75
|
+
_: 2
|
|
76
|
+
}, 1032, ["style"]),
|
|
77
|
+
C("span", null, p(i), 1)
|
|
78
|
+
])) : I("", !0)
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
})
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["open"]);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}), H = /* @__PURE__ */ B(E, [["__scopeId", "data-v-f5867bc7"]]);
|
|
88
|
+
export {
|
|
89
|
+
H as default
|
|
90
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Drawer as N, Segmented as O, Tag as P } from "ant-design-vue/es";
|
|
2
|
+
import { defineComponent as S, ref as s, computed as T, createBlock as g, openBlock as c, unref as a, isRef as x, withCtx as u, createElementVNode as v, createVNode as R, createElementBlock as V, createCommentVNode as y, toDisplayString as q, createTextVNode as B } from "vue";
|
|
3
|
+
import { ProTable as U } from "@pubinfo/pro-components";
|
|
4
|
+
import { u as z, _ as D } from "./index.js";
|
|
5
|
+
import { e as E } from "./jiaosejiekou-p42Hm9h3.js";
|
|
6
|
+
import { a as A } from "./zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js";
|
|
7
|
+
import './ResourceRelation.css';const L = { class: "mb-20px p-x-15px" }, j = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "flex items-center"
|
|
10
|
+
}, F = { class: "mr-4px" }, G = /* @__PURE__ */ S({
|
|
11
|
+
name: "ResourceRelation",
|
|
12
|
+
__name: "ResourceRelation",
|
|
13
|
+
setup(H, { expose: b }) {
|
|
14
|
+
const p = s(["用户自选角色", "组织基础角色"]), n = s(p.value[0]), [r, h] = z(!1), d = s(""), m = s();
|
|
15
|
+
function k() {
|
|
16
|
+
m.value.fetch();
|
|
17
|
+
}
|
|
18
|
+
async function I(o) {
|
|
19
|
+
o.pageSize = 15, o.roleId = d.value;
|
|
20
|
+
const { current: t, pageSize: l, ...i } = o, e = await (n.value === "用户自选角色" ? E : A)({
|
|
21
|
+
currentPage: t,
|
|
22
|
+
pageSize: l,
|
|
23
|
+
...i
|
|
24
|
+
});
|
|
25
|
+
return {
|
|
26
|
+
success: e.success,
|
|
27
|
+
data: e.data?.records ?? [],
|
|
28
|
+
total: e.data?.total ?? 0
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const w = T(() => n.value === "用户自选角色" ? [
|
|
32
|
+
{
|
|
33
|
+
title: "用户名称",
|
|
34
|
+
dataIndex: "realName",
|
|
35
|
+
ellipsis: !0
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
title: "组织名称",
|
|
39
|
+
dataIndex: "orgName",
|
|
40
|
+
ellipsis: !0
|
|
41
|
+
}
|
|
42
|
+
] : [
|
|
43
|
+
{
|
|
44
|
+
title: "组织名称",
|
|
45
|
+
dataIndex: "name",
|
|
46
|
+
ellipsis: !0
|
|
47
|
+
}
|
|
48
|
+
]);
|
|
49
|
+
function C(o) {
|
|
50
|
+
d.value = o.id || "", h(!0);
|
|
51
|
+
}
|
|
52
|
+
return b({
|
|
53
|
+
open: C
|
|
54
|
+
}), (o, t) => {
|
|
55
|
+
const l = O, i = P, f = N;
|
|
56
|
+
return c(), g(f, {
|
|
57
|
+
open: a(r),
|
|
58
|
+
"onUpdate:open": t[1] || (t[1] = (e) => x(r) ? r.value = e : null),
|
|
59
|
+
title: "分配查看",
|
|
60
|
+
placement: "right",
|
|
61
|
+
width: 720,
|
|
62
|
+
"destroy-on-close": "",
|
|
63
|
+
"footer-style": { textAlign: "right" },
|
|
64
|
+
"body-style": { paddingLeft: 0, paddingRight: 0 }
|
|
65
|
+
}, {
|
|
66
|
+
default: u(() => [
|
|
67
|
+
v("div", L, [
|
|
68
|
+
R(l, {
|
|
69
|
+
value: a(n),
|
|
70
|
+
"onUpdate:value": t[0] || (t[0] = (e) => x(n) ? n.value = e : null),
|
|
71
|
+
block: "",
|
|
72
|
+
options: a(p),
|
|
73
|
+
onChange: k
|
|
74
|
+
}, null, 8, ["value", "options"])
|
|
75
|
+
]),
|
|
76
|
+
R(a(U), {
|
|
77
|
+
ref_key: "protable",
|
|
78
|
+
ref: m,
|
|
79
|
+
"row-key": "id",
|
|
80
|
+
request: I,
|
|
81
|
+
columns: a(w),
|
|
82
|
+
search: !1,
|
|
83
|
+
toolbar: !1,
|
|
84
|
+
"auto-height": { offset: 50 }
|
|
85
|
+
}, {
|
|
86
|
+
bodyCell: u(({ column: e, record: _ }) => [
|
|
87
|
+
e.dataIndex === "name" ? (c(), V("div", j, [
|
|
88
|
+
v("span", F, q(_.name), 1),
|
|
89
|
+
_.isInherit === "1" ? (c(), g(i, {
|
|
90
|
+
key: 0,
|
|
91
|
+
color: "processing"
|
|
92
|
+
}, {
|
|
93
|
+
default: u(() => t[2] || (t[2] = [
|
|
94
|
+
B(" 及子组织 ")
|
|
95
|
+
])),
|
|
96
|
+
_: 1,
|
|
97
|
+
__: [2]
|
|
98
|
+
})) : y("", !0)
|
|
99
|
+
])) : y("", !0)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["columns"])
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["open"]);
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
}), Y = /* @__PURE__ */ D(G, [["__scopeId", "data-v-1167727f"]]);
|
|
109
|
+
export {
|
|
110
|
+
Y as default
|
|
111
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-1167727f] .ant-drawer-body{padding-left:0;padding-right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-f5867bc7] .ant-drawer-body{padding-left:0;padding-right:0}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Drawer as T, Table as C, Avatar as v } from "ant-design-vue/es";
|
|
2
|
+
import { defineComponent as B, computed as H, createBlock as N, openBlock as s, unref as t, isRef as z, withCtx as r, createVNode as c, createElementBlock as I, createCommentVNode as V, createElementVNode as q, normalizeStyle as A, createTextVNode as D, toDisplayString as d, nextTick as u } from "vue";
|
|
3
|
+
import { useRequest as E } from "alova/client";
|
|
4
|
+
import { theme as O } from "ant-design-vue";
|
|
5
|
+
import { u as P } from "./index.js";
|
|
6
|
+
import { f as U } from "./ziyuanjiekou-BC65-bFK.js";
|
|
7
|
+
const $ = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "w-full truncate space-x-2"
|
|
10
|
+
}, Q = /* @__PURE__ */ B({
|
|
11
|
+
name: "RoleRelation",
|
|
12
|
+
__name: "RoleRelation",
|
|
13
|
+
setup(G, { expose: m }) {
|
|
14
|
+
const { token: p } = O.useToken(), [a, f] = P(!1), { loading: _, data: g, send: y } = E(
|
|
15
|
+
(e) => U(e, {
|
|
16
|
+
transform(o) {
|
|
17
|
+
return o.data ?? [];
|
|
18
|
+
}
|
|
19
|
+
}),
|
|
20
|
+
{ immediate: !1 }
|
|
21
|
+
), h = [
|
|
22
|
+
{
|
|
23
|
+
title: "角色名称",
|
|
24
|
+
dataIndex: "name",
|
|
25
|
+
ellipsis: !0
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: "创建人",
|
|
29
|
+
dataIndex: "createUserName",
|
|
30
|
+
width: 180,
|
|
31
|
+
ellipsis: !0
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
function x(e) {
|
|
35
|
+
f(!0), y({ id: e.id }), w();
|
|
36
|
+
}
|
|
37
|
+
const l = H(() => window.innerHeight - 57 - 48 - 55 - 64);
|
|
38
|
+
function b() {
|
|
39
|
+
u(() => {
|
|
40
|
+
const e = document.querySelector(".role-relation")?.querySelector(".ant-table-body");
|
|
41
|
+
e && (e.style.height = `${l.value}px`);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function w() {
|
|
45
|
+
u(b);
|
|
46
|
+
}
|
|
47
|
+
return m({
|
|
48
|
+
open: x
|
|
49
|
+
}), (e, o) => {
|
|
50
|
+
const R = v, k = C, S = T;
|
|
51
|
+
return s(), N(S, {
|
|
52
|
+
open: t(a),
|
|
53
|
+
"onUpdate:open": o[0] || (o[0] = (n) => z(a) ? a.value = n : null),
|
|
54
|
+
title: "分配查看",
|
|
55
|
+
placement: "right",
|
|
56
|
+
width: 520,
|
|
57
|
+
"footer-style": { textAlign: "right" }
|
|
58
|
+
}, {
|
|
59
|
+
default: r(() => [
|
|
60
|
+
c(k, {
|
|
61
|
+
"row-key": "id",
|
|
62
|
+
loading: t(_),
|
|
63
|
+
columns: h,
|
|
64
|
+
"data-source": t(g),
|
|
65
|
+
scroll: { y: `${t(l)}px` },
|
|
66
|
+
pagination: { defaultPageSize: 20, showSizeChanger: !0 },
|
|
67
|
+
class: "role-relation"
|
|
68
|
+
}, {
|
|
69
|
+
bodyCell: r(({ column: n, text: i }) => [
|
|
70
|
+
n.dataIndex === "name" ? (s(), I("div", $, [
|
|
71
|
+
c(R, {
|
|
72
|
+
size: "small",
|
|
73
|
+
style: A({ backgroundColor: t(p).colorPrimary })
|
|
74
|
+
}, {
|
|
75
|
+
default: r(() => [
|
|
76
|
+
D(d(i[0]), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 2
|
|
79
|
+
}, 1032, ["style"]),
|
|
80
|
+
q("span", null, d(i), 1)
|
|
81
|
+
])) : V("", !0)
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["loading", "data-source", "scroll"])
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["open"]);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
Q as _
|
|
93
|
+
};
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import { defineComponent as D, mergeModels as B, useModel as I, ref as C, onMounted as q, createBlock as k, openBlock as n, withCtx as u, createVNode as m, unref as o, createElementBlock as y, createTextVNode as L, Fragment as T, renderList as V, toDisplayString as z, createElementVNode as v, normalizeProps as M, guardReactiveProps as H, mergeProps as J, reactive as O, computed as K, normalizeStyle as x, isRef as U, withDirectives as X, vShow as Y, createCommentVNode as Z } from "vue";
|
|
2
|
+
import { SearchOutlined as ee, CloseOutlined as oe } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as le, theme as te, Modal as ae, Card as N, Spin as re, CheckboxGroup as ne, Checkbox as se } from "ant-design-vue";
|
|
4
|
+
import { Input as ue, Select as de, SelectOption as ie, Tooltip as pe } from "ant-design-vue/es";
|
|
5
|
+
import { b as _, u as $ } from "./index.js";
|
|
6
|
+
import { g as ce } from "./jiaosejiekou-p42Hm9h3.js";
|
|
7
|
+
function Ie(t, e) {
|
|
8
|
+
return _.Delete(
|
|
9
|
+
"/rbac/pubRoleGroup/delete",
|
|
10
|
+
{},
|
|
11
|
+
{
|
|
12
|
+
params: {
|
|
13
|
+
...t
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
function fe(t, e) {
|
|
19
|
+
return _.Get("/rbac/pubRoleGroup/getAll", {
|
|
20
|
+
params: {
|
|
21
|
+
...t
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function me(t, e) {
|
|
26
|
+
return _.Get("/rbac/pubRoleGroup/getById", {
|
|
27
|
+
params: {
|
|
28
|
+
...t
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function Te(t, e) {
|
|
33
|
+
return _.Post("/rbac/pubRoleGroup/pageQuery", t, {
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function Ve(t, e) {
|
|
40
|
+
return _.Post("/rbac/pubRoleGroup/save", t, {
|
|
41
|
+
headers: {
|
|
42
|
+
"Content-Type": "application/json"
|
|
43
|
+
},
|
|
44
|
+
...e || {}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function ze(t, e) {
|
|
48
|
+
return _.Post("/rbac/pubRoleGroup/update", t, {
|
|
49
|
+
headers: {
|
|
50
|
+
"Content-Type": "application/json"
|
|
51
|
+
},
|
|
52
|
+
...e || {}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const be = { key: 1 }, ve = /* @__PURE__ */ D({
|
|
56
|
+
name: "RoleSearch",
|
|
57
|
+
__name: "RoleSearch",
|
|
58
|
+
props: /* @__PURE__ */ B({
|
|
59
|
+
group: { type: Boolean, default: !1 }
|
|
60
|
+
}, {
|
|
61
|
+
modelValue: {},
|
|
62
|
+
modelModifiers: {},
|
|
63
|
+
groupId: {},
|
|
64
|
+
groupIdModifiers: {}
|
|
65
|
+
}),
|
|
66
|
+
emits: /* @__PURE__ */ B(["select"], ["update:modelValue", "update:groupId"]),
|
|
67
|
+
setup(t, { emit: e }) {
|
|
68
|
+
const c = t, h = e, r = I(t, "modelValue"), b = I(t, "groupId"), w = C([]);
|
|
69
|
+
async function d() {
|
|
70
|
+
const f = await fe({ name: "" });
|
|
71
|
+
f.success && (w.value = f.data ?? []);
|
|
72
|
+
}
|
|
73
|
+
return q(() => {
|
|
74
|
+
c.group && d();
|
|
75
|
+
}), (f, p) => {
|
|
76
|
+
const g = ie, R = pe, S = de, P = ue;
|
|
77
|
+
return n(), k(P, {
|
|
78
|
+
value: r.value,
|
|
79
|
+
"onUpdate:value": p[2] || (p[2] = (i) => r.value = i),
|
|
80
|
+
placeholder: "请输入",
|
|
81
|
+
"allow-clear": ""
|
|
82
|
+
}, {
|
|
83
|
+
addonBefore: u(() => [
|
|
84
|
+
f.group ? (n(), k(S, {
|
|
85
|
+
key: 0,
|
|
86
|
+
value: b.value,
|
|
87
|
+
"onUpdate:value": p[0] || (p[0] = (i) => b.value = i),
|
|
88
|
+
style: { width: "90px" },
|
|
89
|
+
onChange: p[1] || (p[1] = (i) => h("select", i))
|
|
90
|
+
}, {
|
|
91
|
+
default: u(() => [
|
|
92
|
+
m(g, { value: "" }, {
|
|
93
|
+
default: u(() => p[3] || (p[3] = [
|
|
94
|
+
L(" 全部 ")
|
|
95
|
+
])),
|
|
96
|
+
_: 1,
|
|
97
|
+
__: [3]
|
|
98
|
+
}),
|
|
99
|
+
(n(!0), y(T, null, V(o(w), (i) => (n(), k(g, {
|
|
100
|
+
key: i.id,
|
|
101
|
+
value: i.id
|
|
102
|
+
}, {
|
|
103
|
+
default: u(() => [
|
|
104
|
+
m(R, {
|
|
105
|
+
title: i.name
|
|
106
|
+
}, {
|
|
107
|
+
default: u(() => [
|
|
108
|
+
L(z(i.name), 1)
|
|
109
|
+
]),
|
|
110
|
+
_: 2
|
|
111
|
+
}, 1032, ["title"])
|
|
112
|
+
]),
|
|
113
|
+
_: 2
|
|
114
|
+
}, 1032, ["value"]))), 128))
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["value"])) : (n(), y("div", be, " 全部 "))
|
|
118
|
+
]),
|
|
119
|
+
suffix: u(() => [
|
|
120
|
+
m(o(ee))
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["value"]);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}), j = /* @__PURE__ */ D({
|
|
127
|
+
name: "TooltipLabel",
|
|
128
|
+
inheritAttrs: !1,
|
|
129
|
+
__name: "TooltipLabel",
|
|
130
|
+
props: {
|
|
131
|
+
name: {},
|
|
132
|
+
size: { default: 21 }
|
|
133
|
+
},
|
|
134
|
+
setup(t) {
|
|
135
|
+
return (e, c) => (e.name || "").length > e.size ? (n(), k(o(le), {
|
|
136
|
+
key: 0,
|
|
137
|
+
title: e.name
|
|
138
|
+
}, {
|
|
139
|
+
default: u(() => [
|
|
140
|
+
v("span", M(H(e.$attrs)), z(`${e.name?.slice(0, e.size)}...`), 17)
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["title"])) : (n(), y("span", M(J({ key: 1 }, e.$attrs)), z(e.name), 17));
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
function ge() {
|
|
147
|
+
const [t, e] = $(!1), c = C([]);
|
|
148
|
+
async function h() {
|
|
149
|
+
try {
|
|
150
|
+
e(!0);
|
|
151
|
+
const r = await ce();
|
|
152
|
+
r.success && (c.value = r.data ?? []);
|
|
153
|
+
} finally {
|
|
154
|
+
e(!1);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return {
|
|
158
|
+
loading: t,
|
|
159
|
+
setLoading: e,
|
|
160
|
+
roles: c,
|
|
161
|
+
getData: h
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function ye() {
|
|
165
|
+
const [t, e] = $(!1), c = C([]);
|
|
166
|
+
async function h(r) {
|
|
167
|
+
try {
|
|
168
|
+
e(!0);
|
|
169
|
+
const b = await me({ id: r });
|
|
170
|
+
b.success && (c.value = b.data?.roles ?? []);
|
|
171
|
+
} finally {
|
|
172
|
+
e(!1);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
loading: t,
|
|
177
|
+
setLoading: e,
|
|
178
|
+
roles: c,
|
|
179
|
+
getData: h
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
const he = { class: "h-full flex" }, Re = { class: "p-2 flex flex-col h-full gap-2" }, xe = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, ke = {
|
|
183
|
+
key: 0,
|
|
184
|
+
class: "flex items-center justify-center size-full"
|
|
185
|
+
}, Ce = { class: "gap-1 p-2 h-full overflow-y-auto" }, De = /* @__PURE__ */ D({
|
|
186
|
+
name: "RoleSelector",
|
|
187
|
+
__name: "RoleSelector",
|
|
188
|
+
props: /* @__PURE__ */ B({
|
|
189
|
+
group: { type: Boolean, default: !1 }
|
|
190
|
+
}, {
|
|
191
|
+
open: { type: Boolean },
|
|
192
|
+
openModifiers: {}
|
|
193
|
+
}),
|
|
194
|
+
emits: /* @__PURE__ */ B(["select"], ["update:open"]),
|
|
195
|
+
setup(t, { expose: e, emit: c }) {
|
|
196
|
+
const h = c, { token: r } = te.useToken(), b = I(t, "open"), w = $(b), d = C([]), f = O(ge()), p = O(ye()), g = C(""), R = C("");
|
|
197
|
+
async function S(s) {
|
|
198
|
+
await p.getData(s);
|
|
199
|
+
}
|
|
200
|
+
async function P(s = []) {
|
|
201
|
+
d.value = s, g.value = "", R.value = "", await f.getData(), w(!0);
|
|
202
|
+
}
|
|
203
|
+
const i = K(() => R.value === "" ? f.roles : p.roles);
|
|
204
|
+
function W(s) {
|
|
205
|
+
return i.value.findIndex((a) => a.id === s.id) > -1 && s.name?.includes(g.value);
|
|
206
|
+
}
|
|
207
|
+
function A(s, a) {
|
|
208
|
+
s.target.checked ? d.value.push({ value: a.id, label: a.name }) : d.value = d.value.filter((l) => l.value !== a.id);
|
|
209
|
+
}
|
|
210
|
+
function E(s) {
|
|
211
|
+
d.value = d.value.filter((a) => a.value !== s);
|
|
212
|
+
}
|
|
213
|
+
function Q() {
|
|
214
|
+
h("select", d.value), w(!1);
|
|
215
|
+
}
|
|
216
|
+
function F() {
|
|
217
|
+
const s = d.value.filter((a) => !f.roles.some((l) => l.id === a.value));
|
|
218
|
+
d.value = s;
|
|
219
|
+
}
|
|
220
|
+
return e({
|
|
221
|
+
open: P
|
|
222
|
+
}), (s, a) => (n(), k(o(ae), {
|
|
223
|
+
open: b.value,
|
|
224
|
+
"onUpdate:open": a[3] || (a[3] = (l) => b.value = l),
|
|
225
|
+
title: "角色选择",
|
|
226
|
+
"mask-closable": !1,
|
|
227
|
+
width: 750,
|
|
228
|
+
"z-index": 1001,
|
|
229
|
+
"ok-text": "确认",
|
|
230
|
+
"cancel-text": "取消",
|
|
231
|
+
"destroy-on-close": "",
|
|
232
|
+
onOk: a[4] || (a[4] = (l) => Q())
|
|
233
|
+
}, {
|
|
234
|
+
default: u(() => [
|
|
235
|
+
v("div", {
|
|
236
|
+
class: "border border-solid h-[400px]",
|
|
237
|
+
style: x({ borderColor: o(r).colorBorder })
|
|
238
|
+
}, [
|
|
239
|
+
v("div", he, [
|
|
240
|
+
m(o(N), {
|
|
241
|
+
bordered: !1,
|
|
242
|
+
size: "small",
|
|
243
|
+
"head-style": { backgroundColor: o(r).colorBgLayout, borderRadius: 0, borderWidth: 0, borderBottomWidth: "1px", padding: 0 },
|
|
244
|
+
"body-style": { flex: 1, padding: 0, height: "calc(100% - 38px)" },
|
|
245
|
+
style: x({ boxShadow: "none", borderRadius: 0, borderColor: o(r).colorBorder }),
|
|
246
|
+
class: "flex h-full flex-col w-1/2"
|
|
247
|
+
}, {
|
|
248
|
+
default: u(() => [
|
|
249
|
+
v("div", Re, [
|
|
250
|
+
m(ve, {
|
|
251
|
+
modelValue: o(g),
|
|
252
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => U(g) ? g.value = l : null),
|
|
253
|
+
"group-id": o(R),
|
|
254
|
+
"onUpdate:groupId": a[1] || (a[1] = (l) => U(R) ? R.value = l : null),
|
|
255
|
+
group: s.group,
|
|
256
|
+
onSelect: S
|
|
257
|
+
}, null, 8, ["modelValue", "group-id", "group"]),
|
|
258
|
+
v("div", xe, [
|
|
259
|
+
o(f).loading || o(p).loading ? (n(), y("div", ke, [
|
|
260
|
+
m(o(re))
|
|
261
|
+
])) : (n(), k(o(ne), {
|
|
262
|
+
key: 1,
|
|
263
|
+
value: o(d).map((l) => l.value),
|
|
264
|
+
class: "w-full overflow-x-hidden"
|
|
265
|
+
}, {
|
|
266
|
+
default: u(() => [
|
|
267
|
+
(n(!0), y(T, null, V(o(i), (l) => X((n(), y("div", {
|
|
268
|
+
key: l.id,
|
|
269
|
+
class: "w-full py-2 border-0 border-b border-solid truncate",
|
|
270
|
+
style: x({ borderColor: o(r).colorBorder })
|
|
271
|
+
}, [
|
|
272
|
+
m(o(se), {
|
|
273
|
+
value: l.id,
|
|
274
|
+
onChange: (G) => A(G, l)
|
|
275
|
+
}, {
|
|
276
|
+
default: u(() => [
|
|
277
|
+
m(j, {
|
|
278
|
+
name: l.name
|
|
279
|
+
}, null, 8, ["name"])
|
|
280
|
+
]),
|
|
281
|
+
_: 2
|
|
282
|
+
}, 1032, ["value", "onChange"])
|
|
283
|
+
], 4)), [
|
|
284
|
+
[Y, W(l)]
|
|
285
|
+
])), 128))
|
|
286
|
+
]),
|
|
287
|
+
_: 1
|
|
288
|
+
}, 8, ["value"]))
|
|
289
|
+
])
|
|
290
|
+
])
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
}, 8, ["head-style", "style"]),
|
|
294
|
+
v("div", {
|
|
295
|
+
style: x({ borderColor: o(r).colorBorder }),
|
|
296
|
+
class: "h-full border-0 border-r border-solid"
|
|
297
|
+
}, null, 4),
|
|
298
|
+
m(o(N), {
|
|
299
|
+
bordered: !1,
|
|
300
|
+
size: "small",
|
|
301
|
+
"head-style": { backgroundColor: o(r).colorBgLayout, borderRadius: 0, borderWidth: 0, borderBottomWidth: "1px" },
|
|
302
|
+
"body-style": { flex: 1, padding: 0, overflow: "hidden" },
|
|
303
|
+
style: { boxShadow: "none", borderRadius: 0 },
|
|
304
|
+
class: "flex h-full flex-col flex-1"
|
|
305
|
+
}, {
|
|
306
|
+
title: u(() => a[5] || (a[5] = [
|
|
307
|
+
v("span", { class: "font-normal" }, " 已选角色 ", -1)
|
|
308
|
+
])),
|
|
309
|
+
extra: u(() => [
|
|
310
|
+
v("a", {
|
|
311
|
+
style: x({ color: o(r).colorPrimary }),
|
|
312
|
+
onClick: a[2] || (a[2] = (l) => F())
|
|
313
|
+
}, " 清空 ", 4)
|
|
314
|
+
]),
|
|
315
|
+
default: u(() => [
|
|
316
|
+
v("div", Ce, [
|
|
317
|
+
(n(!0), y(T, null, V(o(d), (l) => (n(), y("div", {
|
|
318
|
+
key: l.value,
|
|
319
|
+
class: "inline-block mb-1 py-1 px-2 mx-0.5 max-w-full rounded",
|
|
320
|
+
style: x({ backgroundColor: o(r).colorPrimaryBg })
|
|
321
|
+
}, [
|
|
322
|
+
m(j, {
|
|
323
|
+
name: l.label,
|
|
324
|
+
size: 20
|
|
325
|
+
}, null, 8, ["name"]),
|
|
326
|
+
o(f).roles.some((G) => G.id === l.value) ? (n(), k(o(oe), {
|
|
327
|
+
key: 0,
|
|
328
|
+
class: "ml-1 cursor-pointer text-xs",
|
|
329
|
+
style: x({ color: o(r).colorPrimary }),
|
|
330
|
+
onClick: (G) => E(l.value)
|
|
331
|
+
}, null, 8, ["style", "onClick"])) : Z("", !0)
|
|
332
|
+
], 4))), 128))
|
|
333
|
+
])
|
|
334
|
+
]),
|
|
335
|
+
_: 1
|
|
336
|
+
}, 8, ["head-style"])
|
|
337
|
+
])
|
|
338
|
+
], 4)
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
}, 8, ["open"]));
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
export {
|
|
345
|
+
De as _,
|
|
346
|
+
ze as a,
|
|
347
|
+
Ve as b,
|
|
348
|
+
fe as c,
|
|
349
|
+
Ie as d,
|
|
350
|
+
me as g,
|
|
351
|
+
Te as p
|
|
352
|
+
};
|