sag-ubmp-pc 1.0.42 → 1.0.44
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-ubmp-pc.es.js +194 -194
- package/dist/sag-ubmp-pc.umd.js +2 -2
- package/package.json +1 -1
package/dist/sag-ubmp-pc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Me, { trim as Te, debounce as It } from "xe-utils";
|
|
2
|
-
import { inject as he, ref as M, h as Ve, getCurrentInstance as Rl, nextTick as dt, reactive as ee, defineComponent as Q, createVNode as
|
|
2
|
+
import { inject as he, ref as M, h as Ve, getCurrentInstance as Rl, nextTick as dt, reactive as ee, defineComponent as Q, createVNode as D, openBlock as x, createElementBlock as W, Fragment as de, createBlock as z, unref as O, createCommentVNode as j, onMounted as ie, resolveComponent as H, isRef as gt, createSlots as xe, withCtx as I, defineAsyncComponent as El, useCssVars as Ul, useAttrs as Xa, computed as Ct, onUnmounted as Fl, withDirectives as Vt, createElementVNode as K, toDisplayString as ae, createTextVNode as ce, vShow as $t, resolveDynamicComponent as Hl, mergeProps as te, provide as qn, useSlots as Ie, watch as ve, renderList as Ce, renderSlot as oe, toHandlers as Yl, normalizeProps as Wl, guardReactiveProps as Gl, normalizeStyle as ge } from "vue";
|
|
3
3
|
import { Modal as Jl, notification as zt, message as Zl, Spin as Ql } from "ant-design-vue";
|
|
4
4
|
import T from "dayjs";
|
|
5
5
|
const ht = "SAG_UBMP_PC$", ft = {
|
|
@@ -1447,19 +1447,19 @@ var J = function(n, t) {
|
|
|
1447
1447
|
msTransform: "rotate(".concat(u, "deg)"),
|
|
1448
1448
|
transform: "rotate(".concat(u, "deg)")
|
|
1449
1449
|
} : void 0, S = hl(p), h = Co(S, 2), b = h[0], N = h[1];
|
|
1450
|
-
return
|
|
1450
|
+
return D("span", Qn({
|
|
1451
1451
|
role: "img",
|
|
1452
1452
|
"aria-label": o.name
|
|
1453
1453
|
}, y, {
|
|
1454
1454
|
onClick: d,
|
|
1455
1455
|
class: [f, r],
|
|
1456
1456
|
tabindex: v
|
|
1457
|
-
}), [
|
|
1457
|
+
}), [D(je, {
|
|
1458
1458
|
icon: o,
|
|
1459
1459
|
primaryColor: b,
|
|
1460
1460
|
secondaryColor: N,
|
|
1461
1461
|
style: g
|
|
1462
|
-
}, null),
|
|
1462
|
+
}, null), D(wo, null, null)]);
|
|
1463
1463
|
};
|
|
1464
1464
|
J.props = {
|
|
1465
1465
|
spin: Boolean,
|
|
@@ -1488,7 +1488,7 @@ function $o(e, n, t) {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
var Ht = function(n, t) {
|
|
1490
1490
|
var a = Xn({}, n, t.attrs);
|
|
1491
|
-
return
|
|
1491
|
+
return D(J, Xn({}, a, {
|
|
1492
1492
|
icon: Vo
|
|
1493
1493
|
}), null);
|
|
1494
1494
|
};
|
|
@@ -1511,7 +1511,7 @@ function jo(e, n, t) {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
var Yt = function(n, t) {
|
|
1513
1513
|
var a = Kn({}, n, t.attrs);
|
|
1514
|
-
return
|
|
1514
|
+
return D(J, Kn({}, a, {
|
|
1515
1515
|
icon: zo
|
|
1516
1516
|
}), null);
|
|
1517
1517
|
};
|
|
@@ -1534,7 +1534,7 @@ function Do(e, n, t) {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
var Wt = function(n, t) {
|
|
1536
1536
|
var a = ea({}, n, t.attrs);
|
|
1537
|
-
return
|
|
1537
|
+
return D(J, ea({}, a, {
|
|
1538
1538
|
icon: qo
|
|
1539
1539
|
}), null);
|
|
1540
1540
|
};
|
|
@@ -1557,7 +1557,7 @@ function Bo(e, n, t) {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
var Gt = function(n, t) {
|
|
1559
1559
|
var a = ta({}, n, t.attrs);
|
|
1560
|
-
return
|
|
1560
|
+
return D(J, ta({}, a, {
|
|
1561
1561
|
icon: No
|
|
1562
1562
|
}), null);
|
|
1563
1563
|
};
|
|
@@ -1580,7 +1580,7 @@ function Lo(e, n, t) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
var Jt = function(n, t) {
|
|
1582
1582
|
var a = na({}, n, t.attrs);
|
|
1583
|
-
return
|
|
1583
|
+
return D(J, na({}, a, {
|
|
1584
1584
|
icon: Io
|
|
1585
1585
|
}), null);
|
|
1586
1586
|
};
|
|
@@ -1603,7 +1603,7 @@ function Eo(e, n, t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
var Zt = function(n, t) {
|
|
1605
1605
|
var a = aa({}, n, t.attrs);
|
|
1606
|
-
return
|
|
1606
|
+
return D(J, aa({}, a, {
|
|
1607
1607
|
icon: Ro
|
|
1608
1608
|
}), null);
|
|
1609
1609
|
};
|
|
@@ -1626,7 +1626,7 @@ function Fo(e, n, t) {
|
|
|
1626
1626
|
}
|
|
1627
1627
|
var yt = function(n, t) {
|
|
1628
1628
|
var a = la({}, n, t.attrs);
|
|
1629
|
-
return
|
|
1629
|
+
return D(J, la({}, a, {
|
|
1630
1630
|
icon: Uo
|
|
1631
1631
|
}), null);
|
|
1632
1632
|
};
|
|
@@ -1649,7 +1649,7 @@ function Yo(e, n, t) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
var Qt = function(n, t) {
|
|
1651
1651
|
var a = ra({}, n, t.attrs);
|
|
1652
|
-
return
|
|
1652
|
+
return D(J, ra({}, a, {
|
|
1653
1653
|
icon: Ho
|
|
1654
1654
|
}), null);
|
|
1655
1655
|
};
|
|
@@ -1672,7 +1672,7 @@ function Go(e, n, t) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
var Xt = function(n, t) {
|
|
1674
1674
|
var a = oa({}, n, t.attrs);
|
|
1675
|
-
return
|
|
1675
|
+
return D(J, oa({}, a, {
|
|
1676
1676
|
icon: Wo
|
|
1677
1677
|
}), null);
|
|
1678
1678
|
};
|
|
@@ -1695,7 +1695,7 @@ function Zo(e, n, t) {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
var Kt = function(n, t) {
|
|
1697
1697
|
var a = ia({}, n, t.attrs);
|
|
1698
|
-
return
|
|
1698
|
+
return D(J, ia({}, a, {
|
|
1699
1699
|
icon: Jo
|
|
1700
1700
|
}), null);
|
|
1701
1701
|
};
|
|
@@ -1718,7 +1718,7 @@ function Xo(e, n, t) {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
var en = function(n, t) {
|
|
1720
1720
|
var a = sa({}, n, t.attrs);
|
|
1721
|
-
return
|
|
1721
|
+
return D(J, sa({}, a, {
|
|
1722
1722
|
icon: Qo
|
|
1723
1723
|
}), null);
|
|
1724
1724
|
};
|
|
@@ -1741,7 +1741,7 @@ function ei(e, n, t) {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
var tn = function(n, t) {
|
|
1743
1743
|
var a = ua({}, n, t.attrs);
|
|
1744
|
-
return
|
|
1744
|
+
return D(J, ua({}, a, {
|
|
1745
1745
|
icon: Ko
|
|
1746
1746
|
}), null);
|
|
1747
1747
|
};
|
|
@@ -1764,7 +1764,7 @@ function ni(e, n, t) {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
var nn = function(n, t) {
|
|
1766
1766
|
var a = ca({}, n, t.attrs);
|
|
1767
|
-
return
|
|
1767
|
+
return D(J, ca({}, a, {
|
|
1768
1768
|
icon: ti
|
|
1769
1769
|
}), null);
|
|
1770
1770
|
};
|
|
@@ -1787,7 +1787,7 @@ function li(e, n, t) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
var an = function(n, t) {
|
|
1789
1789
|
var a = da({}, n, t.attrs);
|
|
1790
|
-
return
|
|
1790
|
+
return D(J, da({}, a, {
|
|
1791
1791
|
icon: ai
|
|
1792
1792
|
}), null);
|
|
1793
1793
|
};
|
|
@@ -1810,7 +1810,7 @@ function oi(e, n, t) {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
var ln = function(n, t) {
|
|
1812
1812
|
var a = fa({}, n, t.attrs);
|
|
1813
|
-
return
|
|
1813
|
+
return D(J, fa({}, a, {
|
|
1814
1814
|
icon: ri
|
|
1815
1815
|
}), null);
|
|
1816
1816
|
};
|
|
@@ -1833,7 +1833,7 @@ function si(e, n, t) {
|
|
|
1833
1833
|
}
|
|
1834
1834
|
var rn = function(n, t) {
|
|
1835
1835
|
var a = pa({}, n, t.attrs);
|
|
1836
|
-
return
|
|
1836
|
+
return D(J, pa({}, a, {
|
|
1837
1837
|
icon: ii
|
|
1838
1838
|
}), null);
|
|
1839
1839
|
};
|
|
@@ -1856,7 +1856,7 @@ function ci(e, n, t) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
var on = function(n, t) {
|
|
1858
1858
|
var a = ma({}, n, t.attrs);
|
|
1859
|
-
return
|
|
1859
|
+
return D(J, ma({}, a, {
|
|
1860
1860
|
icon: ui
|
|
1861
1861
|
}), null);
|
|
1862
1862
|
};
|
|
@@ -1879,7 +1879,7 @@ function fi(e, n, t) {
|
|
|
1879
1879
|
}
|
|
1880
1880
|
var sn = function(n, t) {
|
|
1881
1881
|
var a = ga({}, n, t.attrs);
|
|
1882
|
-
return
|
|
1882
|
+
return D(J, ga({}, a, {
|
|
1883
1883
|
icon: di
|
|
1884
1884
|
}), null);
|
|
1885
1885
|
};
|
|
@@ -1902,7 +1902,7 @@ function mi(e, n, t) {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
var un = function(n, t) {
|
|
1904
1904
|
var a = ha({}, n, t.attrs);
|
|
1905
|
-
return
|
|
1905
|
+
return D(J, ha({}, a, {
|
|
1906
1906
|
icon: pi
|
|
1907
1907
|
}), null);
|
|
1908
1908
|
};
|
|
@@ -1925,7 +1925,7 @@ function hi(e, n, t) {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
var cn = function(n, t) {
|
|
1927
1927
|
var a = va({}, n, t.attrs);
|
|
1928
|
-
return
|
|
1928
|
+
return D(J, va({}, a, {
|
|
1929
1929
|
icon: gi
|
|
1930
1930
|
}), null);
|
|
1931
1931
|
};
|
|
@@ -1948,7 +1948,7 @@ function bi(e, n, t) {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
var dn = function(n, t) {
|
|
1950
1950
|
var a = ba({}, n, t.attrs);
|
|
1951
|
-
return
|
|
1951
|
+
return D(J, ba({}, a, {
|
|
1952
1952
|
icon: vi
|
|
1953
1953
|
}), null);
|
|
1954
1954
|
};
|
|
@@ -1971,7 +1971,7 @@ function Si(e, n, t) {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
var fn = function(n, t) {
|
|
1973
1973
|
var a = ya({}, n, t.attrs);
|
|
1974
|
-
return
|
|
1974
|
+
return D(J, ya({}, a, {
|
|
1975
1975
|
icon: yi
|
|
1976
1976
|
}), null);
|
|
1977
1977
|
};
|
|
@@ -1994,7 +1994,7 @@ function wi(e, n, t) {
|
|
|
1994
1994
|
}
|
|
1995
1995
|
var pn = function(n, t) {
|
|
1996
1996
|
var a = Sa({}, n, t.attrs);
|
|
1997
|
-
return
|
|
1997
|
+
return D(J, Sa({}, a, {
|
|
1998
1998
|
icon: Oi
|
|
1999
1999
|
}), null);
|
|
2000
2000
|
};
|
|
@@ -2017,7 +2017,7 @@ function Ci(e, n, t) {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
var mn = function(n, t) {
|
|
2019
2019
|
var a = Oa({}, n, t.attrs);
|
|
2020
|
-
return
|
|
2020
|
+
return D(J, Oa({}, a, {
|
|
2021
2021
|
icon: _i
|
|
2022
2022
|
}), null);
|
|
2023
2023
|
};
|
|
@@ -2040,7 +2040,7 @@ function Pi(e, n, t) {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
var gn = function(n, t) {
|
|
2042
2042
|
var a = wa({}, n, t.attrs);
|
|
2043
|
-
return
|
|
2043
|
+
return D(J, wa({}, a, {
|
|
2044
2044
|
icon: xi
|
|
2045
2045
|
}), null);
|
|
2046
2046
|
};
|
|
@@ -2063,7 +2063,7 @@ function Ai(e, n, t) {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
var hn = function(n, t) {
|
|
2065
2065
|
var a = _a({}, n, t.attrs);
|
|
2066
|
-
return
|
|
2066
|
+
return D(J, _a({}, a, {
|
|
2067
2067
|
icon: ki
|
|
2068
2068
|
}), null);
|
|
2069
2069
|
};
|
|
@@ -2086,7 +2086,7 @@ function Mi(e, n, t) {
|
|
|
2086
2086
|
}
|
|
2087
2087
|
var vn = function(n, t) {
|
|
2088
2088
|
var a = Ca({}, n, t.attrs);
|
|
2089
|
-
return
|
|
2089
|
+
return D(J, Ca({}, a, {
|
|
2090
2090
|
icon: Ti
|
|
2091
2091
|
}), null);
|
|
2092
2092
|
};
|
|
@@ -2109,7 +2109,7 @@ function $i(e, n, t) {
|
|
|
2109
2109
|
}
|
|
2110
2110
|
var bn = function(n, t) {
|
|
2111
2111
|
var a = xa({}, n, t.attrs);
|
|
2112
|
-
return
|
|
2112
|
+
return D(J, xa({}, a, {
|
|
2113
2113
|
icon: Vi
|
|
2114
2114
|
}), null);
|
|
2115
2115
|
};
|
|
@@ -2132,7 +2132,7 @@ function ji(e, n, t) {
|
|
|
2132
2132
|
}
|
|
2133
2133
|
var yn = function(n, t) {
|
|
2134
2134
|
var a = Pa({}, n, t.attrs);
|
|
2135
|
-
return
|
|
2135
|
+
return D(J, Pa({}, a, {
|
|
2136
2136
|
icon: zi
|
|
2137
2137
|
}), null);
|
|
2138
2138
|
};
|
|
@@ -2155,7 +2155,7 @@ function Di(e, n, t) {
|
|
|
2155
2155
|
}
|
|
2156
2156
|
var Sn = function(n, t) {
|
|
2157
2157
|
var a = ka({}, n, t.attrs);
|
|
2158
|
-
return
|
|
2158
|
+
return D(J, ka({}, a, {
|
|
2159
2159
|
icon: qi
|
|
2160
2160
|
}), null);
|
|
2161
2161
|
};
|
|
@@ -2182,7 +2182,7 @@ const Ni = (e) => {
|
|
|
2182
2182
|
]) : e;
|
|
2183
2183
|
Jl.confirm({
|
|
2184
2184
|
title: "操作确认",
|
|
2185
|
-
icon:
|
|
2185
|
+
icon: D(Kt),
|
|
2186
2186
|
content: a,
|
|
2187
2187
|
okText: "确认",
|
|
2188
2188
|
cancelText: "取消",
|
|
@@ -2326,12 +2326,12 @@ function Li(e) {
|
|
|
2326
2326
|
if (l.checkboxConfig) {
|
|
2327
2327
|
let L = [];
|
|
2328
2328
|
for (const E in g)
|
|
2329
|
-
for (const
|
|
2330
|
-
|
|
2331
|
-
let
|
|
2329
|
+
for (const Y in g[E])
|
|
2330
|
+
Y === U && g[E][Y] && (L[g[E][Y]] = g[E][Y]);
|
|
2331
|
+
let q = "";
|
|
2332
2332
|
for (const E in L)
|
|
2333
|
-
|
|
2334
|
-
S = S.replace("{" + U + "}",
|
|
2333
|
+
q = (q ? q + "," : "") + E;
|
|
2334
|
+
S = S.replace("{" + U + "}", q);
|
|
2335
2335
|
} else
|
|
2336
2336
|
S = S.replace("{" + U + "}", g[U]);
|
|
2337
2337
|
}
|
|
@@ -2514,18 +2514,18 @@ function Ri(e) {
|
|
|
2514
2514
|
setTimeout(S, 2e3);
|
|
2515
2515
|
const h = a.value;
|
|
2516
2516
|
if (h) {
|
|
2517
|
-
const { filter: b, form: N, sort: U } = h.getProxyInfo(),
|
|
2517
|
+
const { filter: b, form: N, sort: U } = h.getProxyInfo(), q = jt({
|
|
2518
2518
|
currentPage: 1,
|
|
2519
2519
|
pageSize: 25e3
|
|
2520
2520
|
}, U, b, N, t, o);
|
|
2521
2521
|
if (typeof g == "string") {
|
|
2522
2522
|
g = ne(u.ctxPath, d.requestDownload);
|
|
2523
2523
|
let E = "";
|
|
2524
|
-
Object.keys(
|
|
2525
|
-
s(
|
|
2524
|
+
Object.keys(q).forEach((Y) => {
|
|
2525
|
+
s(q[Y]) && (typeof q[Y] == "string" && (E += "&" + Y + "=" + q[Y]), typeof q[Y] == "object" && Array.isArray(q[Y]) && (E += "&" + Y + "=" + q[Y].join(",")));
|
|
2526
2526
|
}), le("导出表格参数", [g, E]), Ni(g + E);
|
|
2527
2527
|
} else
|
|
2528
|
-
l.loading = !0,
|
|
2528
|
+
l.loading = !0, q.exportFlag = !0, r(q, d.requestData, !0).then(async (E) => {
|
|
2529
2529
|
if (E == null || E.rows.length == 0) {
|
|
2530
2530
|
l.loading = !1;
|
|
2531
2531
|
return;
|
|
@@ -2536,20 +2536,20 @@ function Ri(e) {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
setTimeout(() => {
|
|
2538
2538
|
if (m && typeof m == "function") {
|
|
2539
|
-
const
|
|
2539
|
+
const Y = {
|
|
2540
2540
|
filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2541
2541
|
sheetName: u.templateTitle,
|
|
2542
2542
|
data: E.rows,
|
|
2543
2543
|
columns: s(l.params.exportColumns) ? l.params.exportColumns : g,
|
|
2544
2544
|
mergeCells: i(E.rows)
|
|
2545
2545
|
};
|
|
2546
|
-
m(
|
|
2546
|
+
m(Y), l.loading = !1;
|
|
2547
2547
|
} else {
|
|
2548
|
-
const
|
|
2548
|
+
const Y = E.rows.concat([]), re = {
|
|
2549
2549
|
filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2550
2550
|
sheetName: u.templateTitle,
|
|
2551
2551
|
type: "xlsx",
|
|
2552
|
-
data:
|
|
2552
|
+
data: Y,
|
|
2553
2553
|
message: !1,
|
|
2554
2554
|
columns: s(l.params.exportColumns) ? l.params.exportColumns : l.columns,
|
|
2555
2555
|
isFooter: p.isFooter,
|
|
@@ -2884,7 +2884,7 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
2884
2884
|
resetValue: g,
|
|
2885
2885
|
getRefType: S
|
|
2886
2886
|
}), (h, b) => {
|
|
2887
|
-
const N =
|
|
2887
|
+
const N = H("a-range-picker");
|
|
2888
2888
|
return x(), z(N, {
|
|
2889
2889
|
value: O(c),
|
|
2890
2890
|
"onUpdate:value": b[0] || (b[0] = (U) => gt(c) ? c.value = U : c = U),
|
|
@@ -2934,7 +2934,7 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
2934
2934
|
getValue: d,
|
|
2935
2935
|
resetValue: _
|
|
2936
2936
|
}), (C, m) => {
|
|
2937
|
-
const f =
|
|
2937
|
+
const f = H("a-date-picker");
|
|
2938
2938
|
return x(), z(f, {
|
|
2939
2939
|
value: O(c),
|
|
2940
2940
|
"onUpdate:value": m[0] || (m[0] = (v) => gt(c) ? c.value = v : c = v),
|
|
@@ -2976,7 +2976,7 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
2976
2976
|
}), ie(() => {
|
|
2977
2977
|
u("update:value", o.value);
|
|
2978
2978
|
}), (_, C) => {
|
|
2979
|
-
const m =
|
|
2979
|
+
const m = H("a-input");
|
|
2980
2980
|
return x(), z(m, {
|
|
2981
2981
|
value: o.value,
|
|
2982
2982
|
"onUpdate:value": C[0] || (C[0] = (f) => o.value = f),
|
|
@@ -3024,9 +3024,9 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
3024
3024
|
d.value = g;
|
|
3025
3025
|
});
|
|
3026
3026
|
}), (g, S) => {
|
|
3027
|
-
const h =
|
|
3027
|
+
const h = H("a-select");
|
|
3028
3028
|
return x(), W("div", rs, [
|
|
3029
|
-
|
|
3029
|
+
D(h, {
|
|
3030
3030
|
value: c.value,
|
|
3031
3031
|
"onUpdate:value": S[0] || (S[0] = (b) => c.value = b),
|
|
3032
3032
|
onChange: C,
|
|
@@ -3098,9 +3098,9 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
3098
3098
|
g(a.defaultValue, a.defaultName);
|
|
3099
3099
|
}
|
|
3100
3100
|
}), (h, b) => {
|
|
3101
|
-
const N =
|
|
3101
|
+
const N = H("a-spin"), U = H("a-select");
|
|
3102
3102
|
return x(), W("div", is, [
|
|
3103
|
-
|
|
3103
|
+
D(U, {
|
|
3104
3104
|
value: u.value,
|
|
3105
3105
|
"onUpdate:value": b[0] || (b[0] = (L) => u.value = L),
|
|
3106
3106
|
placeholder: i,
|
|
@@ -3119,7 +3119,7 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
3119
3119
|
y.value ? {
|
|
3120
3120
|
name: "notFoundContent",
|
|
3121
3121
|
fn: I(() => [
|
|
3122
|
-
|
|
3122
|
+
D(N, { size: "small" })
|
|
3123
3123
|
]),
|
|
3124
3124
|
key: "0"
|
|
3125
3125
|
} : void 0
|
|
@@ -3169,9 +3169,9 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
3169
3169
|
}), C().then((h) => {
|
|
3170
3170
|
d.value = h, p.value = h;
|
|
3171
3171
|
}), (h, b) => {
|
|
3172
|
-
const N =
|
|
3172
|
+
const N = H("a-select");
|
|
3173
3173
|
return x(), W("div", us, [
|
|
3174
|
-
|
|
3174
|
+
D(N, {
|
|
3175
3175
|
value: u.value,
|
|
3176
3176
|
"onUpdate:value": b[0] || (b[0] = (U) => u.value = U),
|
|
3177
3177
|
placeholder: i,
|
|
@@ -3235,9 +3235,9 @@ const St = /* @__PURE__ */ Ol(Qi), Xi = "CONSTANT_DIALOG_CONTAINER", be = "CONST
|
|
|
3235
3235
|
setValue: S,
|
|
3236
3236
|
resetValue: h
|
|
3237
3237
|
}), (b, N) => {
|
|
3238
|
-
const U =
|
|
3238
|
+
const U = H("a-cascader");
|
|
3239
3239
|
return x(), W("div", ds, [
|
|
3240
|
-
|
|
3240
|
+
D(U, {
|
|
3241
3241
|
value: d.value,
|
|
3242
3242
|
"onUpdate:value": N[0] || (N[0] = (L) => d.value = L),
|
|
3243
3243
|
options: y.value,
|
|
@@ -3318,7 +3318,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3318
3318
|
__name: "AntdModal",
|
|
3319
3319
|
emits: ["cancel", "submit"],
|
|
3320
3320
|
setup(e, { emit: n }) {
|
|
3321
|
-
Ul((
|
|
3321
|
+
Ul((q) => ({
|
|
3322
3322
|
"761c0466": f.value,
|
|
3323
3323
|
"1ad0f4ad": v.value,
|
|
3324
3324
|
dfcbabf2: 500 + g()
|
|
@@ -3345,22 +3345,22 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3345
3345
|
count: [],
|
|
3346
3346
|
positions: {}
|
|
3347
3347
|
}));
|
|
3348
|
-
const l = window.__sagUbmpPcModalMinimizedStack, r = M("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), o = (
|
|
3348
|
+
const l = window.__sagUbmpPcModalMinimizedStack, r = M("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), o = (q) => t.mountainTop ? document.body : A.targetModal.getDialogContainer != null && typeof A.targetModal.getDialogContainer == "function" ? A.targetModal.getDialogContainer(q) : q.parentNode, i = Ct(() => t.componentVue && typeof t.componentUrl == "string" ? hs(t.componentUrl) : t.componentUrl), u = t.componentVue ? "" : t.componentUrl, c = t.mountainTop ? "calc(100vh - 88px)" : "calc(100vh - 188px)", p = n, d = () => {
|
|
3349
3349
|
a.value = !0, p("cancel");
|
|
3350
|
-
}, y = (
|
|
3351
|
-
p("submit",
|
|
3350
|
+
}, y = (q) => {
|
|
3351
|
+
p("submit", q);
|
|
3352
3352
|
}, _ = M(null), C = M(!1), m = ee({
|
|
3353
3353
|
width: t.maximize ? "100%" : t.width,
|
|
3354
3354
|
height: t.maximize ? c : t.height,
|
|
3355
3355
|
minIcon: "vxe-icon-minus",
|
|
3356
3356
|
maxZoomIcon: t.maximize ? "vxe-icon-maximize" : "vxe-icon-square"
|
|
3357
3357
|
}), f = Ct(() => "20px"), v = Ct(() => (l.positions[t.instanceId] ?? 0) * 100 + 20 + "px"), g = () => l.positions[t.instanceId] ?? 0, S = () => {
|
|
3358
|
-
const
|
|
3359
|
-
if (!s(
|
|
3358
|
+
const q = l.positions[t.instanceId];
|
|
3359
|
+
if (!s(q) || q === -1) {
|
|
3360
3360
|
let E = -1;
|
|
3361
|
-
for (let
|
|
3362
|
-
if (!l.count.includes(
|
|
3363
|
-
E =
|
|
3361
|
+
for (let Y = 0; Y <= 4; Y++)
|
|
3362
|
+
if (!l.count.includes(Y)) {
|
|
3363
|
+
E = Y, l.count.push(Y);
|
|
3364
3364
|
break;
|
|
3365
3365
|
}
|
|
3366
3366
|
if (E === -1) {
|
|
@@ -3372,33 +3372,33 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3372
3372
|
C.value = !0, a.value = !1, t.visible = !1;
|
|
3373
3373
|
}, h = () => {
|
|
3374
3374
|
C.value = !1, t.visible = !0;
|
|
3375
|
-
const
|
|
3376
|
-
let E = l.count.findIndex((
|
|
3375
|
+
const q = l.positions;
|
|
3376
|
+
let E = l.count.findIndex((Y) => Y === q[t.instanceId]);
|
|
3377
3377
|
E !== -1 && l.count.splice(E, 1), delete l.positions[t.instanceId];
|
|
3378
3378
|
}, b = () => {
|
|
3379
|
-
let
|
|
3380
|
-
|
|
3379
|
+
let q = !_.value.fullScreen;
|
|
3380
|
+
q ? (m.maxZoomIcon = "vxe-icon-maximize", m.width = "100%", m.height = c) : (m.maxZoomIcon = "vxe-icon-square", m.width = t.width, m.height = t.height), _.value.fullScreen = q;
|
|
3381
3381
|
}, N = "vue_iframe_" + Math.round(Math.random() * 1e8), U = M(), L = () => {
|
|
3382
|
-
console.log("iframe加载完毕", N), U.value.contentWindow.addEventListener("closeSagDialogModal", function(
|
|
3383
|
-
console.log("iframe关闭触发",
|
|
3382
|
+
console.log("iframe加载完毕", N), U.value.contentWindow.addEventListener("closeSagDialogModal", function(q) {
|
|
3383
|
+
console.log("iframe关闭触发", q), d();
|
|
3384
3384
|
});
|
|
3385
3385
|
};
|
|
3386
3386
|
return ie(() => {
|
|
3387
3387
|
le("SagVxeDialog弹出参数", t), t.maximize && (_.value.fullScreen = !0);
|
|
3388
3388
|
}), Fl(() => {
|
|
3389
3389
|
if (l && l.count.length > 0) {
|
|
3390
|
-
let
|
|
3391
|
-
|
|
3390
|
+
let q = l.count.findIndex((E) => E === l.positions[t.instanceId]);
|
|
3391
|
+
q !== -1 && l.count.splice(q, 1);
|
|
3392
3392
|
}
|
|
3393
|
-
}), (
|
|
3394
|
-
const
|
|
3393
|
+
}), (q, E) => {
|
|
3394
|
+
const Y = H("vxe-button"), re = H("a-modal");
|
|
3395
3395
|
return x(), W("div", vs, [
|
|
3396
3396
|
Vt(K("div", {
|
|
3397
3397
|
class: "sag-ubmp-pc-modal-minimized-bar",
|
|
3398
3398
|
onClick: h
|
|
3399
3399
|
}, [
|
|
3400
3400
|
K("span", bs, ae(t.title + (O(s)(t.instanceValue) ? "【" + t.instanceValue + "】" : "")), 1),
|
|
3401
|
-
|
|
3401
|
+
D(Y, {
|
|
3402
3402
|
mode: "text",
|
|
3403
3403
|
icon: "vxe-icon-square",
|
|
3404
3404
|
size: "small"
|
|
@@ -3411,7 +3411,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3411
3411
|
], 512), [
|
|
3412
3412
|
[$t, C.value]
|
|
3413
3413
|
]),
|
|
3414
|
-
|
|
3414
|
+
D(re, {
|
|
3415
3415
|
ref_key: "gridModal",
|
|
3416
3416
|
ref: _,
|
|
3417
3417
|
open: t.visible,
|
|
@@ -3434,14 +3434,14 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3434
3434
|
title: I(() => [
|
|
3435
3435
|
K("span", ys, ae(t.title), 1),
|
|
3436
3436
|
K("span", Ss, [
|
|
3437
|
-
O(s)(t.instanceId) && t.componentVue ? (x(), z(
|
|
3437
|
+
O(s)(t.instanceId) && t.componentVue ? (x(), z(Y, {
|
|
3438
3438
|
key: 0,
|
|
3439
3439
|
mode: "text",
|
|
3440
3440
|
icon: m.minIcon,
|
|
3441
3441
|
onClick: S,
|
|
3442
3442
|
title: "缩小"
|
|
3443
3443
|
}, null, 8, ["icon"])) : j("", !0),
|
|
3444
|
-
|
|
3444
|
+
D(Y, {
|
|
3445
3445
|
mode: "text",
|
|
3446
3446
|
icon: m.maxZoomIcon,
|
|
3447
3447
|
onClick: b,
|
|
@@ -3496,7 +3496,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3496
3496
|
}), ie(() => {
|
|
3497
3497
|
i("update:value", c());
|
|
3498
3498
|
}), (y, _) => {
|
|
3499
|
-
const C =
|
|
3499
|
+
const C = H("vxe-input", !0);
|
|
3500
3500
|
return x(), z(C, {
|
|
3501
3501
|
"model-value": r.value,
|
|
3502
3502
|
placeholder: O(o),
|
|
@@ -3560,7 +3560,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3560
3560
|
!a.multiple && a.selectAll && (h = [{ label: "--全部--", value: "" }].concat(h)), d.value = h, _.options = h;
|
|
3561
3561
|
});
|
|
3562
3562
|
}), (h, b) => {
|
|
3563
|
-
const N =
|
|
3563
|
+
const N = H("vxe-select", !0);
|
|
3564
3564
|
return x(), z(N, te({
|
|
3565
3565
|
modelValue: c.value,
|
|
3566
3566
|
"onUpdate:modelValue": b[0] || (b[0] = (U) => c.value = U)
|
|
@@ -3633,7 +3633,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3633
3633
|
f(a.defaultValue);
|
|
3634
3634
|
}
|
|
3635
3635
|
}), (g, S) => {
|
|
3636
|
-
const h =
|
|
3636
|
+
const h = H("vxe-select");
|
|
3637
3637
|
return x(), z(h, te({
|
|
3638
3638
|
modelValue: i.value,
|
|
3639
3639
|
"onUpdate:modelValue": S[0] || (S[0] = (b) => i.value = b)
|
|
@@ -3692,7 +3692,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3692
3692
|
c.value = g, d.options = g;
|
|
3693
3693
|
});
|
|
3694
3694
|
}), (g, S) => {
|
|
3695
|
-
const h =
|
|
3695
|
+
const h = H("vxe-select");
|
|
3696
3696
|
return x(), z(h, te({
|
|
3697
3697
|
modelValue: i.value,
|
|
3698
3698
|
"onUpdate:modelValue": S[0] || (S[0] = (b) => i.value = b)
|
|
@@ -3803,7 +3803,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3803
3803
|
51: "AZ"
|
|
3804
3804
|
};
|
|
3805
3805
|
return (r, o) => {
|
|
3806
|
-
const i =
|
|
3806
|
+
const i = H("vxe-button");
|
|
3807
3807
|
return x(), z(i, {
|
|
3808
3808
|
size: "small",
|
|
3809
3809
|
circle: !0,
|
|
@@ -3956,7 +3956,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
3956
3956
|
pageSizePlacement: V.toString(r?.templateTable?.pagerConfig?.pageSizePlacement, "top")
|
|
3957
3957
|
}), m = A.application + "_" + o.templateType, f = "sag_vxe_page_div_panel_" + m;
|
|
3958
3958
|
qn(be, o), qn(Xi, () => document.getElementById(O(f)));
|
|
3959
|
-
const v = Object.keys(Ie()), g = v.filter((P) => P.startsWith("items_")), S = v.filter((P) => P.startsWith("cols_")), h = v.filter((P) => P.startsWith("tools_")), b = M(), N = M(!0), U = M(!1), L = M("none"),
|
|
3959
|
+
const v = Object.keys(Ie()), g = v.filter((P) => P.startsWith("items_")), S = v.filter((P) => P.startsWith("cols_")), h = v.filter((P) => P.startsWith("tools_")), b = M(), N = M(!0), U = M(!1), L = M("none"), q = M(["1"]), E = M(0), Y = qe(o.size), re = M(), G = ee({}), we = M([]), Je = M(), Ot = M([]), Ze = t, ye = (P, w) => {
|
|
3960
3960
|
we.value[w] = P;
|
|
3961
3961
|
}, De = async () => {
|
|
3962
3962
|
const P = b.value;
|
|
@@ -4014,15 +4014,15 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4014
4014
|
ajax: {
|
|
4015
4015
|
// 接收 Promise 对象
|
|
4016
4016
|
query: (P) => {
|
|
4017
|
-
const { page: w, sorts: B, filters:
|
|
4017
|
+
const { page: w, sorts: B, filters: F, form: X } = P, fe = jt(w, B, F, X, G, we);
|
|
4018
4018
|
if (c.storage) {
|
|
4019
|
-
const Pe = Vr(B,
|
|
4019
|
+
const Pe = Vr(B, F, X, G);
|
|
4020
4020
|
Dn(o.application, o.templateType, Pe);
|
|
4021
4021
|
}
|
|
4022
4022
|
return xn(fe, i.requestData, !1);
|
|
4023
4023
|
},
|
|
4024
4024
|
querySuccess: (P) => {
|
|
4025
|
-
const { page: w, sort: B, sorts:
|
|
4025
|
+
const { page: w, sort: B, sorts: F, filters: X, form: fe, response: Pe } = P;
|
|
4026
4026
|
d?.isMerge && (Z.mergeCells = kn(Pe?.rows)), Ze("search", Pe, { $gridRef: b.value, gridOptions: Z });
|
|
4027
4027
|
}
|
|
4028
4028
|
}
|
|
@@ -4042,7 +4042,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4042
4042
|
queryParams: P,
|
|
4043
4043
|
exportFlag: B
|
|
4044
4044
|
});
|
|
4045
|
-
const
|
|
4045
|
+
const F = await We(
|
|
4046
4046
|
ne(o.ctxPath, w),
|
|
4047
4047
|
P
|
|
4048
4048
|
).finally(() => {
|
|
@@ -4050,13 +4050,13 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4050
4050
|
U.value = !1;
|
|
4051
4051
|
}, 1e3);
|
|
4052
4052
|
});
|
|
4053
|
-
if (
|
|
4054
|
-
if (Z.params.dataSum =
|
|
4055
|
-
if (!B &&
|
|
4056
|
-
return L.value = "more", Z.params.data = Pn(
|
|
4053
|
+
if (F.success) {
|
|
4054
|
+
if (Z.params.dataSum = F.data?.dataSum, d?.mergeKey) {
|
|
4055
|
+
if (!B && F.data.rows.length > 800)
|
|
4056
|
+
return L.value = "more", Z.params.data = Pn(F.data), null;
|
|
4057
4057
|
d?.isMerge || (Z.virtualYConfig = { enabled: !1 });
|
|
4058
4058
|
}
|
|
4059
|
-
return Pn(
|
|
4059
|
+
return Pn(F.data);
|
|
4060
4060
|
} else
|
|
4061
4061
|
return L.value = "error", null;
|
|
4062
4062
|
}
|
|
@@ -4067,9 +4067,9 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4067
4067
|
if (w) {
|
|
4068
4068
|
const B = b.value;
|
|
4069
4069
|
if (B) {
|
|
4070
|
-
const
|
|
4071
|
-
for (let X in
|
|
4072
|
-
P.row[w] ===
|
|
4070
|
+
const F = B.getTableData();
|
|
4071
|
+
for (let X in F.tableData)
|
|
4072
|
+
P.row[w] === F.tableData[X][w] && B.setCheckboxRow(F.tableData[X], P.checked);
|
|
4073
4073
|
}
|
|
4074
4074
|
}
|
|
4075
4075
|
}
|
|
@@ -4080,10 +4080,10 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4080
4080
|
if (w) {
|
|
4081
4081
|
const B = b.value;
|
|
4082
4082
|
if (B) {
|
|
4083
|
-
const
|
|
4084
|
-
for (let X in
|
|
4085
|
-
if (P.row[w] ===
|
|
4086
|
-
B.setRadioRow(
|
|
4083
|
+
const F = B.getTableData();
|
|
4084
|
+
for (let X in F.tableData)
|
|
4085
|
+
if (P.row[w] === F.tableData[X][w]) {
|
|
4086
|
+
B.setRadioRow(F.tableData[X]);
|
|
4087
4087
|
break;
|
|
4088
4088
|
}
|
|
4089
4089
|
}
|
|
@@ -4096,9 +4096,9 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4096
4096
|
}, Pn = (P) => {
|
|
4097
4097
|
const w = d?.seqKey, B = d?.mergeKey;
|
|
4098
4098
|
if (B && w) {
|
|
4099
|
-
let
|
|
4099
|
+
let F = [""], X = 0 + P.pageSize * (P.pageNo - 1);
|
|
4100
4100
|
for (let fe in P.rows)
|
|
4101
|
-
|
|
4101
|
+
F.includes(P.rows[fe][B]) || (X++, F.push(P.rows[fe][B])), P.rows[fe][w] = X;
|
|
4102
4102
|
}
|
|
4103
4103
|
return o.onLoadAfterModule ? o.onLoadAfterModule({
|
|
4104
4104
|
$gridRef: b.value,
|
|
@@ -4109,7 +4109,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4109
4109
|
const w = d?.mergeKey;
|
|
4110
4110
|
if (w && d.isMerge) {
|
|
4111
4111
|
const B = b.value;
|
|
4112
|
-
let
|
|
4112
|
+
let F = [], X = {}, fe = {};
|
|
4113
4113
|
for (let _e = 0; _e < P.length; _e++) {
|
|
4114
4114
|
const se = P[_e], Be = P[_e - 1];
|
|
4115
4115
|
let ke = P[_e + 1];
|
|
@@ -4119,11 +4119,11 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4119
4119
|
for (let _e in Pe) {
|
|
4120
4120
|
let se = B?.getColumnByField(Pe[_e]), Be = B?.getColumnIndex(se);
|
|
4121
4121
|
for (let ke in fe)
|
|
4122
|
-
|
|
4122
|
+
F = F.concat([
|
|
4123
4123
|
{ row: fe[ke], col: Be, rowspan: X[ke], colspan: 1 }
|
|
4124
4124
|
]);
|
|
4125
4125
|
}
|
|
4126
|
-
return
|
|
4126
|
+
return F;
|
|
4127
4127
|
}
|
|
4128
4128
|
return null;
|
|
4129
4129
|
}, Vl = ee({
|
|
@@ -4169,7 +4169,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4169
4169
|
}), ql = async () => {
|
|
4170
4170
|
if (s(c.formItems)) {
|
|
4171
4171
|
const w = c.formItems, B = c.formProps.foldingLength;
|
|
4172
|
-
Object.keys(w).forEach((
|
|
4172
|
+
Object.keys(w).forEach((F, X) => {
|
|
4173
4173
|
w[X].folding = !(X < B);
|
|
4174
4174
|
}), Ot.value = [
|
|
4175
4175
|
{ span: 24, align: "right", children: w },
|
|
@@ -4183,9 +4183,9 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4183
4183
|
}
|
|
4184
4184
|
if (document.documentElement.clientHeight < 680) {
|
|
4185
4185
|
const w = p.tableColumns;
|
|
4186
|
-
Object.keys(w).forEach((
|
|
4186
|
+
Object.keys(w).forEach((F) => w[F].fixed = !1);
|
|
4187
4187
|
const B = p.tableColumnsExtra;
|
|
4188
|
-
B && Object.keys(B).forEach((
|
|
4188
|
+
B && Object.keys(B).forEach((F) => B[F].fixed = !1);
|
|
4189
4189
|
}
|
|
4190
4190
|
Vn(o.application, !0), p.rowType === "checkbox" ? Z.checkboxConfig = { highlight: !0 } : p.rowType === "radio" ? Z.radioConfig = { highlight: !0 } : Z.rowConfig.isCurrent = !0;
|
|
4191
4191
|
const P = p.pageSizes;
|
|
@@ -4200,11 +4200,11 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4200
4200
|
const P = nr(o.application, o.templateType);
|
|
4201
4201
|
if (s(P)) {
|
|
4202
4202
|
let w = [];
|
|
4203
|
-
Me.arrayEach(c.formItems, (
|
|
4204
|
-
w.push(
|
|
4203
|
+
Me.arrayEach(c.formItems, (F, X) => {
|
|
4204
|
+
w.push(F.field);
|
|
4205
4205
|
});
|
|
4206
4206
|
let B = [];
|
|
4207
|
-
Me.objectEach(P, (
|
|
4207
|
+
Me.objectEach(P, (F, X) => {
|
|
4208
4208
|
B.push(X);
|
|
4209
4209
|
}), Me.includeArrays(w, B) ? jn(P) : await Ke(c.formItems, we, G);
|
|
4210
4210
|
} else
|
|
@@ -4227,7 +4227,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4227
4227
|
});
|
|
4228
4228
|
}, A.templateTable.lazyComputdHeightTime);
|
|
4229
4229
|
p.clientScale === 1 && ve(
|
|
4230
|
-
[
|
|
4230
|
+
[q, E],
|
|
4231
4231
|
() => {
|
|
4232
4232
|
$n();
|
|
4233
4233
|
},
|
|
@@ -4237,7 +4237,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4237
4237
|
if (s(P.instanceId)) {
|
|
4238
4238
|
const w = {};
|
|
4239
4239
|
w.instanceId = Ne + P.instanceId, w.title = R(P.title, A.targetModal.title), w.width = R(P.width, A.targetModal.width), w.height = R(P.height, A.targetModal.height), w.maximize = R(P.maximize, !1), w.autoLoad = R(P.autoLoad, !1), w.componentVue = R(P.componentVue, A.targetModal.componentVue), w.componentParams = P.componentParams, w.componentUrl = P.componentUrl, w.visible = !0;
|
|
4240
|
-
const B = l.value.findIndex((
|
|
4240
|
+
const B = l.value.findIndex((F) => F.instanceId === w.instanceId);
|
|
4241
4241
|
if (s(B) && B >= 0)
|
|
4242
4242
|
if (l.value[B].visible) {
|
|
4243
4243
|
Oe("已经打开该数据弹窗信息");
|
|
@@ -4256,11 +4256,11 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4256
4256
|
a.visible = !1, a.autoLoad && De();
|
|
4257
4257
|
}, zn = (P, w) => {
|
|
4258
4258
|
if (s(w)) {
|
|
4259
|
-
const B = l.value.findIndex((
|
|
4259
|
+
const B = l.value.findIndex((F) => F.instanceId === w);
|
|
4260
4260
|
if (B !== -1) {
|
|
4261
4261
|
l.value[B].visible = !1;
|
|
4262
|
-
const
|
|
4263
|
-
Ze("submit", { data: P, params:
|
|
4262
|
+
const F = l.value[B].componentParams;
|
|
4263
|
+
Ze("submit", { data: P, params: F, button: F[A.buttonKeyName] });
|
|
4264
4264
|
}
|
|
4265
4265
|
} else {
|
|
4266
4266
|
a.visible = !1;
|
|
@@ -4270,8 +4270,8 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4270
4270
|
}, Bl = async () => await Sl(b, Z), Il = async () => {
|
|
4271
4271
|
const P = b.value;
|
|
4272
4272
|
if (P) {
|
|
4273
|
-
const { pager: w, filter: B, form:
|
|
4274
|
-
return jt(w, X, B,
|
|
4273
|
+
const { pager: w, filter: B, form: F, sort: X } = P.getProxyInfo();
|
|
4274
|
+
return jt(w, X, B, F, G, we);
|
|
4275
4275
|
} else
|
|
4276
4276
|
return null;
|
|
4277
4277
|
}, jn = (P) => {
|
|
@@ -4291,20 +4291,20 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4291
4291
|
Z.params.exportColumns = P;
|
|
4292
4292
|
}
|
|
4293
4293
|
}), (P, w) => {
|
|
4294
|
-
const B =
|
|
4294
|
+
const B = H("a-button"), F = H("a-space"), X = H("vxe-form"), fe = H("a-collapse-panel"), Pe = H("a-collapse"), _e = H("a-menu-item"), se = H("a-menu"), Be = H("a-dropdown"), ke = H("vxe-button"), Ll = H("vxe-grid");
|
|
4295
4295
|
return Vt((x(), W("div", {
|
|
4296
4296
|
id: f,
|
|
4297
4297
|
class: "sag-vxe-page-wrapper"
|
|
4298
4298
|
}, [
|
|
4299
4299
|
Vt(K("div", As, [
|
|
4300
|
-
|
|
4301
|
-
activeKey:
|
|
4302
|
-
"onUpdate:activeKey": w[2] || (w[2] = (k) =>
|
|
4300
|
+
D(Pe, {
|
|
4301
|
+
activeKey: q.value,
|
|
4302
|
+
"onUpdate:activeKey": w[2] || (w[2] = (k) => q.value = k),
|
|
4303
4303
|
expandIconPosition: "end",
|
|
4304
4304
|
accordion: ""
|
|
4305
4305
|
}, {
|
|
4306
4306
|
default: I(() => [
|
|
4307
|
-
|
|
4307
|
+
D(fe, {
|
|
4308
4308
|
ref_key: "formCardRef",
|
|
4309
4309
|
ref: re,
|
|
4310
4310
|
key: "1",
|
|
@@ -4313,7 +4313,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4313
4313
|
forceRender: ""
|
|
4314
4314
|
}, {
|
|
4315
4315
|
default: I(() => [
|
|
4316
|
-
|
|
4316
|
+
D(X, {
|
|
4317
4317
|
ref_key: "formRef",
|
|
4318
4318
|
ref: Je,
|
|
4319
4319
|
data: G,
|
|
@@ -4328,11 +4328,11 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4328
4328
|
class: "sag-vxe-page-form"
|
|
4329
4329
|
}, xe({
|
|
4330
4330
|
toolbar_tools: I(() => [
|
|
4331
|
-
|
|
4331
|
+
D(F, null, {
|
|
4332
4332
|
default: I(() => [
|
|
4333
|
-
|
|
4333
|
+
D(B, {
|
|
4334
4334
|
type: "primary",
|
|
4335
|
-
size: O(
|
|
4335
|
+
size: O(Y),
|
|
4336
4336
|
onClick: w[0] || (w[0] = (k) => De()),
|
|
4337
4337
|
disabled: U.value
|
|
4338
4338
|
}, {
|
|
@@ -4341,8 +4341,8 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4341
4341
|
])),
|
|
4342
4342
|
_: 1
|
|
4343
4343
|
}, 8, ["size", "disabled"]),
|
|
4344
|
-
|
|
4345
|
-
size: O(
|
|
4344
|
+
D(B, {
|
|
4345
|
+
size: O(Y),
|
|
4346
4346
|
onClick: w[1] || (w[1] = (k) => Cn())
|
|
4347
4347
|
}, {
|
|
4348
4348
|
default: I(() => w[6] || (w[6] = [
|
|
@@ -4355,14 +4355,14 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4355
4355
|
})
|
|
4356
4356
|
]),
|
|
4357
4357
|
dateRange: I((k) => [
|
|
4358
|
-
|
|
4358
|
+
D(ns, te({
|
|
4359
4359
|
value: G[k.field],
|
|
4360
4360
|
"onUpdate:value": ($) => G[k.field] = $,
|
|
4361
4361
|
ref: ($) => ye($, k.field)
|
|
4362
4362
|
}, k?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value"])
|
|
4363
4363
|
]),
|
|
4364
4364
|
date: I((k) => [
|
|
4365
|
-
|
|
4365
|
+
D(as, te({
|
|
4366
4366
|
value: G[k.field],
|
|
4367
4367
|
"onUpdate:value": ($) => G[k.field] = $,
|
|
4368
4368
|
ref: ($) => ye($, k.field)
|
|
@@ -4431,7 +4431,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4431
4431
|
}, k?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4432
4432
|
]),
|
|
4433
4433
|
cascader: I((k) => [
|
|
4434
|
-
|
|
4434
|
+
D(fs, te({
|
|
4435
4435
|
value: G[k.field],
|
|
4436
4436
|
"onUpdate:value": ($) => G[k.field] = $,
|
|
4437
4437
|
title: k?.item?.title,
|
|
@@ -4459,7 +4459,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4459
4459
|
[$t, O(s)(c.formItems)]
|
|
4460
4460
|
]),
|
|
4461
4461
|
K("div", Ts, [
|
|
4462
|
-
|
|
4462
|
+
D(Ll, te({
|
|
4463
4463
|
ref_key: "gridRef",
|
|
4464
4464
|
ref: b
|
|
4465
4465
|
}, Z, Yl(Vl), {
|
|
@@ -4505,7 +4505,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4505
4505
|
onClick: (ue) => O(Qe)($, k)
|
|
4506
4506
|
}, {
|
|
4507
4507
|
icon: I(() => [
|
|
4508
|
-
|
|
4508
|
+
D(ze, {
|
|
4509
4509
|
icon: $.icon
|
|
4510
4510
|
}, null, 8, ["icon"])
|
|
4511
4511
|
]),
|
|
@@ -4520,7 +4520,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4520
4520
|
class: "sag-vxe-page-button-link",
|
|
4521
4521
|
onClick: (ue) => O(Qe)($, k)
|
|
4522
4522
|
}, [
|
|
4523
|
-
|
|
4523
|
+
D(ze, {
|
|
4524
4524
|
icon: $.icon
|
|
4525
4525
|
}, null, 8, ["icon"]),
|
|
4526
4526
|
ce(" " + ae($.buttonName), 1)
|
|
@@ -4534,7 +4534,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4534
4534
|
destroyPopupOnHide: !0
|
|
4535
4535
|
}, {
|
|
4536
4536
|
overlay: I(() => [
|
|
4537
|
-
|
|
4537
|
+
D(se, null, {
|
|
4538
4538
|
default: I(() => [
|
|
4539
4539
|
(x(!0), W(de, null, Ce(y.tableMoreButtons, ($) => (x(), W(de, { key: $ }, [
|
|
4540
4540
|
O(Ee)($.auth) ? (x(), W(de, { key: 0 }, [
|
|
@@ -4543,7 +4543,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4543
4543
|
K("a", {
|
|
4544
4544
|
onClick: (ue) => O(Qe)($, k)
|
|
4545
4545
|
}, [
|
|
4546
|
-
|
|
4546
|
+
D(ze, {
|
|
4547
4547
|
icon: $.icon
|
|
4548
4548
|
}, null, 8, ["icon"]),
|
|
4549
4549
|
ce(" " + ae($.buttonName), 1)
|
|
@@ -4558,13 +4558,13 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4558
4558
|
}, 1024)
|
|
4559
4559
|
]),
|
|
4560
4560
|
default: I(() => [
|
|
4561
|
-
|
|
4561
|
+
D(B, {
|
|
4562
4562
|
type: p.showButtonLink ? "link" : "default",
|
|
4563
4563
|
size: "small"
|
|
4564
4564
|
}, {
|
|
4565
4565
|
default: I(() => [
|
|
4566
4566
|
w[9] || (w[9] = ce(" 更多操作 ")),
|
|
4567
|
-
|
|
4567
|
+
D(O(yt))
|
|
4568
4568
|
]),
|
|
4569
4569
|
_: 1
|
|
4570
4570
|
}, 8, ["type"])
|
|
@@ -4573,7 +4573,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4573
4573
|
}, 1024)) : j("", !0)
|
|
4574
4574
|
]),
|
|
4575
4575
|
toolbar_buttons: I(() => [
|
|
4576
|
-
O(s)(y.formButtons) && y.formButtons.length > 0 ? (x(), z(
|
|
4576
|
+
O(s)(y.formButtons) && y.formButtons.length > 0 ? (x(), z(F, {
|
|
4577
4577
|
key: 0,
|
|
4578
4578
|
wrap: !0,
|
|
4579
4579
|
style: { "margin-bottom": "0px" }
|
|
@@ -4583,12 +4583,12 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4583
4583
|
O(Ee)(k.auth) ? (x(), z(B, {
|
|
4584
4584
|
key: 0,
|
|
4585
4585
|
round: "",
|
|
4586
|
-
size: O(
|
|
4586
|
+
size: O(Y),
|
|
4587
4587
|
type: O(V).toString(k.status, "primary"),
|
|
4588
4588
|
onClick: ($) => O(zl)(k)
|
|
4589
4589
|
}, {
|
|
4590
4590
|
icon: I(() => [
|
|
4591
|
-
|
|
4591
|
+
D(ze, {
|
|
4592
4592
|
icon: k.icon
|
|
4593
4593
|
}, null, 8, ["icon"])
|
|
4594
4594
|
]),
|
|
@@ -4751,7 +4751,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4751
4751
|
setValue: p,
|
|
4752
4752
|
getValue: u
|
|
4753
4753
|
}), (C, m) => {
|
|
4754
|
-
const f =
|
|
4754
|
+
const f = H("a-date-picker");
|
|
4755
4755
|
return x(), z(f, {
|
|
4756
4756
|
value: O(o),
|
|
4757
4757
|
"onUpdate:value": m[0] || (m[0] = (v) => gt(o) ? o.value = v : o = v),
|
|
@@ -4839,7 +4839,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4839
4839
|
setValue: C,
|
|
4840
4840
|
getValue: _
|
|
4841
4841
|
}), (f, v) => {
|
|
4842
|
-
const g =
|
|
4842
|
+
const g = H("a-range-picker");
|
|
4843
4843
|
return x(), z(g, {
|
|
4844
4844
|
value: i.value,
|
|
4845
4845
|
"onUpdate:value": v[0] || (v[0] = (S) => i.value = S),
|
|
@@ -4880,7 +4880,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4880
4880
|
a("click", t.name);
|
|
4881
4881
|
};
|
|
4882
4882
|
return (r, o) => {
|
|
4883
|
-
const i =
|
|
4883
|
+
const i = H("a-button");
|
|
4884
4884
|
return x(), z(i, {
|
|
4885
4885
|
round: "",
|
|
4886
4886
|
size: t.size,
|
|
@@ -4956,9 +4956,9 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
4956
4956
|
getValue: f,
|
|
4957
4957
|
setValue: v
|
|
4958
4958
|
}), (g, S) => {
|
|
4959
|
-
const h =
|
|
4959
|
+
const h = H("a-cascader");
|
|
4960
4960
|
return x(), W("div", Es, [
|
|
4961
|
-
|
|
4961
|
+
D(h, {
|
|
4962
4962
|
value: c.value,
|
|
4963
4963
|
"onUpdate:value": S[0] || (S[0] = (b) => c.value = b),
|
|
4964
4964
|
options: p.value,
|
|
@@ -5000,7 +5000,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5000
5000
|
setup(e) {
|
|
5001
5001
|
const n = e, t = Object.keys(Ie()), a = t.filter((r) => r === "extra"), l = t.filter((r) => r === "title");
|
|
5002
5002
|
return (r, o) => {
|
|
5003
|
-
const i =
|
|
5003
|
+
const i = H("a-card");
|
|
5004
5004
|
return x(), z(i, {
|
|
5005
5005
|
size: "small",
|
|
5006
5006
|
headStyle: n.headStyle,
|
|
@@ -5082,7 +5082,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5082
5082
|
getValue: p,
|
|
5083
5083
|
setValue: d
|
|
5084
5084
|
}), (_, C) => {
|
|
5085
|
-
const m =
|
|
5085
|
+
const m = H("a-input");
|
|
5086
5086
|
return x(), z(m, {
|
|
5087
5087
|
value: l.value,
|
|
5088
5088
|
"onUpdate:value": C[0] || (C[0] = (f) => l.value = f),
|
|
@@ -5168,7 +5168,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5168
5168
|
getValue: p,
|
|
5169
5169
|
setValue: d
|
|
5170
5170
|
}), (_, C) => {
|
|
5171
|
-
const m =
|
|
5171
|
+
const m = H("a-input-number");
|
|
5172
5172
|
return x(), z(m, {
|
|
5173
5173
|
value: l.value,
|
|
5174
5174
|
"onUpdate:value": C[0] || (C[0] = (f) => l.value = f),
|
|
@@ -5235,7 +5235,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5235
5235
|
a.value = i;
|
|
5236
5236
|
}
|
|
5237
5237
|
), (i, u) => {
|
|
5238
|
-
const c =
|
|
5238
|
+
const c = H("a-input-search");
|
|
5239
5239
|
return x(), z(c, {
|
|
5240
5240
|
value: a.value,
|
|
5241
5241
|
"onUpdate:value": u[0] || (u[0] = (p) => a.value = p),
|
|
@@ -5248,7 +5248,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5248
5248
|
name: "suffix",
|
|
5249
5249
|
fn: I(() => [
|
|
5250
5250
|
K("a", { onClick: o }, [
|
|
5251
|
-
|
|
5251
|
+
D(ze, { icon: "close" })
|
|
5252
5252
|
])
|
|
5253
5253
|
]),
|
|
5254
5254
|
key: "0"
|
|
@@ -5306,7 +5306,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5306
5306
|
getValue: i,
|
|
5307
5307
|
setValue: u
|
|
5308
5308
|
}), (p, d) => {
|
|
5309
|
-
const y =
|
|
5309
|
+
const y = H("a-textarea");
|
|
5310
5310
|
return x(), z(y, {
|
|
5311
5311
|
value: l.value,
|
|
5312
5312
|
"onUpdate:value": d[0] || (d[0] = (_) => l.value = _),
|
|
@@ -5398,9 +5398,9 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5398
5398
|
c.value = v, s(a.extraOptions) && a.extraOptions?.length > 0 && c.value.unshift(...a.extraOptions), s(o.value) && !s(i.value) && f();
|
|
5399
5399
|
});
|
|
5400
5400
|
}), (v, g) => {
|
|
5401
|
-
const S =
|
|
5401
|
+
const S = H("a-select");
|
|
5402
5402
|
return x(), W("div", Gs, [
|
|
5403
|
-
|
|
5403
|
+
D(S, {
|
|
5404
5404
|
value: O(o),
|
|
5405
5405
|
"onUpdate:value": g[0] || (g[0] = (h) => gt(o) ? o.value = h : null),
|
|
5406
5406
|
onChange: y,
|
|
@@ -5464,13 +5464,13 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5464
5464
|
},
|
|
5465
5465
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5466
5466
|
setup(e, { expose: n, emit: t }) {
|
|
5467
|
-
const a = e, l = M(a.value ? a.value : a.multiple ? [] : null), r = M(a.label ? a.label : a.multiple ? [] : null), o = M(a.multiple ? {} : null), i = M([]), u = M(!1), c = t, p = "请输入" + a.title + "搜索", d = async (L
|
|
5467
|
+
const a = e, l = M(a.value ? a.value : a.multiple ? [] : null), r = M(a.label ? a.label : a.multiple ? [] : null), o = M(a.multiple ? {} : null), i = M([]), u = M(!1), c = t, p = "请输入" + a.title + "搜索", d = async (L) => {
|
|
5468
5468
|
if (a.corpFilter && !s(a.corpId))
|
|
5469
5469
|
return i.value = [], [];
|
|
5470
|
-
let
|
|
5471
|
-
Object.assign(
|
|
5472
|
-
const
|
|
5473
|
-
return u.value = !1, i.value =
|
|
5470
|
+
let q = { corpId: a.corpId, initValue: L };
|
|
5471
|
+
Object.assign(q, a.requestParams), i.value = [], u.value = !0;
|
|
5472
|
+
const E = await Re(a.requestUrl, q);
|
|
5473
|
+
return u.value = !1, i.value = E, E;
|
|
5474
5474
|
}, y = It(() => {
|
|
5475
5475
|
d(null).then((L) => {
|
|
5476
5476
|
c("query", L);
|
|
@@ -5479,16 +5479,16 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5479
5479
|
m(L).then(() => {
|
|
5480
5480
|
N(!0);
|
|
5481
5481
|
});
|
|
5482
|
-
}, C = (L,
|
|
5482
|
+
}, C = (L, q) => q.label.toLowerCase().indexOf(Te(L).toLowerCase()) >= 0, m = async (L) => {
|
|
5483
5483
|
if (l.value = L, a.multiple) {
|
|
5484
|
-
const
|
|
5484
|
+
const q = [];
|
|
5485
5485
|
l.value.forEach((E) => {
|
|
5486
|
-
let
|
|
5487
|
-
|
|
5488
|
-
}), r.value =
|
|
5486
|
+
let Y = i.value.filter((re) => re.value === E);
|
|
5487
|
+
Y.length === 1 && (q.push(Y[0].label), o.value[E] = Y[0]);
|
|
5488
|
+
}), r.value = q;
|
|
5489
5489
|
} else {
|
|
5490
|
-
let
|
|
5491
|
-
|
|
5490
|
+
let q = i.value.filter((E) => E.value === L);
|
|
5491
|
+
q.length === 1 ? (r.value = q[0].label, o.value = q[0]) : (r.value = null, o.value = null);
|
|
5492
5492
|
}
|
|
5493
5493
|
}, f = () => r.value, v = () => l.value, g = (L) => {
|
|
5494
5494
|
m(L).then(() => {
|
|
@@ -5502,12 +5502,12 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5502
5502
|
S(), i.value = [], await y();
|
|
5503
5503
|
}, N = (L = !1) => {
|
|
5504
5504
|
c("update:value", l.value), c("update:label", r.value), L && c("change", o.value);
|
|
5505
|
-
}, U = (L,
|
|
5505
|
+
}, U = (L, q) => a.multiple ? s(L) && !s(q) || !s(L) && s(q) ? !0 : !s(L) && !s(q) || L.length !== q.length ? !1 : !L.every((E, Y) => E === q[Y]) : L !== q;
|
|
5506
5506
|
return ve(
|
|
5507
5507
|
() => [a.corpId, a.value],
|
|
5508
|
-
async ([L,
|
|
5509
|
-
const re = L !== E, G = U(
|
|
5510
|
-
re && (S(), await d(
|
|
5508
|
+
async ([L, q], [E, Y]) => {
|
|
5509
|
+
const re = L !== E, G = U(q, l.value);
|
|
5510
|
+
re && (S(), await d(q)), G && g(q);
|
|
5511
5511
|
}
|
|
5512
5512
|
), ie(async () => {
|
|
5513
5513
|
d(null);
|
|
@@ -5517,12 +5517,12 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5517
5517
|
setValue: g,
|
|
5518
5518
|
clear: h,
|
|
5519
5519
|
reload: b
|
|
5520
|
-
}), (L,
|
|
5521
|
-
const E =
|
|
5520
|
+
}), (L, q) => {
|
|
5521
|
+
const E = H("a-spin"), Y = H("a-select");
|
|
5522
5522
|
return x(), W("div", Js, [
|
|
5523
|
-
|
|
5523
|
+
D(Y, {
|
|
5524
5524
|
value: l.value,
|
|
5525
|
-
"onUpdate:value":
|
|
5525
|
+
"onUpdate:value": q[0] || (q[0] = (re) => l.value = re),
|
|
5526
5526
|
placeholder: p,
|
|
5527
5527
|
style: ge(a.style),
|
|
5528
5528
|
"filter-option": C,
|
|
@@ -5539,7 +5539,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5539
5539
|
u.value ? {
|
|
5540
5540
|
name: "notFoundContent",
|
|
5541
5541
|
fn: I(() => [
|
|
5542
|
-
|
|
5542
|
+
D(E, { size: "small" })
|
|
5543
5543
|
]),
|
|
5544
5544
|
key: "0"
|
|
5545
5545
|
} : void 0
|
|
@@ -5585,11 +5585,11 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5585
5585
|
},
|
|
5586
5586
|
emits: ["update:value", "update:label", "change"],
|
|
5587
5587
|
setup(e, { expose: n, emit: t }) {
|
|
5588
|
-
const a = e, l = M(a.value || null), r = M(a.label || ""), o = M({}), i = M([]), u = M(!1), c = t, p = "请输入" + a.title + "搜索", d = async (S, h =
|
|
5588
|
+
const a = e, l = M(a.value || null), r = M(a.label || ""), o = M({}), i = M([]), u = M(!1), c = t, p = "请输入" + a.title + "搜索", d = async (S, h = null) => {
|
|
5589
5589
|
if (i.value = [], a.corpFilter && !s(a.corpId))
|
|
5590
5590
|
return [];
|
|
5591
|
-
if (s(S)) {
|
|
5592
|
-
let b = { corpId: a.corpId, searchValue: Te(S),
|
|
5591
|
+
if (s(S) || s(h)) {
|
|
5592
|
+
let b = { corpId: a.corpId, searchValue: Te(S), initValue: h };
|
|
5593
5593
|
Object.assign(b, a.requestParams), u.value = !0;
|
|
5594
5594
|
const N = await Re(a.requestUrl, b);
|
|
5595
5595
|
return u.value = !1, i.value = N, N;
|
|
@@ -5618,8 +5618,8 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5618
5618
|
() => [a.corpId, a.value],
|
|
5619
5619
|
async ([S, h], [b, N]) => {
|
|
5620
5620
|
const U = S !== b, L = h !== l.value;
|
|
5621
|
-
U && (i.value = [], r.value = null, l.value = null, o.value = null, g()), L && C(h).then((
|
|
5622
|
-
|
|
5621
|
+
U && (i.value = [], r.value = null, l.value = null, o.value = null, g()), L && C(h).then((q) => {
|
|
5622
|
+
q || d(null, h).then(() => {
|
|
5623
5623
|
v(h);
|
|
5624
5624
|
});
|
|
5625
5625
|
});
|
|
@@ -5630,15 +5630,15 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5630
5630
|
value: l.value,
|
|
5631
5631
|
label: r.value
|
|
5632
5632
|
}
|
|
5633
|
-
] : d(l.value
|
|
5633
|
+
] : d(null, l.value));
|
|
5634
5634
|
}), n({
|
|
5635
5635
|
getName: m,
|
|
5636
5636
|
getValue: f,
|
|
5637
5637
|
setValue: v
|
|
5638
5638
|
}), (S, h) => {
|
|
5639
|
-
const b =
|
|
5639
|
+
const b = H("a-spin"), N = H("a-select");
|
|
5640
5640
|
return x(), W("div", Zs, [
|
|
5641
|
-
|
|
5641
|
+
D(N, {
|
|
5642
5642
|
value: l.value,
|
|
5643
5643
|
"onUpdate:value": h[0] || (h[0] = (U) => l.value = U),
|
|
5644
5644
|
placeholder: p,
|
|
@@ -5658,7 +5658,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5658
5658
|
u.value ? {
|
|
5659
5659
|
name: "notFoundContent",
|
|
5660
5660
|
fn: I(() => [
|
|
5661
|
-
|
|
5661
|
+
D(b, { size: "small" })
|
|
5662
5662
|
]),
|
|
5663
5663
|
key: "0"
|
|
5664
5664
|
} : void 0
|
|
@@ -5685,7 +5685,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5685
5685
|
setup(e) {
|
|
5686
5686
|
const n = e, t = Object.keys(Ie()), a = t.filter((i) => i !== "header"), l = t.filter((i) => i === "header"), r = M(n.activeKey), o = M(n.header instanceof Object ? n.header : { default: n.header });
|
|
5687
5687
|
return (i, u) => {
|
|
5688
|
-
const c =
|
|
5688
|
+
const c = H("a-collapse-panel"), p = H("a-collapse");
|
|
5689
5689
|
return x(), z(p, {
|
|
5690
5690
|
activeKey: r.value,
|
|
5691
5691
|
"onUpdate:activeKey": u[0] || (u[0] = (d) => r.value = d),
|
|
@@ -5756,7 +5756,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5756
5756
|
a.value = o;
|
|
5757
5757
|
}
|
|
5758
5758
|
), (o, i) => {
|
|
5759
|
-
const u =
|
|
5759
|
+
const u = H("a-switch");
|
|
5760
5760
|
return x(), z(u, {
|
|
5761
5761
|
checked: a.value,
|
|
5762
5762
|
"onUpdate:checked": i[0] || (i[0] = (c) => a.value = c),
|
|
@@ -5803,7 +5803,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5803
5803
|
o.value = p;
|
|
5804
5804
|
}
|
|
5805
5805
|
), (p, d) => {
|
|
5806
|
-
const y =
|
|
5806
|
+
const y = H("a-tab-pane"), _ = H("a-tabs");
|
|
5807
5807
|
return x(), z(_, {
|
|
5808
5808
|
activeKey: o.value,
|
|
5809
5809
|
"onUpdate:activeKey": d[0] || (d[0] = (C) => o.value = C),
|
|
@@ -5827,7 +5827,7 @@ const vs = { id: "div_view_modal" }, bs = { class: "sag-ubmp-pc-modal-minimized-
|
|
|
5827
5827
|
key: 0,
|
|
5828
5828
|
tabKey: C
|
|
5829
5829
|
}) : (x(), W(de, { key: 1 }, [
|
|
5830
|
-
|
|
5830
|
+
D(ze, { icon: "menu" }),
|
|
5831
5831
|
ce(" " + ae(i.value[C]), 1)
|
|
5832
5832
|
], 64))
|
|
5833
5833
|
], 4)
|