sag-ubmp-pc 1.0.22 → 1.0.23
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 +517 -514
- package/dist/sag-ubmp-pc.umd.js +5 -5
- package/package.json +1 -1
package/dist/sag-ubmp-pc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Te, { trim as Pe, debounce as At } from "xe-utils";
|
|
2
|
-
import { inject as de, ref as j, h as Ae, getCurrentInstance as _l, nextTick as lt, reactive as ne, defineComponent as W, createVNode as D, openBlock as x, createElementBlock as U, Fragment as fe, createBlock as V, unref as
|
|
2
|
+
import { inject as de, ref as j, h as Ae, getCurrentInstance as _l, nextTick as lt, reactive as ne, defineComponent as W, createVNode as D, openBlock as x, createElementBlock as U, Fragment as fe, createBlock as V, unref as S, createCommentVNode as q, onMounted as oe, resolveComponent as E, isRef as st, createSlots as we, withCtx as B, defineAsyncComponent as Ol, computed as xl, resolveDynamicComponent as Cl, mergeProps as ee, createElementVNode as Q, toDisplayString as ae, useAttrs as Pl, provide as Sn, useSlots as Be, watch as ge, withDirectives as wn, createTextVNode as ce, renderList as Ce, renderSlot as re, vShow as _n, toHandlers as kl, normalizeProps as Tl, guardReactiveProps as Al, normalizeStyle as me } from "vue";
|
|
3
3
|
import { Modal as Ml, notification as Ot, message as $l, Spin as jl } from "ant-design-vue";
|
|
4
4
|
import A from "dayjs";
|
|
5
5
|
const ut = "SAG_UBMP_PC$", rt = {
|
|
@@ -78,7 +78,7 @@ function jt(e) {
|
|
|
78
78
|
console[e]("[sag-ubmp-pc]" + n, t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
const le = jt("log"), Na = jt("warn"), dt = jt("error"),
|
|
81
|
+
const le = jt("log"), Na = jt("warn"), dt = jt("error"), Ke = {
|
|
82
82
|
ExcelJS: null,
|
|
83
83
|
FileSaver: null
|
|
84
84
|
}, T = {
|
|
@@ -146,7 +146,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
146
146
|
Te.merge(T, e), le("加载公共参数完毕", T);
|
|
147
147
|
},
|
|
148
148
|
setupExcelConfig: function(e, n) {
|
|
149
|
-
Te.merge(
|
|
149
|
+
Te.merge(Ke, {
|
|
150
150
|
ExcelJS: e,
|
|
151
151
|
FileSaver: n
|
|
152
152
|
}), le("加载excel组件完毕");
|
|
@@ -209,7 +209,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
209
209
|
filterable: s,
|
|
210
210
|
disabled: c,
|
|
211
211
|
defaultValue: p,
|
|
212
|
-
dictRoleType:
|
|
212
|
+
dictRoleType: d,
|
|
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"), Qe = {
|
|
|
223
223
|
request: {
|
|
224
224
|
dictType: t,
|
|
225
225
|
parentNode: u(h) ? h : null,
|
|
226
|
-
dictRoleType: u(
|
|
226
|
+
dictRoleType: u(d) ? d : null
|
|
227
227
|
},
|
|
228
228
|
multiple: u(o) ? o : !1,
|
|
229
229
|
clearable: u(i) ? i : !0,
|
|
@@ -283,7 +283,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
|
-
},
|
|
286
|
+
}, Kl = (e = {}) => {
|
|
287
287
|
const { fixed: n = null, visible: t = !0 } = e;
|
|
288
288
|
return {
|
|
289
289
|
field: "row_seq",
|
|
@@ -296,7 +296,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
296
296
|
resizable: !1,
|
|
297
297
|
align: "center"
|
|
298
298
|
};
|
|
299
|
-
},
|
|
299
|
+
}, Ql = (e = {}) => {
|
|
300
300
|
const { fixed: n = null, visible: t = !0 } = e;
|
|
301
301
|
return {
|
|
302
302
|
field: "row_radio",
|
|
@@ -345,28 +345,28 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
345
345
|
maximize: s,
|
|
346
346
|
componentType: c,
|
|
347
347
|
componentParams: p = {},
|
|
348
|
-
treeNode:
|
|
348
|
+
treeNode: d,
|
|
349
349
|
autoLoad: g,
|
|
350
350
|
resizable: h,
|
|
351
|
-
showOverflow:
|
|
351
|
+
showOverflow: f,
|
|
352
352
|
align: m,
|
|
353
353
|
type: w,
|
|
354
354
|
fixed: C,
|
|
355
|
-
width:
|
|
355
|
+
width: b
|
|
356
356
|
} = t;
|
|
357
357
|
return {
|
|
358
358
|
field: e,
|
|
359
359
|
title: n,
|
|
360
360
|
sortable: !1,
|
|
361
|
-
width: u(
|
|
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(f) ? f : "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(d) ? d : !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"), Qe = {
|
|
|
447
447
|
componentType: s,
|
|
448
448
|
componentParams: c,
|
|
449
449
|
maximize: p,
|
|
450
|
-
width:
|
|
450
|
+
width: d,
|
|
451
451
|
height: g,
|
|
452
452
|
auth: h,
|
|
453
|
-
autoLoad:
|
|
453
|
+
autoLoad: f
|
|
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"), Qe = {
|
|
|
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(f) ? f : !0,
|
|
468
|
+
width: u(d) ? d : null,
|
|
469
469
|
height: u(g) ? g : null,
|
|
470
470
|
auth: u(h) ? h : !0
|
|
471
471
|
};
|
|
@@ -513,8 +513,8 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
513
513
|
getItemSelectList: Gl,
|
|
514
514
|
getItemDate: Jl,
|
|
515
515
|
getItemPeriod: Zl,
|
|
516
|
-
getColumnsSeq:
|
|
517
|
-
getColumnsRadio:
|
|
516
|
+
getColumnsSeq: Kl,
|
|
517
|
+
getColumnsRadio: Ql,
|
|
518
518
|
getColumnsCheckbox: Xl,
|
|
519
519
|
getColumnsButton: er,
|
|
520
520
|
getColumnsOperate: Ea,
|
|
@@ -541,40 +541,40 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
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], d = 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 && d === c && p[n] === r[n])
|
|
548
548
|
return { rowspan: 0, colspan: 0 };
|
|
549
549
|
{
|
|
550
|
-
let
|
|
550
|
+
let f = 1;
|
|
551
551
|
for (; g && h === c && g[n] === r[n]; )
|
|
552
|
-
g = s[++
|
|
553
|
-
if (
|
|
554
|
-
return { rowspan:
|
|
552
|
+
g = s[++f + o];
|
|
553
|
+
if (f > 1)
|
|
554
|
+
return { rowspan: f, 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 d = 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 (; d && d[n] === r[n]; )
|
|
564
|
+
d = 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], d = s[o - 1], g = d && d[i.field] ? d[i.field] : "";
|
|
571
571
|
let h = s[o + 1];
|
|
572
|
-
const
|
|
573
|
-
if (
|
|
572
|
+
const f = h && h[i.field] ? h[i.field] : "";
|
|
573
|
+
if (d && g === c && d[p] === r[p])
|
|
574
574
|
return { rowspan: 0, colspan: 0 };
|
|
575
575
|
{
|
|
576
576
|
let m = 1;
|
|
577
|
-
for (; h &&
|
|
577
|
+
for (; h && f === 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"), Qe = {
|
|
|
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: d } = s;
|
|
600
|
+
o[c] = p ? p.join(",") : d ? d.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], d = [r, r, i, t, t, o][s];
|
|
692
|
+
return { r: c * 255, g: p * 255, b: d * 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 d = p.index, g = p.opacity, h = Ze(kr(Ee(n.backgroundColor || "#141414"), Ee(t[d]), g * 100));
|
|
1003
1003
|
return h;
|
|
1004
1004
|
}) : t;
|
|
1005
1005
|
}
|
|
@@ -1017,14 +1017,14 @@ var wt = {
|
|
|
1017
1017
|
purple: "#722ED1",
|
|
1018
1018
|
magenta: "#EB2F96",
|
|
1019
1019
|
grey: "#666666"
|
|
1020
|
-
},
|
|
1020
|
+
}, Qe = {}, _t = {};
|
|
1021
1021
|
Object.keys(wt).forEach(function(e) {
|
|
1022
|
-
|
|
1022
|
+
Qe[e] = Ct(wt[e]), Qe[e].primary = Qe[e][5], _t[e] = Ct(wt[e], {
|
|
1023
1023
|
theme: "dark",
|
|
1024
1024
|
backgroundColor: "#141414"
|
|
1025
1025
|
}), _t[e].primary = _t[e][5];
|
|
1026
1026
|
});
|
|
1027
|
-
var Tr =
|
|
1027
|
+
var Tr = Qe.blue, Ar = /* @__PURE__ */ Symbol("iconContext"), Ha = function() {
|
|
1028
1028
|
return de(Ar, {
|
|
1029
1029
|
prefixCls: j("anticon"),
|
|
1030
1030
|
rootClassName: j(""),
|
|
@@ -1193,14 +1193,14 @@ var Rr = `
|
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
1195
|
`;
|
|
1196
|
-
function
|
|
1196
|
+
function Ka(e) {
|
|
1197
1197
|
return e && e.getRootNode && e.getRootNode();
|
|
1198
1198
|
}
|
|
1199
1199
|
function Er(e) {
|
|
1200
|
-
return zt() ?
|
|
1200
|
+
return zt() ? Ka(e) instanceof ShadowRoot : !1;
|
|
1201
1201
|
}
|
|
1202
1202
|
function Lr(e) {
|
|
1203
|
-
return Er(e) ?
|
|
1203
|
+
return Er(e) ? Ka(e) : null;
|
|
1204
1204
|
}
|
|
1205
1205
|
var Ur = function() {
|
|
1206
1206
|
var n = Ha(), t = n.prefixCls, a = n.csp, l = _l(), r = Rr;
|
|
@@ -1258,7 +1258,7 @@ function Wr(e) {
|
|
|
1258
1258
|
function Gr() {
|
|
1259
1259
|
return Xe({}, Ue);
|
|
1260
1260
|
}
|
|
1261
|
-
var
|
|
1261
|
+
var $e = 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,24 +1276,24 @@ var je = function(n, t) {
|
|
|
1276
1276
|
"aria-hidden": "true"
|
|
1277
1277
|
}));
|
|
1278
1278
|
};
|
|
1279
|
-
|
|
1279
|
+
$e.props = {
|
|
1280
1280
|
icon: Object,
|
|
1281
1281
|
primaryColor: String,
|
|
1282
1282
|
secondaryColor: String,
|
|
1283
1283
|
focusable: String
|
|
1284
1284
|
};
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1285
|
+
$e.inheritAttrs = !1;
|
|
1286
|
+
$e.displayName = "IconBase";
|
|
1287
|
+
$e.getTwoToneColors = Gr;
|
|
1288
|
+
$e.setTwoToneColors = Wr;
|
|
1289
1289
|
function Jr(e, n) {
|
|
1290
|
-
return Xr(e) ||
|
|
1290
|
+
return Xr(e) || Qr(e, n) || Kr(e, n) || Zr();
|
|
1291
1291
|
}
|
|
1292
1292
|
function Zr() {
|
|
1293
1293
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1294
1294
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function Kr(e, n) {
|
|
1297
1297
|
if (e) {
|
|
1298
1298
|
if (typeof e == "string") return Dn(e, n);
|
|
1299
1299
|
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -1307,7 +1307,7 @@ function Dn(e, n) {
|
|
|
1307
1307
|
a[t] = e[t];
|
|
1308
1308
|
return a;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Qr(e, n) {
|
|
1311
1311
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1312
1312
|
if (t != null) {
|
|
1313
1313
|
var a = [], l = !0, r = !1, o, i;
|
|
@@ -1329,15 +1329,15 @@ function Kr(e, n) {
|
|
|
1329
1329
|
function Xr(e) {
|
|
1330
1330
|
if (Array.isArray(e)) return e;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function Qa(e) {
|
|
1333
1333
|
var n = Za(e), t = Jr(n, 2), a = t[0], l = t[1];
|
|
1334
|
-
return
|
|
1334
|
+
return $e.setTwoToneColors({
|
|
1335
1335
|
primaryColor: a,
|
|
1336
1336
|
secondaryColor: l
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
1339
|
function eo() {
|
|
1340
|
-
var e =
|
|
1340
|
+
var e = $e.getTwoToneColors();
|
|
1341
1341
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
1342
1342
|
}
|
|
1343
1343
|
var to = W({
|
|
@@ -1422,11 +1422,11 @@ function uo(e, n) {
|
|
|
1422
1422
|
l = a[r], !(n.indexOf(l) >= 0) && (t[l] = e[l]);
|
|
1423
1423
|
return t;
|
|
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 &&
|
|
1429
|
-
var
|
|
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, d = l.onClick, g = so(l, no), h = Ha(), f = h.prefixCls, m = h.rootClassName, w = (a = {}, Le(a, m.value, !!m.value), Le(a, f.value, !0), Le(a, "".concat(f.value, "-").concat(o.name), !!o.name), Le(a, "".concat(f.value, "-spin"), !!i || o.name === "loading"), a), C = c;
|
|
1428
|
+
C === void 0 && d && (C = -1);
|
|
1429
|
+
var b = s ? {
|
|
1430
1430
|
msTransform: "rotate(".concat(s, "deg)"),
|
|
1431
1431
|
transform: "rotate(".concat(s, "deg)")
|
|
1432
1432
|
} : void 0, y = Za(p), v = ao(y, 2), _ = v[0], z = v[1];
|
|
@@ -1434,14 +1434,14 @@ var Z = function(n, t) {
|
|
|
1434
1434
|
role: "img",
|
|
1435
1435
|
"aria-label": o.name
|
|
1436
1436
|
}, g, {
|
|
1437
|
-
onClick:
|
|
1437
|
+
onClick: d,
|
|
1438
1438
|
class: [w, r],
|
|
1439
1439
|
tabindex: C
|
|
1440
|
-
}), [D(
|
|
1440
|
+
}), [D($e, {
|
|
1441
1441
|
icon: o,
|
|
1442
1442
|
primaryColor: _,
|
|
1443
1443
|
secondaryColor: z,
|
|
1444
|
-
style:
|
|
1444
|
+
style: b
|
|
1445
1445
|
}, null), D(to, null, null)]);
|
|
1446
1446
|
};
|
|
1447
1447
|
Z.props = {
|
|
@@ -1453,7 +1453,7 @@ Z.props = {
|
|
|
1453
1453
|
Z.displayName = "AntdIcon";
|
|
1454
1454
|
Z.inheritAttrs = !1;
|
|
1455
1455
|
Z.getTwoToneColor = eo;
|
|
1456
|
-
Z.setTwoToneColor =
|
|
1456
|
+
Z.setTwoToneColor = Qa;
|
|
1457
1457
|
var co = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z" } }] }, name: "audit", theme: "outlined" };
|
|
1458
1458
|
function Rn(e) {
|
|
1459
1459
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -1731,7 +1731,7 @@ var Ht = function(n, t) {
|
|
|
1731
1731
|
Ht.displayName = "FormOutlined";
|
|
1732
1732
|
Ht.inheritAttrs = !1;
|
|
1733
1733
|
var qo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, name: "info-circle", theme: "outlined" };
|
|
1734
|
-
function
|
|
1734
|
+
function Kn(e) {
|
|
1735
1735
|
for (var n = 1; n < arguments.length; n++) {
|
|
1736
1736
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(t);
|
|
1737
1737
|
typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(t).filter(function(l) {
|
|
@@ -1746,15 +1746,15 @@ function Do(e, n, t) {
|
|
|
1746
1746
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1747
1747
|
}
|
|
1748
1748
|
var Yt = function(n, t) {
|
|
1749
|
-
var a =
|
|
1750
|
-
return D(Z,
|
|
1749
|
+
var a = Kn({}, n, t.attrs);
|
|
1750
|
+
return D(Z, Kn({}, a, {
|
|
1751
1751
|
icon: qo
|
|
1752
1752
|
}), null);
|
|
1753
1753
|
};
|
|
1754
1754
|
Yt.displayName = "InfoCircleOutlined";
|
|
1755
1755
|
Yt.inheritAttrs = !1;
|
|
1756
1756
|
var Bo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" } }] }, name: "menu", theme: "outlined" };
|
|
1757
|
-
function
|
|
1757
|
+
function Qn(e) {
|
|
1758
1758
|
for (var n = 1; n < arguments.length; n++) {
|
|
1759
1759
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(t);
|
|
1760
1760
|
typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(t).filter(function(l) {
|
|
@@ -1769,8 +1769,8 @@ function No(e, n, t) {
|
|
|
1769
1769
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1770
1770
|
}
|
|
1771
1771
|
var Wt = function(n, t) {
|
|
1772
|
-
var a =
|
|
1773
|
-
return D(Z,
|
|
1772
|
+
var a = Qn({}, n, t.attrs);
|
|
1773
|
+
return D(Z, Qn({}, a, {
|
|
1774
1774
|
icon: Bo
|
|
1775
1775
|
}), null);
|
|
1776
1776
|
};
|
|
@@ -1860,14 +1860,14 @@ function na(e) {
|
|
|
1860
1860
|
function Yo(e, n, t) {
|
|
1861
1861
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1862
1862
|
}
|
|
1863
|
-
var
|
|
1863
|
+
var Kt = function(n, t) {
|
|
1864
1864
|
var a = na({}, n, t.attrs);
|
|
1865
1865
|
return D(Z, na({}, a, {
|
|
1866
1866
|
icon: Ho
|
|
1867
1867
|
}), null);
|
|
1868
1868
|
};
|
|
1869
|
-
|
|
1870
|
-
|
|
1869
|
+
Kt.displayName = "RedoOutlined";
|
|
1870
|
+
Kt.inheritAttrs = !1;
|
|
1871
1871
|
var Wo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" } }] }, name: "save", theme: "outlined" };
|
|
1872
1872
|
function aa(e) {
|
|
1873
1873
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -1883,14 +1883,14 @@ function aa(e) {
|
|
|
1883
1883
|
function Go(e, n, t) {
|
|
1884
1884
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1885
1885
|
}
|
|
1886
|
-
var
|
|
1886
|
+
var Qt = function(n, t) {
|
|
1887
1887
|
var a = aa({}, n, t.attrs);
|
|
1888
1888
|
return D(Z, aa({}, a, {
|
|
1889
1889
|
icon: Wo
|
|
1890
1890
|
}), null);
|
|
1891
1891
|
};
|
|
1892
|
-
|
|
1893
|
-
|
|
1892
|
+
Qt.displayName = "SaveOutlined";
|
|
1893
|
+
Qt.inheritAttrs = !1;
|
|
1894
1894
|
var Jo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 224H768v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H548v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H328v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56H96c-17.7 0-32 14.3-32 32v576c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32zm-40 568H136V296h120v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h148v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56h120v496zM416 496H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 136H232c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm308.2-177.4L620.6 598.3l-52.8-73.1c-3-4.2-7.8-6.6-12.9-6.6H500c-6.5 0-10.3 7.4-6.5 12.7l114.1 158.2a15.9 15.9 0 0025.8 0l165-228.7c3.8-5.3 0-12.7-6.5-12.7H737c-5-.1-9.8 2.4-12.8 6.5z" } }] }, name: "schedule", theme: "outlined" };
|
|
1895
1895
|
function la(e) {
|
|
1896
1896
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -1914,25 +1914,25 @@ var Xt = function(n, t) {
|
|
|
1914
1914
|
};
|
|
1915
1915
|
Xt.displayName = "ScheduleOutlined";
|
|
1916
1916
|
Xt.inheritAttrs = !1;
|
|
1917
|
-
var
|
|
1917
|
+
var Ko = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" } }] }, name: "setting", theme: "outlined" };
|
|
1918
1918
|
function ra(e) {
|
|
1919
1919
|
for (var n = 1; n < arguments.length; n++) {
|
|
1920
1920
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, a = Object.keys(t);
|
|
1921
1921
|
typeof Object.getOwnPropertySymbols == "function" && (a = a.concat(Object.getOwnPropertySymbols(t).filter(function(l) {
|
|
1922
1922
|
return Object.getOwnPropertyDescriptor(t, l).enumerable;
|
|
1923
1923
|
}))), a.forEach(function(l) {
|
|
1924
|
-
|
|
1924
|
+
Qo(e, l, t[l]);
|
|
1925
1925
|
});
|
|
1926
1926
|
}
|
|
1927
1927
|
return e;
|
|
1928
1928
|
}
|
|
1929
|
-
function
|
|
1929
|
+
function Qo(e, n, t) {
|
|
1930
1930
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1931
1931
|
}
|
|
1932
1932
|
var en = function(n, t) {
|
|
1933
1933
|
var a = ra({}, n, t.attrs);
|
|
1934
1934
|
return D(Z, ra({}, a, {
|
|
1935
|
-
icon:
|
|
1935
|
+
icon: Ko
|
|
1936
1936
|
}), null);
|
|
1937
1937
|
};
|
|
1938
1938
|
en.displayName = "SettingOutlined";
|
|
@@ -2061,7 +2061,7 @@ const ii = (e) => {
|
|
|
2061
2061
|
onCancel() {
|
|
2062
2062
|
}
|
|
2063
2063
|
});
|
|
2064
|
-
},
|
|
2064
|
+
}, K = (e, n) => e != null && e !== "" ? e : n, si = (e, n, t) => {
|
|
2065
2065
|
e ? Ot.success({
|
|
2066
2066
|
message: "操作成功",
|
|
2067
2067
|
description: n && n !== "操作成功" ? n : ""
|
|
@@ -2078,7 +2078,7 @@ const ii = (e) => {
|
|
|
2078
2078
|
message: "操作提示",
|
|
2079
2079
|
description: e
|
|
2080
2080
|
});
|
|
2081
|
-
},
|
|
2081
|
+
}, je = (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,45 +2127,45 @@ 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 (f) => {
|
|
2131
|
+
if (!u(f.requestType) || typeof f.requestType == "string")
|
|
2132
|
+
if (f.requestType === "custom") {
|
|
2133
|
+
const m = await h(f);
|
|
2134
|
+
if (f.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: f, data: m });
|
|
2137
2137
|
} else
|
|
2138
|
-
|
|
2138
|
+
d(r, f);
|
|
2139
2139
|
else {
|
|
2140
|
-
const m = await h(
|
|
2141
|
-
if (
|
|
2140
|
+
const m = await h(f);
|
|
2141
|
+
if (f.requestRow && !u(m))
|
|
2142
2142
|
return;
|
|
2143
|
-
|
|
2143
|
+
f.requestType({ gridRef: n, gridOptions: a, formData: r, item: f, data: m });
|
|
2144
2144
|
}
|
|
2145
|
-
}, s = (
|
|
2146
|
-
!u(
|
|
2147
|
-
}, c = (
|
|
2145
|
+
}, s = (f, m) => {
|
|
2146
|
+
!u(f.requestType) || typeof f.requestType == "string" ? f.requestType === "custom" ? l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, item: f, row: m }) : g(f, m) : f.requestType({ gridRef: n, gridOptions: a, formData: r, item: f, row: m });
|
|
2147
|
+
}, c = (f, 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 = (
|
|
2151
|
-
if (t.title =
|
|
2149
|
+
!u(w) || typeof w == "string" ? w === "custom" ? l.onButtonClickModule({ $gridRef: n.value, gridOptions: a, formData: r, column: m, row: f }) : p(f, m) : w({ gridRef: n, gridOptions: a, formData: r, column: m, row: f });
|
|
2150
|
+
}, p = (f, m) => {
|
|
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 f)
|
|
2154
|
+
w = w.replace("{" + C + "}", f[C]);
|
|
2155
2155
|
t.componentUrl = w;
|
|
2156
2156
|
} else
|
|
2157
|
-
|
|
2158
|
-
t.componentParams =
|
|
2159
|
-
},
|
|
2157
|
+
f[T.buttonKeyName] = m.params;
|
|
2158
|
+
t.componentParams = f, t.visible = !0;
|
|
2159
|
+
}, d = async (f, m) => {
|
|
2160
2160
|
if (n.value) {
|
|
2161
2161
|
const C = await h(m);
|
|
2162
2162
|
if (m.requestRow && !u(C))
|
|
2163
2163
|
return;
|
|
2164
2164
|
if (m.requestType === "modal" || m.requestType === "open") {
|
|
2165
|
-
let
|
|
2166
|
-
const y =
|
|
2167
|
-
if ((y === "iframe" || m.requestType === "open") && (
|
|
2168
|
-
const v = ui(
|
|
2165
|
+
let b = m.requestUrl;
|
|
2166
|
+
const y = K(m.componentType, o.componentType);
|
|
2167
|
+
if ((y === "iframe" || m.requestType === "open") && (b = te(l.ctxPath, b), m.requestRow && b.split("?").length > 1)) {
|
|
2168
|
+
const v = ui(b.split("?")[1]);
|
|
2169
2169
|
for (const _ in v) {
|
|
2170
2170
|
const z = v[_];
|
|
2171
2171
|
if (a.checkboxConfig) {
|
|
@@ -2176,13 +2176,13 @@ function ci(e) {
|
|
|
2176
2176
|
let I = "";
|
|
2177
2177
|
for (const L in H)
|
|
2178
2178
|
I = (I ? I + "," : "") + L;
|
|
2179
|
-
|
|
2179
|
+
b = b.replace("{" + z + "}", I);
|
|
2180
2180
|
} else
|
|
2181
|
-
|
|
2181
|
+
b = b.replace("{" + z + "}", C[z]);
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
if (m.requestType === "modal") {
|
|
2185
|
-
if (t.title =
|
|
2185
|
+
if (t.title = K(m.title, o.title), t.width = K(m.width, o.width), t.height = K(m.height, o.height), t.maximize = K(m.maximize, !1), t.autoLoad = K(m.autoLoad, !0), t.componentType = y, t.componentUrl = b, t.componentParams = {}, m.requestRow)
|
|
2186
2186
|
if (a.checkboxConfig)
|
|
2187
2187
|
if (m.requestRadio)
|
|
2188
2188
|
C[0][T.buttonKeyName] = m, t.componentParams = C[0];
|
|
@@ -2196,71 +2196,71 @@ function ci(e) {
|
|
|
2196
2196
|
t.componentParams[T.buttonKeyName] = m;
|
|
2197
2197
|
t.visible = !0;
|
|
2198
2198
|
} else
|
|
2199
|
-
window.open(
|
|
2199
|
+
window.open(b, "_blank");
|
|
2200
2200
|
} else
|
|
2201
2201
|
ot(
|
|
2202
2202
|
m.requestTitle,
|
|
2203
2203
|
() => {
|
|
2204
|
-
let
|
|
2205
|
-
if (
|
|
2204
|
+
let b = te(l.ctxPath, m.requestUrl);
|
|
2205
|
+
if (b.split("?").length > 1) {
|
|
2206
2206
|
if (a.radioConfig)
|
|
2207
2207
|
for (const y in C)
|
|
2208
|
-
|
|
2208
|
+
b = b.replace("{" + y + "}", C[y]);
|
|
2209
2209
|
else if (a.checkboxConfig && m.requestRadio)
|
|
2210
2210
|
for (const y in C[0])
|
|
2211
|
-
|
|
2211
|
+
b = b.replace("{" + y + "}", C[0][y]);
|
|
2212
2212
|
}
|
|
2213
2213
|
ca(
|
|
2214
2214
|
n,
|
|
2215
2215
|
a,
|
|
2216
|
-
|
|
2217
|
-
m.requestRow ? C :
|
|
2216
|
+
b,
|
|
2217
|
+
m.requestRow ? C : f,
|
|
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 =
|
|
2228
|
-
let
|
|
2224
|
+
}, g = (f, m) => {
|
|
2225
|
+
if (f.requestType === "modal" || f.requestType === "open") {
|
|
2226
|
+
let w = f.requestUrl;
|
|
2227
|
+
const C = K(f.componentType, o.componentType);
|
|
2228
|
+
let b = !1;
|
|
2229
2229
|
if (C === "iframe")
|
|
2230
2230
|
if (w = te(l.ctxPath, w), w.split("?").length > 1)
|
|
2231
2231
|
for (const y in m) {
|
|
2232
|
-
if (w.indexOf("{" + y + "}") > -1 && (
|
|
2232
|
+
if (w.indexOf("{" + y + "}") > -1 && (b = !0, m[y] === "")) {
|
|
2233
2233
|
De("该单据没有相应数据,无法进行本次操作");
|
|
2234
2234
|
return;
|
|
2235
2235
|
}
|
|
2236
2236
|
w = w.replace("{" + y + "}", m[y]);
|
|
2237
2237
|
}
|
|
2238
2238
|
else
|
|
2239
|
-
|
|
2239
|
+
b = !0;
|
|
2240
2240
|
else
|
|
2241
|
-
|
|
2242
|
-
if (
|
|
2243
|
-
|
|
2241
|
+
b = !0;
|
|
2242
|
+
if (b)
|
|
2243
|
+
f.requestType === "modal" ? (m[T.buttonKeyName] = f, t.title = K(f.title, o.title), t.width = K(f.width, o.width), t.height = K(f.height, o.height), t.maximize = K(f.maximize, !1), t.autoLoad = K(f.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
|
+
f.requestTitle,
|
|
2251
2251
|
() => {
|
|
2252
|
-
let w = te(l.ctxPath,
|
|
2252
|
+
let w = te(l.ctxPath, f.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
|
+
f.requestConfirmContent
|
|
2258
2258
|
);
|
|
2259
|
-
}, h = async (
|
|
2260
|
-
if (
|
|
2259
|
+
}, h = async (f) => {
|
|
2260
|
+
if (f.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 = "请至少选择一行数据" : f.requestRadio && m.length !== 1 && (w = "请只选择一条数据") : a.radioConfig ? m || (w = "请选择一行数据") : w = "请设置表格【rowType】类型参数", w) {
|
|
2264
2264
|
De(w);
|
|
2265
2265
|
return;
|
|
2266
2266
|
}
|
|
@@ -2286,20 +2286,20 @@ function di(e) {
|
|
|
2286
2286
|
pageOptions: s,
|
|
2287
2287
|
pageTable: c,
|
|
2288
2288
|
pageTableMerge: p,
|
|
2289
|
-
pageRequest:
|
|
2289
|
+
pageRequest: d
|
|
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
|
|
2297
|
-
if (u(
|
|
2296
|
+
let b = d.requestDownload;
|
|
2297
|
+
if (u(b)) {
|
|
2298
2298
|
if (l.loading) {
|
|
2299
2299
|
De("正在导出中,请不要重复点击!");
|
|
2300
2300
|
return;
|
|
2301
2301
|
}
|
|
2302
|
-
if (p.isMerge && typeof
|
|
2302
|
+
if (p.isMerge && typeof b != "object") {
|
|
2303
2303
|
De("合并列模式请设置requestDownload参数为表格列格式");
|
|
2304
2304
|
return;
|
|
2305
2305
|
}
|
|
@@ -2320,14 +2320,14 @@ function di(e) {
|
|
|
2320
2320
|
currentPage: 1,
|
|
2321
2321
|
pageSize: 25e3
|
|
2322
2322
|
}, H, _, z, t, o);
|
|
2323
|
-
if (typeof
|
|
2324
|
-
|
|
2323
|
+
if (typeof b == "string") {
|
|
2324
|
+
b = te(s.ctxPath, d.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
|
-
}), le("导出表格参数", [
|
|
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, d.requestData, !0).then(async (G) => {
|
|
2331
2331
|
if (G == null || G.rows.length == 0) {
|
|
2332
2332
|
l.loading = !1;
|
|
2333
2333
|
return;
|
|
@@ -2342,7 +2342,7 @@ function di(e) {
|
|
|
2342
2342
|
filename: s.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2343
2343
|
sheetName: s.templateTitle,
|
|
2344
2344
|
data: G.rows,
|
|
2345
|
-
columns: u(l.params.exportColumns) ? l.params.exportColumns :
|
|
2345
|
+
columns: u(l.params.exportColumns) ? l.params.exportColumns : b,
|
|
2346
2346
|
mergeCells: i(G.rows)
|
|
2347
2347
|
};
|
|
2348
2348
|
m(N), l.loading = !1;
|
|
@@ -2375,20 +2375,20 @@ 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, d.requestImport),
|
|
2379
2379
|
s.templateTitle + "导入",
|
|
2380
2380
|
!1,
|
|
2381
2381
|
!1
|
|
2382
|
-
) : window.open(te(s.ctxPath,
|
|
2382
|
+
) : window.open(te(s.ctxPath, d.requestImport), "_blank");
|
|
2383
2383
|
},
|
|
2384
2384
|
switchColumsEvent: (m, w = !1) => {
|
|
2385
2385
|
if (u(c.tableColumnsExtra)) {
|
|
2386
|
-
const C = c.tableColumns,
|
|
2386
|
+
const C = c.tableColumns, b = c.tableColumnsExtra;
|
|
2387
2387
|
if (w) {
|
|
2388
2388
|
const y = Dl(m, s.templateType);
|
|
2389
|
-
u(y) ? (l.params.switchType = y.switchType, l.columns = y.switchType === "1" ? C :
|
|
2389
|
+
u(y) ? (l.params.switchType = y.switchType, l.columns = y.switchType === "1" ? C : b, l.showOverflow = y.switchShowOverflow) : (l.params.switchType = "1", l.columns = C, l.showOverflow = K(c.showOverflow, !0));
|
|
2390
2390
|
} else
|
|
2391
|
-
l.params.switchType = l.params.switchType === "1" ? "2" : "1", l.columns = l.params.switchType === "2" ?
|
|
2391
|
+
l.params.switchType = l.params.switchType === "1" ? "2" : "1", l.columns = l.params.switchType === "2" ? b : C, l.showOverflow = !l.showOverflow, ql(m, s.templateType, {
|
|
2392
2392
|
switchType: l.params.switchType,
|
|
2393
2393
|
switchShowOverflow: l.showOverflow
|
|
2394
2394
|
});
|
|
@@ -2400,7 +2400,7 @@ function di(e) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
};
|
|
2402
2402
|
}
|
|
2403
|
-
const
|
|
2403
|
+
const ze = /* @__PURE__ */ W({
|
|
2404
2404
|
__name: "AntdOutlind",
|
|
2405
2405
|
props: {
|
|
2406
2406
|
icon: { type: String, default: null }
|
|
@@ -2408,30 +2408,30 @@ const $e = /* @__PURE__ */ W({
|
|
|
2408
2408
|
setup(e) {
|
|
2409
2409
|
const n = e;
|
|
2410
2410
|
return (t, a) => (x(), U(fe, null, [
|
|
2411
|
-
n.icon === "user" ? (x(), V(
|
|
2412
|
-
n.icon === "excel" ? (x(), V(
|
|
2413
|
-
n.icon === "download" ? (x(), V(
|
|
2414
|
-
n.icon === "save" ? (x(), V(
|
|
2415
|
-
n.icon === "edit" ? (x(), V(
|
|
2416
|
-
n.icon === "delete" ? (x(), V(
|
|
2417
|
-
n.icon === "down" ? (x(), V(
|
|
2418
|
-
n.icon === "up" ? (x(), V(
|
|
2419
|
-
n.icon === "undo" ? (x(), V(
|
|
2420
|
-
n.icon === "redo" ? (x(), V(
|
|
2421
|
-
n.icon === "copy" ? (x(), V(
|
|
2422
|
-
n.icon === "print" ? (x(), V(
|
|
2423
|
-
n.icon === "plus" ? (x(), V(
|
|
2424
|
-
n.icon === "minus" ? (x(), V(
|
|
2425
|
-
n.icon === "info" ? (x(), V(
|
|
2426
|
-
n.icon === "audit" ? (x(), V(
|
|
2427
|
-
n.icon === "schedule" ? (x(), V(
|
|
2428
|
-
n.icon === "close" ? (x(), V(
|
|
2429
|
-
n.icon === "stop" ? (x(), V(
|
|
2430
|
-
n.icon === "check" ? (x(), V(
|
|
2431
|
-
n.icon === "setting" ? (x(), V(
|
|
2432
|
-
n.icon === "menu" ? (x(), V(
|
|
2433
|
-
n.icon === "pdf" ? (x(), V(
|
|
2434
|
-
!n.icon || n.icon === "" ? (x(), V(
|
|
2411
|
+
n.icon === "user" ? (x(), V(S(ln), { key: 0 })) : q("", !0),
|
|
2412
|
+
n.icon === "excel" ? (x(), V(S(It), { key: 1 })) : q("", !0),
|
|
2413
|
+
n.icon === "download" ? (x(), V(S(Et), { key: 2 })) : q("", !0),
|
|
2414
|
+
n.icon === "save" ? (x(), V(S(Qt), { key: 3 })) : q("", !0),
|
|
2415
|
+
n.icon === "edit" ? (x(), V(S(Lt), { key: 4 })) : q("", !0),
|
|
2416
|
+
n.icon === "delete" ? (x(), V(S(Rt), { key: 5 })) : q("", !0),
|
|
2417
|
+
n.icon === "down" ? (x(), V(S(ft), { key: 6 })) : q("", !0),
|
|
2418
|
+
n.icon === "up" ? (x(), V(S(an), { key: 7 })) : q("", !0),
|
|
2419
|
+
n.icon === "undo" ? (x(), V(S(nn), { key: 8 })) : q("", !0),
|
|
2420
|
+
n.icon === "redo" ? (x(), V(S(Kt), { key: 9 })) : q("", !0),
|
|
2421
|
+
n.icon === "copy" ? (x(), V(S(Nt), { key: 10 })) : q("", !0),
|
|
2422
|
+
n.icon === "print" ? (x(), V(S(Zt), { key: 11 })) : q("", !0),
|
|
2423
|
+
n.icon === "plus" ? (x(), V(S(Jt), { key: 12 })) : q("", !0),
|
|
2424
|
+
n.icon === "minus" ? (x(), V(S(Gt), { key: 13 })) : q("", !0),
|
|
2425
|
+
n.icon === "info" ? (x(), V(S(Yt), { key: 14 })) : q("", !0),
|
|
2426
|
+
n.icon === "audit" ? (x(), V(S(qt), { key: 15 })) : q("", !0),
|
|
2427
|
+
n.icon === "schedule" ? (x(), V(S(Xt), { key: 16 })) : q("", !0),
|
|
2428
|
+
n.icon === "close" ? (x(), V(S(Bt), { key: 17 })) : q("", !0),
|
|
2429
|
+
n.icon === "stop" ? (x(), V(S(tn), { key: 18 })) : q("", !0),
|
|
2430
|
+
n.icon === "check" ? (x(), V(S(Dt), { key: 19 })) : q("", !0),
|
|
2431
|
+
n.icon === "setting" ? (x(), V(S(en), { key: 20 })) : q("", !0),
|
|
2432
|
+
n.icon === "menu" ? (x(), V(S(Wt), { key: 21 })) : q("", !0),
|
|
2433
|
+
n.icon === "pdf" ? (x(), V(S(Ft), { key: 22 })) : q("", !0),
|
|
2434
|
+
!n.icon || n.icon === "" ? (x(), V(S(Ht), { key: 23 })) : q("", !0)
|
|
2435
2435
|
], 64));
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
@@ -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(d) {
|
|
2541
|
+
return d && (d.indexOf ? d : d.s);
|
|
2542
|
+
}, i = function(d, g, h, f, m) {
|
|
2543
|
+
var w = d.name ? d : d.$locale(), C = o(w[g]), b = o(w[h]), y = C || b.map((function(_) {
|
|
2544
|
+
return _.slice(0, f);
|
|
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(d, g) {
|
|
2554
|
+
return d.formats[g] || (function(h) {
|
|
2555
|
+
return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(f, m, w) {
|
|
2556
2556
|
return m || w.slice(1);
|
|
2557
2557
|
}));
|
|
2558
|
-
})(
|
|
2558
|
+
})(d.formats[g.toUpperCase()]);
|
|
2559
2559
|
}, p = function() {
|
|
2560
|
-
var
|
|
2560
|
+
var d = this;
|
|
2561
2561
|
return { months: function(g) {
|
|
2562
|
-
return g ? g.format("MMMM") : i(
|
|
2562
|
+
return g ? g.format("MMMM") : i(d, "months");
|
|
2563
2563
|
}, monthsShort: function(g) {
|
|
2564
|
-
return g ? g.format("MMM") : i(
|
|
2564
|
+
return g ? g.format("MMM") : i(d, "monthsShort", "months", 3);
|
|
2565
2565
|
}, firstDayOfWeek: function() {
|
|
2566
|
-
return
|
|
2566
|
+
return d.$locale().weekStart || 0;
|
|
2567
2567
|
}, weekdays: function(g) {
|
|
2568
|
-
return g ? g.format("dddd") : i(
|
|
2568
|
+
return g ? g.format("dddd") : i(d, "weekdays");
|
|
2569
2569
|
}, weekdaysMin: function(g) {
|
|
2570
|
-
return g ? g.format("dd") : i(
|
|
2570
|
+
return g ? g.format("dd") : i(d, "weekdaysMin", "weekdays", 2);
|
|
2571
2571
|
}, weekdaysShort: function(g) {
|
|
2572
|
-
return g ? g.format("ddd") : i(
|
|
2572
|
+
return g ? g.format("ddd") : i(d, "weekdaysShort", "weekdays", 3);
|
|
2573
2573
|
}, longDateFormat: function(g) {
|
|
2574
|
-
return c(
|
|
2574
|
+
return c(d.$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 d = s();
|
|
2581
2581
|
return { firstDayOfWeek: function() {
|
|
2582
|
-
return
|
|
2582
|
+
return d.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(d, g);
|
|
2595
|
+
}, meridiem: d.meridiem, ordinal: d.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(d) {
|
|
2601
|
+
return i(s(), "weekdays", null, null, d);
|
|
2602
|
+
}, l.weekdaysShort = function(d) {
|
|
2603
|
+
return i(s(), "weekdaysShort", "weekdays", 3, d);
|
|
2604
|
+
}, l.weekdaysMin = function(d) {
|
|
2605
|
+
return i(s(), "weekdaysMin", "weekdays", 2, d);
|
|
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 = je(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
|
+
], d = [
|
|
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" ? d : p), f = t, m = (v, _) => {
|
|
2663
|
+
le("日期区间选值", _), _ && _[0] == "" && _[1] == "" ? f("update:value", null) : f("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,29 +2669,29 @@ 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],
|
|
2673
|
-
},
|
|
2672
|
+
] : c.value = [u(_) ? A(_) : null, u(z) ? A(z) : null], f("update:value", w());
|
|
2673
|
+
}, b = () => {
|
|
2674
2674
|
u(a.defaultValue) ? C([a.defaultValue, null]) : C(null);
|
|
2675
2675
|
}, y = () => "dateRange";
|
|
2676
2676
|
return oe(() => {
|
|
2677
|
-
|
|
2677
|
+
b();
|
|
2678
2678
|
}), n({
|
|
2679
2679
|
setValue: C,
|
|
2680
2680
|
getValue: w,
|
|
2681
|
-
resetValue:
|
|
2681
|
+
resetValue: b,
|
|
2682
2682
|
getRefType: y
|
|
2683
2683
|
}), (v, _) => {
|
|
2684
2684
|
const z = E("a-range-picker");
|
|
2685
2685
|
return x(), V(z, {
|
|
2686
|
-
value:
|
|
2686
|
+
value: S(c),
|
|
2687
2687
|
"onUpdate:value": _[0] || (_[0] = (H) => st(c) ? c.value = H : c = H),
|
|
2688
2688
|
onChange: m,
|
|
2689
2689
|
presets: h.value,
|
|
2690
|
-
locale:
|
|
2690
|
+
locale: S(Fe),
|
|
2691
2691
|
allowEmpty: [!0, !0],
|
|
2692
|
-
format:
|
|
2693
|
-
picker:
|
|
2694
|
-
size:
|
|
2692
|
+
format: S(o),
|
|
2693
|
+
picker: S(l),
|
|
2694
|
+
size: S(s),
|
|
2695
2695
|
style: { width: "100%" }
|
|
2696
2696
|
}, null, 8, ["value", "presets", "locale", "format", "picker", "size"]);
|
|
2697
2697
|
};
|
|
@@ -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 = je(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 = (f, 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
|
+
}, d = () => {
|
|
2720
|
+
let f = null;
|
|
2721
|
+
return c.value && (f = A(c.value).format(i)), f || null;
|
|
2722
|
+
}, g = (f) => {
|
|
2723
|
+
typeof f == "number" ? c.value = u(f) ? A().add(f, o) : null : c.value = u(f) ? A(f) : null, s("update:value", d());
|
|
2724
2724
|
}, h = () => {
|
|
2725
2725
|
u(a.defaultValue) ? g(a.defaultValue) : g(null);
|
|
2726
2726
|
};
|
|
@@ -2728,18 +2728,18 @@ 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: d,
|
|
2732
2732
|
resetValue: h
|
|
2733
|
-
}), (
|
|
2733
|
+
}), (f, m) => {
|
|
2734
2734
|
const w = E("a-date-picker");
|
|
2735
2735
|
return x(), V(w, {
|
|
2736
|
-
value:
|
|
2736
|
+
value: S(c),
|
|
2737
2737
|
"onUpdate:value": m[0] || (m[0] = (C) => st(c) ? c.value = C : c = C),
|
|
2738
2738
|
onChange: p,
|
|
2739
|
-
locale:
|
|
2740
|
-
format:
|
|
2741
|
-
picker:
|
|
2742
|
-
size:
|
|
2739
|
+
locale: S(Fe),
|
|
2740
|
+
format: S(i),
|
|
2741
|
+
picker: S(o),
|
|
2742
|
+
size: S(r),
|
|
2743
2743
|
allowClear: a.clearable,
|
|
2744
2744
|
style: { width: "100%" }
|
|
2745
2745
|
}, null, 8, ["value", "locale", "format", "picker", "size", "allowClear"]);
|
|
@@ -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 = je(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,16 +2772,16 @@ 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, f) => {
|
|
2776
2776
|
const m = E("a-input");
|
|
2777
2777
|
return x(), V(m, {
|
|
2778
2778
|
value: o.value,
|
|
2779
|
-
"onUpdate:value":
|
|
2780
|
-
placeholder:
|
|
2779
|
+
"onUpdate:value": f[0] || (f[0] = (w) => o.value = w),
|
|
2780
|
+
placeholder: S(i),
|
|
2781
2781
|
disabled: a.disabled,
|
|
2782
2782
|
type: a.inputType,
|
|
2783
2783
|
onChange: c,
|
|
2784
|
-
size:
|
|
2784
|
+
size: S(r),
|
|
2785
2785
|
style: { width: "100%" }
|
|
2786
2786
|
}, null, 8, ["value", "placeholder", "disabled", "type", "size"]);
|
|
2787
2787
|
};
|
|
@@ -2802,13 +2802,13 @@ 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 =
|
|
2806
|
-
let
|
|
2807
|
-
return !
|
|
2808
|
-
}, h = (
|
|
2805
|
+
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = l?.requestDictUrl || "", s = je(l?.size), c = j(a.multiple ? [] : null), p = t, d = j([]), g = async () => {
|
|
2806
|
+
let b = a.request.requestUrl;
|
|
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, f = () => {
|
|
2809
2809
|
p("update:value", c.value);
|
|
2810
|
-
}, m = () => c.value, w = (
|
|
2811
|
-
c.value =
|
|
2810
|
+
}, m = () => c.value, w = (b) => {
|
|
2811
|
+
c.value = b, p("update:value", c.value);
|
|
2812
2812
|
};
|
|
2813
2813
|
return n({
|
|
2814
2814
|
getValue: m,
|
|
@@ -2817,27 +2817,27 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2817
2817
|
a.multiple ? w(a.defaultValue || []) : w(a.defaultValue || null);
|
|
2818
2818
|
}
|
|
2819
2819
|
}), oe(() => {
|
|
2820
|
-
p("update:value", c.value), g().then((
|
|
2821
|
-
|
|
2820
|
+
p("update:value", c.value), g().then((b) => {
|
|
2821
|
+
d.value = b;
|
|
2822
2822
|
});
|
|
2823
|
-
}), (
|
|
2823
|
+
}), (b, y) => {
|
|
2824
2824
|
const v = E("a-select");
|
|
2825
2825
|
return x(), U("div", Ti, [
|
|
2826
2826
|
D(v, {
|
|
2827
2827
|
value: c.value,
|
|
2828
2828
|
"onUpdate:value": y[0] || (y[0] = (_) => c.value = _),
|
|
2829
|
-
onChange:
|
|
2829
|
+
onChange: f,
|
|
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: d.value,
|
|
2835
2835
|
"show-search": a.filterable,
|
|
2836
2836
|
"filter-option": h,
|
|
2837
2837
|
defaultActiveFirstOption: !a.multiple,
|
|
2838
2838
|
autoClearSearchValue: !a.filterable,
|
|
2839
2839
|
disabled: a.disabled,
|
|
2840
|
-
size:
|
|
2840
|
+
size: S(s),
|
|
2841
2841
|
style: { width: "100%" }
|
|
2842
2842
|
}, null, 8, ["value", "allowClear", "mode", "max-tag-count", "options", "show-search", "defaultActiveFirstOption", "autoClearSearchValue", "disabled", "size"])
|
|
2843
2843
|
]);
|
|
@@ -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 = je(l?.size), i = "请输入" + a.title + "搜索", s = j(""), c = j(""), p = j([]), d = t, g = j(!1), h = async (v) => {
|
|
2866
2866
|
if (p.value = [], v) {
|
|
2867
2867
|
g.value = !0;
|
|
2868
2868
|
const _ = {
|
|
@@ -2874,25 +2874,25 @@ 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
|
+
}, f = At((v) => {
|
|
2878
2878
|
h(v).then((_) => {
|
|
2879
2879
|
p.value = _;
|
|
2880
2880
|
});
|
|
2881
2881
|
}, 500), m = (v) => {
|
|
2882
|
-
s.value = v,
|
|
2883
|
-
}, w = () => c.value, C = () => s.value,
|
|
2882
|
+
s.value = v, d("update:value", v);
|
|
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
|
+
}), d("update:value", v);
|
|
2889
2889
|
};
|
|
2890
2890
|
return n({
|
|
2891
2891
|
getName: w,
|
|
2892
2892
|
getValue: C,
|
|
2893
|
-
setValue:
|
|
2893
|
+
setValue: b,
|
|
2894
2894
|
resetValue: () => {
|
|
2895
|
-
|
|
2895
|
+
b(a.defaultValue, a.defaultName);
|
|
2896
2896
|
}
|
|
2897
2897
|
}), (v, _) => {
|
|
2898
2898
|
const z = E("a-spin"), H = E("a-select");
|
|
@@ -2904,11 +2904,11 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2904
2904
|
disabled: a.disabled,
|
|
2905
2905
|
"filter-option": !1,
|
|
2906
2906
|
options: p.value,
|
|
2907
|
-
size:
|
|
2907
|
+
size: S(o),
|
|
2908
2908
|
"default-active-first-option": !1,
|
|
2909
2909
|
"show-arrow": !1,
|
|
2910
2910
|
onChange: m,
|
|
2911
|
-
onSearch:
|
|
2911
|
+
onSearch: S(f),
|
|
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 = je(l?.size), i = "请输入" + a.title + "搜索", s = j(a.multiple ? [] : null), c = j(""), p = j([]), d = j([]), g = t, h = (v, _) => _.label.toLowerCase().indexOf(Pe(v).toLowerCase()) >= 0, f = async () => await Ne(te(r, a.requestUrl), a.requestParams), m = (v) => {
|
|
2947
2947
|
g("update:value", v);
|
|
2948
|
-
}, w = () => c.value, C = () => s.value,
|
|
2948
|
+
}, w = () => c.value, C = () => s.value, b = (v) => {
|
|
2949
2949
|
s.value = v, g("update:value", s.value);
|
|
2950
|
-
let _ =
|
|
2950
|
+
let _ = d.value.filter((z) => z.value === s.value);
|
|
2951
2951
|
if (a.multiple) {
|
|
2952
2952
|
let z = "";
|
|
2953
2953
|
_.forEach((H) => {
|
|
@@ -2959,12 +2959,12 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2959
2959
|
return n({
|
|
2960
2960
|
getName: w,
|
|
2961
2961
|
getValue: C,
|
|
2962
|
-
setValue:
|
|
2962
|
+
setValue: b,
|
|
2963
2963
|
resetValue: () => {
|
|
2964
|
-
a.multiple ?
|
|
2964
|
+
a.multiple ? b(a.defaultValue || []) : b(a.defaultValue || null);
|
|
2965
2965
|
}
|
|
2966
|
-
}),
|
|
2967
|
-
|
|
2966
|
+
}), f().then((v) => {
|
|
2967
|
+
d.value = v, p.value = v;
|
|
2968
2968
|
}), (v, _) => {
|
|
2969
2969
|
const z = E("a-select");
|
|
2970
2970
|
return x(), U("div", ji, [
|
|
@@ -2977,7 +2977,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2977
2977
|
defaultActiveFirstOption: !a.multiple,
|
|
2978
2978
|
"filter-option": h,
|
|
2979
2979
|
options: p.value,
|
|
2980
|
-
size:
|
|
2980
|
+
size: S(o),
|
|
2981
2981
|
onChange: m,
|
|
2982
2982
|
"allow-clear": "",
|
|
2983
2983
|
"show-search": "",
|
|
@@ -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 = je(l?.size), s = "请输入" + a.title + "搜索", c = a.fieldNames.label, p = a.fieldNames.value, d = j([]), g = j([]), h = async () => {
|
|
3013
3013
|
const _ = await Xa(
|
|
3014
3014
|
te(o, a.requestUrl),
|
|
3015
3015
|
a.requestParams,
|
|
@@ -3017,26 +3017,26 @@ 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
|
+
}, f = t, m = (_, z) => {
|
|
3021
|
+
u(z) ? (f("update:value", _[_.length - 1]), f("change", z[z.length - 1])) : (f("update:value", null), f("change", null));
|
|
3022
|
+
}, w = (_, z) => z.some((H) => H[c].indexOf(_) > -1), C = () => g.value.filter((z) => z[p] === d.value[d.value.length - 1])[c], b = () => d.value, y = (_) => {
|
|
3023
|
+
d.value = _, f("update:value", _);
|
|
3024
3024
|
}, v = () => {
|
|
3025
|
-
|
|
3025
|
+
d.value = null, f("update:value", null), f("change", null);
|
|
3026
3026
|
};
|
|
3027
3027
|
return oe(() => {
|
|
3028
3028
|
h();
|
|
3029
3029
|
}), n({
|
|
3030
3030
|
getName: C,
|
|
3031
|
-
getValue:
|
|
3031
|
+
getValue: b,
|
|
3032
3032
|
setValue: y,
|
|
3033
3033
|
resetValue: v
|
|
3034
3034
|
}), (_, z) => {
|
|
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: d.value,
|
|
3039
|
+
"onUpdate:value": z[0] || (z[0] = (I) => d.value = I),
|
|
3040
3040
|
options: g.value,
|
|
3041
3041
|
fieldNames: a.fieldNames,
|
|
3042
3042
|
"show-search": { filter: w },
|
|
@@ -3044,7 +3044,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3044
3044
|
clearable: a.clearable,
|
|
3045
3045
|
changeOnSelect: a.changeOnSelect,
|
|
3046
3046
|
placeholder: s,
|
|
3047
|
-
size:
|
|
3047
|
+
size: S(i),
|
|
3048
3048
|
onChange: m,
|
|
3049
3049
|
style: { width: "100%" }
|
|
3050
3050
|
}, null, 8, ["value", "options", "fieldNames", "show-search", "disabled", "clearable", "changeOnSelect", "size"])
|
|
@@ -3133,28 +3133,28 @@ 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
|
+
}, d = 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 = !d.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), d.value.fullScreen = C;
|
|
3143
|
+
}, f = "vue_iframe_" + Math.round(Math.random() * 1e8), m = j(), w = () => {
|
|
3144
|
+
console.log("iframe加载完毕", f), 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 && (
|
|
3150
|
-
}), (C,
|
|
3149
|
+
le("SagVxeDialog弹出参数", t), t.maximize && (d.value.fullScreen = !0);
|
|
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: d,
|
|
3156
3156
|
open: t.visible,
|
|
3157
|
-
"get-container":
|
|
3157
|
+
"get-container": S(l),
|
|
3158
3158
|
width: g.width,
|
|
3159
3159
|
"body-style": {
|
|
3160
3160
|
height: g.height,
|
|
@@ -3171,8 +3171,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3171
3171
|
"destroy-on-close": ""
|
|
3172
3172
|
}, {
|
|
3173
3173
|
title: B(() => [
|
|
3174
|
-
|
|
3175
|
-
|
|
3174
|
+
Q("span", Ui, ae(t.title), 1),
|
|
3175
|
+
Q("span", Ii, [
|
|
3176
3176
|
D(y, {
|
|
3177
3177
|
mode: "text",
|
|
3178
3178
|
icon: g.maxZoomIcon,
|
|
@@ -3181,7 +3181,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3181
3181
|
])
|
|
3182
3182
|
]),
|
|
3183
3183
|
default: B(() => [
|
|
3184
|
-
t.componentType === "vue" ? (x(), V(Cl(
|
|
3184
|
+
t.componentType === "vue" ? (x(), V(Cl(S(r)), ee({ key: 0 }, t.componentParams, {
|
|
3185
3185
|
onCancel: c,
|
|
3186
3186
|
onSubmit: p
|
|
3187
3187
|
}), null, 16)) : q("", !0),
|
|
@@ -3189,8 +3189,8 @@ 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:
|
|
3193
|
-
src:
|
|
3192
|
+
id: f,
|
|
3193
|
+
src: S(o),
|
|
3194
3194
|
onLoad: w,
|
|
3195
3195
|
style: { width: "100%", height: "100%", border: "0 none", display: "block" }
|
|
3196
3196
|
}, null, 40, Fi)) : q("", !0)
|
|
@@ -3213,7 +3213,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3213
3213
|
},
|
|
3214
3214
|
emits: ["update:value"],
|
|
3215
3215
|
setup(e, { expose: n, emit: t }) {
|
|
3216
|
-
const a = e, l = de(ve), r = j(null), o =
|
|
3216
|
+
const a = e, l = de(ve), r = j(null), o = K(a.placeholder, "请输入" + a.title), i = t, s = (g) => {
|
|
3217
3217
|
p(g.value);
|
|
3218
3218
|
}, c = () => r.value, p = (g) => {
|
|
3219
3219
|
r.value = g, i("update:value", r.value);
|
|
@@ -3227,12 +3227,12 @@ 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 f = E("vxe-input", !0);
|
|
3231
|
+
return x(), V(f, {
|
|
3232
3232
|
"model-value": r.value,
|
|
3233
|
-
placeholder:
|
|
3233
|
+
placeholder: S(o),
|
|
3234
3234
|
disabled: a.disabled,
|
|
3235
|
-
size:
|
|
3235
|
+
size: S(l)?.size,
|
|
3236
3236
|
onChange: s,
|
|
3237
3237
|
style: { width: "100%" }
|
|
3238
3238
|
}, null, 8, ["model-value", "placeholder", "disabled", "size"]);
|
|
@@ -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(""), d = j([]), g = t, h = ne({
|
|
3262
3262
|
multiple: a.multiple,
|
|
3263
3263
|
filterable: a.filterable,
|
|
3264
3264
|
clearable: a.clearable,
|
|
@@ -3269,26 +3269,26 @@ 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
|
+
}), f = 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
|
-
}, w = () => p.value, C = () => c.value,
|
|
3277
|
+
}, w = () => p.value, C = () => c.value, b = (v) => {
|
|
3278
3278
|
c.value = v, g("update:value", c.value);
|
|
3279
|
-
let _ =
|
|
3279
|
+
let _ = d.value.filter((z) => z.value === c.value);
|
|
3280
3280
|
_.length === 1 && (p.value = _[0].label);
|
|
3281
3281
|
};
|
|
3282
3282
|
return n({
|
|
3283
3283
|
getName: w,
|
|
3284
3284
|
getValue: C,
|
|
3285
|
-
setValue:
|
|
3285
|
+
setValue: b,
|
|
3286
3286
|
resetValue: () => {
|
|
3287
|
-
|
|
3287
|
+
b(a.defaultValue);
|
|
3288
3288
|
}
|
|
3289
3289
|
}), oe(() => {
|
|
3290
|
-
|
|
3291
|
-
!a.multiple && a.selectAll && (v = [{ label: "--全部--", value: "" }].concat(v)),
|
|
3290
|
+
f().then((v) => {
|
|
3291
|
+
!a.multiple && a.selectAll && (v = [{ label: "--全部--", value: "" }].concat(v)), d.value = v, h.options = v;
|
|
3292
3292
|
});
|
|
3293
3293
|
}), (v, _) => {
|
|
3294
3294
|
const z = E("vxe-select", !0);
|
|
@@ -3296,7 +3296,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3296
3296
|
modelValue: c.value,
|
|
3297
3297
|
"onUpdate:modelValue": _[0] || (_[0] = (H) => c.value = H)
|
|
3298
3298
|
}, h, {
|
|
3299
|
-
size:
|
|
3299
|
+
size: S(l)?.size,
|
|
3300
3300
|
onChange: m,
|
|
3301
3301
|
style: { width: "100%" }
|
|
3302
3302
|
}), null, 16, ["modelValue", "size"]);
|
|
@@ -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, d = ne({
|
|
3325
3325
|
clearable: !0,
|
|
3326
3326
|
filterable: !0,
|
|
3327
3327
|
disabled: a.disabled,
|
|
@@ -3331,15 +3331,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3331
3331
|
options: [],
|
|
3332
3332
|
remoteConfig: {
|
|
3333
3333
|
autoLoad: !1,
|
|
3334
|
-
async queryMethod({ searchValue:
|
|
3335
|
-
const y = await g(
|
|
3336
|
-
|
|
3334
|
+
async queryMethod({ searchValue: b }) {
|
|
3335
|
+
const y = await g(b);
|
|
3336
|
+
d.options = y, c.value = y;
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
|
-
}), g = async (
|
|
3340
|
-
if (c.value = [],
|
|
3339
|
+
}), g = async (b) => {
|
|
3340
|
+
if (c.value = [], b) {
|
|
3341
3341
|
const y = {
|
|
3342
|
-
searchValue: Pe(
|
|
3342
|
+
searchValue: Pe(b)
|
|
3343
3343
|
};
|
|
3344
3344
|
return await Ne(te(r, a.requestUrl), {
|
|
3345
3345
|
...a.requestParams,
|
|
@@ -3347,29 +3347,29 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3347
3347
|
});
|
|
3348
3348
|
} else
|
|
3349
3349
|
return [];
|
|
3350
|
-
}, h = ({ value:
|
|
3351
|
-
p("update:value",
|
|
3352
|
-
},
|
|
3353
|
-
i.value =
|
|
3350
|
+
}, h = ({ value: b }) => {
|
|
3351
|
+
p("update:value", b);
|
|
3352
|
+
}, f = () => s.value, m = () => i.value, w = (b) => {
|
|
3353
|
+
i.value = b;
|
|
3354
3354
|
let y = c.value.filter((v) => v.value === i.value);
|
|
3355
|
-
y.length === 1 ? s.value = y[0].label : g(
|
|
3355
|
+
y.length === 1 ? s.value = y[0].label : g(b).then((v) => {
|
|
3356
3356
|
c.value = v;
|
|
3357
3357
|
}), p("update:value", i.value);
|
|
3358
3358
|
};
|
|
3359
3359
|
return n({
|
|
3360
|
-
getName:
|
|
3360
|
+
getName: f,
|
|
3361
3361
|
getValue: m,
|
|
3362
3362
|
setValue: w,
|
|
3363
3363
|
resetValue: () => {
|
|
3364
3364
|
w(a.defaultValue);
|
|
3365
3365
|
}
|
|
3366
|
-
}), (
|
|
3366
|
+
}), (b, y) => {
|
|
3367
3367
|
const v = E("vxe-select");
|
|
3368
3368
|
return x(), V(v, ee({
|
|
3369
3369
|
modelValue: i.value,
|
|
3370
3370
|
"onUpdate:modelValue": y[0] || (y[0] = (_) => i.value = _)
|
|
3371
|
-
},
|
|
3372
|
-
size:
|
|
3371
|
+
}, d, {
|
|
3372
|
+
size: S(l)?.size,
|
|
3373
3373
|
onChange: h,
|
|
3374
3374
|
style: { width: "100%" }
|
|
3375
3375
|
}), null, 16, ["modelValue", "size"]);
|
|
@@ -3394,41 +3394,41 @@ 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, d = ne({
|
|
3398
3398
|
filterable: !0,
|
|
3399
3399
|
clearable: !0,
|
|
3400
3400
|
disabled: a.disabled,
|
|
3401
3401
|
transfer: a.transfer,
|
|
3402
3402
|
placeholder: o,
|
|
3403
3403
|
options: [],
|
|
3404
|
-
filterMethod({ searchValue:
|
|
3405
|
-
return y.label.toLowerCase().indexOf(Pe(
|
|
3404
|
+
filterMethod({ searchValue: b, option: y }) {
|
|
3405
|
+
return y.label.toLowerCase().indexOf(Pe(b).toLowerCase()) >= 0;
|
|
3406
3406
|
}
|
|
3407
|
-
}), g = async () => await Ne(te(r, a.requestUrl), a.requestParams), h = ({ value:
|
|
3408
|
-
p("update:value",
|
|
3409
|
-
},
|
|
3410
|
-
i.value =
|
|
3407
|
+
}), g = async () => await Ne(te(r, a.requestUrl), a.requestParams), h = ({ value: b }) => {
|
|
3408
|
+
p("update:value", b);
|
|
3409
|
+
}, f = () => s.value, m = () => i.value, w = (b) => {
|
|
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: f,
|
|
3416
3416
|
getValue: m,
|
|
3417
3417
|
setValue: w,
|
|
3418
3418
|
resetValue: () => {
|
|
3419
3419
|
w(a.defaultValue);
|
|
3420
3420
|
}
|
|
3421
3421
|
}), oe(() => {
|
|
3422
|
-
g().then((
|
|
3423
|
-
c.value =
|
|
3422
|
+
g().then((b) => {
|
|
3423
|
+
c.value = b, d.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
|
-
},
|
|
3431
|
-
size:
|
|
3430
|
+
}, d, {
|
|
3431
|
+
size: S(l)?.size,
|
|
3432
3432
|
onChange: h,
|
|
3433
3433
|
style: { width: "100%" }
|
|
3434
3434
|
}), null, 16, ["modelValue", "size"]);
|
|
@@ -3441,19 +3441,19 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3441
3441
|
const t = n, a = () => {
|
|
3442
3442
|
t("export", (r) => {
|
|
3443
3443
|
try {
|
|
3444
|
-
if (le("excel下载参数", r), !u(
|
|
3444
|
+
if (le("excel下载参数", r), !u(Ke.ExcelJS)) {
|
|
3445
3445
|
le("需配置加载exceljs和file-saver组件");
|
|
3446
3446
|
return;
|
|
3447
3447
|
}
|
|
3448
|
-
const o = new
|
|
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, d) => {
|
|
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, d) {
|
|
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((d) => {
|
|
3465
|
+
let g = d.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] + d.rowspan : p[h] = d.rowspan + 1, d.col >= c && d.rowspan != 1) {
|
|
3468
|
+
let f = d.row + 2;
|
|
3469
|
+
const m = "'" + h + f + ":" + h + p[h] + "'";
|
|
3470
3470
|
i.mergeCells(m);
|
|
3471
3471
|
}
|
|
3472
3472
|
});
|
|
3473
3473
|
}
|
|
3474
3474
|
o.xlsx.writeBuffer().then((p) => {
|
|
3475
|
-
let
|
|
3476
|
-
|
|
3475
|
+
let d = new Blob([p], { type: "application/octet-stream" });
|
|
3476
|
+
Ke.FileSaver.saveAs(d, r.filename + ".xlsx");
|
|
3477
3477
|
}).catch((p) => le("Error writing excel export", p));
|
|
3478
3478
|
} catch (o) {
|
|
3479
3479
|
dt("下载失败", o);
|
|
@@ -3542,13 +3542,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3542
3542
|
title: "导出"
|
|
3543
3543
|
}, {
|
|
3544
3544
|
default: B(() => o[1] || (o[1] = [
|
|
3545
|
-
|
|
3545
|
+
Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1)
|
|
3546
3546
|
])),
|
|
3547
3547
|
_: 1
|
|
3548
3548
|
});
|
|
3549
3549
|
};
|
|
3550
3550
|
}
|
|
3551
|
-
}),
|
|
3551
|
+
}), Ki = { class: "sag-vxe-page-search-wrapper" }, Qi = { class: "sag-vxe-page-table-wrapper" }, Xi = ["onClick"], es = { style: { "font-weight": "bold" } }, ts = { key: 0 }, ns = ["onClick"], as = { key: 1 }, ls = { style: { display: "inline" } }, rs = { key: 0 }, os = ["onClick"], is = ["onClick"], ss = { key: 0 }, us = { key: 1 }, cs = { key: 2 }, ga = /* @__PURE__ */ W({
|
|
3552
3552
|
name: "SagVxePage",
|
|
3553
3553
|
inheritAttrs: !1,
|
|
3554
3554
|
__name: "SagVxePage",
|
|
@@ -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
|
+
}), d = 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(
|
|
3683
|
-
const m = Object.keys(Be()), w = m.filter((k) => k.startsWith("items_")), C = m.filter((k) => k.startsWith("cols_")),
|
|
3681
|
+
}), h = T.application + "_" + r.templateType, f = "sag_vxe_page_div_panel_" + h;
|
|
3682
|
+
Sn(ve, r), Sn(nl, () => document.getElementById(S(f)));
|
|
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 = je(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(f);
|
|
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));
|
|
@@ -3956,7 +3956,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3956
3956
|
{ deep: !0, immediate: !0 }
|
|
3957
3957
|
);
|
|
3958
3958
|
const hl = (k) => {
|
|
3959
|
-
a.title =
|
|
3959
|
+
a.title = K(k.title, T.targetModal.title), a.width = K(k.width, T.targetModal.width), a.height = K(k.height, T.targetModal.height), a.maximize = K(k.maximize, !1), a.autoLoad = K(k.autoLoad, !1), a.componentType = K(k.componentType, T.targetModal.componentType), a.componentParams = k.componentParams, a.componentUrl = k.componentUrl, a.visible = !0;
|
|
3960
3960
|
}, yn = () => {
|
|
3961
3961
|
a.visible = !1, a.autoLoad && Ve();
|
|
3962
3962
|
}, yl = (k) => {
|
|
@@ -3989,10 +3989,10 @@ 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: f,
|
|
3993
3993
|
class: "sag-vxe-page-wrapper"
|
|
3994
3994
|
}, [
|
|
3995
|
-
wn(
|
|
3995
|
+
wn(Q("div", Ki, [
|
|
3996
3996
|
D(_e, {
|
|
3997
3997
|
activeKey: H.value,
|
|
3998
3998
|
"onUpdate:activeKey": O[2] || (O[2] = (P) => H.value = P),
|
|
@@ -4028,7 +4028,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4028
4028
|
default: B(() => [
|
|
4029
4029
|
D(R, {
|
|
4030
4030
|
type: "primary",
|
|
4031
|
-
size:
|
|
4031
|
+
size: S(L),
|
|
4032
4032
|
onClick: O[0] || (O[0] = (P) => Ve()),
|
|
4033
4033
|
disabled: _.value
|
|
4034
4034
|
}, {
|
|
@@ -4038,7 +4038,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4038
4038
|
_: 1
|
|
4039
4039
|
}, 8, ["size", "disabled"]),
|
|
4040
4040
|
D(R, {
|
|
4041
|
-
size:
|
|
4041
|
+
size: S(L),
|
|
4042
4042
|
onClick: O[1] || (O[1] = (P) => un())
|
|
4043
4043
|
}, {
|
|
4044
4044
|
default: B(() => O[6] || (O[6] = [
|
|
@@ -4136,7 +4136,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4136
4136
|
]),
|
|
4137
4137
|
_: 2
|
|
4138
4138
|
}, [
|
|
4139
|
-
Ce(
|
|
4139
|
+
Ce(S(w), (P) => ({
|
|
4140
4140
|
name: P,
|
|
4141
4141
|
fn: B((M) => [
|
|
4142
4142
|
re(k.$slots, P, ee(M, {
|
|
@@ -4152,9 +4152,9 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4152
4152
|
_: 3
|
|
4153
4153
|
}, 8, ["activeKey"])
|
|
4154
4154
|
], 512), [
|
|
4155
|
-
[_n,
|
|
4155
|
+
[_n, S(u)(s.formItems)]
|
|
4156
4156
|
]),
|
|
4157
|
-
|
|
4157
|
+
Q("div", Qi, [
|
|
4158
4158
|
D(wl, ee({
|
|
4159
4159
|
ref_key: "gridRef",
|
|
4160
4160
|
ref: y
|
|
@@ -4169,39 +4169,39 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4169
4169
|
onRadioChange: sl
|
|
4170
4170
|
}), we({
|
|
4171
4171
|
operate: B(({ row: P, column: M }) => [
|
|
4172
|
-
|
|
4172
|
+
Q("a", {
|
|
4173
4173
|
href: "javascript:void(0)",
|
|
4174
4174
|
class: "sag-vxe-page-link",
|
|
4175
|
-
onClick: (ye) =>
|
|
4175
|
+
onClick: (ye) => S(mn)(P, M)
|
|
4176
4176
|
}, ae(P[M.property]), 9, Xi)
|
|
4177
4177
|
]),
|
|
4178
4178
|
vertical: B(({ row: P, column: M }) => [
|
|
4179
4179
|
(x(!0), U(fe, null, Ce(M.params.childColumns, (ye) => (x(), U("div", {
|
|
4180
4180
|
key: ye.value
|
|
4181
4181
|
}, [
|
|
4182
|
-
|
|
4182
|
+
Q("span", es, ae(ye.title) + ":", 1),
|
|
4183
4183
|
O[7] || (O[7] = ce(" ")),
|
|
4184
4184
|
ye.formatter === "operate" ? (x(), U("span", ts, [
|
|
4185
|
-
|
|
4185
|
+
Q("a", {
|
|
4186
4186
|
href: "javascript:void(0)",
|
|
4187
4187
|
class: "sag-vxe-page-link",
|
|
4188
|
-
onClick: (Os) =>
|
|
4188
|
+
onClick: (Os) => S(mn)(P, ye)
|
|
4189
4189
|
}, ae(P[ye.field]), 9, ns)
|
|
4190
|
-
])) : (x(), U("span", as, ae(
|
|
4190
|
+
])) : (x(), U("span", as, ae(S($).stringFormat(P[ye.field], ye.formatter)), 1))
|
|
4191
4191
|
]))), 128))
|
|
4192
4192
|
]),
|
|
4193
4193
|
button: B(({ row: P }) => [
|
|
4194
|
-
|
|
4195
|
-
(x(!0), U(fe, null, Ce(
|
|
4196
|
-
|
|
4194
|
+
Q("div", ls, [
|
|
4195
|
+
(x(!0), U(fe, null, Ce(d.tableButtons, (M) => (x(), U(fe, { key: M }, [
|
|
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,
|
|
4199
4199
|
size: "small",
|
|
4200
|
-
type:
|
|
4201
|
-
onClick: (ye) =>
|
|
4200
|
+
type: S($).toString(M.status, "primary"),
|
|
4201
|
+
onClick: (ye) => S(He)(M, P)
|
|
4202
4202
|
}, {
|
|
4203
4203
|
icon: B(() => [
|
|
4204
|
-
D(
|
|
4204
|
+
D(ze, {
|
|
4205
4205
|
icon: M.icon
|
|
4206
4206
|
}, null, 8, ["icon"])
|
|
4207
4207
|
]),
|
|
@@ -4214,9 +4214,9 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4214
4214
|
key: 1,
|
|
4215
4215
|
href: "javascript:void(0)",
|
|
4216
4216
|
class: "sag-vxe-page-button-link",
|
|
4217
|
-
onClick: (ye) =>
|
|
4217
|
+
onClick: (ye) => S(He)(M, P)
|
|
4218
4218
|
}, [
|
|
4219
|
-
D(
|
|
4219
|
+
D(ze, {
|
|
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(d.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(
|
|
4236
|
-
|
|
4237
|
-
|
|
4235
|
+
(x(!0), U(fe, null, Ce(d.tableMoreButtons, (M) => (x(), U(fe, { key: M }, [
|
|
4236
|
+
S(Re)(M.auth) ? (x(), U(fe, { key: 0 }, [
|
|
4237
|
+
S($).toString(P[M.buttonName], !0) ? (x(), V(Se, { key: 0 }, {
|
|
4238
4238
|
default: B(() => [
|
|
4239
|
-
|
|
4240
|
-
onClick: (ye) =>
|
|
4239
|
+
Q("a", {
|
|
4240
|
+
onClick: (ye) => S(He)(M, P)
|
|
4241
4241
|
}, [
|
|
4242
|
-
D(
|
|
4242
|
+
D(ze, {
|
|
4243
4243
|
icon: M.icon
|
|
4244
4244
|
}, null, 8, ["icon"]),
|
|
4245
4245
|
ce(" " + ae(M.buttonName), 1)
|
|
@@ -4260,7 +4260,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4260
4260
|
}, {
|
|
4261
4261
|
default: B(() => [
|
|
4262
4262
|
O[9] || (O[9] = ce(" 更多操作 ")),
|
|
4263
|
-
D(
|
|
4263
|
+
D(S(ft))
|
|
4264
4264
|
]),
|
|
4265
4265
|
_: 1
|
|
4266
4266
|
}, 8, ["type"])
|
|
@@ -4269,22 +4269,22 @@ 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
|
-
|
|
4272
|
+
S(u)(d.formButtons) && d.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(
|
|
4279
|
-
|
|
4278
|
+
(x(!0), U(fe, null, Ce(d.formButtons, (P) => (x(), U("span", { key: P }, [
|
|
4279
|
+
S(Re)(P.auth) ? (x(), V(R, {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
round: "",
|
|
4282
|
-
size:
|
|
4283
|
-
type:
|
|
4284
|
-
onClick: (M) =>
|
|
4282
|
+
size: S(L),
|
|
4283
|
+
type: S($).toString(P.status, "primary"),
|
|
4284
|
+
onClick: (M) => S(pl)(P)
|
|
4285
4285
|
}, {
|
|
4286
4286
|
icon: B(() => [
|
|
4287
|
-
D(
|
|
4287
|
+
D(ze, {
|
|
4288
4288
|
icon: P.icon
|
|
4289
4289
|
}, null, 8, ["icon"])
|
|
4290
4290
|
]),
|
|
@@ -4297,34 +4297,34 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4297
4297
|
]),
|
|
4298
4298
|
_: 1
|
|
4299
4299
|
})) : q("", !0),
|
|
4300
|
-
(x(!0), U(fe, null, Ce(b
|
|
4300
|
+
(x(!0), U(fe, null, Ce(S(b), (P) => re(k.$slots, P)), 256))
|
|
4301
4301
|
]),
|
|
4302
4302
|
toolbar_tools: B(() => [
|
|
4303
|
-
|
|
4303
|
+
S(u)(c.tableColumnsExtra) ? (x(), V(Oe, {
|
|
4304
4304
|
key: 0,
|
|
4305
4305
|
size: "small",
|
|
4306
4306
|
circle: !0,
|
|
4307
|
-
onClick: O[3] || (O[3] = (P) =>
|
|
4307
|
+
onClick: O[3] || (O[3] = (P) => S(vn)(r.application, !1)),
|
|
4308
4308
|
title: "切换"
|
|
4309
4309
|
}, {
|
|
4310
4310
|
default: B(() => O[10] || (O[10] = [
|
|
4311
|
-
|
|
4311
|
+
Q("i", { class: "vxe-button--icon vxe-icon-refresh" }, null, -1)
|
|
4312
4312
|
])),
|
|
4313
4313
|
_: 1
|
|
4314
4314
|
})) : q("", !0),
|
|
4315
|
-
|
|
4315
|
+
S(u)(o.requestDownload) && typeof o.requestDownload == "object" ? (x(), V(Zi, {
|
|
4316
4316
|
key: 1,
|
|
4317
|
-
onExport:
|
|
4317
|
+
onExport: S(gn)
|
|
4318
4318
|
}, null, 8, ["onExport"])) : q("", !0),
|
|
4319
4319
|
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (x(), V(Oe, {
|
|
4320
4320
|
key: 2,
|
|
4321
4321
|
size: "small",
|
|
4322
4322
|
circle: !0,
|
|
4323
|
-
onClick:
|
|
4323
|
+
onClick: S(gn),
|
|
4324
4324
|
title: "下载"
|
|
4325
4325
|
}, {
|
|
4326
4326
|
default: B(() => O[11] || (O[11] = [
|
|
4327
|
-
|
|
4327
|
+
Q("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1)
|
|
4328
4328
|
])),
|
|
4329
4329
|
_: 1
|
|
4330
4330
|
}, 8, ["onClick"])) : q("", !0),
|
|
@@ -4332,41 +4332,41 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4332
4332
|
key: 3,
|
|
4333
4333
|
size: "small",
|
|
4334
4334
|
circle: !0,
|
|
4335
|
-
onClick: O[4] || (O[4] = (P) =>
|
|
4335
|
+
onClick: O[4] || (O[4] = (P) => S(ml)()),
|
|
4336
4336
|
title: "导入"
|
|
4337
4337
|
}, {
|
|
4338
4338
|
default: B(() => O[12] || (O[12] = [
|
|
4339
|
-
|
|
4339
|
+
Q("i", { class: "vxe-button--icon vxe-icon-upload" }, null, -1)
|
|
4340
4340
|
])),
|
|
4341
4341
|
_: 1
|
|
4342
4342
|
})) : q("", !0)
|
|
4343
4343
|
]),
|
|
4344
4344
|
empty: B(() => [
|
|
4345
4345
|
z.value === "error" ? (x(), U("h2", ss, O[13] || (O[13] = [
|
|
4346
|
-
|
|
4346
|
+
Q("span", { style: { "font-size": "24px", color: "red" } }, "您好,数据获取出现异常,请您稍后再次尝试!", -1)
|
|
4347
4347
|
]))) : q("", !0),
|
|
4348
4348
|
z.value === "none" ? (x(), U("h2", us, O[14] || (O[14] = [
|
|
4349
|
-
|
|
4349
|
+
Q("span", { style: { "font-size": "24px", color: "red" } }, "没有更多数据了!", -1)
|
|
4350
4350
|
]))) : q("", !0),
|
|
4351
4351
|
z.value === "more" ? (x(), U("h2", cs, [
|
|
4352
|
-
O[16] || (O[16] =
|
|
4352
|
+
O[16] || (O[16] = Q("span", { style: { "font-size": "16px" } }, [
|
|
4353
4353
|
ce(" 您好,因数据量过大,强制显示将会 "),
|
|
4354
|
-
|
|
4354
|
+
Q("span", { style: { color: "red" } }, "取消合并列"),
|
|
4355
4355
|
ce(" 模式,建议您调整查询条件后重新查询! ")
|
|
4356
4356
|
], -1)),
|
|
4357
|
-
O[17] || (O[17] =
|
|
4358
|
-
|
|
4357
|
+
O[17] || (O[17] = Q("br", null, null, -1)),
|
|
4358
|
+
Q("a", {
|
|
4359
4359
|
onClick: ol,
|
|
4360
4360
|
href: "javascript:void(0)",
|
|
4361
4361
|
class: "link"
|
|
4362
4362
|
}, O[15] || (O[15] = [
|
|
4363
|
-
|
|
4363
|
+
Q("span", { style: { "font-size": "24px", color: "red" } }, "是否强制显示?", -1)
|
|
4364
4364
|
]))
|
|
4365
4365
|
])) : q("", !0)
|
|
4366
4366
|
]),
|
|
4367
4367
|
_: 2
|
|
4368
4368
|
}, [
|
|
4369
|
-
Ce(
|
|
4369
|
+
Ce(S(C), (P) => ({
|
|
4370
4370
|
name: P,
|
|
4371
4371
|
fn: B((M) => [
|
|
4372
4372
|
re(k.$slots, P, Tl(Al(M)))
|
|
@@ -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 = (f, 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 = (f) => {
|
|
4419
|
+
o.value = A(f), h();
|
|
4420
|
+
}, p = (f) => {
|
|
4421
|
+
o.value = A().add(f || 0, l), h();
|
|
4422
|
+
}, d = (f) => !!(u(a.max) && A(f).format(r) > a.max || u(a.min) && A(f).format(r) < a.min), g = t, h = (f, m = !1) => {
|
|
4423
|
+
u(f) ? (g("update:value", f), m && g("change", f)) : (g("update:value", s()), m && g("change", s()));
|
|
4424
4424
|
};
|
|
4425
4425
|
return ge(
|
|
4426
4426
|
() => a.value,
|
|
4427
|
-
(
|
|
4428
|
-
o.value =
|
|
4427
|
+
(f, m) => {
|
|
4428
|
+
o.value = f ? A(f) : null;
|
|
4429
4429
|
}
|
|
4430
4430
|
), oe(() => {
|
|
4431
4431
|
u(a.value) && c(a.value);
|
|
@@ -4433,17 +4433,17 @@ 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
|
+
}), (f, m) => {
|
|
4437
4437
|
const w = E("a-date-picker");
|
|
4438
4438
|
return x(), V(w, {
|
|
4439
|
-
value:
|
|
4439
|
+
value: S(o),
|
|
4440
4440
|
"onUpdate:value": m[0] || (m[0] = (C) => st(o) ? o.value = C : o = C),
|
|
4441
4441
|
"show-time": a.showTime,
|
|
4442
4442
|
disabled: a.disabled,
|
|
4443
|
-
locale:
|
|
4444
|
-
format:
|
|
4445
|
-
disabledDate:
|
|
4446
|
-
picker:
|
|
4443
|
+
locale: S(Fe),
|
|
4444
|
+
format: S(r),
|
|
4445
|
+
disabledDate: d,
|
|
4446
|
+
picker: S(l) === "day" ? "date" : S(l),
|
|
4447
4447
|
style: me(a.style),
|
|
4448
4448
|
onChange: i
|
|
4449
4449
|
}, null, 8, ["value", "show-time", "disabled", "locale", "format", "picker", "style"]);
|
|
@@ -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
|
+
], d = 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
|
+
}, f = (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
|
|
@@ -4508,24 +4508,24 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4508
4508
|
return ge(
|
|
4509
4509
|
() => a.value,
|
|
4510
4510
|
(w, C) => {
|
|
4511
|
-
let
|
|
4512
|
-
u(w) && (u(w[0]) && (
|
|
4511
|
+
let b = null, y = null;
|
|
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) && f(a.value[0], a.value[1]);
|
|
4516
4516
|
}), n({
|
|
4517
|
-
setValue:
|
|
4517
|
+
setValue: f,
|
|
4518
4518
|
getValue: h
|
|
4519
4519
|
}), (w, C) => {
|
|
4520
|
-
const
|
|
4521
|
-
return x(), V(
|
|
4520
|
+
const b = E("a-range-picker");
|
|
4521
|
+
return x(), V(b, {
|
|
4522
4522
|
value: i.value,
|
|
4523
4523
|
"onUpdate:value": C[0] || (C[0] = (y) => i.value = y),
|
|
4524
|
-
presets:
|
|
4525
|
-
locale:
|
|
4524
|
+
presets: d.value,
|
|
4525
|
+
locale: S(Fe),
|
|
4526
4526
|
allowEmpty: [!0, !0],
|
|
4527
|
-
format:
|
|
4528
|
-
picker:
|
|
4527
|
+
format: S(r),
|
|
4528
|
+
picker: S(l) === "day" ? "date" : S(l),
|
|
4529
4529
|
style: me(a.style),
|
|
4530
4530
|
onChange: g
|
|
4531
4531
|
}, null, 8, ["value", "presets", "locale", "format", "picker", "style"]);
|
|
@@ -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(ze, {
|
|
4570
4570
|
key: 0,
|
|
4571
4571
|
icon: t.icon
|
|
4572
4572
|
}, null, 8, ["icon"])) : q("", !0)
|
|
@@ -4609,26 +4609,26 @@ 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([]),
|
|
4613
|
-
const
|
|
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([]), d = async () => {
|
|
4613
|
+
const b = await Xa(
|
|
4614
4614
|
te(r, a.requestUrl),
|
|
4615
4615
|
a.requestParams,
|
|
4616
4616
|
l,
|
|
4617
4617
|
"CASCADER_" + a.cacheKey
|
|
4618
4618
|
);
|
|
4619
|
-
p.value =
|
|
4620
|
-
}, g = t, h = (
|
|
4621
|
-
u(y) ? (g("update:value",
|
|
4622
|
-
},
|
|
4623
|
-
c.value =
|
|
4619
|
+
p.value = b;
|
|
4620
|
+
}, g = t, h = (b, y) => {
|
|
4621
|
+
u(y) ? (g("update:value", b[b.length - 1]), g("change", y[y.length - 1])) : (g("update:value", null), g("change", null));
|
|
4622
|
+
}, f = (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
|
+
c.value = b, g("update:value", b);
|
|
4624
4624
|
};
|
|
4625
4625
|
return oe(() => {
|
|
4626
|
-
|
|
4626
|
+
d();
|
|
4627
4627
|
}), n({
|
|
4628
4628
|
getName: m,
|
|
4629
4629
|
getValue: w,
|
|
4630
4630
|
setValue: C
|
|
4631
|
-
}), (
|
|
4631
|
+
}), (b, y) => {
|
|
4632
4632
|
const v = E("a-cascader");
|
|
4633
4633
|
return x(), U("div", ds, [
|
|
4634
4634
|
D(v, {
|
|
@@ -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: f },
|
|
4640
4640
|
disabled: a.disabled,
|
|
4641
4641
|
clearable: a.clearable,
|
|
4642
4642
|
changeOnSelect: a.changeOnSelect,
|
|
@@ -4686,15 +4686,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4686
4686
|
]),
|
|
4687
4687
|
_: 2
|
|
4688
4688
|
}, [
|
|
4689
|
-
|
|
4689
|
+
S(l).length === 1 || S(u)(n.title) ? {
|
|
4690
4690
|
name: "title",
|
|
4691
4691
|
fn: B(() => [
|
|
4692
|
-
|
|
4693
|
-
|
|
4692
|
+
S(l).length === 1 ? re(r.$slots, "title", { key: 0 }) : q("", !0),
|
|
4693
|
+
S(l).length !== 1 ? (x(), U("span", fs, ae(n.title), 1)) : q("", !0)
|
|
4694
4694
|
]),
|
|
4695
4695
|
key: "0"
|
|
4696
4696
|
} : void 0,
|
|
4697
|
-
|
|
4697
|
+
S(a).length === 1 ? {
|
|
4698
4698
|
name: "extra",
|
|
4699
4699
|
fn: B(() => [
|
|
4700
4700
|
re(r.$slots, "extra")
|
|
@@ -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, d = (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, f) => {
|
|
4747
|
+
h !== l.value && d(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: d
|
|
4756
|
+
}), (h, f) => {
|
|
4757
4757
|
const m = E("a-input");
|
|
4758
4758
|
return x(), V(m, {
|
|
4759
4759
|
value: l.value,
|
|
4760
|
-
"onUpdate:value":
|
|
4760
|
+
"onUpdate:value": f[0] || (f[0] = (w) => l.value = w),
|
|
4761
4761
|
placeholder: a.placeholder,
|
|
4762
4762
|
disabled: a.disabled,
|
|
4763
4763
|
showCount: a.showCount,
|
|
@@ -4765,19 +4765,19 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4765
4765
|
style: me(a.style),
|
|
4766
4766
|
onChange: c
|
|
4767
4767
|
}, we({ _: 2 }, [
|
|
4768
|
-
|
|
4768
|
+
S(i).length === 1 || S(u)(a.addonAfter) ? {
|
|
4769
4769
|
name: "addonAfter",
|
|
4770
4770
|
fn: B(() => [
|
|
4771
|
-
|
|
4772
|
-
|
|
4771
|
+
S(i).length === 1 ? re(h.$slots, "addonAfter", { key: 0 }) : q("", !0),
|
|
4772
|
+
S(i).length !== 1 ? (x(), U("span", ps, ae(a.addonAfter), 1)) : q("", !0)
|
|
4773
4773
|
]),
|
|
4774
4774
|
key: "0"
|
|
4775
4775
|
} : void 0,
|
|
4776
|
-
|
|
4776
|
+
S(s).length === 1 || S(u)(a.addonBefore) ? {
|
|
4777
4777
|
name: "addonBefore",
|
|
4778
4778
|
fn: B(() => [
|
|
4779
|
-
|
|
4780
|
-
|
|
4779
|
+
S(s).length === 1 ? re(h.$slots, "addonBefore", { key: 0 }) : q("", !0),
|
|
4780
|
+
S(s).length !== 1 ? (x(), U("span", ms, ae(a.addonBefore), 1)) : q("", !0)
|
|
4781
4781
|
]),
|
|
4782
4782
|
key: "1"
|
|
4783
4783
|
} : void 0
|
|
@@ -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, d = (h) => {
|
|
4828
4828
|
l.value = h, g();
|
|
4829
4829
|
};
|
|
4830
4830
|
ge(
|
|
4831
4831
|
() => a.value,
|
|
4832
|
-
(h,
|
|
4833
|
-
h !== l.value &&
|
|
4832
|
+
(h, f) => {
|
|
4833
|
+
h !== l.value && d(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: d
|
|
4842
|
+
}), (h, f) => {
|
|
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": f[0] || (f[0] = (w) => l.value = w),
|
|
4847
4847
|
placeholder: a.placeholder,
|
|
4848
4848
|
disabled: a.disabled,
|
|
4849
4849
|
max: a.max,
|
|
@@ -4855,19 +4855,19 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4855
4855
|
style: me(a.style),
|
|
4856
4856
|
onChange: c
|
|
4857
4857
|
}, we({ _: 2 }, [
|
|
4858
|
-
|
|
4858
|
+
S(i).length === 1 || S(u)(a.addonAfter) ? {
|
|
4859
4859
|
name: "addonAfter",
|
|
4860
4860
|
fn: B(() => [
|
|
4861
|
-
|
|
4862
|
-
|
|
4861
|
+
S(i).length === 1 ? re(h.$slots, "addonAfter", { key: 0 }) : q("", !0),
|
|
4862
|
+
S(i).length !== 1 ? (x(), U("span", gs, ae(a.addonAfter), 1)) : q("", !0)
|
|
4863
4863
|
]),
|
|
4864
4864
|
key: "0"
|
|
4865
4865
|
} : void 0,
|
|
4866
|
-
|
|
4866
|
+
S(s).length === 1 || S(u)(a.addonBefore) ? {
|
|
4867
4867
|
name: "addonBefore",
|
|
4868
4868
|
fn: B(() => [
|
|
4869
|
-
|
|
4870
|
-
|
|
4869
|
+
S(s).length === 1 ? re(h.$slots, "addonBefore", { key: 0 }) : q("", !0),
|
|
4870
|
+
S(s).length !== 1 ? (x(), U("span", vs, ae(a.addonBefore), 1)) : q("", !0)
|
|
4871
4871
|
]),
|
|
4872
4872
|
key: "1"
|
|
4873
4873
|
} : void 0
|
|
@@ -4919,8 +4919,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4919
4919
|
t.showSuffix && !t.disabled ? {
|
|
4920
4920
|
name: "suffix",
|
|
4921
4921
|
fn: B(() => [
|
|
4922
|
-
|
|
4923
|
-
D(
|
|
4922
|
+
Q("a", { onClick: o }, [
|
|
4923
|
+
D(ze, { 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, d) => {
|
|
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, d) => {
|
|
4981
4981
|
const g = E("a-textarea");
|
|
4982
4982
|
return x(), V(g, {
|
|
4983
4983
|
value: l.value,
|
|
4984
|
-
"onUpdate:value":
|
|
4984
|
+
"onUpdate:value": d[0] || (d[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, d = (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, f = (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();
|
|
@@ -5041,8 +5041,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5041
5041
|
}
|
|
5042
5042
|
);
|
|
5043
5043
|
const C = (y = !1) => {
|
|
5044
|
-
l("update:value", o.value),
|
|
5045
|
-
},
|
|
5044
|
+
l("update:value", o.value), b(y);
|
|
5045
|
+
}, b = (y = !1) => {
|
|
5046
5046
|
if (u(o.value))
|
|
5047
5047
|
if (a.multiple) {
|
|
5048
5048
|
const v = [];
|
|
@@ -5063,25 +5063,25 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5063
5063
|
setValue: w
|
|
5064
5064
|
}), oe(() => {
|
|
5065
5065
|
g().then((y) => {
|
|
5066
|
-
c.value = y, u(a.extraOptions) && a.extraOptions?.length > 0 && c.value.unshift(...a.extraOptions), u(o.value) && !u(i.value) &&
|
|
5066
|
+
c.value = y, u(a.extraOptions) && a.extraOptions?.length > 0 && c.value.unshift(...a.extraOptions), u(o.value) && !u(i.value) && b();
|
|
5067
5067
|
});
|
|
5068
5068
|
}), (y, v) => {
|
|
5069
5069
|
const _ = E("a-select");
|
|
5070
5070
|
return x(), U("div", hs, [
|
|
5071
5071
|
D(_, {
|
|
5072
|
-
value:
|
|
5072
|
+
value: S(o),
|
|
5073
5073
|
"onUpdate:value": v[0] || (v[0] = (z) => st(o) ? o.value = z : null),
|
|
5074
|
-
onChange:
|
|
5074
|
+
onChange: f,
|
|
5075
5075
|
placeholder: "--请选择--",
|
|
5076
5076
|
allowClear: a.clearable,
|
|
5077
5077
|
mode: e.multiple ? "multiple" : "",
|
|
5078
|
-
"max-tag-count":
|
|
5078
|
+
"max-tag-count": S(p),
|
|
5079
5079
|
options: c.value,
|
|
5080
5080
|
"show-search": a.filterable,
|
|
5081
5081
|
"filter-option": h,
|
|
5082
5082
|
defaultActiveFirstOption: !a.multiple,
|
|
5083
5083
|
autoClearSearchValue: !a.filterable,
|
|
5084
|
-
getPopupContainer:
|
|
5084
|
+
getPopupContainer: d,
|
|
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 + "搜索", d = (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), f = (I) => {
|
|
5142
5142
|
w(I).then(() => {
|
|
5143
5143
|
H(!0);
|
|
5144
5144
|
});
|
|
@@ -5153,7 +5153,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5153
5153
|
let L = i.value.filter((G) => G.value === I);
|
|
5154
5154
|
L.length === 1 ? (r.value = L[0].label, o.value = L[0]) : (r.value = a.multiple ? [] : null, o.value = a.multiple ? {} : null);
|
|
5155
5155
|
}
|
|
5156
|
-
}, C = () => r.value,
|
|
5156
|
+
}, C = () => r.value, b = () => l.value, y = (I) => {
|
|
5157
5157
|
w(I).then(() => {
|
|
5158
5158
|
H();
|
|
5159
5159
|
});
|
|
@@ -5176,7 +5176,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5176
5176
|
g();
|
|
5177
5177
|
}), n({
|
|
5178
5178
|
getName: C,
|
|
5179
|
-
getValue:
|
|
5179
|
+
getValue: b,
|
|
5180
5180
|
setValue: y,
|
|
5181
5181
|
clear: _,
|
|
5182
5182
|
reload: z
|
|
@@ -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: d,
|
|
5198
|
+
onChange: f,
|
|
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 + "搜索", d = (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
|
+
}, f = At((v) => {
|
|
5261
5261
|
g(v);
|
|
5262
5262
|
}, 500), m = async (v) => {
|
|
5263
5263
|
if (u(v)) {
|
|
@@ -5265,7 +5265,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5265
5265
|
return _.length === 1 ? (l.value = _[0].value, r.value = _[0].label, o.value = _[0], !0) : (l.value = null, r.value = "", o.value = null, !1);
|
|
5266
5266
|
} else
|
|
5267
5267
|
return l.value = null, r.value = "", o.value = null, !0;
|
|
5268
|
-
}, w = () => r.value, C = () => l.value,
|
|
5268
|
+
}, w = () => r.value, C = () => l.value, b = (v) => {
|
|
5269
5269
|
l.value = v, m(v).then((_) => {
|
|
5270
5270
|
_ && y();
|
|
5271
5271
|
});
|
|
@@ -5278,7 +5278,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5278
5278
|
const I = v !== z, L = _ !== l.value;
|
|
5279
5279
|
I && (i.value = [], r.value = null, l.value = null, o.value = null, y()), L && m(_).then((G) => {
|
|
5280
5280
|
G || g(_).then(() => {
|
|
5281
|
-
|
|
5281
|
+
b(_);
|
|
5282
5282
|
});
|
|
5283
5283
|
});
|
|
5284
5284
|
}
|
|
@@ -5292,7 +5292,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5292
5292
|
}), n({
|
|
5293
5293
|
getName: w,
|
|
5294
5294
|
getValue: C,
|
|
5295
|
-
setValue:
|
|
5295
|
+
setValue: b
|
|
5296
5296
|
}), (v, _) => {
|
|
5297
5297
|
const z = E("a-spin"), H = E("a-select");
|
|
5298
5298
|
return x(), U("div", bs, [
|
|
@@ -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: d,
|
|
5311
5311
|
onChange: h,
|
|
5312
|
-
onSearch:
|
|
5312
|
+
onSearch: S(f),
|
|
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] = (d) => r.value = d),
|
|
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(
|
|
5355
|
-
key:
|
|
5354
|
+
(x(!0), U(fe, null, Ce(S(a), (d) => (x(), V(c, {
|
|
5355
|
+
key: d,
|
|
5356
5356
|
forceRender: "",
|
|
5357
5357
|
showArrow: n.showArrow
|
|
5358
5358
|
}, {
|
|
5359
5359
|
header: B(() => [
|
|
5360
|
-
|
|
5360
|
+
S(l).length === 1 ? re(i.$slots, "header", { key: 0 }) : (x(), U("span", Ss, ae(o.value[d]), 1))
|
|
5361
5361
|
]),
|
|
5362
5362
|
default: B(() => [
|
|
5363
|
-
re(i.$slots,
|
|
5363
|
+
re(i.$slots, d)
|
|
5364
5364
|
]),
|
|
5365
5365
|
_: 2
|
|
5366
5366
|
}, 1032, ["showArrow"]))), 128))
|
|
@@ -5451,7 +5451,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5451
5451
|
},
|
|
5452
5452
|
emits: ["update:activeKey", "change"],
|
|
5453
5453
|
setup(e, { emit: n }) {
|
|
5454
|
-
const t = e, a = t.tabColorBlack ? "rgba(0, 0, 0, 0.02)" : "#ffffff", l = Object.keys(Be()), r = l.filter((p) => p != "rightExtra" &&
|
|
5454
|
+
const t = e, a = t.tabColorBlack ? "rgba(0, 0, 0, 0.02)" : "#ffffff", l = Object.keys(Be()), r = l.filter((p) => p != "rightExtra" && p != "header"), o = j(t.activeKey), i = j(t.header instanceof Object ? t.header : { default: t.header }), s = n, c = (p) => {
|
|
5455
5455
|
s("update:activeKey", p), s("change", p);
|
|
5456
5456
|
};
|
|
5457
5457
|
return ge(
|
|
@@ -5459,42 +5459,45 @@ 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("a-tab-pane"),
|
|
5464
|
-
return x(), V(
|
|
5462
|
+
), (p, d) => {
|
|
5463
|
+
const g = E("SagAntdOutlined"), h = E("a-tab-pane"), f = E("a-tabs");
|
|
5464
|
+
return x(), V(f, {
|
|
5465
5465
|
activeKey: o.value,
|
|
5466
|
-
"onUpdate:activeKey":
|
|
5466
|
+
"onUpdate:activeKey": d[0] || (d[0] = (m) => o.value = m),
|
|
5467
5467
|
type: t.type,
|
|
5468
5468
|
"tab-position": t.position,
|
|
5469
5469
|
tabBarGutter: t.position === "left" ? 4 : 25,
|
|
5470
|
-
tabBarStyle: { margin: 0, backgroundColor:
|
|
5470
|
+
tabBarStyle: { margin: 0, backgroundColor: S(a) },
|
|
5471
5471
|
onChange: c
|
|
5472
5472
|
}, we({
|
|
5473
5473
|
default: B(() => [
|
|
5474
|
-
(x(!0), U(fe, null, Ce(
|
|
5475
|
-
key:
|
|
5476
|
-
forceRender: t.forceRender && !t.notForceRender?.includes(
|
|
5474
|
+
(x(!0), U(fe, null, Ce(S(r), (m, w) => (x(), V(h, {
|
|
5475
|
+
key: m,
|
|
5476
|
+
forceRender: t.forceRender && !t.notForceRender?.includes(m),
|
|
5477
5477
|
style: me(t.position === "left" ? { paddingLeft: "0" } : {})
|
|
5478
5478
|
}, {
|
|
5479
5479
|
tab: B(() => [
|
|
5480
|
-
|
|
5481
|
-
style: me(
|
|
5480
|
+
Q("span", {
|
|
5481
|
+
style: me(w === 0 && t.position === "top" ? { marginLeft: "10px" } : {})
|
|
5482
5482
|
}, [
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5483
|
+
S(l).includes("header") ? re(p.$slots, "header", {
|
|
5484
|
+
key: 0,
|
|
5485
|
+
tabKey: m
|
|
5486
|
+
}) : (x(), U(fe, { key: 1 }, [
|
|
5487
|
+
D(g, { icon: "menu" }),
|
|
5488
|
+
ce(" " + ae(i.value[m]), 1)
|
|
5486
5489
|
], 64))
|
|
5487
5490
|
], 4)
|
|
5488
5491
|
]),
|
|
5489
5492
|
default: B(() => [
|
|
5490
|
-
re(p.$slots,
|
|
5493
|
+
re(p.$slots, m)
|
|
5491
5494
|
]),
|
|
5492
5495
|
_: 2
|
|
5493
5496
|
}, 1032, ["forceRender", "style"]))), 128))
|
|
5494
5497
|
]),
|
|
5495
5498
|
_: 2
|
|
5496
5499
|
}, [
|
|
5497
|
-
|
|
5500
|
+
S(l).includes("rightExtra") ? {
|
|
5498
5501
|
name: "rightExtra",
|
|
5499
5502
|
fn: B(() => [
|
|
5500
5503
|
re(p.$slots, "rightExtra")
|
|
@@ -5517,7 +5520,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5517
5520
|
},
|
|
5518
5521
|
setup(e) {
|
|
5519
5522
|
const n = e;
|
|
5520
|
-
return (t, a) => (x(), V(
|
|
5523
|
+
return (t, a) => (x(), V(ze, {
|
|
5521
5524
|
icon: n.icon
|
|
5522
5525
|
}, null, 8, ["icon"]));
|
|
5523
5526
|
}
|