@utogether/udp-core 2.0.0-beta.4 → 2.0.0-beta.5

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 (199) hide show
  1. package/dist/{403-CekcmGOc.js → 403-y4Id7pky.js} +1 -1
  2. package/dist/{404-DeSH9KnK.js → 404-DdxstlUr.js} +1 -1
  3. package/dist/{500-DHOHlmtv.js → 500-BpsDn21g.js} +1 -1
  4. package/dist/{AuthorityInfo-BC8U3Zk4.js → AuthorityInfo-0CnlrZVd.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DVFi0qOJ.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js} +1 -1
  6. package/dist/{Company-Byq4p14C.js → Company-BPAqJfZm.js} +3 -3
  7. package/dist/{CompanyPanel-CIHP7rVd.js → CompanyPanel-CCeM96w4.js} +7 -7
  8. package/dist/{Department-CxgSq34X.js → Department-BsLrIIrS.js} +3 -3
  9. package/dist/{DepartmentPanel-hYNqywSQ.js → DepartmentPanel-B2YqwLmq.js} +20 -20
  10. package/dist/{DesignPanel-GEhqXIAx.js → DesignPanel-CVSOCMvU.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DxA6H5Ts.js → DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js} +2 -2
  12. package/dist/{DictView-tyGrHFO8.js → DictView-CKVpPtFg.js} +1 -1
  13. package/dist/{InvOrganization-DjJ4XkxN.js → InvOrganization-BBODO8aK.js} +1 -1
  14. package/dist/{Org-3eHX7nBU.js → Org-BYRi0OAt.js} +1 -1
  15. package/dist/{Preview-Cgc3O8vp.js → Preview-COI8NwWh.js} +1 -1
  16. package/dist/{ReportDefine-FYxHLbPV.js → ReportDefine-Dbh_8ykf.js} +1 -1
  17. package/dist/{ReportDesign-BTOVgMzz.js → ReportDesign-DOeKYL9V.js} +6 -6
  18. package/dist/{ReportQuery-Dhy9sk04.js → ReportQuery-Bb4r9lNR.js} +1 -1
  19. package/dist/{ReportQueryFrom-B1TE8lOG.js → ReportQueryFrom-CavcWtL3.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D93NL2N7.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js} +7 -7
  21. package/dist/{ReportTemplate-C-EuU7mL.js → ReportTemplate-C9NzPxM4.js} +8 -8
  22. package/dist/{Role-Dc1dZ0o9.js → Role-Bqt4d9Lz.js} +3 -3
  23. package/dist/{RoleAssign-DDv65izq.js → RoleAssign-CWcytVz3.js} +3 -3
  24. package/dist/{RolePanel-CiDM8OSr.js → RolePanel-Di5nsMqt.js} +1 -1
  25. package/dist/{RolePanel-Dw_pTEGV.js → RolePanel-DlU0aCnL.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-BOq0iJsT.js} +7 -7
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Ctq1lItN.js → RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js} +7 -7
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CyU7XjI3.js → ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js} +1 -1
  29. package/dist/{Staff-DMh451jL.js → Staff-DXr2Ka1N.js} +3 -3
  30. package/dist/{StaffInfo-2PhYcVaz.js → StaffInfo-C6lDK0S_.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-CrCFms3g.js → StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js} +1 -1
  32. package/dist/{StaffPanel-BrvkXT68.js → StaffPanel-WNpg0HWl.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DKr8VVOJ.js → StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js} +8 -8
  34. package/dist/{SysUser-DLDd5do7.js → SysUser-Dph6Qi_a.js} +2 -2
  35. package/dist/{SysUserPanel-DDQxi2Hk.js → SysUserPanel-Iz024NS_.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DvOggZs6.js → SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js} +1 -1
  37. package/dist/{SystemMenu-nFNfz4Nj.js → SystemMenu-6mTYGwbK.js} +6 -6
  38. package/dist/{UserInfo-B9PLKur5.js → UserInfo-RQ7VgSbk.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BwZNwtQH.js → UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js} +1 -1
  40. package/dist/{childView-BEDVB_RG.js → childView-B8L4By2o.js} +1 -1
  41. package/dist/{childView-BRa268Qh.js → childView-nCa8t4tr.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-BcyosNSH.js → childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js} +7 -7
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-qsceJGeR.js → childView.vue_vue_type_style_index_0_lang-DDx9z61J.js} +7 -7
  44. package/dist/{code-rule-CJ4FuOo1.js → code-rule-8dQLPHni.js} +1 -1
  45. package/dist/core.es.js +10 -10
  46. package/dist/{cron-task-CXnv7hIa.js → cron-task-aDBWT_Uh.js} +1 -1
  47. package/dist/{frameView-g5e9PYdE.js → frameView-DM3flfo5.js} +1 -1
  48. package/dist/{index-BEAth5RR.js → index-ClHeZ3q4.js} +88 -88
  49. package/dist/{layout-home-bl3JShSF.js → layout-home-DNPOu6R4.js} +1 -1
  50. package/dist/{layoutView-DmM9xk-X.js → layoutView-Ymyja_uK.js} +1 -1
  51. package/dist/{log-in-eGoxFTDE.js → log-in-DtHf5ZcG.js} +8 -8
  52. package/dist/{log-out-CthD_tSk.js → log-out-DZ8OkPM6.js} +3 -3
  53. package/dist/{login-Dn7iO3SU.js → login-CoX7TNHE.js} +15 -15
  54. package/dist/{lov-view-Bt23RK6S.js → lov-view-BWtIPBNm.js} +6 -6
  55. package/dist/{menuInfo-BEmcSaIX.js → menuInfo-wG5Zt00s.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CVuG-x2a.js → menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js} +1 -1
  57. package/dist/{pda-app-BKfXoKAs.js → pda-app-9b3JC2he.js} +8 -8
  58. package/dist/{resource-CshrvEYp.js → resource-DiHXYgfm.js} +4 -4
  59. package/dist/{su-welcome-CYYy-dzr-D3RKPoB0-DhP783YJ.js → su-welcome-COvSPTOW.js} +20567 -20483
  60. package/dist/{sys-config-Jqj3l7NK.js → sys-config-Mm50Y0LQ.js} +12 -12
  61. package/dist/udp-core.css +1 -1
  62. package/package.json +1 -1
  63. package/src/plugins/vxe-table/index.ts +116 -116
  64. package/src/views/ufile/aggregation/File.vue +87 -87
  65. package/src/views/uhome/components/home-todo.vue +3 -4
  66. package/src/views/uhome/su-welcome.vue +1 -3
  67. package/vite.config.ts +0 -1
  68. package/dist/403-CxOqlq0f-C28ufSE6.js +0 -65
  69. package/dist/403-WCboRvzZ-ZAPgYStl-Ck7rlpC9.js +0 -65
  70. package/dist/404-2V0Qi-d7-DkNwQggp-3kilva5o.js +0 -65
  71. package/dist/404-xdB6lFeQ-DRhUFuKU.js +0 -65
  72. package/dist/500-BYfzvixf-CGpEieyQ-DLrc9brB.js +0 -67
  73. package/dist/500-C94bRK2S-_XtNljMI.js +0 -67
  74. package/dist/AuthorityInfo-DBovfUjB-DpQwT9Q5-ChKFxbGl.js +0 -4
  75. package/dist/AuthorityInfo-Dy3b_nFN-BBC0HKlV.js +0 -4
  76. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-Bh7IbcdY-BgLN7Lgx.js +0 -100
  77. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D-l_Az3s-Cw7WmFxz-B8tPqh_7.js +0 -100
  78. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE-DAeYw45g.js +0 -4
  79. package/dist/AuthorityPanel-CRlAwbaI-G7pZXKdE.js +0 -4
  80. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8-C6jMEDJq.js +0 -114
  81. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-DxhZjp1S-CJvk3pW8.js +0 -114
  82. package/dist/Company-B4vsXy2I-CkNCOqjJ-PjoD0ztY.js +0 -25
  83. package/dist/Company-gKkfnhLt-BReGxz7n.js +0 -25
  84. package/dist/CompanyPanel-BF5Pc35s-CtpymP6a.js +0 -206
  85. package/dist/CompanyPanel-Czcx8Gyw-CvndXwB_-mYpxegRQ.js +0 -206
  86. package/dist/DataSet-DT-rGICv-DaUfgbxk-YztlXv7w.js +0 -147
  87. package/dist/DataSet-DT-rGICv-DaUfgbxk.js +0 -147
  88. package/dist/Department-D0I3QVZe-CfWPT-lY.js +0 -25
  89. package/dist/Department-D0dVUrGC-C6HJcYI1-DhAtBQym.js +0 -25
  90. package/dist/DepartmentPanel-2LHODgc7--VCCaEsu.js +0 -254
  91. package/dist/DepartmentPanel-e91Lxr1j-BS_A-ILd-V3QvVWmJ.js +0 -254
  92. package/dist/DesignPanel-CtF3cAAQ-FM7zpexb.js +0 -4
  93. package/dist/DesignPanel-DdFl_ohi-uCwFxcl1-7p3ouXrw.js +0 -4
  94. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BACPrfUI-cC7yL0uY-CoM_RAUN.js +0 -1013
  95. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-BCYgwoVt-CcCVpy0f.js +0 -1013
  96. package/dist/DictView-BzQLOf_P-DDicwdmM-B8CFC279.js +0 -111
  97. package/dist/DictView-H3V5hxg3-BQZWN2zT.js +0 -111
  98. package/dist/InvOrganization-BiGLnbqe-BK3vgYYR.js +0 -74
  99. package/dist/InvOrganization-atbhw0CI-BABbVt9V-BT8PkfWL.js +0 -74
  100. package/dist/Org-BW1YHG-Q-Cow7JWlD-C7ygI7jx.js +0 -39
  101. package/dist/Org-DQTCQHNY-CEEpGGlZ.js +0 -39
  102. package/dist/Preview-DJtVsoq1-CCGidQjJ-DQ_OC1-S.js +0 -48
  103. package/dist/Preview-DXaiis29-BYyNhC1p.js +0 -48
  104. package/dist/ReportDefine-BLh4CiER-D68a0DWB.js +0 -10
  105. package/dist/ReportDefine-CNx_ob99-6NQAHK-Q-BL5gB56o.js +0 -10
  106. package/dist/ReportDesign-FbQ6yTJS-C1pPAUSp-DTsrU_wq.js +0 -165
  107. package/dist/ReportDesign-Ni1YxrLC-DfziOJc3.js +0 -165
  108. package/dist/ReportQuery-C5gz8Lgd-Eu2cQmda-c9iy6TZ_.js +0 -75
  109. package/dist/ReportQuery-C8G88_qF-BKknwX1u.js +0 -75
  110. package/dist/ReportQueryFrom-C7scua5v-uHXWq8Gy-Cq4havLh.js +0 -4
  111. package/dist/ReportQueryFrom-CuZKPtB4-B_TaZr-N.js +0 -4
  112. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-BAn_siFW-CdTqG6KF.js +0 -178
  113. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DCbz67Wa-vK6r2uCl-kdXwDD3n.js +0 -178
  114. package/dist/ReportTemplate-BDANdIWv-D_IGjR1w-txJDRw_J.js +0 -161
  115. package/dist/ReportTemplate-DFnDXWmx-QQkaZRvV.js +0 -161
  116. package/dist/Role-BQ7hsfPn-BLwTiMMj.js +0 -25
  117. package/dist/Role-ByB0WbxW-5E8Mb148-WoZV4JKV.js +0 -25
  118. package/dist/RoleAssign-DW6iC_0v-Bis61auk-BB4DziuB.js +0 -26
  119. package/dist/RoleAssign-UPCg2d4G-g4V-duK9.js +0 -26
  120. package/dist/RolePanel-BM2MaQPU-CgcsbfaX-D28vR3Fh.js +0 -4
  121. package/dist/RolePanel-C-mQ5XRq-JQYWITkX.js +0 -4
  122. package/dist/RolePanel-ClQy8DBL-DARL4O-o-DrElGZ66.js +0 -4
  123. package/dist/RolePanel-CoSXOCZN-BdCEhz3b.js +0 -4
  124. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bc_Ao_PU-DMmxr2iI-Bsk0Mun8.js +0 -132
  125. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-Bg-t2UhF-CMTLt3Lp.js +0 -154
  126. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-D-o7HYZ8-DPs8J-8D.js +0 -132
  127. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-fthF1zkp-JsbQJoDy-vZfwM6bG.js +0 -154
  128. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-ByWIwajm-BsBf2Vs3-CTeY23xN.js +0 -100
  129. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-CCsoxDfk-D-4pB58A.js +0 -100
  130. package/dist/Staff-CuxzvhD9-D0KTcyRh-Cj8NbX79.js +0 -25
  131. package/dist/Staff-D-CmvG1R-uwSWH8-m.js +0 -25
  132. package/dist/StaffInfo-CY7gUICu-EZUhUwIp-C8POP58u.js +0 -4
  133. package/dist/StaffInfo-Idhvuc6e-COVQmEz0.js +0 -4
  134. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-Dd8gtQz8-Dlkt-eCn-p0kltEdZ.js +0 -108
  135. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-MUGKjnHU-Cj9lcXG6.js +0 -108
  136. package/dist/StaffPanel-CDDmAYE5-mLPGD2Nf.js +0 -4
  137. package/dist/StaffPanel-CwqG0_xr-CrvzLJoc-AX54GdZ3.js +0 -4
  138. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-Bdilqbee-RiBDcMMj.js +0 -143
  139. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-DCdBy8Hu-BXrueqi0-DFG90qAT.js +0 -143
  140. package/dist/SysUser-9Q2UJWhi-DprWXFlR-DUMl4Hfm.js +0 -15
  141. package/dist/SysUser-a-j5bppr-CpP0s5DW.js +0 -15
  142. package/dist/SysUserPanel-6V232wwB-DI8apzmL.js +0 -4
  143. package/dist/SysUserPanel-bJy69O7x-BJtBgFEs-DEXctwBe.js +0 -4
  144. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BOtHuMVy-CD9JQp9h.js +0 -356
  145. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-DUPFqgz3-BSqRCMen-BBtBr0VU.js +0 -356
  146. package/dist/SystemMenu-BnVeOSOQ-6HW3jX57.js +0 -156
  147. package/dist/SystemMenu-DGOAolc1-CJSLHP8i-DIUNb03s.js +0 -156
  148. package/dist/UserInfo-CKoOHkAM-DDWp0I_U-DEerO-y3.js +0 -4
  149. package/dist/UserInfo-Cax9b2nw-DBResyaY.js +0 -4
  150. package/dist/UserInfo.vue_vue_type_style_index_0_lang-BaT53SSu-DsNaAomO-7IKIrGoq.js +0 -160
  151. package/dist/UserInfo.vue_vue_type_style_index_0_lang-D-cw11i9-B2nI6TLi.js +0 -160
  152. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js +0 -10
  153. package/dist/await-to-js.es5-Bv3Eu4mi-UCggJjes.js +0 -10
  154. package/dist/childView-0YZQ6GBn-CEqg7k5d-CDGM_XzZ.js +0 -4
  155. package/dist/childView-DKG3eZo8-CCtKjCU7.js +0 -4
  156. package/dist/childView-DKkgi3yo-D47ft-vi-B5yI8Dk7.js +0 -4
  157. package/dist/childView-siumuBz0-CyYKsSPy.js +0 -4
  158. package/dist/childView.vue_vue_type_style_index_0_lang-ABMrGInv-ClOdE_sa-BnvsyZ35.js +0 -143
  159. package/dist/childView.vue_vue_type_style_index_0_lang-CUfXDS1q-DNNy6Qe3.js +0 -180
  160. package/dist/childView.vue_vue_type_style_index_0_lang-CW3EbAmW-D6Jvom5y.js +0 -143
  161. package/dist/childView.vue_vue_type_style_index_0_lang-CaW106ve-CClTM8PK-ZSgCqafc.js +0 -180
  162. package/dist/code-rule-Dtoree6F-B4yeNvFw.js +0 -148
  163. package/dist/code-rule-wQyfgpNL-C4evD4Co-BOJCC1LY.js +0 -148
  164. package/dist/cron-task-C-kryDtd-C0NuGZCe-DIJuoNx-.js +0 -135
  165. package/dist/cron-task-GSRgA7S5-D_xfN2g_.js +0 -135
  166. package/dist/flow-task-B07st2aD-CgQvagSQ-BaPlX6ds.js +0 -10
  167. package/dist/flow-task-B07st2aD-CgQvagSQ.js +0 -10
  168. package/dist/frameView-BOGA3ezf-QoSxzmSQ-BWs9F5mT.js +0 -44
  169. package/dist/frameView-Cy6wxW0K-BLdNZaGh.js +0 -44
  170. package/dist/layout-home-3Dy4onl4-COK554mq.js +0 -228
  171. package/dist/layout-home-CYHksXN_-Basy-3IH-Dnun4YUs.js +0 -228
  172. package/dist/layoutView-BaRvAbIa-xVgfqspc-zL46XaoI.js +0 -3302
  173. package/dist/layoutView-DMjNscJ--DvK2S5BQ.js +0 -3302
  174. package/dist/log-in-Cx1dGik8-BVeEHeZ8-D7mV8pl4.js +0 -117
  175. package/dist/log-in-VAG6Cvcx-B6arurXx.js +0 -117
  176. package/dist/log-out-COYdxrNC-ftopGZdE-Ch_UgXZv.js +0 -130
  177. package/dist/log-out-DZGaMCjC-OztBlMPh.js +0 -130
  178. package/dist/login-CqVMdNHs-CRJ-LWAK.js +0 -241
  179. package/dist/login-Dg9ofNS8-Bocp1XMA-DY4y3cAG.js +0 -241
  180. package/dist/login-log-DJBGJVV0-AoOyj0jD-AoOyj0jD.js +0 -70
  181. package/dist/login-log-DJBGJVV0-AoOyj0jD.js +0 -70
  182. package/dist/lov-view-C0T5prk8-B2DBmn55-BvzOsVW8.js +0 -97
  183. package/dist/lov-view-Cc68_28B-y4f2SzBr.js +0 -97
  184. package/dist/menuInfo-BIrIaJlH-Bxn4KTWH.js +0 -4
  185. package/dist/menuInfo-BZJ_q7bz-Drho-_QC-BK5n3Shr.js +0 -4
  186. package/dist/menuInfo.vue_vue_type_style_index_0_lang-BA8xjUo3-BCZ1wipf-DEApwWGK.js +0 -363
  187. package/dist/menuInfo.vue_vue_type_style_index_0_lang-DlE4w35X-gWYo2VJe.js +0 -363
  188. package/dist/pda-app-DnjphrRS-4tIZDsnN.js +0 -710
  189. package/dist/pda-app-m9hsppHo-B4xyja1o-9mD3zI7J.js +0 -710
  190. package/dist/redirect-BqegffKC-CBCIuqmz-46JkXpSM.js +0 -15
  191. package/dist/redirect-BqegffKC-CBCIuqmz.js +0 -15
  192. package/dist/resource-C6KEIXu--B_ddyecm-CFF-A4cr.js +0 -97
  193. package/dist/resource-DISgPDM7-C4P8jqU0.js +0 -97
  194. package/dist/su-welcome-BjbuSrBZ-DrInu823.js +0 -49339
  195. package/dist/su-welcome-t7YusM3U.js +0 -49427
  196. package/dist/sys-config-DCjJGtht-DARDjlrt-Dx8559bf.js +0 -370
  197. package/dist/sys-config-Yc9vh1t1-B3bJPd9S.js +0 -370
  198. package/dist/utogether-MlnyYtNS-CGgjFNPS-CGgjFNPS.js +0 -4
  199. package/dist/utogether-MlnyYtNS-CGgjFNPS.js +0 -4
@@ -1,370 +0,0 @@
1
- import { defineComponent as q, ref as $, reactive as U, computed as O, onMounted as J, resolveComponent as r, resolveDirective as W, withDirectives as H, createElementBlock as K, openBlock as w, createElementVNode as n, createVNode as t, withCtx as s, createBlock as L, createCommentVNode as A, unref as v, createTextVNode as F, toDisplayString as p } from "vue";
2
- import { useI18n as Q } from "vue-i18n";
3
- import { r as B } from "./await-to-js.es5-Bv3Eu4mi-UCggJjes-CRQnmLCs.js";
4
- import { cookies as j, warnMessage as R, successMessage as X } from "@utogether/utils";
5
- import { isArray as Z } from "xe-utils";
6
- import { u as ee, h as le, j as z, W as ae } from "./su-welcome-BjbuSrBZ-DrInu823.js";
7
- const te = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, oe = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, se = { class: "flex items-center" }, ie = { class: "pl-2 text-xs" }, ue = { class: "pl-2" }, ne = { class: "pl-2" }, pe = { class: "flex items-center" }, re = { class: "pl-2 text-xs" }, de = { class: "pl-2" }, ce = { class: "flex items-center" }, ge = { class: "pl-2 text-xs" }, me = { class: "flex justify-end w-1/2 p-2" }, k = "/upfm/v1/sysConfig", Ve = /* @__PURE__ */ q({
8
- __name: "sys-config",
9
- setup(fe) {
10
- const E = $(), h = $(!1), a = U({
11
- defaultLanguage: "zh",
12
- title: "U-DP",
13
- ispTitle: "U-DP",
14
- baseColor: "#FFF",
15
- i18nEnabled: "N",
16
- orgTaggle: "Y",
17
- showTitle: "Y",
18
- techSupport: "Y",
19
- copyright: "深圳友聚信息技术有限公司",
20
- logo: [],
21
- backgroundImg: [],
22
- favicon: []
23
- }), y = ae(), { t: m } = Q(), f = $(ee());
24
- let d = [];
25
- const S = [
26
- "#DC143C",
27
- "#FF1493",
28
- "#FF00FF",
29
- "#9932CC",
30
- "#6A5ACD",
31
- "#0000FF",
32
- "#00008B",
33
- "#778899",
34
- "#1E90FF",
35
- "#00BFFF",
36
- "#5F9EA0",
37
- "#00FFFF",
38
- "#008080",
39
- "#7FFFAA",
40
- "#3CB371",
41
- "#8FBC8F",
42
- "#008000",
43
- "#7CFC00",
44
- "#556B2F",
45
- "#FFFFE0",
46
- "#FFFF00",
47
- "#808000",
48
- "#EEE8AA",
49
- "#FFD700",
50
- "#FFA500",
51
- "#FF4500",
52
- "#FA8072",
53
- "#FF0000",
54
- "#800000",
55
- "#C0C0C0"
56
- ], D = U({
57
- defaultLanguage: [
58
- {
59
- required: !0,
60
- message: m("message.required") + m("message.udp.defaultLanguage"),
61
- trigger: "blur"
62
- }
63
- ],
64
- title: [{ required: !0, message: m("message.required") + m("message.udp.systemTitle"), trigger: "blur" }]
65
- }), C = O(() => {
66
- const e = j.get(le);
67
- return {
68
- Authorization: "Bearer " + JSON.parse(e).accessToken
69
- };
70
- }), P = (e) => {
71
- Object.keys(a).forEach((l) => {
72
- const u = {
73
- configCode: l,
74
- configValue: a[l],
75
- configCategory: "system",
76
- fileName: ""
77
- };
78
- Z(a[l]) && (u.configValue = N(a[l][0]).url, u.fileName = N(a[l][0]).name);
79
- const i = d.findIndex((c) => c.configCode === l);
80
- i !== -1 ? d[i] = Object.assign(d[i], u) : d.push(u);
81
- }), e == null || e.validate(async (l) => {
82
- if (l) {
83
- h.value = !0;
84
- const u = d.filter((g) => !g.id), i = d.filter((g) => g.id), c = [];
85
- u.length ? c.push(y.post(k, u)) : c.push(y.put(k, i));
86
- const [x] = await B(Promise.all(c));
87
- x || (X(), T()), h.value = !1;
88
- }
89
- });
90
- }, N = (e) => e != null && e.response ? { url: e.response.data, name: e.name } : { url: (e == null ? void 0 : e.realpath) || (e == null ? void 0 : e.url), name: e == null ? void 0 : e.name }, V = (e) => {
91
- if (e)
92
- return R(m("message.tip.singleImg"));
93
- }, T = () => {
94
- Object.keys(a).forEach((e) => {
95
- const l = d.find((u) => u.configCode === e);
96
- if (l && (a[l.configCode] = l.configValue || a[l.configCode], l.fileName)) {
97
- const { configValue: u, fileName: i } = l;
98
- a[l.configCode] = [
99
- { url: f.value + "/ufil" + u, realpath: u, name: i }
100
- ];
101
- }
102
- });
103
- }, Y = async () => {
104
- const [e, l] = await B(y.get(k, {}));
105
- e || (d = l.list), T();
106
- };
107
- return J(() => {
108
- Y();
109
- }), (e, l) => {
110
- const u = r("el-input"), i = r("el-form-item"), c = r("el-option"), x = r("el-select"), g = r("el-switch"), G = r("vxe-color-picker"), b = r("el-button"), _ = r("el-upload"), I = r("el-form"), M = W("spinning");
111
- return H((w(), K("div", te, [
112
- n("div", oe, [
113
- t(I, {
114
- ref_key: "xfrom",
115
- ref: E,
116
- model: a,
117
- rules: D,
118
- "label-width": "90",
119
- size: "small",
120
- "status-icon": "",
121
- class: "w-full"
122
- }, {
123
- default: s(() => [
124
- t(i, {
125
- label: e.$t("message.udp.systemTitle"),
126
- prop: "title"
127
- }, {
128
- default: s(() => [
129
- t(u, {
130
- modelValue: a.title,
131
- "onUpdate:modelValue": l[0] || (l[0] = (o) => a.title = o)
132
- }, null, 8, ["modelValue"])
133
- ]),
134
- _: 1
135
- }, 8, ["label"]),
136
- t(i, {
137
- label: e.$t("message.udp.copyright"),
138
- prop: "copyright"
139
- }, {
140
- default: s(() => [
141
- t(u, {
142
- modelValue: a.copyright,
143
- "onUpdate:modelValue": l[1] || (l[1] = (o) => a.copyright = o)
144
- }, null, 8, ["modelValue"])
145
- ]),
146
- _: 1
147
- }, 8, ["label"]),
148
- t(i, {
149
- label: e.$t("message.udp.defaultLanguage"),
150
- prop: "defaultLanguage"
151
- }, {
152
- default: s(() => [
153
- t(x, {
154
- modelValue: a.defaultLanguage,
155
- "onUpdate:modelValue": l[2] || (l[2] = (o) => a.defaultLanguage = o),
156
- placeholder: "please select"
157
- }, {
158
- default: s(() => [
159
- t(c, {
160
- label: "中文",
161
- value: "zh"
162
- }),
163
- t(c, {
164
- label: "英文",
165
- value: "en"
166
- })
167
- ]),
168
- _: 1
169
- }, 8, ["modelValue"])
170
- ]),
171
- _: 1
172
- }, 8, ["label"]),
173
- t(i, {
174
- label: e.$t("message.udp.i18nEnabled"),
175
- prop: "i18nEnabled"
176
- }, {
177
- default: s(() => [
178
- t(g, {
179
- modelValue: a.i18nEnabled,
180
- "onUpdate:modelValue": l[3] || (l[3] = (o) => a.i18nEnabled = o),
181
- "active-value": "Y",
182
- "inactive-value": "N"
183
- }, null, 8, ["modelValue"])
184
- ]),
185
- _: 1
186
- }, 8, ["label"]),
187
- t(i, {
188
- label: e.$t("message.udp.orgTaggle"),
189
- prop: "orgTaggle"
190
- }, {
191
- default: s(() => [
192
- t(g, {
193
- modelValue: a.orgTaggle,
194
- "onUpdate:modelValue": l[4] || (l[4] = (o) => a.orgTaggle = o),
195
- "active-value": "Y",
196
- "inactive-value": "N"
197
- }, null, 8, ["modelValue"])
198
- ]),
199
- _: 1
200
- }, 8, ["label"]),
201
- t(i, {
202
- label: e.$t("message.udp.showTitle"),
203
- prop: "showTitle"
204
- }, {
205
- default: s(() => [
206
- t(g, {
207
- modelValue: a.showTitle,
208
- "onUpdate:modelValue": l[5] || (l[5] = (o) => a.showTitle = o),
209
- "active-value": "Y",
210
- "inactive-value": "N"
211
- }, null, 8, ["modelValue"])
212
- ]),
213
- _: 1
214
- }, 8, ["label"]),
215
- ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(v(j).get(v(z))) ? (w(), L(i, {
216
- key: 0,
217
- label: e.$t("message.udp.techSupport"),
218
- prop: "techSupport"
219
- }, {
220
- default: s(() => [
221
- t(g, {
222
- modelValue: a.techSupport,
223
- "onUpdate:modelValue": l[6] || (l[6] = (o) => a.techSupport = o),
224
- "active-value": "Y",
225
- "inactive-value": "N"
226
- }, null, 8, ["modelValue"])
227
- ]),
228
- _: 1
229
- }, 8, ["label"])) : A("", !0),
230
- ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(v(j).get(v(z))) ? (w(), L(i, {
231
- key: 1,
232
- label: e.$t("message.udp.baseColor"),
233
- prop: "baseColor"
234
- }, {
235
- default: s(() => [
236
- t(G, {
237
- modelValue: a.baseColor,
238
- "onUpdate:modelValue": l[7] || (l[7] = (o) => a.baseColor = o),
239
- colors: S,
240
- type: "hex",
241
- clearable: "",
242
- transfer: ""
243
- }, null, 8, ["modelValue"])
244
- ]),
245
- _: 1
246
- }, 8, ["label"])) : A("", !0),
247
- t(i, {
248
- label: e.$t("message.udp.systemLogo")
249
- }, {
250
- default: s(() => [
251
- t(_, {
252
- "file-list": a.logo,
253
- "onUpdate:fileList": l[8] || (l[8] = (o) => a.logo = o),
254
- class: "u-upload",
255
- action: f.value + "/ufil/file/uploadMultipart",
256
- headers: C.value,
257
- "on-exceed": V,
258
- accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
259
- "list-type": "picture",
260
- limit: 1
261
- }, {
262
- default: s(() => [
263
- n("div", se, [
264
- t(b, { type: "primary" }, {
265
- default: s(() => [
266
- F(p(e.$t("message.btn.upload")), 1)
267
- ]),
268
- _: 1
269
- }),
270
- n("div", ie, [
271
- n("span", null, p(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
272
- n("span", ue, p(e.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
273
- n("span", ne, p(e.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
274
- ])
275
- ])
276
- ]),
277
- _: 1
278
- }, 8, ["file-list", "action", "headers"])
279
- ]),
280
- _: 1
281
- }, 8, ["label"]),
282
- t(i, {
283
- label: e.$t("message.udp.homeBackimg")
284
- }, {
285
- default: s(() => [
286
- t(_, {
287
- "file-list": a.backgroundImg,
288
- "onUpdate:fileList": l[9] || (l[9] = (o) => a.backgroundImg = o),
289
- class: "u-upload",
290
- action: f.value + "/ufil/file/uploadMultipart",
291
- headers: C.value,
292
- "on-exceed": V,
293
- accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
294
- "list-type": "picture",
295
- limit: 1
296
- }, {
297
- default: s(() => [
298
- n("div", pe, [
299
- t(b, { type: "primary" }, {
300
- default: s(() => [
301
- F(p(e.$t("message.btn.upload")), 1)
302
- ]),
303
- _: 1
304
- }),
305
- n("div", re, [
306
- n("span", null, p(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
307
- n("span", de, p(e.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)
308
- ])
309
- ])
310
- ]),
311
- _: 1
312
- }, 8, ["file-list", "action", "headers"])
313
- ]),
314
- _: 1
315
- }, 8, ["label"]),
316
- t(i, {
317
- label: e.$t("message.udp.systemFavicon")
318
- }, {
319
- default: s(() => [
320
- t(_, {
321
- "file-list": a.favicon,
322
- "onUpdate:fileList": l[10] || (l[10] = (o) => a.favicon = o),
323
- class: "u-upload",
324
- action: f.value + "/ufil/file/uploadMultipart",
325
- headers: C.value,
326
- "on-exceed": V,
327
- accept: ".ico",
328
- "list-type": "picture",
329
- limit: 1
330
- }, {
331
- default: s(() => [
332
- n("div", ce, [
333
- t(b, { type: "primary" }, {
334
- default: s(() => [
335
- F(p(e.$t("message.btn.upload")), 1)
336
- ]),
337
- _: 1
338
- }),
339
- n("div", ge, p(e.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)
340
- ])
341
- ]),
342
- _: 1
343
- }, 8, ["file-list", "action", "headers"])
344
- ]),
345
- _: 1
346
- }, 8, ["label"])
347
- ]),
348
- _: 1
349
- }, 8, ["model", "rules"])
350
- ]),
351
- n("div", me, [
352
- t(b, {
353
- type: "primary",
354
- onClick: l[11] || (l[11] = (o) => P(E.value))
355
- }, {
356
- default: s(() => [
357
- F(p(e.$t("message.btn.confirm")), 1)
358
- ]),
359
- _: 1
360
- })
361
- ])
362
- ])), [
363
- [M, h.value]
364
- ]);
365
- };
366
- }
367
- });
368
- export {
369
- Ve as default
370
- };