@utogether/udp-core 2.0.0-beta.1 → 2.0.0-beta.4
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/{403-CTJDBjz7.js → 403-CekcmGOc.js} +3 -3
- package/dist/403-CxOqlq0f-C28ufSE6.js +65 -0
- package/dist/403-WCboRvzZ-ZAPgYStl-Ck7rlpC9.js +65 -0
- package/dist/404-2V0Qi-d7-DkNwQggp-3kilva5o.js +65 -0
- package/dist/{404-BFYkWIkQ.js → 404-DeSH9KnK.js} +1 -1
- package/dist/404-xdB6lFeQ-DRhUFuKU.js +65 -0
- package/dist/500-BYfzvixf-CGpEieyQ-DLrc9brB.js +67 -0
- package/dist/500-C94bRK2S-_XtNljMI.js +67 -0
- package/dist/{500-DGG3qadg.js → 500-DHOHlmtv.js} +2 -2
- package/dist/{AuthorityInfo-ozZIo1Te.js → AuthorityInfo-BC8U3Zk4.js} +1 -1
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5-ChKFxbGl.js +4 -0
- package/dist/AuthorityInfo-Dy3b_nFN-BBC0HKlV.js +4 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY-BgLN7Lgx.js +100 -0
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js +100 -0
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DujerENw.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DVFi0qOJ.js} +2 -2
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE-DAeYw45g.js +4 -0
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +4 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js +114 -0
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +114 -0
- package/dist/Company-B4vsXy2I-CkNCOqjJ-PjoD0ztY.js +25 -0
- package/dist/{Company-6VJtwh23.js → Company-Byq4p14C.js} +3 -3
- package/dist/Company-gKkfnhLt-BReGxz7n.js +25 -0
- package/dist/CompanyPanel-BF5Pc35s-CtpymP6a.js +206 -0
- package/dist/{CompanyPanel-B2P488mq.js → CompanyPanel-CIHP7rVd.js} +7 -7
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_-mYpxegRQ.js +206 -0
- package/dist/DataSet-DT-rGICv-DaUfgbxk-YztlXv7w.js +147 -0
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +147 -0
- package/dist/{Department-BnwoLEOC.js → Department-CxgSq34X.js} +3 -3
- package/dist/Department-D0I3QVZe-CfWPT-lY.js +25 -0
- package/dist/Department-D0dVUrGC-C6HJcYI1-DhAtBQym.js +25 -0
- package/dist/DepartmentPanel-2LHODgc7--VCCaEsu.js +254 -0
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js +254 -0
- package/dist/{DepartmentPanel-CRrrmxtv.js → DepartmentPanel-hYNqywSQ.js} +22 -22
- package/dist/DesignPanel-CtF3cAAQ-FM7zpexb.js +4 -0
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1-7p3ouXrw.js +4 -0
- package/dist/{DesignPanel-CvbccgX2.js → DesignPanel-GEhqXIAx.js} +1 -1
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY-CoM_RAUN.js +1013 -0
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt-CcCVpy0f.js +1013 -0
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dz2tUszs.js → DesignPanel.vue_vue_type_style_index_0_lang-DxA6H5Ts.js} +3 -3
- package/dist/DictView-BzQLOf_P-DDicwdmM-B8CFC279.js +111 -0
- package/dist/DictView-H3V5hxg3-BQZWN2zT.js +111 -0
- package/dist/{DictView-Ce1LoVHh.js → DictView-tyGrHFO8.js} +1 -1
- package/dist/InvOrganization-BiGLnbqe-BK3vgYYR.js +74 -0
- package/dist/{InvOrganization-BwCFZO1X.js → InvOrganization-DjJ4XkxN.js} +2 -2
- package/dist/InvOrganization-atbhw0CI-BABbVt9V-BT8PkfWL.js +74 -0
- package/dist/{Org-0hzs6b0R.js → Org-3eHX7nBU.js} +2 -2
- package/dist/Org-BW1YHG-Q-Cow7JWlD-C7ygI7jx.js +39 -0
- package/dist/Org-DQTCQHNY-CEEpGGlZ.js +39 -0
- package/dist/{Preview--DnEAhwh.js → Preview-Cgc3O8vp.js} +1 -1
- package/dist/Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js +48 -0
- package/dist/Preview-DXaiis29-BYyNhC1p.js +48 -0
- package/dist/ReportDefine-BLh4CiER-D68a0DWB.js +10 -0
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q-BL5gB56o.js +10 -0
- package/dist/{ReportDefine-Cu983bTN.js → ReportDefine-FYxHLbPV.js} +1 -1
- package/dist/{ReportDesign-QsWXXgvo.js → ReportDesign-BTOVgMzz.js} +7 -7
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp-DTsrU_wq.js +165 -0
- package/dist/ReportDesign-Ni1YxrLC-DfziOJc3.js +165 -0
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda-c9iy6TZ_.js +75 -0
- package/dist/ReportQuery-C8G88_qF-BKknwX1u.js +75 -0
- package/dist/{ReportQuery-BjKIIhPu.js → ReportQuery-Dhy9sk04.js} +1 -1
- package/dist/{ReportQueryFrom-DIjBO6Fx.js → ReportQueryFrom-B1TE8lOG.js} +1 -1
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy-Cq4havLh.js +4 -0
- package/dist/ReportQueryFrom-CuZKPtB4-B_TaZr-N.js +4 -0
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW-CdTqG6KF.js +178 -0
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-0T62cUMK.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-D93NL2N7.js} +7 -7
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl-kdXwDD3n.js +178 -0
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w-txJDRw_J.js +161 -0
- package/dist/{ReportTemplate-2uk9tJcy.js → ReportTemplate-C-EuU7mL.js} +8 -8
- package/dist/ReportTemplate-DFnDXWmx-QQkaZRvV.js +161 -0
- package/dist/Role-BQ7hsfPn-BLwTiMMj.js +25 -0
- package/dist/Role-ByB0WbxW-5E8Mb148-WoZV4JKV.js +25 -0
- package/dist/{Role-_QP8QEaI.js → Role-Dc1dZ0o9.js} +3 -3
- package/dist/{RoleAssign-C2gkcmEQ.js → RoleAssign-DDv65izq.js} +3 -3
- package/dist/RoleAssign-DW6iC_0v-Bis61auk-BB4DziuB.js +26 -0
- package/dist/RoleAssign-UPCg2d4G-g4V-duK9.js +26 -0
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX-D28vR3Fh.js +4 -0
- package/dist/RolePanel-C-mQ5XRq-JQYWITkX.js +4 -0
- package/dist/{RolePanel-vnl_lXNY.js → RolePanel-CiDM8OSr.js} +1 -1
- package/dist/RolePanel-ClQy8DBL-DARL4O-o-DrElGZ66.js +4 -0
- package/dist/RolePanel-CoSXOCZN-BdCEhz3b.js +4 -0
- package/dist/{RolePanel-B8FPNGaA.js → RolePanel-Dw_pTEGV.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI-Bsk0Mun8.js +132 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF-CMTLt3Lp.js +154 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-bxHXrBYl.js → RolePanel.vue_vue_type_script_setup_true_lang-CG_KY7NS.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BuQbYEEI.js → RolePanel.vue_vue_type_script_setup_true_lang-Ctq1lItN.js} +8 -8
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8-DPs8J-8D.js +132 -0
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy-vZfwM6bG.js +154 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js +100 -0
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js +100 -0
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-C6yZXBqB.js → ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js} +1 -1
- package/dist/Staff-CuxzvhD9-D0KTcyRh-Cj8NbX79.js +25 -0
- package/dist/Staff-D-CmvG1R-uwSWH8-m.js +25 -0
- package/dist/{Staff-CHWrMIEb.js → Staff-DMh451jL.js} +3 -3
- package/dist/{StaffInfo-Cpq2eayz.js → StaffInfo-2PhYcVaz.js} +1 -1
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp-C8POP58u.js +4 -0
- package/dist/StaffInfo-Idhvuc6e-COVQmEz0.js +4 -0
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BVCjF2i1.js → StaffInfo.vue_vue_type_script_setup_true_lang-CrCFms3g.js} +1 -1
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn-p0kltEdZ.js +108 -0
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU-Cj9lcXG6.js +108 -0
- package/dist/{StaffPanel-D2BMXt5p.js → StaffPanel-BrvkXT68.js} +1 -1
- package/dist/StaffPanel-CDDmAYE5-mLPGD2Nf.js +4 -0
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc-AX54GdZ3.js +4 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js +143 -0
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js +143 -0
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-B6jAGo-g.js → StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js} +42 -42
- package/dist/SysUser-9Q2UJWhi-DprWXFlR-DUMl4Hfm.js +15 -0
- package/dist/{SysUser-om6H1BeC.js → SysUser-DLDd5do7.js} +2 -2
- package/dist/SysUser-a-j5bppr-CpP0s5DW.js +15 -0
- package/dist/SysUserPanel-6V232wwB-DI8apzmL.js +4 -0
- package/dist/{SysUserPanel-CH0HPP7h.js → SysUserPanel-DDQxi2Hk.js} +1 -1
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs-DEXctwBe.js +4 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy-CD9JQp9h.js +356 -0
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen-BBtBr0VU.js +356 -0
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-Dpl13ee0.js → SysUserPanel.vue_vue_type_script_setup_true_lang-DvOggZs6.js} +2 -2
- package/dist/SystemMenu-BnVeOSOQ-6HW3jX57.js +156 -0
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i-DIUNb03s.js +156 -0
- package/dist/{SystemMenu-BkG_DKxA.js → SystemMenu-nFNfz4Nj.js} +7 -7
- package/dist/{UserInfo-D9croxUe.js → UserInfo-B9PLKur5.js} +1 -1
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U-DEerO-y3.js +4 -0
- package/dist/UserInfo-Cax9b2nw-DBResyaY.js +4 -0
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js +160 -0
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-DLIP8xpN.js → UserInfo.vue_vue_type_style_index_0_lang-BwZNwtQH.js} +2 -2
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9-B2nI6TLi.js +160 -0
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js +10 -0
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +10 -0
- package/dist/await-to-js.es5-Bv3Eu4mi.js +10 -0
- package/dist/childView-0YZQ6GBn-CEqg7k5d-CDGM_XzZ.js +4 -0
- package/dist/{childView-BY_Ip-l1.js → childView-BEDVB_RG.js} +1 -1
- package/dist/{childView-CHp_TueS.js → childView-BRa268Qh.js} +1 -1
- package/dist/childView-DKG3eZo8-CCtKjCU7.js +4 -0
- package/dist/childView-DKkgi3yo-D47ft-vi-B5yI8Dk7.js +4 -0
- package/dist/childView-siumuBz0-CyYKsSPy.js +4 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js +143 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-BNHbDRjt.js → childView.vue_vue_type_style_index_0_lang-BcyosNSH.js} +8 -8
- package/dist/childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js +180 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js +143 -0
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js +180 -0
- package/dist/{childView.vue_vue_type_style_index_0_lang-CbjGf7Z7.js → childView.vue_vue_type_style_index_0_lang-qsceJGeR.js} +8 -8
- package/dist/{code-rule-Ce6yWqCq.js → code-rule-CJ4FuOo1.js} +2 -2
- package/dist/code-rule-Dtoree6F-B4yeNvFw.js +148 -0
- package/dist/code-rule-wQyfgpNL-C4evD4Co-BOJCC1LY.js +148 -0
- package/dist/core.es.js +10 -10
- package/dist/cron-task-C-kryDtd-C0NuGZCe-DIJuoNx-.js +135 -0
- package/dist/{cron-task-DziaH0rI.js → cron-task-CXnv7hIa.js} +2 -2
- package/dist/cron-task-GSRgA7S5-D_xfN2g_.js +135 -0
- package/dist/flow-task-B07st2aD-CgQvagSQ-BaPlX6ds.js +10 -0
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +10 -0
- package/dist/frameView-BOGA3ezf-QoSxzmSQ-BWs9F5mT.js +44 -0
- package/dist/frameView-Cy6wxW0K-BLdNZaGh.js +44 -0
- package/dist/{frameView-DNeCVQaY.js → frameView-g5e9PYdE.js} +1 -1
- package/dist/{index-BabfUVv_.js → index-BEAth5RR.js} +1057 -1033
- package/dist/layout-home-3Dy4onl4-COK554mq.js +228 -0
- package/dist/layout-home-CYHksXN_-Basy-3IH-Dnun4YUs.js +228 -0
- package/dist/layout-home-bl3JShSF.js +232 -0
- package/dist/layoutView-BaRvAbIa-xVgfqspc-zL46XaoI.js +3302 -0
- package/dist/layoutView-DMjNscJ--DvK2S5BQ.js +3302 -0
- package/dist/{layoutView-12Mlp9A2.js → layoutView-DmM9xk-X.js} +8 -8
- package/dist/log-in-Cx1dGik8-BVeEHeZ8-D7mV8pl4.js +117 -0
- package/dist/log-in-VAG6Cvcx-B6arurXx.js +117 -0
- package/dist/{log-in-1NGaA5OM.js → log-in-eGoxFTDE.js} +8 -8
- package/dist/log-out-COYdxrNC-ftopGZdE-Ch_UgXZv.js +130 -0
- package/dist/{log-out-B8_atGcQ.js → log-out-CthD_tSk.js} +4 -4
- package/dist/log-out-DZGaMCjC-OztBlMPh.js +130 -0
- package/dist/login-CqVMdNHs-CRJ-LWAK.js +241 -0
- package/dist/login-Dg9ofNS8-Bocp1XMA-DY4y3cAG.js +241 -0
- package/dist/{login-5dydO6GR.js → login-Dn7iO3SU.js} +16 -16
- package/dist/login-log-DJBGJVV0-AoOyj0jD-AoOyj0jD.js +70 -0
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +70 -0
- package/dist/{lov-view-DPvGUu3h.js → lov-view-Bt23RK6S.js} +7 -7
- package/dist/lov-view-C0T5prk8-B2DBmn55-BvzOsVW8.js +97 -0
- package/dist/lov-view-Cc68_28B-y4f2SzBr.js +97 -0
- package/dist/{menuInfo-DVADYfEK.js → menuInfo-BEmcSaIX.js} +1 -1
- package/dist/menuInfo-BIrIaJlH-Bxn4KTWH.js +4 -0
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC-BK5n3Shr.js +4 -0
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js +363 -0
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DgsifDrm.js → menuInfo.vue_vue_type_style_index_0_lang-CVuG-x2a.js} +2 -2
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js +363 -0
- package/dist/{pda-app-BZXs-2BQ.js → pda-app-BKfXoKAs.js} +9 -9
- package/dist/pda-app-DnjphrRS-4tIZDsnN.js +710 -0
- package/dist/pda-app-m9hsppHo-B4xyja1o-9mD3zI7J.js +710 -0
- package/dist/redirect-BqegffKC-CBCIuqmz-46JkXpSM.js +15 -0
- package/dist/redirect-BqegffKC-CBCIuqmz.js +15 -0
- package/dist/resource-C6KEIXu--B_ddyecm-CFF-A4cr.js +97 -0
- package/dist/{resource-BZA9NFKc.js → resource-CshrvEYp.js} +4 -4
- package/dist/resource-DISgPDM7-C4P8jqU0.js +97 -0
- package/dist/su-welcome-BjbuSrBZ-DrInu823.js +49339 -0
- package/dist/su-welcome-CYYy-dzr-D3RKPoB0-DhP783YJ.js +42089 -0
- package/dist/su-welcome-t7YusM3U.js +49427 -0
- package/dist/sys-config-DCjJGtht-DARDjlrt-Dx8559bf.js +370 -0
- package/dist/{sys-config-DQmNjWH4.js → sys-config-Jqj3l7NK.js} +13 -13
- package/dist/sys-config-Yc9vh1t1-B3bJPd9S.js +370 -0
- package/dist/udp-core.css +1 -1
- package/dist/utogether-MlnyYtNS-CGgjFNPS-CGgjFNPS.js +4 -0
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +4 -0
- package/package.json +5 -2
- package/src/App.vue +71 -71
- package/src/components/udp/content/index.vue +88 -88
- package/src/components/udp/form-upload/form-upload.vue +492 -492
- package/src/components/udp/grid/index.vue +524 -524
- package/src/components/udp/index.ts +6 -6
- package/src/components/udp/ut-stamp-badge/index.vue +271 -271
- package/src/components/udp/utils.ts +408 -408
- package/src/layout/components/lay-content/index.vue +136 -136
- package/src/layout/components/lay-search/components/SearchModal.vue +181 -189
- package/src/layout/components/lay-setting/index.vue +503 -503
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -101
- package/src/layout/components/lay-tag/index.vue +598 -598
- package/src/layout/hooks/useNav.ts +176 -176
- package/src/layout/hooks/useTag.ts +227 -227
- package/src/layout/layoutView.vue +216 -216
- package/src/layout/types.ts +93 -93
- package/src/main.ts +111 -112
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +968 -968
- package/src/router/index.ts +187 -187
- package/src/router/modules/home.ts +32 -32
- package/src/router/utils.ts +420 -420
- package/src/store/modules/epTheme.ts +48 -48
- package/src/style/vxetable.scss +364 -356
- package/src/utils/dataFormat/index.ts +222 -222
- package/src/utils/lifecycle.ts +39 -39
- package/src/views/organization/department/DepartmentPanel.vue +303 -303
- package/src/views/organization/staff/StaffInfo.vue +127 -127
- package/src/views/organization/staff/StaffPanel.vue +3 -3
- package/src/views/system/layout/layout-home.vue +46 -7
- package/src/views/system/menu/AuthorityPanel.vue +141 -141
- package/src/views/system/menu/SystemMenu.vue +194 -194
- package/src/views/system/menu/menuInfo.vue +1 -1
- package/src/views/system/sysUser/SysUserPanel.vue +363 -363
- package/src/views/udev/coderule/code-rule.vue +132 -132
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +184 -184
- package/src/views/udev/lov/childView.vue +174 -174
- package/src/views/uhome/components/common-menu.vue +118 -0
- package/src/views/uhome/components/dynamic-component.vue +66 -0
- package/src/views/uhome/components/home-todo.vue +171 -0
- package/src/views/uhome/components/menu-favorite.vue +315 -315
- package/src/views/uhome/dynamic-card.vue +18 -19
- package/src/views/uhome/su-welcome.vue +47 -117
- package/src/views/ulogin/login.vue +336 -336
- package/src/views/upms/interface/log-in.vue +100 -100
- package/src/views/upms/interface/log-out.vue +104 -104
- package/src/views/upms/user/login-log.vue +54 -54
- package/types/global.d.ts +232 -232
- package/dist/await-to-js.es5-BtRbN2QH.js +0 -10
- package/dist/layout-home-Cis1KlEr.js +0 -195
- package/dist/su-welcome-BXe6Cdp3.js +0 -580
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as re, reactive as ne, ref as v, inject as ie, createVNode as o, Fragment as x, resolveComponent as r, onMounted as de, createElementBlock as S, openBlock as h, createBlock as N, createCommentVNode as $, withCtx as u, renderList as ue, unref as me } from "vue";
|
|
2
2
|
import { useI18n as ce } from "vue-i18n";
|
|
3
|
-
import { t as M } from "./await-to-js.es5-
|
|
3
|
+
import { t as M } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
4
4
|
import { useRender as fe, warnMessage as pe, delay as ge, errorMessage as he, getDictChildren as we } from "@utogether/utils";
|
|
5
5
|
import { VxeUI as _ } from "vxe-pc-ui";
|
|
6
6
|
import { clone as U, isEmpty as ve } from "xe-utils";
|
|
7
|
-
import {
|
|
7
|
+
import { g as _e } from "./index-BEAth5RR.js";
|
|
8
8
|
const ye = {
|
|
9
9
|
class: "page"
|
|
10
10
|
}, i = "/uums/user", xe = /* @__PURE__ */ re({
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { defineComponent as k, reactive as D, ref as I, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as E, openBlock as N } from "vue";
|
|
2
|
+
import { useI18n as B } from "vue-i18n";
|
|
3
|
+
import { i as W } from "./menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js";
|
|
4
|
+
import { B as R } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js";
|
|
5
|
+
import { clone as f } from "xe-utils";
|
|
6
|
+
import { c as A } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
7
|
+
import { VxeUI as L } from "vxe-pc-ui";
|
|
8
|
+
import { useRender as P } from "@utogether/utils";
|
|
9
|
+
import { W as z } from "./su-welcome-t7YusM3U.js";
|
|
10
|
+
const M = {
|
|
11
|
+
class: "page-content"
|
|
12
|
+
}, U = {
|
|
13
|
+
name: "SystemMenu"
|
|
14
|
+
}, H = /* @__PURE__ */ k({
|
|
15
|
+
...U,
|
|
16
|
+
setup(F) {
|
|
17
|
+
const r = D({
|
|
18
|
+
record: {},
|
|
19
|
+
dataList: [],
|
|
20
|
+
submitLoading: !1,
|
|
21
|
+
showDrawer: !1,
|
|
22
|
+
dataStatus: "",
|
|
23
|
+
total: 0,
|
|
24
|
+
listQuery: {
|
|
25
|
+
pageSize: 10,
|
|
26
|
+
pageNum: 1
|
|
27
|
+
}
|
|
28
|
+
}), {
|
|
29
|
+
t: w
|
|
30
|
+
} = B(), g = P(), l = z(), n = I(null), a = "/uums/menu";
|
|
31
|
+
let s;
|
|
32
|
+
const y = [{
|
|
33
|
+
type: "checkbox",
|
|
34
|
+
width: 50,
|
|
35
|
+
align: "center"
|
|
36
|
+
}, {
|
|
37
|
+
field: "menuName",
|
|
38
|
+
minWidth: 220,
|
|
39
|
+
treeNode: !0
|
|
40
|
+
}, {
|
|
41
|
+
field: "menuNameEn",
|
|
42
|
+
minWidth: 180
|
|
43
|
+
}, {
|
|
44
|
+
field: "sort",
|
|
45
|
+
width: 70
|
|
46
|
+
}, {
|
|
47
|
+
field: "menuCode",
|
|
48
|
+
minWidth: 220
|
|
49
|
+
}, {
|
|
50
|
+
field: "permissionCode",
|
|
51
|
+
minWidth: 180
|
|
52
|
+
}, {
|
|
53
|
+
field: "menuCategory",
|
|
54
|
+
title: "message.menuType",
|
|
55
|
+
formatter: ["formatDict", "SU.MENU.TYPE"],
|
|
56
|
+
width: 100
|
|
57
|
+
}, {
|
|
58
|
+
field: "enabled",
|
|
59
|
+
width: 80,
|
|
60
|
+
cellRender: g.renderEnabled(b)
|
|
61
|
+
}, {
|
|
62
|
+
field: "operate",
|
|
63
|
+
width: 140,
|
|
64
|
+
fixed: "right",
|
|
65
|
+
slots: {
|
|
66
|
+
default: ({
|
|
67
|
+
row: e
|
|
68
|
+
}) => {
|
|
69
|
+
const t = e.menuType, d = o(i("ut-button"), {
|
|
70
|
+
status: "u-cyan",
|
|
71
|
+
icon: "ri-add-fill",
|
|
72
|
+
content: "add",
|
|
73
|
+
onTap: () => u(e)
|
|
74
|
+
}, null), m = o(i("ut-button"), {
|
|
75
|
+
icon: "ri-lock-fill",
|
|
76
|
+
content: "auth",
|
|
77
|
+
onTap: () => S(e)
|
|
78
|
+
}, null);
|
|
79
|
+
return [o(h, null, [t ? null : o(h, null, [o(i("ut-button"), {
|
|
80
|
+
status: "success",
|
|
81
|
+
icon: "ri-edit-box-line",
|
|
82
|
+
content: "edit",
|
|
83
|
+
onTap: () => v(e)
|
|
84
|
+
}, null), ["0", "5"].includes(e.menuCategory) ? d : m])])];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}], C = ({
|
|
88
|
+
code: e
|
|
89
|
+
}) => {
|
|
90
|
+
e === "add" && u(), e === "del" && x();
|
|
91
|
+
}, T = async ({
|
|
92
|
+
row: e
|
|
93
|
+
}) => {
|
|
94
|
+
const t = await l.get(a, {
|
|
95
|
+
parentId: e.id
|
|
96
|
+
});
|
|
97
|
+
return new Promise((d) => {
|
|
98
|
+
d(t.list);
|
|
99
|
+
});
|
|
100
|
+
}, u = (e) => {
|
|
101
|
+
r.showDrawer = !0, r.dataStatus = "add", r.record.dispalyCode = e == null ? void 0 : e.permissionCode, r.record.permissionCode = e == null ? void 0 : e.permissionCode, r.record.menuType = "0", r.record.showLink = "Y", r.record.isApprovalPage = "N", r.record.menuCategory = e ? "" : "0", r.record.parentId = e == null ? void 0 : e.id, r.record.hasChildren = e == null ? void 0 : e.hasChildren, r.record.children = r.record.children || [], s = e;
|
|
102
|
+
}, v = (e) => {
|
|
103
|
+
r.showDrawer = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
104
|
+
};
|
|
105
|
+
async function b({
|
|
106
|
+
row: e
|
|
107
|
+
}) {
|
|
108
|
+
await l.put(a, [e]), n.value.refreshData();
|
|
109
|
+
}
|
|
110
|
+
const x = async () => {
|
|
111
|
+
const e = await L.modal.confirm(w("message.delRecord")), t = n.value.getInstance().getCheckboxRecords();
|
|
112
|
+
if (e === "confirm") {
|
|
113
|
+
const [d, m] = await A(l.delete(a, t));
|
|
114
|
+
if (d) return;
|
|
115
|
+
const p = n.value.getInstance().getTreeParentRow(t[0]);
|
|
116
|
+
p ? n.value.getInstance().reloadTreeExpand(p) : n.value.refreshData();
|
|
117
|
+
}
|
|
118
|
+
}, S = (e) => {
|
|
119
|
+
r.showAuthority = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
120
|
+
}, c = (e, t) => {
|
|
121
|
+
e === "submit" && (s || t) && n.value.getInstance().reloadTreeExpand(s || t), r.record = {}, r.showDrawer = !1, r.showAuthority = !1;
|
|
122
|
+
};
|
|
123
|
+
return (e, t) => {
|
|
124
|
+
const d = i("ut-grid");
|
|
125
|
+
return N(), E("div", M, [o(d, {
|
|
126
|
+
ref_key: "xgrid",
|
|
127
|
+
ref: n,
|
|
128
|
+
"tree-config": {
|
|
129
|
+
childrenField: "children",
|
|
130
|
+
lazy: !0,
|
|
131
|
+
hasChild: "hasChildren",
|
|
132
|
+
loadMethod: T,
|
|
133
|
+
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
134
|
+
iconClose: "ri-add-box-line ri-lg"
|
|
135
|
+
},
|
|
136
|
+
columns: y,
|
|
137
|
+
url: a,
|
|
138
|
+
stripe: !1,
|
|
139
|
+
mode: "form",
|
|
140
|
+
onToolbarButtonClick: C
|
|
141
|
+
}, null, 8, ["tree-config"]), o(W, {
|
|
142
|
+
show: r.showDrawer,
|
|
143
|
+
record: r.record,
|
|
144
|
+
"data-status": r.dataStatus,
|
|
145
|
+
onClose: c
|
|
146
|
+
}, null, 8, ["show", "record", "data-status"]), o(R, {
|
|
147
|
+
show: r.showAuthority,
|
|
148
|
+
record: r.record,
|
|
149
|
+
onClose: c
|
|
150
|
+
}, null, 8, ["show", "record"])]);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
export {
|
|
155
|
+
H as default
|
|
156
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { defineComponent as k, reactive as D, ref as I, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as E, openBlock as N } from "vue";
|
|
2
|
+
import { useI18n as R } from "vue-i18n";
|
|
3
|
+
import { i as W } from "./menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js";
|
|
4
|
+
import { V as A } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js";
|
|
5
|
+
import { clone as f } from "xe-utils";
|
|
6
|
+
import { r as M } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js";
|
|
7
|
+
import { VxeUI as P } from "vxe-pc-ui";
|
|
8
|
+
import { useRender as U } from "@utogether/utils";
|
|
9
|
+
import { W as B } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
10
|
+
const F = {
|
|
11
|
+
class: "page-content"
|
|
12
|
+
}, L = {
|
|
13
|
+
name: "SystemMenu"
|
|
14
|
+
}, G = /* @__PURE__ */ k({
|
|
15
|
+
...L,
|
|
16
|
+
setup(V) {
|
|
17
|
+
const r = D({
|
|
18
|
+
record: {},
|
|
19
|
+
dataList: [],
|
|
20
|
+
submitLoading: !1,
|
|
21
|
+
showDrawer: !1,
|
|
22
|
+
dataStatus: "",
|
|
23
|
+
total: 0,
|
|
24
|
+
listQuery: {
|
|
25
|
+
pageSize: 10,
|
|
26
|
+
pageNum: 1
|
|
27
|
+
}
|
|
28
|
+
}), {
|
|
29
|
+
t: w
|
|
30
|
+
} = R(), g = U(), l = B(), n = I(null), a = "/uums/menu";
|
|
31
|
+
let s;
|
|
32
|
+
const y = [{
|
|
33
|
+
type: "checkbox",
|
|
34
|
+
width: 50,
|
|
35
|
+
align: "center"
|
|
36
|
+
}, {
|
|
37
|
+
field: "menuName",
|
|
38
|
+
minWidth: 220,
|
|
39
|
+
treeNode: !0
|
|
40
|
+
}, {
|
|
41
|
+
field: "menuNameEn",
|
|
42
|
+
minWidth: 180
|
|
43
|
+
}, {
|
|
44
|
+
field: "sort",
|
|
45
|
+
width: 70
|
|
46
|
+
}, {
|
|
47
|
+
field: "menuCode",
|
|
48
|
+
minWidth: 220
|
|
49
|
+
}, {
|
|
50
|
+
field: "permissionCode",
|
|
51
|
+
minWidth: 180
|
|
52
|
+
}, {
|
|
53
|
+
field: "menuCategory",
|
|
54
|
+
title: "message.menuType",
|
|
55
|
+
formatter: ["formatDict", "SU.MENU.TYPE"],
|
|
56
|
+
width: 100
|
|
57
|
+
}, {
|
|
58
|
+
field: "enabled",
|
|
59
|
+
width: 80,
|
|
60
|
+
cellRender: g.renderEnabled(b)
|
|
61
|
+
}, {
|
|
62
|
+
field: "operate",
|
|
63
|
+
width: 140,
|
|
64
|
+
fixed: "right",
|
|
65
|
+
slots: {
|
|
66
|
+
default: ({
|
|
67
|
+
row: e
|
|
68
|
+
}) => {
|
|
69
|
+
const t = e.menuType, d = o(i("ut-button"), {
|
|
70
|
+
status: "u-cyan",
|
|
71
|
+
icon: "ri-add-fill",
|
|
72
|
+
content: "add",
|
|
73
|
+
onTap: () => u(e)
|
|
74
|
+
}, null), m = o(i("ut-button"), {
|
|
75
|
+
icon: "ri-lock-fill",
|
|
76
|
+
content: "auth",
|
|
77
|
+
onTap: () => S(e)
|
|
78
|
+
}, null);
|
|
79
|
+
return [o(h, null, [t ? null : o(h, null, [o(i("ut-button"), {
|
|
80
|
+
status: "success",
|
|
81
|
+
icon: "ri-edit-box-line",
|
|
82
|
+
content: "edit",
|
|
83
|
+
onTap: () => v(e)
|
|
84
|
+
}, null), ["0", "5"].includes(e.menuCategory) ? d : m])])];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}], C = ({
|
|
88
|
+
code: e
|
|
89
|
+
}) => {
|
|
90
|
+
e === "add" && u(), e === "del" && x();
|
|
91
|
+
}, T = async ({
|
|
92
|
+
row: e
|
|
93
|
+
}) => {
|
|
94
|
+
const t = await l.get(a, {
|
|
95
|
+
parentId: e.id
|
|
96
|
+
});
|
|
97
|
+
return new Promise((d) => {
|
|
98
|
+
d(t.list);
|
|
99
|
+
});
|
|
100
|
+
}, u = (e) => {
|
|
101
|
+
r.showDrawer = !0, r.dataStatus = "add", r.record.dispalyCode = e == null ? void 0 : e.permissionCode, r.record.permissionCode = e == null ? void 0 : e.permissionCode, r.record.menuType = "0", r.record.showLink = "Y", r.record.isApprovalPage = "N", r.record.menuCategory = e ? "" : "0", r.record.parentId = e == null ? void 0 : e.id, r.record.hasChildren = e == null ? void 0 : e.hasChildren, r.record.children = r.record.children || [], s = e;
|
|
102
|
+
}, v = (e) => {
|
|
103
|
+
r.showDrawer = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
104
|
+
};
|
|
105
|
+
async function b({
|
|
106
|
+
row: e
|
|
107
|
+
}) {
|
|
108
|
+
await l.put(a, [e]), n.value.refreshData();
|
|
109
|
+
}
|
|
110
|
+
const x = async () => {
|
|
111
|
+
const e = await P.modal.confirm(w("message.delRecord")), t = n.value.getInstance().getCheckboxRecords();
|
|
112
|
+
if (e === "confirm") {
|
|
113
|
+
const [d, m] = await M(l.delete(a, t));
|
|
114
|
+
if (d) return;
|
|
115
|
+
const p = n.value.getInstance().getTreeParentRow(t[0]);
|
|
116
|
+
p ? n.value.getInstance().reloadTreeExpand(p) : n.value.refreshData();
|
|
117
|
+
}
|
|
118
|
+
}, S = (e) => {
|
|
119
|
+
r.showAuthority = !0, r.dataStatus = "update", r.record = f(e, !0), r.record.menuType = r.record.menuType.toString(), r.record.dispalyCode = e.permissionCode;
|
|
120
|
+
}, c = (e, t) => {
|
|
121
|
+
e === "submit" && (s || t) && n.value.getInstance().reloadTreeExpand(s || t), r.record = {}, r.showDrawer = !1, r.showAuthority = !1;
|
|
122
|
+
};
|
|
123
|
+
return (e, t) => {
|
|
124
|
+
const d = i("ut-grid");
|
|
125
|
+
return N(), E("div", F, [o(d, {
|
|
126
|
+
ref_key: "xgrid",
|
|
127
|
+
ref: n,
|
|
128
|
+
"tree-config": {
|
|
129
|
+
childrenField: "children",
|
|
130
|
+
lazy: !0,
|
|
131
|
+
hasChild: "hasChildren",
|
|
132
|
+
loadMethod: T,
|
|
133
|
+
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
134
|
+
iconClose: "ri-add-box-line ri-lg"
|
|
135
|
+
},
|
|
136
|
+
columns: y,
|
|
137
|
+
url: a,
|
|
138
|
+
stripe: !1,
|
|
139
|
+
mode: "form",
|
|
140
|
+
onToolbarButtonClick: C
|
|
141
|
+
}, null, 8, ["tree-config"]), o(W, {
|
|
142
|
+
show: r.showDrawer,
|
|
143
|
+
record: r.record,
|
|
144
|
+
"data-status": r.dataStatus,
|
|
145
|
+
onClose: c
|
|
146
|
+
}, null, 8, ["show", "record", "data-status"]), o(A, {
|
|
147
|
+
show: r.showAuthority,
|
|
148
|
+
record: r.record,
|
|
149
|
+
onClose: c
|
|
150
|
+
}, null, 8, ["show", "record"])]);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
export {
|
|
155
|
+
G as default
|
|
156
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as k, reactive as S, ref as D, createVNode as o, resolveComponent as i, Fragment as h, createElementBlock as A, openBlock as E } from "vue";
|
|
2
2
|
import { useI18n as I } from "vue-i18n";
|
|
3
|
-
import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as N } from "./menuInfo.vue_vue_type_style_index_0_lang-CVuG-x2a.js";
|
|
4
4
|
import { _ as P } from "./AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S.js";
|
|
5
5
|
import { clone as f } from "xe-utils";
|
|
6
|
-
import { t as R } from "./await-to-js.es5-
|
|
6
|
+
import { t as R } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
7
7
|
import { VxeUI as M } from "vxe-pc-ui";
|
|
8
8
|
import { useRender as U } from "@utogether/utils";
|
|
9
|
-
import {
|
|
9
|
+
import { g as W } from "./index-BEAth5RR.js";
|
|
10
10
|
const B = {
|
|
11
11
|
class: "page-content"
|
|
12
12
|
}, L = {
|
|
@@ -27,9 +27,9 @@ const B = {
|
|
|
27
27
|
}
|
|
28
28
|
}), {
|
|
29
29
|
t: g
|
|
30
|
-
} = I(),
|
|
30
|
+
} = I(), C = U(), d = W(), a = D(null), s = "/uums/menu";
|
|
31
31
|
let l;
|
|
32
|
-
const
|
|
32
|
+
const y = [{
|
|
33
33
|
type: "checkbox",
|
|
34
34
|
width: 50,
|
|
35
35
|
align: "center"
|
|
@@ -57,7 +57,7 @@ const B = {
|
|
|
57
57
|
}, {
|
|
58
58
|
field: "enabled",
|
|
59
59
|
width: 80,
|
|
60
|
-
cellRender:
|
|
60
|
+
cellRender: C.renderEnabled(b)
|
|
61
61
|
}, {
|
|
62
62
|
field: "operate",
|
|
63
63
|
width: 140,
|
|
@@ -133,7 +133,7 @@ const B = {
|
|
|
133
133
|
iconOpen: "ri-checkbox-indeterminate-line ri-lg",
|
|
134
134
|
iconClose: "ri-add-box-line ri-lg"
|
|
135
135
|
},
|
|
136
|
-
columns:
|
|
136
|
+
columns: y,
|
|
137
137
|
url: s,
|
|
138
138
|
stripe: !1,
|
|
139
139
|
mode: "form",
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { defineComponent as B, ref as d, reactive as I, onBeforeMount as U, resolveComponent as n, createElementBlock as $, openBlock as m, createVNode as c, withCtx as _, createBlock as j, createCommentVNode as V, mergeProps as z, toHandlers as E } from "vue";
|
|
2
|
+
import { r as P } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js";
|
|
3
|
+
import { W as S } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
4
|
+
const W = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ B({
|
|
5
|
+
__name: "UserInfo",
|
|
6
|
+
props: {
|
|
7
|
+
record: { default: () => ({}) },
|
|
8
|
+
show: { type: Boolean, default: !1 },
|
|
9
|
+
direction: { default: "rtl" }
|
|
10
|
+
},
|
|
11
|
+
emits: ["onClose"],
|
|
12
|
+
setup(p, { emit: f }) {
|
|
13
|
+
const o = p, g = d(!1), s = d(!1), a = S(), h = f, b = [
|
|
14
|
+
{
|
|
15
|
+
field: "userName",
|
|
16
|
+
title: "message.udp.userCode",
|
|
17
|
+
span: 8,
|
|
18
|
+
itemRender: { name: "$input" }
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
field: "name",
|
|
22
|
+
title: "message.udp.userName",
|
|
23
|
+
span: 8,
|
|
24
|
+
itemRender: { name: "$input" }
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
span: 8,
|
|
28
|
+
align: "right",
|
|
29
|
+
itemRender: {
|
|
30
|
+
name: "$buttons",
|
|
31
|
+
children: [
|
|
32
|
+
{
|
|
33
|
+
props: {
|
|
34
|
+
type: "submit",
|
|
35
|
+
content: "message.btn.search",
|
|
36
|
+
icon: "ri-search-line",
|
|
37
|
+
status: "primary"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{ props: { type: "reset", icon: "ri-refresh-line", content: "message.btn.reset" } }
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
], C = [
|
|
45
|
+
{ type: "checkbox", width: 50, align: "center" },
|
|
46
|
+
{
|
|
47
|
+
field: "userName",
|
|
48
|
+
title: "message.udp.userCode"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
field: "name",
|
|
52
|
+
title: "message.udp.userName"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
field: "enabled",
|
|
56
|
+
title: "message.enabled",
|
|
57
|
+
width: 70,
|
|
58
|
+
editRender: {
|
|
59
|
+
name: "$select",
|
|
60
|
+
options: [
|
|
61
|
+
{ label: "启用", value: "1" },
|
|
62
|
+
{ label: "禁用", value: "0" }
|
|
63
|
+
],
|
|
64
|
+
defaultValue: "1"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
], y = [
|
|
68
|
+
{ code: "add", name: "message.btn.add", status: "u-cyan", icon: "ri-add-line" },
|
|
69
|
+
{ code: "delete", name: "message.btn.del", status: "danger", icon: "ri-delete-bin-5-fill" }
|
|
70
|
+
], v = [
|
|
71
|
+
{ field: "userName", title: "message.udp.userCode", span: 9 },
|
|
72
|
+
{ field: "name", title: "message.udp.userName", span: 9 }
|
|
73
|
+
], N = [
|
|
74
|
+
{ type: "checkbox", width: 40 },
|
|
75
|
+
{ field: "userName", title: "message.udp.userCode" },
|
|
76
|
+
{ field: "name", title: "message.udp.userName" },
|
|
77
|
+
{ field: "enabled", width: 70, formatter: ["formatDict", "SU.ENABLE"] }
|
|
78
|
+
], u = d({}), l = I({
|
|
79
|
+
height: "auto",
|
|
80
|
+
border: !0,
|
|
81
|
+
pagerConfig: {},
|
|
82
|
+
toolbarConfig: { buttons: y, perfect: !0 },
|
|
83
|
+
loading: !1,
|
|
84
|
+
formConfig: { titleWidth: 100, titleAlign: "right", items: b },
|
|
85
|
+
// data: props.record.children,
|
|
86
|
+
proxyConfig: {
|
|
87
|
+
form: !0,
|
|
88
|
+
// 查询是需要启用表单代理
|
|
89
|
+
ajax: {
|
|
90
|
+
// 接收 Promise
|
|
91
|
+
query: ({ page: e, form: r }) => {
|
|
92
|
+
const t = Object.assign({}, r);
|
|
93
|
+
return t.id = o.record.id, t.pageNum = e.currentPage, t.pageSize = e.pageSize, a.get("/uums/user/listRoleUsers", t);
|
|
94
|
+
},
|
|
95
|
+
// body 对象: { removeRecords }
|
|
96
|
+
delete: ({ body: { removeRecords: e } }) => {
|
|
97
|
+
const r = {
|
|
98
|
+
roleId: o.record.id,
|
|
99
|
+
userIds: e.map((t) => t.id).join()
|
|
100
|
+
};
|
|
101
|
+
return a.delete("/uums/role/deleteRoleUsers", r);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
columns: C
|
|
106
|
+
}), w = {
|
|
107
|
+
toolbarButtonClick({ code: e }) {
|
|
108
|
+
e === "add" && (s.value = !0);
|
|
109
|
+
}
|
|
110
|
+
}, x = async (e) => {
|
|
111
|
+
const r = { userIds: "", roleId: o.record.id };
|
|
112
|
+
r.userIds = e.map((i) => i.id).join(","), l.loading = !0;
|
|
113
|
+
const [t] = await P(a.post("/uums/role/addUserRole", r));
|
|
114
|
+
l.loading = !1, t || (u.value.commitProxy("query"), s.value = !1);
|
|
115
|
+
};
|
|
116
|
+
function R() {
|
|
117
|
+
h("onClose");
|
|
118
|
+
}
|
|
119
|
+
return U(() => {
|
|
120
|
+
g.value = !0;
|
|
121
|
+
}), (e, r) => {
|
|
122
|
+
const t = n("vxe-grid"), i = n("ut-modal-grid"), k = n("el-drawer");
|
|
123
|
+
return m(), $("div", W, [
|
|
124
|
+
c(k, {
|
|
125
|
+
"model-value": e.show,
|
|
126
|
+
title: e.$t("message.title.authUser", { role: e.record.roleName }),
|
|
127
|
+
"before-close": R,
|
|
128
|
+
direction: "rtl",
|
|
129
|
+
"destroy-on-close": "",
|
|
130
|
+
size: "80%"
|
|
131
|
+
}, {
|
|
132
|
+
default: _(() => [
|
|
133
|
+
c(t, z({
|
|
134
|
+
ref_key: "xgrid",
|
|
135
|
+
ref: u
|
|
136
|
+
}, l, E(w)), null, 16),
|
|
137
|
+
s.value ? (m(), j(i, {
|
|
138
|
+
key: 0,
|
|
139
|
+
url: "/uums/user/listUserToRole",
|
|
140
|
+
"default-params": { roleId: e.record.id },
|
|
141
|
+
items: v,
|
|
142
|
+
columns: N,
|
|
143
|
+
"show-footer": !0,
|
|
144
|
+
editable: !1,
|
|
145
|
+
title: e.$t("message.udp.userList"),
|
|
146
|
+
width: "60%",
|
|
147
|
+
height: "75%",
|
|
148
|
+
onClose: r[0] || (r[0] = (q) => s.value = !1),
|
|
149
|
+
onConfirm: x
|
|
150
|
+
}, null, 8, ["default-params", "title"])) : V("", !0)
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["model-value", "title"])
|
|
154
|
+
]);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
export {
|
|
159
|
+
D as H
|
|
160
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as R, ref as i, reactive as x, onBeforeMount as B, resolveComponent as d, createElementBlock as U, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as A, mergeProps as E, toHandlers as P } from "vue";
|
|
2
|
-
import { t as S } from "./await-to-js.es5-
|
|
3
|
-
import {
|
|
2
|
+
import { t as S } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
3
|
+
import { g as V } from "./index-BEAth5RR.js";
|
|
4
4
|
const q = { class: "u-dict-config_wrapper" }, D = /* @__PURE__ */ R({
|
|
5
5
|
__name: "UserInfo",
|
|
6
6
|
props: {
|