@utogether/udp-core 1.0.1-beta.1 → 1.0.1-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/plugins.ts +39 -32
- package/dist/{403-Dp617CWX.js → 403-Dsgsr2M-.js} +1 -1
- package/dist/{404-Cz_Axb6Y.js → 404-DmPHEfqM.js} +1 -1
- package/dist/{500-BGCtRNse.js → 500-OYEgHR2a.js} +1 -1
- package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-B1H1txG-.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BUlmQtjQ.js +100 -0
- package/dist/{Company-IV3GTnzY.js → Company-C8ojgx93.js} +3 -3
- package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-Dageer1t.js} +16 -16
- package/dist/{Department-B3W-OxW8.js → Department-Dr94_85I.js} +3 -3
- package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-Bc5r1HpT.js} +1 -1
- package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-CcWt1Myp.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-CKA6nx1l.js} +24 -26
- package/dist/DictView-BHj6wexC.js +110 -0
- package/dist/InvOrganization-DP3Le9g-.js +72 -0
- package/dist/Org-BRGHTwsw.js +39 -0
- package/dist/{Preview-BlDMmpdR.js → Preview-CqMaUD_3.js} +1 -1
- package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-PEQdTCOY.js} +1 -1
- package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-CB4bv8ba.js} +43 -43
- package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-B7t4lMK0.js} +1 -1
- package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-VBxUIMRJ.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-HeLA4Qs5.js} +1 -1
- package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-DNkv7F5p.js} +28 -28
- package/dist/{Role-_q3lQ8CZ.js → Role-BGfTpZK4.js} +6 -6
- package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-DrKFWZzA.js} +8 -8
- package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-3lvRh7aS.js} +1 -1
- package/dist/{RolePanel-BQb1LlhD.js → RolePanel-BRI5QYe4.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-BXKZb7yt.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-Cci_Ysty.js} +44 -38
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-BmId6zzA.js} +21 -21
- package/dist/{Staff-BSf9Ypbk.js → Staff-Dr0dq3fW.js} +3 -3
- package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-_N9g2hPa.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-DiTJY2ug.js} +11 -11
- package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-mxJQiW3G.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-GRGn-5t6.js} +2 -2
- package/dist/{SysUser-FAABuNti.js → SysUser-DgA19hZE.js} +2 -2
- package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-Bc85z5_K.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-BHDrP1Pk.js +294 -0
- package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-Be-gFIie.js} +26 -26
- package/dist/{UserInfo-ClXKtyGo.js → UserInfo-BCYuwFmr.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-B1lgokO6.js} +39 -37
- package/dist/{childView-C_HmDQNd.js → childView-DhcBr1UA.js} +1 -1
- package/dist/{childView-uUlBcTza.js → childView-Dk4zZoXd.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-CVnLnl03.js} +40 -40
- package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-D4GYVhOc.js} +1 -1
- package/dist/{code-rule-AgCVDKFy.js → code-rule-BSwPwuAL.js} +9 -10
- package/dist/core.es.js +14 -11
- package/dist/{cron-task-C6FgQxTi.js → cron-task-T1ztyra7.js} +1 -1
- package/dist/{frameView-BDgISK7N.js → frameView-BDgngiBq.js} +1 -1
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/index-BSj2AtVL.js +4468 -0
- package/dist/{layoutView-yb3DV2DQ.js → layoutView-i7dLLBzJ.js} +1181 -1176
- package/dist/{login-RRpljbkm.js → login-K5Ludp8x.js} +105 -113
- package/dist/{login-log-CvVnyGi3.js → login-log-kqKzKTto.js} +1 -1
- package/dist/{lov-view-C9-rjzZR.js → lov-view-lAexiucu.js} +2 -2
- package/dist/{menuInfo-CzPQyFhp.js → menuInfo-BaN5YZPp.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-yI4QOYxG.js} +100 -97
- package/dist/{pda-app-Dvy3U-b6.js → pda-app-DEtDXFvM.js} +211 -197
- package/dist/{resource-Fy0lFkSV.js → resource-Bztmz7pn.js} +15 -15
- package/dist/{su-welcome-DYvSCUST.js → su-welcome-Bx8nBPi9.js} +109 -110
- package/dist/sys-config-nvrtYGgi.js +290 -0
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CjmJiHoE.js → utogether-yPnwDAIH.js} +1 -1
- package/index.ts +40 -36
- package/package.json +18 -18
- package/src/App.vue +65 -70
- package/src/api/index.ts +31 -31
- package/src/components/SuCharts/src/UserInfo.vue +78 -78
- package/src/components/SuScrollTree/ScrollPanel.vue +3 -3
- package/src/components/udp/count-down.vue +536 -0
- package/src/components/udp/flip-down/FlipCard/flip-card.vue +251 -0
- package/src/components/udp/flip-down/FlipCard/interfaces.ts +4 -0
- package/src/components/udp/flip-down/FlipClock/flip-clock.vue +113 -0
- package/src/components/udp/form-upload.vue +414 -64
- package/src/components/udp/form.vue +112 -0
- package/src/components/udp/grid.vue +495 -0
- package/src/components/udp/index.ts +10 -4
- package/src/components/udp/lov.vue +388 -0
- package/src/components/udp/modal-form.vue +13 -3
- package/src/components/udp/modal-grid.vue +298 -0
- package/src/components/udp/upload.vue +423 -0
- package/src/components/udp/utils.ts +447 -40
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +239 -237
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-search/index.vue +25 -25
- package/src/layout/components/lay-select-org/index.vue +64 -69
- package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-sidebar/horizontal.vue +190 -191
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +92 -98
- package/src/layout/components/lay-tag/index.vue +625 -625
- package/src/layout/hooks/useNav.ts +173 -173
- package/src/layout/layoutView.vue +215 -215
- package/src/main.ts +119 -109
- package/src/plugins/i18n/en.ts +302 -289
- package/src/plugins/i18n/zh.ts +349 -337
- package/src/plugins/vxe-table/index.ts +53 -46
- package/src/plugins/vxe-table/render.tsx +956 -817
- package/src/router/index.ts +177 -183
- package/src/router/modules/remaining.ts +58 -83
- package/src/store/modules/permission.ts +1 -4
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +44 -11
- package/src/utils/authority/index.ts +1 -1
- package/src/utils/{http → udp/http}/index.ts +283 -297
- package/src/utils/{http → udp/http}/types.d.ts +8 -5
- package/src/utils/udp/useRender.ts +17 -6
- package/src/views/login/login-view.vue +300 -314
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/inv-org/InvOrganization.vue +68 -54
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/system/menu/SystemMenu.vue +183 -197
- package/src/views/system/menu/menuInfo.vue +363 -371
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +195 -193
- package/src/views/system/role-assign/RoleAssign.vue +57 -57
- package/src/views/system/role-assign/RolePanel.vue +139 -136
- package/src/views/system/sys/sys-config.vue +287 -291
- package/src/views/system/sysUser/SysUserPanel.vue +278 -278
- package/src/views/uapp/pda/pda-app.vue +208 -176
- package/src/views/udev/dict/DictView.vue +118 -106
- package/src/views/udev/dict/childView.vue +7 -7
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/su-welcome.vue +3 -3
- package/src/views/ulogin/login.vue +12 -8
- package/src/views/upms/user/login-log.vue +1 -1
- package/src/views/urpt/design/DesignPanel.vue +507 -526
- package/src/views/urpt/design/ReportDesign.vue +15 -19
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/types/global.d.ts +2 -1
- package/vite.config.ts +6 -2
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js +0 -102
- package/dist/DictView-C-i7e4hZ.js +0 -95
- package/dist/InvOrganization-cfT6riGU.js +0 -260
- package/dist/Org-CA7vTDIF.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js +0 -126
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js +0 -288
- package/dist/index-DzOzUkf6.js +0 -3388
- package/dist/sys-config-DJ1vNQTy.js +0 -277
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { defineComponent as G, ref as k, reactive as E, computed as M, onMounted as O, resolveComponent as g, resolveDirective as S, withDirectives as q, createElementBlock as A, openBlock as B, createElementVNode as u, createVNode as l, withCtx as s, createTextVNode as b, toDisplayString as d } from "vue";
|
|
2
|
+
import { useI18n as F } from "vue-i18n";
|
|
3
|
+
import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
import { cookies as x, successMessage as J, warnMessage as Y } from "@utogether/utils";
|
|
5
|
+
import { isArray as K } from "xe-utils";
|
|
6
|
+
import { x as R, m as H, q as Q } from "./index-BSj2AtVL.js";
|
|
7
|
+
const W = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, X = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, Z = { class: "flex items-center" }, ee = { class: "pl-2 text-xs" }, te = { class: "pl-2" }, ae = { class: "pl-2" }, le = { class: "flex items-center" }, se = { class: "pl-2 text-xs" }, oe = { class: "pl-2" }, ne = { class: "flex items-center" }, ie = { class: "pl-2 text-xs" }, ue = { class: "flex justify-end w-1/2 p-2" }, L = "/upfm/v1/sysConfig", ve = /* @__PURE__ */ G({
|
|
8
|
+
__name: "sys-config",
|
|
9
|
+
setup(de) {
|
|
10
|
+
const C = k(), y = k(!1), a = E({
|
|
11
|
+
defaultLanguage: "zh",
|
|
12
|
+
title: "U-DP",
|
|
13
|
+
ispTitle: "U-DP",
|
|
14
|
+
i18nEnabled: "N",
|
|
15
|
+
orgTaggle: "Y",
|
|
16
|
+
copyright: "深圳友聚信息技术有限公司",
|
|
17
|
+
logo: [],
|
|
18
|
+
backgroundImg: [],
|
|
19
|
+
favicon: []
|
|
20
|
+
}), _ = Q(), { t: c } = F(), f = k(R());
|
|
21
|
+
let r = [];
|
|
22
|
+
const T = E({
|
|
23
|
+
defaultLanguage: [
|
|
24
|
+
{
|
|
25
|
+
required: !0,
|
|
26
|
+
message: c("message.required") + c("message.udp.defaultLanguage"),
|
|
27
|
+
trigger: "blur"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
title: [{ required: !0, message: c("message.required") + c("message.udp.systemTitle"), trigger: "blur" }]
|
|
31
|
+
}), h = M(() => {
|
|
32
|
+
const e = x.get(H);
|
|
33
|
+
return {
|
|
34
|
+
Authorization: "Bearer " + JSON.parse(e).accessToken
|
|
35
|
+
};
|
|
36
|
+
}), P = (e) => {
|
|
37
|
+
Object.keys(a).forEach((t) => {
|
|
38
|
+
const o = {
|
|
39
|
+
configCode: t,
|
|
40
|
+
configValue: a[t],
|
|
41
|
+
configCategory: "system",
|
|
42
|
+
fileName: ""
|
|
43
|
+
};
|
|
44
|
+
K(a[t]) && (o.configValue = N(a[t][0]).url, o.fileName = N(a[t][0]).name);
|
|
45
|
+
const n = r.findIndex((p) => p.configCode === t);
|
|
46
|
+
n !== -1 ? r[n] = Object.assign(r[n], o) : r.push(o);
|
|
47
|
+
}), e == null || e.validate(async (t) => {
|
|
48
|
+
if (t) {
|
|
49
|
+
y.value = !0;
|
|
50
|
+
const o = r.filter((m) => !m.id), n = r.filter((m) => m.id), p = [];
|
|
51
|
+
o.length ? p.push(_.post(L, o)) : p.push(_.put(L, n));
|
|
52
|
+
const [$] = await U(Promise.all(p));
|
|
53
|
+
$ || (J(), w()), y.value = !1;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}, 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) => {
|
|
57
|
+
if (e)
|
|
58
|
+
return Y(c("message.tip.singleImg"));
|
|
59
|
+
}, w = () => {
|
|
60
|
+
Object.keys(a).forEach((e) => {
|
|
61
|
+
const t = r.find((o) => o.configCode === e);
|
|
62
|
+
if (t && (a[t.configCode] = t.configValue || a[t.configCode], t.fileName)) {
|
|
63
|
+
const { configValue: o, fileName: n } = t;
|
|
64
|
+
a[t.configCode] = [
|
|
65
|
+
{ url: f.value + "/ufil" + o, realpath: o, name: n }
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}, z = async () => {
|
|
70
|
+
const [e, t] = await U(_.get(L, {}));
|
|
71
|
+
e || (r = t.list), w();
|
|
72
|
+
};
|
|
73
|
+
return O(() => {
|
|
74
|
+
z();
|
|
75
|
+
}), (e, t) => {
|
|
76
|
+
const o = g("el-input"), n = g("el-form-item"), p = g("el-option"), $ = g("el-select"), m = g("el-switch"), v = g("el-button"), j = g("el-upload"), I = g("el-form"), D = S("spinning");
|
|
77
|
+
return q((B(), A("div", W, [
|
|
78
|
+
u("div", X, [
|
|
79
|
+
l(I, {
|
|
80
|
+
ref_key: "xfrom",
|
|
81
|
+
ref: C,
|
|
82
|
+
model: a,
|
|
83
|
+
rules: T,
|
|
84
|
+
"label-width": "90",
|
|
85
|
+
size: "small",
|
|
86
|
+
"status-icon": "",
|
|
87
|
+
class: "w-full"
|
|
88
|
+
}, {
|
|
89
|
+
default: s(() => [
|
|
90
|
+
l(n, {
|
|
91
|
+
label: e.$t("message.udp.systemTitle"),
|
|
92
|
+
prop: "title"
|
|
93
|
+
}, {
|
|
94
|
+
default: s(() => [
|
|
95
|
+
l(o, {
|
|
96
|
+
modelValue: a.title,
|
|
97
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => a.title = i)
|
|
98
|
+
}, null, 8, ["modelValue"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["label"]),
|
|
102
|
+
l(n, {
|
|
103
|
+
label: e.$t("message.udp.copyright"),
|
|
104
|
+
prop: "copyright"
|
|
105
|
+
}, {
|
|
106
|
+
default: s(() => [
|
|
107
|
+
l(o, {
|
|
108
|
+
modelValue: a.copyright,
|
|
109
|
+
"onUpdate:modelValue": t[1] || (t[1] = (i) => a.copyright = i)
|
|
110
|
+
}, null, 8, ["modelValue"])
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}, 8, ["label"]),
|
|
114
|
+
l(n, {
|
|
115
|
+
label: e.$t("message.udp.defaultLanguage"),
|
|
116
|
+
prop: "defaultLanguage"
|
|
117
|
+
}, {
|
|
118
|
+
default: s(() => [
|
|
119
|
+
l($, {
|
|
120
|
+
modelValue: a.defaultLanguage,
|
|
121
|
+
"onUpdate:modelValue": t[2] || (t[2] = (i) => a.defaultLanguage = i),
|
|
122
|
+
placeholder: "please select"
|
|
123
|
+
}, {
|
|
124
|
+
default: s(() => [
|
|
125
|
+
l(p, {
|
|
126
|
+
label: "中文",
|
|
127
|
+
value: "zh"
|
|
128
|
+
}),
|
|
129
|
+
l(p, {
|
|
130
|
+
label: "英文",
|
|
131
|
+
value: "en"
|
|
132
|
+
})
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
}, 8, ["modelValue"])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["label"]),
|
|
139
|
+
l(n, {
|
|
140
|
+
label: e.$t("message.udp.i18nEnabled"),
|
|
141
|
+
prop: "i18nEnabled"
|
|
142
|
+
}, {
|
|
143
|
+
default: s(() => [
|
|
144
|
+
l(m, {
|
|
145
|
+
modelValue: a.i18nEnabled,
|
|
146
|
+
"onUpdate:modelValue": t[3] || (t[3] = (i) => a.i18nEnabled = i),
|
|
147
|
+
"active-value": "Y",
|
|
148
|
+
"inactive-value": "N"
|
|
149
|
+
}, null, 8, ["modelValue"])
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}, 8, ["label"]),
|
|
153
|
+
l(n, {
|
|
154
|
+
label: e.$t("message.udp.orgTaggle"),
|
|
155
|
+
prop: "orgTaggle"
|
|
156
|
+
}, {
|
|
157
|
+
default: s(() => [
|
|
158
|
+
l(m, {
|
|
159
|
+
modelValue: a.orgTaggle,
|
|
160
|
+
"onUpdate:modelValue": t[4] || (t[4] = (i) => a.orgTaggle = i),
|
|
161
|
+
"active-value": "Y",
|
|
162
|
+
"inactive-value": "N"
|
|
163
|
+
}, null, 8, ["modelValue"])
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["label"]),
|
|
167
|
+
l(n, {
|
|
168
|
+
label: e.$t("message.udp.systemLogo")
|
|
169
|
+
}, {
|
|
170
|
+
default: s(() => [
|
|
171
|
+
l(j, {
|
|
172
|
+
"file-list": a.logo,
|
|
173
|
+
"onUpdate:fileList": t[5] || (t[5] = (i) => a.logo = i),
|
|
174
|
+
class: "u-upload",
|
|
175
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
176
|
+
headers: h.value,
|
|
177
|
+
"on-exceed": V,
|
|
178
|
+
accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
|
|
179
|
+
"list-type": "picture",
|
|
180
|
+
limit: 1
|
|
181
|
+
}, {
|
|
182
|
+
default: s(() => [
|
|
183
|
+
u("div", Z, [
|
|
184
|
+
l(v, { type: "primary" }, {
|
|
185
|
+
default: s(() => [
|
|
186
|
+
b(d(e.$t("message.btn.upload")), 1)
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}),
|
|
190
|
+
u("div", ee, [
|
|
191
|
+
u("span", null, d(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
|
|
192
|
+
u("span", te, d(e.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
|
|
193
|
+
u("span", ae, d(e.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
|
|
194
|
+
])
|
|
195
|
+
])
|
|
196
|
+
]),
|
|
197
|
+
_: 1
|
|
198
|
+
}, 8, ["file-list", "action", "headers"])
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["label"]),
|
|
202
|
+
l(n, {
|
|
203
|
+
label: e.$t("message.udp.homeBackimg")
|
|
204
|
+
}, {
|
|
205
|
+
default: s(() => [
|
|
206
|
+
l(j, {
|
|
207
|
+
"file-list": a.backgroundImg,
|
|
208
|
+
"onUpdate:fileList": t[6] || (t[6] = (i) => a.backgroundImg = i),
|
|
209
|
+
class: "u-upload",
|
|
210
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
211
|
+
headers: h.value,
|
|
212
|
+
"on-exceed": V,
|
|
213
|
+
accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
|
|
214
|
+
"list-type": "picture",
|
|
215
|
+
limit: 1
|
|
216
|
+
}, {
|
|
217
|
+
default: s(() => [
|
|
218
|
+
u("div", le, [
|
|
219
|
+
l(v, { type: "primary" }, {
|
|
220
|
+
default: s(() => [
|
|
221
|
+
b(d(e.$t("message.btn.upload")), 1)
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}),
|
|
225
|
+
u("div", se, [
|
|
226
|
+
u("span", null, d(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
|
|
227
|
+
u("span", oe, d(e.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)
|
|
228
|
+
])
|
|
229
|
+
])
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}, 8, ["file-list", "action", "headers"])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 8, ["label"]),
|
|
236
|
+
l(n, {
|
|
237
|
+
label: e.$t("message.udp.systemFavicon")
|
|
238
|
+
}, {
|
|
239
|
+
default: s(() => [
|
|
240
|
+
l(j, {
|
|
241
|
+
"file-list": a.favicon,
|
|
242
|
+
"onUpdate:fileList": t[7] || (t[7] = (i) => a.favicon = i),
|
|
243
|
+
class: "u-upload",
|
|
244
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
245
|
+
headers: h.value,
|
|
246
|
+
"on-exceed": V,
|
|
247
|
+
accept: ".ico",
|
|
248
|
+
"list-type": "picture",
|
|
249
|
+
limit: 1
|
|
250
|
+
}, {
|
|
251
|
+
default: s(() => [
|
|
252
|
+
u("div", ne, [
|
|
253
|
+
l(v, { type: "primary" }, {
|
|
254
|
+
default: s(() => [
|
|
255
|
+
b(d(e.$t("message.btn.upload")), 1)
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}),
|
|
259
|
+
u("div", ie, d(e.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)
|
|
260
|
+
])
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["file-list", "action", "headers"])
|
|
264
|
+
]),
|
|
265
|
+
_: 1
|
|
266
|
+
}, 8, ["label"])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["model", "rules"])
|
|
270
|
+
]),
|
|
271
|
+
u("div", ue, [
|
|
272
|
+
l(v, {
|
|
273
|
+
type: "primary",
|
|
274
|
+
onClick: t[8] || (t[8] = (i) => P(C.value))
|
|
275
|
+
}, {
|
|
276
|
+
default: s(() => [
|
|
277
|
+
b(d(e.$t("message.btn.confirm")), 1)
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
})
|
|
281
|
+
])
|
|
282
|
+
])), [
|
|
283
|
+
[D, y.value]
|
|
284
|
+
]);
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
export {
|
|
289
|
+
ve as default
|
|
290
|
+
};
|