sag-ubmp-pc 1.0.23 → 1.0.24
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 +262 -262
- package/dist/sag-ubmp-pc.umd.js +4 -4
- package/package.json +1 -1
package/dist/sag-ubmp-pc.es.js
CHANGED
|
@@ -209,7 +209,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
209
209
|
filterable: s,
|
|
210
210
|
disabled: c,
|
|
211
211
|
defaultValue: p,
|
|
212
|
-
dictRoleType:
|
|
212
|
+
dictRoleType: f,
|
|
213
213
|
selectAll: g,
|
|
214
214
|
parentNode: h
|
|
215
215
|
} = a;
|
|
@@ -223,7 +223,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
223
223
|
request: {
|
|
224
224
|
dictType: t,
|
|
225
225
|
parentNode: u(h) ? h : null,
|
|
226
|
-
dictRoleType: u(
|
|
226
|
+
dictRoleType: u(f) ? f : null
|
|
227
227
|
},
|
|
228
228
|
multiple: u(o) ? o : !1,
|
|
229
229
|
clearable: u(i) ? i : !0,
|
|
@@ -345,10 +345,10 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
345
345
|
maximize: s,
|
|
346
346
|
componentType: c,
|
|
347
347
|
componentParams: p = {},
|
|
348
|
-
treeNode:
|
|
348
|
+
treeNode: f,
|
|
349
349
|
autoLoad: g,
|
|
350
350
|
resizable: h,
|
|
351
|
-
showOverflow:
|
|
351
|
+
showOverflow: d,
|
|
352
352
|
align: m,
|
|
353
353
|
type: w,
|
|
354
354
|
fixed: C,
|
|
@@ -361,12 +361,12 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
361
361
|
width: u(b) ? b : u(w) ? u(i) ? i : 120 : "auto",
|
|
362
362
|
minWidth: u(i) ? i : 120,
|
|
363
363
|
resizable: u(h) ? h : !1,
|
|
364
|
-
showOverflow: u(
|
|
364
|
+
showOverflow: u(d) ? d : "title",
|
|
365
365
|
align: u(m) ? m : "center",
|
|
366
366
|
type: u(w) ? w : null,
|
|
367
367
|
fixed: u(C) ? C : "",
|
|
368
368
|
formatter: u(a) ? a : "",
|
|
369
|
-
treeNode: u(
|
|
369
|
+
treeNode: u(f) ? f : !1,
|
|
370
370
|
params: {
|
|
371
371
|
requestType: u(l) ? l : "",
|
|
372
372
|
requestUrl: r,
|
|
@@ -447,10 +447,10 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
447
447
|
componentType: s,
|
|
448
448
|
componentParams: c,
|
|
449
449
|
maximize: p,
|
|
450
|
-
width:
|
|
450
|
+
width: f,
|
|
451
451
|
height: g,
|
|
452
452
|
auth: h,
|
|
453
|
-
autoLoad:
|
|
453
|
+
autoLoad: d
|
|
454
454
|
} = n;
|
|
455
455
|
return {
|
|
456
456
|
icon: u(t) ? t : "save",
|
|
@@ -464,8 +464,8 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
464
464
|
componentParams: u(c) ? c : {},
|
|
465
465
|
title: u(l) ? l : "操作",
|
|
466
466
|
maximize: u(p) ? p : !0,
|
|
467
|
-
autoLoad: u(
|
|
468
|
-
width: u(
|
|
467
|
+
autoLoad: u(d) ? d : !0,
|
|
468
|
+
width: u(f) ? f : null,
|
|
469
469
|
height: u(g) ? g : null,
|
|
470
470
|
auth: u(h) ? h : !0
|
|
471
471
|
};
|
|
@@ -541,40 +541,40 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
541
541
|
const c = r[i.field] ? r[i.field] : "";
|
|
542
542
|
if (Array.isArray(a)) {
|
|
543
543
|
if (a && a.includes(i.field)) {
|
|
544
|
-
const p = s[o - 1],
|
|
544
|
+
const p = s[o - 1], f = p && p[i.field] ? p[i.field] : "";
|
|
545
545
|
let g = s[o + 1];
|
|
546
546
|
const h = g && g[i.field] ? g[i.field] : "";
|
|
547
|
-
if (p &&
|
|
547
|
+
if (p && f === c && p[n] === r[n])
|
|
548
548
|
return { rowspan: 0, colspan: 0 };
|
|
549
549
|
{
|
|
550
|
-
let
|
|
550
|
+
let d = 1;
|
|
551
551
|
for (; g && h === c && g[n] === r[n]; )
|
|
552
|
-
g = s[++
|
|
553
|
-
if (
|
|
554
|
-
return { rowspan:
|
|
552
|
+
g = s[++d + o];
|
|
553
|
+
if (d > 1)
|
|
554
|
+
return { rowspan: d, colspan: 1 };
|
|
555
555
|
}
|
|
556
556
|
} else if (!u(i.field) || i.field === t) {
|
|
557
557
|
const p = s[o - 1];
|
|
558
|
-
let
|
|
558
|
+
let f = s[o + 1];
|
|
559
559
|
if (p && p[n] === r[n])
|
|
560
560
|
return { rowspan: 0, colspan: 0 };
|
|
561
561
|
{
|
|
562
562
|
let g = 1;
|
|
563
|
-
for (;
|
|
564
|
-
|
|
563
|
+
for (; f && f[n] === r[n]; )
|
|
564
|
+
f = s[++g + o];
|
|
565
565
|
if (g > 1)
|
|
566
566
|
return { rowspan: g, colspan: 1 };
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
} else if (u(a[i.field])) {
|
|
570
|
-
const p = a[i.field],
|
|
570
|
+
const p = a[i.field], f = s[o - 1], g = f && f[i.field] ? f[i.field] : "";
|
|
571
571
|
let h = s[o + 1];
|
|
572
|
-
const
|
|
573
|
-
if (
|
|
572
|
+
const d = h && h[i.field] ? h[i.field] : "";
|
|
573
|
+
if (f && g === c && f[p] === r[p])
|
|
574
574
|
return { rowspan: 0, colspan: 0 };
|
|
575
575
|
{
|
|
576
576
|
let m = 1;
|
|
577
|
-
for (; h &&
|
|
577
|
+
for (; h && d === c && h[p] === r[p]; )
|
|
578
578
|
h = s[++m + o];
|
|
579
579
|
if (m > 1)
|
|
580
580
|
return { rowspan: m, colspan: 1 };
|
|
@@ -596,8 +596,8 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
|
596
596
|
sortName: i.field,
|
|
597
597
|
sortType: i.order
|
|
598
598
|
}), t && t.forEach((s) => {
|
|
599
|
-
const { field: c, datas: p, values:
|
|
600
|
-
o[c] = p ? p.join(",") :
|
|
599
|
+
const { field: c, datas: p, values: f } = s;
|
|
600
|
+
o[c] = p ? p.join(",") : f ? f.join(",") : "";
|
|
601
601
|
}), le("表单查询参数:", o), o;
|
|
602
602
|
}, dr = (e, n, t, a) => {
|
|
603
603
|
const l = Object.assign({}, t);
|
|
@@ -688,8 +688,8 @@ function hr(e, n, t) {
|
|
|
688
688
|
}
|
|
689
689
|
function yr(e, n, t) {
|
|
690
690
|
e = pe(e, 360) * 6, n = pe(n, 100), t = pe(t, 100);
|
|
691
|
-
var a = Math.floor(e), l = e - a, r = t * (1 - n), o = t * (1 - l * n), i = t * (1 - (1 - l) * n), s = a % 6, c = [t, o, r, r, i, t][s], p = [i, t, t, o, r, r][s],
|
|
692
|
-
return { r: c * 255, g: p * 255, b:
|
|
691
|
+
var a = Math.floor(e), l = e - a, r = t * (1 - n), o = t * (1 - l * n), i = t * (1 - (1 - l) * n), s = a % 6, c = [t, o, r, r, i, t][s], p = [i, t, t, o, r, r][s], f = [r, r, i, t, t, o][s];
|
|
692
|
+
return { r: c * 255, g: p * 255, b: f * 255 };
|
|
693
693
|
}
|
|
694
694
|
function br(e, n, t, a) {
|
|
695
695
|
var l = [
|
|
@@ -999,7 +999,7 @@ function Ct(e) {
|
|
|
999
999
|
t.push(c);
|
|
1000
1000
|
}
|
|
1001
1001
|
return n.theme === "dark" ? Pr.map(function(p) {
|
|
1002
|
-
var
|
|
1002
|
+
var f = p.index, g = p.opacity, h = Ze(kr(Ee(n.backgroundColor || "#141414"), Ee(t[f]), g * 100));
|
|
1003
1003
|
return h;
|
|
1004
1004
|
}) : t;
|
|
1005
1005
|
}
|
|
@@ -1258,7 +1258,7 @@ function Wr(e) {
|
|
|
1258
1258
|
function Gr() {
|
|
1259
1259
|
return Xe({}, Ue);
|
|
1260
1260
|
}
|
|
1261
|
-
var
|
|
1261
|
+
var je = function(n, t) {
|
|
1262
1262
|
var a = Xe({}, n, t.attrs), l = a.icon, r = a.primaryColor, o = a.secondaryColor, i = Fr(a, Ir), s = Ue;
|
|
1263
1263
|
if (r && (s = {
|
|
1264
1264
|
primaryColor: r,
|
|
@@ -1276,16 +1276,16 @@ var $e = function(n, t) {
|
|
|
1276
1276
|
"aria-hidden": "true"
|
|
1277
1277
|
}));
|
|
1278
1278
|
};
|
|
1279
|
-
|
|
1279
|
+
je.props = {
|
|
1280
1280
|
icon: Object,
|
|
1281
1281
|
primaryColor: String,
|
|
1282
1282
|
secondaryColor: String,
|
|
1283
1283
|
focusable: String
|
|
1284
1284
|
};
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1285
|
+
je.inheritAttrs = !1;
|
|
1286
|
+
je.displayName = "IconBase";
|
|
1287
|
+
je.getTwoToneColors = Gr;
|
|
1288
|
+
je.setTwoToneColors = Wr;
|
|
1289
1289
|
function Jr(e, n) {
|
|
1290
1290
|
return Xr(e) || Qr(e, n) || Kr(e, n) || Zr();
|
|
1291
1291
|
}
|
|
@@ -1331,13 +1331,13 @@ function Xr(e) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
function Qa(e) {
|
|
1333
1333
|
var n = Za(e), t = Jr(n, 2), a = t[0], l = t[1];
|
|
1334
|
-
return
|
|
1334
|
+
return je.setTwoToneColors({
|
|
1335
1335
|
primaryColor: a,
|
|
1336
1336
|
secondaryColor: l
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
1339
|
function eo() {
|
|
1340
|
-
var e =
|
|
1340
|
+
var e = je.getTwoToneColors();
|
|
1341
1341
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
1342
1342
|
}
|
|
1343
1343
|
var to = W({
|
|
@@ -1424,8 +1424,8 @@ function uo(e, n) {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
Qa(Tr.primary);
|
|
1426
1426
|
var Z = function(n, t) {
|
|
1427
|
-
var a, l = Nn({}, n, t.attrs), r = l.class, o = l.icon, i = l.spin, s = l.rotate, c = l.tabindex, p = l.twoToneColor,
|
|
1428
|
-
C === void 0 &&
|
|
1427
|
+
var a, l = Nn({}, n, t.attrs), r = l.class, o = l.icon, i = l.spin, s = l.rotate, c = l.tabindex, p = l.twoToneColor, f = l.onClick, g = so(l, no), h = Ha(), d = h.prefixCls, m = h.rootClassName, w = (a = {}, Le(a, m.value, !!m.value), Le(a, d.value, !0), Le(a, "".concat(d.value, "-").concat(o.name), !!o.name), Le(a, "".concat(d.value, "-spin"), !!i || o.name === "loading"), a), C = c;
|
|
1428
|
+
C === void 0 && f && (C = -1);
|
|
1429
1429
|
var b = s ? {
|
|
1430
1430
|
msTransform: "rotate(".concat(s, "deg)"),
|
|
1431
1431
|
transform: "rotate(".concat(s, "deg)")
|
|
@@ -1434,10 +1434,10 @@ var Z = function(n, t) {
|
|
|
1434
1434
|
role: "img",
|
|
1435
1435
|
"aria-label": o.name
|
|
1436
1436
|
}, g, {
|
|
1437
|
-
onClick:
|
|
1437
|
+
onClick: f,
|
|
1438
1438
|
class: [w, r],
|
|
1439
1439
|
tabindex: C
|
|
1440
|
-
}), [D(
|
|
1440
|
+
}), [D(je, {
|
|
1441
1441
|
icon: o,
|
|
1442
1442
|
primaryColor: _,
|
|
1443
1443
|
secondaryColor: z,
|
|
@@ -2078,7 +2078,7 @@ const ii = (e) => {
|
|
|
2078
2078
|
message: "操作提示",
|
|
2079
2079
|
description: e
|
|
2080
2080
|
});
|
|
2081
|
-
},
|
|
2081
|
+
}, ze = (e) => e === "mini" ? "small" : e === "small" ? "middle" : e === "medium" ? "large" : "middle", ui = (e) => {
|
|
2082
2082
|
const n = /{([^}]+)}/g, t = e.match(n);
|
|
2083
2083
|
return t ? t.map((a) => a.slice(1, -1)) : [];
|
|
2084
2084
|
}, Ie = async (e, n) => T.requestPlugin != null && typeof T.requestPlugin == "function" ? await T.requestPlugin(e, n) : (dt("请在全局配置参数requestPlugin,此方法请求服务器获取相应数据"), null), rn = async (e, n, t) => {
|
|
@@ -2127,36 +2127,36 @@ const ii = (e) => {
|
|
|
2127
2127
|
});
|
|
2128
2128
|
};
|
|
2129
2129
|
function ci(e) {
|
|
2130
|
-
const { gridRef: n, targetModal: t, gridOptions: a, pageOptions: l, formData: r, pageModal: o } = e, i = async (
|
|
2131
|
-
if (!u(
|
|
2132
|
-
if (
|
|
2133
|
-
const m = await h(
|
|
2134
|
-
if (
|
|
2130
|
+
const { gridRef: n, targetModal: t, gridOptions: a, pageOptions: l, formData: r, pageModal: o } = e, i = async (d) => {
|
|
2131
|
+
if (!u(d.requestType) || typeof d.requestType == "string")
|
|
2132
|
+
if (d.requestType === "custom") {
|
|
2133
|
+
const m = await h(d);
|
|
2134
|
+
if (d.requestRow && !u(m))
|
|
2135
2135
|
return;
|
|
2136
|
-
l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, item:
|
|
2136
|
+
l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, item: d, data: m });
|
|
2137
2137
|
} else
|
|
2138
|
-
|
|
2138
|
+
f(r, d);
|
|
2139
2139
|
else {
|
|
2140
|
-
const m = await h(
|
|
2141
|
-
if (
|
|
2140
|
+
const m = await h(d);
|
|
2141
|
+
if (d.requestRow && !u(m))
|
|
2142
2142
|
return;
|
|
2143
|
-
|
|
2143
|
+
d.requestType({ gridRef: n, gridOptions: a, formData: r, item: d, data: m });
|
|
2144
2144
|
}
|
|
2145
|
-
}, s = (
|
|
2146
|
-
!u(
|
|
2147
|
-
}, c = (
|
|
2145
|
+
}, s = (d, m) => {
|
|
2146
|
+
!u(d.requestType) || typeof d.requestType == "string" ? d.requestType === "custom" ? l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, item: d, row: m }) : g(d, m) : d.requestType({ gridRef: n, gridOptions: a, formData: r, item: d, row: m });
|
|
2147
|
+
}, c = (d, m) => {
|
|
2148
2148
|
const w = m.params.requestType;
|
|
2149
|
-
!u(w) || typeof w == "string" ? w === "custom" ? l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, column: m, row:
|
|
2150
|
-
}, p = (
|
|
2149
|
+
!u(w) || typeof w == "string" ? w === "custom" ? l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, column: m, row: d }) : p(d, m) : w({ gridRef: n, gridOptions: a, formData: r, column: m, row: d });
|
|
2150
|
+
}, p = (d, m) => {
|
|
2151
2151
|
if (t.title = K(m.params.title, o.title), t.width = K(m.params.width, o.width), t.height = K(m.params.height, o.height), t.maximize = K(m.params.maximize, !1), t.autoLoad = K(m.params.autoLoad, !1), t.componentType = K(m.params.componentType, o.componentType), t.componentUrl = m.params.requestUrl, t.componentType === "iframe") {
|
|
2152
2152
|
let w = te(l.ctxPath, t.componentUrl);
|
|
2153
|
-
for (const C in
|
|
2154
|
-
w = w.replace("{" + C + "}",
|
|
2153
|
+
for (const C in d)
|
|
2154
|
+
w = w.replace("{" + C + "}", d[C]);
|
|
2155
2155
|
t.componentUrl = w;
|
|
2156
2156
|
} else
|
|
2157
|
-
|
|
2158
|
-
t.componentParams =
|
|
2159
|
-
},
|
|
2157
|
+
d[T.buttonKeyName] = m.params;
|
|
2158
|
+
t.componentParams = d, t.visible = !0;
|
|
2159
|
+
}, f = async (d, m) => {
|
|
2160
2160
|
if (n.value) {
|
|
2161
2161
|
const C = await h(m);
|
|
2162
2162
|
if (m.requestRow && !u(C))
|
|
@@ -2214,17 +2214,17 @@ function ci(e) {
|
|
|
2214
2214
|
n,
|
|
2215
2215
|
a,
|
|
2216
2216
|
b,
|
|
2217
|
-
m.requestRow ? C :
|
|
2217
|
+
m.requestRow ? C : d,
|
|
2218
2218
|
!!(a.checkboxConfig && m.requestRow && C.length !== 1)
|
|
2219
2219
|
);
|
|
2220
2220
|
},
|
|
2221
2221
|
m.requestConfirmContent
|
|
2222
2222
|
);
|
|
2223
2223
|
}
|
|
2224
|
-
}, g = (
|
|
2225
|
-
if (
|
|
2226
|
-
let w =
|
|
2227
|
-
const C = K(
|
|
2224
|
+
}, g = (d, m) => {
|
|
2225
|
+
if (d.requestType === "modal" || d.requestType === "open") {
|
|
2226
|
+
let w = d.requestUrl;
|
|
2227
|
+
const C = K(d.componentType, o.componentType);
|
|
2228
2228
|
let b = !1;
|
|
2229
2229
|
if (C === "iframe")
|
|
2230
2230
|
if (w = te(l.ctxPath, w), w.split("?").length > 1)
|
|
@@ -2240,27 +2240,27 @@ function ci(e) {
|
|
|
2240
2240
|
else
|
|
2241
2241
|
b = !0;
|
|
2242
2242
|
if (b)
|
|
2243
|
-
|
|
2243
|
+
d.requestType === "modal" ? (m[T.buttonKeyName] = d, t.title = K(d.title, o.title), t.width = K(d.width, o.width), t.height = K(d.height, o.height), t.maximize = K(d.maximize, !1), t.autoLoad = K(d.autoLoad, !0), t.componentType = C, t.componentUrl = w, t.componentParams = m, t.visible = !0) : window.open(w, "_blank");
|
|
2244
2244
|
else {
|
|
2245
2245
|
De("该单据没有相应数据,无法进行本次操作");
|
|
2246
2246
|
return;
|
|
2247
2247
|
}
|
|
2248
2248
|
} else
|
|
2249
2249
|
ot(
|
|
2250
|
-
|
|
2250
|
+
d.requestTitle,
|
|
2251
2251
|
() => {
|
|
2252
|
-
let w = te(l.ctxPath,
|
|
2252
|
+
let w = te(l.ctxPath, d.requestUrl);
|
|
2253
2253
|
for (const C in m)
|
|
2254
2254
|
w = w.replace("{" + C + "}", m[C]);
|
|
2255
2255
|
ca(n, a, w, m);
|
|
2256
2256
|
},
|
|
2257
|
-
|
|
2257
|
+
d.requestConfirmContent
|
|
2258
2258
|
);
|
|
2259
|
-
}, h = async (
|
|
2260
|
-
if (
|
|
2259
|
+
}, h = async (d) => {
|
|
2260
|
+
if (d.requestRow) {
|
|
2261
2261
|
const m = await el(n, a);
|
|
2262
2262
|
let w = null;
|
|
2263
|
-
if (a.checkboxConfig ? !m || m.length === 0 ? w = "请至少选择一行数据" :
|
|
2263
|
+
if (a.checkboxConfig ? !m || m.length === 0 ? w = "请至少选择一行数据" : d.requestRadio && m.length !== 1 && (w = "请只选择一条数据") : a.radioConfig ? m || (w = "请选择一行数据") : w = "请设置表格【rowType】类型参数", w) {
|
|
2264
2264
|
De(w);
|
|
2265
2265
|
return;
|
|
2266
2266
|
}
|
|
@@ -2286,14 +2286,14 @@ function di(e) {
|
|
|
2286
2286
|
pageOptions: s,
|
|
2287
2287
|
pageTable: c,
|
|
2288
2288
|
pageTableMerge: p,
|
|
2289
|
-
pageRequest:
|
|
2289
|
+
pageRequest: f
|
|
2290
2290
|
} = e;
|
|
2291
2291
|
return {
|
|
2292
2292
|
downloadEvent: (m) => {
|
|
2293
2293
|
const w = n.value;
|
|
2294
2294
|
w && w.validate().then((C) => {
|
|
2295
2295
|
if (!C || C.length === 0) {
|
|
2296
|
-
let b =
|
|
2296
|
+
let b = f.requestDownload;
|
|
2297
2297
|
if (u(b)) {
|
|
2298
2298
|
if (l.loading) {
|
|
2299
2299
|
De("正在导出中,请不要重复点击!");
|
|
@@ -2321,13 +2321,13 @@ function di(e) {
|
|
|
2321
2321
|
pageSize: 25e3
|
|
2322
2322
|
}, H, _, z, t, o);
|
|
2323
2323
|
if (typeof b == "string") {
|
|
2324
|
-
b = te(s.ctxPath,
|
|
2324
|
+
b = te(s.ctxPath, f.requestDownload);
|
|
2325
2325
|
let G = "";
|
|
2326
2326
|
Object.keys(L).forEach((N) => {
|
|
2327
2327
|
u(L[N]) && (typeof L[N] == "string" && (G += "&" + N + "=" + L[N]), typeof L[N] == "object" && Array.isArray(L[N]) && (G += "&" + N + "=" + L[N].join(",")));
|
|
2328
2328
|
}), le("导出表格参数", [b, G]), ii(b + G);
|
|
2329
2329
|
} else
|
|
2330
|
-
l.loading = !0, L.exportFlag = !0, r(L,
|
|
2330
|
+
l.loading = !0, L.exportFlag = !0, r(L, f.requestData, !0).then(async (G) => {
|
|
2331
2331
|
if (G == null || G.rows.length == 0) {
|
|
2332
2332
|
l.loading = !1;
|
|
2333
2333
|
return;
|
|
@@ -2375,11 +2375,11 @@ function di(e) {
|
|
|
2375
2375
|
importEvent: () => {
|
|
2376
2376
|
top && top.openOtherPages ? top.openOtherPages(
|
|
2377
2377
|
"VIEW_QUERY_" + s.templateTitle,
|
|
2378
|
-
te(s.ctxPath,
|
|
2378
|
+
te(s.ctxPath, f.requestImport),
|
|
2379
2379
|
s.templateTitle + "导入",
|
|
2380
2380
|
!1,
|
|
2381
2381
|
!1
|
|
2382
|
-
) : window.open(te(s.ctxPath,
|
|
2382
|
+
) : window.open(te(s.ctxPath, f.requestImport), "_blank");
|
|
2383
2383
|
},
|
|
2384
2384
|
switchColumsEvent: (m, w = !1) => {
|
|
2385
2385
|
if (u(c.tableColumnsExtra)) {
|
|
@@ -2400,7 +2400,7 @@ function di(e) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
};
|
|
2402
2402
|
}
|
|
2403
|
-
const
|
|
2403
|
+
const $e = /* @__PURE__ */ W({
|
|
2404
2404
|
__name: "AntdOutlind",
|
|
2405
2405
|
props: {
|
|
2406
2406
|
icon: { type: String, default: null }
|
|
@@ -2537,11 +2537,11 @@ function Si() {
|
|
|
2537
2537
|
e.exports = a();
|
|
2538
2538
|
})(bi, (function() {
|
|
2539
2539
|
return function(t, a, l) {
|
|
2540
|
-
var r = a.prototype, o = function(
|
|
2541
|
-
return
|
|
2542
|
-
}, i = function(
|
|
2543
|
-
var w =
|
|
2544
|
-
return _.slice(0,
|
|
2540
|
+
var r = a.prototype, o = function(f) {
|
|
2541
|
+
return f && (f.indexOf ? f : f.s);
|
|
2542
|
+
}, i = function(f, g, h, d, m) {
|
|
2543
|
+
var w = f.name ? f : f.$locale(), C = o(w[g]), b = o(w[h]), y = C || b.map((function(_) {
|
|
2544
|
+
return _.slice(0, d);
|
|
2545
2545
|
}));
|
|
2546
2546
|
if (!m) return y;
|
|
2547
2547
|
var v = w.weekStart;
|
|
@@ -2550,36 +2550,36 @@ function Si() {
|
|
|
2550
2550
|
}));
|
|
2551
2551
|
}, s = function() {
|
|
2552
2552
|
return l.Ls[l.locale()];
|
|
2553
|
-
}, c = function(
|
|
2554
|
-
return
|
|
2555
|
-
return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(
|
|
2553
|
+
}, c = function(f, g) {
|
|
2554
|
+
return f.formats[g] || (function(h) {
|
|
2555
|
+
return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(d, m, w) {
|
|
2556
2556
|
return m || w.slice(1);
|
|
2557
2557
|
}));
|
|
2558
|
-
})(
|
|
2558
|
+
})(f.formats[g.toUpperCase()]);
|
|
2559
2559
|
}, p = function() {
|
|
2560
|
-
var
|
|
2560
|
+
var f = this;
|
|
2561
2561
|
return { months: function(g) {
|
|
2562
|
-
return g ? g.format("MMMM") : i(
|
|
2562
|
+
return g ? g.format("MMMM") : i(f, "months");
|
|
2563
2563
|
}, monthsShort: function(g) {
|
|
2564
|
-
return g ? g.format("MMM") : i(
|
|
2564
|
+
return g ? g.format("MMM") : i(f, "monthsShort", "months", 3);
|
|
2565
2565
|
}, firstDayOfWeek: function() {
|
|
2566
|
-
return
|
|
2566
|
+
return f.$locale().weekStart || 0;
|
|
2567
2567
|
}, weekdays: function(g) {
|
|
2568
|
-
return g ? g.format("dddd") : i(
|
|
2568
|
+
return g ? g.format("dddd") : i(f, "weekdays");
|
|
2569
2569
|
}, weekdaysMin: function(g) {
|
|
2570
|
-
return g ? g.format("dd") : i(
|
|
2570
|
+
return g ? g.format("dd") : i(f, "weekdaysMin", "weekdays", 2);
|
|
2571
2571
|
}, weekdaysShort: function(g) {
|
|
2572
|
-
return g ? g.format("ddd") : i(
|
|
2572
|
+
return g ? g.format("ddd") : i(f, "weekdaysShort", "weekdays", 3);
|
|
2573
2573
|
}, longDateFormat: function(g) {
|
|
2574
|
-
return c(
|
|
2574
|
+
return c(f.$locale(), g);
|
|
2575
2575
|
}, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
|
|
2576
2576
|
};
|
|
2577
2577
|
r.localeData = function() {
|
|
2578
2578
|
return p.bind(this)();
|
|
2579
2579
|
}, l.localeData = function() {
|
|
2580
|
-
var
|
|
2580
|
+
var f = s();
|
|
2581
2581
|
return { firstDayOfWeek: function() {
|
|
2582
|
-
return
|
|
2582
|
+
return f.weekStart || 0;
|
|
2583
2583
|
}, weekdays: function() {
|
|
2584
2584
|
return l.weekdays();
|
|
2585
2585
|
}, weekdaysShort: function() {
|
|
@@ -2591,18 +2591,18 @@ function Si() {
|
|
|
2591
2591
|
}, monthsShort: function() {
|
|
2592
2592
|
return l.monthsShort();
|
|
2593
2593
|
}, longDateFormat: function(g) {
|
|
2594
|
-
return c(
|
|
2595
|
-
}, meridiem:
|
|
2594
|
+
return c(f, g);
|
|
2595
|
+
}, meridiem: f.meridiem, ordinal: f.ordinal };
|
|
2596
2596
|
}, l.months = function() {
|
|
2597
2597
|
return i(s(), "months");
|
|
2598
2598
|
}, l.monthsShort = function() {
|
|
2599
2599
|
return i(s(), "monthsShort", "months", 3);
|
|
2600
|
-
}, l.weekdays = function(
|
|
2601
|
-
return i(s(), "weekdays", null, null,
|
|
2602
|
-
}, l.weekdaysShort = function(
|
|
2603
|
-
return i(s(), "weekdaysShort", "weekdays", 3,
|
|
2604
|
-
}, l.weekdaysMin = function(
|
|
2605
|
-
return i(s(), "weekdaysMin", "weekdays", 2,
|
|
2600
|
+
}, l.weekdays = function(f) {
|
|
2601
|
+
return i(s(), "weekdays", null, null, f);
|
|
2602
|
+
}, l.weekdaysShort = function(f) {
|
|
2603
|
+
return i(s(), "weekdaysShort", "weekdays", 3, f);
|
|
2604
|
+
}, l.weekdaysMin = function(f) {
|
|
2605
|
+
return i(s(), "weekdaysMin", "weekdays", 2, f);
|
|
2606
2606
|
};
|
|
2607
2607
|
};
|
|
2608
2608
|
}));
|
|
@@ -2634,7 +2634,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2634
2634
|
emits: ["update:value"],
|
|
2635
2635
|
setup(e, { expose: n, emit: t }) {
|
|
2636
2636
|
A.locale("zh-cn"), A.extend(on), A.extend(pt);
|
|
2637
|
-
const a = e, l = $.toString(a.picker, "date"), r = a.picker === "date" ? "day" : a.picker, o = $.toString(a.format, "YYYY-MM-DD"), i = de(ve), s =
|
|
2637
|
+
const a = e, l = $.toString(a.picker, "date"), r = a.picker === "date" ? "day" : a.picker, o = $.toString(a.format, "YYYY-MM-DD"), i = de(ve), s = ze(i?.size);
|
|
2638
2638
|
let c = j();
|
|
2639
2639
|
const p = [
|
|
2640
2640
|
{ label: "当天", value: [A().add(0, r)] },
|
|
@@ -2645,7 +2645,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2645
2645
|
{ label: "近六个月", value: [A().add(-180, r)] },
|
|
2646
2646
|
{ label: "近一年", value: [A().add(-365, r)] },
|
|
2647
2647
|
{ label: "近三年", value: [A().add(-1095, r)] }
|
|
2648
|
-
],
|
|
2648
|
+
], f = [
|
|
2649
2649
|
{ label: "本月", value: [A().add(0, r)] },
|
|
2650
2650
|
{ label: "近一个月", value: [A().add(-1, r)] },
|
|
2651
2651
|
{ label: "近三个月", value: [A().add(-3, r)] },
|
|
@@ -2659,8 +2659,8 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2659
2659
|
{ label: "近两年", value: [A().add(-2, r)] },
|
|
2660
2660
|
{ label: "近三年", value: [A().add(-3, r)] },
|
|
2661
2661
|
{ label: "近五年", value: [A().add(-5, r)] }
|
|
2662
|
-
], h = j(l === "year" ? g : l === "month" ?
|
|
2663
|
-
le("日期区间选值", _), _ && _[0] == "" && _[1] == "" ?
|
|
2662
|
+
], h = j(l === "year" ? g : l === "month" ? f : p), d = t, m = (v, _) => {
|
|
2663
|
+
le("日期区间选值", _), _ && _[0] == "" && _[1] == "" ? d("update:value", null) : d("update:value", _);
|
|
2664
2664
|
}, w = () => {
|
|
2665
2665
|
let v = null, _ = null;
|
|
2666
2666
|
return c.value && c.value[0] && (v = A(c.value[0]).format(o)), c.value && c.value[1] && (_ = A(c.value[1]).format(o)), !v && !_ ? null : [v, _];
|
|
@@ -2669,7 +2669,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2669
2669
|
typeof _ == "number" || typeof z == "number" ? c.value = [
|
|
2670
2670
|
u(_) ? A().add(_, r) : null,
|
|
2671
2671
|
u(z) ? A().add(z, r) : null
|
|
2672
|
-
] : c.value = [u(_) ? A(_) : null, u(z) ? A(z) : null],
|
|
2672
|
+
] : c.value = [u(_) ? A(_) : null, u(z) ? A(z) : null], d("update:value", w());
|
|
2673
2673
|
}, b = () => {
|
|
2674
2674
|
u(a.defaultValue) ? C([a.defaultValue, null]) : C(null);
|
|
2675
2675
|
}, y = () => "dateRange";
|
|
@@ -2712,15 +2712,15 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2712
2712
|
emits: ["update:value"],
|
|
2713
2713
|
setup(e, { expose: n, emit: t }) {
|
|
2714
2714
|
A.locale("zh-cn"), A.extend(on), A.extend(pt);
|
|
2715
|
-
const a = e, l = de(ve), r =
|
|
2715
|
+
const a = e, l = de(ve), r = ze(l?.size), o = $.toString(a.picker, "date"), i = $.toString(a.format, "YYYY-MM-DD"), s = t;
|
|
2716
2716
|
let c = j();
|
|
2717
|
-
const p = (
|
|
2717
|
+
const p = (d, m) => {
|
|
2718
2718
|
le("日期选值", m), !m || m == "" ? s("update:value", null) : s("update:value", m);
|
|
2719
|
-
},
|
|
2720
|
-
let
|
|
2721
|
-
return c.value && (
|
|
2722
|
-
}, g = (
|
|
2723
|
-
typeof
|
|
2719
|
+
}, f = () => {
|
|
2720
|
+
let d = null;
|
|
2721
|
+
return c.value && (d = A(c.value).format(i)), d || null;
|
|
2722
|
+
}, g = (d) => {
|
|
2723
|
+
typeof d == "number" ? c.value = u(d) ? A().add(d, o) : null : c.value = u(d) ? A(d) : null, s("update:value", f());
|
|
2724
2724
|
}, h = () => {
|
|
2725
2725
|
u(a.defaultValue) ? g(a.defaultValue) : g(null);
|
|
2726
2726
|
};
|
|
@@ -2728,9 +2728,9 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2728
2728
|
h();
|
|
2729
2729
|
}), n({
|
|
2730
2730
|
setValue: g,
|
|
2731
|
-
getValue:
|
|
2731
|
+
getValue: f,
|
|
2732
2732
|
resetValue: h
|
|
2733
|
-
}), (
|
|
2733
|
+
}), (d, m) => {
|
|
2734
2734
|
const w = E("a-date-picker");
|
|
2735
2735
|
return x(), V(w, {
|
|
2736
2736
|
value: S(c),
|
|
@@ -2759,7 +2759,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2759
2759
|
},
|
|
2760
2760
|
emits: ["update:value"],
|
|
2761
2761
|
setup(e, { expose: n, emit: t }) {
|
|
2762
|
-
const a = e, l = de(ve), r =
|
|
2762
|
+
const a = e, l = de(ve), r = ze(l?.size), o = j(null), i = K(a.placeholder, "请输入" + a.title), s = t, c = () => {
|
|
2763
2763
|
s("update:value", o.value);
|
|
2764
2764
|
};
|
|
2765
2765
|
return n({
|
|
@@ -2772,11 +2772,11 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2772
2772
|
}
|
|
2773
2773
|
}), oe(() => {
|
|
2774
2774
|
s("update:value", o.value);
|
|
2775
|
-
}), (h,
|
|
2775
|
+
}), (h, d) => {
|
|
2776
2776
|
const m = E("a-input");
|
|
2777
2777
|
return x(), V(m, {
|
|
2778
2778
|
value: o.value,
|
|
2779
|
-
"onUpdate:value":
|
|
2779
|
+
"onUpdate:value": d[0] || (d[0] = (w) => o.value = w),
|
|
2780
2780
|
placeholder: S(i),
|
|
2781
2781
|
disabled: a.disabled,
|
|
2782
2782
|
type: a.inputType,
|
|
@@ -2802,10 +2802,10 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2802
2802
|
},
|
|
2803
2803
|
emits: ["update:value"],
|
|
2804
2804
|
setup(e, { expose: n, emit: t }) {
|
|
2805
|
-
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = l?.requestDictUrl || "", s =
|
|
2805
|
+
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = l?.requestDictUrl || "", s = ze(l?.size), c = j(a.multiple ? [] : null), p = t, f = j([]), g = async () => {
|
|
2806
2806
|
let b = a.request.requestUrl;
|
|
2807
2807
|
return !b && r && (b = i), b ? (b = te(o, b), await rn(r, b, a.request)) : (le("下拉框插槽未获取到请求地址"), []);
|
|
2808
|
-
}, h = (b, y) => y.label.toLowerCase().indexOf(b.toLowerCase()) >= 0,
|
|
2808
|
+
}, h = (b, y) => y.label.toLowerCase().indexOf(b.toLowerCase()) >= 0, d = () => {
|
|
2809
2809
|
p("update:value", c.value);
|
|
2810
2810
|
}, m = () => c.value, w = (b) => {
|
|
2811
2811
|
c.value = b, p("update:value", c.value);
|
|
@@ -2818,7 +2818,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2818
2818
|
}
|
|
2819
2819
|
}), oe(() => {
|
|
2820
2820
|
p("update:value", c.value), g().then((b) => {
|
|
2821
|
-
|
|
2821
|
+
f.value = b;
|
|
2822
2822
|
});
|
|
2823
2823
|
}), (b, y) => {
|
|
2824
2824
|
const v = E("a-select");
|
|
@@ -2826,12 +2826,12 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2826
2826
|
D(v, {
|
|
2827
2827
|
value: c.value,
|
|
2828
2828
|
"onUpdate:value": y[0] || (y[0] = (_) => c.value = _),
|
|
2829
|
-
onChange:
|
|
2829
|
+
onChange: d,
|
|
2830
2830
|
placeholder: "--请选择--",
|
|
2831
2831
|
allowClear: a.clearable,
|
|
2832
2832
|
mode: a.multiple ? "multiple" : "",
|
|
2833
2833
|
"max-tag-count": a.maxTagCount,
|
|
2834
|
-
options:
|
|
2834
|
+
options: f.value,
|
|
2835
2835
|
"show-search": a.filterable,
|
|
2836
2836
|
"filter-option": h,
|
|
2837
2837
|
defaultActiveFirstOption: !a.multiple,
|
|
@@ -2862,7 +2862,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2862
2862
|
},
|
|
2863
2863
|
emits: ["update:value"],
|
|
2864
2864
|
setup(e, { expose: n, emit: t }) {
|
|
2865
|
-
const a = e, l = de(ve), r = l?.ctxPath || "", o =
|
|
2865
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = ze(l?.size), i = "请输入" + a.title + "搜索", s = j(""), c = j(""), p = j([]), f = t, g = j(!1), h = async (v) => {
|
|
2866
2866
|
if (p.value = [], v) {
|
|
2867
2867
|
g.value = !0;
|
|
2868
2868
|
const _ = {
|
|
@@ -2874,18 +2874,18 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2874
2874
|
return g.value = !1, z;
|
|
2875
2875
|
} else
|
|
2876
2876
|
return [];
|
|
2877
|
-
},
|
|
2877
|
+
}, d = At((v) => {
|
|
2878
2878
|
h(v).then((_) => {
|
|
2879
2879
|
p.value = _;
|
|
2880
2880
|
});
|
|
2881
2881
|
}, 500), m = (v) => {
|
|
2882
|
-
s.value = v,
|
|
2882
|
+
s.value = v, f("update:value", v);
|
|
2883
2883
|
}, w = () => c.value, C = () => s.value, b = (v, _ = null) => {
|
|
2884
2884
|
s.value = v, c.value = _;
|
|
2885
2885
|
let z = p.value.filter((H) => H.value === s.value);
|
|
2886
2886
|
z.length === 1 ? c.value = z[0].label : h(v).then((H) => {
|
|
2887
2887
|
p.value = H;
|
|
2888
|
-
}),
|
|
2888
|
+
}), f("update:value", v);
|
|
2889
2889
|
};
|
|
2890
2890
|
return n({
|
|
2891
2891
|
getName: w,
|
|
@@ -2908,7 +2908,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2908
2908
|
"default-active-first-option": !1,
|
|
2909
2909
|
"show-arrow": !1,
|
|
2910
2910
|
onChange: m,
|
|
2911
|
-
onSearch: S(
|
|
2911
|
+
onSearch: S(d),
|
|
2912
2912
|
"allow-clear": "",
|
|
2913
2913
|
"show-search": "",
|
|
2914
2914
|
style: { width: "100%" }
|
|
@@ -2943,11 +2943,11 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2943
2943
|
},
|
|
2944
2944
|
emits: ["update:value"],
|
|
2945
2945
|
setup(e, { expose: n, emit: t }) {
|
|
2946
|
-
const a = e, l = de(ve), r = l?.ctxPath || "", o =
|
|
2946
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = ze(l?.size), i = "请输入" + a.title + "搜索", s = j(a.multiple ? [] : null), c = j(""), p = j([]), f = j([]), g = t, h = (v, _) => _.label.toLowerCase().indexOf(Pe(v).toLowerCase()) >= 0, d = async () => await Ne(te(r, a.requestUrl), a.requestParams), m = (v) => {
|
|
2947
2947
|
g("update:value", v);
|
|
2948
2948
|
}, w = () => c.value, C = () => s.value, b = (v) => {
|
|
2949
2949
|
s.value = v, g("update:value", s.value);
|
|
2950
|
-
let _ =
|
|
2950
|
+
let _ = f.value.filter((z) => z.value === s.value);
|
|
2951
2951
|
if (a.multiple) {
|
|
2952
2952
|
let z = "";
|
|
2953
2953
|
_.forEach((H) => {
|
|
@@ -2963,8 +2963,8 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2963
2963
|
resetValue: () => {
|
|
2964
2964
|
a.multiple ? b(a.defaultValue || []) : b(a.defaultValue || null);
|
|
2965
2965
|
}
|
|
2966
|
-
}),
|
|
2967
|
-
|
|
2966
|
+
}), d().then((v) => {
|
|
2967
|
+
f.value = v, p.value = v;
|
|
2968
2968
|
}), (v, _) => {
|
|
2969
2969
|
const z = E("a-select");
|
|
2970
2970
|
return x(), U("div", ji, [
|
|
@@ -3009,7 +3009,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3009
3009
|
},
|
|
3010
3010
|
emits: ["update:value", "change"],
|
|
3011
3011
|
setup(e, { expose: n, emit: t }) {
|
|
3012
|
-
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i =
|
|
3012
|
+
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = ze(l?.size), s = "请输入" + a.title + "搜索", c = a.fieldNames.label, p = a.fieldNames.value, f = j([]), g = j([]), h = async () => {
|
|
3013
3013
|
const _ = await Xa(
|
|
3014
3014
|
te(o, a.requestUrl),
|
|
3015
3015
|
a.requestParams,
|
|
@@ -3017,12 +3017,12 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3017
3017
|
"CASCADER_" + a.cacheKey
|
|
3018
3018
|
);
|
|
3019
3019
|
g.value = _;
|
|
3020
|
-
},
|
|
3021
|
-
u(z) ? (
|
|
3022
|
-
}, w = (_, z) => z.some((H) => H[c].indexOf(_) > -1), C = () => g.value.filter((z) => z[p] ===
|
|
3023
|
-
|
|
3020
|
+
}, d = t, m = (_, z) => {
|
|
3021
|
+
u(z) ? (d("update:value", _[_.length - 1]), d("change", z[z.length - 1])) : (d("update:value", null), d("change", null));
|
|
3022
|
+
}, w = (_, z) => z.some((H) => H[c].indexOf(_) > -1), C = () => g.value.filter((z) => z[p] === f.value[f.value.length - 1])[c], b = () => f.value, y = (_) => {
|
|
3023
|
+
f.value = _, d("update:value", _);
|
|
3024
3024
|
}, v = () => {
|
|
3025
|
-
|
|
3025
|
+
f.value = null, d("update:value", null), d("change", null);
|
|
3026
3026
|
};
|
|
3027
3027
|
return oe(() => {
|
|
3028
3028
|
h();
|
|
@@ -3035,8 +3035,8 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3035
3035
|
const H = E("a-cascader");
|
|
3036
3036
|
return x(), U("div", Vi, [
|
|
3037
3037
|
D(H, {
|
|
3038
|
-
value:
|
|
3039
|
-
"onUpdate:value": z[0] || (z[0] = (I) =>
|
|
3038
|
+
value: f.value,
|
|
3039
|
+
"onUpdate:value": z[0] || (z[0] = (I) => f.value = I),
|
|
3040
3040
|
options: g.value,
|
|
3041
3041
|
fieldNames: a.fieldNames,
|
|
3042
3042
|
"show-search": { filter: w },
|
|
@@ -3133,26 +3133,26 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3133
3133
|
s("cancel");
|
|
3134
3134
|
}, p = (C) => {
|
|
3135
3135
|
s("submit", C);
|
|
3136
|
-
},
|
|
3136
|
+
}, f = j(null), g = ne({
|
|
3137
3137
|
width: t.maximize ? "100%" : t.width,
|
|
3138
3138
|
height: t.maximize ? i : t.height,
|
|
3139
3139
|
maxZoomIcon: t.maximize ? "vxe-icon-maximize" : "vxe-icon-square"
|
|
3140
3140
|
}), h = () => {
|
|
3141
|
-
let C = !
|
|
3142
|
-
C ? (g.maxZoomIcon = "vxe-icon-maximize", g.width = "100%", g.height = i) : (g.maxZoomIcon = "vxe-icon-square", g.width = t.width, g.height = t.height),
|
|
3143
|
-
},
|
|
3144
|
-
console.log("iframe加载完毕",
|
|
3141
|
+
let C = !f.value.fullScreen;
|
|
3142
|
+
C ? (g.maxZoomIcon = "vxe-icon-maximize", g.width = "100%", g.height = i) : (g.maxZoomIcon = "vxe-icon-square", g.width = t.width, g.height = t.height), f.value.fullScreen = C;
|
|
3143
|
+
}, d = "vue_iframe_" + Math.round(Math.random() * 1e8), m = j(), w = () => {
|
|
3144
|
+
console.log("iframe加载完毕", d), m.value.contentWindow.addEventListener("closeSagDialogModal", function(C) {
|
|
3145
3145
|
console.log("iframe关闭触发", C), c();
|
|
3146
3146
|
});
|
|
3147
3147
|
};
|
|
3148
3148
|
return oe(() => {
|
|
3149
|
-
le("SagVxeDialog弹出参数", t), t.maximize && (
|
|
3149
|
+
le("SagVxeDialog弹出参数", t), t.maximize && (f.value.fullScreen = !0);
|
|
3150
3150
|
}), (C, b) => {
|
|
3151
3151
|
const y = E("vxe-button"), v = E("a-modal");
|
|
3152
3152
|
return x(), U("div", Li, [
|
|
3153
3153
|
D(v, {
|
|
3154
3154
|
ref_key: "gridModal",
|
|
3155
|
-
ref:
|
|
3155
|
+
ref: f,
|
|
3156
3156
|
open: t.visible,
|
|
3157
3157
|
"get-container": S(l),
|
|
3158
3158
|
width: g.width,
|
|
@@ -3189,7 +3189,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3189
3189
|
key: 1,
|
|
3190
3190
|
ref_key: "iframeRef",
|
|
3191
3191
|
ref: m,
|
|
3192
|
-
id:
|
|
3192
|
+
id: d,
|
|
3193
3193
|
src: S(o),
|
|
3194
3194
|
onLoad: w,
|
|
3195
3195
|
style: { width: "100%", height: "100%", border: "0 none", display: "block" }
|
|
@@ -3227,8 +3227,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3227
3227
|
}), oe(() => {
|
|
3228
3228
|
i("update:value", c());
|
|
3229
3229
|
}), (g, h) => {
|
|
3230
|
-
const
|
|
3231
|
-
return x(), V(
|
|
3230
|
+
const d = E("vxe-input", !0);
|
|
3231
|
+
return x(), V(d, {
|
|
3232
3232
|
"model-value": r.value,
|
|
3233
3233
|
placeholder: S(o),
|
|
3234
3234
|
disabled: a.disabled,
|
|
@@ -3258,7 +3258,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3258
3258
|
},
|
|
3259
3259
|
emits: ["update:value"],
|
|
3260
3260
|
setup(e, { expose: n, emit: t }) {
|
|
3261
|
-
const a = e, l = de(ve), r = l?.ctxPath || "", o = l?.application || "", i = l?.requestDictUrl || "", s = "请输入" + a.title + "搜索", c = j(""), p = j(""),
|
|
3261
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = l?.application || "", i = l?.requestDictUrl || "", s = "请输入" + a.title + "搜索", c = j(""), p = j(""), f = j([]), g = t, h = ne({
|
|
3262
3262
|
multiple: a.multiple,
|
|
3263
3263
|
filterable: a.filterable,
|
|
3264
3264
|
clearable: a.clearable,
|
|
@@ -3269,14 +3269,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3269
3269
|
filterMethod({ searchValue: v, option: _ }) {
|
|
3270
3270
|
return _.label.toLowerCase().indexOf(Pe(v).toLowerCase()) >= 0;
|
|
3271
3271
|
}
|
|
3272
|
-
}),
|
|
3272
|
+
}), d = async () => {
|
|
3273
3273
|
let v = a.request.requestUrl;
|
|
3274
3274
|
return !v && o && (v = i), v ? (v = te(r, v), await rn(o, v, a.request)) : (le("下拉框插槽未获取到请求地址"), []);
|
|
3275
3275
|
}, m = ({ value: v }) => {
|
|
3276
3276
|
g("update:value", v);
|
|
3277
3277
|
}, w = () => p.value, C = () => c.value, b = (v) => {
|
|
3278
3278
|
c.value = v, g("update:value", c.value);
|
|
3279
|
-
let _ =
|
|
3279
|
+
let _ = f.value.filter((z) => z.value === c.value);
|
|
3280
3280
|
_.length === 1 && (p.value = _[0].label);
|
|
3281
3281
|
};
|
|
3282
3282
|
return n({
|
|
@@ -3287,8 +3287,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3287
3287
|
b(a.defaultValue);
|
|
3288
3288
|
}
|
|
3289
3289
|
}), oe(() => {
|
|
3290
|
-
|
|
3291
|
-
!a.multiple && a.selectAll && (v = [{ label: "--全部--", value: "" }].concat(v)),
|
|
3290
|
+
d().then((v) => {
|
|
3291
|
+
!a.multiple && a.selectAll && (v = [{ label: "--全部--", value: "" }].concat(v)), f.value = v, h.options = v;
|
|
3292
3292
|
});
|
|
3293
3293
|
}), (v, _) => {
|
|
3294
3294
|
const z = E("vxe-select", !0);
|
|
@@ -3321,7 +3321,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3321
3321
|
},
|
|
3322
3322
|
emits: ["update:value"],
|
|
3323
3323
|
setup(e, { expose: n, emit: t }) {
|
|
3324
|
-
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t,
|
|
3324
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t, f = ne({
|
|
3325
3325
|
clearable: !0,
|
|
3326
3326
|
filterable: !0,
|
|
3327
3327
|
disabled: a.disabled,
|
|
@@ -3333,7 +3333,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3333
3333
|
autoLoad: !1,
|
|
3334
3334
|
async queryMethod({ searchValue: b }) {
|
|
3335
3335
|
const y = await g(b);
|
|
3336
|
-
|
|
3336
|
+
f.options = y, c.value = y;
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
3339
|
}), g = async (b) => {
|
|
@@ -3349,7 +3349,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3349
3349
|
return [];
|
|
3350
3350
|
}, h = ({ value: b }) => {
|
|
3351
3351
|
p("update:value", b);
|
|
3352
|
-
},
|
|
3352
|
+
}, d = () => s.value, m = () => i.value, w = (b) => {
|
|
3353
3353
|
i.value = b;
|
|
3354
3354
|
let y = c.value.filter((v) => v.value === i.value);
|
|
3355
3355
|
y.length === 1 ? s.value = y[0].label : g(b).then((v) => {
|
|
@@ -3357,7 +3357,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3357
3357
|
}), p("update:value", i.value);
|
|
3358
3358
|
};
|
|
3359
3359
|
return n({
|
|
3360
|
-
getName:
|
|
3360
|
+
getName: d,
|
|
3361
3361
|
getValue: m,
|
|
3362
3362
|
setValue: w,
|
|
3363
3363
|
resetValue: () => {
|
|
@@ -3368,7 +3368,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3368
3368
|
return x(), V(v, ee({
|
|
3369
3369
|
modelValue: i.value,
|
|
3370
3370
|
"onUpdate:modelValue": y[0] || (y[0] = (_) => i.value = _)
|
|
3371
|
-
},
|
|
3371
|
+
}, f, {
|
|
3372
3372
|
size: S(l)?.size,
|
|
3373
3373
|
onChange: h,
|
|
3374
3374
|
style: { width: "100%" }
|
|
@@ -3394,7 +3394,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3394
3394
|
},
|
|
3395
3395
|
emits: ["update:value"],
|
|
3396
3396
|
setup(e, { expose: n, emit: t }) {
|
|
3397
|
-
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t,
|
|
3397
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t, f = ne({
|
|
3398
3398
|
filterable: !0,
|
|
3399
3399
|
clearable: !0,
|
|
3400
3400
|
disabled: a.disabled,
|
|
@@ -3406,13 +3406,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3406
3406
|
}
|
|
3407
3407
|
}), g = async () => await Ne(te(r, a.requestUrl), a.requestParams), h = ({ value: b }) => {
|
|
3408
3408
|
p("update:value", b);
|
|
3409
|
-
},
|
|
3409
|
+
}, d = () => s.value, m = () => i.value, w = (b) => {
|
|
3410
3410
|
i.value = b, p("update:value", i.value);
|
|
3411
3411
|
let y = c.value.filter((v) => v.value === i.value);
|
|
3412
3412
|
y.length === 1 && (s.value = y[0].label);
|
|
3413
3413
|
};
|
|
3414
3414
|
return n({
|
|
3415
|
-
getName:
|
|
3415
|
+
getName: d,
|
|
3416
3416
|
getValue: m,
|
|
3417
3417
|
setValue: w,
|
|
3418
3418
|
resetValue: () => {
|
|
@@ -3420,14 +3420,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3420
3420
|
}
|
|
3421
3421
|
}), oe(() => {
|
|
3422
3422
|
g().then((b) => {
|
|
3423
|
-
c.value = b,
|
|
3423
|
+
c.value = b, f.options = b;
|
|
3424
3424
|
});
|
|
3425
3425
|
}), (b, y) => {
|
|
3426
3426
|
const v = E("vxe-select");
|
|
3427
3427
|
return x(), V(v, ee({
|
|
3428
3428
|
modelValue: i.value,
|
|
3429
3429
|
"onUpdate:modelValue": y[0] || (y[0] = (_) => i.value = _)
|
|
3430
|
-
},
|
|
3430
|
+
}, f, {
|
|
3431
3431
|
size: S(l)?.size,
|
|
3432
3432
|
onChange: h,
|
|
3433
3433
|
style: { width: "100%" }
|
|
@@ -3447,13 +3447,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3447
3447
|
}
|
|
3448
3448
|
const o = new Ke.ExcelJS.Workbook(), i = o.addWorksheet(r.sheetName);
|
|
3449
3449
|
let s = [], c = 0;
|
|
3450
|
-
if (r.columns.forEach((p,
|
|
3450
|
+
if (r.columns.forEach((p, f) => {
|
|
3451
3451
|
T.templateTable.ignoreExportColumnsTitle.includes(p.title) ? c++ : s.push({
|
|
3452
3452
|
key: p.field,
|
|
3453
3453
|
header: p.title,
|
|
3454
3454
|
width: u(p.exportWidth) ? p.exportWidth : p.title.length * 2 + 4
|
|
3455
3455
|
});
|
|
3456
|
-
}), i.columns = s, i.addRows(r.data), i.eachRow(function(p,
|
|
3456
|
+
}), i.columns = s, i.addRows(r.data), i.eachRow(function(p, f) {
|
|
3457
3457
|
p.eachCell({ includeEmpty: !0 }, function(g, h) {
|
|
3458
3458
|
u(g.value) && (g.value.toString().includes(`
|
|
3459
3459
|
`) ? g.alignment = { wrapText: !0 } : g.value.toString().includes("\\n") && (g.value = g.value.toString().replaceAll("\\n", `
|
|
@@ -3461,19 +3461,19 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3461
3461
|
});
|
|
3462
3462
|
}), u(r.mergeCells)) {
|
|
3463
3463
|
let p = {};
|
|
3464
|
-
r.mergeCells.forEach((
|
|
3465
|
-
let g =
|
|
3464
|
+
r.mergeCells.forEach((f) => {
|
|
3465
|
+
let g = f.col - c;
|
|
3466
3466
|
const h = l[g];
|
|
3467
|
-
if (u(p[h]) ? p[h] = p[h] +
|
|
3468
|
-
let
|
|
3469
|
-
const m = "'" + h +
|
|
3467
|
+
if (u(p[h]) ? p[h] = p[h] + f.rowspan : p[h] = f.rowspan + 1, f.col >= c && f.rowspan != 1) {
|
|
3468
|
+
let d = f.row + 2;
|
|
3469
|
+
const m = "'" + h + d + ":" + h + p[h] + "'";
|
|
3470
3470
|
i.mergeCells(m);
|
|
3471
3471
|
}
|
|
3472
3472
|
});
|
|
3473
3473
|
}
|
|
3474
3474
|
o.xlsx.writeBuffer().then((p) => {
|
|
3475
|
-
let
|
|
3476
|
-
Ke.FileSaver.saveAs(
|
|
3475
|
+
let f = new Blob([p], { type: "application/octet-stream" });
|
|
3476
|
+
Ke.FileSaver.saveAs(f, r.filename + ".xlsx");
|
|
3477
3477
|
}).catch((p) => le("Error writing excel export", p));
|
|
3478
3478
|
} catch (o) {
|
|
3479
3479
|
dt("下载失败", o);
|
|
@@ -3646,7 +3646,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3646
3646
|
l?.templateTable?.tableColumnMerge?.backgroundColor,
|
|
3647
3647
|
T?.templateTable?.tableColumnMerge?.backgroundColor
|
|
3648
3648
|
)
|
|
3649
|
-
}),
|
|
3649
|
+
}), f = ne({
|
|
3650
3650
|
formButtons: $.toString(l?.templateTable?.tableButtons?.formButtons, []),
|
|
3651
3651
|
tableButtons: $.toString(l?.templateTable?.tableButtons?.tableButtons, []),
|
|
3652
3652
|
tableMoreButtons: $.toString(l?.templateTable?.tableButtons?.tableMoreButtons, [])
|
|
@@ -3678,9 +3678,9 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3678
3678
|
T.templateTable.toolbarConfig.slots.tools
|
|
3679
3679
|
)
|
|
3680
3680
|
}
|
|
3681
|
-
}), h = T.application + "_" + r.templateType,
|
|
3682
|
-
Sn(ve, r), Sn(nl, () => document.getElementById(S(
|
|
3683
|
-
const m = Object.keys(Be()), w = m.filter((k) => k.startsWith("items_")), C = m.filter((k) => k.startsWith("cols_")), b = m.filter((k) => k.startsWith("tools_")), y = j(), v = j(!0), _ = j(!1), z = j("none"), H = j(["1"]), I = j(0), L =
|
|
3681
|
+
}), h = T.application + "_" + r.templateType, d = "sag_vxe_page_div_panel_" + h;
|
|
3682
|
+
Sn(ve, r), Sn(nl, () => document.getElementById(S(d)));
|
|
3683
|
+
const m = Object.keys(Be()), w = m.filter((k) => k.startsWith("items_")), C = m.filter((k) => k.startsWith("cols_")), b = m.filter((k) => k.startsWith("tools_")), y = j(), v = j(!0), _ = j(!1), z = j("none"), H = j(["1"]), I = j(0), L = ze(r.size), G = j(), N = ne({}), X = j([]), ke = j(), mt = j([]), gt = t, he = (k, O) => {
|
|
3684
3684
|
X.value[O] = k;
|
|
3685
3685
|
}, Ve = async () => {
|
|
3686
3686
|
const k = y.value;
|
|
@@ -3864,7 +3864,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3864
3864
|
backgroundColor: p?.backgroundColor
|
|
3865
3865
|
};
|
|
3866
3866
|
}, fl = () => {
|
|
3867
|
-
const k = document.getElementById(
|
|
3867
|
+
const k = document.getElementById(d);
|
|
3868
3868
|
if (k) {
|
|
3869
3869
|
const O = k.getElementsByTagName("form");
|
|
3870
3870
|
O && O.length > 0 && (O[0].submit = () => (a.visible = !1, Ve(), !1));
|
|
@@ -3989,7 +3989,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3989
3989
|
}), (k, O) => {
|
|
3990
3990
|
const R = E("a-button"), F = E("a-space"), J = E("vxe-form"), se = E("a-collapse-panel"), _e = E("a-collapse"), Se = E("a-menu-item"), ie = E("a-menu"), qe = E("a-dropdown"), Oe = E("vxe-button"), wl = E("vxe-grid");
|
|
3991
3991
|
return wn((x(), U("div", {
|
|
3992
|
-
id:
|
|
3992
|
+
id: d,
|
|
3993
3993
|
class: "sag-vxe-page-wrapper"
|
|
3994
3994
|
}, [
|
|
3995
3995
|
wn(Q("div", Ki, [
|
|
@@ -4192,7 +4192,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4192
4192
|
]),
|
|
4193
4193
|
button: B(({ row: P }) => [
|
|
4194
4194
|
Q("div", ls, [
|
|
4195
|
-
(x(!0), U(fe, null, Ce(
|
|
4195
|
+
(x(!0), U(fe, null, Ce(f.tableButtons, (M) => (x(), U(fe, { key: M }, [
|
|
4196
4196
|
S($).toString(P[M.buttonName], !0) && S(Re)(M.auth) ? (x(), U("span", rs, [
|
|
4197
4197
|
c.showButtonLink ? q("", !0) : (x(), V(R, {
|
|
4198
4198
|
key: 0,
|
|
@@ -4201,7 +4201,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4201
4201
|
onClick: (ye) => S(He)(M, P)
|
|
4202
4202
|
}, {
|
|
4203
4203
|
icon: B(() => [
|
|
4204
|
-
D(
|
|
4204
|
+
D($e, {
|
|
4205
4205
|
icon: M.icon
|
|
4206
4206
|
}, null, 8, ["icon"])
|
|
4207
4207
|
]),
|
|
@@ -4216,7 +4216,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4216
4216
|
class: "sag-vxe-page-button-link",
|
|
4217
4217
|
onClick: (ye) => S(He)(M, P)
|
|
4218
4218
|
}, [
|
|
4219
|
-
D(
|
|
4219
|
+
D($e, {
|
|
4220
4220
|
icon: M.icon
|
|
4221
4221
|
}, null, 8, ["icon"]),
|
|
4222
4222
|
ce(" " + ae(M.buttonName), 1)
|
|
@@ -4225,21 +4225,21 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4225
4225
|
])) : q("", !0)
|
|
4226
4226
|
], 64))), 128))
|
|
4227
4227
|
]),
|
|
4228
|
-
vl(
|
|
4228
|
+
vl(f.tableMoreButtons, P) ? (x(), V(qe, {
|
|
4229
4229
|
key: 0,
|
|
4230
4230
|
destroyPopupOnHide: !0
|
|
4231
4231
|
}, {
|
|
4232
4232
|
overlay: B(() => [
|
|
4233
4233
|
D(ie, null, {
|
|
4234
4234
|
default: B(() => [
|
|
4235
|
-
(x(!0), U(fe, null, Ce(
|
|
4235
|
+
(x(!0), U(fe, null, Ce(f.tableMoreButtons, (M) => (x(), U(fe, { key: M }, [
|
|
4236
4236
|
S(Re)(M.auth) ? (x(), U(fe, { key: 0 }, [
|
|
4237
4237
|
S($).toString(P[M.buttonName], !0) ? (x(), V(Se, { key: 0 }, {
|
|
4238
4238
|
default: B(() => [
|
|
4239
4239
|
Q("a", {
|
|
4240
4240
|
onClick: (ye) => S(He)(M, P)
|
|
4241
4241
|
}, [
|
|
4242
|
-
D(
|
|
4242
|
+
D($e, {
|
|
4243
4243
|
icon: M.icon
|
|
4244
4244
|
}, null, 8, ["icon"]),
|
|
4245
4245
|
ce(" " + ae(M.buttonName), 1)
|
|
@@ -4269,13 +4269,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4269
4269
|
}, 1024)) : q("", !0)
|
|
4270
4270
|
]),
|
|
4271
4271
|
toolbar_buttons: B(() => [
|
|
4272
|
-
S(u)(
|
|
4272
|
+
S(u)(f.formButtons) && f.formButtons.length > 0 ? (x(), V(F, {
|
|
4273
4273
|
key: 0,
|
|
4274
4274
|
wrap: !0,
|
|
4275
4275
|
style: { "margin-bottom": "0px" }
|
|
4276
4276
|
}, {
|
|
4277
4277
|
default: B(() => [
|
|
4278
|
-
(x(!0), U(fe, null, Ce(
|
|
4278
|
+
(x(!0), U(fe, null, Ce(f.formButtons, (P) => (x(), U("span", { key: P }, [
|
|
4279
4279
|
S(Re)(P.auth) ? (x(), V(R, {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
round: "",
|
|
@@ -4284,7 +4284,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4284
4284
|
onClick: (M) => S(pl)(P)
|
|
4285
4285
|
}, {
|
|
4286
4286
|
icon: B(() => [
|
|
4287
|
-
D(
|
|
4287
|
+
D($e, {
|
|
4288
4288
|
icon: P.icon
|
|
4289
4289
|
}, null, 8, ["icon"])
|
|
4290
4290
|
]),
|
|
@@ -4413,19 +4413,19 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4413
4413
|
A.locale("zh-cn"), A.extend(pt);
|
|
4414
4414
|
const a = e, l = a.picker || "day", r = a.format || "YYYY-MM-DD";
|
|
4415
4415
|
let o = j();
|
|
4416
|
-
const i = (
|
|
4416
|
+
const i = (d, m) => {
|
|
4417
4417
|
h(m, !0);
|
|
4418
|
-
}, s = () => u(o.value) ? A(o.value).format(r) : null, c = (
|
|
4419
|
-
o.value = A(
|
|
4420
|
-
}, p = (
|
|
4421
|
-
o.value = A().add(
|
|
4422
|
-
},
|
|
4423
|
-
u(
|
|
4418
|
+
}, s = () => u(o.value) ? A(o.value).format(r) : null, c = (d) => {
|
|
4419
|
+
o.value = A(d), h();
|
|
4420
|
+
}, p = (d) => {
|
|
4421
|
+
o.value = A().add(d || 0, l), h();
|
|
4422
|
+
}, f = (d) => !!(u(a.max) && A(d).format(r) > a.max || u(a.min) && A(d).format(r) < a.min), g = t, h = (d, m = !1) => {
|
|
4423
|
+
u(d) ? (g("update:value", d), m && g("change", d)) : (g("update:value", s()), m && g("change", s()));
|
|
4424
4424
|
};
|
|
4425
4425
|
return ge(
|
|
4426
4426
|
() => a.value,
|
|
4427
|
-
(
|
|
4428
|
-
o.value =
|
|
4427
|
+
(d, m) => {
|
|
4428
|
+
o.value = d ? A(d) : null;
|
|
4429
4429
|
}
|
|
4430
4430
|
), oe(() => {
|
|
4431
4431
|
u(a.value) && c(a.value);
|
|
@@ -4433,7 +4433,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4433
4433
|
setDate: c,
|
|
4434
4434
|
setValue: p,
|
|
4435
4435
|
getValue: s
|
|
4436
|
-
}), (
|
|
4436
|
+
}), (d, m) => {
|
|
4437
4437
|
const w = E("a-date-picker");
|
|
4438
4438
|
return x(), V(w, {
|
|
4439
4439
|
value: S(o),
|
|
@@ -4442,7 +4442,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4442
4442
|
disabled: a.disabled,
|
|
4443
4443
|
locale: S(Fe),
|
|
4444
4444
|
format: S(r),
|
|
4445
|
-
disabledDate:
|
|
4445
|
+
disabledDate: f,
|
|
4446
4446
|
picker: S(l) === "day" ? "date" : S(l),
|
|
4447
4447
|
style: me(a.style),
|
|
4448
4448
|
onChange: i
|
|
@@ -4492,12 +4492,12 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4492
4492
|
{ label: "近两年", value: [A().add(-2, l)] },
|
|
4493
4493
|
{ label: "近三年", value: [A().add(-3, l)] },
|
|
4494
4494
|
{ label: "近五年", value: [A().add(-5, l)] }
|
|
4495
|
-
],
|
|
4495
|
+
], f = j(l === "day" ? s : l === "month" ? c : p), g = (w, C) => {
|
|
4496
4496
|
m(C, !0);
|
|
4497
4497
|
}, h = () => {
|
|
4498
4498
|
let w = null, C = null;
|
|
4499
4499
|
return i.value && i.value[0] && (w = A(i.value[0]).format(r)), i.value && i.value[1] && (C = A(i.value[1]).format(r)), !w && !C ? null : [w, C];
|
|
4500
|
-
},
|
|
4500
|
+
}, d = (w, C) => {
|
|
4501
4501
|
typeof w == "number" || typeof C == "number" ? i.value = [
|
|
4502
4502
|
u(w) ? A().add(w, l) : null,
|
|
4503
4503
|
u(C) ? A().add(C, l) : null
|
|
@@ -4512,16 +4512,16 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4512
4512
|
u(w) && (u(w[0]) && (b = A(w[0])), u(w[1]) && (y = A(w[1]))), i.value = [b, y];
|
|
4513
4513
|
}
|
|
4514
4514
|
), oe(() => {
|
|
4515
|
-
u(a.value) &&
|
|
4515
|
+
u(a.value) && d(a.value[0], a.value[1]);
|
|
4516
4516
|
}), n({
|
|
4517
|
-
setValue:
|
|
4517
|
+
setValue: d,
|
|
4518
4518
|
getValue: h
|
|
4519
4519
|
}), (w, C) => {
|
|
4520
4520
|
const b = E("a-range-picker");
|
|
4521
4521
|
return x(), V(b, {
|
|
4522
4522
|
value: i.value,
|
|
4523
4523
|
"onUpdate:value": C[0] || (C[0] = (y) => i.value = y),
|
|
4524
|
-
presets:
|
|
4524
|
+
presets: f.value,
|
|
4525
4525
|
locale: S(Fe),
|
|
4526
4526
|
allowEmpty: [!0, !0],
|
|
4527
4527
|
format: S(r),
|
|
@@ -4566,7 +4566,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4566
4566
|
disabled: t.disabled
|
|
4567
4567
|
}, {
|
|
4568
4568
|
icon: B(() => [
|
|
4569
|
-
t.icon !== "none" ? (x(), V(
|
|
4569
|
+
t.icon !== "none" ? (x(), V($e, {
|
|
4570
4570
|
key: 0,
|
|
4571
4571
|
icon: t.icon
|
|
4572
4572
|
}, null, 8, ["icon"])) : q("", !0)
|
|
@@ -4609,7 +4609,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4609
4609
|
},
|
|
4610
4610
|
emits: ["update:value", "change"],
|
|
4611
4611
|
setup(e, { expose: n, emit: t }) {
|
|
4612
|
-
const a = e, l = T.application || "", r = T.ctxPath || "", o = "请输入" + a.title + "搜索", i = a.fieldNames.label, s = a.fieldNames.value, c = j([]), p = j([]),
|
|
4612
|
+
const a = e, l = T.application || "", r = T.ctxPath || "", o = "请输入" + a.title + "搜索", i = a.fieldNames.label, s = a.fieldNames.value, c = j([]), p = j([]), f = async () => {
|
|
4613
4613
|
const b = await Xa(
|
|
4614
4614
|
te(r, a.requestUrl),
|
|
4615
4615
|
a.requestParams,
|
|
@@ -4619,11 +4619,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4619
4619
|
p.value = b;
|
|
4620
4620
|
}, g = t, h = (b, y) => {
|
|
4621
4621
|
u(y) ? (g("update:value", b[b.length - 1]), g("change", y[y.length - 1])) : (g("update:value", null), g("change", null));
|
|
4622
|
-
},
|
|
4622
|
+
}, d = (b, y) => y.some((v) => v[i].indexOf(b) > -1), m = () => p.value.filter((y) => y[s] === c.value[c.value.length - 1])[i], w = () => c.value, C = (b) => {
|
|
4623
4623
|
c.value = b, g("update:value", b);
|
|
4624
4624
|
};
|
|
4625
4625
|
return oe(() => {
|
|
4626
|
-
|
|
4626
|
+
f();
|
|
4627
4627
|
}), n({
|
|
4628
4628
|
getName: m,
|
|
4629
4629
|
getValue: w,
|
|
@@ -4636,7 +4636,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4636
4636
|
"onUpdate:value": y[0] || (y[0] = (_) => c.value = _),
|
|
4637
4637
|
options: p.value,
|
|
4638
4638
|
fieldNames: a.fieldNames,
|
|
4639
|
-
"show-search": { filter:
|
|
4639
|
+
"show-search": { filter: d },
|
|
4640
4640
|
disabled: a.disabled,
|
|
4641
4641
|
clearable: a.clearable,
|
|
4642
4642
|
changeOnSelect: a.changeOnSelect,
|
|
@@ -4738,13 +4738,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4738
4738
|
setup(e, { expose: n, emit: t }) {
|
|
4739
4739
|
const a = e, l = j($.toString(a.value, null)), r = t, o = Object.keys(Be()), i = o.filter((h) => h === "addonAfter"), s = o.filter((h) => h === "addonBefore"), c = () => {
|
|
4740
4740
|
g(!0);
|
|
4741
|
-
}, p = () => l.value,
|
|
4741
|
+
}, p = () => l.value, f = (h) => {
|
|
4742
4742
|
a.formatter === "date" ? l.value = $.toDateString(h) : a.formatter === "datetime" ? l.value = $.toDatetimeString(h) : l.value = h, g();
|
|
4743
4743
|
};
|
|
4744
4744
|
ge(
|
|
4745
4745
|
() => a.value,
|
|
4746
|
-
(h,
|
|
4747
|
-
h !== l.value &&
|
|
4746
|
+
(h, d) => {
|
|
4747
|
+
h !== l.value && f(h);
|
|
4748
4748
|
}
|
|
4749
4749
|
);
|
|
4750
4750
|
const g = (h = !1) => {
|
|
@@ -4752,12 +4752,12 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4752
4752
|
};
|
|
4753
4753
|
return n({
|
|
4754
4754
|
getValue: p,
|
|
4755
|
-
setValue:
|
|
4756
|
-
}), (h,
|
|
4755
|
+
setValue: f
|
|
4756
|
+
}), (h, d) => {
|
|
4757
4757
|
const m = E("a-input");
|
|
4758
4758
|
return x(), V(m, {
|
|
4759
4759
|
value: l.value,
|
|
4760
|
-
"onUpdate:value":
|
|
4760
|
+
"onUpdate:value": d[0] || (d[0] = (w) => l.value = w),
|
|
4761
4761
|
placeholder: a.placeholder,
|
|
4762
4762
|
disabled: a.disabled,
|
|
4763
4763
|
showCount: a.showCount,
|
|
@@ -4824,13 +4824,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4824
4824
|
setup(e, { expose: n, emit: t }) {
|
|
4825
4825
|
const a = e, l = j($.toString(a.value, null)), r = t, o = Object.keys(Be()), i = o.filter((h) => h === "addonAfter"), s = o.filter((h) => h === "addonBefore"), c = () => {
|
|
4826
4826
|
g(!0);
|
|
4827
|
-
}, p = () => l.value,
|
|
4827
|
+
}, p = () => l.value, f = (h) => {
|
|
4828
4828
|
l.value = h, g();
|
|
4829
4829
|
};
|
|
4830
4830
|
ge(
|
|
4831
4831
|
() => a.value,
|
|
4832
|
-
(h,
|
|
4833
|
-
h !== l.value &&
|
|
4832
|
+
(h, d) => {
|
|
4833
|
+
h !== l.value && f(h);
|
|
4834
4834
|
}
|
|
4835
4835
|
);
|
|
4836
4836
|
const g = (h = !1) => {
|
|
@@ -4838,12 +4838,12 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4838
4838
|
};
|
|
4839
4839
|
return n({
|
|
4840
4840
|
getValue: p,
|
|
4841
|
-
setValue:
|
|
4842
|
-
}), (h,
|
|
4841
|
+
setValue: f
|
|
4842
|
+
}), (h, d) => {
|
|
4843
4843
|
const m = E("a-input-number");
|
|
4844
4844
|
return x(), V(m, {
|
|
4845
4845
|
value: l.value,
|
|
4846
|
-
"onUpdate:value":
|
|
4846
|
+
"onUpdate:value": d[0] || (d[0] = (w) => l.value = w),
|
|
4847
4847
|
placeholder: a.placeholder,
|
|
4848
4848
|
disabled: a.disabled,
|
|
4849
4849
|
max: a.max,
|
|
@@ -4920,7 +4920,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4920
4920
|
name: "suffix",
|
|
4921
4921
|
fn: B(() => [
|
|
4922
4922
|
Q("a", { onClick: o }, [
|
|
4923
|
-
D(
|
|
4923
|
+
D($e, { icon: "close" })
|
|
4924
4924
|
])
|
|
4925
4925
|
]),
|
|
4926
4926
|
key: "0"
|
|
@@ -4967,7 +4967,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4967
4967
|
};
|
|
4968
4968
|
ge(
|
|
4969
4969
|
() => a.value,
|
|
4970
|
-
(p,
|
|
4970
|
+
(p, f) => {
|
|
4971
4971
|
p !== l.value && s(p);
|
|
4972
4972
|
}
|
|
4973
4973
|
);
|
|
@@ -4977,11 +4977,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4977
4977
|
return n({
|
|
4978
4978
|
getValue: i,
|
|
4979
4979
|
setValue: s
|
|
4980
|
-
}), (p,
|
|
4980
|
+
}), (p, f) => {
|
|
4981
4981
|
const g = E("a-textarea");
|
|
4982
4982
|
return x(), V(g, {
|
|
4983
4983
|
value: l.value,
|
|
4984
|
-
"onUpdate:value":
|
|
4984
|
+
"onUpdate:value": f[0] || (f[0] = (h) => l.value = h),
|
|
4985
4985
|
placeholder: a.placeholder,
|
|
4986
4986
|
disabled: a.disabled,
|
|
4987
4987
|
allowClear: a.allowClear,
|
|
@@ -5026,10 +5026,10 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5026
5026
|
},
|
|
5027
5027
|
emits: ["update:value", "update:label", "change"],
|
|
5028
5028
|
setup(e, { expose: n, emit: t }) {
|
|
5029
|
-
const a = e, l = t, r = $.toString(a.value, null), o = a.multiple ? j(u(r) ? r.split(",") : []) : j(r), i = j(a.multiple ? [] : null), s = j(a.multiple ? {} : null), c = j([]), p = a.maxTagCount || 10,
|
|
5029
|
+
const a = e, l = t, r = $.toString(a.value, null), o = a.multiple ? j(u(r) ? r.split(",") : []) : j(r), i = j(a.multiple ? [] : null), s = j(a.multiple ? {} : null), c = j([]), p = a.maxTagCount || 10, f = (y) => a.mountainTop ? document.body : y.parentNode, g = async () => {
|
|
5030
5030
|
const y = te(T.ctxPath, T.requestDictUrl);
|
|
5031
5031
|
return await rn(T.application, y, a.requestParams);
|
|
5032
|
-
}, h = (y, v) => v.label.toLowerCase().indexOf(y.toLowerCase()) >= 0,
|
|
5032
|
+
}, h = (y, v) => v.label.toLowerCase().indexOf(y.toLowerCase()) >= 0, d = (y, v) => {
|
|
5033
5033
|
C(!0);
|
|
5034
5034
|
}, m = () => o.value, w = (y) => {
|
|
5035
5035
|
a.multiple ? o.value = u(y) ? y : [] : o.value = u(y) ? y : "", C();
|
|
@@ -5071,7 +5071,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5071
5071
|
D(_, {
|
|
5072
5072
|
value: S(o),
|
|
5073
5073
|
"onUpdate:value": v[0] || (v[0] = (z) => st(o) ? o.value = z : null),
|
|
5074
|
-
onChange:
|
|
5074
|
+
onChange: d,
|
|
5075
5075
|
placeholder: "--请选择--",
|
|
5076
5076
|
allowClear: a.clearable,
|
|
5077
5077
|
mode: e.multiple ? "multiple" : "",
|
|
@@ -5081,7 +5081,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5081
5081
|
"filter-option": h,
|
|
5082
5082
|
defaultActiveFirstOption: !a.multiple,
|
|
5083
5083
|
autoClearSearchValue: !a.filterable,
|
|
5084
|
-
getPopupContainer:
|
|
5084
|
+
getPopupContainer: f,
|
|
5085
5085
|
disabled: e.disabled,
|
|
5086
5086
|
style: me(a.style),
|
|
5087
5087
|
size: "medium"
|
|
@@ -5127,7 +5127,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5127
5127
|
},
|
|
5128
5128
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5129
5129
|
setup(e, { expose: n, emit: t }) {
|
|
5130
|
-
const a = e, l = j(a.value ? a.value : a.multiple ? [] : null), r = j(a.label ? a.label : a.multiple ? [] : null), o = j(a.multiple ? {} : null), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索",
|
|
5130
|
+
const a = e, l = j(a.value ? a.value : a.multiple ? [] : null), r = j(a.label ? a.label : a.multiple ? [] : null), o = j(a.multiple ? {} : null), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索", f = (I) => a.mountainTop ? document.body : I.parentNode, g = async () => {
|
|
5131
5131
|
if (a.corpFilter && !u(a.corpId))
|
|
5132
5132
|
return i.value = [], [];
|
|
5133
5133
|
let I = { corpId: a.corpId };
|
|
@@ -5138,7 +5138,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5138
5138
|
g().then((I) => {
|
|
5139
5139
|
c("query", I);
|
|
5140
5140
|
});
|
|
5141
|
-
}, 300),
|
|
5141
|
+
}, 300), d = (I) => {
|
|
5142
5142
|
w(I).then(() => {
|
|
5143
5143
|
H(!0);
|
|
5144
5144
|
});
|
|
@@ -5194,8 +5194,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5194
5194
|
"max-tag-count": a.maxTagCount,
|
|
5195
5195
|
options: i.value,
|
|
5196
5196
|
allowClear: a.clearable,
|
|
5197
|
-
getPopupContainer:
|
|
5198
|
-
onChange:
|
|
5197
|
+
getPopupContainer: f,
|
|
5198
|
+
onChange: d,
|
|
5199
5199
|
"show-search": ""
|
|
5200
5200
|
}, we({ _: 2 }, [
|
|
5201
5201
|
s.value ? {
|
|
@@ -5243,7 +5243,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5243
5243
|
},
|
|
5244
5244
|
emits: ["update:value", "update:label", "change"],
|
|
5245
5245
|
setup(e, { expose: n, emit: t }) {
|
|
5246
|
-
const a = e, l = j(a.value || null), r = j(a.label || ""), o = j({}), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索",
|
|
5246
|
+
const a = e, l = j(a.value || null), r = j(a.label || ""), o = j({}), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索", f = (v) => a.mountainTop ? document.body : v.parentNode, g = async (v) => {
|
|
5247
5247
|
if (i.value = [], a.corpFilter && !u(a.corpId))
|
|
5248
5248
|
return [];
|
|
5249
5249
|
if (u(v)) {
|
|
@@ -5257,7 +5257,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5257
5257
|
l.value = v, m(v).then((_) => {
|
|
5258
5258
|
y(!0);
|
|
5259
5259
|
});
|
|
5260
|
-
},
|
|
5260
|
+
}, d = At((v) => {
|
|
5261
5261
|
g(v);
|
|
5262
5262
|
}, 500), m = async (v) => {
|
|
5263
5263
|
if (u(v)) {
|
|
@@ -5307,9 +5307,9 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5307
5307
|
allowClear: a.clearable,
|
|
5308
5308
|
"default-active-first-option": !1,
|
|
5309
5309
|
"show-arrow": !1,
|
|
5310
|
-
getPopupContainer:
|
|
5310
|
+
getPopupContainer: f,
|
|
5311
5311
|
onChange: h,
|
|
5312
|
-
onSearch: S(
|
|
5312
|
+
onSearch: S(d),
|
|
5313
5313
|
"show-search": ""
|
|
5314
5314
|
}, we({ _: 2 }, [
|
|
5315
5315
|
s.value ? {
|
|
@@ -5345,22 +5345,22 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5345
5345
|
const c = E("a-collapse-panel"), p = E("a-collapse");
|
|
5346
5346
|
return x(), V(p, {
|
|
5347
5347
|
activeKey: r.value,
|
|
5348
|
-
"onUpdate:activeKey": s[0] || (s[0] = (
|
|
5348
|
+
"onUpdate:activeKey": s[0] || (s[0] = (f) => r.value = f),
|
|
5349
5349
|
expandIconPosition: "end",
|
|
5350
5350
|
collapsible: n.showArrow ? "" : "disabled",
|
|
5351
5351
|
accordion: ""
|
|
5352
5352
|
}, {
|
|
5353
5353
|
default: B(() => [
|
|
5354
|
-
(x(!0), U(fe, null, Ce(S(a), (
|
|
5355
|
-
key:
|
|
5354
|
+
(x(!0), U(fe, null, Ce(S(a), (f) => (x(), V(c, {
|
|
5355
|
+
key: f,
|
|
5356
5356
|
forceRender: "",
|
|
5357
5357
|
showArrow: n.showArrow
|
|
5358
5358
|
}, {
|
|
5359
5359
|
header: B(() => [
|
|
5360
|
-
S(l).length === 1 ? re(i.$slots, "header", { key: 0 }) : (x(), U("span", Ss, ae(o.value[
|
|
5360
|
+
S(l).length === 1 ? re(i.$slots, "header", { key: 0 }) : (x(), U("span", Ss, ae(o.value[f]), 1))
|
|
5361
5361
|
]),
|
|
5362
5362
|
default: B(() => [
|
|
5363
|
-
re(i.$slots,
|
|
5363
|
+
re(i.$slots, f)
|
|
5364
5364
|
]),
|
|
5365
5365
|
_: 2
|
|
5366
5366
|
}, 1032, ["showArrow"]))), 128))
|
|
@@ -5459,11 +5459,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5459
5459
|
(p) => {
|
|
5460
5460
|
o.value = p;
|
|
5461
5461
|
}
|
|
5462
|
-
), (p,
|
|
5463
|
-
const g = E("
|
|
5464
|
-
return x(), V(
|
|
5462
|
+
), (p, f) => {
|
|
5463
|
+
const g = E("a-tab-pane"), h = E("a-tabs");
|
|
5464
|
+
return x(), V(h, {
|
|
5465
5465
|
activeKey: o.value,
|
|
5466
|
-
"onUpdate:activeKey":
|
|
5466
|
+
"onUpdate:activeKey": f[0] || (f[0] = (d) => o.value = d),
|
|
5467
5467
|
type: t.type,
|
|
5468
5468
|
"tab-position": t.position,
|
|
5469
5469
|
tabBarGutter: t.position === "left" ? 4 : 25,
|
|
@@ -5471,26 +5471,26 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5471
5471
|
onChange: c
|
|
5472
5472
|
}, we({
|
|
5473
5473
|
default: B(() => [
|
|
5474
|
-
(x(!0), U(fe, null, Ce(S(r), (
|
|
5475
|
-
key:
|
|
5476
|
-
forceRender: t.forceRender && !t.notForceRender?.includes(
|
|
5474
|
+
(x(!0), U(fe, null, Ce(S(r), (d, m) => (x(), V(g, {
|
|
5475
|
+
key: d,
|
|
5476
|
+
forceRender: t.forceRender && !t.notForceRender?.includes(d),
|
|
5477
5477
|
style: me(t.position === "left" ? { paddingLeft: "0" } : {})
|
|
5478
5478
|
}, {
|
|
5479
5479
|
tab: B(() => [
|
|
5480
5480
|
Q("span", {
|
|
5481
|
-
style: me(
|
|
5481
|
+
style: me(m === 0 && t.position === "top" ? { marginLeft: "10px" } : {})
|
|
5482
5482
|
}, [
|
|
5483
5483
|
S(l).includes("header") ? re(p.$slots, "header", {
|
|
5484
5484
|
key: 0,
|
|
5485
|
-
tabKey:
|
|
5485
|
+
tabKey: d
|
|
5486
5486
|
}) : (x(), U(fe, { key: 1 }, [
|
|
5487
|
-
D(
|
|
5488
|
-
ce(" " + ae(i.value[
|
|
5487
|
+
D($e, { icon: "menu" }),
|
|
5488
|
+
ce(" " + ae(i.value[d]), 1)
|
|
5489
5489
|
], 64))
|
|
5490
5490
|
], 4)
|
|
5491
5491
|
]),
|
|
5492
5492
|
default: B(() => [
|
|
5493
|
-
re(p.$slots,
|
|
5493
|
+
re(p.$slots, d)
|
|
5494
5494
|
]),
|
|
5495
5495
|
_: 2
|
|
5496
5496
|
}, 1032, ["forceRender", "style"]))), 128))
|
|
@@ -5520,7 +5520,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5520
5520
|
},
|
|
5521
5521
|
setup(e) {
|
|
5522
5522
|
const n = e;
|
|
5523
|
-
return (t, a) => (x(), V(
|
|
5523
|
+
return (t, a) => (x(), V($e, {
|
|
5524
5524
|
icon: n.icon
|
|
5525
5525
|
}, null, 8, ["icon"]));
|
|
5526
5526
|
}
|