@vancone/console-component 0.1.1-beta.27 → 0.1.1-beta.28
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/package.json
CHANGED
|
@@ -26,7 +26,7 @@ var xe = (e, t, o) => new Promise((n, s) => {
|
|
|
26
26
|
}, a = (i) => i.done ? n(i.value) : Promise.resolve(i.value).then(r, l);
|
|
27
27
|
a((o = o.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { openBlock as p, createElementBlock as A, createElementVNode as y, defineComponent as Se, reactive as de, resolveComponent as O, createVNode as m, withCtx as d, unref as x, Fragment as le, renderList as fe, toDisplayString as D, normalizeStyle as je, ref as V, onMounted as Dt, createBlock as I, createTextVNode as
|
|
29
|
+
import { openBlock as p, createElementBlock as A, createElementVNode as y, defineComponent as Se, reactive as de, resolveComponent as O, createVNode as m, withCtx as d, unref as x, Fragment as le, renderList as fe, toDisplayString as D, normalizeStyle as je, ref as V, onMounted as Dt, createBlock as I, createTextVNode as Y, createCommentVNode as W, nextTick as He, resolveDynamicComponent as st, effectScope as Ft, markRaw as Me, toRaw as We, hasInjectionContext as Co, inject as ko, getCurrentInstance as xo, watch as Oe, isRef as Je, isReactive as _t, toRef as ct, computed as Te, getCurrentScope as Eo, onScopeDispose as Oo, toRefs as xt, createStaticVNode as $o, normalizeClass as Rt, resolveDirective as Gt, withDirectives as Lt } from "vue";
|
|
30
30
|
import { useRoute as Ke, useRouter as it } from "vue-router";
|
|
31
31
|
import Po from "axios";
|
|
32
32
|
import { ElMessage as ut, ElMessageBox as Et } from "element-plus";
|
|
@@ -457,7 +457,7 @@ const En = { class: "header" }, On = { class: "title" }, $n = { class: "right" }
|
|
|
457
457
|
command: U.id
|
|
458
458
|
}, {
|
|
459
459
|
default: d(() => [
|
|
460
|
-
|
|
460
|
+
Y(D(U.name), 1)
|
|
461
461
|
]),
|
|
462
462
|
_: 2
|
|
463
463
|
}, 1032, ["command"]))), 256)),
|
|
@@ -466,7 +466,7 @@ const En = { class: "header" }, On = { class: "title" }, $n = { class: "right" }
|
|
|
466
466
|
command: "allProjects"
|
|
467
467
|
}, {
|
|
468
468
|
default: d(() => G[2] || (G[2] = [
|
|
469
|
-
|
|
469
|
+
Y("全部项目")
|
|
470
470
|
])),
|
|
471
471
|
_: 1
|
|
472
472
|
})
|
|
@@ -476,7 +476,7 @@ const En = { class: "header" }, On = { class: "title" }, $n = { class: "right" }
|
|
|
476
476
|
]),
|
|
477
477
|
default: d(() => [
|
|
478
478
|
y("span", null, [
|
|
479
|
-
|
|
479
|
+
Y(D(f.name) + " ", 1),
|
|
480
480
|
m(ee, { class: "el-icon--right" }, {
|
|
481
481
|
default: d(() => [
|
|
482
482
|
m(x(zt))
|
|
@@ -583,7 +583,7 @@ const En = { class: "header" }, On = { class: "title" }, $n = { class: "right" }
|
|
|
583
583
|
default: d(() => [
|
|
584
584
|
m(C, { onClick: Z }, {
|
|
585
585
|
default: d(() => [
|
|
586
|
-
|
|
586
|
+
Y(D(x(t)("common.header.userCenter")), 1)
|
|
587
587
|
]),
|
|
588
588
|
_: 1
|
|
589
589
|
}),
|
|
@@ -635,7 +635,7 @@ const En = { class: "header" }, On = { class: "title" }, $n = { class: "right" }
|
|
|
635
635
|
}, 8, ["virtual-ref"]),
|
|
636
636
|
m(C, { onClick: q }, {
|
|
637
637
|
default: d(() => [
|
|
638
|
-
|
|
638
|
+
Y(D(x(t)("common.header.signOut")), 1)
|
|
639
639
|
]),
|
|
640
640
|
_: 1
|
|
641
641
|
})
|
|
@@ -1987,7 +1987,7 @@ function Ts(e, t) {
|
|
|
1987
1987
|
t[3] || (t[3] = y("h1", null, "You have no permission to access the page.", -1)),
|
|
1988
1988
|
m(o, { type: "primary" }, {
|
|
1989
1989
|
default: d(() => t[1] || (t[1] = [
|
|
1990
|
-
|
|
1990
|
+
Y("Apply")
|
|
1991
1991
|
])),
|
|
1992
1992
|
_: 1
|
|
1993
1993
|
}),
|
|
@@ -1995,7 +1995,7 @@ function Ts(e, t) {
|
|
|
1995
1995
|
onClick: t[0] || (t[0] = (n) => e.$router.go(-1))
|
|
1996
1996
|
}, {
|
|
1997
1997
|
default: d(() => t[2] || (t[2] = [
|
|
1998
|
-
|
|
1998
|
+
Y("Go Back")
|
|
1999
1999
|
])),
|
|
2000
2000
|
_: 1
|
|
2001
2001
|
})
|
|
@@ -2125,11 +2125,11 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2125
2125
|
var P, u, c, C, $, L, U, T, g, j, H, _, k;
|
|
2126
2126
|
if (r[S.prop] = null, S.visible !== !1 && ((P = S.formItemAttributes) == null ? void 0 : P.visible) !== !1) {
|
|
2127
2127
|
if (((u = S.formItemAttributes) == null ? void 0 : u.defaultValue) !== void 0 ? r[S.prop] = (c = S.formItemAttributes) == null ? void 0 : c.defaultValue : r[S.prop] = void 0, s.mode !== "view") {
|
|
2128
|
-
let
|
|
2129
|
-
|
|
2128
|
+
let K = (C = S.formItemAttributes) == null ? void 0 : C.validationRule;
|
|
2129
|
+
K !== void 0 && (h[S.prop] = K), ze(i), Object.assign(i, h);
|
|
2130
2130
|
}
|
|
2131
|
-
const v = S.formItemAttributes,
|
|
2132
|
-
if (
|
|
2131
|
+
const v = S.formItemAttributes, J = v == null ? void 0 : v.type, z = ($ = v == null ? void 0 : v.selectAttributes) == null ? void 0 : $.useDatableDict, te = (L = v == null ? void 0 : v.selectAttributes) == null ? void 0 : L.dictId, ne = (U = v == null ? void 0 : v.selectAttributes) == null ? void 0 : U.api, se = (T = v == null ? void 0 : v.selectAttributes) == null ? void 0 : T.valueMappingField, Q = (g = v == null ? void 0 : v.selectAttributes) == null ? void 0 : g.labelMappingField;
|
|
2132
|
+
if (J === "select") {
|
|
2133
2133
|
if (z) {
|
|
2134
2134
|
let re = `${Te(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${te}`;
|
|
2135
2135
|
const ce = (j = v == null ? void 0 : v.selectAttributes) == null ? void 0 : j.queryParamName, me = (H = v == null ? void 0 : v.selectAttributes) == null ? void 0 : H.queryParamValueField;
|
|
@@ -2144,9 +2144,9 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2144
2144
|
}
|
|
2145
2145
|
});
|
|
2146
2146
|
} else if (ne) {
|
|
2147
|
-
let
|
|
2147
|
+
let K = ne;
|
|
2148
2148
|
const re = (_ = v == null ? void 0 : v.selectAttributes) == null ? void 0 : _.queryParamName, ce = (k = v == null ? void 0 : v.selectAttributes) == null ? void 0 : k.queryParamValueField;
|
|
2149
|
-
re && (
|
|
2149
|
+
re && (K = `${K}?${re}=${s.id}`), ce || Ce(K, "GET", {}).then(({ data: me }) => {
|
|
2150
2150
|
var he;
|
|
2151
2151
|
if ((he = S.formItemAttributes) != null && he.selectAttributes) {
|
|
2152
2152
|
let oe = [];
|
|
@@ -2267,7 +2267,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2267
2267
|
label: Z(g)
|
|
2268
2268
|
}, {
|
|
2269
2269
|
default: d(() => {
|
|
2270
|
-
var j, H, _, k, v,
|
|
2270
|
+
var j, H, _, k, v, J, z, te, ne, se, Q, K, re, ce, me, he;
|
|
2271
2271
|
return [
|
|
2272
2272
|
R("input", g) ? (p(), I(S, {
|
|
2273
2273
|
key: 0,
|
|
@@ -2295,7 +2295,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2295
2295
|
key: 4,
|
|
2296
2296
|
filterable: (_ = (H = g.formItemAttributes) == null ? void 0 : H.selectAttributes) == null ? void 0 : _.allowCreate,
|
|
2297
2297
|
"allow-create": (v = (k = g.formItemAttributes) == null ? void 0 : k.selectAttributes) == null ? void 0 : v.allowCreate,
|
|
2298
|
-
"default-first-option": (z = (
|
|
2298
|
+
"default-first-option": (z = (J = g.formItemAttributes) == null ? void 0 : J.selectAttributes) == null ? void 0 : z.allowCreate,
|
|
2299
2299
|
modelValue: r[g.prop],
|
|
2300
2300
|
"onUpdate:modelValue": (oe) => r[g.prop] = oe,
|
|
2301
2301
|
disabled: ie(g),
|
|
@@ -2317,7 +2317,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2317
2317
|
modelValue: r[g.prop],
|
|
2318
2318
|
"onUpdate:modelValue": (oe) => r[g.prop] = oe,
|
|
2319
2319
|
min: (se = (ne = (te = g.formItemAttributes) == null ? void 0 : te.inputNumber) == null ? void 0 : ne.min) != null ? se : Number.NEGATIVE_INFINITY,
|
|
2320
|
-
max: (re = (
|
|
2320
|
+
max: (re = (K = (Q = g.formItemAttributes) == null ? void 0 : Q.inputNumber) == null ? void 0 : K.max) != null ? re : Number.POSITIVE_INFINITY,
|
|
2321
2321
|
step: (he = (me = (ce = g.formItemAttributes) == null ? void 0 : ce.inputNumber) == null ? void 0 : me.step) != null ? he : 1,
|
|
2322
2322
|
"value-on-clear": -10
|
|
2323
2323
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "step"])) : W("", !0)
|
|
@@ -2385,7 +2385,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2385
2385
|
onClick: (R) => ie.function(a.value.formData)
|
|
2386
2386
|
}, {
|
|
2387
2387
|
default: d(() => [
|
|
2388
|
-
|
|
2388
|
+
Y(D(x(n)(ie.label)), 1)
|
|
2389
2389
|
]),
|
|
2390
2390
|
_: 2
|
|
2391
2391
|
}, 1032, ["onClick"]))), 256))
|
|
@@ -2393,7 +2393,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2393
2393
|
y("div", null, [
|
|
2394
2394
|
m(F, { onClick: f }, {
|
|
2395
2395
|
default: d(() => [
|
|
2396
|
-
|
|
2396
|
+
Y(D(x(n)("common.basic.cancel")), 1)
|
|
2397
2397
|
]),
|
|
2398
2398
|
_: 1
|
|
2399
2399
|
}),
|
|
@@ -2402,7 +2402,7 @@ const Gs = /* @__PURE__ */ ye(Fs, [["render", Rs]]), Ls = { class: "card-wrapper
|
|
|
2402
2402
|
onClick: w
|
|
2403
2403
|
}, {
|
|
2404
2404
|
default: d(() => [
|
|
2405
|
-
|
|
2405
|
+
Y(D(x(n)("common.basic.save")), 1)
|
|
2406
2406
|
]),
|
|
2407
2407
|
_: 1
|
|
2408
2408
|
})
|
|
@@ -2481,22 +2481,22 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2481
2481
|
function ee(_, k) {
|
|
2482
2482
|
var te, ne, se, Q;
|
|
2483
2483
|
let v = k.row[_.prop];
|
|
2484
|
-
const
|
|
2485
|
-
if (
|
|
2486
|
-
v =
|
|
2484
|
+
const J = (ne = (te = _.tableColumnAttributes) == null ? void 0 : te.functions) == null ? void 0 : ne.transformValue, z = (se = _.tableColumnAttributes) == null ? void 0 : se.transformValueMappings;
|
|
2485
|
+
if (J)
|
|
2486
|
+
v = J(v);
|
|
2487
2487
|
else if (z && z.length > 0) {
|
|
2488
|
-
for (let
|
|
2489
|
-
if (v ===
|
|
2490
|
-
v = o(
|
|
2488
|
+
for (let K of z)
|
|
2489
|
+
if (v === K.value) {
|
|
2490
|
+
v = o(K.label);
|
|
2491
2491
|
break;
|
|
2492
2492
|
}
|
|
2493
2493
|
} else if (((Q = _.formItemAttributes) == null ? void 0 : Q.type) === "select") {
|
|
2494
|
-
const
|
|
2495
|
-
if (
|
|
2496
|
-
if (
|
|
2497
|
-
v = k.row[
|
|
2498
|
-
else if (
|
|
2499
|
-
for (let re of
|
|
2494
|
+
const K = _.formItemAttributes.selectAttributes;
|
|
2495
|
+
if (K) {
|
|
2496
|
+
if (K.viewModeLabelField)
|
|
2497
|
+
v = k.row[K.viewModeLabelField];
|
|
2498
|
+
else if (K.options && K.options.length > 0) {
|
|
2499
|
+
for (let re of K.options)
|
|
2500
2500
|
if (re.value === k.row[_.prop]) {
|
|
2501
2501
|
v = re.label;
|
|
2502
2502
|
break;
|
|
@@ -2507,17 +2507,17 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2507
2507
|
return v;
|
|
2508
2508
|
}
|
|
2509
2509
|
function b(_, k) {
|
|
2510
|
-
var v,
|
|
2511
|
-
return _.label ? o(_.label) : (
|
|
2510
|
+
var v, J;
|
|
2511
|
+
return _.label ? o(_.label) : (J = (v = _.functions) == null ? void 0 : v.transformLabel) == null ? void 0 : J.call(v, k.$index, k.row);
|
|
2512
2512
|
}
|
|
2513
2513
|
function h(_) {
|
|
2514
2514
|
ze(n.model), Object.assign(n.model, _);
|
|
2515
2515
|
}
|
|
2516
2516
|
function S() {
|
|
2517
|
-
var k, v,
|
|
2517
|
+
var k, v, J;
|
|
2518
2518
|
if (Z.value = !0, !n.model || !n.model.api)
|
|
2519
2519
|
return;
|
|
2520
|
-
ze(r), r.showPane = !0, Object.assign(r, (k = n.model.tableConfig) != null ? k : {}), s.splice(0, s.length, ...n.model.fields), l.value = (v = n.model.route) != null ? v : "", a.value = (
|
|
2520
|
+
ze(r), r.showPane = !0, Object.assign(r, (k = n.model.tableConfig) != null ? k : {}), s.splice(0, s.length, ...n.model.fields), l.value = (v = n.model.route) != null ? v : "", a.value = (J = n.model.useI18n) != null ? J : !0;
|
|
2521
2521
|
let _ = Xe({}, r.queryParams);
|
|
2522
2522
|
_.pageSize = R.pageSize, _.pageNo = R.pageNo, _.search = w.value, Ce(n.model.api, "GET", _).then(({ data: z }) => {
|
|
2523
2523
|
const { list: te, totalCount: ne } = z.data;
|
|
@@ -2547,9 +2547,9 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2547
2547
|
if (((_ = r.functions) == null ? void 0 : _.batchDelete) !== void 0)
|
|
2548
2548
|
(k = r.functions) == null || k.batchDelete(q.value);
|
|
2549
2549
|
else {
|
|
2550
|
-
const v = q.value.map((
|
|
2551
|
-
ve.delete(`${n.model.api}/${v.join(",")}`).then(({ data:
|
|
2552
|
-
|
|
2550
|
+
const v = q.value.map((J) => J.id);
|
|
2551
|
+
ve.delete(`${n.model.api}/${v.join(",")}`).then(({ data: J }) => {
|
|
2552
|
+
J.code === 0 && (i.value = !1, S());
|
|
2553
2553
|
});
|
|
2554
2554
|
}
|
|
2555
2555
|
M.value.clearSelection();
|
|
@@ -2572,10 +2572,11 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2572
2572
|
}) : (ie.value = k.id, F.value = "update", i.value = !0);
|
|
2573
2573
|
}
|
|
2574
2574
|
function U() {
|
|
2575
|
-
|
|
2575
|
+
var v;
|
|
2576
|
+
let _ = ((v = n.model.api) != null && v.startsWith("http") ? "" : window.location.origin) + n.model.api + "/export";
|
|
2576
2577
|
const k = r.queryParams;
|
|
2577
|
-
k !== void 0 && Object.keys(k).length > 0 && (_ += "?", Object.entries(r.queryParams).map((
|
|
2578
|
-
_ += `${
|
|
2578
|
+
k !== void 0 && Object.keys(k).length > 0 && (_ += "?", Object.entries(r.queryParams).map((J) => {
|
|
2579
|
+
_ += `${J[0]}=${J[1]}&`;
|
|
2579
2580
|
})), window.open(_);
|
|
2580
2581
|
}
|
|
2581
2582
|
function T(_) {
|
|
@@ -2607,9 +2608,9 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2607
2608
|
}), k += "</tr>";
|
|
2608
2609
|
});
|
|
2609
2610
|
let v = `<table><tr>${_}</tr>${k}</table>`;
|
|
2610
|
-
const
|
|
2611
|
-
|
|
2612
|
-
const z =
|
|
2611
|
+
const J = document.createElement("iframe");
|
|
2612
|
+
J.style.display = "none", document.body.appendChild(J);
|
|
2613
|
+
const z = J.contentDocument || ((te = J.contentWindow) == null ? void 0 : te.document);
|
|
2613
2614
|
z == null || z.open(), z == null || z.write(`
|
|
2614
2615
|
<!DOCTYPE html>
|
|
2615
2616
|
<html>
|
|
@@ -2671,13 +2672,13 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2671
2672
|
refresh: S,
|
|
2672
2673
|
updateConfigAndRefresh: h
|
|
2673
2674
|
}), (_, k) => {
|
|
2674
|
-
const v = O("el-checkbox"),
|
|
2675
|
+
const v = O("el-checkbox"), J = O("el-badge"), z = O("el-button"), te = O("el-dropdown-item"), ne = O("el-dropdown-menu"), se = O("el-dropdown"), Q = O("el-icon"), K = O("el-tooltip"), re = O("el-input"), ce = O("el-table-column"), me = O("router-link"), he = O("el-tag"), oe = O("el-popconfirm"), _e = O("el-table"), Ie = O("el-pagination"), go = Gt("loading");
|
|
2675
2676
|
return p(), A("div", {
|
|
2676
2677
|
class: Rt({ "table-view-wrapper": r.showPane })
|
|
2677
2678
|
}, [
|
|
2678
2679
|
y("div", tr, [
|
|
2679
2680
|
y("div", or, [
|
|
2680
|
-
r.selectMode ? (p(), I(
|
|
2681
|
+
r.selectMode ? (p(), I(J, {
|
|
2681
2682
|
key: 0,
|
|
2682
2683
|
value: q.value.length,
|
|
2683
2684
|
type: "primary",
|
|
@@ -2701,7 +2702,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2701
2702
|
default: d(() => {
|
|
2702
2703
|
var pe, X;
|
|
2703
2704
|
return [
|
|
2704
|
-
|
|
2705
|
+
Y(D(((pe = r.labels) == null ? void 0 : pe.create) != null ? x(o)((X = r.labels) == null ? void 0 : X.create) : x(o)("common.table.create")), 1)
|
|
2705
2706
|
];
|
|
2706
2707
|
}),
|
|
2707
2708
|
_: 1
|
|
@@ -2716,7 +2717,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2716
2717
|
default: d(() => {
|
|
2717
2718
|
var pe, X;
|
|
2718
2719
|
return [
|
|
2719
|
-
|
|
2720
|
+
Y(D(((pe = r.labels) == null ? void 0 : pe.delete) != null ? x(o)((X = r.labels) == null ? void 0 : X.delete) : x(o)("common.table.delete")), 1)
|
|
2720
2721
|
];
|
|
2721
2722
|
}),
|
|
2722
2723
|
_: 1
|
|
@@ -2738,7 +2739,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2738
2739
|
disabled: !0
|
|
2739
2740
|
}, {
|
|
2740
2741
|
default: d(() => k[3] || (k[3] = [
|
|
2741
|
-
|
|
2742
|
+
Y("导入")
|
|
2742
2743
|
])),
|
|
2743
2744
|
_: 1
|
|
2744
2745
|
}, 8, ["icon"]),
|
|
@@ -2747,7 +2748,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2747
2748
|
divided: ""
|
|
2748
2749
|
}, {
|
|
2749
2750
|
default: d(() => k[4] || (k[4] = [
|
|
2750
|
-
|
|
2751
|
+
Y("导出选中内容")
|
|
2751
2752
|
])),
|
|
2752
2753
|
_: 1
|
|
2753
2754
|
}, 8, ["icon"]),
|
|
@@ -2756,7 +2757,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2756
2757
|
onClick: U
|
|
2757
2758
|
}, {
|
|
2758
2759
|
default: d(() => k[5] || (k[5] = [
|
|
2759
|
-
|
|
2760
|
+
Y("导出查询结果")
|
|
2760
2761
|
])),
|
|
2761
2762
|
_: 1
|
|
2762
2763
|
}, 8, ["icon"]),
|
|
@@ -2765,7 +2766,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2765
2766
|
divided: ""
|
|
2766
2767
|
}, {
|
|
2767
2768
|
default: d(() => k[6] || (k[6] = [
|
|
2768
|
-
|
|
2769
|
+
Y("任务中心")
|
|
2769
2770
|
])),
|
|
2770
2771
|
_: 1
|
|
2771
2772
|
}, 8, ["icon"])
|
|
@@ -2795,7 +2796,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2795
2796
|
onClick: H
|
|
2796
2797
|
}, {
|
|
2797
2798
|
default: d(() => k[7] || (k[7] = [
|
|
2798
|
-
|
|
2799
|
+
Y("打印")
|
|
2799
2800
|
])),
|
|
2800
2801
|
_: 1
|
|
2801
2802
|
}, 8, ["icon"]),
|
|
@@ -2804,7 +2805,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2804
2805
|
disabled: !0
|
|
2805
2806
|
}, {
|
|
2806
2807
|
default: d(() => k[8] || (k[8] = [
|
|
2807
|
-
|
|
2808
|
+
Y("表格设置")
|
|
2808
2809
|
])),
|
|
2809
2810
|
_: 1
|
|
2810
2811
|
}, 8, ["icon"])
|
|
@@ -2820,7 +2821,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2820
2821
|
]),
|
|
2821
2822
|
_: 1
|
|
2822
2823
|
}),
|
|
2823
|
-
r.tooltip ? (p(), I(
|
|
2824
|
+
r.tooltip ? (p(), I(K, {
|
|
2824
2825
|
key: 3,
|
|
2825
2826
|
effect: "dark",
|
|
2826
2827
|
content: x(o)(r.tooltip),
|
|
@@ -2854,7 +2855,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2854
2855
|
}, 8, ["placeholder", "modelValue"]),
|
|
2855
2856
|
m(z, { type: "text" }, {
|
|
2856
2857
|
default: d(() => k[9] || (k[9] = [
|
|
2857
|
-
|
|
2858
|
+
Y("高级搜索")
|
|
2858
2859
|
])),
|
|
2859
2860
|
_: 1
|
|
2860
2861
|
})
|
|
@@ -2908,7 +2909,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2908
2909
|
}, 1032, ["to"])) : (p(), A("span", sr, D(ee(X, Ve)), 1)),
|
|
2909
2910
|
((wt = X.tableColumnAttributes) == null ? void 0 : wt.type) === "tag" ? (p(), I(he, { key: 3 }, {
|
|
2910
2911
|
default: d(() => [
|
|
2911
|
-
|
|
2912
|
+
Y(D(Ve.row[X.prop]), 1)
|
|
2912
2913
|
]),
|
|
2913
2914
|
_: 2
|
|
2914
2915
|
}, 1024)) : W("", !0)
|
|
@@ -2931,7 +2932,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2931
2932
|
onClick: ($e) => L(X.$index, X.row)
|
|
2932
2933
|
}, {
|
|
2933
2934
|
default: d(() => [
|
|
2934
|
-
|
|
2935
|
+
Y(D(x(o)("common.table.edit")), 1)
|
|
2935
2936
|
]),
|
|
2936
2937
|
_: 2
|
|
2937
2938
|
}, 1032, ["onClick"])) : W("", !0),
|
|
@@ -2947,7 +2948,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2947
2948
|
class: "operation-button"
|
|
2948
2949
|
}, {
|
|
2949
2950
|
default: d(() => [
|
|
2950
|
-
|
|
2951
|
+
Y(D(x(o)("common.table.delete")), 1)
|
|
2951
2952
|
]),
|
|
2952
2953
|
_: 1
|
|
2953
2954
|
})) : W("", !0)
|
|
@@ -2974,7 +2975,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
2974
2975
|
}
|
|
2975
2976
|
}, {
|
|
2976
2977
|
default: d(() => [
|
|
2977
|
-
|
|
2978
|
+
Y(D(b($e, X)), 1)
|
|
2978
2979
|
]),
|
|
2979
2980
|
_: 2
|
|
2980
2981
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -3011,7 +3012,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3011
3012
|
], 2);
|
|
3012
3013
|
};
|
|
3013
3014
|
}
|
|
3014
|
-
}), lt = /* @__PURE__ */ ye(rr, [["__scopeId", "data-v-
|
|
3015
|
+
}), lt = /* @__PURE__ */ ye(rr, [["__scopeId", "data-v-f57808cf"]]), ar = { class: "nav-bar" }, lr = { style: { "font-size": "16px" } }, ir = {
|
|
3015
3016
|
key: 0,
|
|
3016
3017
|
class: "info-card-wrapper"
|
|
3017
3018
|
}, cr = { class: "icon-wrapper" }, ur = { class: "info-wrapper" }, dr = { class: "title-wrapper" }, pr = { class: "tabs-wrapper" }, fr = { class: "dialog-footer" }, mr = /* @__PURE__ */ Se({
|
|
@@ -3149,7 +3150,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3149
3150
|
i.value.refresh();
|
|
3150
3151
|
}
|
|
3151
3152
|
return (u, c) => {
|
|
3152
|
-
var v,
|
|
3153
|
+
var v, J, z, te, ne, se;
|
|
3153
3154
|
const C = O("el-page-header"), $ = O("el-button"), L = O("el-icon"), U = O("el-dropdown-item"), T = O("el-dropdown-menu"), g = O("el-dropdown"), j = O("el-tag"), H = O("el-tab-pane"), _ = O("el-tabs"), k = O("el-dialog");
|
|
3154
3155
|
return p(), A(le, null, [
|
|
3155
3156
|
y("div", ar, [
|
|
@@ -3173,21 +3174,21 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3173
3174
|
onClick: S
|
|
3174
3175
|
}, {
|
|
3175
3176
|
default: d(() => [
|
|
3176
|
-
|
|
3177
|
+
Y(D(x(t)("common.table.edit")), 1)
|
|
3177
3178
|
]),
|
|
3178
3179
|
_: 1
|
|
3179
3180
|
}),
|
|
3180
|
-
((
|
|
3181
|
+
((J = (v = B.pageConfig) == null ? void 0 : v.detailPage) == null ? void 0 : J.operationButtons) !== void 0 ? (p(), I(g, { key: 0 }, {
|
|
3181
3182
|
dropdown: d(() => [
|
|
3182
3183
|
m(T, null, {
|
|
3183
3184
|
default: d(() => {
|
|
3184
|
-
var Q,
|
|
3185
|
+
var Q, K;
|
|
3185
3186
|
return [
|
|
3186
|
-
(p(!0), A(le, null, fe((
|
|
3187
|
+
(p(!0), A(le, null, fe((K = (Q = B.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : K.operationButtons, (re) => (p(), I(U, {
|
|
3187
3188
|
onClick: (ce) => re.function(i.value.formData)
|
|
3188
3189
|
}, {
|
|
3189
3190
|
default: d(() => [
|
|
3190
|
-
|
|
3191
|
+
Y(D(x(t)(re.label)), 1)
|
|
3191
3192
|
]),
|
|
3192
3193
|
_: 2
|
|
3193
3194
|
}, 1032, ["onClick"]))), 256))
|
|
@@ -3199,7 +3200,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3199
3200
|
default: d(() => [
|
|
3200
3201
|
m($, { style: { margin: "0 10px" } }, {
|
|
3201
3202
|
default: d(() => [
|
|
3202
|
-
|
|
3203
|
+
Y(D(x(t)("common.basic.more")), 1),
|
|
3203
3204
|
m(L, { class: "el-icon--right" }, {
|
|
3204
3205
|
default: d(() => [
|
|
3205
3206
|
m(x(zt))
|
|
@@ -3240,7 +3241,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3240
3241
|
size: "small"
|
|
3241
3242
|
}, {
|
|
3242
3243
|
default: d(() => [
|
|
3243
|
-
|
|
3244
|
+
Y(D(F.value), 1)
|
|
3244
3245
|
]),
|
|
3245
3246
|
_: 1
|
|
3246
3247
|
})) : W("", !0)
|
|
@@ -3255,7 +3256,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3255
3256
|
onTabClick: G
|
|
3256
3257
|
}, {
|
|
3257
3258
|
default: d(() => {
|
|
3258
|
-
var Q,
|
|
3259
|
+
var Q, K;
|
|
3259
3260
|
return [
|
|
3260
3261
|
m(H, {
|
|
3261
3262
|
label: x(t)("common.basic.summary"),
|
|
@@ -3273,7 +3274,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3273
3274
|
]),
|
|
3274
3275
|
_: 1
|
|
3275
3276
|
}, 8, ["label"]),
|
|
3276
|
-
(p(!0), A(le, null, fe((
|
|
3277
|
+
(p(!0), A(le, null, fe((K = (Q = B.pageConfig) == null ? void 0 : Q.detailPage) == null ? void 0 : K.tabs, (re) => {
|
|
3277
3278
|
var ce;
|
|
3278
3279
|
return p(), I(H, {
|
|
3279
3280
|
label: x(t)((ce = re.name) != null ? ce : "")
|
|
@@ -3301,7 +3302,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3301
3302
|
onClick: c[2] || (c[2] = (Q) => l.value = !1)
|
|
3302
3303
|
}, {
|
|
3303
3304
|
default: d(() => [
|
|
3304
|
-
|
|
3305
|
+
Y(D(x(t)("common.basic.cancel")), 1)
|
|
3305
3306
|
]),
|
|
3306
3307
|
_: 1
|
|
3307
3308
|
}),
|
|
@@ -3310,7 +3311,7 @@ const er = { render: Zs }, tr = { class: "toolbar" }, or = { class: "tool-button
|
|
|
3310
3311
|
onClick: ee
|
|
3311
3312
|
}, {
|
|
3312
3313
|
default: d(() => [
|
|
3313
|
-
|
|
3314
|
+
Y(D(x(t)("common.basic.save")), 1)
|
|
3314
3315
|
]),
|
|
3315
3316
|
_: 1
|
|
3316
3317
|
})
|