@pubinfo/module-rbac 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentSelect-ZLey_5w7.js +4 -0
- package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +3981 -0
- package/dist/DynamicRoutesForm-DzOGoyf3.js +4 -0
- package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-lpCaLpPL.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-DASfDgI1.js +4 -0
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js +62 -0
- package/dist/IconSelect-CkqLR5Dg.js +4 -0
- package/dist/IconSelect.css +1 -1
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-BoGxAoNd.js +703 -0
- package/dist/ImportExport-BD8o7IvB.js +4 -0
- package/dist/ImportExport.vue_vue_type_script_setup_true_lang-BzdP0ADd.js +456 -0
- package/dist/MetaForm-DtlyvzoM.js +364 -0
- package/dist/OrgAndPosition-DjF_gcp6.js +4 -0
- package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-CFSDHn40.js +195 -0
- package/dist/ResourceEdit-WpEdbzaw.js +4 -0
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-id6jZAko.js +392 -0
- package/dist/ResourceRelation-26FnHEfU.js +112 -0
- package/dist/ResourceRelation-DGiGYy6V.js +91 -0
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- 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-B24X5nND.js +4 -0
- package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-Bu5HcJJv.js +307 -0
- package/dist/UserAuthorization-Co6JV0py.js +274 -0
- package/dist/UserEdit-DkNVPVA4.js +4 -0
- package/dist/UserEdit.vue_vue_type_script_setup_true_lang-CFs0SxVJ.js +330 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -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/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/createAndEditDataPermission-BhOLGGna.js +4 -0
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-D5wInKwO.js +531 -0
- package/dist/dayjs.min-B2Yn1Frg.js +284 -0
- package/dist/drawerBlackWhiteList-Cr16yNs8.js +4 -0
- package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-BR6Yeiie.js +172 -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-BYypSGoF.js +4 -0
- package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-DcZ48XJV.js +181 -0
- package/dist/drawerRegion-BiIlYQ0Z.js +4 -0
- package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-BwAj_RKw.js +233 -0
- package/dist/drawerRole-DHLv47_z.js +4 -0
- package/dist/drawerRole-DUWRM43j.js +4 -0
- package/dist/drawerRole-nmMTIQYS.js +4 -0
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-BET5ukoo.js +244 -0
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-BK3zjhop.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-CTUzwCYG.js +4 -0
- package/dist/enum-CjyX3J0o.js +18 -0
- package/dist/enum-DDKThkSw.js +24 -0
- package/dist/enum-DkSNwGbC.js +74 -0
- package/dist/gangweijiekou-Cs016LjQ.js +46 -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-53oBz1jp.js +299 -0
- package/dist/index-B2tTTlBE.js +17698 -0
- package/dist/{toolbar_setting-rv8EGChc.js → index-BFx8F5lO.js} +144 -144
- package/dist/index-BIpmC999.js +169 -0
- package/dist/index-BUmMaC21.js +227 -0
- package/dist/index-BwWrE3dY.js +89 -0
- package/dist/index-C9hHp4Iw.js +197 -0
- package/dist/{watermark_setting-B_jC4rjv.js → index-CCw3ZJgQ.js} +254 -199
- package/dist/index-CJQB8KAz.js +186 -0
- package/dist/index-CLnFLvHy.js +193 -0
- package/dist/index-COWUocfL.js +119 -0
- package/dist/index-Cqkr8Rvk.js +189 -0
- package/dist/index-Csfu3kAr.js +171 -0
- package/dist/index-DECno0gv.js +196 -0
- package/dist/index-DVt5k9xh.js +145 -0
- package/dist/index-DdoOaWs-.js +269 -0
- package/dist/index-DfuGXjYh.js +169 -0
- package/dist/index-DoFuRlsc.js +181 -0
- package/dist/index-DwpOyfRe.js +152 -0
- package/dist/index-ZQuRR9fG.js +257 -0
- package/dist/index-ioZh8Qom.js +98 -0
- package/dist/index-rNYtJ7Om.js +195 -0
- package/dist/index-x9Iim2eD.js +247 -0
- package/dist/index-y9CQTo95.js +351 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7154 -7048
- package/dist/index10.css +1 -0
- package/dist/index11.css +1 -0
- package/dist/index14.css +1 -0
- package/dist/index17.css +1 -0
- package/dist/index18.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index8.css +1 -0
- package/dist/index9.css +1 -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-B6eI-TmJ.js +105 -0
- package/dist/login_history-B4Q1NCJn.js +222 -0
- package/dist/login_history.css +1 -1
- package/dist/not-data-BDuvYboz.js +4 -0
- package/dist/operateHistoryDetail-CLZ9lyua.js +123 -0
- package/dist/operate_history-KASZ7_JO.js +218 -0
- package/dist/operate_history.css +1 -1
- 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/setItem-BwMHXOUm.js +87 -0
- package/dist/setItem.css +1 -1
- package/dist/setting-manage-Xj_s0OoK.js +4 -0
- package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +65 -0
- package/dist/theme-check-mark-D58efagJ.js +4 -0
- package/dist/theme-title-CYUX2SBW.js +4 -0
- package/dist/useAppAndResource-38HCqYKa.js +55 -0
- package/dist/utils/dict.d.ts +6 -0
- package/dist/view-BCWU0JWM.js +4 -0
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +1 -37
- package/dist/views/tenant/index.vue.d.ts +1 -37
- 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 +4 -4
- package/src/index.ts +1 -0
- package/src/utils/dict.ts +21 -0
- package/dist/ComponentSelect-HWE3OTC2.js +0 -2
- package/dist/ComponentSelect-lvLZA7v3.js +0 -3686
- package/dist/DynamicRoutesForm--yCRC-TS.js +0 -4
- package/dist/DynamicRoutesForm-CjrPnJvX.js +0 -169
- package/dist/HCheckList-CmS0Zgjk.js +0 -37
- package/dist/HCheckList-Cze_TkQp.js +0 -2
- package/dist/HoverCard-B79q5sly.js +0 -43
- package/dist/HoverCard-U5WTpvFy.js +0 -2
- package/dist/IconSelect-B0CeuV_a.js +0 -4
- package/dist/IconSelect-BRVj6gBy.js +0 -681
- package/dist/ImportExport-BNLVq0fU.js +0 -4
- package/dist/ImportExport-HsLm0AJH.js +0 -354
- package/dist/MetaForm-BSGuZXgj.js +0 -5
- package/dist/MetaForm-DErrpELP.js +0 -300
- package/dist/OrgAndPosition-CF7ZJtNB.js +0 -2
- package/dist/OrgAndPosition-vnBrq-fn.js +0 -188
- package/dist/ResourceEdit-DGiYedP0.js +0 -349
- package/dist/ResourceEdit-DZP72kyb.js +0 -11
- package/dist/ResourceRelation-BxGFnyVc.js +0 -78
- package/dist/ResourceRelation-DCjMjLpg.js +0 -3
- package/dist/ResourceRelation-DhML3AFe.js +0 -93
- package/dist/ResourceSelector-BAZ-oIRV.js +0 -247
- package/dist/ResourceSelector.css +0 -1
- package/dist/RoleRelation-Bxyd5aMn.js +0 -2
- package/dist/RoleRelation-CcgE6TEG.js +0 -79
- package/dist/RoleSelector-QpcO4KoV.js +0 -279
- package/dist/TenantEdit-CRhsWhhw.js +0 -253
- package/dist/TenantEdit-egH6GbbS.js +0 -6
- package/dist/UserAuthorization-B0lHeayD.js +0 -4
- package/dist/UserAuthorization-D-LcHhsj.js +0 -238
- package/dist/UserEdit-6MPOr7VK.js +0 -336
- package/dist/UserEdit-DGefh7mk.js +0 -4
- package/dist/_plugin-vue_export-helper-DziIhCOI.js +0 -6
- package/dist/add-child-BqjLtFNF.js +0 -2
- package/dist/animation_item-C3pkH-cB.js +0 -2
- package/dist/animation_item-Cg-CB3zX.js +0 -4536
- package/dist/authority-BCFCPQkb.js +0 -2
- package/dist/authorize-BykMzt1r.js +0 -2
- package/dist/blackWhiteList-CFnWvnIK.js +0 -213
- package/dist/blackWhiteList.css +0 -1
- package/dist/blacklist-disable-COoLZMSA.js +0 -2
- package/dist/blacklist-enable-LZep1trj.js +0 -2
- package/dist/breadcrumb_setting-BbdvbC4M.js +0 -111
- package/dist/browser-chrome-D0rex7Ir.js +0 -2
- package/dist/browser-edge-KCb_AIL5.js +0 -2
- package/dist/browser-ie-C1znjJM-.js +0 -2
- package/dist/browser-other-C4er8PkV.js +0 -2
- package/dist/browser-safari-BPRC1TV-.js +0 -2
- package/dist/browserType-BGl2j5RW.js +0 -2
- package/dist/browserType-E4RCiZfN.js +0 -26
- package/dist/chunk-B3eAFu3c.js +0 -11
- package/dist/cloneDeep-BnvyNhik.js +0 -7
- package/dist/components/OrgTree/index.vue.d.ts +0 -5
- package/dist/configData-DQOHeFW2.js +0 -86
- package/dist/createAndEditDataPermission-39GKHtzB.js +0 -443
- package/dist/createAndEditDataPermission-BBSBwjG4.js +0 -8
- package/dist/data-permission-35wTSMh2.js +0 -156
- package/dist/dayjs.min-CdDcH50N.js +0 -297
- package/dist/dictionary-BOuYUlfU.js +0 -180
- package/dist/drawerBlackWhiteList-BZccd_CZ.js +0 -125
- package/dist/drawerBlackWhiteList-Bz2trn-w.js +0 -3
- package/dist/drawerDictionary-C2tWu1lt.js +0 -130
- package/dist/drawerDictionary-Cx-QoHn4.js +0 -4
- package/dist/drawerDictionaryItem-C4mPbQEA.js +0 -142
- package/dist/drawerDictionaryItem-DhwinX1a.js +0 -4
- package/dist/drawerGroup-BUx0cx6i.js +0 -3
- package/dist/drawerGroup-DFeiJOBA.js +0 -188
- package/dist/drawerOrganization-BEdhq7Z2.js +0 -251
- package/dist/drawerOrganization-ijhmuc8a.js +0 -3
- package/dist/drawerPosition-shL7hfwJ.js +0 -3
- package/dist/drawerPosition-xI2PyE2x.js +0 -170
- package/dist/drawerRegion-BwWGUHaY.js +0 -187
- package/dist/drawerRegion-Dl1qXPXz.js +0 -3
- package/dist/drawerRole-C1I6-hhT.js +0 -159
- package/dist/drawerRole-CZpTYFS3.js +0 -172
- package/dist/drawerRole-CgTIHRCA.js +0 -3
- package/dist/drawerRole-Cmrob1UJ.js +0 -5
- package/dist/drawerRole-D2UxgYXQ.js +0 -215
- package/dist/drawerRole-DynkfVMp.js +0 -6
- package/dist/edit-C9HH0bNg.js +0 -2
- package/dist/enum-B1DCzyaW.js +0 -4
- package/dist/enum-BMY6bmPA.js +0 -54
- package/dist/enum-BWzxzuim.js +0 -23
- package/dist/enum-CYW8g64p.js +0 -61
- package/dist/enum-VH4_jOj5.js +0 -4
- package/dist/group-DOmpCW1J.js +0 -174
- package/dist/group.css +0 -1
- package/dist/icard-FW0Ro50-.js +0 -2
- package/dist/icon_animation-DuNUKCIP.js +0 -2
- package/dist/icon_breadcrumb-DrPNYW5B.js +0 -2
- package/dist/icon_copyright-Di3Yr0PZ.js +0 -2
- package/dist/icon_jt-C4rQLl9Y.js +0 -2
- package/dist/icon_layout-5L9E7uN2.js +0 -2
- package/dist/icon_mainpage-DMKqRgmE.js +0 -2
- package/dist/icon_menu-Cp7-Zght.js +0 -2
- package/dist/icon_page_size-Dc0zqT2W.js +0 -2
- package/dist/icon_position_type-DH2qxQQE.js +0 -2
- package/dist/icon_safe_manage-DXYWl1y-.js +0 -2
- package/dist/icon_screen_scale-DwC6qqx2.js +0 -2
- package/dist/icon_system_manage-BYTldLly.js +0 -2
- package/dist/icon_tabbar-CxffARwI.js +0 -2
- package/dist/icon_toolbar-CsxnTrNJ.js +0 -2
- package/dist/icon_topbar-DS-oEZFA.js +0 -2
- package/dist/icon_watermark-DDXsHlfQ.js +0 -2
- package/dist/itemlist-QBWRLjTd.js +0 -157
- package/dist/layout_setting-BZt_X9vU.js +0 -74
- package/dist/layout_setting.css +0 -1
- package/dist/log-center-BFjZ4IE1.js +0 -2
- package/dist/log-hgUXTuhy.js +0 -14
- package/dist/loginHistoryDetail-BAYuSqvw.js +0 -78
- package/dist/loginHistoryDetail-DiuNa6Sv.js +0 -4
- package/dist/login_history-NTSjr6e5.js +0 -196
- package/dist/menu_setting-CkoDAYJD.js +0 -158
- package/dist/not-data-Bw8FlpyB.js +0 -2
- package/dist/not-data-OpiacaSk.js +0 -2
- package/dist/operateHistoryDetail-DiuqMTkN.js +0 -90
- package/dist/operateHistoryDetail-r30ZBNqw.js +0 -4
- package/dist/operate_history-CXoZlYaT.js +0 -191
- package/dist/org-main-D5Isevbc.js +0 -2
- package/dist/org-unmain-BHBqSuCz.js +0 -2
- package/dist/organization-DmGbwqHI.js +0 -15605
- package/dist/organization.css +0 -1
- package/dist/other_setting-BqWwlJ2u.js +0 -220
- package/dist/other_setting.css +0 -1
- package/dist/page_animation_setting-g3bkn7vf.js +0 -117
- package/dist/page_animation_setting.css +0 -1
- package/dist/page_w_setting-Db9pP86g.js +0 -69
- package/dist/page_w_setting.css +0 -1
- package/dist/position-Bq4B3_PK.js +0 -168
- package/dist/region-DfxAE8eK.js +0 -185
- package/dist/remove-DKMMsJNq.js +0 -2
- package/dist/resource-app-DZwdNG6F.js +0 -2
- package/dist/resource-btn-DPX0oM2L.js +0 -2
- package/dist/resource-dynamic-Cb_vjMjt.js +0 -2
- package/dist/resource-index-ah4NpEob.js +0 -2
- package/dist/resource-menu-CzWI03EU.js +0 -2
- package/dist/resource-micro-Ca0NS7j_.js +0 -2
- package/dist/resource-nonmenu-Deitjo_5.js +0 -2
- package/dist/resource-rP8m6eP_.js +0 -273
- package/dist/role-DfWw95NS.js +0 -196
- package/dist/role_group-B4J4RWQt.js +0 -172
- package/dist/routeSystem-Dg0b6mAl.js +0 -2
- package/dist/safe_setting-uj9p_wW0.js +0 -232
- package/dist/setItem-C_jx_5fd.js +0 -5
- package/dist/setItem-DnJuD3C0.js +0 -77
- package/dist/setting-manage-B3vaM0w1.js +0 -2
- package/dist/stores-D6JJmBEU.js +0 -2
- package/dist/tabbar_setting-DBPggZ6Q.js +0 -142
- package/dist/tenant-Dbydqvrz.js +0 -183
- package/dist/theme-check-mark-BK7E8lqd.js +0 -2
- package/dist/theme-title-aqbHq846.js +0 -2
- package/dist/theme_setting-3l5L7tXt.js +0 -117
- package/dist/theme_setting.css +0 -1
- package/dist/useAppAndResource-CeMCjg2v.js +0 -57
- package/dist/user-DQE6N5EP.js +0 -345
- package/dist/view-C6Eo1zRL.js +0 -2
- package/dist/watermark_setting.css +0 -1
- package/dist/zddata-fjEtQ3lZ.js +0 -2
- package/dist/zy_checked-DTsDCC94.js +0 -2
- package/dist/zy_default-BaIuMKw-.js +0 -2
- /package/dist/{safe_setting.css → index12.css} +0 -0
- /package/dist/{tabbar_setting.css → index13.css} +0 -0
- /package/dist/{toolbar_setting.css → index15.css} +0 -0
- /package/dist/{user.css → index16.css} +0 -0
- /package/dist/{breadcrumb_setting.css → index2.css} +0 -0
- /package/dist/{data-permission.css → index3.css} +0 -0
- /package/dist/{menu_setting.css → index7.css} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { b as t } from "./index.js";
|
|
2
|
+
function i(s) {
|
|
3
|
+
return t.Get("/rbac/pubDataPermissions/dataPermissionList", {});
|
|
4
|
+
}
|
|
5
|
+
function n(s, a) {
|
|
6
|
+
return t.Delete(
|
|
7
|
+
"/rbac/pubDataPermissions/delete",
|
|
8
|
+
{},
|
|
9
|
+
{
|
|
10
|
+
params: {
|
|
11
|
+
...s
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
function o(s, a) {
|
|
17
|
+
return t.Get("/rbac/pubDataPermissions/getById", {
|
|
18
|
+
params: {
|
|
19
|
+
...s
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function r(s, a) {
|
|
24
|
+
return t.Post(
|
|
25
|
+
"/rbac/pubDataPermissions/getUserOrgDataPermissionList",
|
|
26
|
+
{},
|
|
27
|
+
{
|
|
28
|
+
params: {
|
|
29
|
+
...s
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
function p(s, a) {
|
|
35
|
+
return t.Post("/rbac/pubDataPermissions/pageQuery", s, {
|
|
36
|
+
headers: {
|
|
37
|
+
"Content-Type": "application/json"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function b(s, a) {
|
|
42
|
+
return t.Post("/rbac/pubDataPermissions/save", s, {
|
|
43
|
+
headers: {
|
|
44
|
+
"Content-Type": "application/json"
|
|
45
|
+
},
|
|
46
|
+
...a || {}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function u(s, a) {
|
|
50
|
+
return t.Post("/rbac/pubDataPermissions/update", s, {
|
|
51
|
+
headers: {
|
|
52
|
+
"Content-Type": "application/json"
|
|
53
|
+
},
|
|
54
|
+
...a || {}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
u as a,
|
|
59
|
+
b,
|
|
60
|
+
i as c,
|
|
61
|
+
n as d,
|
|
62
|
+
r as e,
|
|
63
|
+
o as g,
|
|
64
|
+
p
|
|
65
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%234080FF'%20d='M10%203.401a7.209%207.209%200%201%200%200%2014.418%207.209%207.209%200%201%200%200-14.418'/%3e%3cpath%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1.5'%20d='m7.364%2010.205%202.028%202.028%203.244-3.244'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2023%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20filter='url(%23a)'%3e%3cpath%20fill='url(%23b)'%20d='M11.473%203.504C7.353%203.504%204%206.869%204%2011.004c0%204.132%203.352%207.493%207.473%207.493.986%200%201.791-.803%201.791-1.79%200-.453-.166-.892-.436-1.162-.119-.145-.141-.224-.141-.322%200-.27.22-.49.49-.49h1.368c2.453%200%204.448-2.013%204.448-4.491-.057-3.715-3.432-6.738-7.52-6.738'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3cpath%20fill='%23000'%20d='M14.543%2013.956h-1.368c-.698%200-1.266.569-1.266%201.267%200%20.297.098.55.324.821l.033.037c.137.137.222.378.222.626%200%20.559-.455%201.014-1.016%201.014-3.693%200-6.699-3.013-6.699-6.717%200-3.708%203.005-6.725%206.7-6.725%203.668%200%206.694%202.68%206.744%205.97%200%202.043-1.647%203.707-3.674%203.707'/%3e%3cpath%20fill='url(%23c)'%20d='M14.543%2013.956h-1.368c-.698%200-1.266.569-1.266%201.267%200%20.297.098.55.324.821l.033.037c.137.137.222.378.222.626%200%20.559-.455%201.014-1.016%201.014-3.693%200-6.699-3.013-6.699-6.717%200-3.708%203.005-6.725%206.7-6.725%203.668%200%206.694%202.68%206.744%205.97%200%202.043-1.647%203.707-3.674%203.707'/%3e%3cg%20filter='url(%23d)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%208.654%209.006)'/%3e%3c/g%3e%3cg%20filter='url(%23e)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2016.654%209.006)'/%3e%3c/g%3e%3cg%20filter='url(%23f)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2014.654%206.006)'/%3e%3c/g%3e%3cg%20filter='url(%23g)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2010.654%206.006)'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='a'%20width='22.993'%20height='22.993'%20x='0'%20y='.504'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.2%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='d'%20width='6.307'%20height='6.307'%20x='4.348'%20y='8.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='e'%20width='6.307'%20height='6.307'%20x='12.348'%20y='8.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='f'%20width='6.307'%20height='6.307'%20x='10.348'%20y='5.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='g'%20width='6.307'%20height='6.307'%20x='6.348'%20y='5.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='b'%20x1='11.497'%20x2='11.497'%20y1='3.504'%20y2='18.497'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.38'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='11.495'%20x2='11.495'%20y1='4.279'%20y2='17.721'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2389AAFC'/%3e%3cstop%20offset='1'%20stop-color='%23DFEAFF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import "./index.js";
|
|
2
|
+
import { g as M, a as b } from "./ziyuanjiekou-BC65-bFK.js";
|
|
3
|
+
import { R as g } from "./enum-CTUzwCYG.js";
|
|
4
|
+
import { ref as s, computed as D } from "vue";
|
|
5
|
+
function P(p) {
|
|
6
|
+
const u = s(), r = s([]), c = s([]), t = s({}), n = s([]), o = D(() => p === g.DATA_PERMISSION);
|
|
7
|
+
function f() {
|
|
8
|
+
M().then((a) => {
|
|
9
|
+
if (a?.success) {
|
|
10
|
+
const A = (a.data ?? []).map((i) => ({ label: i.name, value: i.id }));
|
|
11
|
+
r.value = A;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
async function d(a) {
|
|
16
|
+
const e = await b({ appId: a });
|
|
17
|
+
c.value = e?.data ?? [], l(c.value);
|
|
18
|
+
}
|
|
19
|
+
function l(a) {
|
|
20
|
+
a.forEach((e) => {
|
|
21
|
+
e.id && (t.value[e.id] = e.name), o.value && e.enableDataPermission === !1 && (e.disabled = !0), e.children && e.children.length && l(e.children);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function R(a) {
|
|
25
|
+
n.value = a;
|
|
26
|
+
}
|
|
27
|
+
function m(a) {
|
|
28
|
+
if (!a.length || !Object.keys(t.value).length)
|
|
29
|
+
return [];
|
|
30
|
+
n.value = a.map((e) => ({ id: e, name: t.value[e] })).filter((e) => e.name);
|
|
31
|
+
}
|
|
32
|
+
function v() {
|
|
33
|
+
n.value = [];
|
|
34
|
+
}
|
|
35
|
+
function h(a) {
|
|
36
|
+
u.value && u.value.open && u.value.open(a, c.value, t.value);
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
appList: r,
|
|
40
|
+
resourceModelRef: u,
|
|
41
|
+
treeData: c,
|
|
42
|
+
resourceMap: t,
|
|
43
|
+
selectedResources: n,
|
|
44
|
+
isDataPermissionMode: o,
|
|
45
|
+
getAppList: f,
|
|
46
|
+
updateTreeDataAndResourceMap: d,
|
|
47
|
+
setSelectedResources: R,
|
|
48
|
+
updateSelectedResources: m,
|
|
49
|
+
clearSelectedResources: v,
|
|
50
|
+
openResourceModel: h
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
P as u
|
|
55
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2016%2017'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3crect%20width='3.773'%20height='1.5'%20x='13.66'%20y='14.82'%20fill='%23165DFF'%20rx='.75'%20transform='rotate(-135%2013.66%2014.82)'/%3e%3crect%20width='10.102'%20height='10.102'%20x='2.178'%20y='2.353'%20stroke='%23165DFF'%20rx='5.051'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -9,42 +9,6 @@ declare const _default: import('../../../../../../node_modules/.pnpm/vue@3.5.17_
|
|
|
9
9
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
|
|
11
11
|
formRef: unknown;
|
|
12
|
-
resourceRef:
|
|
13
|
-
open?: boolean;
|
|
14
|
-
} & {
|
|
15
|
-
title?: string;
|
|
16
|
-
mode?: import('../../../components/ResourceSelector/enum').ResourceMode;
|
|
17
|
-
}> & Readonly<{
|
|
18
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
|
|
22
|
-
}, {}, {}, {}, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
|
|
23
|
-
select: (...args: any[]) => void;
|
|
24
|
-
"update:open": (value: boolean) => void;
|
|
25
|
-
}, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {
|
|
26
|
-
title: string;
|
|
27
|
-
mode: import('../../../components/ResourceSelector/enum').ResourceMode;
|
|
28
|
-
}, false, {}, {}, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {}, any, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
|
|
29
|
-
P: {};
|
|
30
|
-
B: {};
|
|
31
|
-
D: {};
|
|
32
|
-
C: {};
|
|
33
|
-
M: {};
|
|
34
|
-
Defaults: {};
|
|
35
|
-
}, Readonly<{
|
|
36
|
-
open?: boolean;
|
|
37
|
-
} & {
|
|
38
|
-
title?: string;
|
|
39
|
-
mode?: import('../../../components/ResourceSelector/enum').ResourceMode;
|
|
40
|
-
}> & Readonly<{
|
|
41
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
43
|
-
}>, {
|
|
44
|
-
open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
|
|
45
|
-
}, {}, {}, {}, {
|
|
46
|
-
title: string;
|
|
47
|
-
mode: import('../../../components/ResourceSelector/enum').ResourceMode;
|
|
48
|
-
}> | null;
|
|
12
|
+
resourceRef: unknown;
|
|
49
13
|
}, any>;
|
|
50
14
|
export default _default;
|
|
@@ -1517,43 +1517,7 @@ declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typ
|
|
|
1517
1517
|
submit: (...args: any[]) => void;
|
|
1518
1518
|
}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {}, true, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {
|
|
1519
1519
|
formRef: unknown;
|
|
1520
|
-
resourceRef:
|
|
1521
|
-
open?: boolean;
|
|
1522
|
-
} & {
|
|
1523
|
-
title?: string;
|
|
1524
|
-
mode?: import('../../components/ResourceSelector/enum').ResourceMode;
|
|
1525
|
-
}> & Readonly<{
|
|
1526
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1527
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1528
|
-
}>, {
|
|
1529
|
-
open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
|
|
1530
|
-
}, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
|
|
1531
|
-
select: (...args: any[]) => void;
|
|
1532
|
-
"update:open": (value: boolean) => void;
|
|
1533
|
-
}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {
|
|
1534
|
-
title: string;
|
|
1535
|
-
mode: import('../../components/ResourceSelector/enum').ResourceMode;
|
|
1536
|
-
}, false, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {}, any, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
|
|
1537
|
-
P: {};
|
|
1538
|
-
B: {};
|
|
1539
|
-
D: {};
|
|
1540
|
-
C: {};
|
|
1541
|
-
M: {};
|
|
1542
|
-
Defaults: {};
|
|
1543
|
-
}, Readonly<{
|
|
1544
|
-
open?: boolean;
|
|
1545
|
-
} & {
|
|
1546
|
-
title?: string;
|
|
1547
|
-
mode?: import('../../components/ResourceSelector/enum').ResourceMode;
|
|
1548
|
-
}> & Readonly<{
|
|
1549
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1550
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
1551
|
-
}>, {
|
|
1552
|
-
open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
|
|
1553
|
-
}, {}, {}, {}, {
|
|
1554
|
-
title: string;
|
|
1555
|
-
mode: import('../../components/ResourceSelector/enum').ResourceMode;
|
|
1556
|
-
}> | null;
|
|
1520
|
+
resourceRef: unknown;
|
|
1557
1521
|
}, any, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
|
|
1558
1522
|
P: {};
|
|
1559
1523
|
B: {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { b as o } from "./index.js";
|
|
2
|
+
function s(t, i) {
|
|
3
|
+
return o.Post("/sysconfig/addOrEidtSysThemeStyleConfig", t, {
|
|
4
|
+
headers: {
|
|
5
|
+
"Content-Type": "application/json"
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function e(t, i) {
|
|
10
|
+
return o.Post("/sysconfig/editSysSecurityConfig", t, {
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function y(t) {
|
|
17
|
+
return o.Get("/sysconfig/getSysSecurityConfig", {});
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
e as a,
|
|
21
|
+
y as g,
|
|
22
|
+
s as p
|
|
23
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2016%2016'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20stroke='%23165DFF'%20d='M2.839%203H13.16v3H2.84zm0%205H13.16v3H2.84z'/%3e%3cpath%20stroke='%23165DFF'%20stroke-width='.5'%20d='M2.589%2012.75H13.41v.5H2.59z'/%3e%3cpath%20stroke='%23165DFF'%20d='M2.839%203h3v3h-3zm0%205h3v3h-3z'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { b as r } from "./index.js";
|
|
2
|
+
function t(e, o) {
|
|
3
|
+
return r.Post("/rbac/resource/addResource", e, {
|
|
4
|
+
headers: {
|
|
5
|
+
"Content-Type": "application/json"
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function c(e) {
|
|
10
|
+
return r.Get("/rbac/resource/appList", {});
|
|
11
|
+
}
|
|
12
|
+
function a(e, o) {
|
|
13
|
+
return r.Get("/rbac/resource/getRoleListByResourceId", {
|
|
14
|
+
params: {
|
|
15
|
+
...e
|
|
16
|
+
},
|
|
17
|
+
...o || {}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function u(e, o) {
|
|
21
|
+
return r.Get("/rbac/resource/groupResourceTree", {
|
|
22
|
+
params: {
|
|
23
|
+
...e
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function n(e, o) {
|
|
28
|
+
return r.Get("/rbac/resource/info", {
|
|
29
|
+
params: {
|
|
30
|
+
...e
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function p(e, o) {
|
|
35
|
+
return r.Get("/rbac/resource/resourceDelete", {
|
|
36
|
+
params: {
|
|
37
|
+
...e
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function R(e, o) {
|
|
42
|
+
return r.Get("/rbac/resource/resourceTree", {
|
|
43
|
+
params: {
|
|
44
|
+
...e
|
|
45
|
+
},
|
|
46
|
+
...o || {}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function i(e, o) {
|
|
50
|
+
return r.Post("/rbac/resource/resourceUpdate", e, {
|
|
51
|
+
headers: {
|
|
52
|
+
"Content-Type": "application/json"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function b(e) {
|
|
57
|
+
return r.Get("/rbac/resource/tenantAddResourceTree", {});
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
u as a,
|
|
61
|
+
R as b,
|
|
62
|
+
p as c,
|
|
63
|
+
n as d,
|
|
64
|
+
t as e,
|
|
65
|
+
a as f,
|
|
66
|
+
c as g,
|
|
67
|
+
b as h,
|
|
68
|
+
i as p
|
|
69
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { b as r } from "./index.js";
|
|
2
|
+
function t(o, e) {
|
|
3
|
+
return r.Get("/rbac/orgRole/getByOrgId", {
|
|
4
|
+
params: {
|
|
5
|
+
...o
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function n(o, e) {
|
|
10
|
+
return r.Post("/rbac/orgRole/roleOrgPage", o, {
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
},
|
|
14
|
+
...e || {}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function g(o, e) {
|
|
18
|
+
return r.Post("/rbac/orgRole/saveOrgRole", o, {
|
|
19
|
+
headers: {
|
|
20
|
+
"Content-Type": "application/json"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
n as a,
|
|
26
|
+
t as g,
|
|
27
|
+
g as p
|
|
28
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2025%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%23165DFF'%20d='M12.66%202a10%2010%200%201%200%200%2020%2010%2010%200%201%200%200-20'/%3e%3cpath%20fill='url(%23a)'%20d='M17.398%208a.527.527%200%200%201%20.061%201.049l-.061.004v5.79a1.053%201.053%200%200%201-1.053%201.052h-2.413l1.206%201.207a.527.527%200%200%201-.694.788l-.05-.044-1.733-1.733-1.733%201.733a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.044-.05%201.206-1.206H8.977a1.05%201.05%200%200%201-.676-.246l-.068-.063a1.05%201.05%200%200%201-.309-.744v-5.79a.526.526%200%200%201-.061-1.048L7.924%208zm-1.053%201.053H8.976v5.79h7.37zm-.68%201.206a.53.53%200%200%201%20.043.695l-.043.05-2.105%202.105a.53.53%200%200%201-.695.044l-.05-.044-1.207-1.207-1.206%201.207a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.043-.05%201.58-1.578a.53.53%200%200%201%20.694-.044l.05.044%201.206%201.206%201.734-1.733a.526.526%200%200%201%20.744%200'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='12.661'%20x2='12.661'%20y1='8'%20y2='18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.75'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2025%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%2386909C'%20d='M12.66%202a10%2010%200%201%200%200%2020%2010%2010%200%201%200%200-20'/%3e%3cpath%20fill='url(%23a)'%20d='M17.398%208a.527.527%200%200%201%20.061%201.049l-.061.004v5.79a1.053%201.053%200%200%201-1.053%201.052h-2.413l1.206%201.207a.527.527%200%200%201-.694.788l-.05-.044-1.733-1.733-1.733%201.733a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.044-.05%201.206-1.206H8.977a1.05%201.05%200%200%201-.676-.246l-.068-.063a1.05%201.05%200%200%201-.309-.744v-5.79a.526.526%200%200%201-.061-1.048L7.924%208zm-1.053%201.053H8.976v5.79h7.37zm-.68%201.206a.53.53%200%200%201%20.043.695l-.043.05-2.105%202.105a.53.53%200%200%201-.695.044l-.05-.044-1.207-1.207-1.206%201.207a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.043-.05%201.58-1.578a.53.53%200%200%201%20.694-.044l.05.044%201.206%201.206%201.734-1.733a.526.526%200%200%201%20.744%200'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='12.661'%20x2='12.661'%20y1='8'%20y2='18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.75'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo/module-rbac",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.10",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"@pubinfo/pro-components": "^1.7.3",
|
|
25
25
|
"alova": "^3.3.4",
|
|
26
26
|
"ant-design-vue": "^4.2.6",
|
|
27
|
-
"pubinfo": "2.0.
|
|
27
|
+
"pubinfo": "2.0.10"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@destyler/color-picker": "^0.1.0",
|
|
31
31
|
"@destyler/popover": "^0.1.0",
|
|
32
32
|
"@destyler/vue": "^0.1.0",
|
|
33
|
-
"@pubinfo/headlessui": "^1.5.
|
|
33
|
+
"@pubinfo/headlessui": "^1.5.4",
|
|
34
34
|
"@vueuse/core": "^13.7.0",
|
|
35
35
|
"dayjs": "^1.11.13",
|
|
36
36
|
"file-saver": "^2.0.5",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"alova": "^3.3.4",
|
|
49
49
|
"ant-design-vue": "^4.2.6",
|
|
50
50
|
"type-fest": "^4.41.0",
|
|
51
|
-
"pubinfo": "2.0.
|
|
51
|
+
"pubinfo": "2.0.10"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"dev": "pubinfo build -w --sourcemap",
|
package/src/index.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getDictItemListBatch } from '@/api/modules/configData';
|
|
2
|
+
|
|
3
|
+
function arraify<T>(data: T | T[]) {
|
|
4
|
+
return Array.isArray(data) ? data : [data];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 获取字典数据
|
|
9
|
+
*/
|
|
10
|
+
export async function getDictItem(params: { dictCode: string | string[] }) {
|
|
11
|
+
const dictCodes = arraify(params.dictCode);
|
|
12
|
+
const res = await getDictItemListBatch({ dictCode: dictCodes.join(',') });
|
|
13
|
+
|
|
14
|
+
if (res.success) {
|
|
15
|
+
if (dictCodes.length === 1) {
|
|
16
|
+
return res.data?.[0]?.dictItemList;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return res.data;
|
|
20
|
+
}
|
|
21
|
+
}
|