@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,107 +1,101 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: wei.li
|
|
3
|
-
* @Date: 2021-12-23 11:22:51
|
|
4
|
-
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-04-08 15:36:36
|
|
6
|
-
* @Description: 出站接口日志
|
|
7
|
-
-->
|
|
8
|
-
|
|
9
|
-
<template>
|
|
10
|
-
<div>
|
|
11
|
-
<ut-grid
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
//
|
|
39
|
-
|
|
40
|
-
//
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
{ field: '
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{ field: '
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
{ field: '
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
{
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// record.resContent = record.resContent ? JSON.stringify(record.resContent) : '';
|
|
103
|
-
data.record = record;
|
|
104
|
-
data.showModal = true;
|
|
105
|
-
data.title = `【${record.interfaceName}】接口明细`;
|
|
106
|
-
};
|
|
107
|
-
</script>
|
|
1
|
+
<!--
|
|
2
|
+
* @Author: wei.li
|
|
3
|
+
* @Date: 2021-12-23 11:22:51
|
|
4
|
+
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
+
* @LastEditTime: 2025-04-08 15:36:36
|
|
6
|
+
* @Description: 出站接口日志
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<div>
|
|
11
|
+
<ut-grid ref="SuGridRef" :items="formItems" :columns="columns" url="/upms/v1/invokeOutbound" :editable="false" />
|
|
12
|
+
|
|
13
|
+
<ut-modal-form
|
|
14
|
+
v-if="data.showModal"
|
|
15
|
+
ref="suModalRef"
|
|
16
|
+
:record="data.record"
|
|
17
|
+
:items="items"
|
|
18
|
+
:width="640"
|
|
19
|
+
:height="480"
|
|
20
|
+
:title="data.title"
|
|
21
|
+
@close="data.showModal = false"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
<script lang="tsx">
|
|
26
|
+
export default {
|
|
27
|
+
name: 'LogoutLog'
|
|
28
|
+
};
|
|
29
|
+
</script>
|
|
30
|
+
<script setup lang="tsx">
|
|
31
|
+
import { ref, reactive } from 'vue';
|
|
32
|
+
// import { useRouter } from 'vue-router';
|
|
33
|
+
// import to from 'await-to-js';
|
|
34
|
+
// import { clone } from 'xe-utils';
|
|
35
|
+
import { useRender } from '@utogether/utils';
|
|
36
|
+
|
|
37
|
+
const renderHook = useRender();
|
|
38
|
+
// const renderOption = renderOptions();
|
|
39
|
+
|
|
40
|
+
// const router = useRouter();
|
|
41
|
+
|
|
42
|
+
const data = reactive({
|
|
43
|
+
showModal: false,
|
|
44
|
+
record: {},
|
|
45
|
+
title: ''
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const formItems = [
|
|
49
|
+
{ field: 'interfaceName' },
|
|
50
|
+
{ field: 'interfaceUrl' },
|
|
51
|
+
{ field: 'requestParameter' },
|
|
52
|
+
{ field: 'responseContent' },
|
|
53
|
+
// { field: 'ip', },
|
|
54
|
+
{ field: 'requestDate', itemRender: { name: '#SuDateRange', props: { type: 'daterange' } } },
|
|
55
|
+
{ field: 'requestStatus', itemRender: renderHook.renderDict('SU.REQUEST.STATUS') }
|
|
56
|
+
];
|
|
57
|
+
|
|
58
|
+
const items = [
|
|
59
|
+
{ field: 'requestParameter', itemRender: { name: '$textarea', props: { rows: 5 } } },
|
|
60
|
+
{
|
|
61
|
+
field: 'responseContent',
|
|
62
|
+
itemRender: { name: '$textarea', props: { rows: 10 } }
|
|
63
|
+
},
|
|
64
|
+
{ field: 'stacktrace', itemRender: { name: '$textarea', props: { rows: 3 } } }
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
const SuGridRef = ref(null);
|
|
68
|
+
// 列字段
|
|
69
|
+
const columns = [
|
|
70
|
+
{ field: 'interfaceName', minWidth: 120 },
|
|
71
|
+
{ field: 'interfaceUrl', minWidth: 150 },
|
|
72
|
+
// { field: 'ip', width: 120 },
|
|
73
|
+
{ field: 'requestDate', width: 160 },
|
|
74
|
+
{ field: 'responseTimeConsume', width: 120 },
|
|
75
|
+
{ field: 'requestStatus', width: 90, formatter: ['formatDict', 'SU.REQUEST.STATUS'] },
|
|
76
|
+
{
|
|
77
|
+
field: 'operate',
|
|
78
|
+
width: 70,
|
|
79
|
+
slots: {
|
|
80
|
+
default: ({ row }) => {
|
|
81
|
+
if (!row.id) return null;
|
|
82
|
+
return [
|
|
83
|
+
<>
|
|
84
|
+
<ut-button content="detail" icon="ri-eye-line ri-1x" onTap={() => handleShowDetail(row)} />
|
|
85
|
+
</>
|
|
86
|
+
];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
// 详情
|
|
92
|
+
const handleShowDetail = record => {
|
|
93
|
+
// const resContent = JSON.parse(record.responseContent);
|
|
94
|
+
// console.log(resContent);
|
|
95
|
+
// record.resContent = resContent?.data?.list || resContent?.data;
|
|
96
|
+
// record.resContent = record.resContent ? JSON.stringify(record.resContent) : '';
|
|
97
|
+
data.record = record;
|
|
98
|
+
data.showModal = true;
|
|
99
|
+
data.title = `【${record.interfaceName}】接口明细`;
|
|
100
|
+
};
|
|
101
|
+
</script>
|
|
@@ -226,10 +226,8 @@ const handleDesign = row => {
|
|
|
226
226
|
};
|
|
227
227
|
const onGridEvents = {
|
|
228
228
|
editActived({ row }) {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
xgrid.value.getInstance().refreshColumn();
|
|
232
|
-
}
|
|
229
|
+
columns[1].editRender.props.disabled = !!row.id;
|
|
230
|
+
xgrid.value.getInstance().refreshColumn();
|
|
233
231
|
}
|
|
234
232
|
};
|
|
235
233
|
|
|
@@ -1,290 +0,0 @@
|
|
|
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-ChmJT--N.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
|
-
};
|