@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
@@ -0,0 +1,384 @@
1
+ import { defineComponent as O, ref as $, reactive as T, computed as q, onMounted as J, resolveComponent as p, resolveDirective as R, withDirectives as K, openBlock as k, createElementBlock as H, createElementVNode as u, createVNode as a, withCtx as s, unref as b, createBlock as A, createCommentVNode as P, createTextVNode as F, toDisplayString as d } from "vue";
2
+ import { useI18n as Q } from "vue-i18n";
3
+ import { x as W, y as X, z, i as B, j as Z } from "./index-BpdTDaTk.js";
4
+ import { cookies as j, successMessage as ee, warnMessage as le } from "@utogether/utils";
5
+ import { isArray as te } from "xe-utils";
6
+ const ae = { 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" }, ne = { class: "pl-2" }, ue = { class: "pl-2" }, de = { class: "flex items-center" }, re = { class: "pl-2 text-xs" }, pe = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, E = "/upfm/v1/sysConfig", _e = /* @__PURE__ */ O({
7
+ __name: "sys-config",
8
+ setup(fe) {
9
+ const N = $(), y = $(!1), t = T({
10
+ defaultLanguage: "zh",
11
+ title: "U-DP",
12
+ ispTitle: "U-DP",
13
+ baseColor: "#FFF",
14
+ i18nEnabled: "N",
15
+ orgTaggle: "Y",
16
+ showTitle: "Y",
17
+ initialPasswordModification: "N",
18
+ techSupport: "Y",
19
+ copyright: "深圳友聚信息技术有限公司",
20
+ logo: [],
21
+ backgroundImg: [],
22
+ favicon: []
23
+ }), h = Z(), { t: g } = Q(), f = $(W());
24
+ let m = [];
25
+ const M = [
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
+ ], S = T({
57
+ defaultLanguage: [
58
+ {
59
+ required: !0,
60
+ message: g("message.required") + g("message.udp.defaultLanguage"),
61
+ trigger: "blur"
62
+ }
63
+ ],
64
+ title: [{ required: !0, message: g("message.required") + g("message.udp.systemTitle"), trigger: "blur" }]
65
+ }), _ = q(() => {
66
+ const l = j.get(X);
67
+ return {
68
+ Authorization: "Bearer " + JSON.parse(l).accessToken
69
+ };
70
+ }), D = (l) => {
71
+ Object.keys(t).forEach((e) => {
72
+ const n = {
73
+ configCode: e,
74
+ configValue: t[e],
75
+ configCategory: "system",
76
+ fileName: ""
77
+ };
78
+ te(t[e]) && (n.configValue = L(t[e][0]).url, n.fileName = L(t[e][0]).name);
79
+ const i = m.findIndex((c) => c.configCode === e);
80
+ i !== -1 ? m[i] = Object.assign(m[i], n) : m.push(n);
81
+ }), l?.validate(async (e) => {
82
+ if (e) {
83
+ y.value = !0;
84
+ const n = m.filter((r) => !r.id), i = m.filter((r) => r.id), c = [];
85
+ n.length ? c.push(h.post(E, n)) : c.push(h.put(E, i));
86
+ const [C] = await B(Promise.all(c));
87
+ C || (ee(), U()), y.value = !1;
88
+ }
89
+ });
90
+ }, L = (l) => l?.response ? { url: l.response.data, name: l.name } : { url: l?.realpath || l?.url, name: l?.name }, V = (l) => {
91
+ if (l)
92
+ return le(g("message.tip.singleImg"));
93
+ }, U = () => {
94
+ Object.keys(t).forEach((l) => {
95
+ const e = m.find((n) => n.configCode === l);
96
+ if (e && (t[e.configCode] = e.configValue || t[e.configCode], e.fileName)) {
97
+ const { configValue: n, fileName: i } = e;
98
+ t[e.configCode] = [
99
+ { url: f.value + "/ufil" + n, realpath: n, name: i }
100
+ ];
101
+ }
102
+ });
103
+ }, I = async () => {
104
+ const [l, e] = await B(h.get(E, {}));
105
+ l || (m = e.list), U();
106
+ };
107
+ return J(() => {
108
+ I();
109
+ }), (l, e) => {
110
+ const n = p("el-input"), i = p("el-form-item"), c = p("el-option"), C = p("el-select"), r = p("el-switch"), Y = p("vxe-color-picker"), v = p("el-button"), w = p("el-upload"), x = p("el-form"), G = R("spinning");
111
+ return K((k(), H("div", ae, [
112
+ u("div", oe, [
113
+ a(x, {
114
+ ref_key: "xfrom",
115
+ ref: N,
116
+ model: t,
117
+ rules: S,
118
+ "label-width": "90",
119
+ size: "small",
120
+ "status-icon": "",
121
+ class: "w-full"
122
+ }, {
123
+ default: s(() => [
124
+ a(i, {
125
+ label: l.$t("message.udp.systemTitle"),
126
+ prop: "title"
127
+ }, {
128
+ default: s(() => [
129
+ a(n, {
130
+ modelValue: t.title,
131
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => t.title = o)
132
+ }, null, 8, ["modelValue"])
133
+ ]),
134
+ _: 1
135
+ }, 8, ["label"]),
136
+ a(i, {
137
+ label: l.$t("message.udp.copyright"),
138
+ prop: "copyright"
139
+ }, {
140
+ default: s(() => [
141
+ a(n, {
142
+ modelValue: t.copyright,
143
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => t.copyright = o)
144
+ }, null, 8, ["modelValue"])
145
+ ]),
146
+ _: 1
147
+ }, 8, ["label"]),
148
+ a(i, {
149
+ label: l.$t("message.udp.defaultLanguage"),
150
+ prop: "defaultLanguage"
151
+ }, {
152
+ default: s(() => [
153
+ a(C, {
154
+ modelValue: t.defaultLanguage,
155
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => t.defaultLanguage = o),
156
+ placeholder: "please select"
157
+ }, {
158
+ default: s(() => [
159
+ a(c, {
160
+ label: "中文",
161
+ value: "zh"
162
+ }),
163
+ a(c, {
164
+ label: "英文",
165
+ value: "en"
166
+ })
167
+ ]),
168
+ _: 1
169
+ }, 8, ["modelValue"])
170
+ ]),
171
+ _: 1
172
+ }, 8, ["label"]),
173
+ a(i, {
174
+ label: l.$t("message.udp.i18nEnabled"),
175
+ prop: "i18nEnabled"
176
+ }, {
177
+ default: s(() => [
178
+ a(r, {
179
+ modelValue: t.i18nEnabled,
180
+ "onUpdate:modelValue": e[3] || (e[3] = (o) => t.i18nEnabled = o),
181
+ "active-value": "Y",
182
+ "inactive-value": "N"
183
+ }, null, 8, ["modelValue"])
184
+ ]),
185
+ _: 1
186
+ }, 8, ["label"]),
187
+ a(i, {
188
+ label: l.$t("message.udp.orgTaggle"),
189
+ prop: "orgTaggle"
190
+ }, {
191
+ default: s(() => [
192
+ a(r, {
193
+ modelValue: t.orgTaggle,
194
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => t.orgTaggle = o),
195
+ "active-value": "Y",
196
+ "inactive-value": "N"
197
+ }, null, 8, ["modelValue"])
198
+ ]),
199
+ _: 1
200
+ }, 8, ["label"]),
201
+ a(i, {
202
+ label: l.$t("message.udp.showTitle"),
203
+ prop: "showTitle"
204
+ }, {
205
+ default: s(() => [
206
+ a(r, {
207
+ modelValue: t.showTitle,
208
+ "onUpdate:modelValue": e[5] || (e[5] = (o) => t.showTitle = o),
209
+ "active-value": "Y",
210
+ "inactive-value": "N"
211
+ }, null, 8, ["modelValue"])
212
+ ]),
213
+ _: 1
214
+ }, 8, ["label"]),
215
+ a(i, {
216
+ label: l.$t("message.udp.initialPasswordModification"),
217
+ prop: "initialPasswordModification"
218
+ }, {
219
+ default: s(() => [
220
+ a(r, {
221
+ modelValue: t.initialPasswordModification,
222
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => t.initialPasswordModification = o),
223
+ "active-value": "Y",
224
+ "inactive-value": "N"
225
+ }, null, 8, ["modelValue"])
226
+ ]),
227
+ _: 1
228
+ }, 8, ["label"]),
229
+ ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(j).get(b(z))) ? (k(), A(i, {
230
+ key: 0,
231
+ label: l.$t("message.udp.techSupport"),
232
+ prop: "techSupport"
233
+ }, {
234
+ default: s(() => [
235
+ a(r, {
236
+ modelValue: t.techSupport,
237
+ "onUpdate:modelValue": e[7] || (e[7] = (o) => t.techSupport = o),
238
+ "active-value": "Y",
239
+ "inactive-value": "N"
240
+ }, null, 8, ["modelValue"])
241
+ ]),
242
+ _: 1
243
+ }, 8, ["label"])) : P("", !0),
244
+ ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(j).get(b(z))) ? (k(), A(i, {
245
+ key: 1,
246
+ label: l.$t("message.udp.baseColor"),
247
+ prop: "baseColor"
248
+ }, {
249
+ default: s(() => [
250
+ a(Y, {
251
+ modelValue: t.baseColor,
252
+ "onUpdate:modelValue": e[8] || (e[8] = (o) => t.baseColor = o),
253
+ colors: M,
254
+ type: "hex",
255
+ clearable: "",
256
+ transfer: ""
257
+ }, null, 8, ["modelValue"])
258
+ ]),
259
+ _: 1
260
+ }, 8, ["label"])) : P("", !0),
261
+ a(i, {
262
+ label: l.$t("message.udp.systemLogo")
263
+ }, {
264
+ default: s(() => [
265
+ a(w, {
266
+ "file-list": t.logo,
267
+ "onUpdate:fileList": e[9] || (e[9] = (o) => t.logo = o),
268
+ class: "u-upload",
269
+ action: f.value + "/ufil/file/uploadMultipart",
270
+ headers: _.value,
271
+ "on-exceed": V,
272
+ accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
273
+ "list-type": "picture",
274
+ limit: 1
275
+ }, {
276
+ default: s(() => [
277
+ u("div", se, [
278
+ a(v, { type: "primary" }, {
279
+ default: s(() => [
280
+ F(d(l.$t("message.btn.upload")), 1)
281
+ ]),
282
+ _: 1
283
+ }),
284
+ u("div", ie, [
285
+ u("span", null, d(l.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
286
+ u("span", ne, d(l.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
287
+ u("span", ue, d(l.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
288
+ ])
289
+ ])
290
+ ]),
291
+ _: 1
292
+ }, 8, ["file-list", "action", "headers"])
293
+ ]),
294
+ _: 1
295
+ }, 8, ["label"]),
296
+ a(i, {
297
+ label: l.$t("message.udp.homeBackimg")
298
+ }, {
299
+ default: s(() => [
300
+ a(w, {
301
+ "file-list": t.backgroundImg,
302
+ "onUpdate:fileList": e[10] || (e[10] = (o) => t.backgroundImg = o),
303
+ class: "u-upload",
304
+ action: f.value + "/ufil/file/uploadMultipart",
305
+ headers: _.value,
306
+ "on-exceed": V,
307
+ accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
308
+ "list-type": "picture",
309
+ limit: 1
310
+ }, {
311
+ default: s(() => [
312
+ u("div", de, [
313
+ a(v, { type: "primary" }, {
314
+ default: s(() => [
315
+ F(d(l.$t("message.btn.upload")), 1)
316
+ ]),
317
+ _: 1
318
+ }),
319
+ u("div", re, [
320
+ u("span", null, d(l.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
321
+ u("span", pe, d(l.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)
322
+ ])
323
+ ])
324
+ ]),
325
+ _: 1
326
+ }, 8, ["file-list", "action", "headers"])
327
+ ]),
328
+ _: 1
329
+ }, 8, ["label"]),
330
+ a(i, {
331
+ label: l.$t("message.udp.systemFavicon")
332
+ }, {
333
+ default: s(() => [
334
+ a(w, {
335
+ "file-list": t.favicon,
336
+ "onUpdate:fileList": e[11] || (e[11] = (o) => t.favicon = o),
337
+ class: "u-upload",
338
+ action: f.value + "/ufil/file/uploadMultipart",
339
+ headers: _.value,
340
+ "on-exceed": V,
341
+ accept: ".ico",
342
+ "list-type": "picture",
343
+ limit: 1
344
+ }, {
345
+ default: s(() => [
346
+ u("div", me, [
347
+ a(v, { type: "primary" }, {
348
+ default: s(() => [
349
+ F(d(l.$t("message.btn.upload")), 1)
350
+ ]),
351
+ _: 1
352
+ }),
353
+ u("div", ce, d(l.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)
354
+ ])
355
+ ]),
356
+ _: 1
357
+ }, 8, ["file-list", "action", "headers"])
358
+ ]),
359
+ _: 1
360
+ }, 8, ["label"])
361
+ ]),
362
+ _: 1
363
+ }, 8, ["model", "rules"])
364
+ ]),
365
+ u("div", ge, [
366
+ a(v, {
367
+ type: "primary",
368
+ onClick: e[12] || (e[12] = (o) => D(N.value))
369
+ }, {
370
+ default: s(() => [
371
+ F(d(l.$t("message.btn.confirm")), 1)
372
+ ]),
373
+ _: 1
374
+ })
375
+ ])
376
+ ])), [
377
+ [G, y.value]
378
+ ]);
379
+ };
380
+ }
381
+ });
382
+ export {
383
+ _e as default
384
+ };