@utogether/udp-core 2.0.0-beta.26 → 2.0.0-beta.28

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 (183) hide show
  1. package/dist/403-CyoOD-Ik.js +65 -0
  2. package/dist/404-Ch_OHTw0.js +65 -0
  3. package/dist/500-Cf9am7HK.js +67 -0
  4. package/dist/AuthorityInfo-BJ427cqG.js +4 -0
  5. package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-D9y7AwbB.js +99 -0
  6. package/dist/AuthorityPanel-lVnZ5bce.js +4 -0
  7. package/dist/AuthorityPanel.vue_vue_type_style_index_0_lang-nsfhDlvV.js +113 -0
  8. package/dist/Company-qo-lKPkv.js +25 -0
  9. package/dist/CompanyPanel-DkKWAKvY.js +204 -0
  10. package/dist/DataSet-iBHzs75s.js +147 -0
  11. package/dist/Department-CHUQByKX.js +25 -0
  12. package/dist/DepartmentPanel-C742dfOO.js +248 -0
  13. package/dist/DesignPanel-D9oE5R7m.js +4 -0
  14. package/dist/DesignPanel.vue_vue_type_style_index_0_lang-hYldVEbo.js +1097 -0
  15. package/dist/DictView-CrFXprP9.js +110 -0
  16. package/dist/InvOrganization-Cz8SzIgs.js +73 -0
  17. package/dist/Org-Bzt6yKox.js +38 -0
  18. package/dist/Preview-jonigfMQ.js +48 -0
  19. package/dist/ReportDefine-BpiM5Ovq.js +10 -0
  20. package/dist/ReportDesign-fp09cXJ7.js +164 -0
  21. package/dist/ReportQuery-52ZP1PYP.js +74 -0
  22. package/dist/ReportQueryFrom-DSYavJb1.js +4 -0
  23. package/dist/ReportQueryFrom.vue_vue_type_style_index_0_lang-DBGYEp0u.js +177 -0
  24. package/dist/ReportTemplate-CA_UW0eD.js +161 -0
  25. package/dist/Role-DqOt8Bk0.js +25 -0
  26. package/dist/RoleAssign-BdxhefhQ.js +26 -0
  27. package/dist/RolePanel-2gZ3H0ET.js +4 -0
  28. package/dist/RolePanel-BsNd0svJ.js +4 -0
  29. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DLOwgF99.js +152 -0
  30. package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DmzD9kab.js +131 -0
  31. package/dist/ScrollPanel.vue_vue_type_style_index_0_lang-B9ptUMeI.js +99 -0
  32. package/dist/Staff-D3L8fEoY.js +26 -0
  33. package/dist/StaffInfo-DYRw6ZYJ.js +4 -0
  34. package/dist/StaffInfo.vue_vue_type_script_setup_true_lang-xqEOQnMs.js +107 -0
  35. package/dist/StaffPanel-DkrNH6Px.js +4 -0
  36. package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-BPBMnliy.js +152 -0
  37. package/dist/SysUser-Bl1-cIpJ.js +15 -0
  38. package/dist/SysUserPanel-yxNLaBwt.js +4 -0
  39. package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BDcsgSl5.js +352 -0
  40. package/dist/SystemMenu-C4_Arn12.js +155 -0
  41. package/dist/UserInfo-QcNwJCUR.js +4 -0
  42. package/dist/UserInfo.vue_vue_type_style_index_0_lang-DLIeUphX.js +159 -0
  43. package/dist/childView-B23DEO2u.js +4 -0
  44. package/dist/childView-saDZQv9x.js +4 -0
  45. package/dist/childView.vue_vue_type_style_index_0_lang-RsKR6CAC.js +182 -0
  46. package/dist/childView.vue_vue_type_style_index_0_lang-ZFEfavUY.js +142 -0
  47. package/dist/code-rule-2_Ihx_by.js +147 -0
  48. package/dist/core.es.js +26 -6
  49. package/dist/cron-task-BFOPJQIk.js +134 -0
  50. package/dist/flow-task-PoDnE_kE.js +10 -0
  51. package/dist/frameView-f7Ya0Knj.js +43 -0
  52. package/dist/index-BpdTDaTk.js +3213 -0
  53. package/dist/layout-home-v3DPJ7rB.js +231 -0
  54. package/dist/layoutView-DZHoQDH1.js +3190 -0
  55. package/dist/log-in-BPAMJTwH.js +115 -0
  56. package/dist/log-out-DZACF0jg.js +129 -0
  57. package/dist/login-B8cwozax.js +216 -0
  58. package/dist/login-log-CVvRgZSu.js +70 -0
  59. package/dist/lov-view-Ba7Y7xy0.js +98 -0
  60. package/dist/menuInfo-BpRKFYK8.js +4 -0
  61. package/dist/menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js +359 -0
  62. package/dist/pda-app-C0jJecrL.js +706 -0
  63. package/dist/redirect-DTz8GSnv.js +15 -0
  64. package/dist/resource-BG22Cw4P.js +97 -0
  65. package/dist/su-welcome-DaxhbrC6.js +879 -0
  66. package/dist/sys-config-CG2fMtak.js +384 -0
  67. package/dist/udp-core.css +1 -2
  68. package/dist/useNav-_u2UAQWk.js +84 -0
  69. package/dist/utogether-MlnyYtNS.js +4 -0
  70. package/dist/wecom-push-B75FLee5.js +70 -0
  71. package/index.ts +54 -50
  72. package/package.json +21 -21
  73. package/src/App.vue +79 -78
  74. package/src/api/http.ts +10 -4
  75. package/src/api/index.ts +51 -51
  76. package/src/api/user.ts +64 -64
  77. package/src/components/SuQrcode/src/index.tsx +231 -236
  78. package/src/components/udp/content/index.vue +93 -93
  79. package/src/components/udp/form-upload/form-upload.vue +496 -496
  80. package/src/components/udp/grid/index.vue +643 -544
  81. package/src/components/udp/index.ts +2 -1
  82. package/src/components/udp/modal-form/index.vue +326 -0
  83. package/src/components/udp/utils.ts +420 -420
  84. package/src/layout/components/lay-navbar/index.vue +240 -240
  85. package/src/layout/components/lay-panel/index.vue +2 -6
  86. package/src/layout/components/lay-search/components/SearchModal.vue +185 -181
  87. package/src/layout/components/lay-sidebar/mixNav.vue +261 -261
  88. package/src/layout/components/lay-sidebar/sidebarItem.vue +199 -195
  89. package/src/layout/components/lay-sidebar/vertical.vue +92 -92
  90. package/src/layout/layoutView.vue +1 -0
  91. package/src/main.ts +111 -109
  92. package/src/plugins/i18n/zh.ts +5 -1
  93. package/src/plugins/vxe-table/index.ts +116 -116
  94. package/src/router/index.ts +5 -34
  95. package/src/router/utils.ts +434 -430
  96. package/src/store/modules/permission.ts +1 -1
  97. package/src/store/modules/system.ts +193 -186
  98. package/src/style/print-lock.css +380 -375
  99. package/src/style/suprint.css +990 -985
  100. package/src/style/vxetable.scss +372 -364
  101. package/src/utils/authority/index.ts +19 -2
  102. package/src/utils/dataFormat/index.ts +309 -222
  103. package/src/utils/udp/http/index.ts +126 -67
  104. package/src/utils/udp/http/types.d.ts +15 -14
  105. package/src/views/login/login-view.vue +4 -21
  106. package/src/views/organization/department/DepartmentPanel.vue +3 -4
  107. package/src/views/system/sys/sys-config.vue +344 -344
  108. package/src/views/uhome/components/home-todo.vue +191 -178
  109. package/src/views/uhome/dynamic-card.vue +31 -31
  110. package/src/views/uhome/su-welcome.vue +310 -310
  111. package/src/views/ulogin/login.vue +292 -296
  112. package/src/views/urpt/design/DesignPanel.vue +538 -507
  113. package/src/views/urpt/design/print-data.ts +39 -59
  114. package/tsconfig.json +2 -3
  115. package/types/global.d.ts +234 -234
  116. package/vite.config.ts +2 -1
  117. package/dist/403-D6Wb3JJh.js +0 -72
  118. package/dist/404-B_HNbPNV.js +0 -72
  119. package/dist/500-BMemTTy1.js +0 -77
  120. package/dist/AuthorityInfo-6wHxwiFM.js +0 -91
  121. package/dist/AuthorityPanel-OqF_DvXA.js +0 -98
  122. package/dist/Company-BLXSfow0.js +0 -21
  123. package/dist/CompanyPanel-B4kRZ5Cg.js +0 -199
  124. package/dist/DataSet-CuGZcKC-.js +0 -141
  125. package/dist/Department-oFhsa7cd.js +0 -21
  126. package/dist/DepartmentPanel-B1UGpu-r.js +0 -242
  127. package/dist/DepartmentPanel-BL58AdoT.js +0 -2
  128. package/dist/DesignPanel-DmkFVw1N.js +0 -1196
  129. package/dist/DictView-CC5yMzOq.js +0 -100
  130. package/dist/File-WJXjGYxr.js +0 -89
  131. package/dist/InvOrganization-BwMmD8Ua.js +0 -76
  132. package/dist/Org-HgnOWubi.js +0 -76
  133. package/dist/Preview-CAzWxLmP.js +0 -45
  134. package/dist/ReIcon-DecitXmg.js +0 -413
  135. package/dist/ReportDefine-BgLM-Rjk.js +0 -10
  136. package/dist/ReportDesign-DwchGG2P.js +0 -158
  137. package/dist/ReportQuery-D5jaRJEn.js +0 -101
  138. package/dist/ReportQueryFrom-CNlmtYey.js +0 -198
  139. package/dist/ReportTemplate-CNcTmccs.js +0 -162
  140. package/dist/Role-Be8WfdCA.js +0 -21
  141. package/dist/RoleAssign-CtehGAUf.js +0 -22
  142. package/dist/RolePanel-CAwITg_q.js +0 -131
  143. package/dist/RolePanel-SN0FGFZ7.js +0 -176
  144. package/dist/ScrollPanel-DW30pGz1.js +0 -88
  145. package/dist/Staff-V2YsNKcj.js +0 -22
  146. package/dist/StaffInfo-CKRPW0r4.js +0 -149
  147. package/dist/StaffPanel-BxcgMg7u.js +0 -143
  148. package/dist/SysUser-Dxyj5w5m.js +0 -12
  149. package/dist/SysUserPanel-DI6CWcZo.js +0 -365
  150. package/dist/SystemMenu-BBHREM8T.js +0 -154
  151. package/dist/UserInfo-BMVQ0xwE.js +0 -194
  152. package/dist/_plugin-vue_export-helper-C6QCLu9I.js +0 -8
  153. package/dist/api-BFNxcxSN.js +0 -30
  154. package/dist/authority-BJFEUdrh.js +0 -20
  155. package/dist/await-to-js.es5-DkWYmPXW.js +0 -10
  156. package/dist/childView-BBjPEraB.js +0 -184
  157. package/dist/childView-DNqG2UVm.js +0 -181
  158. package/dist/code-rule-QFrhqFrW.js +0 -151
  159. package/dist/contant-Q77dU_V3.js +0 -4
  160. package/dist/cron-task-BpUDKEAU.js +0 -131
  161. package/dist/flow-task-DAc2NrDU.js +0 -11
  162. package/dist/frameView-Di0zJZUR.js +0 -39
  163. package/dist/layout-home-BVp7vYLR.js +0 -239
  164. package/dist/layoutView-B6Mx2ERA.js +0 -2662
  165. package/dist/log-in-BrNB0mLz.js +0 -117
  166. package/dist/log-out-dYfqvzy6.js +0 -111
  167. package/dist/login-D_Hjy3Jd.js +0 -231
  168. package/dist/login-log-CJak-ANA.js +0 -79
  169. package/dist/lov-view-DM5Nm5tW.js +0 -95
  170. package/dist/menuInfo-BlOY1KZW.js +0 -346
  171. package/dist/mitt-CQgI7DYU.js +0 -27
  172. package/dist/pda-app-CA7YI37u.js +0 -589
  173. package/dist/redirect-N0k4tImU.js +0 -16
  174. package/dist/resource-CfQTHFcs.js +0 -94
  175. package/dist/su-welcome-DVD3S_du.js +0 -799
  176. package/dist/sys-config-Ddb3vBpK.js +0 -316
  177. package/dist/system-Cm3lyBas.js +0 -1528
  178. package/dist/udp-core-DaQd5CF1.js +0 -2028
  179. package/dist/useDataThemeChange-DJ4K3VGp.js +0 -226
  180. package/dist/useNav-BhOJIdrJ.js +0 -106
  181. package/dist/utogether-l7JXs4Lv.js +0 -4
  182. package/dist/water-mark-WDQZ9YqB.js +0 -119
  183. package/dist/wecom-push-kWkAVRCj.js +0 -77
@@ -1,316 +0,0 @@
1
- import { r as e, t } from "./api-BFNxcxSN.js";
2
- import { c as n } from "./contant-Q77dU_V3.js";
3
- import { t as r } from "./await-to-js.es5-DkWYmPXW.js";
4
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, onMounted as f, openBlock as p, reactive as m, ref as h, resolveComponent as g, resolveDirective as _, toDisplayString as v, unref as y, withCtx as b, withDirectives as x } from "vue";
5
- import { cookies as S, successMessage as C, warnMessage as w } from "@utogether/utils";
6
- import { isArray as T } from "xe-utils";
7
- import { useI18n as E } from "vue-i18n";
8
- //#region src/views/system/sys/sys-config.vue?vue&type=script&setup=true&lang.ts
9
- var D = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, O = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, k = { class: "flex items-center" }, A = { class: "pl-2 text-xs" }, j = { class: "pl-2" }, M = { class: "pl-2" }, N = { class: "flex items-center" }, P = { class: "pl-2 text-xs" }, F = { class: "pl-2" }, I = { class: "flex items-center" }, L = { class: "pl-2 text-xs" }, R = { class: "flex justify-end w-1/2 p-2" }, z = "/upfm/v1/sysConfig", B = /* @__PURE__ */ d({
10
- __name: "sys-config",
11
- setup(d) {
12
- let B = h(), V = h(!1), H = m({
13
- defaultLanguage: "zh",
14
- title: "U-DP",
15
- ispTitle: "U-DP",
16
- baseColor: "#FFF",
17
- i18nEnabled: "N",
18
- orgTaggle: "Y",
19
- showTitle: "Y",
20
- initialPasswordModification: "N",
21
- techSupport: "Y",
22
- copyright: "深圳友聚信息技术有限公司",
23
- logo: [],
24
- backgroundImg: [],
25
- favicon: []
26
- }), U = e(), { t: W } = E(), G = h(t()), K = [], q = /* @__PURE__ */ "#DC143C.#FF1493.#FF00FF.#9932CC.#6A5ACD.#0000FF.#00008B.#778899.#1E90FF.#00BFFF.#5F9EA0.#00FFFF.#008080.#7FFFAA.#3CB371.#8FBC8F.#008000.#7CFC00.#556B2F.#FFFFE0.#FFFF00.#808000.#EEE8AA.#FFD700.#FFA500.#FF4500.#FA8072.#FF0000.#800000.#C0C0C0".split("."), J = m({
27
- defaultLanguage: [{
28
- required: !0,
29
- message: W("message.required") + W("message.udp.defaultLanguage"),
30
- trigger: "blur"
31
- }],
32
- title: [{
33
- required: !0,
34
- message: W("message.required") + W("message.udp.systemTitle"),
35
- trigger: "blur"
36
- }]
37
- }), Y = i(() => {
38
- let e = S.get(n);
39
- return { Authorization: "Bearer " + JSON.parse(e).accessToken };
40
- }), X = (e) => {
41
- Object.keys(H).forEach((e) => {
42
- let t = {
43
- configCode: e,
44
- configValue: H[e],
45
- configCategory: "system",
46
- fileName: ""
47
- };
48
- T(H[e]) && (t.configValue = Z(H[e][0]).url, t.fileName = Z(H[e][0]).name);
49
- let n = K.findIndex((t) => t.configCode === e);
50
- n === -1 ? K.push(t) : K[n] = Object.assign(K[n], t);
51
- }), e?.validate(async (e) => {
52
- if (e) {
53
- V.value = !0;
54
- let e = K.filter((e) => !e.id), t = K.filter((e) => e.id), n = [];
55
- e.length ? n.push(U.post(z, e)) : n.push(U.put(z, t));
56
- let [i] = await r(Promise.all(n));
57
- i || (C(), $()), V.value = !1;
58
- }
59
- });
60
- }, Z = (e) => e?.response ? {
61
- url: e.response.data,
62
- name: e.name
63
- } : {
64
- url: e?.realpath || e?.url,
65
- name: e?.name
66
- }, Q = (e) => {
67
- if (e) return w(W("message.tip.singleImg"));
68
- }, $ = () => {
69
- Object.keys(H).forEach((e) => {
70
- let t = K.find((t) => t.configCode === e);
71
- if (t && (H[t.configCode] = t.configValue || H[t.configCode], t.fileName)) {
72
- let { configValue: e, fileName: n } = t;
73
- H[t.configCode] = [{
74
- url: G.value + "/ufil" + e,
75
- realpath: e,
76
- name: n
77
- }];
78
- }
79
- });
80
- }, ee = async () => {
81
- let [e, t] = await r(U.get(z, {}));
82
- e || (K = t.list), $();
83
- };
84
- return f(() => {
85
- ee();
86
- }), (e, t) => {
87
- let n = g("el-input"), r = g("el-form-item"), i = g("el-option"), d = g("el-select"), f = g("el-switch"), m = g("vxe-color-picker"), h = g("el-button"), C = g("el-upload"), w = g("el-form"), T = _("spinning");
88
- return x((p(), s("div", D, [c("div", O, [u(w, {
89
- ref_key: "xfrom",
90
- ref: B,
91
- model: H,
92
- rules: J,
93
- "label-width": "90",
94
- size: "small",
95
- "status-icon": "",
96
- class: "w-full"
97
- }, {
98
- default: b(() => [
99
- u(r, {
100
- label: e.$t("message.udp.systemTitle"),
101
- prop: "title"
102
- }, {
103
- default: b(() => [u(n, {
104
- modelValue: H.title,
105
- "onUpdate:modelValue": t[0] ||= (e) => H.title = e
106
- }, null, 8, ["modelValue"])]),
107
- _: 1
108
- }, 8, ["label"]),
109
- u(r, {
110
- label: e.$t("message.udp.copyright"),
111
- prop: "copyright"
112
- }, {
113
- default: b(() => [u(n, {
114
- modelValue: H.copyright,
115
- "onUpdate:modelValue": t[1] ||= (e) => H.copyright = e
116
- }, null, 8, ["modelValue"])]),
117
- _: 1
118
- }, 8, ["label"]),
119
- u(r, {
120
- label: e.$t("message.udp.defaultLanguage"),
121
- prop: "defaultLanguage"
122
- }, {
123
- default: b(() => [u(d, {
124
- modelValue: H.defaultLanguage,
125
- "onUpdate:modelValue": t[2] ||= (e) => H.defaultLanguage = e,
126
- placeholder: "please select"
127
- }, {
128
- default: b(() => [u(i, {
129
- label: "中文",
130
- value: "zh"
131
- }), u(i, {
132
- label: "英文",
133
- value: "en"
134
- })]),
135
- _: 1
136
- }, 8, ["modelValue"])]),
137
- _: 1
138
- }, 8, ["label"]),
139
- u(r, {
140
- label: e.$t("message.udp.i18nEnabled"),
141
- prop: "i18nEnabled"
142
- }, {
143
- default: b(() => [u(f, {
144
- modelValue: H.i18nEnabled,
145
- "onUpdate:modelValue": t[3] ||= (e) => H.i18nEnabled = e,
146
- "active-value": "Y",
147
- "inactive-value": "N"
148
- }, null, 8, ["modelValue"])]),
149
- _: 1
150
- }, 8, ["label"]),
151
- u(r, {
152
- label: e.$t("message.udp.orgTaggle"),
153
- prop: "orgTaggle"
154
- }, {
155
- default: b(() => [u(f, {
156
- modelValue: H.orgTaggle,
157
- "onUpdate:modelValue": t[4] ||= (e) => H.orgTaggle = e,
158
- "active-value": "Y",
159
- "inactive-value": "N"
160
- }, null, 8, ["modelValue"])]),
161
- _: 1
162
- }, 8, ["label"]),
163
- u(r, {
164
- label: e.$t("message.udp.showTitle"),
165
- prop: "showTitle"
166
- }, {
167
- default: b(() => [u(f, {
168
- modelValue: H.showTitle,
169
- "onUpdate:modelValue": t[5] ||= (e) => H.showTitle = e,
170
- "active-value": "Y",
171
- "inactive-value": "N"
172
- }, null, 8, ["modelValue"])]),
173
- _: 1
174
- }, 8, ["label"]),
175
- u(r, {
176
- label: e.$t("message.udp.initialPasswordModification"),
177
- prop: "initialPasswordModification"
178
- }, {
179
- default: b(() => [u(f, {
180
- modelValue: H.initialPasswordModification,
181
- "onUpdate:modelValue": t[6] ||= (e) => H.initialPasswordModification = e,
182
- "active-value": "Y",
183
- "inactive-value": "N"
184
- }, null, 8, ["modelValue"])]),
185
- _: 1
186
- }, 8, ["label"]),
187
- [
188
- "liwei",
189
- "yanhuaijun",
190
- "phr",
191
- "zhonglijun",
192
- "ccl"
193
- ].includes(y(S).get(y("loginer"))) ? (p(), a(r, {
194
- key: 0,
195
- label: e.$t("message.udp.techSupport"),
196
- prop: "techSupport"
197
- }, {
198
- default: b(() => [u(f, {
199
- modelValue: H.techSupport,
200
- "onUpdate:modelValue": t[7] ||= (e) => H.techSupport = e,
201
- "active-value": "Y",
202
- "inactive-value": "N"
203
- }, null, 8, ["modelValue"])]),
204
- _: 1
205
- }, 8, ["label"])) : o("", !0),
206
- [
207
- "liwei",
208
- "yanhuaijun",
209
- "phr",
210
- "zhonglijun",
211
- "ccl"
212
- ].includes(y(S).get(y("loginer"))) ? (p(), a(r, {
213
- key: 1,
214
- label: e.$t("message.udp.baseColor"),
215
- prop: "baseColor"
216
- }, {
217
- default: b(() => [u(m, {
218
- modelValue: H.baseColor,
219
- "onUpdate:modelValue": t[8] ||= (e) => H.baseColor = e,
220
- colors: q,
221
- type: "hex",
222
- clearable: "",
223
- transfer: ""
224
- }, null, 8, ["modelValue"])]),
225
- _: 1
226
- }, 8, ["label"])) : o("", !0),
227
- u(r, { label: e.$t("message.udp.systemLogo") }, {
228
- default: b(() => [u(C, {
229
- "file-list": H.logo,
230
- "onUpdate:fileList": t[9] ||= (e) => H.logo = e,
231
- class: "u-upload",
232
- action: G.value + "/ufil/file/uploadMultipart",
233
- headers: Y.value,
234
- "on-exceed": Q,
235
- accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
236
- "list-type": "picture",
237
- limit: 1
238
- }, {
239
- default: b(() => [c("div", k, [u(h, { type: "primary" }, {
240
- default: b(() => [l(v(e.$t("message.btn.upload")), 1)]),
241
- _: 1
242
- }), c("div", A, [
243
- c("span", null, v(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
244
- c("span", j, v(e.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
245
- c("span", M, v(e.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
246
- ])])]),
247
- _: 1
248
- }, 8, [
249
- "file-list",
250
- "action",
251
- "headers"
252
- ])]),
253
- _: 1
254
- }, 8, ["label"]),
255
- u(r, { label: e.$t("message.udp.homeBackimg") }, {
256
- default: b(() => [u(C, {
257
- "file-list": H.backgroundImg,
258
- "onUpdate:fileList": t[10] ||= (e) => H.backgroundImg = e,
259
- class: "u-upload",
260
- action: G.value + "/ufil/file/uploadMultipart",
261
- headers: Y.value,
262
- "on-exceed": Q,
263
- accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
264
- "list-type": "picture",
265
- limit: 1
266
- }, {
267
- default: b(() => [c("div", N, [u(h, { type: "primary" }, {
268
- default: b(() => [l(v(e.$t("message.btn.upload")), 1)]),
269
- _: 1
270
- }), c("div", P, [c("span", null, v(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1), c("span", F, v(e.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)])])]),
271
- _: 1
272
- }, 8, [
273
- "file-list",
274
- "action",
275
- "headers"
276
- ])]),
277
- _: 1
278
- }, 8, ["label"]),
279
- u(r, { label: e.$t("message.udp.systemFavicon") }, {
280
- default: b(() => [u(C, {
281
- "file-list": H.favicon,
282
- "onUpdate:fileList": t[11] ||= (e) => H.favicon = e,
283
- class: "u-upload",
284
- action: G.value + "/ufil/file/uploadMultipart",
285
- headers: Y.value,
286
- "on-exceed": Q,
287
- accept: ".ico",
288
- "list-type": "picture",
289
- limit: 1
290
- }, {
291
- default: b(() => [c("div", I, [u(h, { type: "primary" }, {
292
- default: b(() => [l(v(e.$t("message.btn.upload")), 1)]),
293
- _: 1
294
- }), c("div", L, v(e.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)])]),
295
- _: 1
296
- }, 8, [
297
- "file-list",
298
- "action",
299
- "headers"
300
- ])]),
301
- _: 1
302
- }, 8, ["label"])
303
- ]),
304
- _: 1
305
- }, 8, ["model", "rules"])]), c("div", R, [u(h, {
306
- type: "primary",
307
- onClick: t[12] ||= (e) => X(B.value)
308
- }, {
309
- default: b(() => [l(v(e.$t("message.btn.confirm")), 1)]),
310
- _: 1
311
- })])])), [[T, V.value]]);
312
- };
313
- }
314
- });
315
- //#endregion
316
- export { B as default };