yh-pub 2.0.51 → 2.0.53
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-GqsL1HlF.js → AdminLogin-BOI1HU0f.js} +39 -37
- package/AdminLogin-BOI1HU0f.js.map +1 -0
- package/{Error-CICzDvPi.js → Error-B0uebv_p.js} +2 -2
- package/{Error-CICzDvPi.js.map → Error-B0uebv_p.js.map} +1 -1
- package/{Error401-Bso6zcaF.js → Error401-CPSyGRtS.js} +3 -3
- package/{Error401-Bso6zcaF.js.map → Error401-CPSyGRtS.js.map} +1 -1
- package/{Error404-D113Axw1.js → Error404-bYOAqk2l.js} +3 -3
- package/{Error404-D113Axw1.js.map → Error404-bYOAqk2l.js.map} +1 -1
- package/{Error500-Cb86yg9i.js → Error500-Cq0s2ytH.js} +3 -3
- package/{Error500-Cb86yg9i.js.map → Error500-Cq0s2ytH.js.map} +1 -1
- package/{HomeIndex-B2b264CN.js → HomeIndex-GA7zKYkD.js} +2 -2
- package/{HomeIndex-B2b264CN.js.map → HomeIndex-GA7zKYkD.js.map} +1 -1
- package/{IconExplorer-BZZSdKVB.js → IconExplorer-9N65T_1X.js} +2 -2
- package/{IconExplorer-BZZSdKVB.js.map → IconExplorer-9N65T_1X.js.map} +1 -1
- package/Index-DdrKu-zv.js +5 -0
- package/Index-DdrKu-zv.js.map +1 -0
- package/LoginCanvasBg-P3FReJSu.js +50 -0
- package/LoginCanvasBg-P3FReJSu.js.map +1 -0
- package/MainLogin-IuDqs9MI.js +165 -0
- package/MainLogin-IuDqs9MI.js.map +1 -0
- package/{MenuManage-CSyuhHTW.js → MenuManage-Bo4Lh9tz.js} +2 -2
- package/{MenuManage-CSyuhHTW.js.map → MenuManage-Bo4Lh9tz.js.map} +1 -1
- package/{OrgManage-CZ9ajMns.js → OrgManage-Ce7iE0O4.js} +2 -2
- package/{OrgManage-CZ9ajMns.js.map → OrgManage-Ce7iE0O4.js.map} +1 -1
- package/{RoleManage-6OrL6udO.js → RoleManage-BemCupI6.js} +2 -2
- package/{RoleManage-6OrL6udO.js.map → RoleManage-BemCupI6.js.map} +1 -1
- package/{SysConfig-D5-zgfzO.js → SysConfig-BGztCR37.js} +104 -102
- package/SysConfig-BGztCR37.js.map +1 -0
- package/{TenantList-DG9soxJ6.js → TenantList-Cn6UNHjq.js} +47 -47
- package/{TenantList-DG9soxJ6.js.map → TenantList-Cn6UNHjq.js.map} +1 -1
- package/{ThemeConfig-DmJBUUK8.js → ThemeConfig-B5qC-HvS.js} +2 -2
- package/{ThemeConfig-DmJBUUK8.js.map → ThemeConfig-B5qC-HvS.js.map} +1 -1
- package/{ThemeDemo-Bcz9-dwX.js → ThemeDemo-BslvAdPQ.js} +2 -2
- package/{ThemeDemo-Bcz9-dwX.js.map → ThemeDemo-BslvAdPQ.js.map} +1 -1
- package/{index-BRvfrelf.js → index-OEX__DGa.js} +8280 -7973
- package/{index-BRvfrelf.js.map → index-OEX__DGa.js.map} +1 -1
- package/index.es.js +92 -85
- package/package.json +1 -1
- package/style.css +1 -1
- package/vite.js +38 -1
- package/AdminLogin-GqsL1HlF.js.map +0 -1
- package/Index-Uj8edyUE.js +0 -5
- package/Index-Uj8edyUE.js.map +0 -1
- package/MainLogin-2IQGxuil.js +0 -166
- package/MainLogin-2IQGxuil.js.map +0 -1
- package/SysConfig-D5-zgfzO.js.map +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
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 we, 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 w, normalizeStyle as Ue } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
|
-
import { c as t, _ as De,
|
|
3
|
+
import { c as t, _ as De, M as ne } from "./index-OEX__DGa.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
|
-
setup(H, { emit:
|
|
15
|
-
const
|
|
14
|
+
setup(H, { emit: A }) {
|
|
15
|
+
const T = H, I = A, i = h(T.modelValue || ""), _ = h(!1), B = h(null), V = (b) => {
|
|
16
16
|
if (!b.type.startsWith("image/")) {
|
|
17
17
|
alert(t("请选择图片文件"));
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
20
|
const e = new FileReader();
|
|
21
21
|
e.onload = (U) => {
|
|
22
|
-
var
|
|
23
|
-
const R = (
|
|
22
|
+
var x;
|
|
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
26
|
}, F = () => {
|
|
27
|
-
|
|
27
|
+
_.value = !0;
|
|
28
28
|
}, P = () => {
|
|
29
|
-
|
|
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,28 +39,28 @@ 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: we(["image-base64-choose", { dragover:
|
|
50
|
-
onDragover:
|
|
48
|
+
return f(), S("div", {
|
|
49
|
+
class: we(["image-base64-choose", { dragover: _.value }]),
|
|
50
|
+
onDragover: L(F, ["prevent"]),
|
|
51
51
|
onDragleave: P,
|
|
52
|
-
onDrop:
|
|
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/*",
|
|
@@ -69,7 +69,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
69
69
|
ref: B
|
|
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
|
|
@@ -79,22 +79,22 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
79
79
|
], 34);
|
|
80
80
|
};
|
|
81
81
|
}
|
|
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
|
|
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([]), B = ({ 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
110
|
var z;
|
|
111
|
-
const
|
|
112
|
-
|
|
111
|
+
const g = y.data.data;
|
|
112
|
+
_.value = g.records || [], i.total = g.total ?? ((z = g.records) == null ? void 0 : z.length) ?? 0;
|
|
113
113
|
}).catch((y) => {
|
|
114
114
|
console.error("获取配置列表失败:", y), O.error(t("获取配置列表失败,请稍后重试"));
|
|
115
115
|
}).finally(() => {
|
|
@@ -124,12 +124,12 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
124
124
|
);
|
|
125
125
|
function F(s) {
|
|
126
126
|
var l;
|
|
127
|
-
(l =
|
|
127
|
+
(l = A.value) == null || l.toggleRowSelection(s);
|
|
128
128
|
}
|
|
129
129
|
function P() {
|
|
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: "",
|
|
@@ -156,37 +156,39 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
156
156
|
function R() {
|
|
157
157
|
e.value = e.type === "BOOLEAN" ? "N" : "";
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const x = X({
|
|
160
160
|
get: () => e.value === "Y",
|
|
161
161
|
set: (s) => {
|
|
162
162
|
e.value = s ? "Y" : "N";
|
|
163
163
|
}
|
|
164
|
-
}),
|
|
164
|
+
}), W = [
|
|
165
165
|
{ value: "SYSTEM_NAME", label: "SYSTEM_NAME - 系统名称" },
|
|
166
166
|
{ value: "logoUrl", label: "logoUrl - Logo图片路径" },
|
|
167
167
|
{ value: "miniLogoUrl", label: "miniLogoUrl - 迷你Logo路径" },
|
|
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: "hideLogo", label: "hideLogo - 首页隐藏Logo" },
|
|
171
173
|
{ value: "moduleFilter", label: "moduleFilter - 顶栏一级菜单开关" },
|
|
172
174
|
{ value: "homePath", label: "homePath - 首页路径" },
|
|
173
175
|
{ value: "ADMIN_MENU_CONFIG_KEY", label: "ADMIN_MENU_CONFIG_KEY - 菜单配置" }
|
|
174
176
|
], ue = (s, l) => {
|
|
175
|
-
const d = s ?
|
|
177
|
+
const d = s ? W.filter(
|
|
176
178
|
(p) => p.value.toLowerCase().includes(s.toLowerCase())
|
|
177
|
-
) :
|
|
179
|
+
) : W;
|
|
178
180
|
l(d);
|
|
179
181
|
};
|
|
180
182
|
function q() {
|
|
181
183
|
var s;
|
|
182
|
-
(s =
|
|
184
|
+
(s = T.value) == null || s.resetFields(), C.value = 0, e.id = void 0, E.value = !1;
|
|
183
185
|
}
|
|
184
186
|
function de() {
|
|
185
187
|
e.id = void 0, e.code = "", e.name = "", e.type = "TEXT", e.active = "Y", e.value = "", e.description = "", E.value = !0;
|
|
186
188
|
}
|
|
187
|
-
function
|
|
189
|
+
function J() {
|
|
188
190
|
if (!b.value) {
|
|
189
|
-
let s = C.value - 1, l =
|
|
191
|
+
let s = C.value - 1, l = _.value[s];
|
|
190
192
|
K(l, s);
|
|
191
193
|
}
|
|
192
194
|
}
|
|
@@ -195,25 +197,25 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
195
197
|
}
|
|
196
198
|
function $() {
|
|
197
199
|
if (!Y.value) {
|
|
198
|
-
let s = C.value + 1, l =
|
|
200
|
+
let s = C.value + 1, l = _.value[s];
|
|
199
201
|
K(l, s);
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
204
|
function Q() {
|
|
203
205
|
var d;
|
|
204
206
|
let s = !e.id, l = "parameter/save";
|
|
205
|
-
(d =
|
|
207
|
+
(d = T.value) == null || d.validate((p) => {
|
|
206
208
|
if (!p) return;
|
|
207
|
-
let
|
|
208
|
-
s && (
|
|
209
|
+
let v = s ? { ...e } : { ..._.value[C.value] || {}, ...e };
|
|
210
|
+
s && (v.id = void 0), j.request({
|
|
209
211
|
url: l,
|
|
210
212
|
method: "POST",
|
|
211
213
|
type: "json",
|
|
212
|
-
data:
|
|
214
|
+
data: v
|
|
213
215
|
}).then((y) => {
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
}), s ? (V(!0), q()) : (V(), $())) : O.error(
|
|
216
|
+
const g = y.data;
|
|
217
|
+
g.result ? (O.success(g.msg || t("保存成功")), ne().catch(() => {
|
|
218
|
+
}), s ? (V(!0), q()) : (V(), $())) : O.error(g.msg);
|
|
217
219
|
}).catch((y) => {
|
|
218
220
|
console.error("保存配置失败:", y), O.error(t("保存失败,请稍后重试"));
|
|
219
221
|
});
|
|
@@ -226,30 +228,30 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
226
228
|
type: "json",
|
|
227
229
|
data: { id: s, active: d }
|
|
228
230
|
}).then((p) => {
|
|
229
|
-
const
|
|
230
|
-
if (
|
|
231
|
+
const v = p.data;
|
|
232
|
+
if (v.result) {
|
|
231
233
|
const y = d === "Y" ? t("启用成功") : t("禁用成功");
|
|
232
|
-
O.success(y),
|
|
234
|
+
O.success(y), _.value[l].active = d, ne().catch(() => {
|
|
233
235
|
});
|
|
234
236
|
} else
|
|
235
|
-
O.error(
|
|
237
|
+
O.error(v.msg);
|
|
236
238
|
}).catch((p) => {
|
|
237
239
|
console.error("更新状态失败:", p), O.error(t("操作失败,请稍后重试"));
|
|
238
240
|
});
|
|
239
241
|
}
|
|
240
242
|
const ee = (s) => {
|
|
241
243
|
const { key: l, ctrlKey: d, altKey: p } = s;
|
|
242
|
-
E.value && (l === "s" && d && (s.preventDefault(), s.stopPropagation(), Q()), l === "ArrowRight" && p && (s.preventDefault(), s.stopPropagation(), $()), l === "ArrowLeft" && p && (s.preventDefault(), s.stopPropagation(),
|
|
244
|
+
E.value && (l === "s" && d && (s.preventDefault(), s.stopPropagation(), Q()), l === "ArrowRight" && p && (s.preventDefault(), s.stopPropagation(), $()), l === "ArrowLeft" && p && (s.preventDefault(), s.stopPropagation(), J()));
|
|
243
245
|
};
|
|
244
246
|
return Ce(() => {
|
|
245
247
|
V(), window.addEventListener("keydown", ee);
|
|
246
248
|
}), he(() => {
|
|
247
249
|
window.removeEventListener("keydown", ee);
|
|
248
250
|
}), (s, l) => {
|
|
249
|
-
const d = m("el-input"), p = m("el-form-item"),
|
|
250
|
-
return
|
|
251
|
-
N("div",
|
|
252
|
-
N("div",
|
|
251
|
+
const d = m("el-input"), p = m("el-form-item"), v = m("el-button"), y = m("el-form"), g = m("el-table-column"), z = 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"), ke = Ne("loading");
|
|
252
|
+
return f(), S(ae, null, [
|
|
253
|
+
N("div", xe, [
|
|
254
|
+
N("div", Ae, [
|
|
253
255
|
N("div", Ye, [
|
|
254
256
|
a(y, { inline: "" }, {
|
|
255
257
|
default: n(() => [
|
|
@@ -260,7 +262,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
260
262
|
a(d, {
|
|
261
263
|
modelValue: i.name,
|
|
262
264
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => i.name = o),
|
|
263
|
-
onKeyup: l[1] || (l[1] = oe(
|
|
265
|
+
onKeyup: l[1] || (l[1] = oe(L((o) => V(!0), ["stop", "prevent"]), ["enter"])),
|
|
264
266
|
placeholder: r(t)("键入以筛选名称")
|
|
265
267
|
}, null, 8, ["modelValue", "placeholder"])
|
|
266
268
|
]),
|
|
@@ -273,7 +275,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
273
275
|
a(d, {
|
|
274
276
|
modelValue: i.code,
|
|
275
277
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => i.code = o),
|
|
276
|
-
onKeyup: l[3] || (l[3] = oe(
|
|
278
|
+
onKeyup: l[3] || (l[3] = oe(L((o) => V(!0), ["stop", "prevent"]), ["enter"])),
|
|
277
279
|
placeholder: r(t)("键入以筛选编码")
|
|
278
280
|
}, null, 8, ["modelValue", "placeholder"])
|
|
279
281
|
]),
|
|
@@ -281,13 +283,13 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
281
283
|
}, 8, ["label"]),
|
|
282
284
|
a(p, null, {
|
|
283
285
|
default: n(() => [
|
|
284
|
-
a(
|
|
286
|
+
a(v, { onClick: P }, {
|
|
285
287
|
default: n(() => [
|
|
286
288
|
c(u(r(t)("重置")), 1)
|
|
287
289
|
]),
|
|
288
290
|
_: 1
|
|
289
291
|
}),
|
|
290
|
-
a(
|
|
292
|
+
a(v, {
|
|
291
293
|
type: "primary",
|
|
292
294
|
onClick: V
|
|
293
295
|
}, {
|
|
@@ -303,7 +305,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
303
305
|
_: 1
|
|
304
306
|
})
|
|
305
307
|
]),
|
|
306
|
-
a(
|
|
308
|
+
a(v, {
|
|
307
309
|
type: "primary",
|
|
308
310
|
onClick: de
|
|
309
311
|
}, {
|
|
@@ -314,54 +316,54 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
314
316
|
_: 1
|
|
315
317
|
})
|
|
316
318
|
]),
|
|
317
|
-
Ee((
|
|
319
|
+
Ee((f(), w(ce, {
|
|
318
320
|
ref_key: "tableRef",
|
|
319
|
-
ref:
|
|
320
|
-
data:
|
|
321
|
+
ref: A,
|
|
322
|
+
data: _.value,
|
|
321
323
|
"row-key": "code",
|
|
322
324
|
"row-class-name": B,
|
|
323
325
|
onRowClick: F
|
|
324
326
|
}, {
|
|
325
327
|
default: n(() => [
|
|
326
|
-
a(
|
|
328
|
+
a(g, {
|
|
327
329
|
type: "selection",
|
|
328
330
|
width: "50",
|
|
329
331
|
align: "center"
|
|
330
332
|
}),
|
|
331
|
-
a(
|
|
333
|
+
a(g, {
|
|
332
334
|
type: "index",
|
|
333
335
|
label: "#",
|
|
334
336
|
width: "60",
|
|
335
337
|
align: "center"
|
|
336
338
|
}),
|
|
337
|
-
a(
|
|
339
|
+
a(g, {
|
|
338
340
|
label: r(t)("名称"),
|
|
339
341
|
prop: "name",
|
|
340
342
|
"min-width": "80",
|
|
341
343
|
"show-overflow-tooltip": ""
|
|
342
344
|
}, null, 8, ["label"]),
|
|
343
|
-
a(
|
|
345
|
+
a(g, {
|
|
344
346
|
label: r(t)("编码"),
|
|
345
347
|
prop: "code",
|
|
346
348
|
"min-width": "80",
|
|
347
349
|
"show-overflow-tooltip": ""
|
|
348
350
|
}, null, 8, ["label"]),
|
|
349
|
-
a(
|
|
351
|
+
a(g, {
|
|
350
352
|
label: r(t)("值"),
|
|
351
353
|
"min-width": "150"
|
|
352
354
|
}, {
|
|
353
355
|
default: n(({ row: { type: o, value: k } }) => [
|
|
354
|
-
o === "IMAGE" ? (
|
|
356
|
+
o === "IMAGE" ? (f(), w(z, {
|
|
355
357
|
key: 0,
|
|
356
358
|
"preview-teleported": "",
|
|
357
359
|
src: k,
|
|
358
360
|
"preview-src-list": [k],
|
|
359
361
|
class: "table-el-image"
|
|
360
|
-
}, null, 8, ["src", "preview-src-list"])) : o === "COLOR" ? (
|
|
362
|
+
}, null, 8, ["src", "preview-src-list"])) : o === "COLOR" ? (f(), S("div", {
|
|
361
363
|
key: 1,
|
|
362
364
|
class: "table-color-block",
|
|
363
365
|
style: Ue({ backgroundColor: k })
|
|
364
|
-
}, u(k), 5)) : o === "BOOLEAN" ? (
|
|
366
|
+
}, u(k), 5)) : o === "BOOLEAN" ? (f(), w(pe, {
|
|
365
367
|
key: 2,
|
|
366
368
|
type: k === "Y" ? "success" : "info"
|
|
367
369
|
}, {
|
|
@@ -369,13 +371,13 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
369
371
|
c(u(k === "Y" ? r(t)("是") : r(t)("否")), 1)
|
|
370
372
|
]),
|
|
371
373
|
_: 2
|
|
372
|
-
}, 1032, ["type"])) : (
|
|
374
|
+
}, 1032, ["type"])) : (f(), S(ae, { key: 3 }, [
|
|
373
375
|
c(u(k), 1)
|
|
374
376
|
], 64))
|
|
375
377
|
]),
|
|
376
378
|
_: 1
|
|
377
379
|
}, 8, ["label"]),
|
|
378
|
-
a(
|
|
380
|
+
a(g, {
|
|
379
381
|
label: r(t)("是否可用"),
|
|
380
382
|
width: "80"
|
|
381
383
|
}, {
|
|
@@ -384,43 +386,43 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
384
386
|
]),
|
|
385
387
|
_: 1
|
|
386
388
|
}, 8, ["label"]),
|
|
387
|
-
a(
|
|
389
|
+
a(g, {
|
|
388
390
|
label: r(t)("说明"),
|
|
389
391
|
prop: "description",
|
|
390
392
|
"min-width": "100",
|
|
391
393
|
"show-overflow-tooltip": ""
|
|
392
394
|
}, null, 8, ["label"]),
|
|
393
|
-
a(
|
|
395
|
+
a(g, {
|
|
394
396
|
label: r(t)("操作"),
|
|
395
397
|
width: "220",
|
|
396
398
|
align: "center"
|
|
397
399
|
}, {
|
|
398
400
|
default: n(({ row: o, $index: k }) => [
|
|
399
|
-
a(
|
|
401
|
+
a(v, {
|
|
400
402
|
link: "",
|
|
401
403
|
type: "primary",
|
|
402
|
-
onClick:
|
|
404
|
+
onClick: L((te) => K(o, k), ["stop"])
|
|
403
405
|
}, {
|
|
404
406
|
default: n(() => [
|
|
405
407
|
c(u(r(t)("编辑")), 1)
|
|
406
408
|
]),
|
|
407
409
|
_: 1
|
|
408
410
|
}, 8, ["onClick"]),
|
|
409
|
-
o.active === "N" ? (
|
|
411
|
+
o.active === "N" ? (f(), w(v, {
|
|
410
412
|
key: 0,
|
|
411
413
|
link: "",
|
|
412
414
|
type: "success",
|
|
413
|
-
onClick:
|
|
415
|
+
onClick: L((te) => Z(o.id, k, "Y"), ["stop"])
|
|
414
416
|
}, {
|
|
415
417
|
default: n(() => [
|
|
416
418
|
c(u(r(t)("启用")), 1)
|
|
417
419
|
]),
|
|
418
420
|
_: 1
|
|
419
|
-
}, 8, ["onClick"])) : (
|
|
421
|
+
}, 8, ["onClick"])) : (f(), w(v, {
|
|
420
422
|
key: 1,
|
|
421
423
|
link: "",
|
|
422
424
|
type: "danger",
|
|
423
|
-
onClick:
|
|
425
|
+
onClick: L((te) => Z(o.id, k, "N"), ["stop"])
|
|
424
426
|
}, {
|
|
425
427
|
default: n(() => [
|
|
426
428
|
c(u(r(t)("禁用")), 1)
|
|
@@ -456,8 +458,8 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
456
458
|
}, {
|
|
457
459
|
footer: n(() => [
|
|
458
460
|
N("div", Re, [
|
|
459
|
-
a(
|
|
460
|
-
onClick:
|
|
461
|
+
a(v, {
|
|
462
|
+
onClick: J,
|
|
461
463
|
text: "",
|
|
462
464
|
disabled: b.value
|
|
463
465
|
}, {
|
|
@@ -466,7 +468,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
466
468
|
]),
|
|
467
469
|
_: 1
|
|
468
470
|
}, 8, ["disabled"]),
|
|
469
|
-
a(
|
|
471
|
+
a(v, {
|
|
470
472
|
type: "primary",
|
|
471
473
|
plain: "",
|
|
472
474
|
onClick: q
|
|
@@ -476,7 +478,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
476
478
|
]),
|
|
477
479
|
_: 1
|
|
478
480
|
}),
|
|
479
|
-
a(
|
|
481
|
+
a(v, {
|
|
480
482
|
type: "primary",
|
|
481
483
|
onClick: Q
|
|
482
484
|
}, {
|
|
@@ -485,7 +487,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
485
487
|
]),
|
|
486
488
|
_: 1
|
|
487
489
|
}),
|
|
488
|
-
a(
|
|
490
|
+
a(v, {
|
|
489
491
|
onClick: $,
|
|
490
492
|
text: "",
|
|
491
493
|
disabled: Y.value
|
|
@@ -501,14 +503,14 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
501
503
|
a(y, {
|
|
502
504
|
"label-position": "top",
|
|
503
505
|
ref_key: "formRef",
|
|
504
|
-
ref:
|
|
506
|
+
ref: T,
|
|
505
507
|
model: e,
|
|
506
508
|
rules: U
|
|
507
509
|
}, {
|
|
508
510
|
default: n(() => [
|
|
509
511
|
a(ye, { gutter: "10" }, {
|
|
510
512
|
default: n(() => [
|
|
511
|
-
a(
|
|
513
|
+
a(M, { span: 12 }, {
|
|
512
514
|
default: n(() => [
|
|
513
515
|
a(p, {
|
|
514
516
|
label: r(t)("名称"),
|
|
@@ -526,14 +528,14 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
526
528
|
]),
|
|
527
529
|
_: 1
|
|
528
530
|
}),
|
|
529
|
-
a(
|
|
531
|
+
a(M, { span: 12 }, {
|
|
530
532
|
default: n(() => [
|
|
531
533
|
a(p, {
|
|
532
534
|
label: r(t)("编码"),
|
|
533
535
|
prop: "code"
|
|
534
536
|
}, {
|
|
535
537
|
default: n(() => [
|
|
536
|
-
a(
|
|
538
|
+
a(ve, {
|
|
537
539
|
modelValue: e.code,
|
|
538
540
|
"onUpdate:modelValue": l[7] || (l[7] = (o) => e.code = o),
|
|
539
541
|
"fetch-suggestions": ue,
|
|
@@ -547,7 +549,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
547
549
|
]),
|
|
548
550
|
_: 1
|
|
549
551
|
}),
|
|
550
|
-
a(
|
|
552
|
+
a(M, { span: 16 }, {
|
|
551
553
|
default: n(() => [
|
|
552
554
|
a(p, {
|
|
553
555
|
label: r(t)("值类型"),
|
|
@@ -623,7 +625,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
623
625
|
]),
|
|
624
626
|
_: 1
|
|
625
627
|
}),
|
|
626
|
-
a(
|
|
628
|
+
a(M, { span: 8 }, {
|
|
627
629
|
default: n(() => [
|
|
628
630
|
a(p, {
|
|
629
631
|
label: r(t)("是否可用"),
|
|
@@ -656,51 +658,51 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
656
658
|
]),
|
|
657
659
|
_: 1
|
|
658
660
|
}),
|
|
659
|
-
a(
|
|
661
|
+
a(M, { span: 24 }, {
|
|
660
662
|
default: n(() => [
|
|
661
663
|
a(p, {
|
|
662
664
|
label: r(t)("值"),
|
|
663
665
|
prop: "value"
|
|
664
666
|
}, {
|
|
665
667
|
default: n(() => [
|
|
666
|
-
e.type === "TEXT" ? (
|
|
668
|
+
e.type === "TEXT" ? (f(), w(d, {
|
|
667
669
|
key: 0,
|
|
668
670
|
modelValue: e.value,
|
|
669
671
|
"onUpdate:modelValue": l[10] || (l[10] = (o) => e.value = o),
|
|
670
672
|
clearable: ""
|
|
671
|
-
}, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (
|
|
673
|
+
}, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (f(), w(fe, {
|
|
672
674
|
key: 1,
|
|
673
675
|
modelValue: e.value,
|
|
674
676
|
"onUpdate:modelValue": l[11] || (l[11] = (o) => e.value = o)
|
|
675
|
-
}, null, 8, ["modelValue"])) : e.type === "IMAGE" ? (
|
|
677
|
+
}, null, 8, ["modelValue"])) : e.type === "IMAGE" ? (f(), w(Me, {
|
|
676
678
|
key: 2,
|
|
677
679
|
modelValue: e.value,
|
|
678
680
|
"onUpdate:modelValue": l[12] || (l[12] = (o) => e.value = o)
|
|
679
|
-
}, null, 8, ["modelValue"])) : e.type === "COLOR" ? (
|
|
681
|
+
}, null, 8, ["modelValue"])) : e.type === "COLOR" ? (f(), w(d, {
|
|
680
682
|
key: 3,
|
|
681
683
|
modelValue: e.value,
|
|
682
684
|
"onUpdate:modelValue": l[14] || (l[14] = (o) => e.value = o),
|
|
683
685
|
clearable: ""
|
|
684
686
|
}, {
|
|
685
687
|
prefix: n(() => [
|
|
686
|
-
a(
|
|
688
|
+
a(ge, {
|
|
687
689
|
"color-format": "hex",
|
|
688
690
|
modelValue: e.value,
|
|
689
691
|
"onUpdate:modelValue": l[13] || (l[13] = (o) => e.value = o)
|
|
690
692
|
}, null, 8, ["modelValue"])
|
|
691
693
|
]),
|
|
692
694
|
_: 1
|
|
693
|
-
}, 8, ["modelValue"])) : e.type === "DATETIME" ? (
|
|
695
|
+
}, 8, ["modelValue"])) : e.type === "DATETIME" ? (f(), w(_e, {
|
|
694
696
|
key: 4,
|
|
695
697
|
modelValue: e.value,
|
|
696
698
|
"onUpdate:modelValue": l[15] || (l[15] = (o) => e.value = o),
|
|
697
699
|
type: "datetime",
|
|
698
700
|
"value-format": "YYYY-MM-DD HH:mm:ss",
|
|
699
701
|
placeholder: r(t)("选择日期时间")
|
|
700
|
-
}, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (
|
|
702
|
+
}, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (f(), w(be, {
|
|
701
703
|
key: 5,
|
|
702
|
-
modelValue:
|
|
703
|
-
"onUpdate:modelValue": l[16] || (l[16] = (o) =>
|
|
704
|
+
modelValue: x.value,
|
|
705
|
+
"onUpdate:modelValue": l[16] || (l[16] = (o) => x.value = o),
|
|
704
706
|
"active-text": r(t)("启用"),
|
|
705
707
|
"inactive-text": r(t)("禁用"),
|
|
706
708
|
"active-value": !0,
|
|
@@ -712,7 +714,7 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
712
714
|
]),
|
|
713
715
|
_: 1
|
|
714
716
|
}),
|
|
715
|
-
a(
|
|
717
|
+
a(M, { span: 24 }, {
|
|
716
718
|
default: n(() => [
|
|
717
719
|
a(p, {
|
|
718
720
|
label: r(t)("说明"),
|
|
@@ -747,4 +749,4 @@ const Oe = { class: "preview-area" }, Se = ["src"], Te = {
|
|
|
747
749
|
export {
|
|
748
750
|
qe as default
|
|
749
751
|
};
|
|
750
|
-
//# sourceMappingURL=SysConfig-
|
|
752
|
+
//# sourceMappingURL=SysConfig-BGztCR37.js.map
|