@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.
Files changed (207) hide show
  1. package/dist/{403-CekcmGOc.js → 403-FwkedC35.js} +1 -1
  2. package/dist/{404-DeSH9KnK.js → 404-fBOEoTA_.js} +1 -1
  3. package/dist/{500-DHOHlmtv.js → 500-iyNwORJV.js} +1 -1
  4. package/dist/{AuthorityInfo-BC8U3Zk4.js → AuthorityInfo-BTGUSDZ4.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DVFi0qOJ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DSxmqRu8.js} +1 -1
  6. package/dist/{Company-Byq4p14C.js → Company-ueSjOTse.js} +3 -3
  7. package/dist/{CompanyPanel-CIHP7rVd.js → CompanyPanel-CAhzxgMa.js} +7 -7
  8. package/dist/{Department-CxgSq34X.js → Department-fGiF2ia2.js} +3 -3
  9. package/dist/{DepartmentPanel-hYNqywSQ.js → DepartmentPanel-DW7RJCcR.js} +20 -20
  10. package/dist/{DesignPanel-GEhqXIAx.js → DesignPanel-CAQBm4D4.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DxA6H5Ts.js → DesignPanel.vue_vue_type_style_index_0_lang-5LGPeXPl.js} +2 -2
  12. package/dist/{DictView-tyGrHFO8.js → DictView-CvJgPLm3.js} +10 -10
  13. package/dist/{InvOrganization-DjJ4XkxN.js → InvOrganization-qlTFGd3Z.js} +1 -1
  14. package/dist/{Org-3eHX7nBU.js → Org-XLreDKod.js} +1 -1
  15. package/dist/{Preview-Cgc3O8vp.js → Preview-CPbzW7CO.js} +1 -1
  16. package/dist/{ReportDefine-FYxHLbPV.js → ReportDefine-Cb8Kr-eh.js} +1 -1
  17. package/dist/{ReportDesign-BTOVgMzz.js → ReportDesign-C7NEHxsF.js} +6 -6
  18. package/dist/{ReportQuery-Dhy9sk04.js → ReportQuery-DRHAlGXP.js} +1 -1
  19. package/dist/{ReportQueryFrom-B1TE8lOG.js → ReportQueryFrom-BVzD7HiO.js} +1 -1
  20. 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
  21. package/dist/{ReportTemplate-C-EuU7mL.js → ReportTemplate-jvKZTiwg.js} +8 -8
  22. package/dist/{Role-Dc1dZ0o9.js → Role-BHHb-iLB.js} +3 -3
  23. package/dist/{RoleAssign-DDv65izq.js → RoleAssign-BTBTh4BY.js} +3 -3
  24. package/dist/{RolePanel-CiDM8OSr.js → RolePanel-BCi1rex2.js} +1 -1
  25. package/dist/{RolePanel-Dw_pTEGV.js → RolePanel-aV6bg80k.js} +1 -1
  26. 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
  27. 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
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js → ScrollPanel.vue_vue_type_style_index_0_lang-BvNAonbh.js} +1 -1
  29. package/dist/{Staff-DMh451jL.js → Staff-CQqKHfmG.js} +3 -3
  30. package/dist/{StaffInfo-2PhYcVaz.js → StaffInfo-DBgWZZxQ.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CrCFms3g.js → StaffInfo.vue_vue_type_script_setup_true_lang-DZSUQTor.js} +1 -1
  32. package/dist/{StaffPanel-BrvkXT68.js → StaffPanel-qhtv83q9.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3j8x4MN.js} +8 -8
  34. package/dist/{SysUser-DLDd5do7.js → SysUser-D-7c33EB.js} +2 -2
  35. package/dist/{SysUserPanel-DDQxi2Hk.js → SysUserPanel-t1ZR91oy.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DvOggZs6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Bz2s1QPZ.js} +1 -1
  37. package/dist/{SystemMenu-nFNfz4Nj.js → SystemMenu-DNffJRQo.js} +6 -6
  38. package/dist/{UserInfo-B9PLKur5.js → UserInfo-niYGSHmG.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BwZNwtQH.js → UserInfo.vue_vue_type_style_index_0_lang-B8CRjdQG.js} +1 -1
  40. package/dist/{childView-BEDVB_RG.js → childView-Dn28g10M.js} +1 -1
  41. package/dist/{childView-BRa268Qh.js → childView-E2EnbUz2.js} +1 -1
  42. 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
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-qsceJGeR.js → childView.vue_vue_type_style_index_0_lang-UzBSJ6wt.js} +7 -7
  44. package/dist/{code-rule-CJ4FuOo1.js → code-rule-D-RJozWD.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-CXnv7hIa.js → cron-task-CPuU0Rc2.js} +1 -1
  47. package/dist/{frameView-g5e9PYdE.js → frameView-c4xFtvR6.js} +1 -1
  48. package/dist/{index-BEAth5RR.js → index-CPKIQXdI.js} +1224 -1215
  49. package/dist/{layout-home-bl3JShSF.js → layout-home-DrimiAWf.js} +1 -1
  50. package/dist/{layoutView-DmM9xk-X.js → layoutView-DPaKZNx5.js} +1 -1
  51. package/dist/{log-in-eGoxFTDE.js → log-in-BQiOfnXg.js} +8 -8
  52. package/dist/{log-out-CthD_tSk.js → log-out-BvlexfR3.js} +3 -3
  53. package/dist/{login-Dn7iO3SU.js → login-0R1puBOn.js} +15 -15
  54. package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
  55. package/dist/{lov-view-Bt23RK6S.js → lov-view-DieM-cvR.js} +6 -6
  56. package/dist/{menuInfo-BEmcSaIX.js → menuInfo-Db7s_jX8.js} +1 -1
  57. 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
  58. package/dist/{pda-app-BKfXoKAs.js → pda-app-CCtwSfLe.js} +8 -8
  59. package/dist/{resource-CshrvEYp.js → resource-rliX23RM.js} +4 -4
  60. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0-DhP783YJ.js → su-welcome-MLhkyOoQ.js} +20571 -20479
  61. package/dist/{sys-config-Jqj3l7NK.js → sys-config-Ci6UV7lE.js} +12 -12
  62. package/dist/udp-core.css +1 -1
  63. package/package.json +1 -1
  64. package/src/components/udp/form-upload/form-upload.vue +496 -492
  65. package/src/components/udp/utils.ts +414 -408
  66. package/src/plugins/i18n/zh.ts +1 -0
  67. package/src/plugins/vxe-table/index.ts +116 -116
  68. package/src/plugins/vxe-table/render.tsx +995 -968
  69. package/src/views/udev/dict/DictView.vue +118 -118
  70. package/src/views/udev/dict/childView.vue +185 -184
  71. package/src/views/ufile/aggregation/File.vue +87 -87
  72. package/src/views/uhome/components/home-todo.vue +11 -7
  73. package/src/views/uhome/su-welcome.vue +1 -3
  74. package/src/views/upms/user/login-log.vue +2 -2
  75. package/vite.config.ts +83 -84
  76. package/dist/403-CxOqlq0f-C28ufSE6.js +0 -65
  77. package/dist/403-WCboRvzZ-ZAPgYStl-Ck7rlpC9.js +0 -65
  78. package/dist/404-2V0Qi-d7-DkNwQggp-3kilva5o.js +0 -65
  79. package/dist/404-xdB6lFeQ-DRhUFuKU.js +0 -65
  80. package/dist/500-BYfzvixf-CGpEieyQ-DLrc9brB.js +0 -67
  81. package/dist/500-C94bRK2S-_XtNljMI.js +0 -67
  82. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5-ChKFxbGl.js +0 -4
  83. package/dist/AuthorityInfo-Dy3b_nFN-BBC0HKlV.js +0 -4
  84. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY-BgLN7Lgx.js +0 -100
  85. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js +0 -100
  86. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE-DAeYw45g.js +0 -4
  87. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  88. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js +0 -114
  89. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  90. package/dist/Company-B4vsXy2I-CkNCOqjJ-PjoD0ztY.js +0 -25
  91. package/dist/Company-gKkfnhLt-BReGxz7n.js +0 -25
  92. package/dist/CompanyPanel-BF5Pc35s-CtpymP6a.js +0 -206
  93. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_-mYpxegRQ.js +0 -206
  94. package/dist/DataSet-DT-rGICv-DaUfgbxk-YztlXv7w.js +0 -147
  95. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  96. package/dist/Department-D0I3QVZe-CfWPT-lY.js +0 -25
  97. package/dist/Department-D0dVUrGC-C6HJcYI1-DhAtBQym.js +0 -25
  98. package/dist/DepartmentPanel-2LHODgc7--VCCaEsu.js +0 -254
  99. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js +0 -254
  100. package/dist/DesignPanel-CtF3cAAQ-FM7zpexb.js +0 -4
  101. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1-7p3ouXrw.js +0 -4
  102. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY-CoM_RAUN.js +0 -1013
  103. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt-CcCVpy0f.js +0 -1013
  104. package/dist/DictView-BzQLOf_P-DDicwdmM-B8CFC279.js +0 -111
  105. package/dist/DictView-H3V5hxg3-BQZWN2zT.js +0 -111
  106. package/dist/InvOrganization-BiGLnbqe-BK3vgYYR.js +0 -74
  107. package/dist/InvOrganization-atbhw0CI-BABbVt9V-BT8PkfWL.js +0 -74
  108. package/dist/Org-BW1YHG-Q-Cow7JWlD-C7ygI7jx.js +0 -39
  109. package/dist/Org-DQTCQHNY-CEEpGGlZ.js +0 -39
  110. package/dist/Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js +0 -48
  111. package/dist/Preview-DXaiis29-BYyNhC1p.js +0 -48
  112. package/dist/ReportDefine-BLh4CiER-D68a0DWB.js +0 -10
  113. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q-BL5gB56o.js +0 -10
  114. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp-DTsrU_wq.js +0 -165
  115. package/dist/ReportDesign-Ni1YxrLC-DfziOJc3.js +0 -165
  116. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda-c9iy6TZ_.js +0 -75
  117. package/dist/ReportQuery-C8G88_qF-BKknwX1u.js +0 -75
  118. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy-Cq4havLh.js +0 -4
  119. package/dist/ReportQueryFrom-CuZKPtB4-B_TaZr-N.js +0 -4
  120. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW-CdTqG6KF.js +0 -178
  121. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl-kdXwDD3n.js +0 -178
  122. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w-txJDRw_J.js +0 -161
  123. package/dist/ReportTemplate-DFnDXWmx-QQkaZRvV.js +0 -161
  124. package/dist/Role-BQ7hsfPn-BLwTiMMj.js +0 -25
  125. package/dist/Role-ByB0WbxW-5E8Mb148-WoZV4JKV.js +0 -25
  126. package/dist/RoleAssign-DW6iC_0v-Bis61auk-BB4DziuB.js +0 -26
  127. package/dist/RoleAssign-UPCg2d4G-g4V-duK9.js +0 -26
  128. package/dist/RolePanel-BM2MaQPU-CgcsbfaX-D28vR3Fh.js +0 -4
  129. package/dist/RolePanel-C-mQ5XRq-JQYWITkX.js +0 -4
  130. package/dist/RolePanel-ClQy8DBL-DARL4O-o-DrElGZ66.js +0 -4
  131. package/dist/RolePanel-CoSXOCZN-BdCEhz3b.js +0 -4
  132. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI-Bsk0Mun8.js +0 -132
  133. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF-CMTLt3Lp.js +0 -154
  134. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8-DPs8J-8D.js +0 -132
  135. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy-vZfwM6bG.js +0 -154
  136. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js +0 -100
  137. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js +0 -100
  138. package/dist/Staff-CuxzvhD9-D0KTcyRh-Cj8NbX79.js +0 -25
  139. package/dist/Staff-D-CmvG1R-uwSWH8-m.js +0 -25
  140. package/dist/StaffInfo-CY7gUICu-EZUhUwIp-C8POP58u.js +0 -4
  141. package/dist/StaffInfo-Idhvuc6e-COVQmEz0.js +0 -4
  142. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn-p0kltEdZ.js +0 -108
  143. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU-Cj9lcXG6.js +0 -108
  144. package/dist/StaffPanel-CDDmAYE5-mLPGD2Nf.js +0 -4
  145. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc-AX54GdZ3.js +0 -4
  146. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js +0 -143
  147. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js +0 -143
  148. package/dist/SysUser-9Q2UJWhi-DprWXFlR-DUMl4Hfm.js +0 -15
  149. package/dist/SysUser-a-j5bppr-CpP0s5DW.js +0 -15
  150. package/dist/SysUserPanel-6V232wwB-DI8apzmL.js +0 -4
  151. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs-DEXctwBe.js +0 -4
  152. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy-CD9JQp9h.js +0 -356
  153. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen-BBtBr0VU.js +0 -356
  154. package/dist/SystemMenu-BnVeOSOQ-6HW3jX57.js +0 -156
  155. package/dist/SystemMenu-DGOAolc1-CJSLHP8i-DIUNb03s.js +0 -156
  156. package/dist/UserInfo-CKoOHkAM-DDWp0I_U-DEerO-y3.js +0 -4
  157. package/dist/UserInfo-Cax9b2nw-DBResyaY.js +0 -4
  158. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js +0 -160
  159. package/dist/UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9-B2nI6TLi.js +0 -160
  160. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js +0 -10
  161. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  162. package/dist/childView-0YZQ6GBn-CEqg7k5d-CDGM_XzZ.js +0 -4
  163. package/dist/childView-DKG3eZo8-CCtKjCU7.js +0 -4
  164. package/dist/childView-DKkgi3yo-D47ft-vi-B5yI8Dk7.js +0 -4
  165. package/dist/childView-siumuBz0-CyYKsSPy.js +0 -4
  166. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js +0 -143
  167. package/dist/childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js +0 -180
  168. package/dist/childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js +0 -143
  169. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js +0 -180
  170. package/dist/code-rule-Dtoree6F-B4yeNvFw.js +0 -148
  171. package/dist/code-rule-wQyfgpNL-C4evD4Co-BOJCC1LY.js +0 -148
  172. package/dist/cron-task-C-kryDtd-C0NuGZCe-DIJuoNx-.js +0 -135
  173. package/dist/cron-task-GSRgA7S5-D_xfN2g_.js +0 -135
  174. package/dist/flow-task-B07st2aD-CgQvagSQ-BaPlX6ds.js +0 -10
  175. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  176. package/dist/frameView-BOGA3ezf-QoSxzmSQ-BWs9F5mT.js +0 -44
  177. package/dist/frameView-Cy6wxW0K-BLdNZaGh.js +0 -44
  178. package/dist/layout-home-3Dy4onl4-COK554mq.js +0 -228
  179. package/dist/layout-home-CYHksXN_-Basy-3IH-Dnun4YUs.js +0 -228
  180. package/dist/layoutView-BaRvAbIa-xVgfqspc-zL46XaoI.js +0 -3302
  181. package/dist/layoutView-DMjNscJ--DvK2S5BQ.js +0 -3302
  182. package/dist/log-in-Cx1dGik8-BVeEHeZ8-D7mV8pl4.js +0 -117
  183. package/dist/log-in-VAG6Cvcx-B6arurXx.js +0 -117
  184. package/dist/log-out-COYdxrNC-ftopGZdE-Ch_UgXZv.js +0 -130
  185. package/dist/log-out-DZGaMCjC-OztBlMPh.js +0 -130
  186. package/dist/login-CqVMdNHs-CRJ-LWAK.js +0 -241
  187. package/dist/login-Dg9ofNS8-Bocp1XMA-DY4y3cAG.js +0 -241
  188. package/dist/login-log-DJBGJVV0-AoOyj0jD-AoOyj0jD.js +0 -70
  189. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  190. package/dist/lov-view-C0T5prk8-B2DBmn55-BvzOsVW8.js +0 -97
  191. package/dist/lov-view-Cc68_28B-y4f2SzBr.js +0 -97
  192. package/dist/menuInfo-BIrIaJlH-Bxn4KTWH.js +0 -4
  193. package/dist/menuInfo-BZJ_q7bz-Drho-_QC-BK5n3Shr.js +0 -4
  194. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js +0 -363
  195. package/dist/menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js +0 -363
  196. package/dist/pda-app-DnjphrRS-4tIZDsnN.js +0 -710
  197. package/dist/pda-app-m9hsppHo-B4xyja1o-9mD3zI7J.js +0 -710
  198. package/dist/redirect-BqegffKC-CBCIuqmz-46JkXpSM.js +0 -15
  199. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  200. package/dist/resource-C6KEIXu--B_ddyecm-CFF-A4cr.js +0 -97
  201. package/dist/resource-DISgPDM7-C4P8jqU0.js +0 -97
  202. package/dist/su-welcome-BjbuSrBZ-DrInu823.js +0 -49339
  203. package/dist/su-welcome-t7YusM3U.js +0 -49427
  204. package/dist/sys-config-DCjJGtht-DARDjlrt-Dx8559bf.js +0 -370
  205. package/dist/sys-config-Yc9vh1t1-B3bJPd9S.js +0 -370
  206. package/dist/utogether-MlnyYtNS-CGgjFNPS-CGgjFNPS.js +0 -4
  207. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
@@ -1,160 +0,0 @@
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,160 +0,0 @@
1
- import { defineComponent as I, ref as d, reactive as B, onBeforeMount as U, resolveComponent as n, createElementBlock as _, openBlock as m, createVNode as c, withCtx as $, createBlock as j, createCommentVNode as z, mergeProps as q, toHandlers as E } from "vue";
2
- import { c as P } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
3
- import { W as S } from "./su-welcome-t7YusM3U.js";
4
- const V = { class: "u-dict-config_wrapper" }, H = /* @__PURE__ */ I({
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 = B({
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
- }, k = 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 x() {
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"), R = n("el-drawer");
123
- return m(), _("div", V, [
124
- c(R, {
125
- "model-value": e.show,
126
- title: e.$t("message.title.authUser", { role: e.record.roleName }),
127
- "before-close": x,
128
- direction: "rtl",
129
- "destroy-on-close": "",
130
- size: "80%"
131
- }, {
132
- default: $(() => [
133
- c(t, q({
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] = (W) => s.value = !1),
149
- onConfirm: k
150
- }, null, 8, ["default-params", "title"])) : z("", !0)
151
- ]),
152
- _: 1
153
- }, 8, ["model-value", "title"])
154
- ]);
155
- };
156
- }
157
- });
158
- export {
159
- H as D
160
- };
@@ -1,10 +0,0 @@
1
- function u(r, t) {
2
- return r.then(function(n) {
3
- return [null, n];
4
- }).catch(function(n) {
5
- return t && Object.assign(n, t), [n, void 0];
6
- });
7
- }
8
- export {
9
- u as r
10
- };
@@ -1,10 +0,0 @@
1
- function r(c, t) {
2
- return c.then(function(n) {
3
- return [null, n];
4
- }).catch(function(n) {
5
- return t && Object.assign(n, t), [n, void 0];
6
- });
7
- }
8
- export {
9
- r as c
10
- };
@@ -1,4 +0,0 @@
1
- import { j as f } from "./childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { e as f } from "./childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { e as f } from "./childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { G as f } from "./childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js";
2
- export {
3
- f as default
4
- };
@@ -1,143 +0,0 @@
1
- import { defineComponent as V, ref as u, resolveComponent as d, resolveDirective as _, createElementBlock as h, openBlock as R, createVNode as i, withCtx as s, withDirectives as k } from "vue";
2
- import { r as c } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js";
3
- import { useRender as F } from "@utogether/utils";
4
- import { M as P, W as f } from "./su-welcome-BjbuSrBZ-DrInu823.js";
5
- const $ = { class: "ut-loview-wrapper" }, Y = "/upfm/v1/lovViewHeader", p = "/upfm/v1/lovViewLine", z = /* @__PURE__ */ V({
6
- __name: "childView",
7
- props: {
8
- record: { default: () => ({}) },
9
- show: { type: Boolean, default: !1 }
10
- },
11
- emits: ["onClose"],
12
- setup(T, { emit: g }) {
13
- const a = T, t = F(), m = P().dicts, n = u(!1), q = { value: "dictCode", label: "dictName" }, v = u(null), C = [
14
- { field: "lovCode", disabled: !0 },
15
- { field: "lovName", required: !0 },
16
- { field: "valueField", required: !0 },
17
- // { field: 'displayField', required: true },
18
- { field: "lovTitle" },
19
- { field: "lovType", code: "SU.LOV.TYPE", required: !0 },
20
- { field: "lovUrl", required: !0, visible: a.record.lovType === "url" },
21
- {
22
- field: "sqlStatement",
23
- span: 24,
24
- visible: a.record.lovType === "sql",
25
- itemRender: { name: "$textarea", props: { rows: 5 } },
26
- required: !0
27
- }
28
- ], o = [
29
- { type: "checkbox", width: 50, align: "center" },
30
- { field: "seqNo", required: !0, width: 100, editRender: t.renderNumber() },
31
- { field: "colField", required: !0, editRender: t.renderInput() },
32
- { field: "colTitle", required: !0, editRender: t.renderInput() },
33
- { field: "colWidth", required: !0, width: 120, editRender: t.renderNumber() },
34
- {
35
- field: "fieldType",
36
- width: 120,
37
- editRender: t.renderDict("SU.FIELD.TYPE", b),
38
- formatter: ["formatDict", "SU.FIELD.TYPE"]
39
- },
40
- {
41
- field: "dictCode",
42
- title: "message.dictName",
43
- width: 120,
44
- editRender: t.renderSelectLocal({ options: m, optionProps: q }),
45
- formatter: ["formatSelectLocal", [m, "dictCode", "dictName"]]
46
- },
47
- {
48
- field: "isSearch",
49
- width: 120,
50
- required: !0,
51
- editRender: t.renderDict("SU.WHETHER"),
52
- formatter: ["formatDict", "SU.WHETHER"]
53
- },
54
- {
55
- field: "isCol",
56
- width: 120,
57
- required: !0,
58
- editRender: t.renderDict("SU.WHETHER"),
59
- formatter: ["formatDict", "SU.WHETHER"]
60
- }
61
- ], w = u(null), E = window.innerHeight - 195, y = {
62
- editActived({ row: e }) {
63
- o[6].editRender.props.disabled = e.fieldType !== "dictCode";
64
- }
65
- };
66
- function b(e) {
67
- e.row.dictName = "", o[6].editRender.props.disabled = e.row.fieldType !== "dictCode", o[6].required = e.row.fieldType !== "dictCode";
68
- }
69
- const S = () => {
70
- v.value.validateForm(async (e) => {
71
- if (!e) {
72
- n.value = !0;
73
- const [l] = await c(f().put(Y, [a.record]));
74
- if (!l) {
75
- const r = w.value.getInstance().getRecordset();
76
- r.insertRecords.length && await c(f().post(p, r.insertRecords)), r.updateRecords.length && await c(f().put(p, r.updateRecords));
77
- }
78
- n.value = !1;
79
- }
80
- });
81
- }, D = g;
82
- function H() {
83
- D("onClose");
84
- }
85
- return (e, l) => {
86
- const r = d("ut-button"), N = d("ut-form"), U = d("ut-divider"), x = d("ut-grid"), I = d("ut-content"), L = d("vxe-drawer"), W = _("spinning");
87
- return R(), h("div", $, [
88
- i(L, {
89
- "model-value": e.show,
90
- position: "right",
91
- "show-header": !1,
92
- width: "90%"
93
- }, {
94
- default: s(() => [
95
- k((R(), h("div", null, [
96
- i(I, {
97
- title: e.$t("message.title.lovView"),
98
- onClose: H
99
- }, {
100
- header: s(() => [
101
- i(r, {
102
- icon: "ri-save-3-fill",
103
- content: "save",
104
- onTap: l[0] || (l[0] = (B) => S())
105
- })
106
- ]),
107
- body: s(() => [
108
- i(N, {
109
- ref_key: "formRef",
110
- ref: v,
111
- record: e.record,
112
- items: C,
113
- "data-status": "update"
114
- }, null, 8, ["record"]),
115
- i(U, {
116
- title: e.$t("message.title.lovColConfig")
117
- }, null, 8, ["title"]),
118
- i(x, {
119
- ref_key: "xgrid",
120
- ref: w,
121
- columns: o,
122
- url: p,
123
- "default-value": { headerId: e.record.id },
124
- "default-params": { headerId: e.record.id },
125
- height: E,
126
- events: y
127
- }, null, 8, ["default-value", "default-params"])
128
- ]),
129
- _: 1
130
- }, 8, ["title"])
131
- ])), [
132
- [W, n.value]
133
- ])
134
- ]),
135
- _: 1
136
- }, 8, ["model-value"])
137
- ]);
138
- };
139
- }
140
- });
141
- export {
142
- z as j
143
- };
@@ -1,180 +0,0 @@
1
- import { defineComponent as E, ref as o, resolveComponent as r, createElementBlock as M, openBlock as m, createVNode as l, withCtx as T, createBlock as z, createCommentVNode as F, Fragment as O } from "vue";
2
- import { useI18n as S } from "vue-i18n";
3
- import { c as U } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes.js";
4
- import { VxeUI as W } from "vxe-pc-ui";
5
- import { useRender as $, successMessage as f } from "@utogether/utils";
6
- import { M as p, W as v } from "./su-welcome-t7YusM3U.js";
7
- import { clone as G } from "xe-utils";
8
- const H = {
9
- class: "u-dict-config_wrapper"
10
- }, g = "/upfm/v1/lov", ee = /* @__PURE__ */ E({
11
- __name: "childView",
12
- props: {
13
- record: {
14
- default: () => ({})
15
- },
16
- show: {
17
- type: Boolean,
18
- default: !1
19
- }
20
- },
21
- emits: ["onClose"],
22
- setup(h, {
23
- emit: w
24
- }) {
25
- const C = h, I = $(), {
26
- t: k
27
- } = S(), d = o(!1), n = o(null), u = o(null), t = o({}), a = o("add"), N = window.innerHeight - 70, b = [{
28
- field: "dictCode",
29
- title: "message.udp.dictCode",
30
- required: !0,
31
- treeNode: !0
32
- }, {
33
- field: "dictName",
34
- title: "message.udp.dictName",
35
- required: !0
36
- }, {
37
- field: "dictDesc",
38
- title: "message.remark"
39
- }, {
40
- field: "remarks",
41
- title: "message.remark"
42
- }, {
43
- field: "enabled",
44
- formatter: ["formatDict", "SU.ENABLE"]
45
- }, {
46
- field: "operate",
47
- title: "message.operate",
48
- width: 200,
49
- fixed: "right",
50
- slots: {
51
- default: ({
52
- row: e
53
- }) => [l(O, null, [l(r("ut-button"), {
54
- content: "add",
55
- status: "warning",
56
- auth: "edit",
57
- icon: "ri-add-line",
58
- onTap: () => V(e)
59
- }, null), l(r("ut-button"), {
60
- content: "edit",
61
- status: "primary",
62
- auth: "edit",
63
- onTap: () => _(e)
64
- }, null), l(r("ut-button"), {
65
- content: "del",
66
- status: "danger",
67
- auth: "del",
68
- onTap: () => B(e)
69
- }, null)])]
70
- }
71
- }], y = [{
72
- field: "dictCode",
73
- title: "message.udp.dictCode",
74
- required: !0
75
- }, {
76
- field: "dictName",
77
- title: "message.udp.dictName",
78
- required: !0
79
- }, {
80
- field: "dictDesc",
81
- title: "message.remark"
82
- }, {
83
- field: "enabled",
84
- itemRender: I.renderSwitch({
85
- openValue: "1",
86
- closeValue: "0",
87
- defaultValue: "1"
88
- })
89
- }], x = () => {
90
- d.value = !0, a.value = "add", t.value = {
91
- enabled: "1",
92
- parentId: C.record.id
93
- };
94
- }, V = (e) => {
95
- d.value = !0, a.value = "add", t.value = {
96
- enabled: "1",
97
- parentId: e.id
98
- };
99
- }, B = async (e) => {
100
- await W.modal.confirm(k("message.delRecord")) === "confirm" && (await v().delete(g, [e]), f(), n.value.refreshData());
101
- }, _ = async (e) => {
102
- d.value = !0, a.value = "edit", t.value = G(e, !0);
103
- }, D = async () => {
104
- const e = {
105
- ...t.value,
106
- orgId: p().getOrgId,
107
- organizationId: p().getOrganizationId
108
- };
109
- u.value.showLoading();
110
- const i = a.value === "add" ? "post" : "put", [s] = await U(v()[i](g, [e]));
111
- if (u.value.hiddenLoading(), !s) {
112
- if (d.value = a.value !== "edit", a.value === "add") {
113
- const c = t.value.parentId;
114
- t.value = {
115
- enabled: "1",
116
- parentId: c
117
- };
118
- }
119
- f(), n.value.refreshData();
120
- }
121
- }, q = (e) => {
122
- e === "add" && x();
123
- }, L = w;
124
- function R() {
125
- L("onClose");
126
- }
127
- return (e, i) => {
128
- const s = r("ut-grid"), c = r("ut-modal-form"), A = r("vxe-drawer");
129
- return m(), M("div", H, [l(A, {
130
- "model-value": e.show,
131
- title: e.$t("message.title.dictList", {
132
- name: e.record.dictName
133
- }),
134
- position: "right",
135
- "destroy-on-close": "",
136
- width: "67%",
137
- onClose: R
138
- }, {
139
- default: T(() => [l(s, {
140
- ref_key: "xgrid",
141
- ref: n,
142
- columns: b,
143
- height: N,
144
- "default-params": {
145
- parentId: e.record.id
146
- },
147
- buttons: [{
148
- code: "del",
149
- auth: "/"
150
- }],
151
- "tree-config": {
152
- childrenField: "children",
153
- expandAll: !0
154
- },
155
- url: "/upfm/v1/lov/children",
156
- mode: "form",
157
- onButtonClick: q
158
- }, null, 8, ["default-params"]), d.value ? (m(), z(c, {
159
- key: 0,
160
- ref_key: "xmodal",
161
- ref: u,
162
- record: t.value,
163
- items: y,
164
- width: "400",
165
- height: "280",
166
- "data-status": a.value,
167
- title: e.$t("message.title.dictInfo", {
168
- name: e.record.dictName
169
- }),
170
- onClose: i[0] || (i[0] = (J) => d.value = !1),
171
- onConfirm: D
172
- }, null, 8, ["record", "data-status", "title"])) : F("", !0)]),
173
- _: 1
174
- }, 8, ["model-value", "title"])]);
175
- };
176
- }
177
- });
178
- export {
179
- ee as e
180
- };