sag-vxe-pc 1.2.9 → 1.2.10
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/sag-vxe-pc.es.js +291 -285
- package/dist/sag-vxe-pc.umd.js +5 -5
- package/package.json +2 -2
package/dist/sag-vxe-pc.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import De, { trim as
|
|
2
|
-
import { inject as
|
|
3
|
-
import { Modal as
|
|
1
|
+
import De, { trim as $e, debounce as _l } from "xe-utils";
|
|
2
|
+
import { inject as fe, ref as E, h as Te, getCurrentInstance as Cl, nextTick as Ke, reactive as te, defineComponent as le, createVNode as $, openBlock as C, createElementBlock as Y, Fragment as Ce, createBlock as j, unref as O, createCommentVNode as A, onMounted as Oe, resolveComponent as W, isRef as Tr, createSlots as bt, withCtx as R, defineAsyncComponent as Sl, computed as xl, createElementVNode as K, toDisplayString as Se, resolveDynamicComponent as Pl, mergeProps as ee, useAttrs as Tl, provide as Aa, useSlots as kl, watch as Ml, withDirectives as qa, createTextVNode as be, renderList as ze, renderSlot as st, vShow as Va, toHandlers as zl, normalizeProps as $l, guardReactiveProps as jl } from "vue";
|
|
3
|
+
import { Modal as Al, notification as yt, message as ql, Spin as Vl } from "ant-design-vue";
|
|
4
4
|
import N from "dayjs";
|
|
5
5
|
const at = "SAG_VXE_PAGE$", et = {
|
|
6
6
|
set: () => {
|
|
@@ -57,19 +57,19 @@ Object.assign(et, El(window.localStorage));
|
|
|
57
57
|
const s = (e) => !(e === void 0 || e === null || typeof e == "string" && e === "" || typeof e == "object" && Array.isArray(e) && e.length === 0), Ne = (e) => e === void 0 || e === null ? !0 : e, rt = (e) => s(e) ? e + "$" : "", kr = "DICT_TYPE", St = (e, n, t) => {
|
|
58
58
|
Bl(e, kr, n, t);
|
|
59
59
|
}, xt = (e, n) => Fl(e, kr, n), Mr = "COLUMNS_SWITCH", Rl = (e, n, t) => {
|
|
60
|
-
|
|
61
|
-
}, Nl = (e, n) =>
|
|
62
|
-
|
|
63
|
-
}, Ll = (e, n) =>
|
|
60
|
+
$r(e, Mr, n, t);
|
|
61
|
+
}, Nl = (e, n) => jr(e, Mr, n), zr = "FORM_PARAMS", Da = (e, n, t) => {
|
|
62
|
+
$r(e, zr, n, t);
|
|
63
|
+
}, Ll = (e, n) => jr(e, zr, n), Bl = (e, n, t, r) => {
|
|
64
64
|
const a = at + rt(e) + n, l = sessionStorage.getItem(a), o = s(l) ? JSON.parse(l) : {};
|
|
65
65
|
o[t] = r, sessionStorage.setItem(a, JSON.stringify(o));
|
|
66
66
|
}, Fl = (e, n, t) => {
|
|
67
67
|
const r = at + rt(e) + n, a = sessionStorage.getItem(r);
|
|
68
68
|
return s(a) ? JSON.parse(a)[t] : null;
|
|
69
|
-
},
|
|
69
|
+
}, $r = (e, n, t, r) => {
|
|
70
70
|
const a = rt(e) + n, l = et.get(a), o = s(l) ? l : {};
|
|
71
71
|
o[t] = r, et.set(a, o);
|
|
72
|
-
},
|
|
72
|
+
}, jr = (e, n, t) => {
|
|
73
73
|
const r = rt(e) + n, a = et.get(r);
|
|
74
74
|
return s(a) ? a[t] : null;
|
|
75
75
|
};
|
|
@@ -78,7 +78,7 @@ function Pt(e) {
|
|
|
78
78
|
console[e]("[sag-vxe-pc]" + n, t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const ne = Pt("log"),
|
|
81
|
+
const ne = Pt("log"), Ar = Pt("warn"), lt = Pt("error"), Qe = {
|
|
82
82
|
ExcelJS: null,
|
|
83
83
|
FileSaver: null
|
|
84
84
|
}, P = {
|
|
@@ -571,7 +571,7 @@ const ne = Pt("log"), $r = Pt("warn"), lt = Pt("error"), Qe = {
|
|
|
571
571
|
}, Ot = (e, n, t, r, a, l) => {
|
|
572
572
|
const o = Object.assign({}, r);
|
|
573
573
|
Object.assign(o, a), Object.keys(o).forEach((i) => {
|
|
574
|
-
typeof o[i] == "string" && (o[i] =
|
|
574
|
+
typeof o[i] == "string" && (o[i] = $e(o[i])), typeof a[i] == "object" && s(a[i]) && l && l.value[i] && l.value[i].getRefType && l.value[i].getRefType() === "dateRange" && (o["begin" + i.substring(0, 1).toUpperCase() + i.substring(1, i.length)] = a[i][0], o["end" + i.substring(0, 1).toUpperCase() + i.substring(1, i.length)] = a[i][1], o[i] = null);
|
|
575
575
|
}), o.pageModel = {
|
|
576
576
|
pageNo: e.currentPage,
|
|
577
577
|
pageSize: e.pageSize,
|
|
@@ -588,7 +588,7 @@ const ne = Pt("log"), $r = Pt("warn"), lt = Pt("error"), Qe = {
|
|
|
588
588
|
}, mo = (e, n, t, r) => {
|
|
589
589
|
const a = Object.assign({}, t);
|
|
590
590
|
Object.assign(a, r), Object.keys(a).forEach((o) => {
|
|
591
|
-
typeof a[o] == "string" && (a[o] =
|
|
591
|
+
typeof a[o] == "string" && (a[o] = $e(a[o]));
|
|
592
592
|
});
|
|
593
593
|
const l = e[0];
|
|
594
594
|
return l && (a.sorts = {
|
|
@@ -687,9 +687,9 @@ function wo(e, n, t, r) {
|
|
|
687
687
|
return r && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
|
|
688
688
|
}
|
|
689
689
|
function Na(e) {
|
|
690
|
-
return
|
|
690
|
+
return ce(e) / 255;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function ce(e) {
|
|
693
693
|
return parseInt(e, 16);
|
|
694
694
|
}
|
|
695
695
|
var La = {
|
|
@@ -876,26 +876,26 @@ function So(e) {
|
|
|
876
876
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
877
877
|
var t = ve.rgb.exec(e);
|
|
878
878
|
return t ? { r: t[1], g: t[2], b: t[3] } : (t = ve.rgba.exec(e), t ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = ve.hsl.exec(e), t ? { h: t[1], s: t[2], l: t[3] } : (t = ve.hsla.exec(e), t ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = ve.hsv.exec(e), t ? { h: t[1], s: t[2], v: t[3] } : (t = ve.hsva.exec(e), t ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = ve.hex8.exec(e), t ? {
|
|
879
|
-
r:
|
|
880
|
-
g:
|
|
881
|
-
b:
|
|
879
|
+
r: ce(t[1]),
|
|
880
|
+
g: ce(t[2]),
|
|
881
|
+
b: ce(t[3]),
|
|
882
882
|
a: Na(t[4]),
|
|
883
883
|
format: n ? "name" : "hex8"
|
|
884
884
|
} : (t = ve.hex6.exec(e), t ? {
|
|
885
|
-
r:
|
|
886
|
-
g:
|
|
887
|
-
b:
|
|
885
|
+
r: ce(t[1]),
|
|
886
|
+
g: ce(t[2]),
|
|
887
|
+
b: ce(t[3]),
|
|
888
888
|
format: n ? "name" : "hex"
|
|
889
889
|
} : (t = ve.hex4.exec(e), t ? {
|
|
890
|
-
r:
|
|
891
|
-
g:
|
|
892
|
-
b:
|
|
890
|
+
r: ce(t[1] + t[1]),
|
|
891
|
+
g: ce(t[2] + t[2]),
|
|
892
|
+
b: ce(t[3] + t[3]),
|
|
893
893
|
a: Na(t[4] + t[4]),
|
|
894
894
|
format: n ? "name" : "hex8"
|
|
895
895
|
} : (t = ve.hex3.exec(e), t ? {
|
|
896
|
-
r:
|
|
897
|
-
g:
|
|
898
|
-
b:
|
|
896
|
+
r: ce(t[1] + t[1]),
|
|
897
|
+
g: ce(t[2] + t[2]),
|
|
898
|
+
b: ce(t[3] + t[3]),
|
|
899
899
|
format: n ? "name" : "hex"
|
|
900
900
|
} : !1)))))))));
|
|
901
901
|
}
|
|
@@ -1011,8 +1011,8 @@ Object.keys(gt).forEach(function(e) {
|
|
|
1011
1011
|
backgroundColor: "#141414"
|
|
1012
1012
|
}), ht[e].primary = ht[e][5];
|
|
1013
1013
|
});
|
|
1014
|
-
var zo = Xe.blue,
|
|
1015
|
-
return
|
|
1014
|
+
var zo = Xe.blue, $o = Symbol("iconContext"), Lr = function() {
|
|
1015
|
+
return fe($o, {
|
|
1016
1016
|
prefixCls: E("anticon"),
|
|
1017
1017
|
rootClassName: E(""),
|
|
1018
1018
|
csp: E()
|
|
@@ -1021,13 +1021,13 @@ var zo = Xe.blue, jo = Symbol("iconContext"), Lr = function() {
|
|
|
1021
1021
|
function Tt() {
|
|
1022
1022
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function jo(e, n) {
|
|
1025
1025
|
return e && e.contains ? e.contains(n) : !1;
|
|
1026
1026
|
}
|
|
1027
|
-
var Ya = "data-vc-order",
|
|
1027
|
+
var Ya = "data-vc-order", Ao = "vc-icon-key", _t = /* @__PURE__ */ new Map();
|
|
1028
1028
|
function Br() {
|
|
1029
1029
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = e.mark;
|
|
1030
|
-
return n ? n.startsWith("data-") ? n : "data-".concat(n) :
|
|
1030
|
+
return n ? n.startsWith("data-") ? n : "data-".concat(n) : Ao;
|
|
1031
1031
|
}
|
|
1032
1032
|
function kt(e) {
|
|
1033
1033
|
if (e.attachTo)
|
|
@@ -1071,7 +1071,7 @@ function Vo(e) {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
function Do(e, n) {
|
|
1073
1073
|
var t = _t.get(e);
|
|
1074
|
-
if (!t || !
|
|
1074
|
+
if (!t || !jo(document, t)) {
|
|
1075
1075
|
var r = Ur("", n), a = r.parentNode;
|
|
1076
1076
|
_t.set(e, a), e.removeChild(r);
|
|
1077
1077
|
}
|
|
@@ -1432,19 +1432,19 @@ var Re = function(n, t) {
|
|
|
1432
1432
|
msTransform: "rotate(".concat(i, "deg)"),
|
|
1433
1433
|
transform: "rotate(".concat(i, "deg)")
|
|
1434
1434
|
} : void 0, x = Hr(f), y = li(x, 2), w = y[0], z = y[1];
|
|
1435
|
-
return
|
|
1435
|
+
return $("span", Xa({
|
|
1436
1436
|
role: "img",
|
|
1437
1437
|
"aria-label": o.name
|
|
1438
1438
|
}, h, {
|
|
1439
1439
|
onClick: m,
|
|
1440
1440
|
class: [S, l],
|
|
1441
1441
|
tabindex: T
|
|
1442
|
-
}), [
|
|
1442
|
+
}), [$(Mt, {
|
|
1443
1443
|
icon: o,
|
|
1444
1444
|
primaryColor: w,
|
|
1445
1445
|
secondaryColor: z,
|
|
1446
1446
|
style: b
|
|
1447
|
-
}, null),
|
|
1447
|
+
}, null), $(ai, null, null)]);
|
|
1448
1448
|
};
|
|
1449
1449
|
Re.props = {
|
|
1450
1450
|
spin: Boolean,
|
|
@@ -1475,7 +1475,7 @@ function pi(e, n, t) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
var zt = function(n, t) {
|
|
1477
1477
|
var r = Za({}, n, t.attrs);
|
|
1478
|
-
return
|
|
1478
|
+
return $(G, Za({}, r, {
|
|
1479
1479
|
icon: mi
|
|
1480
1480
|
}), null);
|
|
1481
1481
|
};
|
|
@@ -1498,15 +1498,15 @@ function Ka(e) {
|
|
|
1498
1498
|
function bi(e, n, t) {
|
|
1499
1499
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1500
1500
|
}
|
|
1501
|
-
var
|
|
1501
|
+
var $t = function(n, t) {
|
|
1502
1502
|
var r = Ka({}, n, t.attrs);
|
|
1503
|
-
return
|
|
1503
|
+
return $(G, Ka({}, r, {
|
|
1504
1504
|
icon: vi
|
|
1505
1505
|
}), null);
|
|
1506
1506
|
};
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
const yi =
|
|
1507
|
+
$t.displayName = "CheckOutlined";
|
|
1508
|
+
$t.inheritAttrs = !1;
|
|
1509
|
+
const yi = $t;
|
|
1510
1510
|
var Oi = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
|
|
1511
1511
|
const wi = Oi;
|
|
1512
1512
|
function er(e) {
|
|
@@ -1523,15 +1523,15 @@ function er(e) {
|
|
|
1523
1523
|
function _i(e, n, t) {
|
|
1524
1524
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1525
1525
|
}
|
|
1526
|
-
var
|
|
1526
|
+
var jt = function(n, t) {
|
|
1527
1527
|
var r = er({}, n, t.attrs);
|
|
1528
|
-
return
|
|
1528
|
+
return $(G, er({}, r, {
|
|
1529
1529
|
icon: wi
|
|
1530
1530
|
}), null);
|
|
1531
1531
|
};
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
const Ci =
|
|
1532
|
+
jt.displayName = "CloseOutlined";
|
|
1533
|
+
jt.inheritAttrs = !1;
|
|
1534
|
+
const Ci = jt;
|
|
1535
1535
|
var Si = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" };
|
|
1536
1536
|
const xi = Si;
|
|
1537
1537
|
function tr(e) {
|
|
@@ -1548,15 +1548,15 @@ function tr(e) {
|
|
|
1548
1548
|
function Pi(e, n, t) {
|
|
1549
1549
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1550
1550
|
}
|
|
1551
|
-
var
|
|
1551
|
+
var At = function(n, t) {
|
|
1552
1552
|
var r = tr({}, n, t.attrs);
|
|
1553
|
-
return
|
|
1553
|
+
return $(G, tr({}, r, {
|
|
1554
1554
|
icon: xi
|
|
1555
1555
|
}), null);
|
|
1556
1556
|
};
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
const Ti =
|
|
1557
|
+
At.displayName = "CopyOutlined";
|
|
1558
|
+
At.inheritAttrs = !1;
|
|
1559
|
+
const Ti = At;
|
|
1560
1560
|
var ki = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, name: "delete", theme: "outlined" };
|
|
1561
1561
|
const Mi = ki;
|
|
1562
1562
|
function nr(e) {
|
|
@@ -1575,15 +1575,15 @@ function zi(e, n, t) {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
var qt = function(n, t) {
|
|
1577
1577
|
var r = nr({}, n, t.attrs);
|
|
1578
|
-
return
|
|
1578
|
+
return $(G, nr({}, r, {
|
|
1579
1579
|
icon: Mi
|
|
1580
1580
|
}), null);
|
|
1581
1581
|
};
|
|
1582
1582
|
qt.displayName = "DeleteOutlined";
|
|
1583
1583
|
qt.inheritAttrs = !1;
|
|
1584
|
-
const
|
|
1585
|
-
var
|
|
1586
|
-
const
|
|
1584
|
+
const $i = qt;
|
|
1585
|
+
var ji = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" };
|
|
1586
|
+
const Ai = ji;
|
|
1587
1587
|
function ar(e) {
|
|
1588
1588
|
for (var n = 1; n < arguments.length; n++) {
|
|
1589
1589
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, r = Object.keys(t);
|
|
@@ -1600,8 +1600,8 @@ function qi(e, n, t) {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
var Vt = function(n, t) {
|
|
1602
1602
|
var r = ar({}, n, t.attrs);
|
|
1603
|
-
return
|
|
1604
|
-
icon:
|
|
1603
|
+
return $(G, ar({}, r, {
|
|
1604
|
+
icon: Ai
|
|
1605
1605
|
}), null);
|
|
1606
1606
|
};
|
|
1607
1607
|
Vt.displayName = "DownOutlined";
|
|
@@ -1625,7 +1625,7 @@ function Ei(e, n, t) {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
var Dt = function(n, t) {
|
|
1627
1627
|
var r = rr({}, n, t.attrs);
|
|
1628
|
-
return
|
|
1628
|
+
return $(G, rr({}, r, {
|
|
1629
1629
|
icon: Di
|
|
1630
1630
|
}), null);
|
|
1631
1631
|
};
|
|
@@ -1650,7 +1650,7 @@ function Bi(e, n, t) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
var Et = function(n, t) {
|
|
1652
1652
|
var r = lr({}, n, t.attrs);
|
|
1653
|
-
return
|
|
1653
|
+
return $(G, lr({}, r, {
|
|
1654
1654
|
icon: Li
|
|
1655
1655
|
}), null);
|
|
1656
1656
|
};
|
|
@@ -1675,7 +1675,7 @@ function Hi(e, n, t) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
var Rt = function(n, t) {
|
|
1677
1677
|
var r = or({}, n, t.attrs);
|
|
1678
|
-
return
|
|
1678
|
+
return $(G, or({}, r, {
|
|
1679
1679
|
icon: Ii
|
|
1680
1680
|
}), null);
|
|
1681
1681
|
};
|
|
@@ -1700,7 +1700,7 @@ function Ji(e, n, t) {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
var Nt = function(n, t) {
|
|
1702
1702
|
var r = ir({}, n, t.attrs);
|
|
1703
|
-
return
|
|
1703
|
+
return $(G, ir({}, r, {
|
|
1704
1704
|
icon: Gi
|
|
1705
1705
|
}), null);
|
|
1706
1706
|
};
|
|
@@ -1725,7 +1725,7 @@ function Ki(e, n, t) {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
var Lt = function(n, t) {
|
|
1727
1727
|
var r = ur({}, n, t.attrs);
|
|
1728
|
-
return
|
|
1728
|
+
return $(G, ur({}, r, {
|
|
1729
1729
|
icon: Zi
|
|
1730
1730
|
}), null);
|
|
1731
1731
|
};
|
|
@@ -1750,7 +1750,7 @@ function au(e, n, t) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
var Bt = function(n, t) {
|
|
1752
1752
|
var r = sr({}, n, t.attrs);
|
|
1753
|
-
return
|
|
1753
|
+
return $(G, sr({}, r, {
|
|
1754
1754
|
icon: nu
|
|
1755
1755
|
}), null);
|
|
1756
1756
|
};
|
|
@@ -1775,7 +1775,7 @@ function iu(e, n, t) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
var Ft = function(n, t) {
|
|
1777
1777
|
var r = cr({}, n, t.attrs);
|
|
1778
|
-
return
|
|
1778
|
+
return $(G, cr({}, r, {
|
|
1779
1779
|
icon: ou
|
|
1780
1780
|
}), null);
|
|
1781
1781
|
};
|
|
@@ -1800,7 +1800,7 @@ function fu(e, n, t) {
|
|
|
1800
1800
|
}
|
|
1801
1801
|
var Ut = function(n, t) {
|
|
1802
1802
|
var r = fr({}, n, t.attrs);
|
|
1803
|
-
return
|
|
1803
|
+
return $(G, fr({}, r, {
|
|
1804
1804
|
icon: cu
|
|
1805
1805
|
}), null);
|
|
1806
1806
|
};
|
|
@@ -1825,7 +1825,7 @@ function gu(e, n, t) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
var It = function(n, t) {
|
|
1827
1827
|
var r = dr({}, n, t.attrs);
|
|
1828
|
-
return
|
|
1828
|
+
return $(G, dr({}, r, {
|
|
1829
1829
|
icon: pu
|
|
1830
1830
|
}), null);
|
|
1831
1831
|
};
|
|
@@ -1850,7 +1850,7 @@ function yu(e, n, t) {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
var Ht = function(n, t) {
|
|
1852
1852
|
var r = mr({}, n, t.attrs);
|
|
1853
|
-
return
|
|
1853
|
+
return $(G, mr({}, r, {
|
|
1854
1854
|
icon: bu
|
|
1855
1855
|
}), null);
|
|
1856
1856
|
};
|
|
@@ -1875,7 +1875,7 @@ function Cu(e, n, t) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
var Yt = function(n, t) {
|
|
1877
1877
|
var r = pr({}, n, t.attrs);
|
|
1878
|
-
return
|
|
1878
|
+
return $(G, pr({}, r, {
|
|
1879
1879
|
icon: _u
|
|
1880
1880
|
}), null);
|
|
1881
1881
|
};
|
|
@@ -1900,7 +1900,7 @@ function Tu(e, n, t) {
|
|
|
1900
1900
|
}
|
|
1901
1901
|
var Wt = function(n, t) {
|
|
1902
1902
|
var r = gr({}, n, t.attrs);
|
|
1903
|
-
return
|
|
1903
|
+
return $(G, gr({}, r, {
|
|
1904
1904
|
icon: Pu
|
|
1905
1905
|
}), null);
|
|
1906
1906
|
};
|
|
@@ -1915,25 +1915,25 @@ function hr(e) {
|
|
|
1915
1915
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
|
|
1916
1916
|
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
1917
1917
|
}))), r.forEach(function(a) {
|
|
1918
|
-
|
|
1918
|
+
$u(e, a, t[a]);
|
|
1919
1919
|
});
|
|
1920
1920
|
}
|
|
1921
1921
|
return e;
|
|
1922
1922
|
}
|
|
1923
|
-
function
|
|
1923
|
+
function $u(e, n, t) {
|
|
1924
1924
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1925
1925
|
}
|
|
1926
1926
|
var Gt = function(n, t) {
|
|
1927
1927
|
var r = hr({}, n, t.attrs);
|
|
1928
|
-
return
|
|
1928
|
+
return $(G, hr({}, r, {
|
|
1929
1929
|
icon: zu
|
|
1930
1930
|
}), null);
|
|
1931
1931
|
};
|
|
1932
1932
|
Gt.displayName = "SaveOutlined";
|
|
1933
1933
|
Gt.inheritAttrs = !1;
|
|
1934
|
-
const
|
|
1935
|
-
var
|
|
1936
|
-
const qu =
|
|
1934
|
+
const ju = Gt;
|
|
1935
|
+
var Au = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z" } }] }, name: "schedule", theme: "outlined" };
|
|
1936
|
+
const qu = Au;
|
|
1937
1937
|
function vr(e) {
|
|
1938
1938
|
for (var n = 1; n < arguments.length; n++) {
|
|
1939
1939
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, r = Object.keys(t);
|
|
@@ -1950,7 +1950,7 @@ function Vu(e, n, t) {
|
|
|
1950
1950
|
}
|
|
1951
1951
|
var Jt = function(n, t) {
|
|
1952
1952
|
var r = vr({}, n, t.attrs);
|
|
1953
|
-
return
|
|
1953
|
+
return $(G, vr({}, r, {
|
|
1954
1954
|
icon: qu
|
|
1955
1955
|
}), null);
|
|
1956
1956
|
};
|
|
@@ -1975,7 +1975,7 @@ function Nu(e, n, t) {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
var Qt = function(n, t) {
|
|
1977
1977
|
var r = br({}, n, t.attrs);
|
|
1978
|
-
return
|
|
1978
|
+
return $(G, br({}, r, {
|
|
1979
1979
|
icon: Ru
|
|
1980
1980
|
}), null);
|
|
1981
1981
|
};
|
|
@@ -2000,7 +2000,7 @@ function Uu(e, n, t) {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
var Xt = function(n, t) {
|
|
2002
2002
|
var r = yr({}, n, t.attrs);
|
|
2003
|
-
return
|
|
2003
|
+
return $(G, yr({}, r, {
|
|
2004
2004
|
icon: Fu
|
|
2005
2005
|
}), null);
|
|
2006
2006
|
};
|
|
@@ -2025,7 +2025,7 @@ function Wu(e, n, t) {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
var Zt = function(n, t) {
|
|
2027
2027
|
var r = Or({}, n, t.attrs);
|
|
2028
|
-
return
|
|
2028
|
+
return $(G, Or({}, r, {
|
|
2029
2029
|
icon: Yu
|
|
2030
2030
|
}), null);
|
|
2031
2031
|
};
|
|
@@ -2050,7 +2050,7 @@ function Xu(e, n, t) {
|
|
|
2050
2050
|
}
|
|
2051
2051
|
var Kt = function(n, t) {
|
|
2052
2052
|
var r = wr({}, n, t.attrs);
|
|
2053
|
-
return
|
|
2053
|
+
return $(G, wr({}, r, {
|
|
2054
2054
|
icon: Qu
|
|
2055
2055
|
}), null);
|
|
2056
2056
|
};
|
|
@@ -2075,7 +2075,7 @@ function ts(e, n, t) {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
var en = function(n, t) {
|
|
2077
2077
|
var r = _r({}, n, t.attrs);
|
|
2078
|
-
return
|
|
2078
|
+
return $(G, _r({}, r, {
|
|
2079
2079
|
icon: es
|
|
2080
2080
|
}), null);
|
|
2081
2081
|
};
|
|
@@ -2100,9 +2100,9 @@ const ns = en, re = (e, n) => s(n) ? n.startsWith("/") ? n : e.endsWith("/") ? e
|
|
|
2100
2100
|
),
|
|
2101
2101
|
Te("div", e)
|
|
2102
2102
|
]) : e;
|
|
2103
|
-
|
|
2103
|
+
Al.confirm({
|
|
2104
2104
|
title: "操作确认",
|
|
2105
|
-
icon:
|
|
2105
|
+
icon: $(Yi),
|
|
2106
2106
|
content: r,
|
|
2107
2107
|
okText: "确认",
|
|
2108
2108
|
cancelText: "取消",
|
|
@@ -2157,7 +2157,7 @@ const ns = en, re = (e, n) => s(n) ? n.startsWith("/") ? n : e.endsWith("/") ? e
|
|
|
2157
2157
|
o && o.commitProxy("query");
|
|
2158
2158
|
}
|
|
2159
2159
|
}).catch(function(l) {
|
|
2160
|
-
n.loading = !1,
|
|
2160
|
+
n.loading = !1, Ar("列表数据请求服务器失败", l);
|
|
2161
2161
|
});
|
|
2162
2162
|
};
|
|
2163
2163
|
function os(e) {
|
|
@@ -2167,7 +2167,7 @@ function os(e) {
|
|
|
2167
2167
|
const p = await k(g);
|
|
2168
2168
|
if (g.requestRow && !s(p))
|
|
2169
2169
|
return;
|
|
2170
|
-
a.onButtonClickModule({ gridRef: n, gridOptions: r, formData: l, item: g, data: p });
|
|
2170
|
+
a.onButtonClickModule({ $gridRef: n.value, gridOptions: r, formData: l, item: g, data: p });
|
|
2171
2171
|
} else
|
|
2172
2172
|
m(l, g);
|
|
2173
2173
|
else {
|
|
@@ -2177,10 +2177,10 @@ function os(e) {
|
|
|
2177
2177
|
g.requestType({ gridRef: n, gridOptions: r, formData: l, item: g, data: p });
|
|
2178
2178
|
}
|
|
2179
2179
|
}, i = (g, p) => {
|
|
2180
|
-
!s(g.requestType) || typeof g.requestType == "string" ? g.requestType === "custom" ? a.onButtonClickModule({ gridRef: n, gridOptions: r, formData: l, item: g, row: p }) : h(g, p) : g.requestType({ gridRef: n, gridOptions: r, formData: l, item: g, row: p });
|
|
2180
|
+
!s(g.requestType) || typeof g.requestType == "string" ? g.requestType === "custom" ? a.onButtonClickModule({ $gridRef: n.value, gridOptions: r, formData: l, item: g, row: p }) : h(g, p) : g.requestType({ gridRef: n, gridOptions: r, formData: l, item: g, row: p });
|
|
2181
2181
|
}, c = (g, p) => {
|
|
2182
2182
|
const S = p.params.requestType;
|
|
2183
|
-
!s(S) || typeof S == "string" ? S === "custom" ? a.onButtonClickModule({ gridRef: n, gridOptions: r, formData: l, column: p, row: g }) : f(g, p) : S({ gridRef: n, gridOptions: r, formData: l, column: p, row: g });
|
|
2183
|
+
!s(S) || typeof S == "string" ? S === "custom" ? a.onButtonClickModule({ $gridRef: n.value, gridOptions: r, formData: l, column: p, row: g }) : f(g, p) : S({ gridRef: n, gridOptions: r, formData: l, column: p, row: g });
|
|
2184
2184
|
}, f = (g, p) => {
|
|
2185
2185
|
if (t.title = H(p.params.title, o.title), t.width = H(p.params.width, o.width), t.height = H(p.params.height, o.height), t.maximize = H(p.params.maximize, !1), t.autoLoad = H(p.params.autoLoad, !1), t.componentType = H(p.params.componentType, o.componentType), t.componentUrl = p.params.requestUrl, t.componentType === "iframe") {
|
|
2186
2186
|
let S = re(a.ctxPath, t.componentUrl);
|
|
@@ -2381,7 +2381,7 @@ function is(e) {
|
|
|
2381
2381
|
};
|
|
2382
2382
|
p(D), a.loading = !1;
|
|
2383
2383
|
} else {
|
|
2384
|
-
const D = Z.rows.concat([]),
|
|
2384
|
+
const D = Z.rows.concat([]), de = {
|
|
2385
2385
|
filename: i.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2386
2386
|
sheetName: i.templateTitle,
|
|
2387
2387
|
type: "xlsx",
|
|
@@ -2391,11 +2391,11 @@ function is(e) {
|
|
|
2391
2391
|
isFooter: f.isFooter,
|
|
2392
2392
|
isMerge: f.isMerge,
|
|
2393
2393
|
columnFilterMethod(xe) {
|
|
2394
|
-
var
|
|
2395
|
-
return !P.templateTable.ignoreExportColumnsTitle.includes((
|
|
2394
|
+
var je;
|
|
2395
|
+
return !P.templateTable.ignoreExportColumnsTitle.includes((je = xe == null ? void 0 : xe.column) == null ? void 0 : je.title);
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
|
-
ne("导出参数",
|
|
2398
|
+
ne("导出参数", de), y.exportData(de).then(() => {
|
|
2399
2399
|
a.loading = !1;
|
|
2400
2400
|
});
|
|
2401
2401
|
}
|
|
@@ -2443,30 +2443,30 @@ const Je = /* @__PURE__ */ le({
|
|
|
2443
2443
|
setup(e) {
|
|
2444
2444
|
const n = e;
|
|
2445
2445
|
return (t, r) => (C(), Y(Ce, null, [
|
|
2446
|
-
n.icon === "user" ? (C(),
|
|
2447
|
-
n.icon === "excel" ? (C(),
|
|
2448
|
-
n.icon === "download" ? (C(),
|
|
2449
|
-
n.icon === "save" ? (C(),
|
|
2450
|
-
n.icon === "edit" ? (C(),
|
|
2451
|
-
n.icon === "delete" ? (C(),
|
|
2452
|
-
n.icon === "down" ? (C(),
|
|
2453
|
-
n.icon === "up" ? (C(),
|
|
2454
|
-
n.icon === "undo" ? (C(),
|
|
2455
|
-
n.icon === "redo" ? (C(),
|
|
2456
|
-
n.icon === "copy" ? (C(),
|
|
2457
|
-
n.icon === "print" ? (C(),
|
|
2458
|
-
n.icon === "plus" ? (C(),
|
|
2459
|
-
n.icon === "minus" ? (C(),
|
|
2460
|
-
n.icon === "info" ? (C(),
|
|
2461
|
-
n.icon === "audit" ? (C(),
|
|
2462
|
-
n.icon === "schedule" ? (C(),
|
|
2463
|
-
n.icon === "close" ? (C(),
|
|
2464
|
-
n.icon === "stop" ? (C(),
|
|
2465
|
-
n.icon === "check" ? (C(),
|
|
2466
|
-
n.icon === "setting" ? (C(),
|
|
2467
|
-
n.icon === "menu" ? (C(),
|
|
2468
|
-
n.icon === "pdf" ? (C(),
|
|
2469
|
-
!n.icon || n.icon === "" ? (C(),
|
|
2446
|
+
n.icon === "user" ? (C(), j(O(ns), { key: 0 })) : A("", !0),
|
|
2447
|
+
n.icon === "excel" ? (C(), j(O(Qi), { key: 1 })) : A("", !0),
|
|
2448
|
+
n.icon === "download" ? (C(), j(O(Ri), { key: 2 })) : A("", !0),
|
|
2449
|
+
n.icon === "save" ? (C(), j(O(ju), { key: 3 })) : A("", !0),
|
|
2450
|
+
n.icon === "edit" ? (C(), j(O(Fi), { key: 4 })) : A("", !0),
|
|
2451
|
+
n.icon === "delete" ? (C(), j(O($i), { key: 5 })) : A("", !0),
|
|
2452
|
+
n.icon === "down" ? (C(), j(O(Gr), { key: 6 })) : A("", !0),
|
|
2453
|
+
n.icon === "up" ? (C(), j(O(Zu), { key: 7 })) : A("", !0),
|
|
2454
|
+
n.icon === "undo" ? (C(), j(O(Gu), { key: 8 })) : A("", !0),
|
|
2455
|
+
n.icon === "redo" ? (C(), j(O(ku), { key: 9 })) : A("", !0),
|
|
2456
|
+
n.icon === "copy" ? (C(), j(O(Ti), { key: 10 })) : A("", !0),
|
|
2457
|
+
n.icon === "print" ? (C(), j(O(Su), { key: 11 })) : A("", !0),
|
|
2458
|
+
n.icon === "plus" ? (C(), j(O(Ou), { key: 12 })) : A("", !0),
|
|
2459
|
+
n.icon === "minus" ? (C(), j(O(hu), { key: 13 })) : A("", !0),
|
|
2460
|
+
n.icon === "info" ? (C(), j(O(uu), { key: 14 })) : A("", !0),
|
|
2461
|
+
n.icon === "audit" ? (C(), j(O(gi), { key: 15 })) : A("", !0),
|
|
2462
|
+
n.icon === "schedule" ? (C(), j(O(Du), { key: 16 })) : A("", !0),
|
|
2463
|
+
n.icon === "close" ? (C(), j(O(Ci), { key: 17 })) : A("", !0),
|
|
2464
|
+
n.icon === "stop" ? (C(), j(O(Iu), { key: 18 })) : A("", !0),
|
|
2465
|
+
n.icon === "check" ? (C(), j(O(yi), { key: 19 })) : A("", !0),
|
|
2466
|
+
n.icon === "setting" ? (C(), j(O(Lu), { key: 20 })) : A("", !0),
|
|
2467
|
+
n.icon === "menu" ? (C(), j(O(du), { key: 21 })) : A("", !0),
|
|
2468
|
+
n.icon === "pdf" ? (C(), j(O(eu), { key: 22 })) : A("", !0),
|
|
2469
|
+
!n.icon || n.icon === "" ? (C(), j(O(ru), { key: 23 })) : A("", !0)
|
|
2470
2470
|
], 64));
|
|
2471
2471
|
}
|
|
2472
2472
|
});
|
|
@@ -2657,7 +2657,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2657
2657
|
emits: ["update:value"],
|
|
2658
2658
|
setup(e, { expose: n, emit: t }) {
|
|
2659
2659
|
N.locale("zh-cn"), N.extend(el), N.extend(nl);
|
|
2660
|
-
const r = e, a = M(r.picker, "date"), l = r.picker === "date" ? "day" : r.picker, o = M(r.format, "YYYY-MM-DD"), u =
|
|
2660
|
+
const r = e, a = M(r.picker, "date"), l = r.picker === "date" ? "day" : r.picker, o = M(r.format, "YYYY-MM-DD"), u = fe(pe), i = Me(u == null ? void 0 : u.size);
|
|
2661
2661
|
let c = E();
|
|
2662
2662
|
const f = [
|
|
2663
2663
|
{ label: "当天", value: [N().add(0, l)] },
|
|
@@ -2705,7 +2705,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2705
2705
|
getRefType: x
|
|
2706
2706
|
}), (y, w) => {
|
|
2707
2707
|
const z = W("a-range-picker");
|
|
2708
|
-
return C(),
|
|
2708
|
+
return C(), j(z, {
|
|
2709
2709
|
value: O(c),
|
|
2710
2710
|
"onUpdate:value": w[0] || (w[0] = (I) => Tr(c) ? c.value = I : c = I),
|
|
2711
2711
|
onChange: p,
|
|
@@ -2735,7 +2735,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2735
2735
|
emits: ["update:value"],
|
|
2736
2736
|
setup(e, { expose: n, emit: t }) {
|
|
2737
2737
|
N.locale("zh-cn"), N.extend(el), N.extend(nl);
|
|
2738
|
-
const r = e, a =
|
|
2738
|
+
const r = e, a = fe(pe), l = Me(a == null ? void 0 : a.size), o = M(r.picker, "date"), u = M(r.format, "YYYY-MM-DD"), i = t;
|
|
2739
2739
|
let c = E();
|
|
2740
2740
|
const f = (g, p) => {
|
|
2741
2741
|
ne("日期选值", p), !p || p == "" ? i("update:value", null) : i("update:value", p);
|
|
@@ -2755,7 +2755,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2755
2755
|
resetValue: k
|
|
2756
2756
|
}), (g, p) => {
|
|
2757
2757
|
const S = W("a-date-picker");
|
|
2758
|
-
return C(),
|
|
2758
|
+
return C(), j(S, {
|
|
2759
2759
|
value: O(c),
|
|
2760
2760
|
"onUpdate:value": p[0] || (p[0] = (T) => Tr(c) ? c.value = T : c = T),
|
|
2761
2761
|
onChange: f,
|
|
@@ -2782,7 +2782,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2782
2782
|
},
|
|
2783
2783
|
emits: ["update:value"],
|
|
2784
2784
|
setup(e, { expose: n, emit: t }) {
|
|
2785
|
-
const r = e, a =
|
|
2785
|
+
const r = e, a = fe(pe), l = Me(a == null ? void 0 : a.size), o = E(null), u = H(r.placeholder, "请输入" + r.title), i = t, c = () => {
|
|
2786
2786
|
i("update:value", o.value);
|
|
2787
2787
|
};
|
|
2788
2788
|
return n({
|
|
@@ -2797,7 +2797,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2797
2797
|
i("update:value", o.value);
|
|
2798
2798
|
}), (k, g) => {
|
|
2799
2799
|
const p = W("a-input");
|
|
2800
|
-
return C(),
|
|
2800
|
+
return C(), j(p, {
|
|
2801
2801
|
value: o.value,
|
|
2802
2802
|
"onUpdate:value": g[0] || (g[0] = (S) => o.value = S),
|
|
2803
2803
|
placeholder: O(u),
|
|
@@ -2862,7 +2862,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2862
2862
|
},
|
|
2863
2863
|
emits: ["update:value"],
|
|
2864
2864
|
setup(e, { expose: n, emit: t }) {
|
|
2865
|
-
const r = e, a =
|
|
2865
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.application) || "", o = (a == null ? void 0 : a.ctxPath) || "", u = (a == null ? void 0 : a.requestDictUrl) || "", i = Me(a == null ? void 0 : a.size), c = E(r.multiple ? [] : null), f = t, m = E([]), h = async () => {
|
|
2866
2866
|
let b = r.request.requestUrl;
|
|
2867
2867
|
return !b && l && (b = u), b ? (b = re(o, b), await rl(l, b, r.request)) : (ne("下拉框插槽未获取到请求地址"), []);
|
|
2868
2868
|
}, k = (b, x) => x.label.toLowerCase().indexOf(b.toLowerCase()) >= 0, g = () => {
|
|
@@ -2883,7 +2883,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2883
2883
|
}), (b, x) => {
|
|
2884
2884
|
const y = W("a-select");
|
|
2885
2885
|
return C(), Y("div", _s, [
|
|
2886
|
-
|
|
2886
|
+
$(y, {
|
|
2887
2887
|
value: c.value,
|
|
2888
2888
|
"onUpdate:value": x[0] || (x[0] = (w) => c.value = w),
|
|
2889
2889
|
onChange: g,
|
|
@@ -2922,11 +2922,11 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2922
2922
|
},
|
|
2923
2923
|
emits: ["update:value"],
|
|
2924
2924
|
setup(e, { expose: n, emit: t }) {
|
|
2925
|
-
const r = e, a =
|
|
2925
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.ctxPath) || "", o = Me(a == null ? void 0 : a.size), u = "请输入" + r.title + "搜索", i = E(""), c = E(""), f = E([]), m = t, h = E(!1), k = async (y) => {
|
|
2926
2926
|
if (f.value = [], y) {
|
|
2927
2927
|
h.value = !0;
|
|
2928
2928
|
const w = {
|
|
2929
|
-
searchValue:
|
|
2929
|
+
searchValue: $e(y)
|
|
2930
2930
|
}, z = await ot(re(l, r.requestUrl), {
|
|
2931
2931
|
...r.requestParams,
|
|
2932
2932
|
...w
|
|
@@ -2957,7 +2957,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2957
2957
|
}), (y, w) => {
|
|
2958
2958
|
const z = W("a-spin"), I = W("a-select");
|
|
2959
2959
|
return C(), Y("div", Ss, [
|
|
2960
|
-
|
|
2960
|
+
$(I, {
|
|
2961
2961
|
value: i.value,
|
|
2962
2962
|
"onUpdate:value": w[0] || (w[0] = (oe) => i.value = oe),
|
|
2963
2963
|
placeholder: u,
|
|
@@ -2976,7 +2976,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
2976
2976
|
h.value ? {
|
|
2977
2977
|
name: "notFoundContent",
|
|
2978
2978
|
fn: R(() => [
|
|
2979
|
-
|
|
2979
|
+
$(z, { size: "small" })
|
|
2980
2980
|
]),
|
|
2981
2981
|
key: "0"
|
|
2982
2982
|
} : void 0
|
|
@@ -3003,7 +3003,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
3003
3003
|
},
|
|
3004
3004
|
emits: ["update:value"],
|
|
3005
3005
|
setup(e, { expose: n, emit: t }) {
|
|
3006
|
-
const r = e, a =
|
|
3006
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.ctxPath) || "", o = Me(a == null ? void 0 : a.size), u = "请输入" + r.title + "搜索", i = E(r.multiple ? [] : null), c = E(""), f = E([]), m = E([]), h = t, k = (y, w) => w.label.toLowerCase().indexOf($e(y).toLowerCase()) >= 0, g = async () => await ot(re(l, r.requestUrl), r.requestParams), p = (y) => {
|
|
3007
3007
|
h("update:value", y);
|
|
3008
3008
|
}, S = () => c.value, T = () => i.value, b = (y) => {
|
|
3009
3009
|
i.value = y, h("update:value", i.value);
|
|
@@ -3028,7 +3028,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
3028
3028
|
}), (y, w) => {
|
|
3029
3029
|
const z = W("a-select");
|
|
3030
3030
|
return C(), Y("div", Ps, [
|
|
3031
|
-
|
|
3031
|
+
$(z, {
|
|
3032
3032
|
value: i.value,
|
|
3033
3033
|
"onUpdate:value": w[0] || (w[0] = (I) => i.value = I),
|
|
3034
3034
|
placeholder: u,
|
|
@@ -3069,7 +3069,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
3069
3069
|
},
|
|
3070
3070
|
emits: ["update:value", "change"],
|
|
3071
3071
|
setup(e, { expose: n, emit: t }) {
|
|
3072
|
-
const r = e, a =
|
|
3072
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.application) || "", o = (a == null ? void 0 : a.ctxPath) || "", u = Me(a == null ? void 0 : a.size), i = "请输入" + r.title + "搜索", c = r.fieldNames.label, f = r.fieldNames.value, m = E([]), h = E([]), k = async () => {
|
|
3073
3073
|
const w = await ws(
|
|
3074
3074
|
re(o, r.requestUrl),
|
|
3075
3075
|
r.requestParams,
|
|
@@ -3094,7 +3094,7 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
3094
3094
|
}), (w, z) => {
|
|
3095
3095
|
const I = W("a-cascader");
|
|
3096
3096
|
return C(), Y("div", ks, [
|
|
3097
|
-
|
|
3097
|
+
$(I, {
|
|
3098
3098
|
value: m.value,
|
|
3099
3099
|
"onUpdate:value": z[0] || (z[0] = (oe) => m.value = oe),
|
|
3100
3100
|
options: h.value,
|
|
@@ -3116,11 +3116,11 @@ const nl = /* @__PURE__ */ Qr(ps), al = "CONSTANT_DIALOG_CONTAINER", pe = "CONST
|
|
|
3116
3116
|
for (const [r, a] of n)
|
|
3117
3117
|
t[r] = a;
|
|
3118
3118
|
return t;
|
|
3119
|
-
},
|
|
3120
|
-
function
|
|
3119
|
+
}, $s = {};
|
|
3120
|
+
function js(e, n) {
|
|
3121
3121
|
return C(), Y("h2", null, "未获取到页面信息,请联系管理员!");
|
|
3122
3122
|
}
|
|
3123
|
-
const
|
|
3123
|
+
const As = /* @__PURE__ */ zs($s, [["render", js]]);
|
|
3124
3124
|
function xr(e, n = {}) {
|
|
3125
3125
|
const { size: t = "large", delay: r = 100, timeout: a = 3e4, loading: l = !0, retry: o = !0 } = n;
|
|
3126
3126
|
return Sl({
|
|
@@ -3162,10 +3162,10 @@ function qs(e) {
|
|
|
3162
3162
|
return r.endsWith(`${e}`) || r.endsWith(`/${e}`) || a.endsWith(`${e}`) || a.endsWith(`/${e}`);
|
|
3163
3163
|
});
|
|
3164
3164
|
if ((t == null ? void 0 : t.length) === 0)
|
|
3165
|
-
return
|
|
3165
|
+
return As;
|
|
3166
3166
|
if ((t == null ? void 0 : t.length) === 1)
|
|
3167
3167
|
return xr(P.dynamicViewsModules[t[0]]);
|
|
3168
|
-
(t == null ? void 0 : t.length) > 1 &&
|
|
3168
|
+
(t == null ? void 0 : t.length) > 1 && Ar("异步加载组件通过路径匹配到多个组件,请确保组件路径唯一", t);
|
|
3169
3169
|
} else
|
|
3170
3170
|
return xr(e);
|
|
3171
3171
|
}
|
|
@@ -3189,7 +3189,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3189
3189
|
},
|
|
3190
3190
|
emits: ["cancel", "submit"],
|
|
3191
3191
|
setup(e, { emit: n }) {
|
|
3192
|
-
const t = e, r = E("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), a = t.mountainTop ? () => document.body :
|
|
3192
|
+
const t = e, r = E("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), a = t.mountainTop ? () => document.body : fe(M(P.targetModal.dialogContainer, al)), l = t.componentType === "vue" && typeof t.componentUrl == "string" ? xl(() => qs(t.componentUrl)) : t.componentUrl, o = t.componentType === "iframe" ? t.componentUrl : "", u = t.mountainTop ? "calc(100vh - 88px)" : "calc(100vh - 188px)", i = n, c = () => {
|
|
3193
3193
|
i("cancel");
|
|
3194
3194
|
}, f = (T) => {
|
|
3195
3195
|
i("submit", T);
|
|
@@ -3210,7 +3210,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3210
3210
|
}), (T, b) => {
|
|
3211
3211
|
const x = W("vxe-button"), y = W("a-modal");
|
|
3212
3212
|
return C(), Y("div", Vs, [
|
|
3213
|
-
|
|
3213
|
+
$(y, {
|
|
3214
3214
|
ref_key: "gridModal",
|
|
3215
3215
|
ref: m,
|
|
3216
3216
|
open: t.visible,
|
|
@@ -3233,7 +3233,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3233
3233
|
title: R(() => [
|
|
3234
3234
|
K("span", Ds, Se(t.title), 1),
|
|
3235
3235
|
K("span", Es, [
|
|
3236
|
-
|
|
3236
|
+
$(x, {
|
|
3237
3237
|
mode: "text",
|
|
3238
3238
|
icon: h.maxZoomIcon,
|
|
3239
3239
|
onClick: k
|
|
@@ -3241,10 +3241,10 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3241
3241
|
])
|
|
3242
3242
|
]),
|
|
3243
3243
|
default: R(() => [
|
|
3244
|
-
t.componentType === "vue" ? (C(),
|
|
3244
|
+
t.componentType === "vue" ? (C(), j(Pl(O(l)), ee({ key: 0 }, t.componentParams, {
|
|
3245
3245
|
onCancel: c,
|
|
3246
3246
|
onSubmit: f
|
|
3247
|
-
}), null, 16)) :
|
|
3247
|
+
}), null, 16)) : A("", !0),
|
|
3248
3248
|
t.componentType === "iframe" ? (C(), Y("iframe", {
|
|
3249
3249
|
key: 1,
|
|
3250
3250
|
ref_key: "iframeRef",
|
|
@@ -3253,7 +3253,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3253
3253
|
src: O(o),
|
|
3254
3254
|
onLoad: S,
|
|
3255
3255
|
style: { width: "100%", height: "100%", border: "0 none", display: "block" }
|
|
3256
|
-
}, null, 40, Rs)) :
|
|
3256
|
+
}, null, 40, Rs)) : A("", !0)
|
|
3257
3257
|
]),
|
|
3258
3258
|
_: 1
|
|
3259
3259
|
}, 8, ["open", "get-container", "width", "body-style", "wrap-class-name", "mask-closable"])
|
|
@@ -3273,7 +3273,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3273
3273
|
},
|
|
3274
3274
|
emits: ["update:value"],
|
|
3275
3275
|
setup(e, { expose: n, emit: t }) {
|
|
3276
|
-
const r = e, a =
|
|
3276
|
+
const r = e, a = fe(pe), l = E(null), o = H(r.placeholder, "请输入" + r.title), u = t, i = (h) => {
|
|
3277
3277
|
f(h.value);
|
|
3278
3278
|
}, c = () => l.value, f = (h) => {
|
|
3279
3279
|
l.value = h, u("update:value", l.value);
|
|
@@ -3289,7 +3289,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3289
3289
|
}), (h, k) => {
|
|
3290
3290
|
var p;
|
|
3291
3291
|
const g = W("vxe-input", !0);
|
|
3292
|
-
return C(),
|
|
3292
|
+
return C(), j(g, {
|
|
3293
3293
|
"model-value": l.value,
|
|
3294
3294
|
placeholder: O(o),
|
|
3295
3295
|
disabled: r.disabled,
|
|
@@ -3319,7 +3319,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3319
3319
|
},
|
|
3320
3320
|
emits: ["update:value"],
|
|
3321
3321
|
setup(e, { expose: n, emit: t }) {
|
|
3322
|
-
const r = e, a =
|
|
3322
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.ctxPath) || "", o = (a == null ? void 0 : a.application) || "", u = (a == null ? void 0 : a.requestDictUrl) || "", i = "请输入" + r.title + "搜索", c = E(""), f = E(""), m = E([]), h = t, k = te({
|
|
3323
3323
|
multiple: r.multiple,
|
|
3324
3324
|
filterable: r.filterable,
|
|
3325
3325
|
clearable: r.clearable,
|
|
@@ -3328,7 +3328,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3328
3328
|
placeholder: r.filterable ? i : "",
|
|
3329
3329
|
options: [],
|
|
3330
3330
|
filterMethod({ searchValue: y, option: w }) {
|
|
3331
|
-
return w.label.toLowerCase().indexOf(
|
|
3331
|
+
return w.label.toLowerCase().indexOf($e(y).toLowerCase()) >= 0;
|
|
3332
3332
|
}
|
|
3333
3333
|
}), g = async () => {
|
|
3334
3334
|
let y = r.request.requestUrl;
|
|
@@ -3354,7 +3354,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3354
3354
|
}), (y, w) => {
|
|
3355
3355
|
var I;
|
|
3356
3356
|
const z = W("vxe-select", !0);
|
|
3357
|
-
return C(),
|
|
3357
|
+
return C(), j(z, ee({
|
|
3358
3358
|
modelValue: c.value,
|
|
3359
3359
|
"onUpdate:modelValue": w[0] || (w[0] = (oe) => c.value = oe)
|
|
3360
3360
|
}, k, {
|
|
@@ -3383,7 +3383,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3383
3383
|
},
|
|
3384
3384
|
emits: ["update:value"],
|
|
3385
3385
|
setup(e, { expose: n, emit: t }) {
|
|
3386
|
-
const r = e, a =
|
|
3386
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.ctxPath) || "", o = "请输入" + r.title + "搜索", u = E(""), i = E(""), c = E([]), f = t, m = te({
|
|
3387
3387
|
clearable: !0,
|
|
3388
3388
|
filterable: !0,
|
|
3389
3389
|
disabled: r.disabled,
|
|
@@ -3401,7 +3401,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3401
3401
|
}), h = async (b) => {
|
|
3402
3402
|
if (c.value = [], b) {
|
|
3403
3403
|
const x = {
|
|
3404
|
-
searchValue:
|
|
3404
|
+
searchValue: $e(b)
|
|
3405
3405
|
};
|
|
3406
3406
|
return await ot(re(l, r.requestUrl), {
|
|
3407
3407
|
...r.requestParams,
|
|
@@ -3428,7 +3428,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3428
3428
|
}), (b, x) => {
|
|
3429
3429
|
var w;
|
|
3430
3430
|
const y = W("vxe-select");
|
|
3431
|
-
return C(),
|
|
3431
|
+
return C(), j(y, ee({
|
|
3432
3432
|
modelValue: u.value,
|
|
3433
3433
|
"onUpdate:modelValue": x[0] || (x[0] = (z) => u.value = z)
|
|
3434
3434
|
}, m, {
|
|
@@ -3457,7 +3457,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3457
3457
|
},
|
|
3458
3458
|
emits: ["update:value"],
|
|
3459
3459
|
setup(e, { expose: n, emit: t }) {
|
|
3460
|
-
const r = e, a =
|
|
3460
|
+
const r = e, a = fe(pe), l = (a == null ? void 0 : a.ctxPath) || "", o = "请输入" + r.title + "搜索", u = E(""), i = E(""), c = E([]), f = t, m = te({
|
|
3461
3461
|
filterable: !0,
|
|
3462
3462
|
clearable: !0,
|
|
3463
3463
|
disabled: r.disabled,
|
|
@@ -3465,7 +3465,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3465
3465
|
placeholder: o,
|
|
3466
3466
|
options: [],
|
|
3467
3467
|
filterMethod({ searchValue: b, option: x }) {
|
|
3468
|
-
return x.label.toLowerCase().indexOf(
|
|
3468
|
+
return x.label.toLowerCase().indexOf($e(b).toLowerCase()) >= 0;
|
|
3469
3469
|
}
|
|
3470
3470
|
}), h = async () => await ot(re(l, r.requestUrl), r.requestParams), k = ({ value: b }) => {
|
|
3471
3471
|
f("update:value", b);
|
|
@@ -3488,7 +3488,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3488
3488
|
}), (b, x) => {
|
|
3489
3489
|
var w;
|
|
3490
3490
|
const y = W("vxe-select");
|
|
3491
|
-
return C(),
|
|
3491
|
+
return C(), j(y, ee({
|
|
3492
3492
|
modelValue: u.value,
|
|
3493
3493
|
"onUpdate:modelValue": x[0] || (x[0] = (z) => u.value = z)
|
|
3494
3494
|
}, m, {
|
|
@@ -3599,7 +3599,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3599
3599
|
};
|
|
3600
3600
|
return (l, o) => {
|
|
3601
3601
|
const u = W("vxe-button");
|
|
3602
|
-
return C(),
|
|
3602
|
+
return C(), j(u, {
|
|
3603
3603
|
size: "small",
|
|
3604
3604
|
circle: !0,
|
|
3605
3605
|
onClick: o[0] || (o[0] = (i) => r()),
|
|
@@ -3628,7 +3628,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3628
3628
|
__name: "SagVxePage",
|
|
3629
3629
|
emits: ["submit", "resetValue", "search"],
|
|
3630
3630
|
setup(e, { expose: n, emit: t }) {
|
|
3631
|
-
var pn, gn, hn, vn, bn, yn, On, wn, _n, Cn, Sn, xn, Pn, Tn, kn, Mn, zn, jn, An,
|
|
3631
|
+
var pn, gn, hn, vn, bn, yn, On, wn, _n, Cn, Sn, xn, Pn, Tn, kn, Mn, zn, $n, jn, An, qn, Vn, Dn, En, Rn, Nn, Ln, Bn, Fn, Un, In, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, ra, la, oa, ia, ua, sa, ca, fa, da, ma, pa, ga, ha, va, ba, ya, Oa, wa, _a, Ca, Sa, xa, Pa, Ta, ka, Ma, za, $a, ja;
|
|
3632
3632
|
const r = te({
|
|
3633
3633
|
visible: !1,
|
|
3634
3634
|
maximize: !1,
|
|
@@ -3674,9 +3674,9 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3674
3674
|
vertical: M((Pn = (xn = a == null ? void 0 : a.templateForm) == null ? void 0 : xn.formProps) == null ? void 0 : Pn.vertical, P.templateForm.formProps.vertical),
|
|
3675
3675
|
titleColon: M((kn = (Tn = a == null ? void 0 : a.templateForm) == null ? void 0 : Tn.formProps) == null ? void 0 : kn.titleColon, P.templateForm.formProps.titleColon),
|
|
3676
3676
|
titleWidth: M((zn = (Mn = a == null ? void 0 : a.templateForm) == null ? void 0 : Mn.formProps) == null ? void 0 : zn.titleWidth, P.templateForm.formProps.titleWidth),
|
|
3677
|
-
titleAlign: M((
|
|
3677
|
+
titleAlign: M((jn = ($n = a == null ? void 0 : a.templateForm) == null ? void 0 : $n.formProps) == null ? void 0 : jn.titleAlign, P.templateForm.formProps.titleAlign),
|
|
3678
3678
|
buttonAlign: M(
|
|
3679
|
-
(qn = (
|
|
3679
|
+
(qn = (An = a == null ? void 0 : a.templateForm) == null ? void 0 : An.formProps) == null ? void 0 : qn.buttonAlign,
|
|
3680
3680
|
P.templateForm.formProps.buttonAlign
|
|
3681
3681
|
),
|
|
3682
3682
|
foldingLength: M(
|
|
@@ -3728,15 +3728,15 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3728
3728
|
P.templateTable.toolbarConfig.slots.buttons
|
|
3729
3729
|
),
|
|
3730
3730
|
tools: M(
|
|
3731
|
-
(
|
|
3731
|
+
(ja = ($a = (za = a == null ? void 0 : a.templateTable) == null ? void 0 : za.toolbarConfig) == null ? void 0 : $a.slots) == null ? void 0 : ja.tools,
|
|
3732
3732
|
P.templateTable.toolbarConfig.slots.tools
|
|
3733
3733
|
)
|
|
3734
3734
|
}
|
|
3735
3735
|
}), k = P.application + "_" + l.templateType, g = "sag_vxe_page_div_panel_" + k;
|
|
3736
|
-
|
|
3737
|
-
const p = Object.keys(kl()), S = p.filter((v) => v.startsWith("items_")), T = p.filter((v) => v.startsWith("cols_")), b = p.filter((v) => v.startsWith("tools_")), x = E(), y = E(!0), w = E(!1), z = E("none"), I = E(["1"]), oe = E(0), X = Me(l.size), Z = E(), D = te({}),
|
|
3738
|
-
|
|
3739
|
-
},
|
|
3736
|
+
Aa(pe, l), Aa(al, () => document.getElementById(O(g)));
|
|
3737
|
+
const p = Object.keys(kl()), S = p.filter((v) => v.startsWith("items_")), T = p.filter((v) => v.startsWith("cols_")), b = p.filter((v) => v.startsWith("tools_")), x = E(), y = E(!0), w = E(!1), z = E("none"), I = E(["1"]), oe = E(0), X = Me(l.size), Z = E(), D = te({}), de = E([]), xe = E(), je = E([]), it = t, ge = (v, _) => {
|
|
3738
|
+
de.value[_] = v;
|
|
3739
|
+
}, Ae = async () => {
|
|
3740
3740
|
const v = x.value;
|
|
3741
3741
|
if (!w.value && v) {
|
|
3742
3742
|
const _ = xe.value;
|
|
@@ -3745,12 +3745,12 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3745
3745
|
}) : v.commitProxy("query");
|
|
3746
3746
|
}
|
|
3747
3747
|
}, nn = () => {
|
|
3748
|
-
i.storage && Da(l.application, l.templateType, {}), ct(
|
|
3748
|
+
i.storage && Da(l.application, l.templateType, {}), ct(je.value[0].children, de, D), it("resetValue");
|
|
3749
3749
|
}, ll = () => {
|
|
3750
3750
|
Ke(() => {
|
|
3751
|
-
Ra(Z.value,
|
|
3751
|
+
Ra(Z.value, B, c.clientScale);
|
|
3752
3752
|
});
|
|
3753
|
-
},
|
|
3753
|
+
}, B = te({
|
|
3754
3754
|
size: l.size,
|
|
3755
3755
|
minHeight: c.minHeight,
|
|
3756
3756
|
maxHeight: c.maxHeight,
|
|
@@ -3790,32 +3790,32 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3790
3790
|
ajax: {
|
|
3791
3791
|
// 接收 Promise 对象
|
|
3792
3792
|
query: (v) => {
|
|
3793
|
-
const { page: _, sorts: q, filters: U, form: L } = v,
|
|
3793
|
+
const { page: _, sorts: q, filters: U, form: L } = v, se = Ot(_, q, U, L, D, de);
|
|
3794
3794
|
if (i.storage) {
|
|
3795
3795
|
const he = mo(q, U, L, D);
|
|
3796
3796
|
Da(l.application, l.templateType, he);
|
|
3797
3797
|
}
|
|
3798
|
-
return an(
|
|
3798
|
+
return an(se, o.requestData, !1);
|
|
3799
3799
|
},
|
|
3800
3800
|
querySuccess: (v) => {
|
|
3801
|
-
const { page: _, sort: q, sorts: U, filters: L, form:
|
|
3802
|
-
f != null && f.isMerge && (
|
|
3801
|
+
const { page: _, sort: q, sorts: U, filters: L, form: se, response: he } = v;
|
|
3802
|
+
f != null && f.isMerge && (B.mergeCells = ln(he == null ? void 0 : he.rows)), it("search", he, { $gridRef: x.value, gridOptions: B });
|
|
3803
3803
|
}
|
|
3804
3804
|
}
|
|
3805
3805
|
},
|
|
3806
3806
|
footerMethod: c.footerMethod
|
|
3807
3807
|
}), ut = E(!1), ol = () => {
|
|
3808
3808
|
tt("确定要强制显示数据内容吗?", () => {
|
|
3809
|
-
f != null && f.isMerge ?
|
|
3809
|
+
f != null && f.isMerge ? B.mergeCells = null : B.spanMethod = Ea({}), B.virtualYConfig = { enabled: !0 }, ut.value = !0, Ae();
|
|
3810
3810
|
});
|
|
3811
3811
|
}, an = async (v, _, q) => {
|
|
3812
3812
|
var U;
|
|
3813
3813
|
if (z.value = "none", ut.value)
|
|
3814
|
-
return ut.value = !1,
|
|
3814
|
+
return ut.value = !1, B.params.data;
|
|
3815
3815
|
{
|
|
3816
3816
|
w.value = !0, l.onLoadBeforeModule && l.onLoadBeforeModule({
|
|
3817
|
-
gridRef: x,
|
|
3818
|
-
gridOptions:
|
|
3817
|
+
$gridRef: x.value,
|
|
3818
|
+
gridOptions: B,
|
|
3819
3819
|
queryParams: v,
|
|
3820
3820
|
exportFlag: q
|
|
3821
3821
|
});
|
|
@@ -3828,10 +3828,10 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3828
3828
|
}, 1e3);
|
|
3829
3829
|
});
|
|
3830
3830
|
if (L.success) {
|
|
3831
|
-
if (
|
|
3831
|
+
if (B.params.dataSum = (U = L.data) == null ? void 0 : U.dataSum, f != null && f.mergeKey) {
|
|
3832
3832
|
if (!q && L.data.rows.length > 800)
|
|
3833
|
-
return z.value = "more",
|
|
3834
|
-
f != null && f.isMerge || (
|
|
3833
|
+
return z.value = "more", B.params.data = rn(L.data), null;
|
|
3834
|
+
f != null && f.isMerge || (B.virtualYConfig = { enabled: !1 });
|
|
3835
3835
|
}
|
|
3836
3836
|
return rn(L.data);
|
|
3837
3837
|
} else
|
|
@@ -3867,37 +3867,37 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3867
3867
|
}
|
|
3868
3868
|
}
|
|
3869
3869
|
}, sl = (v) => {
|
|
3870
|
-
|
|
3870
|
+
B.params.currentRow = v == null ? void 0 : v.row;
|
|
3871
3871
|
}, cl = () => {
|
|
3872
|
-
|
|
3872
|
+
B.params.currentRow = null;
|
|
3873
3873
|
}, rn = (v) => {
|
|
3874
3874
|
const _ = f == null ? void 0 : f.seqKey, q = f == null ? void 0 : f.mergeKey;
|
|
3875
3875
|
if (q && _) {
|
|
3876
3876
|
let U = [""], L = 0 + v.pageSize * (v.pageNo - 1);
|
|
3877
|
-
for (let
|
|
3878
|
-
U.includes(v.rows[
|
|
3877
|
+
for (let se in v.rows)
|
|
3878
|
+
U.includes(v.rows[se][q]) || (L++, U.push(v.rows[se][q])), v.rows[se][_] = L;
|
|
3879
3879
|
}
|
|
3880
3880
|
return l.onLoadAfterModule ? l.onLoadAfterModule({
|
|
3881
|
-
gridRef: x,
|
|
3882
|
-
gridOptions:
|
|
3881
|
+
$gridRef: x.value,
|
|
3882
|
+
gridOptions: B,
|
|
3883
3883
|
data: v
|
|
3884
3884
|
}) : v;
|
|
3885
3885
|
}, ln = (v) => {
|
|
3886
3886
|
const _ = f == null ? void 0 : f.mergeKey;
|
|
3887
3887
|
if (_ && f.isMerge) {
|
|
3888
3888
|
const q = x.value;
|
|
3889
|
-
let U = [], L = {},
|
|
3889
|
+
let U = [], L = {}, se = {};
|
|
3890
3890
|
for (let ye = 0; ye < v.length; ye++) {
|
|
3891
3891
|
const ue = v[ye], qe = v[ye - 1];
|
|
3892
3892
|
let we = v[ye + 1];
|
|
3893
|
-
s(
|
|
3893
|
+
s(se[ue[_]]) || (se[ue[_]] = ye + 0), s(L[ue[_]]) ? (s(we) && we[_] === ue[_] || s(qe) && qe[_] === ue[_]) && (L[ue[_]] = L[ue[_]] + 1) : L[ue[_]] = 1;
|
|
3894
3894
|
}
|
|
3895
3895
|
let he = f == null ? void 0 : f.fields;
|
|
3896
3896
|
for (let ye in he) {
|
|
3897
3897
|
let ue = q == null ? void 0 : q.getColumnByField(he[ye]), qe = q == null ? void 0 : q.getColumnIndex(ue);
|
|
3898
|
-
for (let we in
|
|
3898
|
+
for (let we in se)
|
|
3899
3899
|
U = U.concat([
|
|
3900
|
-
{ row:
|
|
3900
|
+
{ row: se[we], col: qe, rowspan: L[we], colspan: 1 }
|
|
3901
3901
|
]);
|
|
3902
3902
|
}
|
|
3903
3903
|
return U;
|
|
@@ -3914,7 +3914,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3914
3914
|
}), on = ({ row: v }) => {
|
|
3915
3915
|
var q;
|
|
3916
3916
|
const _ = f == null ? void 0 : f.mergeKey;
|
|
3917
|
-
if ((v == null ? void 0 : v[_]) === ((q =
|
|
3917
|
+
if ((v == null ? void 0 : v[_]) === ((q = B.params.currentRow) == null ? void 0 : q[_]))
|
|
3918
3918
|
return {
|
|
3919
3919
|
backgroundColor: f == null ? void 0 : f.backgroundColor
|
|
3920
3920
|
};
|
|
@@ -3922,12 +3922,12 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3922
3922
|
const v = document.getElementById(g);
|
|
3923
3923
|
if (v) {
|
|
3924
3924
|
const _ = v.getElementsByTagName("form");
|
|
3925
|
-
_ && _.length > 0 && (_[0].submit = () => (r.visible = !1,
|
|
3925
|
+
_ && _.length > 0 && (_[0].submit = () => (r.visible = !1, Ae(), !1));
|
|
3926
3926
|
}
|
|
3927
3927
|
}, { clickFormButton: ml, clickTableButton: Ie, clickHerf: un } = os({
|
|
3928
3928
|
gridRef: x,
|
|
3929
3929
|
targetModal: r,
|
|
3930
|
-
gridOptions:
|
|
3930
|
+
gridOptions: B,
|
|
3931
3931
|
pageOptions: l,
|
|
3932
3932
|
formData: D,
|
|
3933
3933
|
pageTable: c,
|
|
@@ -3938,10 +3938,10 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3938
3938
|
formRef: xe,
|
|
3939
3939
|
formData: D,
|
|
3940
3940
|
gridRef: x,
|
|
3941
|
-
gridOptions:
|
|
3941
|
+
gridOptions: B,
|
|
3942
3942
|
loadData: an,
|
|
3943
3943
|
pageOptions: l,
|
|
3944
|
-
templateItemRefs:
|
|
3944
|
+
templateItemRefs: de,
|
|
3945
3945
|
doMergeCells: ln,
|
|
3946
3946
|
pageTable: c,
|
|
3947
3947
|
pageModal: u,
|
|
@@ -3952,7 +3952,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3952
3952
|
const _ = i.formItems, q = i.formProps.foldingLength;
|
|
3953
3953
|
Object.keys(_).forEach((U, L) => {
|
|
3954
3954
|
_[L].folding = !(L < q);
|
|
3955
|
-
}),
|
|
3955
|
+
}), je.value = [
|
|
3956
3956
|
{ span: 24, align: "right", children: _ },
|
|
3957
3957
|
{
|
|
3958
3958
|
span: 24,
|
|
@@ -3968,27 +3968,33 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
3968
3968
|
const q = c.tableColumnsExtra;
|
|
3969
3969
|
q && Object.keys(q).forEach((U) => q[U].fixed = !1);
|
|
3970
3970
|
}
|
|
3971
|
-
cn(l.application, !0), c.rowType === "checkbox" ?
|
|
3971
|
+
cn(l.application, !0), c.rowType === "checkbox" ? B.checkboxConfig = { highlight: !0 } : c.rowType === "radio" && (B.radioConfig = { highlight: !0 });
|
|
3972
3972
|
const v = c.pageSizes;
|
|
3973
|
-
v && v.length > 0 &&
|
|
3973
|
+
v && v.length > 0 && B.pagerConfig && (B.pagerConfig.pageSizes = v), c.editConfig && (B.editConfig = {
|
|
3974
3974
|
trigger: "click",
|
|
3975
3975
|
mode: "row",
|
|
3976
3976
|
showStatus: !0
|
|
3977
|
-
}), s(f) && s(f.mergeKey) && (
|
|
3977
|
+
}), s(f) && s(f.mergeKey) && (B.cellStyle = on, B.params.mergeField = f.mergeKey, f.isMerge ? B.columnDragConfig.dragStartMethod = () => !1 : (B.virtualYConfig = { enabled: !1 }, B.spanMethod = Ea(f))), y.value = !1;
|
|
3978
3978
|
}, hl = (v, _) => v && v.length > 0 ? v && _ ? v.some((q) => Ne(_[q.buttonName]) && Ne(q.auth)) : !0 : !1;
|
|
3979
3979
|
Oe(async () => {
|
|
3980
3980
|
if (ne("加载页面模板", l), await gl(), i.storage) {
|
|
3981
3981
|
const v = Ll(l.application, l.templateType);
|
|
3982
|
-
s(v) ? mn(v) : await ct(i.formItems,
|
|
3982
|
+
s(v) ? mn(v) : await ct(i.formItems, de, D);
|
|
3983
3983
|
} else
|
|
3984
|
-
await ct(i.formItems,
|
|
3985
|
-
l.onMountedModule && await l.onMountedModule({
|
|
3984
|
+
await ct(i.formItems, de, D);
|
|
3985
|
+
l.onMountedModule && await l.onMountedModule({
|
|
3986
|
+
$formRef: xe.value,
|
|
3987
|
+
$gridRef: x.value,
|
|
3988
|
+
gridOptions: B,
|
|
3989
|
+
pageOptions: l,
|
|
3990
|
+
formData: D
|
|
3991
|
+
}), dl(), await Ae(), fn();
|
|
3986
3992
|
});
|
|
3987
3993
|
const fn = De.debounce(() => {
|
|
3988
3994
|
ne("屏幕高度出现变化,重新计算表格高度"), c.clientScale === 1 && oe.value == 0 && (window.onresize = () => {
|
|
3989
3995
|
oe.value = document.body.clientWidth;
|
|
3990
3996
|
}), Ke(() => {
|
|
3991
|
-
Ra(Z.value,
|
|
3997
|
+
Ra(Z.value, B, c.clientScale);
|
|
3992
3998
|
});
|
|
3993
3999
|
}, P.templateTable.lazyComputdHeightTime);
|
|
3994
4000
|
c.clientScale === 1 && Ml(
|
|
@@ -4001,24 +4007,24 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4001
4007
|
const vl = (v) => {
|
|
4002
4008
|
r.title = H(v.title, P.targetModal.title), r.width = H(v.width, P.targetModal.width), r.height = H(v.height, P.targetModal.height), r.maximize = H(v.maximize, !1), r.autoLoad = H(v.autoLoad, !1), r.componentType = H(v.componentType, P.targetModal.componentType), r.componentParams = v.componentParams, r.componentUrl = v.componentUrl, r.visible = !0;
|
|
4003
4009
|
}, dn = () => {
|
|
4004
|
-
r.visible = !1, r.autoLoad &&
|
|
4010
|
+
r.visible = !1, r.autoLoad && Ae();
|
|
4005
4011
|
}, bl = (v) => {
|
|
4006
4012
|
r.visible = !1;
|
|
4007
4013
|
const _ = r.componentParams;
|
|
4008
4014
|
it("submit", { data: v, params: _, button: _[P.buttonKeyName] });
|
|
4009
|
-
}, yl = async () => await Jr(x,
|
|
4015
|
+
}, yl = async () => await Jr(x, B), Ol = async () => {
|
|
4010
4016
|
const v = x.value;
|
|
4011
4017
|
if (v) {
|
|
4012
4018
|
const { pager: _, filter: q, form: U, sort: L } = v.getProxyInfo();
|
|
4013
|
-
return Ot(_, L, q, U, D,
|
|
4019
|
+
return Ot(_, L, q, U, D, de);
|
|
4014
4020
|
} else
|
|
4015
4021
|
return null;
|
|
4016
4022
|
}, mn = (v) => {
|
|
4017
4023
|
for (let _ in v)
|
|
4018
|
-
|
|
4024
|
+
de.value[_] ? de.value[_].setValue(v[_]) : D[_] = v[_];
|
|
4019
4025
|
};
|
|
4020
4026
|
return n({
|
|
4021
|
-
doSearch:
|
|
4027
|
+
doSearch: Ae,
|
|
4022
4028
|
resetFrom: nn,
|
|
4023
4029
|
showViewModal: vl,
|
|
4024
4030
|
hideViewModal: dn,
|
|
@@ -4027,23 +4033,23 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4027
4033
|
getFormData: Ol,
|
|
4028
4034
|
setFormData: mn,
|
|
4029
4035
|
setExportColumns: (v) => {
|
|
4030
|
-
|
|
4036
|
+
B.params.exportColumns = v;
|
|
4031
4037
|
}
|
|
4032
4038
|
}), (v, _) => {
|
|
4033
|
-
const q = W("a-button"), U = W("a-space"), L = W("vxe-form"),
|
|
4039
|
+
const q = W("a-button"), U = W("a-space"), L = W("vxe-form"), se = W("a-collapse-panel"), he = W("a-collapse"), ye = W("a-menu-item"), ue = W("a-menu"), qe = W("a-dropdown"), we = W("vxe-button"), wl = W("vxe-grid");
|
|
4034
4040
|
return qa((C(), Y("div", {
|
|
4035
4041
|
id: g,
|
|
4036
4042
|
class: "sag-vxe-page-wrapper"
|
|
4037
4043
|
}, [
|
|
4038
4044
|
qa(K("div", Ys, [
|
|
4039
|
-
|
|
4045
|
+
$(he, {
|
|
4040
4046
|
activeKey: I.value,
|
|
4041
4047
|
"onUpdate:activeKey": _[2] || (_[2] = (d) => I.value = d),
|
|
4042
4048
|
expandIconPosition: "end",
|
|
4043
4049
|
accordion: ""
|
|
4044
4050
|
}, {
|
|
4045
4051
|
default: R(() => [
|
|
4046
|
-
|
|
4052
|
+
$(se, {
|
|
4047
4053
|
ref_key: "formCardRef",
|
|
4048
4054
|
ref: Z,
|
|
4049
4055
|
key: "1",
|
|
@@ -4052,11 +4058,11 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4052
4058
|
forceRender: ""
|
|
4053
4059
|
}, {
|
|
4054
4060
|
default: R(() => [
|
|
4055
|
-
|
|
4061
|
+
$(L, {
|
|
4056
4062
|
ref_key: "formRef",
|
|
4057
4063
|
ref: xe,
|
|
4058
4064
|
data: D,
|
|
4059
|
-
items:
|
|
4065
|
+
items: je.value,
|
|
4060
4066
|
size: l.size,
|
|
4061
4067
|
rules: i.formRules,
|
|
4062
4068
|
"title-width": i.formProps.titleWidth,
|
|
@@ -4067,12 +4073,12 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4067
4073
|
class: "sag-vxe-page-form"
|
|
4068
4074
|
}, bt({
|
|
4069
4075
|
toolbar_tools: R(() => [
|
|
4070
|
-
|
|
4076
|
+
$(U, null, {
|
|
4071
4077
|
default: R(() => [
|
|
4072
|
-
|
|
4078
|
+
$(q, {
|
|
4073
4079
|
type: "primary",
|
|
4074
4080
|
size: O(X),
|
|
4075
|
-
onClick: _[0] || (_[0] = (d) =>
|
|
4081
|
+
onClick: _[0] || (_[0] = (d) => Ae()),
|
|
4076
4082
|
disabled: w.value
|
|
4077
4083
|
}, {
|
|
4078
4084
|
default: R(() => [
|
|
@@ -4080,7 +4086,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4080
4086
|
]),
|
|
4081
4087
|
_: 1
|
|
4082
4088
|
}, 8, ["size", "disabled"]),
|
|
4083
|
-
|
|
4089
|
+
$(q, {
|
|
4084
4090
|
size: O(X),
|
|
4085
4091
|
onClick: _[1] || (_[1] = (d) => nn())
|
|
4086
4092
|
}, {
|
|
@@ -4094,36 +4100,36 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4094
4100
|
})
|
|
4095
4101
|
]),
|
|
4096
4102
|
dateRange: R((d) => {
|
|
4097
|
-
var V,
|
|
4103
|
+
var V, F;
|
|
4098
4104
|
return [
|
|
4099
|
-
|
|
4105
|
+
$(bs, ee({
|
|
4100
4106
|
value: D[d.field],
|
|
4101
4107
|
"onUpdate:value": (J) => D[d.field] = J,
|
|
4102
4108
|
ref: (J) => ge(J, d.field)
|
|
4103
|
-
}, (
|
|
4109
|
+
}, (F = (V = d == null ? void 0 : d.item) == null ? void 0 : V.itemRender) == null ? void 0 : F.props), null, 16, ["value", "onUpdate:value"])
|
|
4104
4110
|
];
|
|
4105
4111
|
}),
|
|
4106
4112
|
date: R((d) => {
|
|
4107
|
-
var V,
|
|
4113
|
+
var V, F;
|
|
4108
4114
|
return [
|
|
4109
|
-
|
|
4115
|
+
$(ys, ee({
|
|
4110
4116
|
value: D[d.field],
|
|
4111
4117
|
"onUpdate:value": (J) => D[d.field] = J,
|
|
4112
4118
|
ref: (J) => ge(J, d.field)
|
|
4113
|
-
}, (
|
|
4119
|
+
}, (F = (V = d == null ? void 0 : d.item) == null ? void 0 : V.itemRender) == null ? void 0 : F.props), null, 16, ["value", "onUpdate:value"])
|
|
4114
4120
|
];
|
|
4115
4121
|
}),
|
|
4116
4122
|
input: R((d) => {
|
|
4117
|
-
var V,
|
|
4123
|
+
var V, F, J, ie, ae, Pe;
|
|
4118
4124
|
return [
|
|
4119
|
-
i.vxeSlot ? (C(),
|
|
4125
|
+
i.vxeSlot ? (C(), j(Ls, ee({
|
|
4120
4126
|
key: 0,
|
|
4121
4127
|
value: D[d.field],
|
|
4122
4128
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
4123
4129
|
ref: (Q) => ge(Q, d.field),
|
|
4124
4130
|
title: (V = d == null ? void 0 : d.item) == null ? void 0 : V.title
|
|
4125
|
-
}, (J = (
|
|
4126
|
-
i.vxeSlot ?
|
|
4131
|
+
}, (J = (F = d == null ? void 0 : d.item) == null ? void 0 : F.itemRender) == null ? void 0 : J.props), null, 16, ["value", "onUpdate:value", "title"])) : A("", !0),
|
|
4132
|
+
i.vxeSlot ? A("", !0) : (C(), j(Os, ee({
|
|
4127
4133
|
key: 1,
|
|
4128
4134
|
value: D[d.field],
|
|
4129
4135
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
@@ -4133,15 +4139,15 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4133
4139
|
];
|
|
4134
4140
|
}),
|
|
4135
4141
|
select: R((d) => {
|
|
4136
|
-
var V,
|
|
4142
|
+
var V, F, J, ie;
|
|
4137
4143
|
return [
|
|
4138
|
-
i.vxeSlot ? (C(),
|
|
4144
|
+
i.vxeSlot ? (C(), j(Bs, ee({
|
|
4139
4145
|
key: 0,
|
|
4140
4146
|
value: D[d.field],
|
|
4141
4147
|
"onUpdate:value": (ae) => D[d.field] = ae,
|
|
4142
4148
|
ref: (ae) => ge(ae, d.field)
|
|
4143
|
-
}, (
|
|
4144
|
-
i.vxeSlot ?
|
|
4149
|
+
}, (F = (V = d == null ? void 0 : d.item) == null ? void 0 : V.itemRender) == null ? void 0 : F.props), null, 16, ["value", "onUpdate:value"])) : A("", !0),
|
|
4150
|
+
i.vxeSlot ? A("", !0) : (C(), j(Cs, ee({
|
|
4145
4151
|
key: 1,
|
|
4146
4152
|
value: D[d.field],
|
|
4147
4153
|
"onUpdate:value": (ae) => D[d.field] = ae,
|
|
@@ -4150,16 +4156,16 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4150
4156
|
];
|
|
4151
4157
|
}),
|
|
4152
4158
|
selectList: R((d) => {
|
|
4153
|
-
var V,
|
|
4159
|
+
var V, F, J, ie, ae, Pe;
|
|
4154
4160
|
return [
|
|
4155
|
-
i.vxeSlot ? (C(),
|
|
4161
|
+
i.vxeSlot ? (C(), j(Us, ee({
|
|
4156
4162
|
key: 0,
|
|
4157
4163
|
value: D[d.field],
|
|
4158
4164
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
4159
4165
|
ref: (Q) => ge(Q, d.field),
|
|
4160
4166
|
title: (V = d == null ? void 0 : d.item) == null ? void 0 : V.title
|
|
4161
|
-
}, (J = (
|
|
4162
|
-
i.vxeSlot ?
|
|
4167
|
+
}, (J = (F = d == null ? void 0 : d.item) == null ? void 0 : F.itemRender) == null ? void 0 : J.props), null, 16, ["value", "onUpdate:value", "title"])) : A("", !0),
|
|
4168
|
+
i.vxeSlot ? A("", !0) : (C(), j(Ts, ee({
|
|
4163
4169
|
key: 1,
|
|
4164
4170
|
value: D[d.field],
|
|
4165
4171
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
@@ -4169,16 +4175,16 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4169
4175
|
];
|
|
4170
4176
|
}),
|
|
4171
4177
|
selectPull: R((d) => {
|
|
4172
|
-
var V,
|
|
4178
|
+
var V, F, J, ie, ae, Pe;
|
|
4173
4179
|
return [
|
|
4174
|
-
i.vxeSlot ? (C(),
|
|
4180
|
+
i.vxeSlot ? (C(), j(Fs, ee({
|
|
4175
4181
|
key: 0,
|
|
4176
4182
|
value: D[d.field],
|
|
4177
4183
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
4178
4184
|
ref: (Q) => ge(Q, d.field),
|
|
4179
4185
|
title: (V = d == null ? void 0 : d.item) == null ? void 0 : V.title
|
|
4180
|
-
}, (J = (
|
|
4181
|
-
i.vxeSlot ?
|
|
4186
|
+
}, (J = (F = d == null ? void 0 : d.item) == null ? void 0 : F.itemRender) == null ? void 0 : J.props), null, 16, ["value", "onUpdate:value", "title"])) : A("", !0),
|
|
4187
|
+
i.vxeSlot ? A("", !0) : (C(), j(xs, ee({
|
|
4182
4188
|
key: 1,
|
|
4183
4189
|
value: D[d.field],
|
|
4184
4190
|
"onUpdate:value": (Q) => D[d.field] = Q,
|
|
@@ -4188,14 +4194,14 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4188
4194
|
];
|
|
4189
4195
|
}),
|
|
4190
4196
|
cascader: R((d) => {
|
|
4191
|
-
var V,
|
|
4197
|
+
var V, F, J;
|
|
4192
4198
|
return [
|
|
4193
|
-
|
|
4199
|
+
$(Ms, ee({
|
|
4194
4200
|
value: D[d.field],
|
|
4195
4201
|
"onUpdate:value": (ie) => D[d.field] = ie,
|
|
4196
4202
|
title: (V = d == null ? void 0 : d.item) == null ? void 0 : V.title,
|
|
4197
4203
|
ref: (ie) => ge(ie, d.field)
|
|
4198
|
-
}, (J = (
|
|
4204
|
+
}, (J = (F = d == null ? void 0 : d.item) == null ? void 0 : F.itemRender) == null ? void 0 : J.props), null, 16, ["value", "onUpdate:value", "title"])
|
|
4199
4205
|
];
|
|
4200
4206
|
}),
|
|
4201
4207
|
_: 2
|
|
@@ -4219,10 +4225,10 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4219
4225
|
[Va, O(s)(i.formItems)]
|
|
4220
4226
|
]),
|
|
4221
4227
|
K("div", Ws, [
|
|
4222
|
-
|
|
4228
|
+
$(wl, ee({
|
|
4223
4229
|
ref_key: "gridRef",
|
|
4224
4230
|
ref: x
|
|
4225
|
-
},
|
|
4231
|
+
}, B, zl(fl), {
|
|
4226
4232
|
size: l.size,
|
|
4227
4233
|
id: k,
|
|
4228
4234
|
style: { "z-index": "1" },
|
|
@@ -4236,36 +4242,36 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4236
4242
|
K("a", {
|
|
4237
4243
|
href: "javascript:void(0)",
|
|
4238
4244
|
class: "sag-vxe-page-link",
|
|
4239
|
-
onClick: (
|
|
4245
|
+
onClick: (F) => O(un)(d, V)
|
|
4240
4246
|
}, Se(d[V.property]), 9, Gs)
|
|
4241
4247
|
]),
|
|
4242
4248
|
vertical: R(({ row: d, column: V }) => [
|
|
4243
|
-
(C(!0), Y(Ce, null, ze(V.params.childColumns, (
|
|
4244
|
-
key:
|
|
4249
|
+
(C(!0), Y(Ce, null, ze(V.params.childColumns, (F) => (C(), Y("div", {
|
|
4250
|
+
key: F.value
|
|
4245
4251
|
}, [
|
|
4246
|
-
K("span", Js, Se(
|
|
4252
|
+
K("span", Js, Se(F.title) + ":", 1),
|
|
4247
4253
|
be(" "),
|
|
4248
|
-
|
|
4254
|
+
F.formatter === "operate" ? (C(), Y("span", Qs, [
|
|
4249
4255
|
K("a", {
|
|
4250
4256
|
href: "javascript:void(0)",
|
|
4251
4257
|
class: "sag-vxe-page-link",
|
|
4252
|
-
onClick: (J) => O(un)(d,
|
|
4253
|
-
}, Se(d[
|
|
4254
|
-
])) : (C(), Y("span", Zs, Se(O(gs)(d[
|
|
4258
|
+
onClick: (J) => O(un)(d, F)
|
|
4259
|
+
}, Se(d[F.field]), 9, Xs)
|
|
4260
|
+
])) : (C(), Y("span", Zs, Se(O(gs)(d[F.field], F.formatter)), 1))
|
|
4255
4261
|
]))), 128))
|
|
4256
4262
|
]),
|
|
4257
4263
|
button: R(({ row: d }) => [
|
|
4258
4264
|
K("div", Ks, [
|
|
4259
4265
|
(C(!0), Y(Ce, null, ze(m.tableButtons, (V) => (C(), Y(Ce, { key: V }, [
|
|
4260
4266
|
O(M)(d[V.buttonName], !0) && O(Ne)(V.auth) ? (C(), Y("span", ec, [
|
|
4261
|
-
c.showButtonLink ?
|
|
4267
|
+
c.showButtonLink ? A("", !0) : (C(), j(q, {
|
|
4262
4268
|
key: 0,
|
|
4263
4269
|
size: "small",
|
|
4264
4270
|
type: O(M)(V.status, "primary"),
|
|
4265
|
-
onClick: (
|
|
4271
|
+
onClick: (F) => O(Ie)(V, d)
|
|
4266
4272
|
}, {
|
|
4267
4273
|
icon: R(() => [
|
|
4268
|
-
|
|
4274
|
+
$(Je, {
|
|
4269
4275
|
icon: V.icon
|
|
4270
4276
|
}, null, 8, ["icon"])
|
|
4271
4277
|
]),
|
|
@@ -4278,69 +4284,69 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4278
4284
|
key: 1,
|
|
4279
4285
|
href: "javascript:void(0)",
|
|
4280
4286
|
class: "sag-vxe-page-button-link",
|
|
4281
|
-
onClick: (
|
|
4287
|
+
onClick: (F) => O(Ie)(V, d)
|
|
4282
4288
|
}, [
|
|
4283
|
-
|
|
4289
|
+
$(Je, {
|
|
4284
4290
|
icon: V.icon
|
|
4285
4291
|
}, null, 8, ["icon"]),
|
|
4286
4292
|
be(" " + Se(V.buttonName), 1)
|
|
4287
|
-
], 8, tc)) :
|
|
4293
|
+
], 8, tc)) : A("", !0),
|
|
4288
4294
|
be(" ")
|
|
4289
|
-
])) :
|
|
4295
|
+
])) : A("", !0)
|
|
4290
4296
|
], 64))), 128))
|
|
4291
4297
|
]),
|
|
4292
|
-
hl(m.tableMoreButtons, d) ? (C(),
|
|
4298
|
+
hl(m.tableMoreButtons, d) ? (C(), j(qe, {
|
|
4293
4299
|
key: 0,
|
|
4294
4300
|
destroyPopupOnHide: !0
|
|
4295
4301
|
}, {
|
|
4296
4302
|
overlay: R(() => [
|
|
4297
|
-
|
|
4303
|
+
$(ue, null, {
|
|
4298
4304
|
default: R(() => [
|
|
4299
4305
|
(C(!0), Y(Ce, null, ze(m.tableMoreButtons, (V) => (C(), Y(Ce, { key: V }, [
|
|
4300
4306
|
O(Ne)(V.auth) ? (C(), Y(Ce, { key: 0 }, [
|
|
4301
|
-
O(M)(d[V.buttonName], !0) ? (C(),
|
|
4307
|
+
O(M)(d[V.buttonName], !0) ? (C(), j(ye, { key: 0 }, {
|
|
4302
4308
|
default: R(() => [
|
|
4303
4309
|
K("a", {
|
|
4304
|
-
onClick: (
|
|
4310
|
+
onClick: (F) => O(Ie)(V, d)
|
|
4305
4311
|
}, [
|
|
4306
|
-
|
|
4312
|
+
$(Je, {
|
|
4307
4313
|
icon: V.icon
|
|
4308
4314
|
}, null, 8, ["icon"]),
|
|
4309
4315
|
be(" " + Se(V.buttonName), 1)
|
|
4310
4316
|
], 8, nc)
|
|
4311
4317
|
]),
|
|
4312
4318
|
_: 2
|
|
4313
|
-
}, 1024)) :
|
|
4314
|
-
], 64)) :
|
|
4319
|
+
}, 1024)) : A("", !0)
|
|
4320
|
+
], 64)) : A("", !0)
|
|
4315
4321
|
], 64))), 128))
|
|
4316
4322
|
]),
|
|
4317
4323
|
_: 2
|
|
4318
4324
|
}, 1024)
|
|
4319
4325
|
]),
|
|
4320
4326
|
default: R(() => [
|
|
4321
|
-
|
|
4327
|
+
$(q, {
|
|
4322
4328
|
type: c.showButtonLink ? "link" : "default",
|
|
4323
4329
|
size: "small"
|
|
4324
4330
|
}, {
|
|
4325
4331
|
default: R(() => [
|
|
4326
4332
|
be(" 更多操作 "),
|
|
4327
|
-
|
|
4333
|
+
$(O(Gr))
|
|
4328
4334
|
]),
|
|
4329
4335
|
_: 1
|
|
4330
4336
|
}, 8, ["type"])
|
|
4331
4337
|
]),
|
|
4332
4338
|
_: 2
|
|
4333
|
-
}, 1024)) :
|
|
4339
|
+
}, 1024)) : A("", !0)
|
|
4334
4340
|
]),
|
|
4335
4341
|
toolbar_buttons: R(() => [
|
|
4336
|
-
O(s)(m.formButtons) && m.formButtons.length > 0 ? (C(),
|
|
4342
|
+
O(s)(m.formButtons) && m.formButtons.length > 0 ? (C(), j(U, {
|
|
4337
4343
|
key: 0,
|
|
4338
4344
|
wrap: !0,
|
|
4339
4345
|
style: { "margin-bottom": "0px" }
|
|
4340
4346
|
}, {
|
|
4341
4347
|
default: R(() => [
|
|
4342
4348
|
(C(!0), Y(Ce, null, ze(m.formButtons, (d) => (C(), Y("span", { key: d }, [
|
|
4343
|
-
O(Ne)(d.auth) ? (C(),
|
|
4349
|
+
O(Ne)(d.auth) ? (C(), j(q, {
|
|
4344
4350
|
key: 0,
|
|
4345
4351
|
round: "",
|
|
4346
4352
|
size: O(X),
|
|
@@ -4348,7 +4354,7 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4348
4354
|
onClick: (V) => O(ml)(d)
|
|
4349
4355
|
}, {
|
|
4350
4356
|
icon: R(() => [
|
|
4351
|
-
|
|
4357
|
+
$(Je, {
|
|
4352
4358
|
icon: d.icon
|
|
4353
4359
|
}, null, 8, ["icon"])
|
|
4354
4360
|
]),
|
|
@@ -4356,15 +4362,15 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4356
4362
|
be(" " + Se(d.buttonName), 1)
|
|
4357
4363
|
]),
|
|
4358
4364
|
_: 2
|
|
4359
|
-
}, 1032, ["size", "type", "onClick"])) :
|
|
4365
|
+
}, 1032, ["size", "type", "onClick"])) : A("", !0)
|
|
4360
4366
|
]))), 128))
|
|
4361
4367
|
]),
|
|
4362
4368
|
_: 1
|
|
4363
|
-
})) :
|
|
4369
|
+
})) : A("", !0),
|
|
4364
4370
|
(C(!0), Y(Ce, null, ze(O(b), (d) => st(v.$slots, d)), 256))
|
|
4365
4371
|
]),
|
|
4366
4372
|
toolbar_tools: R(() => [
|
|
4367
|
-
O(s)(c.tableColumnsExtra) ? (C(),
|
|
4373
|
+
O(s)(c.tableColumnsExtra) ? (C(), j(we, {
|
|
4368
4374
|
key: 0,
|
|
4369
4375
|
size: "small",
|
|
4370
4376
|
circle: !0,
|
|
@@ -4375,12 +4381,12 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4375
4381
|
ac
|
|
4376
4382
|
]),
|
|
4377
4383
|
_: 1
|
|
4378
|
-
})) :
|
|
4379
|
-
O(s)(o.requestDownload) && typeof o.requestDownload == "object" ? (C(),
|
|
4384
|
+
})) : A("", !0),
|
|
4385
|
+
O(s)(o.requestDownload) && typeof o.requestDownload == "object" ? (C(), j(Hs, {
|
|
4380
4386
|
key: 1,
|
|
4381
4387
|
onExport: O(sn)
|
|
4382
|
-
}, null, 8, ["onExport"])) :
|
|
4383
|
-
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (C(),
|
|
4388
|
+
}, null, 8, ["onExport"])) : A("", !0),
|
|
4389
|
+
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (C(), j(we, {
|
|
4384
4390
|
key: 2,
|
|
4385
4391
|
size: "small",
|
|
4386
4392
|
circle: !0,
|
|
@@ -4391,8 +4397,8 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4391
4397
|
rc
|
|
4392
4398
|
]),
|
|
4393
4399
|
_: 1
|
|
4394
|
-
}, 8, ["onClick"])) :
|
|
4395
|
-
o.requestImport ? (C(),
|
|
4400
|
+
}, 8, ["onClick"])) : A("", !0),
|
|
4401
|
+
o.requestImport ? (C(), j(we, {
|
|
4396
4402
|
key: 3,
|
|
4397
4403
|
size: "small",
|
|
4398
4404
|
circle: !0,
|
|
@@ -4403,11 +4409,11 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4403
4409
|
lc
|
|
4404
4410
|
]),
|
|
4405
4411
|
_: 1
|
|
4406
|
-
})) :
|
|
4412
|
+
})) : A("", !0)
|
|
4407
4413
|
]),
|
|
4408
4414
|
empty: R(() => [
|
|
4409
|
-
z.value === "error" ? (C(), Y("h2", oc, uc)) :
|
|
4410
|
-
z.value === "none" ? (C(), Y("h2", sc, fc)) :
|
|
4415
|
+
z.value === "error" ? (C(), Y("h2", oc, uc)) : A("", !0),
|
|
4416
|
+
z.value === "none" ? (C(), Y("h2", sc, fc)) : A("", !0),
|
|
4411
4417
|
z.value === "more" ? (C(), Y("h2", dc, [
|
|
4412
4418
|
mc,
|
|
4413
4419
|
pc,
|
|
@@ -4416,22 +4422,22 @@ const Vs = { id: "div_view_modal" }, Ds = { style: { color: "red", "padding-left
|
|
|
4416
4422
|
href: "javascript:void(0)",
|
|
4417
4423
|
class: "link"
|
|
4418
4424
|
}, hc)
|
|
4419
|
-
])) :
|
|
4425
|
+
])) : A("", !0)
|
|
4420
4426
|
]),
|
|
4421
4427
|
_: 2
|
|
4422
4428
|
}, [
|
|
4423
4429
|
ze(O(T), (d) => ({
|
|
4424
4430
|
name: d,
|
|
4425
4431
|
fn: R((V) => [
|
|
4426
|
-
st(v.$slots, d, jl(
|
|
4432
|
+
st(v.$slots, d, $l(jl(V)))
|
|
4427
4433
|
])
|
|
4428
4434
|
}))
|
|
4429
4435
|
]), 1040, ["size"])
|
|
4430
4436
|
]),
|
|
4431
|
-
r.visible ? (C(),
|
|
4437
|
+
r.visible ? (C(), j(Ns, ee({ key: 0 }, r, {
|
|
4432
4438
|
onCancel: dn,
|
|
4433
4439
|
onSubmit: bl
|
|
4434
|
-
}), null, 16)) :
|
|
4440
|
+
}), null, 16)) : A("", !0)
|
|
4435
4441
|
], 512)), [
|
|
4436
4442
|
[Va, !y.value]
|
|
4437
4443
|
]);
|