@utogether/udp-core 1.0.1-beta.13 → 1.0.1-beta.15
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/dist/{403-CYdgejwn.js → 403-DpJevH-h.js} +1 -1
- package/dist/{404-CblgDc5z.js → 404-BpqJK3YD.js} +1 -1
- package/dist/{500-BZ6wCwWc.js → 500-DyvRbMD_.js} +1 -1
- package/dist/{AuthorityInfo-C7ssheq6.js → AuthorityInfo-Cyu4XHXx.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-DiFYQyk8.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BxmnEEFq.js} +1 -1
- package/dist/{Company-ECS1Fe1S.js → Company-BLygcYrI.js} +3 -3
- package/dist/{CompanyPanel-Bka7k-uP.js → CompanyPanel-D5Tgw6LF.js} +1 -1
- package/dist/{Department-DGKkYUdS.js → Department-qI9OninZ.js} +3 -3
- package/dist/{DepartmentPanel-C17CZmjl.js → DepartmentPanel-P-P8fPZQ.js} +1 -1
- package/dist/{DesignPanel-BWvmkPpc.js → DesignPanel-BxjD0AZi.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-CIrAgdYO.js → DesignPanel.vue_vue_type_style_index_0_lang-DN_OKxCu.js} +2 -2
- package/dist/{DictView-B969z8wA.js → DictView-PWL_Vf0T.js} +1 -1
- package/dist/{InvOrganization-6bVuN-NP.js → InvOrganization-JXBXyn3G.js} +1 -1
- package/dist/{Org-kNkuyf89.js → Org-DcTJn6YQ.js} +1 -1
- package/dist/{Preview-CNn9UAsy.js → Preview-IKvbHI8a.js} +2 -2
- package/dist/{ReportDefine-Cjv4aRVy.js → ReportDefine-_G7ts7Ch.js} +1 -1
- package/dist/{ReportDesign-BrCobVSd.js → ReportDesign-7h5oFklh.js} +3 -3
- package/dist/{ReportQuery-Gr87UX2I.js → ReportQuery-dj0BQUyi.js} +1 -1
- package/dist/{ReportQueryFrom-CX6cb9GY.js → ReportQueryFrom-6WaZPg9i.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Dz3ZapUS.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-ChhcBPqa.js} +1 -1
- package/dist/{ReportTemplate-BDRw8aY4.js → ReportTemplate-DIvJ3RrB.js} +1 -1
- package/dist/{Role-B2uHACAG.js → Role-ia_3qAZU.js} +3 -3
- package/dist/{RoleAssign-Cpwz3ZND.js → RoleAssign-D0zVl4y3.js} +3 -3
- package/dist/{RolePanel-CHlQBMqq.js → RolePanel-BiGGmP2w.js} +1 -1
- package/dist/{RolePanel-0G7e5LC8.js → RolePanel-CQxOiAzj.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Cuyr3Z0F.js → RolePanel.vue_vue_type_script_setup_true_lang-BYDLRS_x.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-C_vBaRyr.js → RolePanel.vue_vue_type_script_setup_true_lang-Dwv5LFbf.js} +3 -3
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-B_W_v3j5.js → ScrollPanel.vue_vue_type_style_index_0_lang-gPP4duO8.js} +1 -1
- package/dist/{Staff-BALciFZu.js → Staff-Bf_oUqF6.js} +3 -3
- package/dist/{StaffInfo-BNzGN-gJ.js → StaffInfo-D5aisjx2.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BSYVizqX.js → StaffInfo.vue_vue_type_script_setup_true_lang-6PX7Bx6A.js} +1 -1
- package/dist/{StaffPanel-xWUgRJqR.js → StaffPanel--zKzd4rt.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-duZSwgoN.js → StaffPanel.vue_vue_type_script_setup_true_lang-BWZSIFpq.js} +2 -2
- package/dist/{SysUser-q114FdeD.js → SysUser-BelbESLR.js} +2 -2
- package/dist/{SysUserPanel-CognKMl5.js → SysUserPanel-BixKqQcA.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-CMbUdk6A.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BhaWZEfo.js} +1 -1
- package/dist/{SystemMenu-DVGGSkBO.js → SystemMenu-D40tzcSj.js} +2 -2
- package/dist/{UserInfo-Dug8S6IS.js → UserInfo-DTyk071j.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-GUvWUfH6.js → UserInfo.vue_vue_type_style_index_0_lang-p9MByikC.js} +1 -1
- package/dist/{childView-DC4St5Yu.js → childView-so5qSxr0.js} +1 -1
- package/dist/{childView-DgwW1_pS.js → childView-xL3iE1yN.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CHB4aljD.js → childView.vue_vue_type_style_index_0_lang-CKcXpSqa.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-C6ns1H7X.js → childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js} +1 -1
- package/dist/{code-rule-DrnZAXq6.js → code-rule-DC35y76w.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-8TSn9qgc.js → cron-task-BhjQ4S68.js} +1 -1
- package/dist/{frameView-DsJ7Niwn.js → frameView-G_zhG9pf.js} +1 -1
- package/dist/{index-ChmJT--N.js → index-C6ehxLLO.js} +52 -49
- package/dist/{layoutView-JchyMwjZ.js → layoutView-CO2U8qCQ.js} +2 -2
- package/dist/{log-out--RRncZhN.js → log-out-D1b4VRMZ.js} +30 -24
- package/dist/{login-BXkivLFZ.js → login-DzyK2soP.js} +146 -121
- package/dist/{lov-view-Ck-gMZAO.js → lov-view-Cr929NMD.js} +2 -2
- package/dist/{menuInfo-u432VWl_.js → menuInfo-BWuROp7u.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-JMkwMJ9n.js → menuInfo.vue_vue_type_style_index_0_lang-9nouHUjO.js} +1 -1
- package/dist/{pda-app-BeqyF-LQ.js → pda-app-CQP1sMAI.js} +3 -3
- package/dist/{resource-DkNbG8D8.js → resource-BDQLrMpK.js} +1 -1
- package/dist/{su-welcome-DEVHyaQ4.js → su-welcome-CZysrZQ1.js} +1 -1
- package/dist/sys-config-BiGNMYSA.js +355 -0
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-N0mpFm7j.js → utogether-BRirriOz.js} +1 -1
- package/package.json +18 -18
- package/src/components/udp/form.vue +2 -2
- package/src/components/udp/utils.ts +11 -7
- package/src/main.ts +113 -113
- package/src/plugins/i18n/zh.ts +6 -1
- package/src/store/modules/system.ts +1 -3
- package/src/style/vxetable.scss +19 -0
- package/src/views/system/sys/sys-config.vue +50 -1
- package/src/views/uapp/pda/pda-app.vue +1 -1
- package/src/views/udev/dict/DictView.vue +1 -1
- package/src/views/ulogin/login.vue +6 -4
- package/src/views/upms/interface/log-out.vue +101 -107
- package/src/views/urpt/design/Preview.vue +1 -0
- package/src/views/urpt/design/ReportDesign.vue +2 -4
- package/dist/sys-config-8MIo11zU.js +0 -290
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as k, ref as o, createVNode as u, resolveComponent as a, nextTick as g, createElementBlock as w, openBlock as s, createBlock as C, createCommentVNode as R } from "vue";
|
|
2
2
|
import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
|
|
3
|
-
import { q as b } from "./index-
|
|
4
|
-
import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { q as b } from "./index-C6ehxLLO.js";
|
|
4
|
+
import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-DK1ei5uM.js";
|
|
5
5
|
import { useRender as I } from "@utogether/utils";
|
|
6
6
|
const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
|
|
7
7
|
name: "LovView",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as M, watch as Y, ref as w, resolveComponent as u, crea
|
|
|
2
2
|
import { useI18n as X } from "vue-i18n";
|
|
3
3
|
import { t as q } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
4
|
import { templateRef as Z } from "@vueuse/core";
|
|
5
|
-
import { e as x, q as ee } from "./index-
|
|
5
|
+
import { e as x, q as ee } from "./index-C6ehxLLO.js";
|
|
6
6
|
const te = { class: "ut-menu-wrapper" }, N = "/uums/menu", se = /* @__PURE__ */ M({
|
|
7
7
|
__name: "menuInfo",
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as re, ref as N, computed as G, watch as me, createVNode as p, Fragment as Y, withDirectives as he, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as _e, createCommentVNode as we, isVNode as Te } from "vue";
|
|
2
2
|
import { useI18n as je } from "vue-i18n";
|
|
3
3
|
import { t as Ce } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
-
import { I as Se, x as xe, q as $e, _ as Pe } from "./index-
|
|
4
|
+
import { I as Se, x as xe, q as $e, _ as Pe } from "./index-C6ehxLLO.js";
|
|
5
5
|
import { withInstall as Ve, useRender as Ae } from "@utogether/utils";
|
|
6
6
|
import { clone as oe, isString as Z } from "xe-utils";
|
|
7
7
|
import Ne from "qrcode";
|
|
@@ -583,7 +583,7 @@ const at = {
|
|
|
583
583
|
width: 90,
|
|
584
584
|
formatter: ({
|
|
585
585
|
row: i
|
|
586
|
-
}) => i.enabled === "1" ? n("message.appupper") : n("message.applower")
|
|
586
|
+
}) => i.enabled === "1" ? n("message.udp.appupper") : n("message.udp.applower")
|
|
587
587
|
}, {
|
|
588
588
|
field: "creationDate",
|
|
589
589
|
width: 140
|
|
@@ -704,7 +704,7 @@ const at = {
|
|
|
704
704
|
}, null, 8, ["record", "title"])) : we("", !0)]);
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
|
-
}), ht = /* @__PURE__ */ Pe(lt, [["__scopeId", "data-v-
|
|
707
|
+
}), ht = /* @__PURE__ */ Pe(lt, [["__scopeId", "data-v-85aa0bfb"]]);
|
|
708
708
|
export {
|
|
709
709
|
ht as default
|
|
710
710
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as x, createCommentVNode as b, Fragment as U } from "vue";
|
|
2
2
|
import { successMessage as B } from "@utogether/utils";
|
|
3
3
|
import { useClipboard as N } from "@vueuse/core";
|
|
4
|
-
import { x as y } from "./index-
|
|
4
|
+
import { x as y } from "./index-C6ehxLLO.js";
|
|
5
5
|
const q = {
|
|
6
6
|
name: "StaticResource"
|
|
7
7
|
}, V = /* @__PURE__ */ w({
|
|
@@ -2,7 +2,7 @@ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as _,
|
|
|
2
2
|
import { useRouter as ne } from "vue-router";
|
|
3
3
|
import oe from "dayjs";
|
|
4
4
|
import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as ue } from "@utogether/utils";
|
|
5
|
-
import { q as G, e as de, n as me, _ as fe } from "./index-
|
|
5
|
+
import { q as G, e as de, n as me, _ as fe } from "./index-C6ehxLLO.js";
|
|
6
6
|
import { clone as _e, max as ve } from "xe-utils";
|
|
7
7
|
import pe from "vuedraggable";
|
|
8
8
|
const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = { class: "p-3" }, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, qe = { class: "flex justify-end" }, De = "/upfm/v1/menuFavority", Ee = /* @__PURE__ */ J({
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { defineComponent as x, ref as $, reactive as A, computed as Y, onMounted as J, resolveComponent as p, resolveDirective as R, withDirectives as K, createElementBlock as H, openBlock as E, createElementVNode as u, createVNode as a, withCtx as s, createBlock as B, createCommentVNode as S, unref as v, createTextVNode as F, toDisplayString as r } from "vue";
|
|
2
|
+
import { useI18n as Q } from "vue-i18n";
|
|
3
|
+
import { t as T } from "./await-to-js.es5-BtRbN2QH.js";
|
|
4
|
+
import { cookies as j, successMessage as W, warnMessage as X } from "@utogether/utils";
|
|
5
|
+
import { isArray as Z } from "xe-utils";
|
|
6
|
+
import { x as ee, m as te, n as z, q as le } from "./index-C6ehxLLO.js";
|
|
7
|
+
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" }, ne = { class: "pl-2 text-xs" }, ie = { class: "pl-2" }, ue = { class: "pl-2" }, re = { class: "flex items-center" }, pe = { class: "pl-2 text-xs" }, de = { class: "pl-2" }, ce = { class: "flex items-center" }, me = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, L = "/upfm/v1/sysConfig", Ce = /* @__PURE__ */ x({
|
|
8
|
+
__name: "sys-config",
|
|
9
|
+
setup(fe) {
|
|
10
|
+
const N = $(), y = $(!1), l = A({
|
|
11
|
+
defaultLanguage: "zh",
|
|
12
|
+
title: "U-DP",
|
|
13
|
+
ispTitle: "U-DP",
|
|
14
|
+
baseColor: "#FFF",
|
|
15
|
+
i18nEnabled: "N",
|
|
16
|
+
orgTaggle: "Y",
|
|
17
|
+
techSupport: "Y",
|
|
18
|
+
copyright: "深圳友聚信息技术有限公司",
|
|
19
|
+
logo: [],
|
|
20
|
+
backgroundImg: [],
|
|
21
|
+
favicon: []
|
|
22
|
+
}), _ = le(), { t: g } = Q(), f = $(ee());
|
|
23
|
+
let d = [];
|
|
24
|
+
const D = [
|
|
25
|
+
"#DC143C",
|
|
26
|
+
"#FF1493",
|
|
27
|
+
"#FF00FF",
|
|
28
|
+
"#9932CC",
|
|
29
|
+
"#6A5ACD",
|
|
30
|
+
"#0000FF",
|
|
31
|
+
"#00008B",
|
|
32
|
+
"#778899",
|
|
33
|
+
"#1E90FF",
|
|
34
|
+
"#00BFFF",
|
|
35
|
+
"#5F9EA0",
|
|
36
|
+
"#00FFFF",
|
|
37
|
+
"#008080",
|
|
38
|
+
"#7FFFAA",
|
|
39
|
+
"#3CB371",
|
|
40
|
+
"#8FBC8F",
|
|
41
|
+
"#008000",
|
|
42
|
+
"#7CFC00",
|
|
43
|
+
"#556B2F",
|
|
44
|
+
"#FFFFE0",
|
|
45
|
+
"#FFFF00",
|
|
46
|
+
"#808000",
|
|
47
|
+
"#EEE8AA",
|
|
48
|
+
"#FFD700",
|
|
49
|
+
"#FFA500",
|
|
50
|
+
"#FF4500",
|
|
51
|
+
"#FA8072",
|
|
52
|
+
"#FF0000",
|
|
53
|
+
"#800000",
|
|
54
|
+
"#C0C0C0"
|
|
55
|
+
], P = A({
|
|
56
|
+
defaultLanguage: [
|
|
57
|
+
{
|
|
58
|
+
required: !0,
|
|
59
|
+
message: g("message.required") + g("message.udp.defaultLanguage"),
|
|
60
|
+
trigger: "blur"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
title: [{ required: !0, message: g("message.required") + g("message.udp.systemTitle"), trigger: "blur" }]
|
|
64
|
+
}), h = Y(() => {
|
|
65
|
+
const e = j.get(te);
|
|
66
|
+
return {
|
|
67
|
+
Authorization: "Bearer " + JSON.parse(e).accessToken
|
|
68
|
+
};
|
|
69
|
+
}), I = (e) => {
|
|
70
|
+
Object.keys(l).forEach((t) => {
|
|
71
|
+
const i = {
|
|
72
|
+
configCode: t,
|
|
73
|
+
configValue: l[t],
|
|
74
|
+
configCategory: "system",
|
|
75
|
+
fileName: ""
|
|
76
|
+
};
|
|
77
|
+
Z(l[t]) && (i.configValue = w(l[t][0]).url, i.fileName = w(l[t][0]).name);
|
|
78
|
+
const n = d.findIndex((c) => c.configCode === t);
|
|
79
|
+
n !== -1 ? d[n] = Object.assign(d[n], i) : d.push(i);
|
|
80
|
+
}), e == null || e.validate(async (t) => {
|
|
81
|
+
if (t) {
|
|
82
|
+
y.value = !0;
|
|
83
|
+
const i = d.filter((m) => !m.id), n = d.filter((m) => m.id), c = [];
|
|
84
|
+
i.length ? c.push(_.post(L, i)) : c.push(_.put(L, n));
|
|
85
|
+
const [V] = await T(Promise.all(c));
|
|
86
|
+
V || (W(), U()), y.value = !1;
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}, w = (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 }, C = (e) => {
|
|
90
|
+
if (e)
|
|
91
|
+
return X(g("message.tip.singleImg"));
|
|
92
|
+
}, U = () => {
|
|
93
|
+
Object.keys(l).forEach((e) => {
|
|
94
|
+
const t = d.find((i) => i.configCode === e);
|
|
95
|
+
if (t && (l[t.configCode] = t.configValue || l[t.configCode], t.fileName)) {
|
|
96
|
+
const { configValue: i, fileName: n } = t;
|
|
97
|
+
l[t.configCode] = [
|
|
98
|
+
{ url: f.value + "/ufil" + i, realpath: i, name: n }
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}, G = async () => {
|
|
103
|
+
const [e, t] = await T(_.get(L, {}));
|
|
104
|
+
e || (d = t.list), U();
|
|
105
|
+
};
|
|
106
|
+
return J(() => {
|
|
107
|
+
G();
|
|
108
|
+
}), (e, t) => {
|
|
109
|
+
const i = p("el-input"), n = p("el-form-item"), c = p("el-option"), V = p("el-select"), m = p("el-switch"), O = p("vxe-color-picker"), b = p("el-button"), k = p("el-upload"), M = p("el-form"), q = R("spinning");
|
|
110
|
+
return K((E(), H("div", ae, [
|
|
111
|
+
u("div", oe, [
|
|
112
|
+
a(M, {
|
|
113
|
+
ref_key: "xfrom",
|
|
114
|
+
ref: N,
|
|
115
|
+
model: l,
|
|
116
|
+
rules: P,
|
|
117
|
+
"label-width": "90",
|
|
118
|
+
size: "small",
|
|
119
|
+
"status-icon": "",
|
|
120
|
+
class: "w-full"
|
|
121
|
+
}, {
|
|
122
|
+
default: s(() => [
|
|
123
|
+
a(n, {
|
|
124
|
+
label: e.$t("message.udp.systemTitle"),
|
|
125
|
+
prop: "title"
|
|
126
|
+
}, {
|
|
127
|
+
default: s(() => [
|
|
128
|
+
a(i, {
|
|
129
|
+
modelValue: l.title,
|
|
130
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => l.title = o)
|
|
131
|
+
}, null, 8, ["modelValue"])
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
}, 8, ["label"]),
|
|
135
|
+
a(n, {
|
|
136
|
+
label: e.$t("message.udp.copyright"),
|
|
137
|
+
prop: "copyright"
|
|
138
|
+
}, {
|
|
139
|
+
default: s(() => [
|
|
140
|
+
a(i, {
|
|
141
|
+
modelValue: l.copyright,
|
|
142
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => l.copyright = o)
|
|
143
|
+
}, null, 8, ["modelValue"])
|
|
144
|
+
]),
|
|
145
|
+
_: 1
|
|
146
|
+
}, 8, ["label"]),
|
|
147
|
+
a(n, {
|
|
148
|
+
label: e.$t("message.udp.defaultLanguage"),
|
|
149
|
+
prop: "defaultLanguage"
|
|
150
|
+
}, {
|
|
151
|
+
default: s(() => [
|
|
152
|
+
a(V, {
|
|
153
|
+
modelValue: l.defaultLanguage,
|
|
154
|
+
"onUpdate:modelValue": t[2] || (t[2] = (o) => l.defaultLanguage = o),
|
|
155
|
+
placeholder: "please select"
|
|
156
|
+
}, {
|
|
157
|
+
default: s(() => [
|
|
158
|
+
a(c, {
|
|
159
|
+
label: "中文",
|
|
160
|
+
value: "zh"
|
|
161
|
+
}),
|
|
162
|
+
a(c, {
|
|
163
|
+
label: "英文",
|
|
164
|
+
value: "en"
|
|
165
|
+
})
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["modelValue"])
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}, 8, ["label"]),
|
|
172
|
+
a(n, {
|
|
173
|
+
label: e.$t("message.udp.i18nEnabled"),
|
|
174
|
+
prop: "i18nEnabled"
|
|
175
|
+
}, {
|
|
176
|
+
default: s(() => [
|
|
177
|
+
a(m, {
|
|
178
|
+
modelValue: l.i18nEnabled,
|
|
179
|
+
"onUpdate:modelValue": t[3] || (t[3] = (o) => l.i18nEnabled = o),
|
|
180
|
+
"active-value": "Y",
|
|
181
|
+
"inactive-value": "N"
|
|
182
|
+
}, null, 8, ["modelValue"])
|
|
183
|
+
]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["label"]),
|
|
186
|
+
a(n, {
|
|
187
|
+
label: e.$t("message.udp.orgTaggle"),
|
|
188
|
+
prop: "orgTaggle"
|
|
189
|
+
}, {
|
|
190
|
+
default: s(() => [
|
|
191
|
+
a(m, {
|
|
192
|
+
modelValue: l.orgTaggle,
|
|
193
|
+
"onUpdate:modelValue": t[4] || (t[4] = (o) => l.orgTaggle = o),
|
|
194
|
+
"active-value": "Y",
|
|
195
|
+
"inactive-value": "N"
|
|
196
|
+
}, null, 8, ["modelValue"])
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["label"]),
|
|
200
|
+
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(v(j).get(v(z))) ? (E(), B(n, {
|
|
201
|
+
key: 0,
|
|
202
|
+
label: e.$t("message.udp.techSupport"),
|
|
203
|
+
prop: "techSupport"
|
|
204
|
+
}, {
|
|
205
|
+
default: s(() => [
|
|
206
|
+
a(m, {
|
|
207
|
+
modelValue: l.techSupport,
|
|
208
|
+
"onUpdate:modelValue": t[5] || (t[5] = (o) => l.techSupport = o),
|
|
209
|
+
"active-value": "Y",
|
|
210
|
+
"inactive-value": "N"
|
|
211
|
+
}, null, 8, ["modelValue"])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 8, ["label"])) : S("", !0),
|
|
215
|
+
["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(v(j).get(v(z))) ? (E(), B(n, {
|
|
216
|
+
key: 1,
|
|
217
|
+
label: e.$t("message.udp.baseColor"),
|
|
218
|
+
prop: "baseColor"
|
|
219
|
+
}, {
|
|
220
|
+
default: s(() => [
|
|
221
|
+
a(O, {
|
|
222
|
+
modelValue: l.baseColor,
|
|
223
|
+
"onUpdate:modelValue": t[6] || (t[6] = (o) => l.baseColor = o),
|
|
224
|
+
colors: D,
|
|
225
|
+
type: "hex",
|
|
226
|
+
clearable: "",
|
|
227
|
+
transfer: ""
|
|
228
|
+
}, null, 8, ["modelValue"])
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}, 8, ["label"])) : S("", !0),
|
|
232
|
+
a(n, {
|
|
233
|
+
label: e.$t("message.udp.systemLogo")
|
|
234
|
+
}, {
|
|
235
|
+
default: s(() => [
|
|
236
|
+
a(k, {
|
|
237
|
+
"file-list": l.logo,
|
|
238
|
+
"onUpdate:fileList": t[7] || (t[7] = (o) => l.logo = o),
|
|
239
|
+
class: "u-upload",
|
|
240
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
241
|
+
headers: h.value,
|
|
242
|
+
"on-exceed": C,
|
|
243
|
+
accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
|
|
244
|
+
"list-type": "picture",
|
|
245
|
+
limit: 1
|
|
246
|
+
}, {
|
|
247
|
+
default: s(() => [
|
|
248
|
+
u("div", se, [
|
|
249
|
+
a(b, { type: "primary" }, {
|
|
250
|
+
default: s(() => [
|
|
251
|
+
F(r(e.$t("message.btn.upload")), 1)
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
}),
|
|
255
|
+
u("div", ne, [
|
|
256
|
+
u("span", null, r(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
|
|
257
|
+
u("span", ie, r(e.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
|
|
258
|
+
u("span", ue, r(e.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
|
|
259
|
+
])
|
|
260
|
+
])
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}, 8, ["file-list", "action", "headers"])
|
|
264
|
+
]),
|
|
265
|
+
_: 1
|
|
266
|
+
}, 8, ["label"]),
|
|
267
|
+
a(n, {
|
|
268
|
+
label: e.$t("message.udp.homeBackimg")
|
|
269
|
+
}, {
|
|
270
|
+
default: s(() => [
|
|
271
|
+
a(k, {
|
|
272
|
+
"file-list": l.backgroundImg,
|
|
273
|
+
"onUpdate:fileList": t[8] || (t[8] = (o) => l.backgroundImg = o),
|
|
274
|
+
class: "u-upload",
|
|
275
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
276
|
+
headers: h.value,
|
|
277
|
+
"on-exceed": C,
|
|
278
|
+
accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
|
|
279
|
+
"list-type": "picture",
|
|
280
|
+
limit: 1
|
|
281
|
+
}, {
|
|
282
|
+
default: s(() => [
|
|
283
|
+
u("div", re, [
|
|
284
|
+
a(b, { type: "primary" }, {
|
|
285
|
+
default: s(() => [
|
|
286
|
+
F(r(e.$t("message.btn.upload")), 1)
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
}),
|
|
290
|
+
u("div", pe, [
|
|
291
|
+
u("span", null, r(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
|
|
292
|
+
u("span", de, r(e.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)
|
|
293
|
+
])
|
|
294
|
+
])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["file-list", "action", "headers"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
}, 8, ["label"]),
|
|
301
|
+
a(n, {
|
|
302
|
+
label: e.$t("message.udp.systemFavicon")
|
|
303
|
+
}, {
|
|
304
|
+
default: s(() => [
|
|
305
|
+
a(k, {
|
|
306
|
+
"file-list": l.favicon,
|
|
307
|
+
"onUpdate:fileList": t[9] || (t[9] = (o) => l.favicon = o),
|
|
308
|
+
class: "u-upload",
|
|
309
|
+
action: f.value + "/ufil/file/uploadMultipart",
|
|
310
|
+
headers: h.value,
|
|
311
|
+
"on-exceed": C,
|
|
312
|
+
accept: ".ico",
|
|
313
|
+
"list-type": "picture",
|
|
314
|
+
limit: 1
|
|
315
|
+
}, {
|
|
316
|
+
default: s(() => [
|
|
317
|
+
u("div", ce, [
|
|
318
|
+
a(b, { type: "primary" }, {
|
|
319
|
+
default: s(() => [
|
|
320
|
+
F(r(e.$t("message.btn.upload")), 1)
|
|
321
|
+
]),
|
|
322
|
+
_: 1
|
|
323
|
+
}),
|
|
324
|
+
u("div", me, r(e.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)
|
|
325
|
+
])
|
|
326
|
+
]),
|
|
327
|
+
_: 1
|
|
328
|
+
}, 8, ["file-list", "action", "headers"])
|
|
329
|
+
]),
|
|
330
|
+
_: 1
|
|
331
|
+
}, 8, ["label"])
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
}, 8, ["model", "rules"])
|
|
335
|
+
]),
|
|
336
|
+
u("div", ge, [
|
|
337
|
+
a(b, {
|
|
338
|
+
type: "primary",
|
|
339
|
+
onClick: t[10] || (t[10] = (o) => I(N.value))
|
|
340
|
+
}, {
|
|
341
|
+
default: s(() => [
|
|
342
|
+
F(r(e.$t("message.btn.confirm")), 1)
|
|
343
|
+
]),
|
|
344
|
+
_: 1
|
|
345
|
+
})
|
|
346
|
+
])
|
|
347
|
+
])), [
|
|
348
|
+
[q, y.value]
|
|
349
|
+
]);
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
export {
|
|
354
|
+
Ce as default
|
|
355
|
+
};
|