@utogether/udp-core 2.0.0-beta.4 → 2.0.0-beta.6
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-CekcmGOc.js → 403-FwkedC35.js} +1 -1
- package/dist/{404-DeSH9KnK.js → 404-fBOEoTA_.js} +1 -1
- package/dist/{500-DHOHlmtv.js → 500-iyNwORJV.js} +1 -1
- package/dist/{AuthorityInfo-BC8U3Zk4.js → AuthorityInfo-BTGUSDZ4.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DVFi0qOJ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DSxmqRu8.js} +1 -1
- package/dist/{Company-Byq4p14C.js → Company-ueSjOTse.js} +3 -3
- package/dist/{CompanyPanel-CIHP7rVd.js → CompanyPanel-CAhzxgMa.js} +7 -7
- package/dist/{Department-CxgSq34X.js → Department-fGiF2ia2.js} +3 -3
- package/dist/{DepartmentPanel-hYNqywSQ.js → DepartmentPanel-DW7RJCcR.js} +20 -20
- package/dist/{DesignPanel-GEhqXIAx.js → DesignPanel-CAQBm4D4.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DxA6H5Ts.js → DesignPanel.vue_vue_type_style_index_0_lang-5LGPeXPl.js} +2 -2
- package/dist/{DictView-tyGrHFO8.js → DictView-CvJgPLm3.js} +10 -10
- package/dist/{InvOrganization-DjJ4XkxN.js → InvOrganization-qlTFGd3Z.js} +1 -1
- package/dist/{Org-3eHX7nBU.js → Org-XLreDKod.js} +1 -1
- package/dist/{Preview-Cgc3O8vp.js → Preview-CPbzW7CO.js} +1 -1
- package/dist/{ReportDefine-FYxHLbPV.js → ReportDefine-Cb8Kr-eh.js} +1 -1
- package/dist/{ReportDesign-BTOVgMzz.js → ReportDesign-C7NEHxsF.js} +6 -6
- package/dist/{ReportQuery-Dhy9sk04.js → ReportQuery-DRHAlGXP.js} +1 -1
- package/dist/{ReportQueryFrom-B1TE8lOG.js → ReportQueryFrom-BVzD7HiO.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D93NL2N7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-B_lbUpW7.js} +7 -7
- package/dist/{ReportTemplate-C-EuU7mL.js → ReportTemplate-jvKZTiwg.js} +8 -8
- package/dist/{Role-Dc1dZ0o9.js → Role-BHHb-iLB.js} +3 -3
- package/dist/{RoleAssign-DDv65izq.js → RoleAssign-BTBTh4BY.js} +3 -3
- package/dist/{RolePanel-CiDM8OSr.js → RolePanel-BCi1rex2.js} +1 -1
- package/dist/{RolePanel-Dw_pTEGV.js → RolePanel-aV6bg80k.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CG_KY7NS.js → RolePanel.vue_vue_type_script_setup_true_lang-BhFR-z17.js} +7 -7
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Ctq1lItN.js → RolePanel.vue_vue_type_script_setup_true_lang-C2b-FgFi.js} +7 -7
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js → ScrollPanel.vue_vue_type_style_index_0_lang-BvNAonbh.js} +1 -1
- package/dist/{Staff-DMh451jL.js → Staff-CQqKHfmG.js} +3 -3
- package/dist/{StaffInfo-2PhYcVaz.js → StaffInfo-DBgWZZxQ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CrCFms3g.js → StaffInfo.vue_vue_type_script_setup_true_lang-DZSUQTor.js} +1 -1
- package/dist/{StaffPanel-BrvkXT68.js → StaffPanel-qhtv83q9.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3j8x4MN.js} +8 -8
- package/dist/{SysUser-DLDd5do7.js → SysUser-D-7c33EB.js} +2 -2
- package/dist/{SysUserPanel-DDQxi2Hk.js → SysUserPanel-t1ZR91oy.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DvOggZs6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Bz2s1QPZ.js} +1 -1
- package/dist/{SystemMenu-nFNfz4Nj.js → SystemMenu-DNffJRQo.js} +6 -6
- package/dist/{UserInfo-B9PLKur5.js → UserInfo-niYGSHmG.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BwZNwtQH.js → UserInfo.vue_vue_type_style_index_0_lang-B8CRjdQG.js} +1 -1
- package/dist/{childView-BEDVB_RG.js → childView-Dn28g10M.js} +1 -1
- package/dist/{childView-BRa268Qh.js → childView-E2EnbUz2.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-BcyosNSH.js → childView.vue_vue_type_style_index_0_lang-DFs-YATK.js} +30 -27
- package/dist/{childView.vue_vue_type_style_index_0_lang-qsceJGeR.js → childView.vue_vue_type_style_index_0_lang-UzBSJ6wt.js} +7 -7
- package/dist/{code-rule-CJ4FuOo1.js → code-rule-D-RJozWD.js} +1 -1
- package/dist/core.es.js +10 -10
- package/dist/{cron-task-CXnv7hIa.js → cron-task-CPuU0Rc2.js} +1 -1
- package/dist/{frameView-g5e9PYdE.js → frameView-c4xFtvR6.js} +1 -1
- package/dist/{index-BEAth5RR.js → index-CPKIQXdI.js} +1224 -1215
- package/dist/{layout-home-bl3JShSF.js → layout-home-DrimiAWf.js} +1 -1
- package/dist/{layoutView-DmM9xk-X.js → layoutView-DPaKZNx5.js} +1 -1
- package/dist/{log-in-eGoxFTDE.js → log-in-BQiOfnXg.js} +8 -8
- package/dist/{log-out-CthD_tSk.js → log-out-BvlexfR3.js} +3 -3
- package/dist/{login-Dn7iO3SU.js → login-0R1puBOn.js} +15 -15
- package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
- package/dist/{lov-view-Bt23RK6S.js → lov-view-DieM-cvR.js} +6 -6
- package/dist/{menuInfo-BEmcSaIX.js → menuInfo-Db7s_jX8.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CVuG-x2a.js → menuInfo.vue_vue_type_style_index_0_lang-QbKkjhUR.js} +1 -1
- package/dist/{pda-app-BKfXoKAs.js → pda-app-CCtwSfLe.js} +8 -8
- package/dist/{resource-CshrvEYp.js → resource-rliX23RM.js} +4 -4
- package/dist/{su-welcome-CYYy-dzr-D3RKPoB0-DhP783YJ.js → su-welcome-MLhkyOoQ.js} +20571 -20479
- package/dist/{sys-config-Jqj3l7NK.js → sys-config-Ci6UV7lE.js} +12 -12
- package/dist/udp-core.css +1 -1
- package/package.json +1 -1
- package/src/components/udp/form-upload/form-upload.vue +496 -492
- package/src/components/udp/utils.ts +414 -408
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/plugins/vxe-table/render.tsx +995 -968
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +185 -184
- package/src/views/ufile/aggregation/File.vue +87 -87
- package/src/views/uhome/components/home-todo.vue +11 -7
- package/src/views/uhome/su-welcome.vue +1 -3
- package/src/views/upms/user/login-log.vue +2 -2
- package/vite.config.ts +83 -84
- package/dist/403-CxOqlq0f-C28ufSE6.js +0 -65
- package/dist/403-WCboRvzZ-ZAPgYStl-Ck7rlpC9.js +0 -65
- package/dist/404-2V0Qi-d7-DkNwQggp-3kilva5o.js +0 -65
- package/dist/404-xdB6lFeQ-DRhUFuKU.js +0 -65
- package/dist/500-BYfzvixf-CGpEieyQ-DLrc9brB.js +0 -67
- package/dist/500-C94bRK2S-_XtNljMI.js +0 -67
- package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5-ChKFxbGl.js +0 -4
- package/dist/AuthorityInfo-Dy3b_nFN-BBC0HKlV.js +0 -4
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY-BgLN7Lgx.js +0 -100
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js +0 -100
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE-DAeYw45g.js +0 -4
- package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js +0 -114
- package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
- package/dist/Company-B4vsXy2I-CkNCOqjJ-PjoD0ztY.js +0 -25
- package/dist/Company-gKkfnhLt-BReGxz7n.js +0 -25
- package/dist/CompanyPanel-BF5Pc35s-CtpymP6a.js +0 -206
- package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_-mYpxegRQ.js +0 -206
- package/dist/DataSet-DT-rGICv-DaUfgbxk-YztlXv7w.js +0 -147
- package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
- package/dist/Department-D0I3QVZe-CfWPT-lY.js +0 -25
- package/dist/Department-D0dVUrGC-C6HJcYI1-DhAtBQym.js +0 -25
- package/dist/DepartmentPanel-2LHODgc7--VCCaEsu.js +0 -254
- package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js +0 -254
- package/dist/DesignPanel-CtF3cAAQ-FM7zpexb.js +0 -4
- package/dist/DesignPanel-DdFl_ohi-uCwFxcl1-7p3ouXrw.js +0 -4
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY-CoM_RAUN.js +0 -1013
- package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt-CcCVpy0f.js +0 -1013
- package/dist/DictView-BzQLOf_P-DDicwdmM-B8CFC279.js +0 -111
- package/dist/DictView-H3V5hxg3-BQZWN2zT.js +0 -111
- package/dist/InvOrganization-BiGLnbqe-BK3vgYYR.js +0 -74
- package/dist/InvOrganization-atbhw0CI-BABbVt9V-BT8PkfWL.js +0 -74
- package/dist/Org-BW1YHG-Q-Cow7JWlD-C7ygI7jx.js +0 -39
- package/dist/Org-DQTCQHNY-CEEpGGlZ.js +0 -39
- package/dist/Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js +0 -48
- package/dist/Preview-DXaiis29-BYyNhC1p.js +0 -48
- package/dist/ReportDefine-BLh4CiER-D68a0DWB.js +0 -10
- package/dist/ReportDefine-CNx_ob99-6NQAHK-Q-BL5gB56o.js +0 -10
- package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp-DTsrU_wq.js +0 -165
- package/dist/ReportDesign-Ni1YxrLC-DfziOJc3.js +0 -165
- package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda-c9iy6TZ_.js +0 -75
- package/dist/ReportQuery-C8G88_qF-BKknwX1u.js +0 -75
- package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy-Cq4havLh.js +0 -4
- package/dist/ReportQueryFrom-CuZKPtB4-B_TaZr-N.js +0 -4
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW-CdTqG6KF.js +0 -178
- package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl-kdXwDD3n.js +0 -178
- package/dist/ReportTemplate-BDANdIWv-D_IGjR1w-txJDRw_J.js +0 -161
- package/dist/ReportTemplate-DFnDXWmx-QQkaZRvV.js +0 -161
- package/dist/Role-BQ7hsfPn-BLwTiMMj.js +0 -25
- package/dist/Role-ByB0WbxW-5E8Mb148-WoZV4JKV.js +0 -25
- package/dist/RoleAssign-DW6iC_0v-Bis61auk-BB4DziuB.js +0 -26
- package/dist/RoleAssign-UPCg2d4G-g4V-duK9.js +0 -26
- package/dist/RolePanel-BM2MaQPU-CgcsbfaX-D28vR3Fh.js +0 -4
- package/dist/RolePanel-C-mQ5XRq-JQYWITkX.js +0 -4
- package/dist/RolePanel-ClQy8DBL-DARL4O-o-DrElGZ66.js +0 -4
- package/dist/RolePanel-CoSXOCZN-BdCEhz3b.js +0 -4
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI-Bsk0Mun8.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF-CMTLt3Lp.js +0 -154
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8-DPs8J-8D.js +0 -132
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy-vZfwM6bG.js +0 -154
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js +0 -100
- package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js +0 -100
- package/dist/Staff-CuxzvhD9-D0KTcyRh-Cj8NbX79.js +0 -25
- package/dist/Staff-D-CmvG1R-uwSWH8-m.js +0 -25
- package/dist/StaffInfo-CY7gUICu-EZUhUwIp-C8POP58u.js +0 -4
- package/dist/StaffInfo-Idhvuc6e-COVQmEz0.js +0 -4
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn-p0kltEdZ.js +0 -108
- package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU-Cj9lcXG6.js +0 -108
- package/dist/StaffPanel-CDDmAYE5-mLPGD2Nf.js +0 -4
- package/dist/StaffPanel-CwqG0_xr-CrvzLJoc-AX54GdZ3.js +0 -4
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js +0 -143
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js +0 -143
- package/dist/SysUser-9Q2UJWhi-DprWXFlR-DUMl4Hfm.js +0 -15
- package/dist/SysUser-a-j5bppr-CpP0s5DW.js +0 -15
- package/dist/SysUserPanel-6V232wwB-DI8apzmL.js +0 -4
- package/dist/SysUserPanel-bJy69O7x-BJtBgFEs-DEXctwBe.js +0 -4
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy-CD9JQp9h.js +0 -356
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen-BBtBr0VU.js +0 -356
- package/dist/SystemMenu-BnVeOSOQ-6HW3jX57.js +0 -156
- package/dist/SystemMenu-DGOAolc1-CJSLHP8i-DIUNb03s.js +0 -156
- package/dist/UserInfo-CKoOHkAM-DDWp0I_U-DEerO-y3.js +0 -4
- package/dist/UserInfo-Cax9b2nw-DBResyaY.js +0 -4
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js +0 -160
- package/dist/UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9-B2nI6TLi.js +0 -160
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js +0 -10
- package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
- package/dist/childView-0YZQ6GBn-CEqg7k5d-CDGM_XzZ.js +0 -4
- package/dist/childView-DKG3eZo8-CCtKjCU7.js +0 -4
- package/dist/childView-DKkgi3yo-D47ft-vi-B5yI8Dk7.js +0 -4
- package/dist/childView-siumuBz0-CyYKsSPy.js +0 -4
- package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js +0 -143
- package/dist/childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js +0 -180
- package/dist/childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js +0 -143
- package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js +0 -180
- package/dist/code-rule-Dtoree6F-B4yeNvFw.js +0 -148
- package/dist/code-rule-wQyfgpNL-C4evD4Co-BOJCC1LY.js +0 -148
- package/dist/cron-task-C-kryDtd-C0NuGZCe-DIJuoNx-.js +0 -135
- package/dist/cron-task-GSRgA7S5-D_xfN2g_.js +0 -135
- package/dist/flow-task-B07st2aD-CgQvagSQ-BaPlX6ds.js +0 -10
- package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
- package/dist/frameView-BOGA3ezf-QoSxzmSQ-BWs9F5mT.js +0 -44
- package/dist/frameView-Cy6wxW0K-BLdNZaGh.js +0 -44
- package/dist/layout-home-3Dy4onl4-COK554mq.js +0 -228
- package/dist/layout-home-CYHksXN_-Basy-3IH-Dnun4YUs.js +0 -228
- package/dist/layoutView-BaRvAbIa-xVgfqspc-zL46XaoI.js +0 -3302
- package/dist/layoutView-DMjNscJ--DvK2S5BQ.js +0 -3302
- package/dist/log-in-Cx1dGik8-BVeEHeZ8-D7mV8pl4.js +0 -117
- package/dist/log-in-VAG6Cvcx-B6arurXx.js +0 -117
- package/dist/log-out-COYdxrNC-ftopGZdE-Ch_UgXZv.js +0 -130
- package/dist/log-out-DZGaMCjC-OztBlMPh.js +0 -130
- package/dist/login-CqVMdNHs-CRJ-LWAK.js +0 -241
- package/dist/login-Dg9ofNS8-Bocp1XMA-DY4y3cAG.js +0 -241
- package/dist/login-log-DJBGJVV0-AoOyj0jD-AoOyj0jD.js +0 -70
- package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
- package/dist/lov-view-C0T5prk8-B2DBmn55-BvzOsVW8.js +0 -97
- package/dist/lov-view-Cc68_28B-y4f2SzBr.js +0 -97
- package/dist/menuInfo-BIrIaJlH-Bxn4KTWH.js +0 -4
- package/dist/menuInfo-BZJ_q7bz-Drho-_QC-BK5n3Shr.js +0 -4
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js +0 -363
- package/dist/menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js +0 -363
- package/dist/pda-app-DnjphrRS-4tIZDsnN.js +0 -710
- package/dist/pda-app-m9hsppHo-B4xyja1o-9mD3zI7J.js +0 -710
- package/dist/redirect-BqegffKC-CBCIuqmz-46JkXpSM.js +0 -15
- package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
- package/dist/resource-C6KEIXu--B_ddyecm-CFF-A4cr.js +0 -97
- package/dist/resource-DISgPDM7-C4P8jqU0.js +0 -97
- package/dist/su-welcome-BjbuSrBZ-DrInu823.js +0 -49339
- package/dist/su-welcome-t7YusM3U.js +0 -49427
- package/dist/sys-config-DCjJGtht-DARDjlrt-Dx8559bf.js +0 -370
- package/dist/sys-config-Yc9vh1t1-B3bJPd9S.js +0 -370
- package/dist/utogether-MlnyYtNS-CGgjFNPS-CGgjFNPS.js +0 -4
- package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, ref as o, reactive as E, createVNode as d, Fragment as u, resolveComponent as a, createElementBlock as C, openBlock as m, createBlock as v, createCommentVNode as k } from "vue";
|
|
2
|
-
import { useRender as T } from "@utogether/utils";
|
|
3
|
-
import { clone as b } from "xe-utils";
|
|
4
|
-
const I = {
|
|
5
|
-
name: "DataSet"
|
|
6
|
-
}, q = /* @__PURE__ */ w({
|
|
7
|
-
...I,
|
|
8
|
-
setup(g) {
|
|
9
|
-
const i = o(null), l = o({}), t = T(), r = E({
|
|
10
|
-
paramExt: {},
|
|
11
|
-
showChild: !1
|
|
12
|
-
}), f = [{
|
|
13
|
-
field: "dataSetCode"
|
|
14
|
-
}, {
|
|
15
|
-
field: "dataSetName"
|
|
16
|
-
}], n = [{
|
|
17
|
-
type: "checkbox",
|
|
18
|
-
width: 50,
|
|
19
|
-
align: "center"
|
|
20
|
-
}, {
|
|
21
|
-
field: "dataSetCode",
|
|
22
|
-
required: !0,
|
|
23
|
-
width: 150,
|
|
24
|
-
editRender: t.renderSelect({
|
|
25
|
-
optionProps: {
|
|
26
|
-
label: "templateCode",
|
|
27
|
-
value: "templateCode"
|
|
28
|
-
},
|
|
29
|
-
props: {
|
|
30
|
-
code: "SYS075",
|
|
31
|
-
fetchField: "templateCode"
|
|
32
|
-
}
|
|
33
|
-
})
|
|
34
|
-
}, {
|
|
35
|
-
field: "dataSetName",
|
|
36
|
-
required: !0,
|
|
37
|
-
width: 150,
|
|
38
|
-
editRender: t.renderInput()
|
|
39
|
-
}, {
|
|
40
|
-
field: "dataSetType",
|
|
41
|
-
required: !0,
|
|
42
|
-
editRender: t.renderDict("SU.DATASET.TYPE"),
|
|
43
|
-
formatter: ["formatDict", "SU.DATASET.TYPE"]
|
|
44
|
-
}, {
|
|
45
|
-
field: "dataSetUrl",
|
|
46
|
-
width: 180,
|
|
47
|
-
required: !0,
|
|
48
|
-
editRender: t.renderInput()
|
|
49
|
-
}, {
|
|
50
|
-
field: "remark",
|
|
51
|
-
minWidth: 80,
|
|
52
|
-
editRender: t.renderInput()
|
|
53
|
-
}, {
|
|
54
|
-
field: "enabled",
|
|
55
|
-
width: 80,
|
|
56
|
-
formatter: ["formatDict", "SU.ENABLE"]
|
|
57
|
-
}, {
|
|
58
|
-
field: "operate",
|
|
59
|
-
width: 150,
|
|
60
|
-
slots: {
|
|
61
|
-
default: ({
|
|
62
|
-
row: e
|
|
63
|
-
}) => e.id ? [
|
|
64
|
-
d(u, null, [d(a("ut-button"), {
|
|
65
|
-
icon: "ri-save-3-fill",
|
|
66
|
-
content: "paramSet",
|
|
67
|
-
onClick: () => c(e)
|
|
68
|
-
}, null)])
|
|
69
|
-
// <ut-button row={row} onTap={() => handleClick(row)} />
|
|
70
|
-
] : null
|
|
71
|
-
}
|
|
72
|
-
}], p = [{
|
|
73
|
-
type: "checkbox",
|
|
74
|
-
width: 50,
|
|
75
|
-
align: "center"
|
|
76
|
-
}, {
|
|
77
|
-
field: "seqNo",
|
|
78
|
-
editRender: t.renderInput({
|
|
79
|
-
props: {
|
|
80
|
-
type: "number"
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
}, {
|
|
84
|
-
field: "paramCode",
|
|
85
|
-
editRender: t.renderInput()
|
|
86
|
-
}, {
|
|
87
|
-
field: "paramName",
|
|
88
|
-
editRender: t.renderInput()
|
|
89
|
-
}, {
|
|
90
|
-
field: "defaultValue",
|
|
91
|
-
editRender: t.renderInput()
|
|
92
|
-
}, {
|
|
93
|
-
field: "isRequired",
|
|
94
|
-
required: !0,
|
|
95
|
-
editRender: t.renderDict("SU.WHETHER"),
|
|
96
|
-
formatter: ["formatDict", "SU.WHETHER"]
|
|
97
|
-
}, {
|
|
98
|
-
field: "remark",
|
|
99
|
-
width: 100,
|
|
100
|
-
editRender: t.renderInput()
|
|
101
|
-
}, {
|
|
102
|
-
field: "operate",
|
|
103
|
-
width: 80,
|
|
104
|
-
fixed: "right",
|
|
105
|
-
slots: {
|
|
106
|
-
default: ({
|
|
107
|
-
row: e
|
|
108
|
-
}) => e.id ? [d(u, null, [d(a("ut-button"), {
|
|
109
|
-
row: e
|
|
110
|
-
}, null)])] : null
|
|
111
|
-
}
|
|
112
|
-
}], c = (e) => {
|
|
113
|
-
l.value = b(e, !0), r.paramExt = {
|
|
114
|
-
dataSetId: e.id
|
|
115
|
-
}, r.showChild = !0;
|
|
116
|
-
}, s = {
|
|
117
|
-
editActived({
|
|
118
|
-
row: e,
|
|
119
|
-
column: h
|
|
120
|
-
}) {
|
|
121
|
-
e.id && (n[1].editRender.props.disabled = !0, i.value.refreshColumn());
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
return (e, h) => {
|
|
125
|
-
const S = a("ut-grid"), R = a("ut-modal-grif");
|
|
126
|
-
return m(), C("div", null, [d(S, {
|
|
127
|
-
ref_key: "SuGridRef",
|
|
128
|
-
ref: i,
|
|
129
|
-
items: f,
|
|
130
|
-
columns: n,
|
|
131
|
-
events: s
|
|
132
|
-
}, null, 512), r.showChild ? (m(), v(R, {
|
|
133
|
-
key: 0,
|
|
134
|
-
record: l.value,
|
|
135
|
-
"default-value": r.paramExt,
|
|
136
|
-
"default-params": r.paramExt,
|
|
137
|
-
columns: p,
|
|
138
|
-
title: e.$t("message.paramSet"),
|
|
139
|
-
editable: !0,
|
|
140
|
-
width: "60%"
|
|
141
|
-
}, null, 8, ["record", "default-value", "default-params", "title"])) : k("", !0)]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
export {
|
|
146
|
-
q as default
|
|
147
|
-
};
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, ref as o, reactive as E, createVNode as d, Fragment as u, resolveComponent as l, createElementBlock as C, openBlock as m, createBlock as v, createCommentVNode as k } from "vue";
|
|
2
|
-
import { useRender as I } from "@utogether/utils";
|
|
3
|
-
import { clone as b } from "xe-utils";
|
|
4
|
-
const T = {
|
|
5
|
-
name: "DataSet"
|
|
6
|
-
}, N = /* @__PURE__ */ w({
|
|
7
|
-
...T,
|
|
8
|
-
setup(g) {
|
|
9
|
-
const a = o(null), i = o({}), t = I(), r = E({
|
|
10
|
-
paramExt: {},
|
|
11
|
-
showChild: !1
|
|
12
|
-
}), f = [{
|
|
13
|
-
field: "dataSetCode"
|
|
14
|
-
}, {
|
|
15
|
-
field: "dataSetName"
|
|
16
|
-
}], n = [{
|
|
17
|
-
type: "checkbox",
|
|
18
|
-
width: 50,
|
|
19
|
-
align: "center"
|
|
20
|
-
}, {
|
|
21
|
-
field: "dataSetCode",
|
|
22
|
-
required: !0,
|
|
23
|
-
width: 150,
|
|
24
|
-
editRender: t.renderSelect({
|
|
25
|
-
optionProps: {
|
|
26
|
-
label: "templateCode",
|
|
27
|
-
value: "templateCode"
|
|
28
|
-
},
|
|
29
|
-
props: {
|
|
30
|
-
code: "SYS075",
|
|
31
|
-
fetchField: "templateCode"
|
|
32
|
-
}
|
|
33
|
-
})
|
|
34
|
-
}, {
|
|
35
|
-
field: "dataSetName",
|
|
36
|
-
required: !0,
|
|
37
|
-
width: 150,
|
|
38
|
-
editRender: t.renderInput()
|
|
39
|
-
}, {
|
|
40
|
-
field: "dataSetType",
|
|
41
|
-
required: !0,
|
|
42
|
-
editRender: t.renderDict("SU.DATASET.TYPE"),
|
|
43
|
-
formatter: ["formatDict", "SU.DATASET.TYPE"]
|
|
44
|
-
}, {
|
|
45
|
-
field: "dataSetUrl",
|
|
46
|
-
width: 180,
|
|
47
|
-
required: !0,
|
|
48
|
-
editRender: t.renderInput()
|
|
49
|
-
}, {
|
|
50
|
-
field: "remark",
|
|
51
|
-
minWidth: 80,
|
|
52
|
-
editRender: t.renderInput()
|
|
53
|
-
}, {
|
|
54
|
-
field: "enabled",
|
|
55
|
-
width: 80,
|
|
56
|
-
formatter: ["formatDict", "SU.ENABLE"]
|
|
57
|
-
}, {
|
|
58
|
-
field: "operate",
|
|
59
|
-
width: 150,
|
|
60
|
-
slots: {
|
|
61
|
-
default: ({
|
|
62
|
-
row: e
|
|
63
|
-
}) => e.id ? [
|
|
64
|
-
d(u, null, [d(l("ut-button"), {
|
|
65
|
-
icon: "ri-save-3-fill",
|
|
66
|
-
content: "paramSet",
|
|
67
|
-
onClick: () => c(e)
|
|
68
|
-
}, null)])
|
|
69
|
-
// <ut-button row={row} onTap={() => handleClick(row)} />
|
|
70
|
-
] : null
|
|
71
|
-
}
|
|
72
|
-
}], p = [{
|
|
73
|
-
type: "checkbox",
|
|
74
|
-
width: 50,
|
|
75
|
-
align: "center"
|
|
76
|
-
}, {
|
|
77
|
-
field: "seqNo",
|
|
78
|
-
editRender: t.renderInput({
|
|
79
|
-
props: {
|
|
80
|
-
type: "number"
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
}, {
|
|
84
|
-
field: "paramCode",
|
|
85
|
-
editRender: t.renderInput()
|
|
86
|
-
}, {
|
|
87
|
-
field: "paramName",
|
|
88
|
-
editRender: t.renderInput()
|
|
89
|
-
}, {
|
|
90
|
-
field: "defaultValue",
|
|
91
|
-
editRender: t.renderInput()
|
|
92
|
-
}, {
|
|
93
|
-
field: "isRequired",
|
|
94
|
-
required: !0,
|
|
95
|
-
editRender: t.renderDict("SU.WHETHER"),
|
|
96
|
-
formatter: ["formatDict", "SU.WHETHER"]
|
|
97
|
-
}, {
|
|
98
|
-
field: "remark",
|
|
99
|
-
width: 100,
|
|
100
|
-
editRender: t.renderInput()
|
|
101
|
-
}, {
|
|
102
|
-
field: "operate",
|
|
103
|
-
width: 80,
|
|
104
|
-
fixed: "right",
|
|
105
|
-
slots: {
|
|
106
|
-
default: ({
|
|
107
|
-
row: e
|
|
108
|
-
}) => e.id ? [d(u, null, [d(l("ut-button"), {
|
|
109
|
-
row: e
|
|
110
|
-
}, null)])] : null
|
|
111
|
-
}
|
|
112
|
-
}], c = (e) => {
|
|
113
|
-
i.value = b(e, !0), r.paramExt = {
|
|
114
|
-
dataSetId: e.id
|
|
115
|
-
}, r.showChild = !0;
|
|
116
|
-
}, s = {
|
|
117
|
-
editActived({
|
|
118
|
-
row: e,
|
|
119
|
-
column: h
|
|
120
|
-
}) {
|
|
121
|
-
e.id && (n[1].editRender.props.disabled = !0, a.value.refreshColumn());
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
return (e, h) => {
|
|
125
|
-
const S = l("ut-grid"), R = l("ut-modal-grif");
|
|
126
|
-
return m(), C("div", null, [d(S, {
|
|
127
|
-
ref_key: "SuGridRef",
|
|
128
|
-
ref: a,
|
|
129
|
-
items: f,
|
|
130
|
-
columns: n,
|
|
131
|
-
events: s
|
|
132
|
-
}, null, 512), r.showChild ? (m(), v(R, {
|
|
133
|
-
key: 0,
|
|
134
|
-
record: i.value,
|
|
135
|
-
"default-value": r.paramExt,
|
|
136
|
-
"default-params": r.paramExt,
|
|
137
|
-
columns: p,
|
|
138
|
-
title: e.$t("message.paramSet"),
|
|
139
|
-
editable: !0,
|
|
140
|
-
width: "60%"
|
|
141
|
-
}, null, 8, ["record", "default-value", "default-params", "title"])) : k("", !0)]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
export {
|
|
146
|
-
N as default
|
|
147
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, ref as e, createElementBlock as c, provide as t, openBlock as p, createElementVNode as r, createVNode as a } from "vue";
|
|
2
|
-
import { K as i } from "./ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js";
|
|
3
|
-
import d from "./DepartmentPanel-2LHODgc7--VCCaEsu.js";
|
|
4
|
-
import { t as u } from "./su-welcome-t7YusM3U.js";
|
|
5
|
-
const f = { class: "u-content-panel" }, v = { class: "u-left-panel" }, h = { class: "content" }, _ = /* @__PURE__ */ m({
|
|
6
|
-
__name: "Department",
|
|
7
|
-
setup(k) {
|
|
8
|
-
const n = e({}), o = e(!1), l = e([]);
|
|
9
|
-
return t("active", n), t("scrollPanelChange", o), t("treeList", l), (s, C) => (p(), c("div", f, [
|
|
10
|
-
r("div", v, [
|
|
11
|
-
a(i, {
|
|
12
|
-
title: s.$t("department"),
|
|
13
|
-
url: "/uums/department/treeDepartment",
|
|
14
|
-
"tree-otions": { children: "children", label: "deptName" }
|
|
15
|
-
}, null, 8, ["title"])
|
|
16
|
-
]),
|
|
17
|
-
r("div", h, [
|
|
18
|
-
a(d)
|
|
19
|
-
])
|
|
20
|
-
]));
|
|
21
|
-
}
|
|
22
|
-
}), E = /* @__PURE__ */ u(_, [["__scopeId", "data-v-a043aab6"]]);
|
|
23
|
-
export {
|
|
24
|
-
E as default
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, ref as e, createElementBlock as c, provide as t, openBlock as i, createElementVNode as a, createVNode as n } from "vue";
|
|
2
|
-
import { R as s } from "./ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js";
|
|
3
|
-
import d from "./DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js";
|
|
4
|
-
import { t as f } from "./su-welcome-BjbuSrBZ-DrInu823.js";
|
|
5
|
-
const u = { class: "u-content-panel" }, v = { class: "u-left-panel" }, _ = { class: "content" }, h = /* @__PURE__ */ p({
|
|
6
|
-
__name: "Department",
|
|
7
|
-
setup(k) {
|
|
8
|
-
const r = e({}), o = e(!1), l = e([]);
|
|
9
|
-
return t("active", r), t("scrollPanelChange", o), t("treeList", l), (m, C) => (i(), c("div", u, [
|
|
10
|
-
a("div", v, [
|
|
11
|
-
n(s, {
|
|
12
|
-
title: m.$t("department"),
|
|
13
|
-
url: "/uums/department/treeDepartment",
|
|
14
|
-
"tree-otions": { children: "children", label: "deptName" }
|
|
15
|
-
}, null, 8, ["title"])
|
|
16
|
-
]),
|
|
17
|
-
a("div", _, [
|
|
18
|
-
n(d)
|
|
19
|
-
])
|
|
20
|
-
]));
|
|
21
|
-
}
|
|
22
|
-
}), D = /* @__PURE__ */ f(h, [["__scopeId", "data-v-a043aab6"]]);
|
|
23
|
-
export {
|
|
24
|
-
D as default
|
|
25
|
-
};
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, reactive as O, inject as V, watch as R, resolveComponent as u, resolveDirective as W, createElementBlock as L, openBlock as l, createVNode as r, withDirectives as Y, createBlock as o, withCtx as c, createCommentVNode as m, unref as y, createElementVNode as s, createTextVNode as z, toDisplayString as G } from "vue";
|
|
2
|
-
import { useI18n as H } from "vue-i18n";
|
|
3
|
-
import { templateRef as J } from "@vueuse/core";
|
|
4
|
-
import { clone as K } from "xe-utils";
|
|
5
|
-
import { c as k } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
|
|
6
|
-
import { VxeUI as _ } from "vxe-table";
|
|
7
|
-
import { warnMessage as Q, successMessage as X } from "@utogether/utils";
|
|
8
|
-
import { t as Z, M as ee, B as b, W as te } from "./su-welcome-t7YusM3U.js";
|
|
9
|
-
const ae = { class: "page-content" }, S = "/uums/department", se = /* @__PURE__ */ U({
|
|
10
|
-
__name: "DepartmentPanel",
|
|
11
|
-
setup(re) {
|
|
12
|
-
const e = O({
|
|
13
|
-
record: {},
|
|
14
|
-
dataList: [],
|
|
15
|
-
loading: !1,
|
|
16
|
-
dialogFormVisible: !1,
|
|
17
|
-
isChecked: !1,
|
|
18
|
-
dataStatus: ""
|
|
19
|
-
}), $ = ee().getDataDict, { t: d } = H(), p = te(), N = {
|
|
20
|
-
deptName: [
|
|
21
|
-
{
|
|
22
|
-
required: !0,
|
|
23
|
-
message: `${d("message.required")}${d("message.deptName")}`
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
deptCode: [
|
|
27
|
-
{
|
|
28
|
-
required: !0,
|
|
29
|
-
message: `${d("message.required")}${d("message.deptCode")}`
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
deptType: [
|
|
33
|
-
{
|
|
34
|
-
required: !0,
|
|
35
|
-
message: `${d("message.required")}${d("message.deptType")}`
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}, f = V("active"), D = V("scrollPanelChange");
|
|
39
|
-
R(
|
|
40
|
-
() => f.value,
|
|
41
|
-
(a, t) => {
|
|
42
|
-
e.record = f.value, a != null && a.id && t != null && t.id && a !== t && C("detail");
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
const F = () => {
|
|
46
|
-
var a;
|
|
47
|
-
e.dataStatus = "add", e.record = {}, e.record.parentId = (a = f.value) == null ? void 0 : a.id, e.isChecked = !1, e.dialogFormVisible = !0;
|
|
48
|
-
}, C = (a) => {
|
|
49
|
-
e.dataStatus = a, e.record = K(f.value, !0), e.dialogFormVisible = !0;
|
|
50
|
-
}, T = J("xForm", null), q = () => {
|
|
51
|
-
T.value.validate(async (a) => {
|
|
52
|
-
if (!a) {
|
|
53
|
-
const { record: t, dataStatus: i } = e;
|
|
54
|
-
e.loading = !0;
|
|
55
|
-
const [h] = i === "add" ? await k(p.post(S, t)) : await k(p.put(S, t));
|
|
56
|
-
e.loading = !1, h || v();
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}, E = async () => {
|
|
60
|
-
const { record: a } = e;
|
|
61
|
-
if (a.children.length) return Q(d("message.deletePartment"));
|
|
62
|
-
await _.modal.confirm(d("message.tip.del")) === "confirm" && (await p.delete(S, a), v());
|
|
63
|
-
}, w = async (a) => {
|
|
64
|
-
if (await _.modal.confirm(d("message.tip.confirmSync")) === "confirm") {
|
|
65
|
-
const [t] = await k(p.post("/uums/department/syncEwDepartment", { code: a }));
|
|
66
|
-
if (t) return;
|
|
67
|
-
v();
|
|
68
|
-
}
|
|
69
|
-
}, v = () => {
|
|
70
|
-
D.value = !0, X(d("message.operateSuccess")), I();
|
|
71
|
-
}, P = () => {
|
|
72
|
-
e.dataStatus === "add" && (e.dialogFormVisible = !1), e.dataStatus = "";
|
|
73
|
-
}, I = () => {
|
|
74
|
-
e.dialogFormVisible = !1;
|
|
75
|
-
};
|
|
76
|
-
return (a, t) => {
|
|
77
|
-
const i = u("ut-button"), h = u("vxe-toolbar"), x = u("vxe-form-item"), M = u("vxe-form"), g = u("el-row"), A = u("vxe-checkbox"), B = u("el-card"), j = W("spinning");
|
|
78
|
-
return l(), L("div", ae, [
|
|
79
|
-
r(h, {
|
|
80
|
-
perfect: "",
|
|
81
|
-
class: ""
|
|
82
|
-
}, {
|
|
83
|
-
buttons: c(() => [
|
|
84
|
-
r(i, {
|
|
85
|
-
status: "u-cyan",
|
|
86
|
-
icon: "ri-add-line",
|
|
87
|
-
content: "add",
|
|
88
|
-
auth: "add",
|
|
89
|
-
onTap: t[0] || (t[0] = (n) => F())
|
|
90
|
-
}),
|
|
91
|
-
y(b)("wechat") ? (l(), o(i, {
|
|
92
|
-
key: 0,
|
|
93
|
-
status: "success",
|
|
94
|
-
icon: "ri-refresh-line",
|
|
95
|
-
content: "sync",
|
|
96
|
-
onTap: t[1] || (t[1] = (n) => w("wechat"))
|
|
97
|
-
})) : m("", !0),
|
|
98
|
-
y(b)("dingding") ? (l(), o(i, {
|
|
99
|
-
key: 1,
|
|
100
|
-
status: "success",
|
|
101
|
-
icon: "ri-refresh-line",
|
|
102
|
-
content: "sync",
|
|
103
|
-
onTap: t[2] || (t[2] = (n) => w("dingding"))
|
|
104
|
-
})) : m("", !0),
|
|
105
|
-
y(b)("OA") ? (l(), o(i, {
|
|
106
|
-
key: 2,
|
|
107
|
-
status: "success",
|
|
108
|
-
icon: "ri-refresh-line",
|
|
109
|
-
content: "sync",
|
|
110
|
-
onTap: t[3] || (t[3] = (n) => w("OA"))
|
|
111
|
-
})) : m("", !0),
|
|
112
|
-
r(i, {
|
|
113
|
-
status: "primary",
|
|
114
|
-
icon: "ri-edit-box-line",
|
|
115
|
-
auth: "edit",
|
|
116
|
-
content: "edit",
|
|
117
|
-
onTap: t[4] || (t[4] = (n) => C("update"))
|
|
118
|
-
}),
|
|
119
|
-
r(i, {
|
|
120
|
-
status: "danger",
|
|
121
|
-
icon: "ri-close-fill",
|
|
122
|
-
auth: "del",
|
|
123
|
-
content: "delete",
|
|
124
|
-
onTap: t[5] || (t[5] = (n) => E())
|
|
125
|
-
})
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}),
|
|
129
|
-
e.dialogFormVisible ? Y((l(), o(g, {
|
|
130
|
-
key: 0,
|
|
131
|
-
type: "flex",
|
|
132
|
-
justify: "center",
|
|
133
|
-
align: "middle",
|
|
134
|
-
class: "w-departInfo-wrapper"
|
|
135
|
-
}, {
|
|
136
|
-
default: c(() => [
|
|
137
|
-
r(B, {
|
|
138
|
-
width: "60%",
|
|
139
|
-
shadow: "always",
|
|
140
|
-
class: "box-card w-card-wrapper"
|
|
141
|
-
}, {
|
|
142
|
-
default: c(() => [
|
|
143
|
-
t[7] || (t[7] = s("div", { class: "clearfix" }, [
|
|
144
|
-
s("span", { class: "w-card-title" })
|
|
145
|
-
], -1)),
|
|
146
|
-
r(g, null, {
|
|
147
|
-
default: c(() => [
|
|
148
|
-
r(M, {
|
|
149
|
-
ref_key: "xForm",
|
|
150
|
-
ref: T,
|
|
151
|
-
data: e.record,
|
|
152
|
-
rules: N,
|
|
153
|
-
"label-width": "90px"
|
|
154
|
-
}, {
|
|
155
|
-
default: c(() => {
|
|
156
|
-
var n;
|
|
157
|
-
return [
|
|
158
|
-
r(x, {
|
|
159
|
-
title: a.$t("message.deptName"),
|
|
160
|
-
field: "deptName",
|
|
161
|
-
"item-render": { name: "$input", props: { disabled: e.dataStatus === "detail" } },
|
|
162
|
-
span: 24
|
|
163
|
-
}, null, 8, ["title", "item-render"]),
|
|
164
|
-
r(x, {
|
|
165
|
-
title: a.$t("message.deptCode"),
|
|
166
|
-
field: "deptCode",
|
|
167
|
-
"item-render": { name: "$input", props: { disabled: e.dataStatus !== "add" } },
|
|
168
|
-
span: 24
|
|
169
|
-
}, null, 8, ["title", "item-render"]),
|
|
170
|
-
r(x, {
|
|
171
|
-
title: a.$t("message.deptType"),
|
|
172
|
-
field: "deptType",
|
|
173
|
-
"item-render": {
|
|
174
|
-
name: "$select",
|
|
175
|
-
options: (n = y($)["SU.DEPARTMENT.TYPE"]) == null ? void 0 : n.children,
|
|
176
|
-
optionProps: { label: "dictName", value: "dictCode" },
|
|
177
|
-
props: { disabled: e.dataStatus === "detail" }
|
|
178
|
-
},
|
|
179
|
-
span: 24
|
|
180
|
-
}, null, 8, ["title", "item-render"])
|
|
181
|
-
];
|
|
182
|
-
}),
|
|
183
|
-
_: 1
|
|
184
|
-
}, 8, ["data"])
|
|
185
|
-
]),
|
|
186
|
-
_: 1
|
|
187
|
-
}),
|
|
188
|
-
r(g, {
|
|
189
|
-
type: "flex",
|
|
190
|
-
justify: "center"
|
|
191
|
-
}, {
|
|
192
|
-
default: c(() => [
|
|
193
|
-
e.dataStatus === "add" ? (l(), o(A, {
|
|
194
|
-
key: 0,
|
|
195
|
-
modelValue: e.isChecked,
|
|
196
|
-
"onUpdate:modelValue": t[6] || (t[6] = (n) => e.isChecked = n),
|
|
197
|
-
style: { "padding-top": "5px", "margin-right": "8px" }
|
|
198
|
-
}, {
|
|
199
|
-
default: c(() => [
|
|
200
|
-
z(G(a.$t("message.udp.continueAdd")), 1)
|
|
201
|
-
]),
|
|
202
|
-
_: 1
|
|
203
|
-
}, 8, ["modelValue"])) : m("", !0),
|
|
204
|
-
e.dataStatus !== "detail" ? (l(), o(i, {
|
|
205
|
-
key: 1,
|
|
206
|
-
status: "primary",
|
|
207
|
-
content: "confirm",
|
|
208
|
-
onTap: q
|
|
209
|
-
})) : m("", !0),
|
|
210
|
-
e.dataStatus !== "detail" ? (l(), o(i, {
|
|
211
|
-
key: 2,
|
|
212
|
-
status: "warning",
|
|
213
|
-
content: "cancel",
|
|
214
|
-
onClick: P
|
|
215
|
-
})) : m("", !0)
|
|
216
|
-
]),
|
|
217
|
-
_: 1
|
|
218
|
-
})
|
|
219
|
-
]),
|
|
220
|
-
_: 1
|
|
221
|
-
})
|
|
222
|
-
]),
|
|
223
|
-
_: 1
|
|
224
|
-
})), [
|
|
225
|
-
[j, e.loading]
|
|
226
|
-
]) : (l(), o(g, {
|
|
227
|
-
key: 1,
|
|
228
|
-
class: "w-noclick-wrapper"
|
|
229
|
-
}, {
|
|
230
|
-
default: c(() => t[8] || (t[8] = [
|
|
231
|
-
s("div", { class: "w-content-wrapper" }, [
|
|
232
|
-
s("ul", null, [
|
|
233
|
-
s("li", { class: "w-department-line" }, [
|
|
234
|
-
s("div", null, "● 点击新建,新建部门信息。"),
|
|
235
|
-
s("div", { style: { margin: "0", "text-indent": "2em" } }, "已点击树结构上的部门名称,默认创建为当前部门的下属部门"),
|
|
236
|
-
s("div", { style: { margin: "0", "text-indent": "2em" } }, "未点击树结构上的部门名称,则创建为一级部门")
|
|
237
|
-
]),
|
|
238
|
-
s("li", { class: "w-department-line" }, "● 点击树结构上的部门名称,点击修改按钮,修改部门信息。"),
|
|
239
|
-
s("li", { class: "w-department-line" }, [
|
|
240
|
-
s("div", null, "● 点击树结构上的部门名称,点击删除按钮,删除部门信息。"),
|
|
241
|
-
s("div", { style: { "text-indent": "2em" } }, "当部门下有人员存在时,不允许删除部门信息。")
|
|
242
|
-
])
|
|
243
|
-
])
|
|
244
|
-
], -1)
|
|
245
|
-
])),
|
|
246
|
-
_: 1
|
|
247
|
-
}))
|
|
248
|
-
]);
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
}), pe = /* @__PURE__ */ Z(se, [["__scopeId", "data-v-7c92a83d"]]);
|
|
252
|
-
export {
|
|
253
|
-
pe as default
|
|
254
|
-
};
|