auto-vue-basic 0.0.80 → 0.0.81
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/auto-vue-basic.es.js +214 -214
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -50,26 +50,26 @@ const dl = /* @__PURE__ */ O({
|
|
|
50
50
|
setup(x, {
|
|
51
51
|
emit: R
|
|
52
52
|
}) {
|
|
53
|
-
const k = R,
|
|
53
|
+
const k = R, V = x, {
|
|
54
54
|
requesting: b
|
|
55
55
|
} = E(Y), {
|
|
56
|
-
value:
|
|
56
|
+
value: g,
|
|
57
57
|
options: c,
|
|
58
58
|
change: i,
|
|
59
59
|
refresh: p,
|
|
60
60
|
filterOptions: n
|
|
61
|
-
} = re(ne(
|
|
61
|
+
} = re(ne(V, "modelValue"), k, {
|
|
62
62
|
key: "TOP_MENU_LIST",
|
|
63
63
|
api: Y,
|
|
64
64
|
url: Y.urls.tops,
|
|
65
65
|
isArray: !0
|
|
66
66
|
});
|
|
67
67
|
return (v, u) => {
|
|
68
|
-
const f = s("el-space"),
|
|
69
|
-
return C(), T(
|
|
68
|
+
const f = s("el-space"), h = s("el-select-v2");
|
|
69
|
+
return C(), T(h, {
|
|
70
70
|
class: "w-full",
|
|
71
|
-
modelValue: e(
|
|
72
|
-
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(
|
|
71
|
+
modelValue: e(g),
|
|
72
|
+
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
|
|
73
73
|
options: e(c),
|
|
74
74
|
multiple: x.multiple,
|
|
75
75
|
disabled: e(b),
|
|
@@ -98,7 +98,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
98
98
|
__name: "MenuFormModal",
|
|
99
99
|
emits: ["refresh"],
|
|
100
100
|
setup(x, { expose: R, emit: k }) {
|
|
101
|
-
const
|
|
101
|
+
const V = k, b = {
|
|
102
102
|
id: 0,
|
|
103
103
|
menu_id: 0,
|
|
104
104
|
module: "",
|
|
@@ -119,7 +119,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
119
119
|
keep_alive: !1,
|
|
120
120
|
link: !1
|
|
121
121
|
}
|
|
122
|
-
},
|
|
122
|
+
}, g = {
|
|
123
123
|
sort: [
|
|
124
124
|
{
|
|
125
125
|
required: !0,
|
|
@@ -163,10 +163,10 @@ const dl = /* @__PURE__ */ O({
|
|
|
163
163
|
trigger: "blur"
|
|
164
164
|
}
|
|
165
165
|
]
|
|
166
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
166
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, Y);
|
|
167
167
|
return R({
|
|
168
168
|
open: f,
|
|
169
|
-
modify:
|
|
169
|
+
modify: h
|
|
170
170
|
}), (w, t) => {
|
|
171
171
|
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), A = s("el-switch"), q = s("el-form");
|
|
172
172
|
return C(), T(e(ee), {
|
|
@@ -184,7 +184,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
184
184
|
ref: p,
|
|
185
185
|
model: e(n),
|
|
186
186
|
"label-width": "auto",
|
|
187
|
-
rules:
|
|
187
|
+
rules: g,
|
|
188
188
|
disabled: e(v) || e(u)
|
|
189
189
|
}, {
|
|
190
190
|
default: o(() => [
|
|
@@ -487,25 +487,25 @@ const dl = /* @__PURE__ */ O({
|
|
|
487
487
|
setup(x, {
|
|
488
488
|
emit: R
|
|
489
489
|
}) {
|
|
490
|
-
const k = R,
|
|
490
|
+
const k = R, V = x, {
|
|
491
491
|
requesting: b
|
|
492
492
|
} = E(Y), {
|
|
493
|
-
value:
|
|
493
|
+
value: g,
|
|
494
494
|
options: c,
|
|
495
495
|
change: i,
|
|
496
496
|
refresh: p,
|
|
497
497
|
filterOptions: n
|
|
498
|
-
} = re(ne(
|
|
498
|
+
} = re(ne(V, "modelValue"), k, {
|
|
499
499
|
key: "MENU_LIST",
|
|
500
500
|
api: Y,
|
|
501
501
|
isArray: !0
|
|
502
502
|
});
|
|
503
503
|
return (v, u) => {
|
|
504
|
-
const f = s("el-space"),
|
|
505
|
-
return C(), T(
|
|
504
|
+
const f = s("el-space"), h = s("el-select-v2");
|
|
505
|
+
return C(), T(h, {
|
|
506
506
|
class: "w-full",
|
|
507
|
-
modelValue: e(
|
|
508
|
-
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(
|
|
507
|
+
modelValue: e(g),
|
|
508
|
+
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
|
|
509
509
|
options: e(c),
|
|
510
510
|
multiple: x.multiple,
|
|
511
511
|
disabled: e(b),
|
|
@@ -534,7 +534,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
534
534
|
__name: "MenuRuleFormModal",
|
|
535
535
|
emits: ["refresh"],
|
|
536
536
|
setup(x, { expose: R, emit: k }) {
|
|
537
|
-
const
|
|
537
|
+
const V = k, b = {
|
|
538
538
|
key: "",
|
|
539
539
|
menu_id: 0,
|
|
540
540
|
sort: 0,
|
|
@@ -542,7 +542,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
542
542
|
en_name: "",
|
|
543
543
|
urls: "",
|
|
544
544
|
remark: ""
|
|
545
|
-
},
|
|
545
|
+
}, g = {
|
|
546
546
|
menu_id: [
|
|
547
547
|
{
|
|
548
548
|
required: !0,
|
|
@@ -580,10 +580,10 @@ const dl = /* @__PURE__ */ O({
|
|
|
580
580
|
trigger: "blur"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
583
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, Le);
|
|
584
584
|
return R({
|
|
585
585
|
open: f,
|
|
586
|
-
modify:
|
|
586
|
+
modify: h
|
|
587
587
|
}), (w, t) => {
|
|
588
588
|
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), A = s("el-form");
|
|
589
589
|
return C(), T(e(ee), {
|
|
@@ -601,7 +601,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
601
601
|
ref: p,
|
|
602
602
|
model: e(n),
|
|
603
603
|
"label-width": "auto",
|
|
604
|
-
rules:
|
|
604
|
+
rules: g,
|
|
605
605
|
disabled: e(v) || e(u)
|
|
606
606
|
}, {
|
|
607
607
|
default: o(() => [
|
|
@@ -719,7 +719,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
719
719
|
const R = {
|
|
720
720
|
keyword: "",
|
|
721
721
|
status: 0
|
|
722
|
-
}, k = N(""),
|
|
722
|
+
}, k = N(""), V = [
|
|
723
723
|
{
|
|
724
724
|
label: a("base.sort"),
|
|
725
725
|
prop: "sort",
|
|
@@ -848,7 +848,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
848
848
|
], {
|
|
849
849
|
requesting: b
|
|
850
850
|
} = E(Y), {
|
|
851
|
-
tableRef:
|
|
851
|
+
tableRef: g,
|
|
852
852
|
formModalRef: c,
|
|
853
853
|
keyword: i,
|
|
854
854
|
search: p,
|
|
@@ -857,7 +857,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
857
857
|
openFormModal: u,
|
|
858
858
|
editFormModal: f
|
|
859
859
|
} = F(R), {
|
|
860
|
-
formModalRef:
|
|
860
|
+
formModalRef: h,
|
|
861
861
|
openFormModal: _,
|
|
862
862
|
editFormModal: D
|
|
863
863
|
} = F(), w = (t) => {
|
|
@@ -919,9 +919,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
919
919
|
})]),
|
|
920
920
|
default: o(() => [l(e(ce), {
|
|
921
921
|
ref_key: "tableRef",
|
|
922
|
-
ref:
|
|
922
|
+
ref: g,
|
|
923
923
|
size: "small",
|
|
924
|
-
columns:
|
|
924
|
+
columns: V,
|
|
925
925
|
url: e(Y).urls[e(Ve)],
|
|
926
926
|
"search-param": e(i),
|
|
927
927
|
"auto-search": ""
|
|
@@ -931,7 +931,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
931
931
|
onRefresh: e(n)
|
|
932
932
|
}, null, 8, ["onRefresh"]), l(il, {
|
|
933
933
|
ref_key: "ruleFormModalRef",
|
|
934
|
-
ref:
|
|
934
|
+
ref: h,
|
|
935
935
|
onRefresh: e(n)
|
|
936
936
|
}, null, 8, ["onRefresh"])]),
|
|
937
937
|
_: 1
|
|
@@ -946,13 +946,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
946
946
|
},
|
|
947
947
|
emits: ["update:modelValue"],
|
|
948
948
|
setup(x, { expose: R, emit: k }) {
|
|
949
|
-
const { requesting:
|
|
949
|
+
const { requesting: V } = E(Y), b = x, g = k, c = N(!1), i = Pe({
|
|
950
950
|
checkAll: !1,
|
|
951
951
|
indeterminate: !1,
|
|
952
952
|
MenuAll: {},
|
|
953
953
|
MenuList: {},
|
|
954
954
|
MenuIndeterminate: {}
|
|
955
|
-
}), { options: p, refresh: n } = re(ne(b, "modelValue"),
|
|
955
|
+
}), { options: p, refresh: n } = re(ne(b, "modelValue"), g, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
956
956
|
function v() {
|
|
957
957
|
p.value.forEach((w) => {
|
|
958
958
|
var t;
|
|
@@ -963,21 +963,21 @@ const jl = /* @__PURE__ */ O({
|
|
|
963
963
|
p.value.forEach((t) => {
|
|
964
964
|
var d;
|
|
965
965
|
(d = t.rules) != null && d.length && (i.MenuList[t.id] = w ? t.rules.map((r) => r.key) : []);
|
|
966
|
-
}),
|
|
966
|
+
}), h();
|
|
967
967
|
}
|
|
968
968
|
function f(w, t) {
|
|
969
969
|
const d = p.value.find((r) => r.id === t);
|
|
970
|
-
i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [],
|
|
970
|
+
i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [], h();
|
|
971
971
|
}
|
|
972
|
-
function
|
|
972
|
+
function h() {
|
|
973
973
|
p.value.forEach((w) => {
|
|
974
974
|
var r, y;
|
|
975
975
|
const t = ((r = w.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[w.id]) == null ? void 0 : y.length) || 0;
|
|
976
976
|
i.MenuAll[w.id] = d === t && t > 0, i.MenuIndeterminate[w.id] = d > 0 && d < t;
|
|
977
|
-
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0),
|
|
977
|
+
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), g("update:modelValue", Object.values(i.MenuList).flat());
|
|
978
978
|
}
|
|
979
979
|
function _() {
|
|
980
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(),
|
|
980
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), g("update:modelValue", []), c.value = !1;
|
|
981
981
|
}
|
|
982
982
|
function D(w) {
|
|
983
983
|
var t;
|
|
@@ -986,7 +986,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
986
986
|
if (Array.isArray(d.rules) && d.rules.length > 0)
|
|
987
987
|
for (let r of d.rules)
|
|
988
988
|
w.some((y) => y === r.key) && (i.MenuList[d.id] = (((t = i.MenuList) == null ? void 0 : t[d.id]) || []).concat([r.key]));
|
|
989
|
-
|
|
989
|
+
h(), c.value = !0;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
return Be(async () => {
|
|
@@ -1022,7 +1022,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1022
1022
|
_: 1
|
|
1023
1023
|
}, 8, ["model-value", "indeterminate", "disabled"]),
|
|
1024
1024
|
l(e(K), {
|
|
1025
|
-
loading: e(
|
|
1025
|
+
loading: e(V),
|
|
1026
1026
|
text: "",
|
|
1027
1027
|
size: "small",
|
|
1028
1028
|
onRefresh: t[0] || (t[0] = (A) => e(n)(!0))
|
|
@@ -1068,7 +1068,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1068
1068
|
"onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
|
|
1069
1069
|
disabled: x.disabled,
|
|
1070
1070
|
style: { margin: "auto" },
|
|
1071
|
-
onChange:
|
|
1071
|
+
onChange: h
|
|
1072
1072
|
}, {
|
|
1073
1073
|
default: o(() => [
|
|
1074
1074
|
(C(!0), I(G, null, ae(A.rules, (q) => (C(), T(d, {
|
|
@@ -1095,14 +1095,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}), qe = (x, R) => {
|
|
1097
1097
|
const k = x.__vccOpts || x;
|
|
1098
|
-
for (const [
|
|
1099
|
-
k[
|
|
1098
|
+
for (const [V, b] of R)
|
|
1099
|
+
k[V] = b;
|
|
1100
1100
|
return k;
|
|
1101
1101
|
}, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
|
|
1102
1102
|
__name: "RoleFormModal",
|
|
1103
1103
|
emits: ["refresh"],
|
|
1104
1104
|
setup(x, { expose: R, emit: k }) {
|
|
1105
|
-
const
|
|
1105
|
+
const V = k, b = N(), g = {
|
|
1106
1106
|
key: "",
|
|
1107
1107
|
module: "",
|
|
1108
1108
|
sort: 0,
|
|
@@ -1125,12 +1125,12 @@ const jl = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open:
|
|
1128
|
+
}, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open: h, modify: _, submit: D, closed: w } = X(V, g, ke), t = () => {
|
|
1129
1129
|
var d;
|
|
1130
1130
|
(d = b.value) == null || d.cleanChecked(), w();
|
|
1131
1131
|
};
|
|
1132
1132
|
return R({
|
|
1133
|
-
open:
|
|
1133
|
+
open: h,
|
|
1134
1134
|
modify: _
|
|
1135
1135
|
}), (d, r) => {
|
|
1136
1136
|
const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), A = s("el-input-number"), q = s("el-row"), M = s("el-form");
|
|
@@ -1305,10 +1305,10 @@ const jl = /* @__PURE__ */ O({
|
|
|
1305
1305
|
}, null)
|
|
1306
1306
|
}
|
|
1307
1307
|
], {
|
|
1308
|
-
requesting:
|
|
1308
|
+
requesting: V
|
|
1309
1309
|
} = E(ke), {
|
|
1310
1310
|
tableRef: b,
|
|
1311
|
-
formModalRef:
|
|
1311
|
+
formModalRef: g,
|
|
1312
1312
|
keyword: c,
|
|
1313
1313
|
search: i,
|
|
1314
1314
|
reset: p,
|
|
@@ -1316,7 +1316,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1316
1316
|
openFormModal: v,
|
|
1317
1317
|
editFormModal: u
|
|
1318
1318
|
} = F(R);
|
|
1319
|
-
return (f,
|
|
1319
|
+
return (f, h) => {
|
|
1320
1320
|
const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
|
|
1321
1321
|
return C(), T(t, {
|
|
1322
1322
|
class: "basic-card flex-full",
|
|
@@ -1326,7 +1326,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1326
1326
|
class: "basic-header"
|
|
1327
1327
|
}, {
|
|
1328
1328
|
title: o(() => [l(e(K), {
|
|
1329
|
-
loading: e(
|
|
1329
|
+
loading: e(V),
|
|
1330
1330
|
onRefresh: e(p)
|
|
1331
1331
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1332
1332
|
onOpen: e(v)
|
|
@@ -1337,14 +1337,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1337
1337
|
default: o(() => [l(_, {
|
|
1338
1338
|
class: "basic-search-input",
|
|
1339
1339
|
modelValue: e(c).keyword,
|
|
1340
|
-
"onUpdate:modelValue":
|
|
1340
|
+
"onUpdate:modelValue": h[0] || (h[0] = (d) => e(c).keyword = d),
|
|
1341
1341
|
placeholder: e(a)("placeholder.keyword"),
|
|
1342
1342
|
clearable: "",
|
|
1343
|
-
onKeyup:
|
|
1344
|
-
onClear:
|
|
1343
|
+
onKeyup: h[1] || (h[1] = he((d) => e(i)(), ["enter"])),
|
|
1344
|
+
onClear: h[2] || (h[2] = (d) => e(i)())
|
|
1345
1345
|
}, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
|
|
1346
|
-
disabled: e(
|
|
1347
|
-
onSearch:
|
|
1346
|
+
disabled: e(V),
|
|
1347
|
+
onSearch: h[3] || (h[3] = (d) => e(i)())
|
|
1348
1348
|
}, null, 8, ["disabled"])]),
|
|
1349
1349
|
_: 1
|
|
1350
1350
|
})]),
|
|
@@ -1359,7 +1359,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1359
1359
|
"auto-search": ""
|
|
1360
1360
|
}, null, 8, ["url", "search-param"]), l(_l, {
|
|
1361
1361
|
ref_key: "formModalRef",
|
|
1362
|
-
ref:
|
|
1362
|
+
ref: g,
|
|
1363
1363
|
onRefresh: e(n)
|
|
1364
1364
|
}, null, 8, ["onRefresh"])]),
|
|
1365
1365
|
_: 1
|
|
@@ -1396,26 +1396,26 @@ const jl = /* @__PURE__ */ O({
|
|
|
1396
1396
|
setup(x, {
|
|
1397
1397
|
emit: R
|
|
1398
1398
|
}) {
|
|
1399
|
-
const k = R,
|
|
1399
|
+
const k = R, V = x, {
|
|
1400
1400
|
requesting: b
|
|
1401
1401
|
} = E(J), {
|
|
1402
|
-
value:
|
|
1402
|
+
value: g,
|
|
1403
1403
|
options: c,
|
|
1404
1404
|
change: i,
|
|
1405
1405
|
refresh: p,
|
|
1406
1406
|
filterOptions: n
|
|
1407
|
-
} = re(ne(
|
|
1407
|
+
} = re(ne(V, "modelValue"), k, {
|
|
1408
1408
|
key: "I18N_MODULES",
|
|
1409
1409
|
url: J.urls.modules,
|
|
1410
1410
|
api: J,
|
|
1411
1411
|
isArray: !0
|
|
1412
1412
|
});
|
|
1413
1413
|
return (v, u) => {
|
|
1414
|
-
const f = s("el-space"),
|
|
1415
|
-
return C(), T(
|
|
1414
|
+
const f = s("el-space"), h = s("el-select-v2");
|
|
1415
|
+
return C(), T(h, {
|
|
1416
1416
|
class: "w-full",
|
|
1417
|
-
modelValue: e(
|
|
1418
|
-
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(
|
|
1417
|
+
modelValue: e(g),
|
|
1418
|
+
"onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
|
|
1419
1419
|
options: e(c),
|
|
1420
1420
|
multiple: x.multiple,
|
|
1421
1421
|
disabled: e(b),
|
|
@@ -1445,7 +1445,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1445
1445
|
__name: "I18N",
|
|
1446
1446
|
emits: ["refresh"],
|
|
1447
1447
|
setup(x, { expose: R, emit: k }) {
|
|
1448
|
-
const
|
|
1448
|
+
const V = k, b = {
|
|
1449
1449
|
uuid: "",
|
|
1450
1450
|
key: "",
|
|
1451
1451
|
module: void 0,
|
|
@@ -1454,7 +1454,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1454
1454
|
"en-US": ""
|
|
1455
1455
|
},
|
|
1456
1456
|
remark: ""
|
|
1457
|
-
},
|
|
1457
|
+
}, g = {
|
|
1458
1458
|
module: [
|
|
1459
1459
|
{
|
|
1460
1460
|
required: !0,
|
|
@@ -1489,7 +1489,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
1491
|
p();
|
|
1492
|
-
const { modal: n, title: v, form: u, formData: f, requesting:
|
|
1492
|
+
const { modal: n, title: v, form: u, formData: f, requesting: h, executing: _, open: D, modify: w, submit: t, closed: d } = X(V, b, J);
|
|
1493
1493
|
return R({
|
|
1494
1494
|
open: D,
|
|
1495
1495
|
modify: w
|
|
@@ -1510,8 +1510,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1510
1510
|
ref: u,
|
|
1511
1511
|
model: e(f),
|
|
1512
1512
|
"label-width": "auto",
|
|
1513
|
-
rules:
|
|
1514
|
-
disabled: e(
|
|
1513
|
+
rules: g,
|
|
1514
|
+
disabled: e(h) || e(_)
|
|
1515
1515
|
}, {
|
|
1516
1516
|
default: o(() => [
|
|
1517
1517
|
l(m, {
|
|
@@ -1604,7 +1604,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1604
1604
|
expose: R,
|
|
1605
1605
|
emit: k
|
|
1606
1606
|
}) {
|
|
1607
|
-
const
|
|
1607
|
+
const V = N(!1), b = k, g = {
|
|
1608
1608
|
keyword: "",
|
|
1609
1609
|
module: void 0,
|
|
1610
1610
|
status: 0
|
|
@@ -1668,11 +1668,11 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1668
1668
|
formModalRef: v,
|
|
1669
1669
|
keyword: u,
|
|
1670
1670
|
search: f,
|
|
1671
|
-
reset:
|
|
1671
|
+
reset: h,
|
|
1672
1672
|
refresh: _,
|
|
1673
1673
|
openFormModal: D,
|
|
1674
1674
|
editFormModal: w
|
|
1675
|
-
} = F(
|
|
1675
|
+
} = F(g);
|
|
1676
1676
|
function t(y) {
|
|
1677
1677
|
return J.remove({
|
|
1678
1678
|
uuid: y
|
|
@@ -1681,20 +1681,20 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1681
1681
|
});
|
|
1682
1682
|
}
|
|
1683
1683
|
const d = () => {
|
|
1684
|
-
|
|
1684
|
+
V.value = !0;
|
|
1685
1685
|
};
|
|
1686
1686
|
function r(y) {
|
|
1687
|
-
b("choosed", y)
|
|
1687
|
+
b("choosed", y);
|
|
1688
1688
|
}
|
|
1689
|
-
return Re(() =>
|
|
1689
|
+
return Re(() => V.value, (y) => {
|
|
1690
1690
|
y || b("closed");
|
|
1691
1691
|
}), R({
|
|
1692
1692
|
open: d
|
|
1693
1693
|
}), (y, m) => {
|
|
1694
1694
|
const S = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
|
|
1695
1695
|
return C(), T(e(fe), {
|
|
1696
|
-
modelValue:
|
|
1697
|
-
"onUpdate:modelValue": m[7] || (m[7] = (U) =>
|
|
1696
|
+
modelValue: V.value,
|
|
1697
|
+
"onUpdate:modelValue": m[7] || (m[7] = (U) => V.value = U),
|
|
1698
1698
|
width: "880px",
|
|
1699
1699
|
"show-close": !1,
|
|
1700
1700
|
class: "basic-drawer"
|
|
@@ -1704,7 +1704,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1704
1704
|
}, {
|
|
1705
1705
|
title: o(() => [l(e(K), {
|
|
1706
1706
|
loading: e(i),
|
|
1707
|
-
onRefresh: e(
|
|
1707
|
+
onRefresh: e(h)
|
|
1708
1708
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1709
1709
|
onOpen: e(D),
|
|
1710
1710
|
disabled: e(i)
|
|
@@ -1772,7 +1772,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1772
1772
|
__name: "template",
|
|
1773
1773
|
emits: ["refresh"],
|
|
1774
1774
|
setup(x, { expose: R, emit: k }) {
|
|
1775
|
-
const { formModalRef:
|
|
1775
|
+
const { formModalRef: V, openFormModal: b } = F(), g = k, c = N("600px"), i = N({
|
|
1776
1776
|
"zh-CN": "primary",
|
|
1777
1777
|
"en-US": "success"
|
|
1778
1778
|
}), p = N({}), n = {
|
|
@@ -1803,7 +1803,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1803
1803
|
trigger: "change"
|
|
1804
1804
|
}
|
|
1805
1805
|
]
|
|
1806
|
-
}, { modal: u, title: f, form:
|
|
1806
|
+
}, { modal: u, title: f, form: h, formData: _, requesting: D, executing: w, open: t, modify: d, submit: r, closed: y } = X(g, n, te);
|
|
1807
1807
|
function m() {
|
|
1808
1808
|
c.value = "1080px", b();
|
|
1809
1809
|
}
|
|
@@ -1868,7 +1868,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1868
1868
|
default: o(() => [
|
|
1869
1869
|
l(Ne, {
|
|
1870
1870
|
ref_key: "form",
|
|
1871
|
-
ref:
|
|
1871
|
+
ref: h,
|
|
1872
1872
|
model: e(_),
|
|
1873
1873
|
"label-width": "auto",
|
|
1874
1874
|
rules: v,
|
|
@@ -1968,7 +1968,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1968
1968
|
}, 8, ["model", "disabled"]),
|
|
1969
1969
|
l(Oe, {
|
|
1970
1970
|
ref_key: "I18nTableDrawerRef",
|
|
1971
|
-
ref:
|
|
1971
|
+
ref: V,
|
|
1972
1972
|
onChoosed: A,
|
|
1973
1973
|
onClosed: S
|
|
1974
1974
|
}, null, 512)
|
|
@@ -2059,10 +2059,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2059
2059
|
}, null)]
|
|
2060
2060
|
})
|
|
2061
2061
|
}], {
|
|
2062
|
-
requesting:
|
|
2062
|
+
requesting: V,
|
|
2063
2063
|
executing: b
|
|
2064
2064
|
} = E(te), {
|
|
2065
|
-
formModalRef:
|
|
2065
|
+
formModalRef: g,
|
|
2066
2066
|
openFormModal: c
|
|
2067
2067
|
} = F(), {
|
|
2068
2068
|
tableRef: i,
|
|
@@ -2071,7 +2071,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2071
2071
|
search: v,
|
|
2072
2072
|
reset: u,
|
|
2073
2073
|
refresh: f,
|
|
2074
|
-
openFormModal:
|
|
2074
|
+
openFormModal: h,
|
|
2075
2075
|
editFormModal: _
|
|
2076
2076
|
} = F(R);
|
|
2077
2077
|
function D(d) {
|
|
@@ -2101,10 +2101,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2101
2101
|
class: "basic-header"
|
|
2102
2102
|
}, {
|
|
2103
2103
|
title: o(() => [l(e(K), {
|
|
2104
|
-
loading: e(
|
|
2104
|
+
loading: e(V),
|
|
2105
2105
|
onRefresh: e(u)
|
|
2106
2106
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2107
|
-
onOpen: e(
|
|
2107
|
+
onOpen: e(h)
|
|
2108
2108
|
}, null, 8, ["onOpen"])]),
|
|
2109
2109
|
content: o(() => [l(A, {
|
|
2110
2110
|
class: "search-bar"
|
|
@@ -2113,7 +2113,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2113
2113
|
class: "basic-search-input",
|
|
2114
2114
|
modelValue: e(n).keyword,
|
|
2115
2115
|
"onUpdate:modelValue": r[0] || (r[0] = (U) => e(n).keyword = U),
|
|
2116
|
-
disabled: e(
|
|
2116
|
+
disabled: e(V) || e(b),
|
|
2117
2117
|
placeholder: e(a)("placeholder.keyword"),
|
|
2118
2118
|
clearable: "",
|
|
2119
2119
|
onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
|
|
@@ -2122,13 +2122,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2122
2122
|
modelValue: e(n).app,
|
|
2123
2123
|
"onUpdate:modelValue": r[3] || (r[3] = (U) => e(n).app = U),
|
|
2124
2124
|
"cache-key": "I18NAPPS",
|
|
2125
|
-
disabled: e(
|
|
2125
|
+
disabled: e(V) || e(b),
|
|
2126
2126
|
url: e(te).urls.apps,
|
|
2127
2127
|
onChange: r[4] || (r[4] = (U) => e(v)())
|
|
2128
2128
|
}, null, 8, ["modelValue", "disabled", "url"]), l(S, {
|
|
2129
2129
|
modelValue: e(n).status,
|
|
2130
2130
|
"onUpdate:modelValue": r[5] || (r[5] = (U) => e(n).status = U),
|
|
2131
|
-
disabled: e(
|
|
2131
|
+
disabled: e(V) || e(b),
|
|
2132
2132
|
onChange: r[6] || (r[6] = (U) => e(v)())
|
|
2133
2133
|
}, {
|
|
2134
2134
|
default: o(() => [(C(), I(G, null, ae([0, 1, 2], (U) => l(m, {
|
|
@@ -2138,7 +2138,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2138
2138
|
}, null, 8, ["label", "value"])), 64))]),
|
|
2139
2139
|
_: 1
|
|
2140
2140
|
}, 8, ["modelValue", "disabled"]), l(e(oe), {
|
|
2141
|
-
disabled: e(
|
|
2141
|
+
disabled: e(V) || e(b),
|
|
2142
2142
|
onSearch: r[7] || (r[7] = (U) => e(v)())
|
|
2143
2143
|
}, null, 8, ["disabled"])]),
|
|
2144
2144
|
_: 1
|
|
@@ -2174,7 +2174,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2174
2174
|
"auto-search": ""
|
|
2175
2175
|
}, null, 8, ["url", "search-param"]), l(Oe, {
|
|
2176
2176
|
ref_key: "I18nTableDrawerRef",
|
|
2177
|
-
ref:
|
|
2177
|
+
ref: g,
|
|
2178
2178
|
onRefresh: e(f)
|
|
2179
2179
|
}, null, 8, ["onRefresh"]), l(yl, {
|
|
2180
2180
|
ref_key: "formModalRef",
|
|
@@ -2189,7 +2189,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2189
2189
|
__name: "AdminFormModal",
|
|
2190
2190
|
emits: ["refresh"],
|
|
2191
2191
|
setup(x, { expose: R, emit: k }) {
|
|
2192
|
-
const
|
|
2192
|
+
const V = k, b = {
|
|
2193
2193
|
key: "",
|
|
2194
2194
|
username: "",
|
|
2195
2195
|
password: "",
|
|
@@ -2198,7 +2198,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2198
2198
|
language: "zh-CN",
|
|
2199
2199
|
remark: "",
|
|
2200
2200
|
roles: []
|
|
2201
|
-
}, { modal:
|
|
2201
|
+
}, { modal: g, title: c, form: i, formData: p, requesting: n, executing: v, open: u, modify: f, submit: h, closed: _ } = X(V, b, ve), D = {
|
|
2202
2202
|
username: [
|
|
2203
2203
|
{
|
|
2204
2204
|
required: !0,
|
|
@@ -2255,13 +2255,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2255
2255
|
}), (d, r) => {
|
|
2256
2256
|
const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), A = s("el-radio-group"), q = s("el-checkbox"), M = s("el-checkbox-group"), L = s("el-form");
|
|
2257
2257
|
return C(), T(e(ee), {
|
|
2258
|
-
modelValue: e(
|
|
2259
|
-
"onUpdate:modelValue": r[7] || (r[7] = (U) => P(
|
|
2258
|
+
modelValue: e(g),
|
|
2259
|
+
"onUpdate:modelValue": r[7] || (r[7] = (U) => P(g) ? g.value = U : null),
|
|
2260
2260
|
title: e(c)(),
|
|
2261
2261
|
width: "600px",
|
|
2262
2262
|
executing: e(v),
|
|
2263
2263
|
onClosed: e(_),
|
|
2264
|
-
onSubmit: e(
|
|
2264
|
+
onSubmit: e(h)
|
|
2265
2265
|
}, {
|
|
2266
2266
|
default: o(() => [
|
|
2267
2267
|
l(L, {
|
|
@@ -2463,10 +2463,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2463
2463
|
})
|
|
2464
2464
|
}, null)
|
|
2465
2465
|
}], {
|
|
2466
|
-
requesting:
|
|
2466
|
+
requesting: V
|
|
2467
2467
|
} = E(ve), {
|
|
2468
2468
|
tableRef: b,
|
|
2469
|
-
formModalRef:
|
|
2469
|
+
formModalRef: g,
|
|
2470
2470
|
keyword: c,
|
|
2471
2471
|
search: i,
|
|
2472
2472
|
reset: p,
|
|
@@ -2474,7 +2474,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2474
2474
|
openFormModal: v,
|
|
2475
2475
|
editFormModal: u
|
|
2476
2476
|
} = F(R);
|
|
2477
|
-
return (f,
|
|
2477
|
+
return (f, h) => {
|
|
2478
2478
|
const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
|
|
2479
2479
|
return C(), T(t, {
|
|
2480
2480
|
class: "basic-card flex-full",
|
|
@@ -2484,7 +2484,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2484
2484
|
class: "basic-header"
|
|
2485
2485
|
}, {
|
|
2486
2486
|
title: o(() => [l(e(K), {
|
|
2487
|
-
loading: e(
|
|
2487
|
+
loading: e(V),
|
|
2488
2488
|
onRefresh: e(p)
|
|
2489
2489
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2490
2490
|
onOpen: e(v)
|
|
@@ -2495,14 +2495,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2495
2495
|
default: o(() => [l(_, {
|
|
2496
2496
|
class: "basic-search-input",
|
|
2497
2497
|
modelValue: e(c).keyword,
|
|
2498
|
-
"onUpdate:modelValue":
|
|
2498
|
+
"onUpdate:modelValue": h[0] || (h[0] = (d) => e(c).keyword = d),
|
|
2499
2499
|
placeholder: e(a)("placeholder.keyword"),
|
|
2500
2500
|
clearable: "",
|
|
2501
|
-
onKeyup:
|
|
2502
|
-
onClear:
|
|
2501
|
+
onKeyup: h[1] || (h[1] = he((d) => e(i)(), ["enter"])),
|
|
2502
|
+
onClear: h[2] || (h[2] = (d) => e(i)())
|
|
2503
2503
|
}, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
|
|
2504
|
-
disabled: e(
|
|
2505
|
-
onSearch:
|
|
2504
|
+
disabled: e(V),
|
|
2505
|
+
onSearch: h[3] || (h[3] = (d) => e(i)())
|
|
2506
2506
|
}, null, 8, ["disabled"])]),
|
|
2507
2507
|
_: 1
|
|
2508
2508
|
})]),
|
|
@@ -2518,7 +2518,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2518
2518
|
"auto-search": ""
|
|
2519
2519
|
}, null, 8, ["url", "search-param"]), l(wl, {
|
|
2520
2520
|
ref_key: "formModalRef",
|
|
2521
|
-
ref:
|
|
2521
|
+
ref: g,
|
|
2522
2522
|
onRefresh: e(n)
|
|
2523
2523
|
}, null, 8, ["onRefresh"])]),
|
|
2524
2524
|
_: 1
|
|
@@ -2544,14 +2544,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2544
2544
|
expose: R,
|
|
2545
2545
|
emit: k
|
|
2546
2546
|
}) {
|
|
2547
|
-
const
|
|
2548
|
-
requesting:
|
|
2547
|
+
const V = k, b = x, {
|
|
2548
|
+
requesting: g
|
|
2549
2549
|
} = E(be), {
|
|
2550
2550
|
key: c,
|
|
2551
2551
|
options: i,
|
|
2552
2552
|
refresh: p,
|
|
2553
2553
|
change: n
|
|
2554
|
-
} = re(ne(b, "modelValue"),
|
|
2554
|
+
} = re(ne(b, "modelValue"), V, {
|
|
2555
2555
|
key: "DOMAIN_LIST",
|
|
2556
2556
|
api: be,
|
|
2557
2557
|
isArray: !0
|
|
@@ -2562,14 +2562,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2562
2562
|
const f = s("el-select-v2");
|
|
2563
2563
|
return C(), T(f, {
|
|
2564
2564
|
modelValue: e(c),
|
|
2565
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2565
|
+
"onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
|
|
2566
2566
|
options: e(i),
|
|
2567
|
-
disabled: x.disabled || e(
|
|
2567
|
+
disabled: x.disabled || e(g),
|
|
2568
2568
|
placeholder: e(a)("base.select config.domain"),
|
|
2569
2569
|
onChange: e(n)
|
|
2570
2570
|
}, {
|
|
2571
2571
|
prefix: o(() => [l(e(me), {
|
|
2572
|
-
loading: e(
|
|
2572
|
+
loading: e(g),
|
|
2573
2573
|
onRefresh: e(p)
|
|
2574
2574
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2575
2575
|
_: 1
|
|
@@ -2580,7 +2580,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2580
2580
|
__name: "SiteFormModal",
|
|
2581
2581
|
emits: ["refresh"],
|
|
2582
2582
|
setup(x, { expose: R, emit: k }) {
|
|
2583
|
-
const
|
|
2583
|
+
const V = k, b = {
|
|
2584
2584
|
id: 0,
|
|
2585
2585
|
domain_id: 0,
|
|
2586
2586
|
prefix: "",
|
|
@@ -2590,15 +2590,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2590
2590
|
git: "",
|
|
2591
2591
|
status: 1,
|
|
2592
2592
|
remark: ""
|
|
2593
|
-
},
|
|
2593
|
+
}, g = {
|
|
2594
2594
|
domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
|
|
2595
2595
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2596
2596
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2597
2597
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2598
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
2598
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ue);
|
|
2599
2599
|
return R({
|
|
2600
2600
|
open: f,
|
|
2601
|
-
modify:
|
|
2601
|
+
modify: h
|
|
2602
2602
|
}), (w, t) => {
|
|
2603
2603
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
|
|
2604
2604
|
return C(), T(e(ee), {
|
|
@@ -2616,7 +2616,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2616
2616
|
ref: p,
|
|
2617
2617
|
model: e(n),
|
|
2618
2618
|
"label-width": "auto",
|
|
2619
|
-
rules:
|
|
2619
|
+
rules: g,
|
|
2620
2620
|
disabled: e(v) || e(u)
|
|
2621
2621
|
}, {
|
|
2622
2622
|
default: o(() => [
|
|
@@ -2742,14 +2742,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2742
2742
|
expose: R,
|
|
2743
2743
|
emit: k
|
|
2744
2744
|
}) {
|
|
2745
|
-
const
|
|
2746
|
-
requesting:
|
|
2745
|
+
const V = k, b = x, {
|
|
2746
|
+
requesting: g
|
|
2747
2747
|
} = E(ge), {
|
|
2748
2748
|
key: c,
|
|
2749
2749
|
options: i,
|
|
2750
2750
|
refresh: p,
|
|
2751
2751
|
change: n
|
|
2752
|
-
} = re(ne(b, "modelValue"),
|
|
2752
|
+
} = re(ne(b, "modelValue"), V, {
|
|
2753
2753
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2754
2754
|
api: ge,
|
|
2755
2755
|
isArray: !0
|
|
@@ -2760,14 +2760,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2760
2760
|
const f = s("el-select-v2");
|
|
2761
2761
|
return C(), T(f, {
|
|
2762
2762
|
modelValue: e(c),
|
|
2763
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2763
|
+
"onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
|
|
2764
2764
|
options: e(i),
|
|
2765
|
-
disabled: x.disabled || e(
|
|
2765
|
+
disabled: x.disabled || e(g),
|
|
2766
2766
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2767
2767
|
onChange: e(n)
|
|
2768
2768
|
}, {
|
|
2769
2769
|
prefix: o(() => [l(e(me), {
|
|
2770
|
-
loading: e(
|
|
2770
|
+
loading: e(g),
|
|
2771
2771
|
onRefresh: e(p)
|
|
2772
2772
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2773
2773
|
_: 1
|
|
@@ -2778,20 +2778,20 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2778
2778
|
__name: "DomainFormModal",
|
|
2779
2779
|
emits: ["refresh"],
|
|
2780
2780
|
setup(x, { expose: R, emit: k }) {
|
|
2781
|
-
const
|
|
2781
|
+
const V = k, b = {
|
|
2782
2782
|
id: 0,
|
|
2783
2783
|
provider_id: 0,
|
|
2784
2784
|
name: "",
|
|
2785
2785
|
expired_at: "",
|
|
2786
2786
|
status: 1,
|
|
2787
2787
|
remark: ""
|
|
2788
|
-
},
|
|
2788
|
+
}, g = {
|
|
2789
2789
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2790
2790
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2791
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
2791
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, be);
|
|
2792
2792
|
return R({
|
|
2793
2793
|
open: f,
|
|
2794
|
-
modify:
|
|
2794
|
+
modify: h
|
|
2795
2795
|
}), (w, t) => {
|
|
2796
2796
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
|
|
2797
2797
|
return C(), T(e(ee), {
|
|
@@ -2809,7 +2809,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2809
2809
|
ref: p,
|
|
2810
2810
|
model: e(n),
|
|
2811
2811
|
"label-width": "auto",
|
|
2812
|
-
rules:
|
|
2812
|
+
rules: g,
|
|
2813
2813
|
disabled: e(v) || e(u)
|
|
2814
2814
|
}, {
|
|
2815
2815
|
default: o(() => [
|
|
@@ -2900,14 +2900,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2900
2900
|
expose: R,
|
|
2901
2901
|
emit: k
|
|
2902
2902
|
}) {
|
|
2903
|
-
const
|
|
2904
|
-
requesting:
|
|
2903
|
+
const V = k, b = x, {
|
|
2904
|
+
requesting: g
|
|
2905
2905
|
} = E(ue), {
|
|
2906
2906
|
key: c,
|
|
2907
2907
|
options: i,
|
|
2908
2908
|
refresh: p,
|
|
2909
2909
|
change: n
|
|
2910
|
-
} = re(ne(b, "modelValue"),
|
|
2910
|
+
} = re(ne(b, "modelValue"), V, {
|
|
2911
2911
|
key: "SITE_LIST",
|
|
2912
2912
|
api: ue,
|
|
2913
2913
|
isArray: !0
|
|
@@ -2927,14 +2927,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2927
2927
|
const f = s("el-select-v2");
|
|
2928
2928
|
return C(), T(f, {
|
|
2929
2929
|
modelValue: e(c),
|
|
2930
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2930
|
+
"onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
|
|
2931
2931
|
options: e(i),
|
|
2932
|
-
disabled: x.disabled || e(
|
|
2932
|
+
disabled: x.disabled || e(g),
|
|
2933
2933
|
placeholder: e(a)("base.select config.domain"),
|
|
2934
2934
|
onChange: e(n)
|
|
2935
2935
|
}, {
|
|
2936
2936
|
prefix: o(() => [l(e(me), {
|
|
2937
|
-
loading: e(
|
|
2937
|
+
loading: e(g),
|
|
2938
2938
|
onRefresh: e(p)
|
|
2939
2939
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2940
2940
|
_: 1
|
|
@@ -2945,7 +2945,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2945
2945
|
__name: "SSLFormModal",
|
|
2946
2946
|
emits: ["refresh"],
|
|
2947
2947
|
setup(x, { expose: R, emit: k }) {
|
|
2948
|
-
const
|
|
2948
|
+
const V = k, b = {
|
|
2949
2949
|
id: 0,
|
|
2950
2950
|
domain_id: void 0,
|
|
2951
2951
|
client: "Lego",
|
|
@@ -2955,17 +2955,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2955
2955
|
email: "",
|
|
2956
2956
|
encryption: "RSA2048",
|
|
2957
2957
|
remark: ""
|
|
2958
|
-
},
|
|
2958
|
+
}, g = {
|
|
2959
2959
|
domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
|
|
2960
2960
|
client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
|
|
2961
2961
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2962
2962
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2963
2963
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2964
2964
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
2965
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
2965
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ie);
|
|
2966
2966
|
return R({
|
|
2967
2967
|
open: f,
|
|
2968
|
-
modify:
|
|
2968
|
+
modify: h,
|
|
2969
2969
|
formData: n
|
|
2970
2970
|
}), (w, t) => {
|
|
2971
2971
|
const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
|
|
@@ -2984,7 +2984,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2984
2984
|
ref: p,
|
|
2985
2985
|
model: e(n),
|
|
2986
2986
|
"label-width": "auto",
|
|
2987
|
-
rules:
|
|
2987
|
+
rules: g,
|
|
2988
2988
|
disabled: e(v) || e(u)
|
|
2989
2989
|
}, {
|
|
2990
2990
|
default: o(() => [
|
|
@@ -3122,7 +3122,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3122
3122
|
__name: "DomainProviderFormModal",
|
|
3123
3123
|
emits: ["refresh"],
|
|
3124
3124
|
setup(x, { expose: R, emit: k }) {
|
|
3125
|
-
const
|
|
3125
|
+
const V = k, b = {
|
|
3126
3126
|
id: 0,
|
|
3127
3127
|
name: "",
|
|
3128
3128
|
en_name: "",
|
|
@@ -3131,16 +3131,16 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3131
3131
|
end_point: "",
|
|
3132
3132
|
status: 1,
|
|
3133
3133
|
remark: ""
|
|
3134
|
-
},
|
|
3134
|
+
}, g = {
|
|
3135
3135
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
3136
3136
|
en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
|
|
3137
3137
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3138
3138
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3139
3139
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
3140
|
-
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify:
|
|
3140
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ge);
|
|
3141
3141
|
return R({
|
|
3142
3142
|
open: f,
|
|
3143
|
-
modify:
|
|
3143
|
+
modify: h
|
|
3144
3144
|
}), (w, t) => {
|
|
3145
3145
|
const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
|
|
3146
3146
|
return C(), T(e(ee), {
|
|
@@ -3158,7 +3158,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3158
3158
|
ref: p,
|
|
3159
3159
|
model: e(n),
|
|
3160
3160
|
"label-width": "auto",
|
|
3161
|
-
rules:
|
|
3161
|
+
rules: g,
|
|
3162
3162
|
disabled: e(v) || e(u)
|
|
3163
3163
|
}, {
|
|
3164
3164
|
default: o(() => [
|
|
@@ -3261,9 +3261,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3261
3261
|
}) {
|
|
3262
3262
|
const {
|
|
3263
3263
|
requesting: k
|
|
3264
|
-
} = E(ge),
|
|
3264
|
+
} = E(ge), V = N(!1), {
|
|
3265
3265
|
tableRef: b,
|
|
3266
|
-
formModalRef:
|
|
3266
|
+
formModalRef: g,
|
|
3267
3267
|
refresh: c,
|
|
3268
3268
|
openFormModal: i,
|
|
3269
3269
|
editFormModal: p
|
|
@@ -3295,18 +3295,18 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3295
3295
|
}];
|
|
3296
3296
|
return R({
|
|
3297
3297
|
open: () => {
|
|
3298
|
-
|
|
3298
|
+
V.value = !0;
|
|
3299
3299
|
}
|
|
3300
3300
|
}), (u, f) => {
|
|
3301
|
-
const
|
|
3301
|
+
const h = s("el-page-header");
|
|
3302
3302
|
return C(), T(e(fe), {
|
|
3303
|
-
modelValue:
|
|
3304
|
-
"onUpdate:modelValue": f[0] || (f[0] = (_) =>
|
|
3303
|
+
modelValue: V.value,
|
|
3304
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => V.value = _),
|
|
3305
3305
|
width: "400px",
|
|
3306
3306
|
"show-close": !1,
|
|
3307
3307
|
class: "basic-drawer"
|
|
3308
3308
|
}, {
|
|
3309
|
-
title: o(() => [l(
|
|
3309
|
+
title: o(() => [l(h, {
|
|
3310
3310
|
icon: ""
|
|
3311
3311
|
}, {
|
|
3312
3312
|
title: o(() => [B("span", null, z(e(a)("config.domain config.provider")), 1)]),
|
|
@@ -3330,7 +3330,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3330
3330
|
loading: e(k)
|
|
3331
3331
|
}, null, 8, ["url", "loading"]), l(Sl, {
|
|
3332
3332
|
ref_key: "formModalRef",
|
|
3333
|
-
ref:
|
|
3333
|
+
ref: g,
|
|
3334
3334
|
onRefresh: e(c)
|
|
3335
3335
|
}, null, 8, ["onRefresh"])]),
|
|
3336
3336
|
_: 1
|
|
@@ -3344,9 +3344,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3344
3344
|
}) {
|
|
3345
3345
|
const {
|
|
3346
3346
|
requesting: k
|
|
3347
|
-
} = E(be),
|
|
3347
|
+
} = E(be), V = N(!1), {
|
|
3348
3348
|
tableRef: b,
|
|
3349
|
-
formModalRef:
|
|
3349
|
+
formModalRef: g,
|
|
3350
3350
|
refresh: c,
|
|
3351
3351
|
openFormModal: i,
|
|
3352
3352
|
editFormModal: p
|
|
@@ -3356,7 +3356,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3356
3356
|
editFormModal: u
|
|
3357
3357
|
} = F(), {
|
|
3358
3358
|
formModalRef: f,
|
|
3359
|
-
openFormModal:
|
|
3359
|
+
openFormModal: h
|
|
3360
3360
|
} = F(), _ = [{
|
|
3361
3361
|
prop: "provider",
|
|
3362
3362
|
label: a("config.domain config.provider"),
|
|
@@ -3408,13 +3408,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3408
3408
|
}];
|
|
3409
3409
|
return R({
|
|
3410
3410
|
open: () => {
|
|
3411
|
-
|
|
3411
|
+
V.value = !0;
|
|
3412
3412
|
}
|
|
3413
3413
|
}), (w, t) => {
|
|
3414
3414
|
const d = s("el-space"), r = s("el-page-header");
|
|
3415
3415
|
return C(), T(e(fe), {
|
|
3416
|
-
modelValue:
|
|
3417
|
-
"onUpdate:modelValue": t[0] || (t[0] = (y) =>
|
|
3416
|
+
modelValue: V.value,
|
|
3417
|
+
"onUpdate:modelValue": t[0] || (t[0] = (y) => V.value = y),
|
|
3418
3418
|
width: "600px",
|
|
3419
3419
|
"show-close": !1,
|
|
3420
3420
|
class: "basic-drawer"
|
|
@@ -3435,7 +3435,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3435
3435
|
alignment: "center"
|
|
3436
3436
|
}, {
|
|
3437
3437
|
default: o(() => [l(e(j), {
|
|
3438
|
-
onOpen: e(
|
|
3438
|
+
onOpen: e(h),
|
|
3439
3439
|
type: "danger"
|
|
3440
3440
|
}, null, 8, ["onOpen"])]),
|
|
3441
3441
|
_: 1
|
|
@@ -3452,7 +3452,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3452
3452
|
loading: e(k)
|
|
3453
3453
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3454
3454
|
ref_key: "formModalRef",
|
|
3455
|
-
ref:
|
|
3455
|
+
ref: g,
|
|
3456
3456
|
onRefresh: e(c)
|
|
3457
3457
|
}, null, 8, ["onRefresh"]), l(Fe, {
|
|
3458
3458
|
ref_key: "sslFormModalRef",
|
|
@@ -3473,8 +3473,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3473
3473
|
}) {
|
|
3474
3474
|
const {
|
|
3475
3475
|
requesting: k,
|
|
3476
|
-
executing:
|
|
3477
|
-
} = E(ie), b = N(0),
|
|
3476
|
+
executing: V
|
|
3477
|
+
} = E(ie), b = N(0), g = N(!1), {
|
|
3478
3478
|
tableRef: c,
|
|
3479
3479
|
formModalRef: i,
|
|
3480
3480
|
refresh: p,
|
|
@@ -3525,7 +3525,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3525
3525
|
size: "default",
|
|
3526
3526
|
icon: "icon-edit",
|
|
3527
3527
|
t: "",
|
|
3528
|
-
disabled:
|
|
3528
|
+
disabled: V.value,
|
|
3529
3529
|
onModify: () => v({
|
|
3530
3530
|
id: D.id
|
|
3531
3531
|
})
|
|
@@ -3534,23 +3534,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3534
3534
|
icon: "icon-key",
|
|
3535
3535
|
t: "",
|
|
3536
3536
|
text: !0,
|
|
3537
|
-
disabled:
|
|
3537
|
+
disabled: V.value && b.value !== D.id,
|
|
3538
3538
|
loading: b.value == D.id,
|
|
3539
|
-
onClick: () =>
|
|
3539
|
+
onClick: () => h(D.id)
|
|
3540
3540
|
}, null), l(H, {
|
|
3541
3541
|
size: "default",
|
|
3542
3542
|
icon: "icon-cloud-download",
|
|
3543
3543
|
t: "",
|
|
3544
3544
|
text: !0,
|
|
3545
|
-
disabled:
|
|
3545
|
+
disabled: V.value && b.value !== D.id,
|
|
3546
3546
|
loading: b.value == D.id,
|
|
3547
3547
|
onClick: () => _(D)
|
|
3548
3548
|
}, null)]
|
|
3549
3549
|
})
|
|
3550
3550
|
}
|
|
3551
3551
|
], f = () => {
|
|
3552
|
-
|
|
3553
|
-
},
|
|
3552
|
+
g.value = !0;
|
|
3553
|
+
}, h = (D) => {
|
|
3554
3554
|
ie.gen({
|
|
3555
3555
|
id: D
|
|
3556
3556
|
}).then((w) => {
|
|
@@ -3569,8 +3569,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3569
3569
|
}), (D, w) => {
|
|
3570
3570
|
const t = s("el-page-header");
|
|
3571
3571
|
return C(), T(e(fe), {
|
|
3572
|
-
modelValue:
|
|
3573
|
-
"onUpdate:modelValue": w[0] || (w[0] = (d) =>
|
|
3572
|
+
modelValue: g.value,
|
|
3573
|
+
"onUpdate:modelValue": w[0] || (w[0] = (d) => g.value = d),
|
|
3574
3574
|
width: "1000px",
|
|
3575
3575
|
"show-close": !1,
|
|
3576
3576
|
class: "basic-drawer"
|
|
@@ -3617,9 +3617,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3617
3617
|
expose: R
|
|
3618
3618
|
}) {
|
|
3619
3619
|
const k = x, {
|
|
3620
|
-
requesting:
|
|
3620
|
+
requesting: V,
|
|
3621
3621
|
executing: b
|
|
3622
|
-
} = E([De, ie]),
|
|
3622
|
+
} = E([De, ie]), g = N(!1), {
|
|
3623
3623
|
tableRef: c,
|
|
3624
3624
|
refresh: i
|
|
3625
3625
|
} = F(), p = [{
|
|
@@ -3639,7 +3639,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3639
3639
|
label: a("base.result"),
|
|
3640
3640
|
width: 0
|
|
3641
3641
|
}], n = () => {
|
|
3642
|
-
|
|
3642
|
+
g.value = !0;
|
|
3643
3643
|
};
|
|
3644
3644
|
function v() {
|
|
3645
3645
|
ie.gen({
|
|
@@ -3650,18 +3650,18 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3650
3650
|
}
|
|
3651
3651
|
function u() {
|
|
3652
3652
|
const f = Ce.getDownloadUrl(k.ssl.path + ".zip");
|
|
3653
|
-
fetch(f).then((
|
|
3654
|
-
let _ = URL.createObjectURL(
|
|
3655
|
-
D.style.display = "none", D.href = _, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(
|
|
3653
|
+
fetch(f).then((h) => h.blob()).then((h) => {
|
|
3654
|
+
let _ = URL.createObjectURL(h), D = document.createElement("a");
|
|
3655
|
+
D.style.display = "none", D.href = _, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(h);
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
3658
|
return R({
|
|
3659
3659
|
open: n
|
|
3660
|
-
}), (f,
|
|
3660
|
+
}), (f, h) => {
|
|
3661
3661
|
const _ = s("el-page-header");
|
|
3662
3662
|
return C(), T(e(fe), {
|
|
3663
|
-
modelValue:
|
|
3664
|
-
"onUpdate:modelValue":
|
|
3663
|
+
modelValue: g.value,
|
|
3664
|
+
"onUpdate:modelValue": h[0] || (h[0] = (D) => g.value = D),
|
|
3665
3665
|
width: "600px",
|
|
3666
3666
|
"show-close": !1,
|
|
3667
3667
|
class: "basic-drawer"
|
|
@@ -3673,7 +3673,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3673
3673
|
content: o(() => [l(e(K), {
|
|
3674
3674
|
onRefresh: e(i),
|
|
3675
3675
|
size: "default",
|
|
3676
|
-
loading: e(
|
|
3676
|
+
loading: e(V)
|
|
3677
3677
|
}, null, 8, ["onRefresh", "loading"])]),
|
|
3678
3678
|
extra: o(() => [l(e(H), {
|
|
3679
3679
|
size: "default",
|
|
@@ -3699,7 +3699,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3699
3699
|
"row-key": "id",
|
|
3700
3700
|
url: e(De).urls.search,
|
|
3701
3701
|
columns: p,
|
|
3702
|
-
loading: e(
|
|
3702
|
+
loading: e(V)
|
|
3703
3703
|
}, null, 8, ["url", "loading"])]),
|
|
3704
3704
|
_: 1
|
|
3705
3705
|
}, 8, ["modelValue"]);
|
|
@@ -3710,10 +3710,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3710
3710
|
setup(x) {
|
|
3711
3711
|
const R = N(), {
|
|
3712
3712
|
requesting: k,
|
|
3713
|
-
executing:
|
|
3713
|
+
executing: V
|
|
3714
3714
|
} = E(ue), {
|
|
3715
3715
|
tableRef: b,
|
|
3716
|
-
formModalRef:
|
|
3716
|
+
formModalRef: g,
|
|
3717
3717
|
reset: c,
|
|
3718
3718
|
refresh: i,
|
|
3719
3719
|
openFormModal: p,
|
|
@@ -3723,7 +3723,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3723
3723
|
openFormModal: u
|
|
3724
3724
|
} = F(), {
|
|
3725
3725
|
formModalRef: f,
|
|
3726
|
-
openFormModal:
|
|
3726
|
+
openFormModal: h
|
|
3727
3727
|
} = F(), {
|
|
3728
3728
|
formModalRef: _,
|
|
3729
3729
|
openFormModal: D
|
|
@@ -3796,8 +3796,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3796
3796
|
type: "primary",
|
|
3797
3797
|
size: "small",
|
|
3798
3798
|
link: !0,
|
|
3799
|
-
disabled:
|
|
3800
|
-
loading: t.value == r.id &&
|
|
3799
|
+
disabled: V.value,
|
|
3800
|
+
loading: t.value == r.id && V.value,
|
|
3801
3801
|
onClick: () => d(r)
|
|
3802
3802
|
}, null)]
|
|
3803
3803
|
})
|
|
@@ -3842,7 +3842,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3842
3842
|
onOpen: e(u),
|
|
3843
3843
|
icon: "icon-compass"
|
|
3844
3844
|
}, null, 8, ["onOpen"]), l(e(j), {
|
|
3845
|
-
onOpen: e(
|
|
3845
|
+
onOpen: e(h),
|
|
3846
3846
|
icon: "icon-safetycertificate-f"
|
|
3847
3847
|
}, null, 8, ["onOpen"])]),
|
|
3848
3848
|
_: 1
|
|
@@ -3857,7 +3857,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3857
3857
|
columns: w
|
|
3858
3858
|
}, null, 8, ["url"]), l(Rl, {
|
|
3859
3859
|
ref_key: "formModalRef",
|
|
3860
|
-
ref:
|
|
3860
|
+
ref: g,
|
|
3861
3861
|
onRefresh: e(i)
|
|
3862
3862
|
}, null, 8, ["onRefresh"]), l(Ll, {
|
|
3863
3863
|
ref_key: "domainTableDrawerRef",
|
|
@@ -3902,16 +3902,16 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3902
3902
|
align: "left",
|
|
3903
3903
|
width: 200
|
|
3904
3904
|
}], {
|
|
3905
|
-
requesting:
|
|
3905
|
+
requesting: V
|
|
3906
3906
|
} = E(pe), {
|
|
3907
3907
|
tableRef: b,
|
|
3908
|
-
keyword:
|
|
3908
|
+
keyword: g,
|
|
3909
3909
|
search: c,
|
|
3910
3910
|
reset: i
|
|
3911
3911
|
} = F(R);
|
|
3912
3912
|
return (p, n) => {
|
|
3913
|
-
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"),
|
|
3914
|
-
return C(), T(
|
|
3913
|
+
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
|
|
3914
|
+
return C(), T(h, {
|
|
3915
3915
|
class: "basic-card flex-full",
|
|
3916
3916
|
"body-class": "flex-1"
|
|
3917
3917
|
}, {
|
|
@@ -3919,15 +3919,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3919
3919
|
class: "basic-header"
|
|
3920
3920
|
}, {
|
|
3921
3921
|
title: o(() => [l(e(K), {
|
|
3922
|
-
loading: e(
|
|
3922
|
+
loading: e(V),
|
|
3923
3923
|
onRefresh: e(i)
|
|
3924
3924
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
3925
3925
|
content: o(() => [l(u, {
|
|
3926
3926
|
class: "search-bar"
|
|
3927
3927
|
}, {
|
|
3928
3928
|
default: o(() => [l(v, {
|
|
3929
|
-
modelValue: e(
|
|
3930
|
-
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(
|
|
3929
|
+
modelValue: e(g).dates,
|
|
3930
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
|
|
3931
3931
|
class: "basic-search-datetimerange",
|
|
3932
3932
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3933
3933
|
format: e($).DATE_SHOW_FORMAT,
|
|
@@ -3938,7 +3938,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3938
3938
|
clearable: !1,
|
|
3939
3939
|
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
3940
3940
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
3941
|
-
disabled: e(
|
|
3941
|
+
disabled: e(V),
|
|
3942
3942
|
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
3943
3943
|
}, null, 8, ["disabled"])]),
|
|
3944
3944
|
_: 1
|
|
@@ -3951,7 +3951,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3951
3951
|
size: "small",
|
|
3952
3952
|
columns: k,
|
|
3953
3953
|
url: e(pe).urls.request,
|
|
3954
|
-
"search-param": e(
|
|
3954
|
+
"search-param": e(g),
|
|
3955
3955
|
"auto-search": ""
|
|
3956
3956
|
}, null, 8, ["url", "search-param"])]),
|
|
3957
3957
|
_: 1
|
|
@@ -3980,16 +3980,16 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3980
3980
|
align: "left",
|
|
3981
3981
|
width: 200
|
|
3982
3982
|
}], {
|
|
3983
|
-
requesting:
|
|
3983
|
+
requesting: V
|
|
3984
3984
|
} = E(pe), {
|
|
3985
3985
|
tableRef: b,
|
|
3986
|
-
keyword:
|
|
3986
|
+
keyword: g,
|
|
3987
3987
|
search: c,
|
|
3988
3988
|
reset: i
|
|
3989
3989
|
} = F(R);
|
|
3990
3990
|
return (p, n) => {
|
|
3991
|
-
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"),
|
|
3992
|
-
return C(), T(
|
|
3991
|
+
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
|
|
3992
|
+
return C(), T(h, {
|
|
3993
3993
|
class: "basic-card flex-full",
|
|
3994
3994
|
"body-class": "flex-1"
|
|
3995
3995
|
}, {
|
|
@@ -3997,15 +3997,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3997
3997
|
class: "basic-header"
|
|
3998
3998
|
}, {
|
|
3999
3999
|
title: o(() => [l(e(K), {
|
|
4000
|
-
loading: e(
|
|
4000
|
+
loading: e(V),
|
|
4001
4001
|
onRefresh: e(i)
|
|
4002
4002
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
4003
4003
|
content: o(() => [l(u, {
|
|
4004
4004
|
class: "search-bar"
|
|
4005
4005
|
}, {
|
|
4006
4006
|
default: o(() => [l(v, {
|
|
4007
|
-
modelValue: e(
|
|
4008
|
-
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(
|
|
4007
|
+
modelValue: e(g).dates,
|
|
4008
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
|
|
4009
4009
|
class: "basic-search-daterange",
|
|
4010
4010
|
"value-format": e($).DATE_FORMAT,
|
|
4011
4011
|
format: e($).DATE_FORMAT,
|
|
@@ -4016,7 +4016,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4016
4016
|
clearable: !1,
|
|
4017
4017
|
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
4018
4018
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
4019
|
-
disabled: e(
|
|
4019
|
+
disabled: e(V),
|
|
4020
4020
|
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
4021
4021
|
}, null, 8, ["disabled"])]),
|
|
4022
4022
|
_: 1
|
|
@@ -4029,7 +4029,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4029
4029
|
size: "small",
|
|
4030
4030
|
columns: k,
|
|
4031
4031
|
url: e(pe).urls.error,
|
|
4032
|
-
"search-param": e(
|
|
4032
|
+
"search-param": e(g),
|
|
4033
4033
|
"auto-search": ""
|
|
4034
4034
|
}, null, 8, ["url", "search-param"])]),
|
|
4035
4035
|
_: 1
|
|
@@ -4058,16 +4058,16 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4058
4058
|
align: "left",
|
|
4059
4059
|
width: 200
|
|
4060
4060
|
}], {
|
|
4061
|
-
requesting:
|
|
4061
|
+
requesting: V
|
|
4062
4062
|
} = E(pe), {
|
|
4063
4063
|
tableRef: b,
|
|
4064
|
-
keyword:
|
|
4064
|
+
keyword: g,
|
|
4065
4065
|
search: c,
|
|
4066
4066
|
reset: i
|
|
4067
4067
|
} = F(R);
|
|
4068
4068
|
return (p, n) => {
|
|
4069
|
-
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"),
|
|
4070
|
-
return C(), T(
|
|
4069
|
+
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
|
|
4070
|
+
return C(), T(h, {
|
|
4071
4071
|
class: "basic-card flex-full",
|
|
4072
4072
|
"body-class": "flex-1"
|
|
4073
4073
|
}, {
|
|
@@ -4075,15 +4075,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4075
4075
|
class: "basic-header"
|
|
4076
4076
|
}, {
|
|
4077
4077
|
title: o(() => [l(e(K), {
|
|
4078
|
-
loading: e(
|
|
4078
|
+
loading: e(V),
|
|
4079
4079
|
onRefresh: e(i)
|
|
4080
4080
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
4081
4081
|
content: o(() => [l(u, {
|
|
4082
4082
|
class: "search-bar"
|
|
4083
4083
|
}, {
|
|
4084
4084
|
default: o(() => [l(v, {
|
|
4085
|
-
modelValue: e(
|
|
4086
|
-
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(
|
|
4085
|
+
modelValue: e(g).dates,
|
|
4086
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
|
|
4087
4087
|
class: "basic-search-daterange",
|
|
4088
4088
|
"value-format": e($).DATE_FORMAT,
|
|
4089
4089
|
format: e($).DATE_FORMAT,
|
|
@@ -4094,7 +4094,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4094
4094
|
clearable: !1,
|
|
4095
4095
|
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
4096
4096
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
4097
|
-
disabled: e(
|
|
4097
|
+
disabled: e(V),
|
|
4098
4098
|
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
4099
4099
|
}, null, 8, ["disabled"])]),
|
|
4100
4100
|
_: 1
|
|
@@ -4107,7 +4107,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4107
4107
|
size: "small",
|
|
4108
4108
|
columns: k,
|
|
4109
4109
|
url: e(pe).urls.sql,
|
|
4110
|
-
"search-param": e(
|
|
4110
|
+
"search-param": e(g),
|
|
4111
4111
|
"auto-search": ""
|
|
4112
4112
|
}, null, 8, ["url", "search-param"])]),
|
|
4113
4113
|
_: 1
|