@pubinfo/module-rbac 2.0.0-beta.9 → 2.0.0-rc.1
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-AWuDE4De.js +2 -0
- package/dist/ComponentSelect-CFoCrAFh.js +483 -0
- package/dist/DynamicRoutesForm-DmQMP8-p.js +376 -0
- package/dist/DynamicRoutesForm-xXTdh5EX.js +4 -0
- package/dist/HCheckList-DDP7S_nc.js +37 -0
- package/dist/HCheckList-u43x0KiD.js +2 -0
- package/dist/ImportExport-BbZkZEW_.js +4 -0
- package/dist/ImportExport-Yt6dABIv.js +354 -0
- package/dist/MetaForm-BB80P4w6.js +284 -0
- package/dist/MetaForm-D_na1CP8.js +4 -0
- package/dist/OrgAndPosition-BK5MTlOO.js +188 -0
- package/dist/OrgAndPosition-CDCim7yM.js +2 -0
- package/dist/ResourceEdit-CVwNJMVm.js +309 -0
- package/dist/ResourceEdit-D1e8tLAA.js +8 -0
- package/dist/ResourceRelation-DJDFQYFT.js +93 -0
- package/dist/ResourceRelation-DWhWzKQJ.js +3 -0
- package/dist/ResourceRelation-cfGS-erP.js +78 -0
- package/dist/ResourceSelector-B4AXXCxI.js +247 -0
- package/dist/RoleRelation-BlWDNAM1.js +79 -0
- package/dist/RoleRelation-CAMzPMFz.js +2 -0
- package/dist/RoleSelector-Bqv2p_7X.js +279 -0
- package/dist/TenantEdit-6rMUS9EP.js +253 -0
- package/dist/TenantEdit-BhpSW4w7.js +6 -0
- package/dist/UserAuthorization-Cx9oYms2.js +238 -0
- package/dist/UserAuthorization-D5rSSagE.js +4 -0
- package/dist/UserEdit-CqH6hxTZ.js +336 -0
- package/dist/UserEdit-CqrRx717.js +4 -0
- package/dist/_plugin-vue_export-helper-Cmy-mbsL.js +6 -0
- package/dist/add-child-CJM7MvB2.js +2 -0
- package/dist/animation_item-Bf_Y_nyf.js +4536 -0
- package/dist/animation_item-Wmcl4yBo.js +2 -0
- package/dist/api/modules/assist/qunzujiekou.d.ts +7 -0
- package/dist/api/modules/configData/index.d.ts +1 -1
- package/dist/api/modules/configData/{zidianfuwu.d.ts → zidifuwu.d.ts} +14 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
- package/dist/api/modules/rbac/index.d.ts +1 -0
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +21 -0
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/api/request.d.ts +1 -1
- package/dist/authority-BofK2fFE.js +2 -0
- package/dist/authorize-Ck1i_5K5.js +2 -0
- package/dist/blackWhiteList-B-EAyXzG.js +213 -0
- package/dist/blacklist-disable-BgMERGDX.js +2 -0
- package/dist/blacklist-enable-D8ds6NgH.js +2 -0
- package/dist/breadcrumb_setting-Bv12pA15.js +111 -0
- package/dist/browser-chrome-BVvmyPYW.js +2 -0
- package/dist/browser-edge-Bc36eH7f.js +2 -0
- package/dist/browser-ie-BiDFft9C.js +2 -0
- package/dist/browser-other-BzyOvDmB.js +2 -0
- package/dist/browser-safari-CBxgFrI_.js +2 -0
- package/dist/browserType-BJeH2o0t.js +26 -0
- package/dist/browserType-pMY0VZ_3.js +2 -0
- package/dist/chunk-B3eAFu3c.js +11 -0
- package/dist/cloneDeep-BnvyNhik.js +7 -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 +4 -4
- package/dist/components/OrgTree/index.vue.d.ts +1 -1
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +7 -7
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +7 -7
- package/dist/components/OrgUserSelector/index.d.ts +3 -2
- package/dist/components/ResourceIcones/Select.vue.d.ts +9 -0
- package/dist/components/ResourceSelector/index.vue.d.ts +5 -5
- 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 +1 -1
- package/dist/configData-BoeH9I4s.js +86 -0
- package/dist/context.d.ts +3 -0
- package/dist/createAndEditDataPermission-BFmD3zpY.js +443 -0
- package/dist/createAndEditDataPermission-Ll6GWW-p.js +8 -0
- package/dist/data-permission-Dz4eCdAg.js +156 -0
- package/dist/dayjs.min-KffHrkDe.js +297 -0
- package/dist/dictionary-C8UVX_8l.js +180 -0
- package/dist/drawerBlackWhiteList-opDsd2_O.js +125 -0
- package/dist/drawerBlackWhiteList-taaV8A5D.js +3 -0
- package/dist/drawerDictionary-CzT9KJGw.js +130 -0
- package/dist/drawerDictionary-D0Bi75vl.js +4 -0
- package/dist/drawerDictionaryItem-BqQojUNh.js +4 -0
- package/dist/drawerDictionaryItem-LBeuvrE8.js +142 -0
- package/dist/drawerGroup-BI0pYuIO.js +3 -0
- package/dist/drawerGroup-B_pYqrpy.js +188 -0
- package/dist/drawerOrganization-BeDsW0ah.js +251 -0
- package/dist/drawerOrganization-RbLK6k_c.js +3 -0
- package/dist/drawerPosition-CKZCt-Yc.js +3 -0
- package/dist/drawerPosition-DRacJCCQ.js +170 -0
- package/dist/drawerRegion-BM__zqtq.js +187 -0
- package/dist/drawerRegion-CaXvxWEn.js +3 -0
- package/dist/drawerRole-27ggtdnJ.js +6 -0
- package/dist/drawerRole-BOf6UXMc.js +172 -0
- package/dist/drawerRole-CQURGn5D.js +215 -0
- package/dist/drawerRole-D9Dt3l7O.js +5 -0
- package/dist/drawerRole-DPC9SVDe.js +3 -0
- package/dist/drawerRole-DhU_4L0Z.js +159 -0
- package/dist/edit-DF7Qsxtl.js +2 -0
- package/dist/enum-BMY6bmPA.js +54 -0
- package/dist/enum-BZtNAeJC.js +23 -0
- package/dist/enum-CtIne-Ul.js +61 -0
- package/dist/enum-DfCD4cL8.js +4 -0
- package/dist/enum-e5LlvaOv.js +4 -0
- package/dist/group-C0rajn0e.js +174 -0
- package/dist/icard-CtletXtq.js +2 -0
- package/dist/icon_animation-Do8Rw-K9.js +2 -0
- package/dist/icon_breadcrumb-CmZgmswj.js +2 -0
- package/dist/icon_copyright--7CIXSE1.js +2 -0
- package/dist/icon_jt--G-Amuu4.js +2 -0
- package/dist/icon_layout-BkQems5J.js +2 -0
- package/dist/icon_mainpage-98dHnXRL.js +2 -0
- package/dist/icon_menu-8foYPA9U.js +2 -0
- package/dist/icon_page_size-CPjiZpP2.js +2 -0
- package/dist/icon_position_type-Do71e9Ov.js +2 -0
- package/dist/icon_safe_manage-DiBn-uSS.js +2 -0
- package/dist/icon_screen_scale-Ct8iHVKy.js +2 -0
- package/dist/icon_system_manage-CzBNNisy.js +2 -0
- package/dist/icon_tabbar-BajHaWfA.js +2 -0
- package/dist/icon_toolbar-DHKFZD2w.js +2 -0
- package/dist/icon_topbar-C4mu7up7.js +2 -0
- package/dist/icon_watermark-2Wtjrft3.js +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6873 -5
- package/dist/interface.d.ts +27 -3
- package/dist/itemlist-CZBPz_rC.js +157 -0
- package/dist/layout_setting-oQd8BfKx.js +74 -0
- package/dist/log-CQfCPTsC.js +14 -0
- package/dist/log-center-qtOWNEaD.js +2 -0
- package/dist/loginHistoryDetail-Abn9eS5-.js +78 -0
- package/dist/loginHistoryDetail-DDEuFbYB.js +4 -0
- package/dist/login_history-Btv9KB0x.js +196 -0
- package/dist/menu_setting-Cju5OkSE.js +158 -0
- package/dist/not-data-BA50qHBT.js +2 -0
- package/dist/not-data-BzaRFolb.js +2 -0
- package/dist/operateHistoryDetail-Br_M3mhI.js +90 -0
- package/dist/operateHistoryDetail-CLsHDBp7.js +4 -0
- package/dist/operate_history-D7jq2IH-.js +191 -0
- package/dist/org-main-D0M4-Mu2.js +2 -0
- package/dist/org-unmain-Bh9hzLgK.js +2 -0
- package/dist/organization-CeOyltjo.js +15605 -0
- package/dist/other_setting-rbUoVood.js +220 -0
- package/dist/page_animation_setting-Diclx4mg.js +117 -0
- package/dist/page_w_setting-Dr2tu_oS.js +69 -0
- package/dist/position-Bodjtnh9.js +168 -0
- package/dist/region-B9xObK4Z.js +185 -0
- package/dist/remove-B3pgrGrf.js +2 -0
- package/dist/resource-DhkRTloI.js +270 -0
- package/dist/resource-app-BKgfDs09.js +2 -0
- package/dist/resource-btn-BXLyUStb.js +2 -0
- package/dist/resource-dynamic-Dx3RhbQk.js +2 -0
- package/dist/resource-index-C2COvmY-.js +2 -0
- package/dist/resource-menu-C_Q6AEFw.js +2 -0
- package/dist/resource-micro-D_OBvoET.js +2 -0
- package/dist/resource-nonmenu-CCpeV9Km.js +2 -0
- package/dist/role-DoBrQ1zG.js +196 -0
- package/dist/role_group-BMNZ1M1A.js +172 -0
- package/dist/routes/index.d.ts +3 -1
- package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
- package/dist/routes/modules/log.manage.menu.d.ts +1 -1
- package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
- package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
- package/dist/routes/modules/system.manage.menu.d.ts +1 -1
- package/dist/safe_setting-J6GWqrZx.js +232 -0
- package/dist/setItem-CcNK_f8V.js +77 -0
- package/dist/setItem-CqHPfTBZ.js +5 -0
- package/dist/setting-manage-Di7-Ks18.js +2 -0
- package/dist/stores-DXQ1Ibt6.js +2 -0
- package/dist/style.css +2 -1
- package/dist/tabbar_setting-Di3OcDig.js +142 -0
- package/dist/tenant-pPYq3xtM.js +183 -0
- package/dist/theme-check-mark-DhhsmM5v.js +2 -0
- package/dist/theme-title-DEVFVYNh.js +2 -0
- package/dist/theme_setting-DMyPJp3M.js +117 -0
- package/dist/{index-BleenJqT.js → toolbar_setting-ChcZxAJJ.js} +155 -167
- package/dist/useAppAndResource-DWQG9bqY.js +57 -0
- package/dist/user-BJL1Sw0q.js +345 -0
- package/dist/view-FR2dRATN.js +2 -0
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +4 -4
- package/dist/views/blackWhiteList/index.vue.d.ts +319 -319
- package/dist/views/breadcrumb_setting/index.vue.d.ts +1 -1
- package/dist/views/components/HCheckList.vue.d.ts +5 -5
- package/dist/views/components/animation_item.vue.d.ts +5 -5
- package/dist/views/components/setItem.vue.d.ts +18 -18
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +35 -35
- package/dist/views/data-permission/index.vue.d.ts +350 -350
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +4 -4
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +4 -4
- package/dist/views/dictionary/index.vue.d.ts +319 -319
- package/dist/views/dictionary/itemlist.vue.d.ts +319 -319
- package/dist/views/group/components/drawerGroup.vue.d.ts +4 -4
- package/dist/views/group/index.vue.d.ts +319 -319
- package/dist/views/layout_setting/index.vue.d.ts +1 -1
- package/dist/views/log_center/components/browserType.vue.d.ts +3 -3
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -4
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -4
- package/dist/views/log_center/login_history.vue.d.ts +315 -315
- package/dist/views/log_center/operate_history.vue.d.ts +315 -315
- package/dist/views/menu_setting/index.vue.d.ts +1 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +4 -4
- package/dist/views/organization/components/drawerRole.vue.d.ts +18 -10
- package/dist/views/organization/index.vue.d.ts +23 -15
- package/dist/views/other_setting/index.vue.d.ts +1 -1
- package/dist/views/page_animation_setting/index.vue.d.ts +1 -1
- package/dist/views/page_w_setting/index.vue.d.ts +1 -1
- package/dist/views/position/components/drawerPosition.vue.d.ts +4 -4
- package/dist/views/position/index.vue.d.ts +319 -319
- package/dist/views/region/components/drawerRegion.vue.d.ts +4 -4
- package/dist/views/region/index.vue.d.ts +319 -319
- package/dist/views/resource/components/ComponentSelect.vue.d.ts +12 -0
- package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +13 -0
- package/dist/views/resource/components/ImportExport.vue.d.ts +13 -0
- package/dist/views/resource/components/MetaForm.vue.d.ts +10 -0
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -4
- package/dist/views/resource/components/RoleRelation.vue.d.ts +2 -2
- package/dist/views/resource/enum.d.ts +6 -13
- package/dist/views/resource/hooks/useMetaForm.d.ts +6 -0
- package/dist/views/resource/index.vue.d.ts +343 -321
- package/dist/views/resource/interface.d.ts +4 -1
- package/dist/views/resource/model.d.ts +37 -0
- package/dist/views/role/components/ResourceRelation.vue.d.ts +316 -316
- package/dist/views/role/components/drawerRole.vue.d.ts +10 -10
- package/dist/views/role/index.vue.d.ts +642 -642
- package/dist/views/role_group/components/drawerRole.vue.d.ts +18 -10
- package/dist/views/role_group/index.vue.d.ts +333 -325
- package/dist/views/safe_setting/index.vue.d.ts +1 -1
- package/dist/views/tabbar_setting/index.vue.d.ts +1 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +10 -10
- package/dist/views/tenant/index.vue.d.ts +325 -325
- package/dist/views/theme_setting/index.vue.d.ts +1 -1
- package/dist/views/toolbar_setting/index.vue.d.ts +1 -1
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +3 -3
- package/dist/views/user/components/UserAuthorization.vue.d.ts +18 -10
- package/dist/views/user/components/UserEdit.vue.d.ts +4 -4
- package/dist/views/user/index.vue.d.ts +337 -329
- package/dist/views/watermark_setting/index.vue.d.ts +9 -9
- package/dist/watermark_setting-tqYUcPzF.js +199 -0
- package/dist/zddata-D9x-CcqP.js +2 -0
- package/dist/zy_checked-B0r0BaR-.js +2 -0
- package/dist/zy_default-BHbIn4if.js +2 -0
- package/package.json +14 -14
- package/src/api/modules/assist/gonggaofuwu.ts +24 -9
- package/src/api/modules/assist/index.ts +0 -2
- package/src/api/modules/assist/qunzujiekou.ts +37 -7
- package/src/api/modules/assist/quyujiekou.ts +12 -3
- package/src/api/modules/assist/typings.d.ts +62 -58
- package/src/api/modules/configData/heibaimingdanfuwu.ts +12 -3
- package/src/api/modules/configData/index.ts +1 -3
- package/src/api/modules/configData/typings.d.ts +84 -74
- package/src/api/modules/configData/xitongpeizhifuwu.ts +39 -15
- package/src/api/modules/configData/{zidianfuwu.ts → zidifuwu.ts} +80 -8
- package/src/api/modules/log/caozuorizhifuwu.ts +8 -2
- package/src/api/modules/log/denglurizhifuwu.ts +8 -2
- package/src/api/modules/log/index.ts +0 -2
- package/src/api/modules/log/typings.d.ts +29 -25
- package/src/api/modules/rbac/gangweijiekou.ts +44 -8
- package/src/api/modules/rbac/index.ts +1 -2
- package/src/api/modules/rbac/jiaosejiekou.ts +24 -9
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +45 -6
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +26 -12
- package/src/api/modules/rbac/typings.d.ts +419 -296
- package/src/api/modules/rbac/yonghujiekou.ts +115 -13
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +20 -5
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +12 -3
- package/src/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +43 -4
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +20 -11
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +12 -3
- package/src/api/modules/rbac/zuzhijiekou.ts +28 -10
- package/src/api/request.ts +3 -2
- package/src/assets/icons/resource-dynamic.svg +39 -0
- package/src/assets/icons/resource-micro.svg +40 -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 +64 -89
- package/src/components/OrgTree/index.vue +2 -2
- package/src/components/OrgUserSelector/index.ts +5 -0
- package/src/components/OrgUserSelector/provider.ts +1 -1
- package/src/components/ResourceIcones/Select.vue +240 -0
- package/src/components/ResourceSelector/index.vue +33 -50
- 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/context.ts +20 -0
- package/src/index.ts +21 -18
- package/src/interface.ts +31 -2
- package/src/routes/index.ts +9 -5
- package/src/routes/modules/authority.manage.menu.ts +0 -13
- package/src/routes/modules/log.manage.menu.ts +0 -8
- package/src/routes/modules/safe.manage.menu.ts +0 -12
- package/src/routes/modules/stylesetting.manage.menu.ts +0 -16
- package/src/routes/modules/system.manage.menu.ts +0 -10
- package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +1 -1
- package/src/views/blackWhiteList/index.vue +14 -26
- package/src/views/breadcrumb_setting/index.vue +3 -3
- package/src/views/components/animation_item.vue +2 -2
- package/src/views/components/setItem.vue +13 -20
- package/src/views/data-permission/components/createAndEditDataPermission.vue +4 -4
- package/src/views/data-permission/enum.ts +7 -7
- package/src/views/data-permission/index.vue +9 -12
- package/src/views/dictionary/components/drawerDictionary.vue +1 -1
- package/src/views/dictionary/components/drawerDictionaryItem.vue +1 -1
- package/src/views/dictionary/index.vue +3 -3
- package/src/views/dictionary/itemlist.vue +3 -3
- package/src/views/group/components/drawerGroup.vue +2 -2
- package/src/views/group/index.vue +13 -18
- package/src/views/layout_setting/index.vue +154 -164
- package/src/views/log_center/components/loginHistoryDetail.vue +6 -8
- package/src/views/log_center/components/operateHistoryDetail.vue +6 -8
- package/src/views/log_center/login_history.vue +6 -11
- package/src/views/log_center/operate_history.vue +6 -11
- package/src/views/menu_setting/index.vue +3 -3
- package/src/views/organization/components/drawerOrganization.vue +3 -3
- package/src/views/organization/components/drawerRole.vue +9 -7
- package/src/views/organization/index.vue +23 -49
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/page_animation_setting/index.vue +10 -18
- package/src/views/page_w_setting/index.vue +133 -116
- package/src/views/position/components/drawerPosition.vue +2 -2
- package/src/views/position/index.vue +1 -1
- package/src/views/region/components/drawerRegion.vue +2 -2
- package/src/views/region/index.vue +1 -1
- package/src/views/resource/components/ComponentSelect.vue +375 -0
- package/src/views/resource/components/DynamicRoutesForm.vue +92 -0
- package/src/views/resource/components/ImportExport.vue +313 -0
- package/src/views/resource/components/MetaForm.vue +119 -0
- package/src/views/resource/components/ResourceEdit.vue +144 -73
- package/src/views/resource/components/RoleRelation.vue +1 -1
- package/src/views/resource/enum.ts +12 -13
- package/src/views/resource/hooks/useMetaForm.ts +103 -0
- package/src/views/resource/index.vue +59 -32
- package/src/views/resource/interface.ts +5 -1
- package/src/views/resource/model.ts +53 -0
- package/src/views/role/components/ResourceRelation.vue +3 -4
- package/src/views/role/components/drawerRole.vue +3 -3
- package/src/views/role/index.vue +1 -1
- package/src/views/role_group/components/ResourceRelation.vue +3 -4
- package/src/views/role_group/components/drawerRole.vue +8 -7
- package/src/views/role_group/index.vue +1 -1
- package/src/views/safe_setting/index.vue +5 -7
- package/src/views/tabbar_setting/index.vue +2 -2
- package/src/views/tenant/components/TenantEdit.vue +1 -1
- package/src/views/tenant/index.vue +1 -1
- package/src/views/theme_setting/index.vue +202 -231
- package/src/views/toolbar_setting/index.vue +3 -3
- package/src/views/user/components/OrgAndPosition.vue +2 -2
- package/src/views/user/components/UserAuthorization.vue +13 -12
- package/src/views/user/components/UserEdit.vue +1 -1
- package/src/views/user/index.vue +1 -1
- package/src/views/watermark_setting/index.vue +8 -15
- package/dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js +0 -567
- package/dist/_baseClone-CQ44TFeq.js +0 -191
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js +0 -4864
- package/dist/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -38
- package/dist/cloneDeep-BI4WNBQ9.js +0 -8
- package/dist/enum-BEHz_Q18.js +0 -74
- package/dist/enum-C9ihxJe7.js +0 -4
- package/dist/enum-CTUzwCYG.js +0 -4
- package/dist/enum-DDKThkSw.js +0 -24
- package/dist/gangweijiekou-BxJq_m0o.js +0 -46
- package/dist/index-BS45K9vK.js +0 -685
- package/dist/index-Bbsiwecf.js +0 -1631
- package/dist/index-BhcAk-IH.js +0 -399
- package/dist/index-Bl4v-7On.js +0 -125
- package/dist/index-CFPhIFyG.js +0 -140
- package/dist/index-CLSeuhTv.js +0 -872
- package/dist/index-CLxqmFPw.js +0 -317
- package/dist/index-CTiFd9M0.js +0 -303
- package/dist/index-Cej8u1qo.js +0 -274
- package/dist/index-Cr17VOfm.js +0 -389
- package/dist/index-CsHj-xDw.js +0 -283
- package/dist/index-D0yB_8b0.js +0 -181
- package/dist/index-DFR8dd2B.js +0 -785
- package/dist/index-DNf0NPrD.js +0 -131
- package/dist/index-Dm4sOX43.js +0 -27
- package/dist/index-KboUdpTh.js +0 -18588
- package/dist/index-MtXfNGqS.js +0 -1246
- package/dist/index-U8kjKY6p.js +0 -462
- package/dist/index-UZeQsp70.js +0 -177
- package/dist/index-a0E9oj3q.js +0 -703
- package/dist/index-gmUZUdNl.js +0 -634
- package/dist/index-j_ln_NSt.js +0 -455
- package/dist/index-s32GbmsJ.js +0 -164
- package/dist/index-yEpViVkx.js +0 -409
- package/dist/index-zh8PZXw2.js +0 -862
- package/dist/itemlist-xAbIKRVj.js +0 -369
- package/dist/jiaosejiekou-BfY4h7uI.js +0 -58
- package/dist/login_history-CuQv9Iw3.js +0 -430
- package/dist/operate_history-CGP-1Xy2.js +0 -468
- package/dist/pubJiaosezukongzhiqi-CvYfc8Uz.js +0 -57
- package/dist/request-DQLgc7lT.js +0 -5
- package/dist/setItem-DkOvmWXP.js +0 -152
- package/dist/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +0 -65
- package/dist/useAppAndResource-D_b19V4t.js +0 -55
- package/dist/views/organization/components/roleSelect.vue.d.ts +0 -14
- package/dist/views/role_group/components/roleSelect.vue.d.ts +0 -14
- package/dist/views/user/components/roleSelect.vue.d.ts +0 -14
- package/dist/xitongpeizhifuwu-C1Vm-W1B.js +0 -23
- package/dist/zidianfuwu-yCWHhOfO.js +0 -65
- package/dist/ziyuanjiekou-DhrAbneq.js +0 -69
- package/dist/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +0 -28
- package/dist/zuzhijiekou-PeZuFtCO.js +0 -85
- package/src/assets/icons/403.svg +0 -1
- package/src/assets/icons/403_dark.svg +0 -1
- package/src/assets/icons/404.svg +0 -1
- package/src/assets/icons/404_dark.svg +0 -1
- package/src/assets/icons/browser-360.svg +0 -1
- package/src/assets/icons/browser-qq.svg +0 -1
- package/src/assets/icons/browser-uc.svg +0 -1
- package/src/assets/icons/change-org.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/favorites.svg +0 -1
- package/src/assets/icons/image-load-fail.svg +0 -1
- package/src/assets/icons/logo-sig.svg +0 -1
- package/src/assets/icons/logo.svg +0 -1
- package/src/assets/icons/mima.svg +0 -1
- package/src/assets/icons/process-management.svg +0 -1
- package/src/assets/icons/project-management.svg +0 -1
- package/src/assets/icons/rbac.svg +0 -1
- package/src/assets/icons/test.svg +0 -1
- package/src/assets/icons/toolbar-collapse.svg +0 -1
- package/src/assets/icons/tree_icon.svg +0 -1
- package/src/assets/icons/tree_icon_checked.svg +0 -1
- package/src/assets/icons/workbench.svg +0 -1
- package/src/views/organization/components/roleSelect.vue +0 -258
- package/src/views/role_group/components/roleSelect.vue +0 -224
- package/src/views/user/components/roleSelect.vue +0 -258
package/dist/index-CLSeuhTv.js
DELETED
|
@@ -1,872 +0,0 @@
|
|
|
1
|
-
import { Drawer as _e, Form as be, FormItem as De, Input as ye, RangePicker as xe, Switch as Me, Button as he, Tooltip as Te, Space as ge } from "ant-design-vue/es";
|
|
2
|
-
import { useAuth as we, PubinfoIcon as Se } from "pubinfo";
|
|
3
|
-
import { PlusCircleOutlined as ke } from "@ant-design/icons-vue";
|
|
4
|
-
import { defineComponent as ve, reactive as Ie, ref as J, computed as Ce, onMounted as Oe, createBlock as oe, openBlock as W, unref as d, isRef as Ee, withCtx as b, createVNode as p, createTextVNode as te, createElementVNode as ue, toDisplayString as Z, createElementBlock as G, Fragment as ce, renderList as Re, resolveDirective as Ye, createCommentVNode as Pe, withDirectives as le } from "vue";
|
|
5
|
-
import { b as ne } from "./request-DQLgc7lT.js";
|
|
6
|
-
import { ProTable as Ae } from "@pubinfo/pro-components";
|
|
7
|
-
import { message as $e, Badge as de, Modal as Ue } from "ant-design-vue";
|
|
8
|
-
import { g as je } from "./_commonjsHelpers-C6fGbg64.js";
|
|
9
|
-
import { _ as We } from "./index-BhcAk-IH.js";
|
|
10
|
-
import { h as Fe } from "./ziyuanjiekou-DhrAbneq.js";
|
|
11
|
-
import { c as fe } from "./cloneDeep-BI4WNBQ9.js";
|
|
12
|
-
import { u as pe } from "./index-Dm4sOX43.js";
|
|
13
|
-
function Le(D, A) {
|
|
14
|
-
return ne.Post("/rbac/tenant/pubTenantAdd", D, {
|
|
15
|
-
headers: {
|
|
16
|
-
"Content-Type": "application/json"
|
|
17
|
-
},
|
|
18
|
-
...A || {}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function He(D, A) {
|
|
22
|
-
return ne.Get("/rbac/tenant/pubTenantDelete", {
|
|
23
|
-
params: {
|
|
24
|
-
...D
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function Ve(D, A) {
|
|
29
|
-
return ne.Get("/rbac/tenant/pubTenantInfo", {
|
|
30
|
-
params: {
|
|
31
|
-
...D
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
function qe(D, A) {
|
|
36
|
-
return ne.Post("/rbac/tenant/pubTenantPage", D, {
|
|
37
|
-
headers: {
|
|
38
|
-
"Content-Type": "application/json"
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function Be(D, A) {
|
|
43
|
-
return ne.Post("/rbac/tenant/pubTenantUpdate", D, {
|
|
44
|
-
headers: {
|
|
45
|
-
"Content-Type": "application/json"
|
|
46
|
-
},
|
|
47
|
-
...A || {}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
var ie = { exports: {} }, Ne = ie.exports, me;
|
|
51
|
-
function ze() {
|
|
52
|
-
return me || (me = 1, function(D, A) {
|
|
53
|
-
(function(L, U) {
|
|
54
|
-
D.exports = U();
|
|
55
|
-
})(Ne, function() {
|
|
56
|
-
var L = 1e3, U = 6e4, V = 36e5, M = "millisecond", R = "second", Y = "minute", C = "hour", u = "day", y = "week", _ = "month", w = "quarter", v = "year", O = "date", S = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Q = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
|
|
57
|
-
var r = ["th", "st", "nd", "rd"], e = s % 100;
|
|
58
|
-
return "[" + s + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
59
|
-
} }, K = function(s, r, e) {
|
|
60
|
-
var n = String(s);
|
|
61
|
-
return !n || n.length >= r ? s : "" + Array(r + 1 - n.length).join(e) + s;
|
|
62
|
-
}, re = { s: K, z: function(s) {
|
|
63
|
-
var r = -s.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
|
|
64
|
-
return (r <= 0 ? "+" : "-") + K(n, 2, "0") + ":" + K(t, 2, "0");
|
|
65
|
-
}, m: function s(r, e) {
|
|
66
|
-
if (r.date() < e.date()) return -s(e, r);
|
|
67
|
-
var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, _), i = e - t < 0, o = r.clone().add(n + (i ? -1 : 1), _);
|
|
68
|
-
return +(-(n + (e - t) / (i ? t - o : o - t)) || 0);
|
|
69
|
-
}, a: function(s) {
|
|
70
|
-
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
71
|
-
}, p: function(s) {
|
|
72
|
-
return { M: _, y: v, w: y, d: u, D: O, h: C, m: Y, s: R, ms: M, Q: w }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
73
|
-
}, u: function(s) {
|
|
74
|
-
return s === void 0;
|
|
75
|
-
} }, h = "en", a = {};
|
|
76
|
-
a[h] = Q;
|
|
77
|
-
var c = "$isDayjsObject", $ = function(s) {
|
|
78
|
-
return s instanceof N || !(!s || !s[c]);
|
|
79
|
-
}, E = function s(r, e, n) {
|
|
80
|
-
var t;
|
|
81
|
-
if (!r) return h;
|
|
82
|
-
if (typeof r == "string") {
|
|
83
|
-
var i = r.toLowerCase();
|
|
84
|
-
a[i] && (t = i), e && (a[i] = e, t = i);
|
|
85
|
-
var o = r.split("-");
|
|
86
|
-
if (!t && o.length > 1) return s(o[0]);
|
|
87
|
-
} else {
|
|
88
|
-
var f = r.name;
|
|
89
|
-
a[f] = r, t = f;
|
|
90
|
-
}
|
|
91
|
-
return !n && t && (h = t), t || !n && h;
|
|
92
|
-
}, m = function(s, r) {
|
|
93
|
-
if ($(s)) return s.clone();
|
|
94
|
-
var e = typeof r == "object" ? r : {};
|
|
95
|
-
return e.date = s, e.args = arguments, new N(e);
|
|
96
|
-
}, l = re;
|
|
97
|
-
l.l = E, l.i = $, l.w = function(s, r) {
|
|
98
|
-
return m(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
99
|
-
};
|
|
100
|
-
var N = function() {
|
|
101
|
-
function s(e) {
|
|
102
|
-
this.$L = E(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[c] = !0;
|
|
103
|
-
}
|
|
104
|
-
var r = s.prototype;
|
|
105
|
-
return r.parse = function(e) {
|
|
106
|
-
this.$d = function(n) {
|
|
107
|
-
var t = n.date, i = n.utc;
|
|
108
|
-
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
109
|
-
if (l.u(t)) return /* @__PURE__ */ new Date();
|
|
110
|
-
if (t instanceof Date) return new Date(t);
|
|
111
|
-
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
112
|
-
var o = t.match(j);
|
|
113
|
-
if (o) {
|
|
114
|
-
var f = o[2] - 1 || 0, g = (o[7] || "0").substring(0, 3);
|
|
115
|
-
return i ? new Date(Date.UTC(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, g)) : new Date(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, g);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return new Date(t);
|
|
119
|
-
}(e), this.init();
|
|
120
|
-
}, r.init = function() {
|
|
121
|
-
var e = this.$d;
|
|
122
|
-
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
|
123
|
-
}, r.$utils = function() {
|
|
124
|
-
return l;
|
|
125
|
-
}, r.isValid = function() {
|
|
126
|
-
return this.$d.toString() !== S;
|
|
127
|
-
}, r.isSame = function(e, n) {
|
|
128
|
-
var t = m(e);
|
|
129
|
-
return this.startOf(n) <= t && t <= this.endOf(n);
|
|
130
|
-
}, r.isAfter = function(e, n) {
|
|
131
|
-
return m(e) < this.startOf(n);
|
|
132
|
-
}, r.isBefore = function(e, n) {
|
|
133
|
-
return this.endOf(n) < m(e);
|
|
134
|
-
}, r.$g = function(e, n, t) {
|
|
135
|
-
return l.u(e) ? this[n] : this.set(t, e);
|
|
136
|
-
}, r.unix = function() {
|
|
137
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
138
|
-
}, r.valueOf = function() {
|
|
139
|
-
return this.$d.getTime();
|
|
140
|
-
}, r.startOf = function(e, n) {
|
|
141
|
-
var t = this, i = !!l.u(n) || n, o = l.p(e), f = function(B, k) {
|
|
142
|
-
var H = l.w(t.$u ? Date.UTC(t.$y, k, B) : new Date(t.$y, k, B), t);
|
|
143
|
-
return i ? H : H.endOf(u);
|
|
144
|
-
}, g = function(B, k) {
|
|
145
|
-
return l.w(t.toDate()[B].apply(t.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(k)), t);
|
|
146
|
-
}, x = this.$W, T = this.$M, P = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
147
|
-
switch (o) {
|
|
148
|
-
case v:
|
|
149
|
-
return i ? f(1, 0) : f(31, 11);
|
|
150
|
-
case _:
|
|
151
|
-
return i ? f(1, T) : f(0, T + 1);
|
|
152
|
-
case y:
|
|
153
|
-
var q = this.$locale().weekStart || 0, X = (x < q ? x + 7 : x) - q;
|
|
154
|
-
return f(i ? P - X : P + (6 - X), T);
|
|
155
|
-
case u:
|
|
156
|
-
case O:
|
|
157
|
-
return g(z + "Hours", 0);
|
|
158
|
-
case C:
|
|
159
|
-
return g(z + "Minutes", 1);
|
|
160
|
-
case Y:
|
|
161
|
-
return g(z + "Seconds", 2);
|
|
162
|
-
case R:
|
|
163
|
-
return g(z + "Milliseconds", 3);
|
|
164
|
-
default:
|
|
165
|
-
return this.clone();
|
|
166
|
-
}
|
|
167
|
-
}, r.endOf = function(e) {
|
|
168
|
-
return this.startOf(e, !1);
|
|
169
|
-
}, r.$set = function(e, n) {
|
|
170
|
-
var t, i = l.p(e), o = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[u] = o + "Date", t[O] = o + "Date", t[_] = o + "Month", t[v] = o + "FullYear", t[C] = o + "Hours", t[Y] = o + "Minutes", t[R] = o + "Seconds", t[M] = o + "Milliseconds", t)[i], g = i === u ? this.$D + (n - this.$W) : n;
|
|
171
|
-
if (i === _ || i === v) {
|
|
172
|
-
var x = this.clone().set(O, 1);
|
|
173
|
-
x.$d[f](g), x.init(), this.$d = x.set(O, Math.min(this.$D, x.daysInMonth())).$d;
|
|
174
|
-
} else f && this.$d[f](g);
|
|
175
|
-
return this.init(), this;
|
|
176
|
-
}, r.set = function(e, n) {
|
|
177
|
-
return this.clone().$set(e, n);
|
|
178
|
-
}, r.get = function(e) {
|
|
179
|
-
return this[l.p(e)]();
|
|
180
|
-
}, r.add = function(e, n) {
|
|
181
|
-
var t, i = this;
|
|
182
|
-
e = Number(e);
|
|
183
|
-
var o = l.p(n), f = function(T) {
|
|
184
|
-
var P = m(i);
|
|
185
|
-
return l.w(P.date(P.date() + Math.round(T * e)), i);
|
|
186
|
-
};
|
|
187
|
-
if (o === _) return this.set(_, this.$M + e);
|
|
188
|
-
if (o === v) return this.set(v, this.$y + e);
|
|
189
|
-
if (o === u) return f(1);
|
|
190
|
-
if (o === y) return f(7);
|
|
191
|
-
var g = (t = {}, t[Y] = U, t[C] = V, t[R] = L, t)[o] || 1, x = this.$d.getTime() + e * g;
|
|
192
|
-
return l.w(x, this);
|
|
193
|
-
}, r.subtract = function(e, n) {
|
|
194
|
-
return this.add(-1 * e, n);
|
|
195
|
-
}, r.format = function(e) {
|
|
196
|
-
var n = this, t = this.$locale();
|
|
197
|
-
if (!this.isValid()) return t.invalidDate || S;
|
|
198
|
-
var i = e || "YYYY-MM-DDTHH:mm:ssZ", o = l.z(this), f = this.$H, g = this.$m, x = this.$M, T = t.weekdays, P = t.months, z = t.meridiem, q = function(k, H, ee, se) {
|
|
199
|
-
return k && (k[H] || k(n, i)) || ee[H].slice(0, se);
|
|
200
|
-
}, X = function(k) {
|
|
201
|
-
return l.s(f % 12 || 12, k, "0");
|
|
202
|
-
}, B = z || function(k, H, ee) {
|
|
203
|
-
var se = k < 12 ? "AM" : "PM";
|
|
204
|
-
return ee ? se.toLowerCase() : se;
|
|
205
|
-
};
|
|
206
|
-
return i.replace(F, function(k, H) {
|
|
207
|
-
return H || function(ee) {
|
|
208
|
-
switch (ee) {
|
|
209
|
-
case "YY":
|
|
210
|
-
return String(n.$y).slice(-2);
|
|
211
|
-
case "YYYY":
|
|
212
|
-
return l.s(n.$y, 4, "0");
|
|
213
|
-
case "M":
|
|
214
|
-
return x + 1;
|
|
215
|
-
case "MM":
|
|
216
|
-
return l.s(x + 1, 2, "0");
|
|
217
|
-
case "MMM":
|
|
218
|
-
return q(t.monthsShort, x, P, 3);
|
|
219
|
-
case "MMMM":
|
|
220
|
-
return q(P, x);
|
|
221
|
-
case "D":
|
|
222
|
-
return n.$D;
|
|
223
|
-
case "DD":
|
|
224
|
-
return l.s(n.$D, 2, "0");
|
|
225
|
-
case "d":
|
|
226
|
-
return String(n.$W);
|
|
227
|
-
case "dd":
|
|
228
|
-
return q(t.weekdaysMin, n.$W, T, 2);
|
|
229
|
-
case "ddd":
|
|
230
|
-
return q(t.weekdaysShort, n.$W, T, 3);
|
|
231
|
-
case "dddd":
|
|
232
|
-
return T[n.$W];
|
|
233
|
-
case "H":
|
|
234
|
-
return String(f);
|
|
235
|
-
case "HH":
|
|
236
|
-
return l.s(f, 2, "0");
|
|
237
|
-
case "h":
|
|
238
|
-
return X(1);
|
|
239
|
-
case "hh":
|
|
240
|
-
return X(2);
|
|
241
|
-
case "a":
|
|
242
|
-
return B(f, g, !0);
|
|
243
|
-
case "A":
|
|
244
|
-
return B(f, g, !1);
|
|
245
|
-
case "m":
|
|
246
|
-
return String(g);
|
|
247
|
-
case "mm":
|
|
248
|
-
return l.s(g, 2, "0");
|
|
249
|
-
case "s":
|
|
250
|
-
return String(n.$s);
|
|
251
|
-
case "ss":
|
|
252
|
-
return l.s(n.$s, 2, "0");
|
|
253
|
-
case "SSS":
|
|
254
|
-
return l.s(n.$ms, 3, "0");
|
|
255
|
-
case "Z":
|
|
256
|
-
return o;
|
|
257
|
-
}
|
|
258
|
-
return null;
|
|
259
|
-
}(k) || o.replace(":", "");
|
|
260
|
-
});
|
|
261
|
-
}, r.utcOffset = function() {
|
|
262
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
263
|
-
}, r.diff = function(e, n, t) {
|
|
264
|
-
var i, o = this, f = l.p(n), g = m(e), x = (g.utcOffset() - this.utcOffset()) * U, T = this - g, P = function() {
|
|
265
|
-
return l.m(o, g);
|
|
266
|
-
};
|
|
267
|
-
switch (f) {
|
|
268
|
-
case v:
|
|
269
|
-
i = P() / 12;
|
|
270
|
-
break;
|
|
271
|
-
case _:
|
|
272
|
-
i = P();
|
|
273
|
-
break;
|
|
274
|
-
case w:
|
|
275
|
-
i = P() / 3;
|
|
276
|
-
break;
|
|
277
|
-
case y:
|
|
278
|
-
i = (T - x) / 6048e5;
|
|
279
|
-
break;
|
|
280
|
-
case u:
|
|
281
|
-
i = (T - x) / 864e5;
|
|
282
|
-
break;
|
|
283
|
-
case C:
|
|
284
|
-
i = T / V;
|
|
285
|
-
break;
|
|
286
|
-
case Y:
|
|
287
|
-
i = T / U;
|
|
288
|
-
break;
|
|
289
|
-
case R:
|
|
290
|
-
i = T / L;
|
|
291
|
-
break;
|
|
292
|
-
default:
|
|
293
|
-
i = T;
|
|
294
|
-
}
|
|
295
|
-
return t ? i : l.a(i);
|
|
296
|
-
}, r.daysInMonth = function() {
|
|
297
|
-
return this.endOf(_).$D;
|
|
298
|
-
}, r.$locale = function() {
|
|
299
|
-
return a[this.$L];
|
|
300
|
-
}, r.locale = function(e, n) {
|
|
301
|
-
if (!e) return this.$L;
|
|
302
|
-
var t = this.clone(), i = E(e, n, !0);
|
|
303
|
-
return i && (t.$L = i), t;
|
|
304
|
-
}, r.clone = function() {
|
|
305
|
-
return l.w(this.$d, this);
|
|
306
|
-
}, r.toDate = function() {
|
|
307
|
-
return new Date(this.valueOf());
|
|
308
|
-
}, r.toJSON = function() {
|
|
309
|
-
return this.isValid() ? this.toISOString() : null;
|
|
310
|
-
}, r.toISOString = function() {
|
|
311
|
-
return this.$d.toISOString();
|
|
312
|
-
}, r.toString = function() {
|
|
313
|
-
return this.$d.toUTCString();
|
|
314
|
-
}, s;
|
|
315
|
-
}(), ae = N.prototype;
|
|
316
|
-
return m.prototype = ae, [["$ms", M], ["$s", R], ["$m", Y], ["$H", C], ["$W", u], ["$M", _], ["$y", v], ["$D", O]].forEach(function(s) {
|
|
317
|
-
ae[s[1]] = function(r) {
|
|
318
|
-
return this.$g(r, s[0], s[1]);
|
|
319
|
-
};
|
|
320
|
-
}), m.extend = function(s, r) {
|
|
321
|
-
return s.$i || (s(r, N, m), s.$i = !0), m;
|
|
322
|
-
}, m.locale = E, m.isDayjs = $, m.unix = function(s) {
|
|
323
|
-
return m(1e3 * s);
|
|
324
|
-
}, m.en = a[h], m.Ls = a, m.p = {}, m;
|
|
325
|
-
});
|
|
326
|
-
}(ie)), ie.exports;
|
|
327
|
-
}
|
|
328
|
-
var Je = ze();
|
|
329
|
-
const Ze = /* @__PURE__ */ je(Je);
|
|
330
|
-
var I = /* @__PURE__ */ ((D) => (D.ADD = "新增", D.EDIT = "修改", D.REMOVE = "删除", D))(I || {});
|
|
331
|
-
const Ge = { class: "pt-10px" }, Qe = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, Ke = {
|
|
332
|
-
key: 1,
|
|
333
|
-
class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
|
|
334
|
-
}, Xe = /* @__PURE__ */ ve({
|
|
335
|
-
name: "TenantEdit",
|
|
336
|
-
__name: "TenantEdit",
|
|
337
|
-
emits: ["submit"],
|
|
338
|
-
setup(D, { expose: A, emit: L }) {
|
|
339
|
-
const U = L, V = {
|
|
340
|
-
name: [
|
|
341
|
-
{ required: !0, message: "请输入名称", trigger: "blur" },
|
|
342
|
-
{ min: 2, max: 32, message: "租户名称长度不能少于2位,不能超过32位", trigger: "change" }
|
|
343
|
-
],
|
|
344
|
-
tenantCode: [
|
|
345
|
-
{ required: !0, message: "请输入编码", trigger: "blur" },
|
|
346
|
-
{ min: 2, max: 64, message: "租户编码长度不能少于2位,不能超过64位", trigger: "change" }
|
|
347
|
-
],
|
|
348
|
-
pubUserAdmin: [
|
|
349
|
-
{ required: !0, message: "请输入租户管理员", trigger: "blur" },
|
|
350
|
-
{ min: 2, max: 32, message: "租户管理员长度不能少于2位,不能超过32位", trigger: "change" }
|
|
351
|
-
],
|
|
352
|
-
resourceIds: [
|
|
353
|
-
{ type: "array", required: !0, message: "请选择所属资源", trigger: "change" }
|
|
354
|
-
]
|
|
355
|
-
}, M = Ie({
|
|
356
|
-
title: "",
|
|
357
|
-
record: {},
|
|
358
|
-
initData: {
|
|
359
|
-
enable: !0
|
|
360
|
-
}
|
|
361
|
-
}), [R, Y] = pe(!1), C = J(), u = J({ enable: !0 });
|
|
362
|
-
async function y(h, a) {
|
|
363
|
-
if (M.title = h, u.value = fe(M.initData), h === I.EDIT) {
|
|
364
|
-
const c = await Ve({ id: a.id });
|
|
365
|
-
if (c.success) {
|
|
366
|
-
const { tenantStartTime: $, tenantEndTime: E, ...m } = (c == null ? void 0 : c.data) ?? {};
|
|
367
|
-
u.value = {
|
|
368
|
-
...m,
|
|
369
|
-
tenantTime: [$, E]
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
Y(!0);
|
|
374
|
-
}
|
|
375
|
-
const [_, w] = pe(!1);
|
|
376
|
-
function v() {
|
|
377
|
-
var a;
|
|
378
|
-
const h = M.title === I.EDIT ? Be : Le;
|
|
379
|
-
(a = C.value) == null || a.validate().then(() => {
|
|
380
|
-
const { tenantTime: c, resourceIds: $ = [], ...E } = u.value, m = {
|
|
381
|
-
...E,
|
|
382
|
-
tenantStartTime: c == null ? void 0 : c[0],
|
|
383
|
-
tenantEndTime: c == null ? void 0 : c[1],
|
|
384
|
-
pubTenantResourcelist: $.map((l) => ({ resourceId: l }))
|
|
385
|
-
};
|
|
386
|
-
w(!0), h(m).then((l) => {
|
|
387
|
-
l.success && ($e.success(`${M.title}成功!`), Y(!1), U("submit"));
|
|
388
|
-
}).finally(() => w(!1));
|
|
389
|
-
});
|
|
390
|
-
}
|
|
391
|
-
const O = J(), S = J([]), j = Ce(() => {
|
|
392
|
-
var h;
|
|
393
|
-
return ((h = u.value.resourceIds) == null ? void 0 : h.map((a) => {
|
|
394
|
-
const c = re(S.value).find(($) => $.id === a);
|
|
395
|
-
return { name: (c == null ? void 0 : c.name) ?? "" };
|
|
396
|
-
})) ?? [];
|
|
397
|
-
});
|
|
398
|
-
function F() {
|
|
399
|
-
const h = u.value.resourceIds ?? [], a = S.value, c = re(a).reduce(($, E) => ($[E.id] = E.name, $), {});
|
|
400
|
-
O.value.open(h, a, c);
|
|
401
|
-
}
|
|
402
|
-
function Q(h = []) {
|
|
403
|
-
u.value.resourceIds = h.map((a) => a.id);
|
|
404
|
-
}
|
|
405
|
-
function K() {
|
|
406
|
-
Fe().then((h) => {
|
|
407
|
-
h.success && (S.value = h.data ?? []);
|
|
408
|
-
});
|
|
409
|
-
}
|
|
410
|
-
function re(h) {
|
|
411
|
-
const a = fe(h);
|
|
412
|
-
for (let c = 0; c < a.length; c++)
|
|
413
|
-
a[c].children && (a.splice(c + 1, 0, ...a[c].children), a[c].children = void 0);
|
|
414
|
-
return a;
|
|
415
|
-
}
|
|
416
|
-
return Oe(() => {
|
|
417
|
-
K();
|
|
418
|
-
}), A({
|
|
419
|
-
open: y
|
|
420
|
-
}), (h, a) => {
|
|
421
|
-
const c = ye, $ = De, E = xe, m = Me, l = he, N = We, ae = Te, s = be, r = ge, e = _e;
|
|
422
|
-
return W(), oe(e, {
|
|
423
|
-
open: d(R),
|
|
424
|
-
"onUpdate:open": a[9] || (a[9] = (n) => Ee(R) ? R.value = n : null),
|
|
425
|
-
title: `${d(M).title}租户`,
|
|
426
|
-
placement: "right",
|
|
427
|
-
width: 600,
|
|
428
|
-
"destroy-on-close": "",
|
|
429
|
-
"footer-style": { textAlign: "right" }
|
|
430
|
-
}, {
|
|
431
|
-
footer: b(() => [
|
|
432
|
-
p(r, null, {
|
|
433
|
-
default: b(() => [
|
|
434
|
-
p(l, {
|
|
435
|
-
onClick: a[7] || (a[7] = (n) => d(Y)(!1))
|
|
436
|
-
}, {
|
|
437
|
-
default: b(() => a[11] || (a[11] = [
|
|
438
|
-
te(" 取消 ")
|
|
439
|
-
])),
|
|
440
|
-
_: 1
|
|
441
|
-
/* STABLE */
|
|
442
|
-
}),
|
|
443
|
-
p(l, {
|
|
444
|
-
type: "primary",
|
|
445
|
-
loading: d(_),
|
|
446
|
-
onClick: a[8] || (a[8] = (n) => v())
|
|
447
|
-
}, {
|
|
448
|
-
default: b(() => a[12] || (a[12] = [
|
|
449
|
-
te(" 提交 ")
|
|
450
|
-
])),
|
|
451
|
-
_: 1
|
|
452
|
-
/* STABLE */
|
|
453
|
-
}, 8, ["loading"])
|
|
454
|
-
]),
|
|
455
|
-
_: 1
|
|
456
|
-
/* STABLE */
|
|
457
|
-
})
|
|
458
|
-
]),
|
|
459
|
-
default: b(() => [
|
|
460
|
-
p(s, {
|
|
461
|
-
ref_key: "formRef",
|
|
462
|
-
ref: C,
|
|
463
|
-
model: d(u),
|
|
464
|
-
rules: V,
|
|
465
|
-
"label-col": { span: 6 }
|
|
466
|
-
}, {
|
|
467
|
-
default: b(() => [
|
|
468
|
-
p($, {
|
|
469
|
-
label: "租户名称",
|
|
470
|
-
name: "name"
|
|
471
|
-
}, {
|
|
472
|
-
default: b(() => [
|
|
473
|
-
p(c, {
|
|
474
|
-
value: d(u).name,
|
|
475
|
-
"onUpdate:value": a[0] || (a[0] = (n) => d(u).name = n),
|
|
476
|
-
maxlength: 32,
|
|
477
|
-
placeholder: "请输入租户名称"
|
|
478
|
-
}, null, 8, ["value"])
|
|
479
|
-
]),
|
|
480
|
-
_: 1
|
|
481
|
-
/* STABLE */
|
|
482
|
-
}),
|
|
483
|
-
p($, {
|
|
484
|
-
label: "租户编码",
|
|
485
|
-
name: "tenantCode"
|
|
486
|
-
}, {
|
|
487
|
-
default: b(() => [
|
|
488
|
-
p(c, {
|
|
489
|
-
value: d(u).tenantCode,
|
|
490
|
-
"onUpdate:value": a[1] || (a[1] = (n) => d(u).tenantCode = n),
|
|
491
|
-
disabled: d(M).title === d(I).EDIT,
|
|
492
|
-
maxlength: 64,
|
|
493
|
-
placeholder: "请输入租户编码"
|
|
494
|
-
}, null, 8, ["value", "disabled"])
|
|
495
|
-
]),
|
|
496
|
-
_: 1
|
|
497
|
-
/* STABLE */
|
|
498
|
-
}),
|
|
499
|
-
p($, {
|
|
500
|
-
label: "开始至到期时间",
|
|
501
|
-
name: "tenantTime"
|
|
502
|
-
}, {
|
|
503
|
-
default: b(() => [
|
|
504
|
-
p(E, {
|
|
505
|
-
value: d(u).tenantTime,
|
|
506
|
-
"onUpdate:value": a[2] || (a[2] = (n) => d(u).tenantTime = n),
|
|
507
|
-
format: "YYYY-MM-DD",
|
|
508
|
-
"value-format": "YYYY-MM-DD"
|
|
509
|
-
}, null, 8, ["value"])
|
|
510
|
-
]),
|
|
511
|
-
_: 1
|
|
512
|
-
/* STABLE */
|
|
513
|
-
}),
|
|
514
|
-
p($, {
|
|
515
|
-
label: "二级域名",
|
|
516
|
-
name: "subDomain"
|
|
517
|
-
}, {
|
|
518
|
-
default: b(() => [
|
|
519
|
-
p(c, {
|
|
520
|
-
value: d(u).subDomain,
|
|
521
|
-
"onUpdate:value": a[3] || (a[3] = (n) => d(u).subDomain = n),
|
|
522
|
-
maxlength: 64,
|
|
523
|
-
placeholder: "请输入二级域名"
|
|
524
|
-
}, null, 8, ["value"])
|
|
525
|
-
]),
|
|
526
|
-
_: 1
|
|
527
|
-
/* STABLE */
|
|
528
|
-
}),
|
|
529
|
-
p($, {
|
|
530
|
-
label: "租户管理员",
|
|
531
|
-
name: "pubUserAdmin"
|
|
532
|
-
}, {
|
|
533
|
-
default: b(() => [
|
|
534
|
-
p(c, {
|
|
535
|
-
value: d(u).pubUserAdmin,
|
|
536
|
-
"onUpdate:value": a[4] || (a[4] = (n) => d(u).pubUserAdmin = n),
|
|
537
|
-
disabled: d(M).title === d(I).EDIT,
|
|
538
|
-
maxlength: 32,
|
|
539
|
-
placeholder: "请输入租户管理员"
|
|
540
|
-
}, null, 8, ["value", "disabled"])
|
|
541
|
-
]),
|
|
542
|
-
_: 1
|
|
543
|
-
/* STABLE */
|
|
544
|
-
}),
|
|
545
|
-
p($, { label: "是否启用" }, {
|
|
546
|
-
default: b(() => [
|
|
547
|
-
p(m, {
|
|
548
|
-
checked: d(u).enable,
|
|
549
|
-
"onUpdate:checked": a[5] || (a[5] = (n) => d(u).enable = n)
|
|
550
|
-
}, null, 8, ["checked"])
|
|
551
|
-
]),
|
|
552
|
-
_: 1
|
|
553
|
-
/* STABLE */
|
|
554
|
-
}),
|
|
555
|
-
p($, {
|
|
556
|
-
label: "所属资源",
|
|
557
|
-
name: "resourceIds"
|
|
558
|
-
}, {
|
|
559
|
-
default: b(() => {
|
|
560
|
-
var n;
|
|
561
|
-
return [
|
|
562
|
-
p(l, {
|
|
563
|
-
type: "primary",
|
|
564
|
-
onClick: a[6] || (a[6] = (t) => F())
|
|
565
|
-
}, {
|
|
566
|
-
default: b(() => a[10] || (a[10] = [
|
|
567
|
-
te(" 选择资源 ")
|
|
568
|
-
])),
|
|
569
|
-
_: 1
|
|
570
|
-
/* STABLE */
|
|
571
|
-
}),
|
|
572
|
-
te(
|
|
573
|
-
" (已选" + Z(((n = d(u).resourceIds) == null ? void 0 : n.length) ?? 0) + "条数据) ",
|
|
574
|
-
1
|
|
575
|
-
/* TEXT */
|
|
576
|
-
),
|
|
577
|
-
p(
|
|
578
|
-
N,
|
|
579
|
-
{
|
|
580
|
-
ref_key: "resourceRef",
|
|
581
|
-
ref: O,
|
|
582
|
-
onSelect: Q
|
|
583
|
-
},
|
|
584
|
-
null,
|
|
585
|
-
512
|
|
586
|
-
/* NEED_PATCH */
|
|
587
|
-
),
|
|
588
|
-
ue("div", Ge, [
|
|
589
|
-
(W(!0), G(
|
|
590
|
-
ce,
|
|
591
|
-
null,
|
|
592
|
-
Re(d(j), (t) => {
|
|
593
|
-
var i;
|
|
594
|
-
return W(), G(
|
|
595
|
-
ce,
|
|
596
|
-
{ key: t },
|
|
597
|
-
[
|
|
598
|
-
((i = t.name) == null ? void 0 : i.length) > 20 ? (W(), oe(ae, {
|
|
599
|
-
key: 0,
|
|
600
|
-
title: t.name
|
|
601
|
-
}, {
|
|
602
|
-
default: b(() => {
|
|
603
|
-
var o;
|
|
604
|
-
return [
|
|
605
|
-
ue(
|
|
606
|
-
"span",
|
|
607
|
-
Qe,
|
|
608
|
-
Z(`${(o = t.name) == null ? void 0 : o.slice(0, 20)}...`),
|
|
609
|
-
1
|
|
610
|
-
/* TEXT */
|
|
611
|
-
)
|
|
612
|
-
];
|
|
613
|
-
}),
|
|
614
|
-
_: 2
|
|
615
|
-
/* DYNAMIC */
|
|
616
|
-
}, 1032, ["title"])) : (W(), G(
|
|
617
|
-
"span",
|
|
618
|
-
Ke,
|
|
619
|
-
Z(t.name),
|
|
620
|
-
1
|
|
621
|
-
/* TEXT */
|
|
622
|
-
))
|
|
623
|
-
],
|
|
624
|
-
64
|
|
625
|
-
/* STABLE_FRAGMENT */
|
|
626
|
-
);
|
|
627
|
-
}),
|
|
628
|
-
128
|
|
629
|
-
/* KEYED_FRAGMENT */
|
|
630
|
-
))
|
|
631
|
-
])
|
|
632
|
-
];
|
|
633
|
-
}),
|
|
634
|
-
_: 1
|
|
635
|
-
/* STABLE */
|
|
636
|
-
})
|
|
637
|
-
]),
|
|
638
|
-
_: 1
|
|
639
|
-
/* STABLE */
|
|
640
|
-
}, 8, ["model"])
|
|
641
|
-
]),
|
|
642
|
-
_: 1
|
|
643
|
-
/* STABLE */
|
|
644
|
-
}, 8, ["open", "title"]);
|
|
645
|
-
};
|
|
646
|
-
}
|
|
647
|
-
}), et = {
|
|
648
|
-
"py-10px": "",
|
|
649
|
-
"px-10px": "",
|
|
650
|
-
"w-full": "",
|
|
651
|
-
"h-full": ""
|
|
652
|
-
}, tt = ["onClick"], nt = {
|
|
653
|
-
class: "ml-4px"
|
|
654
|
-
}, rt = ["onClick"], at = {
|
|
655
|
-
class: "ml-4px"
|
|
656
|
-
}, vt = /* @__PURE__ */ ve({
|
|
657
|
-
name: "Tenant",
|
|
658
|
-
__name: "index",
|
|
659
|
-
setup(D) {
|
|
660
|
-
const {
|
|
661
|
-
auth: A
|
|
662
|
-
} = we(), L = J(), U = J();
|
|
663
|
-
function V() {
|
|
664
|
-
L.value.reload();
|
|
665
|
-
}
|
|
666
|
-
function M(u) {
|
|
667
|
-
return u ? Ze(u).format("YYYY-MM-DD") : null;
|
|
668
|
-
}
|
|
669
|
-
async function R(u) {
|
|
670
|
-
var j, F;
|
|
671
|
-
const {
|
|
672
|
-
current: y,
|
|
673
|
-
pageSize: _,
|
|
674
|
-
tenantStartTime: w,
|
|
675
|
-
tenantEndTime: v,
|
|
676
|
-
...O
|
|
677
|
-
} = u, S = await qe({
|
|
678
|
-
currentPage: y,
|
|
679
|
-
pageSize: _,
|
|
680
|
-
tenantStartTime: M(w == null ? void 0 : w[0]),
|
|
681
|
-
tenantStartTimeEnd: M(w == null ? void 0 : w[1]),
|
|
682
|
-
tenantEndTimeStart: M(v == null ? void 0 : v[0]),
|
|
683
|
-
tenantEndTimeEnd: M(v == null ? void 0 : v[1]),
|
|
684
|
-
...O
|
|
685
|
-
});
|
|
686
|
-
return {
|
|
687
|
-
success: S.success,
|
|
688
|
-
data: ((j = S.data) == null ? void 0 : j.records) ?? [],
|
|
689
|
-
total: ((F = S.data) == null ? void 0 : F.total) ?? 0
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
const Y = [{
|
|
693
|
-
valueType: "a-input",
|
|
694
|
-
minWidth: 200,
|
|
695
|
-
title: "租户名称",
|
|
696
|
-
dataIndex: "name",
|
|
697
|
-
ellipsis: !0,
|
|
698
|
-
fieldProps: {
|
|
699
|
-
placeholder: "请输入租户名称",
|
|
700
|
-
allowClear: !0
|
|
701
|
-
}
|
|
702
|
-
}, {
|
|
703
|
-
valueType: "a-input",
|
|
704
|
-
minWidth: 200,
|
|
705
|
-
title: "租户编码",
|
|
706
|
-
dataIndex: "tenantCode",
|
|
707
|
-
ellipsis: !0,
|
|
708
|
-
fieldProps: {
|
|
709
|
-
placeholder: "请输入租户编码",
|
|
710
|
-
allowClear: !0
|
|
711
|
-
}
|
|
712
|
-
}, {
|
|
713
|
-
valueType: "a-range-picker",
|
|
714
|
-
minWidth: 200,
|
|
715
|
-
title: "开始时间",
|
|
716
|
-
dataIndex: "tenantStartTime",
|
|
717
|
-
ellipsis: !0,
|
|
718
|
-
fieldProps: {
|
|
719
|
-
allowClear: !0
|
|
720
|
-
}
|
|
721
|
-
}, {
|
|
722
|
-
valueType: "a-range-picker",
|
|
723
|
-
minWidth: 200,
|
|
724
|
-
title: "到期时间",
|
|
725
|
-
dataIndex: "tenantEndTime",
|
|
726
|
-
ellipsis: !0,
|
|
727
|
-
fieldProps: {
|
|
728
|
-
allowClear: !0
|
|
729
|
-
}
|
|
730
|
-
}, {
|
|
731
|
-
minWidth: 200,
|
|
732
|
-
title: "二级域名",
|
|
733
|
-
dataIndex: "subDomain",
|
|
734
|
-
ellipsis: !0,
|
|
735
|
-
hideInSearch: !0
|
|
736
|
-
}, {
|
|
737
|
-
hideInSearch: !0,
|
|
738
|
-
minWidth: 80,
|
|
739
|
-
title: "状态",
|
|
740
|
-
dataIndex: "enable",
|
|
741
|
-
customRender: ({
|
|
742
|
-
text: u
|
|
743
|
-
}) => u ? p(de, {
|
|
744
|
-
status: "success",
|
|
745
|
-
text: "正常"
|
|
746
|
-
}, null) : p(de, {
|
|
747
|
-
status: "error",
|
|
748
|
-
text: "关闭"
|
|
749
|
-
}, null)
|
|
750
|
-
}, {
|
|
751
|
-
hideInSearch: !0,
|
|
752
|
-
width: 160,
|
|
753
|
-
title: "操作",
|
|
754
|
-
dataIndex: "action",
|
|
755
|
-
fixed: "right",
|
|
756
|
-
hideInTable() {
|
|
757
|
-
return !A(["tenant_edit", "tenant_remove"]);
|
|
758
|
-
}
|
|
759
|
-
}];
|
|
760
|
-
function C(u, y) {
|
|
761
|
-
switch (u) {
|
|
762
|
-
case I.EDIT:
|
|
763
|
-
U.value.open(u, y);
|
|
764
|
-
break;
|
|
765
|
-
case I.ADD:
|
|
766
|
-
U.value.open(u);
|
|
767
|
-
break;
|
|
768
|
-
case I.REMOVE:
|
|
769
|
-
Ue.confirm({
|
|
770
|
-
title: "删除",
|
|
771
|
-
content: "确定要删除该租户吗?",
|
|
772
|
-
onOk() {
|
|
773
|
-
He({
|
|
774
|
-
id: y == null ? void 0 : y.id
|
|
775
|
-
}).then((_) => {
|
|
776
|
-
_.success && ($e.success("删除成功"), V());
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
});
|
|
780
|
-
break;
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
return (u, y) => {
|
|
784
|
-
const _ = ke, w = he, v = Se, O = ge, S = Ye("auth");
|
|
785
|
-
return W(), G("div", et, [p(
|
|
786
|
-
d(Ae),
|
|
787
|
-
{
|
|
788
|
-
ref_key: "tableRef",
|
|
789
|
-
ref: L,
|
|
790
|
-
"row-key": "id",
|
|
791
|
-
request: R,
|
|
792
|
-
columns: Y,
|
|
793
|
-
"auto-height": "",
|
|
794
|
-
scroll: {
|
|
795
|
-
x: 1100
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
toolbar: b(() => [le((W(), oe(w, {
|
|
800
|
-
type: "primary",
|
|
801
|
-
onClick: y[0] || (y[0] = (j) => C(d(I).ADD))
|
|
802
|
-
}, {
|
|
803
|
-
default: b(() => [p(_), te(
|
|
804
|
-
" " + Z(d(I).ADD),
|
|
805
|
-
1
|
|
806
|
-
/* TEXT */
|
|
807
|
-
)]),
|
|
808
|
-
_: 1
|
|
809
|
-
/* STABLE */
|
|
810
|
-
})), [[S, "tenant_add"]])]),
|
|
811
|
-
bodyCell: b(({
|
|
812
|
-
column: j,
|
|
813
|
-
record: F
|
|
814
|
-
}) => [j.dataIndex === "action" ? (W(), oe(
|
|
815
|
-
O,
|
|
816
|
-
{
|
|
817
|
-
key: 0
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
default: b(() => [le((W(), G("a", {
|
|
821
|
-
class: "flex items-center",
|
|
822
|
-
onClick: (Q) => C(d(I).EDIT, F)
|
|
823
|
-
}, [p(v, {
|
|
824
|
-
name: "edit",
|
|
825
|
-
class: "text-base"
|
|
826
|
-
}), ue(
|
|
827
|
-
"span",
|
|
828
|
-
nt,
|
|
829
|
-
Z(d(I).EDIT),
|
|
830
|
-
1
|
|
831
|
-
/* TEXT */
|
|
832
|
-
)], 8, tt)), [[S, "tenant_edit"]]), le((W(), G("span", {
|
|
833
|
-
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
834
|
-
onClick: (Q) => C(d(I).REMOVE, F)
|
|
835
|
-
}, [p(v, {
|
|
836
|
-
name: "remove",
|
|
837
|
-
class: "text-base"
|
|
838
|
-
}), ue(
|
|
839
|
-
"span",
|
|
840
|
-
at,
|
|
841
|
-
Z(d(I).REMOVE),
|
|
842
|
-
1
|
|
843
|
-
/* TEXT */
|
|
844
|
-
)], 8, rt)), [[S, "tenant_remove"]])]),
|
|
845
|
-
_: 2
|
|
846
|
-
/* DYNAMIC */
|
|
847
|
-
},
|
|
848
|
-
1024
|
|
849
|
-
/* DYNAMIC_SLOTS */
|
|
850
|
-
)) : Pe("v-if", !0)]),
|
|
851
|
-
_: 1
|
|
852
|
-
/* STABLE */
|
|
853
|
-
},
|
|
854
|
-
512
|
|
855
|
-
/* NEED_PATCH */
|
|
856
|
-
), p(
|
|
857
|
-
Xe,
|
|
858
|
-
{
|
|
859
|
-
ref_key: "drawerRef",
|
|
860
|
-
ref: U,
|
|
861
|
-
onSubmit: y[1] || (y[1] = (j) => V())
|
|
862
|
-
},
|
|
863
|
-
null,
|
|
864
|
-
512
|
|
865
|
-
/* NEED_PATCH */
|
|
866
|
-
)]);
|
|
867
|
-
};
|
|
868
|
-
}
|
|
869
|
-
});
|
|
870
|
-
export {
|
|
871
|
-
vt as default
|
|
872
|
-
};
|