yh-pub 2.0.52 → 2.0.54
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/AdminLogin-DKHYYbCE.js +161 -0
- package/AdminLogin-DKHYYbCE.js.map +1 -0
- package/{Error-BhkxpTox.js → Error-C6RjUr99.js} +2 -2
- package/{Error-BhkxpTox.js.map → Error-C6RjUr99.js.map} +1 -1
- package/{Error401-RfIE0HO8.js → Error401-BUBW_fU5.js} +3 -3
- package/{Error401-RfIE0HO8.js.map → Error401-BUBW_fU5.js.map} +1 -1
- package/{Error404-BbAFvJej.js → Error404-CG07aNW0.js} +3 -3
- package/{Error404-BbAFvJej.js.map → Error404-CG07aNW0.js.map} +1 -1
- package/{Error500-DBSNiMAj.js → Error500-NvQzrxEJ.js} +3 -3
- package/{Error500-DBSNiMAj.js.map → Error500-NvQzrxEJ.js.map} +1 -1
- package/{HomeIndex-Dhbhg3Fv.js → HomeIndex-PYytBEfC.js} +2 -2
- package/{HomeIndex-Dhbhg3Fv.js.map → HomeIndex-PYytBEfC.js.map} +1 -1
- package/{IconExplorer-CAK1tkkE.js → IconExplorer-BAotGSQq.js} +2 -2
- package/{IconExplorer-CAK1tkkE.js.map → IconExplorer-BAotGSQq.js.map} +1 -1
- package/Index-BkgTvXHP.js +5 -0
- package/Index-BkgTvXHP.js.map +1 -0
- package/LoginCanvasBg-tv3q-SEZ.js +50 -0
- package/LoginCanvasBg-tv3q-SEZ.js.map +1 -0
- package/MainLogin-Dx6N7KRE.js +336 -0
- package/MainLogin-Dx6N7KRE.js.map +1 -0
- package/{MenuManage-DQEnJ3pf.js → MenuManage-BayLVte9.js} +2 -2
- package/{MenuManage-DQEnJ3pf.js.map → MenuManage-BayLVte9.js.map} +1 -1
- package/{OrgManage-BBqvgVne.js → OrgManage-DK1BAXPY.js} +2 -2
- package/{OrgManage-BBqvgVne.js.map → OrgManage-DK1BAXPY.js.map} +1 -1
- package/{RoleManage-PmSVjeaO.js → RoleManage-eXldAFxX.js} +2 -2
- package/{RoleManage-PmSVjeaO.js.map → RoleManage-eXldAFxX.js.map} +1 -1
- package/{SysConfig-CU4TWTFL.js → SysConfig-BqESdpqB.js} +100 -96
- package/SysConfig-BqESdpqB.js.map +1 -0
- package/{TenantList-BZQ9Mgu9.js → TenantList-BXwzIRFZ.js} +2 -2
- package/{TenantList-BZQ9Mgu9.js.map → TenantList-BXwzIRFZ.js.map} +1 -1
- package/{ThemeConfig-Cl0cMCHO.js → ThemeConfig-CGJ47C0s.js} +2 -2
- package/{ThemeConfig-Cl0cMCHO.js.map → ThemeConfig-CGJ47C0s.js.map} +1 -1
- package/{ThemeDemo-DYOQ4Tju.js → ThemeDemo-DVlIgJFK.js} +2 -2
- package/{ThemeDemo-DYOQ4Tju.js.map → ThemeDemo-DVlIgJFK.js.map} +1 -1
- package/{index-DvLhYxFp.js → index-BJPojfQp.js} +10370 -10314
- package/{index-DvLhYxFp.js.map → index-BJPojfQp.js.map} +1 -1
- package/index.es.js +90 -85
- package/package.json +1 -1
- package/style.css +1 -1
- package/vite.js +12 -8
- package/AdminLogin-CT1LIxsq.js +0 -151
- package/AdminLogin-CT1LIxsq.js.map +0 -1
- package/Index-DA_dL2n2.js +0 -5
- package/Index-DA_dL2n2.js.map +0 -1
- package/LoginCanvasBg-D5EQgqkM.js +0 -44
- package/LoginCanvasBg-D5EQgqkM.js.map +0 -1
- package/MainLogin-DONDOWWZ.js +0 -165
- package/MainLogin-DONDOWWZ.js.map +0 -1
- package/SysConfig-CU4TWTFL.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as re, ref as h, watch as se, resolveComponent as m, openBlock as
|
|
1
|
+
import { defineComponent as re, ref as h, watch as se, resolveComponent as m, openBlock as f, createElementBlock as S, withModifiers as L, normalizeClass as ke, createElementVNode as N, toDisplayString as u, unref as r, createVNode as a, createCommentVNode as ie, reactive as G, computed as X, onMounted as Ce, onUnmounted as he, resolveDirective as Ne, Fragment as ae, withCtx as n, withKeys as oe, createTextVNode as c, withDirectives as Ee, createBlock as k, normalizeStyle as Ue } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
|
-
import { c as t, _ as De, M as ne } from "./index-
|
|
3
|
+
import { c as t, _ as De, M as ne } from "./index-BJPojfQp.js";
|
|
4
4
|
import { httpRequest as j } from "yh-client";
|
|
5
|
-
const Oe = { class: "preview-area" },
|
|
5
|
+
const Oe = { class: "preview-area" }, Le = ["src"], Se = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "upload-prompt"
|
|
8
|
-
},
|
|
8
|
+
}, Te = { class: "overlay-layer" }, Ie = /* @__PURE__ */ re({
|
|
9
9
|
__name: "ImageBase64Choose",
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: String
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
14
|
setup(H, { emit: A }) {
|
|
15
|
-
const
|
|
15
|
+
const T = H, I = A, i = h(T.modelValue || ""), _ = h(!1), z = h(null), V = (b) => {
|
|
16
16
|
if (!b.type.startsWith("image/")) {
|
|
17
17
|
alert(t("请选择图片文件"));
|
|
18
18
|
return;
|
|
@@ -23,13 +23,13 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
23
23
|
const R = (x = U.target) == null ? void 0 : x.result;
|
|
24
24
|
i.value = R, I("update:modelValue", R);
|
|
25
25
|
}, e.readAsDataURL(b);
|
|
26
|
-
}, F = () => {
|
|
27
|
-
g.value = !0;
|
|
28
26
|
}, P = () => {
|
|
29
|
-
|
|
27
|
+
_.value = !0;
|
|
28
|
+
}, F = () => {
|
|
29
|
+
_.value = !1;
|
|
30
30
|
}, C = (b) => {
|
|
31
31
|
var U;
|
|
32
|
-
|
|
32
|
+
_.value = !1;
|
|
33
33
|
const e = (U = b.dataTransfer) == null ? void 0 : U.files;
|
|
34
34
|
e && e[0] && V(e[0]);
|
|
35
35
|
}, E = (b) => {
|
|
@@ -39,37 +39,37 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
39
39
|
i.value = "", I("update:modelValue", "");
|
|
40
40
|
};
|
|
41
41
|
return se(
|
|
42
|
-
() =>
|
|
42
|
+
() => T.modelValue,
|
|
43
43
|
(b) => {
|
|
44
44
|
i.value = b || "";
|
|
45
45
|
}
|
|
46
46
|
), (b, e) => {
|
|
47
47
|
const U = m("YhIcon");
|
|
48
|
-
return
|
|
49
|
-
class:
|
|
50
|
-
onDragover:
|
|
51
|
-
onDragleave:
|
|
52
|
-
onDrop:
|
|
48
|
+
return f(), S("div", {
|
|
49
|
+
class: ke(["image-base64-choose", { dragover: _.value }]),
|
|
50
|
+
onDragover: L(P, ["prevent"]),
|
|
51
|
+
onDragleave: F,
|
|
52
|
+
onDrop: L(C, ["prevent"])
|
|
53
53
|
}, [
|
|
54
54
|
N("div", Oe, [
|
|
55
|
-
i.value ? (
|
|
55
|
+
i.value ? (f(), S("img", {
|
|
56
56
|
key: 0,
|
|
57
57
|
src: i.value,
|
|
58
58
|
alt: "Preview"
|
|
59
|
-
}, null, 8,
|
|
59
|
+
}, null, 8, Le)) : (f(), S("div", Se, [
|
|
60
60
|
N("span", null, u(r(t)("点击或拖拽图片到此区域")), 1)
|
|
61
61
|
]))
|
|
62
62
|
]),
|
|
63
|
-
N("div",
|
|
63
|
+
N("div", Te, [
|
|
64
64
|
N("input", {
|
|
65
65
|
type: "file",
|
|
66
66
|
accept: "image/*",
|
|
67
67
|
onChange: E,
|
|
68
68
|
ref_key: "fileInput",
|
|
69
|
-
ref:
|
|
69
|
+
ref: z
|
|
70
70
|
}, null, 544)
|
|
71
71
|
]),
|
|
72
|
-
i.value ? (
|
|
72
|
+
i.value ? (f(), S("div", {
|
|
73
73
|
key: 0,
|
|
74
74
|
class: "delete-btn",
|
|
75
75
|
onClick: Y
|
|
@@ -82,19 +82,19 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
82
82
|
}), Me = /* @__PURE__ */ De(Ie, [["__scopeId", "data-v-54df4835"]]), xe = { class: "sys-config-list-container" }, Ae = { class: "sys-config-list-actions" }, Ye = { class: "sys-config-list-conditions" }, Re = { class: "sys-config-form-actions" }, qe = /* @__PURE__ */ re({
|
|
83
83
|
__name: "SysConfig",
|
|
84
84
|
setup(H) {
|
|
85
|
-
const A = h(),
|
|
85
|
+
const A = h(), T = h(), I = h(!1), i = G({
|
|
86
86
|
name: "",
|
|
87
87
|
code: "",
|
|
88
88
|
pageNum: 1,
|
|
89
89
|
pageSize: 10,
|
|
90
90
|
total: 0
|
|
91
|
-
}),
|
|
91
|
+
}), _ = h([]), z = ({ row: s }) => s.active === "N" ? "disabled-row" : "";
|
|
92
92
|
function V(s = !1) {
|
|
93
93
|
if (s && i.pageNum !== 1) {
|
|
94
94
|
i.pageNum = 1;
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
|
-
const { name: l, code: d, pageNum: p, pageSize:
|
|
97
|
+
const { name: l, code: d, pageNum: p, pageSize: v } = i;
|
|
98
98
|
I.value = !0, j.request({
|
|
99
99
|
url: "/parameter/list",
|
|
100
100
|
method: "POST",
|
|
@@ -104,12 +104,12 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
104
104
|
code: d,
|
|
105
105
|
// SysParameter 实体分页字段为 page/size
|
|
106
106
|
page: p,
|
|
107
|
-
size:
|
|
107
|
+
size: v
|
|
108
108
|
}
|
|
109
109
|
}).then((y) => {
|
|
110
|
-
var
|
|
111
|
-
const
|
|
112
|
-
|
|
110
|
+
var B;
|
|
111
|
+
const g = y.data.data;
|
|
112
|
+
_.value = g.records || [], i.total = g.total ?? ((B = g.records) == null ? void 0 : B.length) ?? 0;
|
|
113
113
|
}).catch((y) => {
|
|
114
114
|
console.error("获取配置列表失败:", y), O.error(t("获取配置列表失败,请稍后重试"));
|
|
115
115
|
}).finally(() => {
|
|
@@ -122,14 +122,14 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
122
122
|
V();
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
|
-
function
|
|
125
|
+
function P(s) {
|
|
126
126
|
var l;
|
|
127
127
|
(l = A.value) == null || l.toggleRowSelection(s);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function F() {
|
|
130
130
|
i.code = "", i.name = "", i.total = 0, i.pageNum !== 1 ? i.pageNum = 1 : V();
|
|
131
131
|
}
|
|
132
|
-
const C = h(), E = h(!1), Y = X(() => C.value >=
|
|
132
|
+
const C = h(), E = h(!1), Y = X(() => C.value >= _.value.length - 1), b = X(() => C.value <= 0), e = G({
|
|
133
133
|
id: void 0,
|
|
134
134
|
code: "",
|
|
135
135
|
name: "",
|
|
@@ -168,6 +168,10 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
168
168
|
{ value: "loginBg", label: "loginBg - 登录背景图" },
|
|
169
169
|
{ value: "title", label: "title - 系统标题" },
|
|
170
170
|
{ value: "subTitle", label: "subTitle - 系统副标题" },
|
|
171
|
+
{ value: "slogan", label: "slogan - 登录页标语" },
|
|
172
|
+
{ value: "loginCaps", label: "loginCaps - 登录页底部标语条(逗号分隔多条)" },
|
|
173
|
+
{ value: "loginPoweredBy", label: "loginPoweredBy - 登录页底部署名文案" },
|
|
174
|
+
{ value: "hideLogo", label: "hideLogo - 首页隐藏Logo" },
|
|
171
175
|
{ value: "moduleFilter", label: "moduleFilter - 顶栏一级菜单开关" },
|
|
172
176
|
{ value: "homePath", label: "homePath - 首页路径" },
|
|
173
177
|
{ value: "ADMIN_MENU_CONFIG_KEY", label: "ADMIN_MENU_CONFIG_KEY - 菜单配置" }
|
|
@@ -179,14 +183,14 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
179
183
|
};
|
|
180
184
|
function q() {
|
|
181
185
|
var s;
|
|
182
|
-
(s =
|
|
186
|
+
(s = T.value) == null || s.resetFields(), C.value = 0, e.id = void 0, E.value = !1;
|
|
183
187
|
}
|
|
184
188
|
function de() {
|
|
185
189
|
e.id = void 0, e.code = "", e.name = "", e.type = "TEXT", e.active = "Y", e.value = "", e.description = "", E.value = !0;
|
|
186
190
|
}
|
|
187
191
|
function J() {
|
|
188
192
|
if (!b.value) {
|
|
189
|
-
let s = C.value - 1, l =
|
|
193
|
+
let s = C.value - 1, l = _.value[s];
|
|
190
194
|
K(l, s);
|
|
191
195
|
}
|
|
192
196
|
}
|
|
@@ -195,25 +199,25 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
195
199
|
}
|
|
196
200
|
function $() {
|
|
197
201
|
if (!Y.value) {
|
|
198
|
-
let s = C.value + 1, l =
|
|
202
|
+
let s = C.value + 1, l = _.value[s];
|
|
199
203
|
K(l, s);
|
|
200
204
|
}
|
|
201
205
|
}
|
|
202
206
|
function Q() {
|
|
203
207
|
var d;
|
|
204
208
|
let s = !e.id, l = "parameter/save";
|
|
205
|
-
(d =
|
|
209
|
+
(d = T.value) == null || d.validate((p) => {
|
|
206
210
|
if (!p) return;
|
|
207
|
-
let
|
|
208
|
-
s && (
|
|
211
|
+
let v = s ? { ...e } : { ..._.value[C.value] || {}, ...e };
|
|
212
|
+
s && (v.id = void 0), j.request({
|
|
209
213
|
url: l,
|
|
210
214
|
method: "POST",
|
|
211
215
|
type: "json",
|
|
212
|
-
data:
|
|
216
|
+
data: v
|
|
213
217
|
}).then((y) => {
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
}), s ? (V(!0), q()) : (V(), $())) : O.error(
|
|
218
|
+
const g = y.data;
|
|
219
|
+
g.result ? (O.success(g.msg || t("保存成功")), ne().catch(() => {
|
|
220
|
+
}), s ? (V(!0), q()) : (V(), $())) : O.error(g.msg);
|
|
217
221
|
}).catch((y) => {
|
|
218
222
|
console.error("保存配置失败:", y), O.error(t("保存失败,请稍后重试"));
|
|
219
223
|
});
|
|
@@ -226,13 +230,13 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
226
230
|
type: "json",
|
|
227
231
|
data: { id: s, active: d }
|
|
228
232
|
}).then((p) => {
|
|
229
|
-
const
|
|
230
|
-
if (
|
|
233
|
+
const v = p.data;
|
|
234
|
+
if (v.result) {
|
|
231
235
|
const y = d === "Y" ? t("启用成功") : t("禁用成功");
|
|
232
|
-
O.success(y),
|
|
236
|
+
O.success(y), _.value[l].active = d, ne().catch(() => {
|
|
233
237
|
});
|
|
234
238
|
} else
|
|
235
|
-
O.error(
|
|
239
|
+
O.error(v.msg);
|
|
236
240
|
}).catch((p) => {
|
|
237
241
|
console.error("更新状态失败:", p), O.error(t("操作失败,请稍后重试"));
|
|
238
242
|
});
|
|
@@ -246,8 +250,8 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
246
250
|
}), he(() => {
|
|
247
251
|
window.removeEventListener("keydown", ee);
|
|
248
252
|
}), (s, l) => {
|
|
249
|
-
const d = m("el-input"), p = m("el-form-item"),
|
|
250
|
-
return
|
|
253
|
+
const d = m("el-input"), p = m("el-form-item"), v = m("el-button"), y = m("el-form"), g = m("el-table-column"), B = m("el-image"), pe = m("el-tag"), ce = m("el-table"), me = m("el-pagination"), M = m("el-col"), ve = m("el-autocomplete"), D = m("el-radio"), le = m("el-radio-group"), fe = m("el-input-number"), ge = m("el-color-picker"), _e = m("el-date-picker"), be = m("el-switch"), ye = m("el-row"), Ve = m("el-dialog"), we = Ne("loading");
|
|
254
|
+
return f(), S(ae, null, [
|
|
251
255
|
N("div", xe, [
|
|
252
256
|
N("div", Ae, [
|
|
253
257
|
N("div", Ye, [
|
|
@@ -260,7 +264,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
260
264
|
a(d, {
|
|
261
265
|
modelValue: i.name,
|
|
262
266
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => i.name = o),
|
|
263
|
-
onKeyup: l[1] || (l[1] = oe(
|
|
267
|
+
onKeyup: l[1] || (l[1] = oe(L((o) => V(!0), ["stop", "prevent"]), ["enter"])),
|
|
264
268
|
placeholder: r(t)("键入以筛选名称")
|
|
265
269
|
}, null, 8, ["modelValue", "placeholder"])
|
|
266
270
|
]),
|
|
@@ -273,7 +277,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
273
277
|
a(d, {
|
|
274
278
|
modelValue: i.code,
|
|
275
279
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => i.code = o),
|
|
276
|
-
onKeyup: l[3] || (l[3] = oe(
|
|
280
|
+
onKeyup: l[3] || (l[3] = oe(L((o) => V(!0), ["stop", "prevent"]), ["enter"])),
|
|
277
281
|
placeholder: r(t)("键入以筛选编码")
|
|
278
282
|
}, null, 8, ["modelValue", "placeholder"])
|
|
279
283
|
]),
|
|
@@ -281,13 +285,13 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
281
285
|
}, 8, ["label"]),
|
|
282
286
|
a(p, null, {
|
|
283
287
|
default: n(() => [
|
|
284
|
-
a(
|
|
288
|
+
a(v, { onClick: F }, {
|
|
285
289
|
default: n(() => [
|
|
286
290
|
c(u(r(t)("重置")), 1)
|
|
287
291
|
]),
|
|
288
292
|
_: 1
|
|
289
293
|
}),
|
|
290
|
-
a(
|
|
294
|
+
a(v, {
|
|
291
295
|
type: "primary",
|
|
292
296
|
onClick: V
|
|
293
297
|
}, {
|
|
@@ -303,7 +307,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
303
307
|
_: 1
|
|
304
308
|
})
|
|
305
309
|
]),
|
|
306
|
-
a(
|
|
310
|
+
a(v, {
|
|
307
311
|
type: "primary",
|
|
308
312
|
onClick: de
|
|
309
313
|
}, {
|
|
@@ -314,68 +318,68 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
314
318
|
_: 1
|
|
315
319
|
})
|
|
316
320
|
]),
|
|
317
|
-
Ee((
|
|
321
|
+
Ee((f(), k(ce, {
|
|
318
322
|
ref_key: "tableRef",
|
|
319
323
|
ref: A,
|
|
320
|
-
data:
|
|
324
|
+
data: _.value,
|
|
321
325
|
"row-key": "code",
|
|
322
|
-
"row-class-name":
|
|
323
|
-
onRowClick:
|
|
326
|
+
"row-class-name": z,
|
|
327
|
+
onRowClick: P
|
|
324
328
|
}, {
|
|
325
329
|
default: n(() => [
|
|
326
|
-
a(
|
|
330
|
+
a(g, {
|
|
327
331
|
type: "selection",
|
|
328
332
|
width: "50",
|
|
329
333
|
align: "center"
|
|
330
334
|
}),
|
|
331
|
-
a(
|
|
335
|
+
a(g, {
|
|
332
336
|
type: "index",
|
|
333
337
|
label: "#",
|
|
334
338
|
width: "60",
|
|
335
339
|
align: "center"
|
|
336
340
|
}),
|
|
337
|
-
a(
|
|
341
|
+
a(g, {
|
|
338
342
|
label: r(t)("名称"),
|
|
339
343
|
prop: "name",
|
|
340
344
|
"min-width": "80",
|
|
341
345
|
"show-overflow-tooltip": ""
|
|
342
346
|
}, null, 8, ["label"]),
|
|
343
|
-
a(
|
|
347
|
+
a(g, {
|
|
344
348
|
label: r(t)("编码"),
|
|
345
349
|
prop: "code",
|
|
346
350
|
"min-width": "80",
|
|
347
351
|
"show-overflow-tooltip": ""
|
|
348
352
|
}, null, 8, ["label"]),
|
|
349
|
-
a(
|
|
353
|
+
a(g, {
|
|
350
354
|
label: r(t)("值"),
|
|
351
355
|
"min-width": "150"
|
|
352
356
|
}, {
|
|
353
|
-
default: n(({ row: { type: o, value:
|
|
354
|
-
o === "IMAGE" ? (
|
|
357
|
+
default: n(({ row: { type: o, value: w } }) => [
|
|
358
|
+
o === "IMAGE" ? (f(), k(B, {
|
|
355
359
|
key: 0,
|
|
356
360
|
"preview-teleported": "",
|
|
357
|
-
src:
|
|
358
|
-
"preview-src-list": [
|
|
361
|
+
src: w,
|
|
362
|
+
"preview-src-list": [w],
|
|
359
363
|
class: "table-el-image"
|
|
360
|
-
}, null, 8, ["src", "preview-src-list"])) : o === "COLOR" ? (
|
|
364
|
+
}, null, 8, ["src", "preview-src-list"])) : o === "COLOR" ? (f(), S("div", {
|
|
361
365
|
key: 1,
|
|
362
366
|
class: "table-color-block",
|
|
363
|
-
style: Ue({ backgroundColor:
|
|
364
|
-
}, u(
|
|
367
|
+
style: Ue({ backgroundColor: w })
|
|
368
|
+
}, u(w), 5)) : o === "BOOLEAN" ? (f(), k(pe, {
|
|
365
369
|
key: 2,
|
|
366
|
-
type:
|
|
370
|
+
type: w === "Y" ? "success" : "info"
|
|
367
371
|
}, {
|
|
368
372
|
default: n(() => [
|
|
369
|
-
c(u(
|
|
373
|
+
c(u(w === "Y" ? r(t)("是") : r(t)("否")), 1)
|
|
370
374
|
]),
|
|
371
375
|
_: 2
|
|
372
|
-
}, 1032, ["type"])) : (
|
|
373
|
-
c(u(
|
|
376
|
+
}, 1032, ["type"])) : (f(), S(ae, { key: 3 }, [
|
|
377
|
+
c(u(w), 1)
|
|
374
378
|
], 64))
|
|
375
379
|
]),
|
|
376
380
|
_: 1
|
|
377
381
|
}, 8, ["label"]),
|
|
378
|
-
a(
|
|
382
|
+
a(g, {
|
|
379
383
|
label: r(t)("是否可用"),
|
|
380
384
|
width: "80"
|
|
381
385
|
}, {
|
|
@@ -384,43 +388,43 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
384
388
|
]),
|
|
385
389
|
_: 1
|
|
386
390
|
}, 8, ["label"]),
|
|
387
|
-
a(
|
|
391
|
+
a(g, {
|
|
388
392
|
label: r(t)("说明"),
|
|
389
393
|
prop: "description",
|
|
390
394
|
"min-width": "100",
|
|
391
395
|
"show-overflow-tooltip": ""
|
|
392
396
|
}, null, 8, ["label"]),
|
|
393
|
-
a(
|
|
397
|
+
a(g, {
|
|
394
398
|
label: r(t)("操作"),
|
|
395
399
|
width: "220",
|
|
396
400
|
align: "center"
|
|
397
401
|
}, {
|
|
398
|
-
default: n(({ row: o, $index:
|
|
399
|
-
a(
|
|
402
|
+
default: n(({ row: o, $index: w }) => [
|
|
403
|
+
a(v, {
|
|
400
404
|
link: "",
|
|
401
405
|
type: "primary",
|
|
402
|
-
onClick:
|
|
406
|
+
onClick: L((te) => K(o, w), ["stop"])
|
|
403
407
|
}, {
|
|
404
408
|
default: n(() => [
|
|
405
409
|
c(u(r(t)("编辑")), 1)
|
|
406
410
|
]),
|
|
407
411
|
_: 1
|
|
408
412
|
}, 8, ["onClick"]),
|
|
409
|
-
o.active === "N" ? (
|
|
413
|
+
o.active === "N" ? (f(), k(v, {
|
|
410
414
|
key: 0,
|
|
411
415
|
link: "",
|
|
412
416
|
type: "success",
|
|
413
|
-
onClick:
|
|
417
|
+
onClick: L((te) => Z(o.id, w, "Y"), ["stop"])
|
|
414
418
|
}, {
|
|
415
419
|
default: n(() => [
|
|
416
420
|
c(u(r(t)("启用")), 1)
|
|
417
421
|
]),
|
|
418
422
|
_: 1
|
|
419
|
-
}, 8, ["onClick"])) : (
|
|
423
|
+
}, 8, ["onClick"])) : (f(), k(v, {
|
|
420
424
|
key: 1,
|
|
421
425
|
link: "",
|
|
422
426
|
type: "danger",
|
|
423
|
-
onClick:
|
|
427
|
+
onClick: L((te) => Z(o.id, w, "N"), ["stop"])
|
|
424
428
|
}, {
|
|
425
429
|
default: n(() => [
|
|
426
430
|
c(u(r(t)("禁用")), 1)
|
|
@@ -433,7 +437,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
433
437
|
]),
|
|
434
438
|
_: 1
|
|
435
439
|
}, 8, ["data"])), [
|
|
436
|
-
[
|
|
440
|
+
[we, I.value]
|
|
437
441
|
]),
|
|
438
442
|
a(me, {
|
|
439
443
|
background: "",
|
|
@@ -456,7 +460,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
456
460
|
}, {
|
|
457
461
|
footer: n(() => [
|
|
458
462
|
N("div", Re, [
|
|
459
|
-
a(
|
|
463
|
+
a(v, {
|
|
460
464
|
onClick: J,
|
|
461
465
|
text: "",
|
|
462
466
|
disabled: b.value
|
|
@@ -466,7 +470,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
466
470
|
]),
|
|
467
471
|
_: 1
|
|
468
472
|
}, 8, ["disabled"]),
|
|
469
|
-
a(
|
|
473
|
+
a(v, {
|
|
470
474
|
type: "primary",
|
|
471
475
|
plain: "",
|
|
472
476
|
onClick: q
|
|
@@ -476,7 +480,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
476
480
|
]),
|
|
477
481
|
_: 1
|
|
478
482
|
}),
|
|
479
|
-
a(
|
|
483
|
+
a(v, {
|
|
480
484
|
type: "primary",
|
|
481
485
|
onClick: Q
|
|
482
486
|
}, {
|
|
@@ -485,7 +489,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
485
489
|
]),
|
|
486
490
|
_: 1
|
|
487
491
|
}),
|
|
488
|
-
a(
|
|
492
|
+
a(v, {
|
|
489
493
|
onClick: $,
|
|
490
494
|
text: "",
|
|
491
495
|
disabled: Y.value
|
|
@@ -501,7 +505,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
501
505
|
a(y, {
|
|
502
506
|
"label-position": "top",
|
|
503
507
|
ref_key: "formRef",
|
|
504
|
-
ref:
|
|
508
|
+
ref: T,
|
|
505
509
|
model: e,
|
|
506
510
|
rules: U
|
|
507
511
|
}, {
|
|
@@ -533,7 +537,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
533
537
|
prop: "code"
|
|
534
538
|
}, {
|
|
535
539
|
default: n(() => [
|
|
536
|
-
a(
|
|
540
|
+
a(ve, {
|
|
537
541
|
modelValue: e.code,
|
|
538
542
|
"onUpdate:modelValue": l[7] || (l[7] = (o) => e.code = o),
|
|
539
543
|
"fetch-suggestions": ue,
|
|
@@ -663,41 +667,41 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
663
667
|
prop: "value"
|
|
664
668
|
}, {
|
|
665
669
|
default: n(() => [
|
|
666
|
-
e.type === "TEXT" ? (
|
|
670
|
+
e.type === "TEXT" ? (f(), k(d, {
|
|
667
671
|
key: 0,
|
|
668
672
|
modelValue: e.value,
|
|
669
673
|
"onUpdate:modelValue": l[10] || (l[10] = (o) => e.value = o),
|
|
670
674
|
clearable: ""
|
|
671
|
-
}, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (
|
|
675
|
+
}, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (f(), k(fe, {
|
|
672
676
|
key: 1,
|
|
673
677
|
modelValue: e.value,
|
|
674
678
|
"onUpdate:modelValue": l[11] || (l[11] = (o) => e.value = o)
|
|
675
|
-
}, null, 8, ["modelValue"])) : e.type === "IMAGE" ? (
|
|
679
|
+
}, null, 8, ["modelValue"])) : e.type === "IMAGE" ? (f(), k(Me, {
|
|
676
680
|
key: 2,
|
|
677
681
|
modelValue: e.value,
|
|
678
682
|
"onUpdate:modelValue": l[12] || (l[12] = (o) => e.value = o)
|
|
679
|
-
}, null, 8, ["modelValue"])) : e.type === "COLOR" ? (
|
|
683
|
+
}, null, 8, ["modelValue"])) : e.type === "COLOR" ? (f(), k(d, {
|
|
680
684
|
key: 3,
|
|
681
685
|
modelValue: e.value,
|
|
682
686
|
"onUpdate:modelValue": l[14] || (l[14] = (o) => e.value = o),
|
|
683
687
|
clearable: ""
|
|
684
688
|
}, {
|
|
685
689
|
prefix: n(() => [
|
|
686
|
-
a(
|
|
690
|
+
a(ge, {
|
|
687
691
|
"color-format": "hex",
|
|
688
692
|
modelValue: e.value,
|
|
689
693
|
"onUpdate:modelValue": l[13] || (l[13] = (o) => e.value = o)
|
|
690
694
|
}, null, 8, ["modelValue"])
|
|
691
695
|
]),
|
|
692
696
|
_: 1
|
|
693
|
-
}, 8, ["modelValue"])) : e.type === "DATETIME" ? (
|
|
697
|
+
}, 8, ["modelValue"])) : e.type === "DATETIME" ? (f(), k(_e, {
|
|
694
698
|
key: 4,
|
|
695
699
|
modelValue: e.value,
|
|
696
700
|
"onUpdate:modelValue": l[15] || (l[15] = (o) => e.value = o),
|
|
697
701
|
type: "datetime",
|
|
698
702
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
699
703
|
placeholder: r(t)("选择日期时间")
|
|
700
|
-
}, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (
|
|
704
|
+
}, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (f(), k(be, {
|
|
701
705
|
key: 5,
|
|
702
706
|
modelValue: x.value,
|
|
703
707
|
"onUpdate:modelValue": l[16] || (l[16] = (o) => x.value = o),
|
|
@@ -747,4 +751,4 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
747
751
|
export {
|
|
748
752
|
qe as default
|
|
749
753
|
};
|
|
750
|
-
//# sourceMappingURL=SysConfig-
|
|
754
|
+
//# sourceMappingURL=SysConfig-BqESdpqB.js.map
|