@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { defineComponent as I, reactive as S, inject as B, ref as d, watch as q, createVNode as r, Fragment as E, resolveComponent as l, createElementBlock as O, openBlock as s, createBlock as n, createCommentVNode as c } from "vue";
|
|
2
|
+
import { useRender as P } from "@utogether/utils";
|
|
3
|
+
import { A as R } from "./AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js";
|
|
4
|
+
import { H as T } from "./UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js";
|
|
5
|
+
import { W as _, M as F } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
6
|
+
const $ = {
|
|
7
|
+
class: "page-content"
|
|
8
|
+
}, K = /* @__PURE__ */ I({
|
|
9
|
+
__name: "RolePanel",
|
|
10
|
+
setup(j) {
|
|
11
|
+
const e = S({
|
|
12
|
+
record: {},
|
|
13
|
+
showAuthView: !1,
|
|
14
|
+
showModalView: !1,
|
|
15
|
+
showUserView: !1,
|
|
16
|
+
dataStatus: ""
|
|
17
|
+
}), o = B("active"), w = P(), a = d(null), u = d(""), f = d({}), i = d("");
|
|
18
|
+
q(() => o.value, () => {
|
|
19
|
+
V();
|
|
20
|
+
});
|
|
21
|
+
const p = [{
|
|
22
|
+
field: "roleName",
|
|
23
|
+
title: "message.udp.roleName"
|
|
24
|
+
}, {
|
|
25
|
+
field: "roleCode",
|
|
26
|
+
title: "message.udp.roleCode"
|
|
27
|
+
}], g = [{
|
|
28
|
+
field: "roleName",
|
|
29
|
+
title: "message.udp.roleName",
|
|
30
|
+
required: !0
|
|
31
|
+
}, {
|
|
32
|
+
field: "roleCode",
|
|
33
|
+
title: "message.udp.roleCode",
|
|
34
|
+
required: !0
|
|
35
|
+
}, {
|
|
36
|
+
field: "roleDesc",
|
|
37
|
+
title: "message.udp.roleDesc"
|
|
38
|
+
}], v = [{
|
|
39
|
+
type: "checkbox",
|
|
40
|
+
width: 40,
|
|
41
|
+
align: "center",
|
|
42
|
+
fixed: "left"
|
|
43
|
+
}, {
|
|
44
|
+
field: "roleCode",
|
|
45
|
+
title: "message.udp.roleCode"
|
|
46
|
+
}, {
|
|
47
|
+
field: "roleName",
|
|
48
|
+
title: "message.udp.roleName"
|
|
49
|
+
}, {
|
|
50
|
+
field: "roleDesc",
|
|
51
|
+
title: "message.udp.roleDesc"
|
|
52
|
+
}, {
|
|
53
|
+
field: "enabled",
|
|
54
|
+
width: 90,
|
|
55
|
+
cellRender: w.renderEnabled(y)
|
|
56
|
+
}, {
|
|
57
|
+
field: "operate",
|
|
58
|
+
width: 260,
|
|
59
|
+
fixed: "right",
|
|
60
|
+
slots: {
|
|
61
|
+
default: ({
|
|
62
|
+
row: t
|
|
63
|
+
}) => [r(E, null, [r(l("ut-button"), {
|
|
64
|
+
content: "edit",
|
|
65
|
+
auth: "edit",
|
|
66
|
+
disabled: t.roleCode === "admin",
|
|
67
|
+
onTap: () => b(t)
|
|
68
|
+
}, null), r(l("ut-button"), {
|
|
69
|
+
content: "dispatchUser",
|
|
70
|
+
status: "warning",
|
|
71
|
+
icon: "ri-user-3-line",
|
|
72
|
+
auth: "user",
|
|
73
|
+
onTap: () => U(t)
|
|
74
|
+
}, null), r(l("ut-button"), {
|
|
75
|
+
content: "dispatchAuth",
|
|
76
|
+
status: "success",
|
|
77
|
+
icon: "ri-plane-line",
|
|
78
|
+
auth: "auth",
|
|
79
|
+
onTap: () => x(t)
|
|
80
|
+
}, null)])]
|
|
81
|
+
}
|
|
82
|
+
}], V = () => {
|
|
83
|
+
var t;
|
|
84
|
+
f.value = {
|
|
85
|
+
unitId: (t = o == null ? void 0 : o.value) == null ? void 0 : t.id
|
|
86
|
+
}, a.value.refreshData();
|
|
87
|
+
}, C = (t) => {
|
|
88
|
+
t === "add" && k(), t === "del" && N();
|
|
89
|
+
}, k = () => {
|
|
90
|
+
var t;
|
|
91
|
+
e.dataStatus = "add", u.value = "post", i.value = "/uums/role", e.record = {}, e.record.unitId = (t = o == null ? void 0 : o.value) == null ? void 0 : t.id, e.record.enabled = "1", e.record.orgId = F().getOrgId, e.showModalView = !0;
|
|
92
|
+
}, b = (t) => {
|
|
93
|
+
u.value = "put", i.value = "/uums/role/singleUpdate", e.dataStatus = "update", e.record = t, e.showModalView = !0;
|
|
94
|
+
}, N = () => {
|
|
95
|
+
a.value.getInstance().commitProxy("delete");
|
|
96
|
+
}, x = (t) => {
|
|
97
|
+
e.record = t, e.showAuthView = !0;
|
|
98
|
+
}, U = (t) => {
|
|
99
|
+
e.record = t, e.showUserView = !0;
|
|
100
|
+
};
|
|
101
|
+
async function y({
|
|
102
|
+
row: t
|
|
103
|
+
}) {
|
|
104
|
+
if (t.roleCode === "admin") {
|
|
105
|
+
t.enabled = "1";
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
await _().put("/uums/role/singleUpdate", t), a.value.refreshData();
|
|
109
|
+
}
|
|
110
|
+
const m = () => {
|
|
111
|
+
e.showDrawView = !1, e.showAuthView = !1, e.showUserView = !1;
|
|
112
|
+
}, A = (t) => t.roleCode !== "admin";
|
|
113
|
+
return (t, h) => {
|
|
114
|
+
const D = l("ut-grid"), M = l("ut-modal-form");
|
|
115
|
+
return s(), O("div", $, [r(D, {
|
|
116
|
+
ref_key: "xgrid",
|
|
117
|
+
ref: a,
|
|
118
|
+
items: p,
|
|
119
|
+
columns: v,
|
|
120
|
+
"check-method": A,
|
|
121
|
+
url: "/uums/role",
|
|
122
|
+
mode: "form",
|
|
123
|
+
onButtonClick: C
|
|
124
|
+
}, null, 512), e.showAuthView ? (s(), n(R, {
|
|
125
|
+
key: 0,
|
|
126
|
+
show: e.showAuthView,
|
|
127
|
+
record: e.record,
|
|
128
|
+
"data-status": e.dataStatus,
|
|
129
|
+
onOnClose: m
|
|
130
|
+
}, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showUserView ? (s(), n(T, {
|
|
131
|
+
key: 1,
|
|
132
|
+
show: e.showUserView,
|
|
133
|
+
record: e.record,
|
|
134
|
+
"data-status": e.dataStatus,
|
|
135
|
+
onOnClose: m
|
|
136
|
+
}, null, 8, ["show", "record", "data-status"])) : c("", !0), e.showModalView ? (s(), n(M, {
|
|
137
|
+
key: 2,
|
|
138
|
+
ref: "xmodal",
|
|
139
|
+
record: e.record,
|
|
140
|
+
items: g,
|
|
141
|
+
url: i.value,
|
|
142
|
+
method: u.value,
|
|
143
|
+
width: "400",
|
|
144
|
+
height: "240",
|
|
145
|
+
"data-status": "update",
|
|
146
|
+
title: t.$t("message.title.authEdit"),
|
|
147
|
+
onClose: h[0] || (h[0] = (H) => e.showModalView = !1)
|
|
148
|
+
}, null, 8, ["record", "url", "method", "title"])) : c("", !0)]);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
export {
|
|
153
|
+
K as L
|
|
154
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as _, ref as k, inject as f, watch as A, nextTick as O, resolveComponent as p, createElementBlock as S, openBlock as v, withModifiers as V, createElementVNode as a, createBlock as C, createCommentVNode as x, createVNode as y, toDisplayString as g, withCtx as j, normalizeClass as L } from "vue";
|
|
2
|
+
import { W as M } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
3
|
+
const R = { class: "u-panel-header" }, W = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ _({
|
|
4
|
+
__name: "ScrollPanel",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
url: {},
|
|
8
|
+
showAllButton: { type: Boolean, default: !1 },
|
|
9
|
+
treeOtions: { default: () => ({
|
|
10
|
+
children: "children",
|
|
11
|
+
label: "label"
|
|
12
|
+
}) },
|
|
13
|
+
defaultParams: { default: () => ({}) }
|
|
14
|
+
},
|
|
15
|
+
setup(B, { expose: b }) {
|
|
16
|
+
const h = B, r = k([]), o = k(null), s = f("active"), c = f("scrollPanelChange"), w = f("treeList");
|
|
17
|
+
A(
|
|
18
|
+
() => c.value,
|
|
19
|
+
() => {
|
|
20
|
+
c.value && u();
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
const u = async (t = {}) => {
|
|
24
|
+
const l = Object.assign(t, h.defaultParams), e = await M().get(h.url, l);
|
|
25
|
+
r.value = e.list || e, w.value = e.list || e, s.value = e.list ? e.list[0] : e[0], O(() => {
|
|
26
|
+
var n;
|
|
27
|
+
o.value && (o == null || o.value.setCurrentKey(((n = s.value) == null ? void 0 : n.id) || ""));
|
|
28
|
+
}), c.value = !1;
|
|
29
|
+
}, E = (t) => {
|
|
30
|
+
s.value = t;
|
|
31
|
+
}, N = () => {
|
|
32
|
+
s.value = {};
|
|
33
|
+
}, d = (t, l) => {
|
|
34
|
+
t.forEach((e) => {
|
|
35
|
+
var n;
|
|
36
|
+
o.value.store.nodesMap[e.id].expanded = l, (n = e.children) != null && n.length && d(e.children, l);
|
|
37
|
+
});
|
|
38
|
+
}, m = () => {
|
|
39
|
+
u();
|
|
40
|
+
};
|
|
41
|
+
return b({
|
|
42
|
+
onRefresh: m
|
|
43
|
+
}), u(), (t, l) => {
|
|
44
|
+
const e = p("ut-button"), n = p("vxe-button"), P = p("el-tree");
|
|
45
|
+
return v(), S("div", {
|
|
46
|
+
class: "u-scroll-panel",
|
|
47
|
+
onClick: V(N, ["prevent"])
|
|
48
|
+
}, [
|
|
49
|
+
a("div", R, [
|
|
50
|
+
a("h2", null, g(t.title), 1),
|
|
51
|
+
t.showAllButton ? (v(), C(e, {
|
|
52
|
+
key: 0,
|
|
53
|
+
content: "BtnExpand",
|
|
54
|
+
onClick: l[0] || (l[0] = (i) => d(r.value, !0))
|
|
55
|
+
})) : x("", !0),
|
|
56
|
+
t.showAllButton ? (v(), C(e, {
|
|
57
|
+
key: 1,
|
|
58
|
+
status: "warning",
|
|
59
|
+
content: "BtnCollapse",
|
|
60
|
+
onClick: l[1] || (l[1] = (i) => d(r.value, !1))
|
|
61
|
+
})) : x("", !0),
|
|
62
|
+
y(n, {
|
|
63
|
+
icon: "vxe-icon-refresh",
|
|
64
|
+
onClick: m
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
a("div", W, [
|
|
68
|
+
y(P, {
|
|
69
|
+
ref_key: "tree",
|
|
70
|
+
ref: o,
|
|
71
|
+
data: r.value,
|
|
72
|
+
props: t.treeOtions,
|
|
73
|
+
"expand-on-click-node": !1,
|
|
74
|
+
style: { "background-color": "#fff" },
|
|
75
|
+
class: "u-tree-panel",
|
|
76
|
+
"node-key": "id",
|
|
77
|
+
"highlight-current": "",
|
|
78
|
+
onNodeClick: E
|
|
79
|
+
}, {
|
|
80
|
+
default: j(({ node: i }) => [
|
|
81
|
+
a("span", {
|
|
82
|
+
class: L(["prefix", { "is-leaf": i.isLeaf }])
|
|
83
|
+
}, l[2] || (l[2] = [
|
|
84
|
+
a("i", {
|
|
85
|
+
class: "ri-folder-2-fill ri-lg mr-1",
|
|
86
|
+
style: { color: "#fadb14" }
|
|
87
|
+
}, null, -1)
|
|
88
|
+
]), 2),
|
|
89
|
+
a("span", null, g(i.label), 1)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["data", "props"])
|
|
93
|
+
])
|
|
94
|
+
]);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
K as R
|
|
100
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as _, ref as k, inject as f, watch as A, nextTick as M, resolveComponent as p, createElementBlock as O, openBlock as v, withModifiers as V, createElementVNode as a, createBlock as C, createCommentVNode as x, createVNode as y, toDisplayString as g, withCtx as j, normalizeClass as K } from "vue";
|
|
2
|
+
import { W as L } from "./su-welcome-t7YusM3U.js";
|
|
3
|
+
const S = { class: "u-panel-header" }, W = { class: "u-panel-content system-scrollbar" }, R = /* @__PURE__ */ _({
|
|
4
|
+
__name: "ScrollPanel",
|
|
5
|
+
props: {
|
|
6
|
+
title: {},
|
|
7
|
+
url: {},
|
|
8
|
+
showAllButton: { type: Boolean, default: !1 },
|
|
9
|
+
treeOtions: { default: () => ({
|
|
10
|
+
children: "children",
|
|
11
|
+
label: "label"
|
|
12
|
+
}) },
|
|
13
|
+
defaultParams: { default: () => ({}) }
|
|
14
|
+
},
|
|
15
|
+
setup(b, { expose: w }) {
|
|
16
|
+
const h = b, r = k([]), o = k(null), s = f("active"), c = f("scrollPanelChange"), B = f("treeList");
|
|
17
|
+
A(
|
|
18
|
+
() => c.value,
|
|
19
|
+
() => {
|
|
20
|
+
c.value && u();
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
const u = async (t = {}) => {
|
|
24
|
+
const l = Object.assign(t, h.defaultParams), e = await L().get(h.url, l);
|
|
25
|
+
r.value = e.list || e, B.value = e.list || e, s.value = e.list ? e.list[0] : e[0], M(() => {
|
|
26
|
+
var n;
|
|
27
|
+
o.value && (o == null || o.value.setCurrentKey(((n = s.value) == null ? void 0 : n.id) || ""));
|
|
28
|
+
}), c.value = !1;
|
|
29
|
+
}, E = (t) => {
|
|
30
|
+
s.value = t;
|
|
31
|
+
}, P = () => {
|
|
32
|
+
s.value = {};
|
|
33
|
+
}, d = (t, l) => {
|
|
34
|
+
t.forEach((e) => {
|
|
35
|
+
var n;
|
|
36
|
+
o.value.store.nodesMap[e.id].expanded = l, (n = e.children) != null && n.length && d(e.children, l);
|
|
37
|
+
});
|
|
38
|
+
}, m = () => {
|
|
39
|
+
u();
|
|
40
|
+
};
|
|
41
|
+
return w({
|
|
42
|
+
onRefresh: m
|
|
43
|
+
}), u(), (t, l) => {
|
|
44
|
+
const e = p("ut-button"), n = p("vxe-button"), N = p("el-tree");
|
|
45
|
+
return v(), O("div", {
|
|
46
|
+
class: "u-scroll-panel",
|
|
47
|
+
onClick: V(P, ["prevent"])
|
|
48
|
+
}, [
|
|
49
|
+
a("div", S, [
|
|
50
|
+
a("h2", null, g(t.title), 1),
|
|
51
|
+
t.showAllButton ? (v(), C(e, {
|
|
52
|
+
key: 0,
|
|
53
|
+
content: "BtnExpand",
|
|
54
|
+
onClick: l[0] || (l[0] = (i) => d(r.value, !0))
|
|
55
|
+
})) : x("", !0),
|
|
56
|
+
t.showAllButton ? (v(), C(e, {
|
|
57
|
+
key: 1,
|
|
58
|
+
status: "warning",
|
|
59
|
+
content: "BtnCollapse",
|
|
60
|
+
onClick: l[1] || (l[1] = (i) => d(r.value, !1))
|
|
61
|
+
})) : x("", !0),
|
|
62
|
+
y(n, {
|
|
63
|
+
icon: "vxe-icon-refresh",
|
|
64
|
+
onClick: m
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
a("div", W, [
|
|
68
|
+
y(N, {
|
|
69
|
+
ref_key: "tree",
|
|
70
|
+
ref: o,
|
|
71
|
+
data: r.value,
|
|
72
|
+
props: t.treeOtions,
|
|
73
|
+
"expand-on-click-node": !1,
|
|
74
|
+
style: { "background-color": "#fff" },
|
|
75
|
+
class: "u-tree-panel",
|
|
76
|
+
"node-key": "id",
|
|
77
|
+
"highlight-current": "",
|
|
78
|
+
onNodeClick: E
|
|
79
|
+
}, {
|
|
80
|
+
default: j(({ node: i }) => [
|
|
81
|
+
a("span", {
|
|
82
|
+
class: K(["prefix", { "is-leaf": i.isLeaf }])
|
|
83
|
+
}, l[2] || (l[2] = [
|
|
84
|
+
a("i", {
|
|
85
|
+
class: "ri-folder-2-fill ri-lg mr-1",
|
|
86
|
+
style: { color: "#fadb14" }
|
|
87
|
+
}, null, -1)
|
|
88
|
+
]), 2),
|
|
89
|
+
a("span", null, g(i.label), 1)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["data", "props"])
|
|
93
|
+
])
|
|
94
|
+
]);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
R as K
|
|
100
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as k, inject as p, watch as A, nextTick as L, resolveComponent as f, createElementBlock as D, openBlock as v, withModifiers as O, createElementVNode as a, createBlock as C, createCommentVNode as g, createVNode as y, toDisplayString as _, withCtx as S, normalizeClass as V } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { g as j } from "./index-BEAth5RR.js";
|
|
3
3
|
const M = { class: "u-panel-header" }, $ = { class: "u-panel-content system-scrollbar" }, K = /* @__PURE__ */ N({
|
|
4
4
|
__name: "ScrollPanel",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as i, ref as e, createElementBlock as m, provide as t, openBlock as s, createElementVNode as a, createVNode as r } from "vue";
|
|
2
|
+
import { R as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js";
|
|
3
|
+
import { K as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js";
|
|
4
|
+
import { t as f } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
5
|
+
const u = { class: "u-content-panel" }, v = { class: "u-left-panel" }, h = { class: "content" }, N = { name: "StaffPanel" }, B = /* @__PURE__ */ i({
|
|
6
|
+
...N,
|
|
7
|
+
setup(C) {
|
|
8
|
+
const l = e(!1), n = e([]), o = e({});
|
|
9
|
+
return t("scrollPanelChange", l), t("active", o), t("treeList", n), (c, P) => (s(), m("div", u, [
|
|
10
|
+
a("div", v, [
|
|
11
|
+
r(p, {
|
|
12
|
+
title: c.$t("department"),
|
|
13
|
+
url: "/uums/department/treeDepartment",
|
|
14
|
+
"tree-otions": { children: "children", label: "deptName" }
|
|
15
|
+
}, null, 8, ["title"])
|
|
16
|
+
]),
|
|
17
|
+
a("div", h, [
|
|
18
|
+
r(d)
|
|
19
|
+
])
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
}), _ = /* @__PURE__ */ f(B, [["__scopeId", "data-v-021a8a4e"]]);
|
|
23
|
+
export {
|
|
24
|
+
_ as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as c, ref as e, createElementBlock as m, provide as t, openBlock as i, createElementVNode as a, createVNode as n } from "vue";
|
|
2
|
+
import { K as p } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js";
|
|
3
|
+
import { Q as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js";
|
|
4
|
+
import { t as f } from "./su-welcome-t7YusM3U.js";
|
|
5
|
+
const u = { class: "u-content-panel" }, v = { class: "u-left-panel" }, h = { class: "content" }, N = { name: "StaffPanel" }, B = /* @__PURE__ */ c({
|
|
6
|
+
...N,
|
|
7
|
+
setup(C) {
|
|
8
|
+
const o = e(!1), r = e([]), l = e({});
|
|
9
|
+
return t("scrollPanelChange", o), t("active", l), t("treeList", r), (s, P) => (i(), m("div", u, [
|
|
10
|
+
a("div", v, [
|
|
11
|
+
n(p, {
|
|
12
|
+
title: s.$t("department"),
|
|
13
|
+
url: "/uums/department/treeDepartment",
|
|
14
|
+
"tree-otions": { children: "children", label: "deptName" }
|
|
15
|
+
}, null, 8, ["title"])
|
|
16
|
+
]),
|
|
17
|
+
a("div", h, [
|
|
18
|
+
n(d)
|
|
19
|
+
])
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
}), b = /* @__PURE__ */ f(B, [["__scopeId", "data-v-021a8a4e"]]);
|
|
23
|
+
export {
|
|
24
|
+
b as default
|
|
25
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, ref as e, provide as t, createElementBlock as _, openBlock as i, createElementVNode as n, createVNode as a } from "vue";
|
|
2
|
-
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as p } from "./index-
|
|
2
|
+
import { _ as m } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js";
|
|
3
|
+
import { _ as d } from "./StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js";
|
|
4
|
+
import { _ as p } from "./index-BEAth5RR.js";
|
|
5
5
|
const f = { class: "u-content-panel" }, u = { class: "u-left-panel" }, h = { class: "content" }, v = { name: "StaffPanel" }, C = /* @__PURE__ */ l({
|
|
6
6
|
...v,
|
|
7
7
|
setup(N) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, ref as u, onMounted as D, resolveComponent as r, createElementBlock as E, openBlock as k, createVNode as n, withCtx as f } from "vue";
|
|
2
2
|
import { useRender as F } from "@utogether/utils";
|
|
3
|
-
import {
|
|
3
|
+
import { g as _ } from "./index-BEAth5RR.js";
|
|
4
4
|
const T = { class: "config" }, x = /* @__PURE__ */ b({
|
|
5
5
|
__name: "StaffInfo",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as b, ref as m, onMounted as x, resolveComponent as n, createElementBlock as E, openBlock as U, createVNode as d, withCtx as c } from "vue";
|
|
2
|
+
import { useRender as _ } from "@utogether/utils";
|
|
3
|
+
import { W as v } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
4
|
+
const F = { class: "config" }, B = /* @__PURE__ */ b({
|
|
5
|
+
__name: "StaffInfo",
|
|
6
|
+
props: {
|
|
7
|
+
show: { type: Boolean, default: !0 },
|
|
8
|
+
record: { default: () => ({}) },
|
|
9
|
+
dataStatus: { default: "detail" }
|
|
10
|
+
},
|
|
11
|
+
emits: ["onClose"],
|
|
12
|
+
setup(y, { emit: R }) {
|
|
13
|
+
const i = y, t = _(), a = m({}), p = m(null), s = m(!1), w = { userName: "userName", userId: "id" }, I = { disabled: i.dataStatus !== "add" }, N = [
|
|
14
|
+
{
|
|
15
|
+
field: "employeeCode",
|
|
16
|
+
required: !0,
|
|
17
|
+
span: 8,
|
|
18
|
+
itemRender: t.renderInput({ props: I })
|
|
19
|
+
},
|
|
20
|
+
{ field: "employeeName", required: !0, span: 8, itemRender: t.renderInput() },
|
|
21
|
+
{ field: "gender", span: 8, itemRender: t.renderDict("SU.GENDER") },
|
|
22
|
+
{
|
|
23
|
+
field: "deptName",
|
|
24
|
+
required: !0,
|
|
25
|
+
span: 8,
|
|
26
|
+
itemRender: t.renderLov({ code: "SU.DEPARTMENT", field: "deptName" }, C)
|
|
27
|
+
},
|
|
28
|
+
{ field: "email", span: 8, itemRender: t.renderInput() },
|
|
29
|
+
{ field: "identity", span: 8, itemRender: t.renderInput() },
|
|
30
|
+
{ field: "employeeDate", span: 8, itemRender: t.renderDate() },
|
|
31
|
+
{ field: "solarDay", span: 8, itemRender: t.renderDate() },
|
|
32
|
+
{ field: "phone", span: 8, itemRender: t.renderInput() },
|
|
33
|
+
{ field: "mobile", span: 8, itemRender: t.renderInput() },
|
|
34
|
+
{
|
|
35
|
+
field: "attribute5",
|
|
36
|
+
title: "message.releateUser",
|
|
37
|
+
span: 8,
|
|
38
|
+
itemRender: t.renderSysUser({ mapField: w })
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
function C(e) {
|
|
42
|
+
var r, o, l;
|
|
43
|
+
e.row.deptName = ((r = e.item) == null ? void 0 : r.deptName) || e.row.deptName, e.row.deptCode = ((o = e.item) == null ? void 0 : o.deptCode) || e.row.deptCode, e.row.departmentId = ((l = e.item) == null ? void 0 : l.id) || e.row.departmentId;
|
|
44
|
+
}
|
|
45
|
+
const g = R, S = () => {
|
|
46
|
+
p.value.validateForm(async (e) => {
|
|
47
|
+
if (!e) {
|
|
48
|
+
const { dataStatus: r } = i;
|
|
49
|
+
s.value = !0, r === "add" ? await v().post("/uums/employee", a.value) : await v().put("/uums/employee", a.value), s.value = !1, u();
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
function u() {
|
|
54
|
+
g("onClose");
|
|
55
|
+
}
|
|
56
|
+
return x(() => {
|
|
57
|
+
a.value = i.record;
|
|
58
|
+
}), (e, r) => {
|
|
59
|
+
const o = n("ut-form"), l = n("el-divider"), f = n("ut-button"), D = n("el-row"), h = n("el-drawer");
|
|
60
|
+
return U(), E("div", F, [
|
|
61
|
+
d(h, {
|
|
62
|
+
"model-value": e.show,
|
|
63
|
+
"before-close": u,
|
|
64
|
+
direction: "rtl",
|
|
65
|
+
title: e.$t("message.title.employeeInfo"),
|
|
66
|
+
"destroy-on-close": "",
|
|
67
|
+
size: "66%"
|
|
68
|
+
}, {
|
|
69
|
+
default: c(() => [
|
|
70
|
+
d(o, {
|
|
71
|
+
ref_key: "suFormRef",
|
|
72
|
+
ref: p,
|
|
73
|
+
record: a.value,
|
|
74
|
+
loading: s.value,
|
|
75
|
+
items: N,
|
|
76
|
+
"data-status": e.dataStatus
|
|
77
|
+
}, null, 8, ["record", "loading", "data-status"]),
|
|
78
|
+
d(l),
|
|
79
|
+
d(D, {
|
|
80
|
+
type: "flex",
|
|
81
|
+
justify: "end",
|
|
82
|
+
style: { "padding-right": "22px" }
|
|
83
|
+
}, {
|
|
84
|
+
default: c(() => [
|
|
85
|
+
d(f, {
|
|
86
|
+
content: "cancel",
|
|
87
|
+
icon: "ri-close-fill",
|
|
88
|
+
onTap: u
|
|
89
|
+
}),
|
|
90
|
+
d(f, {
|
|
91
|
+
content: "confirm",
|
|
92
|
+
icon: "ri-save-3-fill",
|
|
93
|
+
status: "u-cyan",
|
|
94
|
+
onTap: S
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["model-value", "title"])
|
|
102
|
+
]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
B as F
|
|
108
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { defineComponent as b, ref as m, onMounted as x, resolveComponent as a, createElementBlock as E, openBlock as T, createVNode as r, withCtx as c } from "vue";
|
|
2
|
+
import { useRender as _ } from "@utogether/utils";
|
|
3
|
+
import { W as v } from "./su-welcome-t7YusM3U.js";
|
|
4
|
+
const U = { class: "config" }, F = /* @__PURE__ */ b({
|
|
5
|
+
__name: "StaffInfo",
|
|
6
|
+
props: {
|
|
7
|
+
show: { type: Boolean, default: !0 },
|
|
8
|
+
record: { default: () => ({}) },
|
|
9
|
+
dataStatus: { default: "detail" }
|
|
10
|
+
},
|
|
11
|
+
emits: ["onClose"],
|
|
12
|
+
setup(y, { emit: R }) {
|
|
13
|
+
const i = y, t = _(), n = m({}), p = m(null), s = m(!1), w = { userName: "userName", userId: "id" }, I = { disabled: i.dataStatus !== "add" }, N = [
|
|
14
|
+
{
|
|
15
|
+
field: "employeeCode",
|
|
16
|
+
required: !0,
|
|
17
|
+
span: 8,
|
|
18
|
+
itemRender: t.renderInput({ props: I })
|
|
19
|
+
},
|
|
20
|
+
{ field: "employeeName", required: !0, span: 8, itemRender: t.renderInput() },
|
|
21
|
+
{ field: "gender", span: 8, itemRender: t.renderDict("SU.GENDER") },
|
|
22
|
+
{
|
|
23
|
+
field: "deptName",
|
|
24
|
+
required: !0,
|
|
25
|
+
span: 8,
|
|
26
|
+
itemRender: t.renderLov({ code: "SU.DEPARTMENT", field: "deptName" }, C)
|
|
27
|
+
},
|
|
28
|
+
{ field: "email", span: 8, itemRender: t.renderInput() },
|
|
29
|
+
{ field: "identity", span: 8, itemRender: t.renderInput() },
|
|
30
|
+
{ field: "employeeDate", span: 8, itemRender: t.renderDate() },
|
|
31
|
+
{ field: "solarDay", span: 8, itemRender: t.renderDate() },
|
|
32
|
+
{ field: "phone", span: 8, itemRender: t.renderInput() },
|
|
33
|
+
{ field: "mobile", span: 8, itemRender: t.renderInput() },
|
|
34
|
+
{
|
|
35
|
+
field: "attribute5",
|
|
36
|
+
title: "message.releateUser",
|
|
37
|
+
span: 8,
|
|
38
|
+
itemRender: t.renderSysUser({ mapField: w })
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
function C(e) {
|
|
42
|
+
var d, o, l;
|
|
43
|
+
e.row.deptName = ((d = e.item) == null ? void 0 : d.deptName) || e.row.deptName, e.row.deptCode = ((o = e.item) == null ? void 0 : o.deptCode) || e.row.deptCode, e.row.departmentId = ((l = e.item) == null ? void 0 : l.id) || e.row.departmentId;
|
|
44
|
+
}
|
|
45
|
+
const g = R, S = () => {
|
|
46
|
+
p.value.validateForm(async (e) => {
|
|
47
|
+
if (!e) {
|
|
48
|
+
const { dataStatus: d } = i;
|
|
49
|
+
s.value = !0, d === "add" ? await v().post("/uums/employee", n.value) : await v().put("/uums/employee", n.value), s.value = !1, u();
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
function u() {
|
|
54
|
+
g("onClose");
|
|
55
|
+
}
|
|
56
|
+
return x(() => {
|
|
57
|
+
n.value = i.record;
|
|
58
|
+
}), (e, d) => {
|
|
59
|
+
const o = a("ut-form"), l = a("el-divider"), f = a("ut-button"), D = a("el-row"), h = a("el-drawer");
|
|
60
|
+
return T(), E("div", U, [
|
|
61
|
+
r(h, {
|
|
62
|
+
"model-value": e.show,
|
|
63
|
+
"before-close": u,
|
|
64
|
+
direction: "rtl",
|
|
65
|
+
title: e.$t("message.title.employeeInfo"),
|
|
66
|
+
"destroy-on-close": "",
|
|
67
|
+
size: "66%"
|
|
68
|
+
}, {
|
|
69
|
+
default: c(() => [
|
|
70
|
+
r(o, {
|
|
71
|
+
ref_key: "suFormRef",
|
|
72
|
+
ref: p,
|
|
73
|
+
record: n.value,
|
|
74
|
+
loading: s.value,
|
|
75
|
+
items: N,
|
|
76
|
+
"data-status": e.dataStatus
|
|
77
|
+
}, null, 8, ["record", "loading", "data-status"]),
|
|
78
|
+
r(l),
|
|
79
|
+
r(D, {
|
|
80
|
+
type: "flex",
|
|
81
|
+
justify: "end",
|
|
82
|
+
style: { "padding-right": "22px" }
|
|
83
|
+
}, {
|
|
84
|
+
default: c(() => [
|
|
85
|
+
r(f, {
|
|
86
|
+
content: "cancel",
|
|
87
|
+
icon: "ri-close-fill",
|
|
88
|
+
onTap: u
|
|
89
|
+
}),
|
|
90
|
+
r(f, {
|
|
91
|
+
content: "confirm",
|
|
92
|
+
icon: "ri-save-3-fill",
|
|
93
|
+
status: "u-cyan",
|
|
94
|
+
onTap: S
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["model-value", "title"])
|
|
102
|
+
]);
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
export {
|
|
107
|
+
F as x
|
|
108
|
+
};
|