sag-ubmp-pc 1.0.21 → 1.0.22
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 +408 -404
- 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
|
|
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 b, 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 K, 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 = {
|
|
@@ -141,7 +141,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
141
141
|
componentType: "vue",
|
|
142
142
|
maskClosable: !0
|
|
143
143
|
}
|
|
144
|
-
},
|
|
144
|
+
}, Ts = {
|
|
145
145
|
setupConfig: function(e) {
|
|
146
146
|
Te.merge(T, e), le("加载公共参数完毕", T);
|
|
147
147
|
},
|
|
@@ -352,13 +352,13 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
352
352
|
align: m,
|
|
353
353
|
type: w,
|
|
354
354
|
fixed: C,
|
|
355
|
-
width:
|
|
355
|
+
width: S
|
|
356
356
|
} = t;
|
|
357
357
|
return {
|
|
358
358
|
field: e,
|
|
359
359
|
title: n,
|
|
360
360
|
sortable: !1,
|
|
361
|
-
width: u(
|
|
361
|
+
width: u(S) ? S : u(w) ? u(i) ? i : 120 : "auto",
|
|
362
362
|
minWidth: u(i) ? i : 120,
|
|
363
363
|
resizable: u(h) ? h : !1,
|
|
364
364
|
showOverflow: u(d) ? d : "title",
|
|
@@ -505,7 +505,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
505
505
|
downloadType: u(o) ? o : null,
|
|
506
506
|
auth: u(r) ? r : !0
|
|
507
507
|
};
|
|
508
|
-
},
|
|
508
|
+
}, As = {
|
|
509
509
|
getItemInput: Fl,
|
|
510
510
|
getItemNumber: Hl,
|
|
511
511
|
getItemSwitch: Yl,
|
|
@@ -625,7 +625,7 @@ const le = jt("log"), Na = jt("warn"), dt = jt("error"), Qe = {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
|
-
function
|
|
628
|
+
function pe(e, n) {
|
|
629
629
|
fr(e) && (e = "100%");
|
|
630
630
|
var t = pr(e);
|
|
631
631
|
return e = n === 360 ? e : Math.min(n, Math.max(0, parseFloat(e))), t && (e = parseInt(String(e * n), 10) / 100), Math.abs(e - n) < 1e-6 ? 1 : (n === 360 ? e = (e < 0 ? e % n + n : e % n) / parseFloat(String(n)) : e = e % n / parseFloat(String(n)), e);
|
|
@@ -647,9 +647,9 @@ function ht(e) {
|
|
|
647
647
|
}
|
|
648
648
|
function gr(e, n, t) {
|
|
649
649
|
return {
|
|
650
|
-
r:
|
|
651
|
-
g:
|
|
652
|
-
b:
|
|
650
|
+
r: pe(e, 255) * 255,
|
|
651
|
+
g: pe(n, 255) * 255,
|
|
652
|
+
b: pe(t, 255) * 255
|
|
653
653
|
};
|
|
654
654
|
}
|
|
655
655
|
function yt(e, n, t) {
|
|
@@ -657,7 +657,7 @@ function yt(e, n, t) {
|
|
|
657
657
|
}
|
|
658
658
|
function vr(e, n, t) {
|
|
659
659
|
var a, l, r;
|
|
660
|
-
if (e =
|
|
660
|
+
if (e = pe(e, 360), n = pe(n, 100), t = pe(t, 100), n === 0)
|
|
661
661
|
l = t, r = t, a = t;
|
|
662
662
|
else {
|
|
663
663
|
var o = t < 0.5 ? t * (1 + n) : t + n - t * n, i = 2 * t - o;
|
|
@@ -666,7 +666,7 @@ function vr(e, n, t) {
|
|
|
666
666
|
return { r: a * 255, g: l * 255, b: r * 255 };
|
|
667
667
|
}
|
|
668
668
|
function hr(e, n, t) {
|
|
669
|
-
e =
|
|
669
|
+
e = pe(e, 255), n = pe(n, 255), t = pe(t, 255);
|
|
670
670
|
var a = Math.max(e, n, t), l = Math.min(e, n, t), r = 0, o = a, i = a - l, s = a === 0 ? 0 : i / a;
|
|
671
671
|
if (a === l)
|
|
672
672
|
r = 0;
|
|
@@ -687,7 +687,7 @@ function hr(e, n, t) {
|
|
|
687
687
|
return { h: r, s, v: o };
|
|
688
688
|
}
|
|
689
689
|
function yr(e, n, t) {
|
|
690
|
-
e =
|
|
690
|
+
e = pe(e, 360) * 6, n = pe(n, 100), t = pe(t, 100);
|
|
691
691
|
var a = Math.floor(e), l = e - a, r = t * (1 - n), o = t * (1 - l * n), i = t * (1 - (1 - l) * n), s = a % 6, c = [t, o, r, r, i, t][s], p = [i, t, t, o, r, r][s], f = [r, r, i, t, t, o][s];
|
|
692
692
|
return { r: c * 255, g: p * 255, b: f * 255 };
|
|
693
693
|
}
|
|
@@ -866,7 +866,7 @@ function Ee(e) {
|
|
|
866
866
|
a: t
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
|
-
var Sr = "[-\\+]?\\d+%?", wr = "[-\\+]?\\d*\\.\\d+%?", Me = "(?:".concat(wr, ")|(?:").concat(Sr, ")"), bt = "[\\s|\\(]+(".concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")\\s*\\)?"), St = "[\\s|\\(]+(".concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")\\s*\\)?"),
|
|
869
|
+
var Sr = "[-\\+]?\\d+%?", wr = "[-\\+]?\\d*\\.\\d+%?", Me = "(?:".concat(wr, ")|(?:").concat(Sr, ")"), bt = "[\\s|\\(]+(".concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")\\s*\\)?"), St = "[\\s|\\(]+(".concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")[,|\\s]+(").concat(Me, ")\\s*\\)?"), be = {
|
|
870
870
|
CSS_UNIT: new RegExp(Me),
|
|
871
871
|
rgb: new RegExp("rgb" + bt),
|
|
872
872
|
rgba: new RegExp("rgba" + St),
|
|
@@ -887,25 +887,25 @@ function _r(e) {
|
|
|
887
887
|
e = kn[e], n = !0;
|
|
888
888
|
else if (e === "transparent")
|
|
889
889
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
890
|
-
var t =
|
|
891
|
-
return t ? { r: t[1], g: t[2], b: t[3] } : (t =
|
|
890
|
+
var t = be.rgb.exec(e);
|
|
891
|
+
return t ? { r: t[1], g: t[2], b: t[3] } : (t = be.rgba.exec(e), t ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = be.hsl.exec(e), t ? { h: t[1], s: t[2], l: t[3] } : (t = be.hsla.exec(e), t ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = be.hsv.exec(e), t ? { h: t[1], s: t[2], v: t[3] } : (t = be.hsva.exec(e), t ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = be.hex8.exec(e), t ? {
|
|
892
892
|
r: ue(t[1]),
|
|
893
893
|
g: ue(t[2]),
|
|
894
894
|
b: ue(t[3]),
|
|
895
895
|
a: Pn(t[4]),
|
|
896
896
|
format: n ? "name" : "hex8"
|
|
897
|
-
} : (t =
|
|
897
|
+
} : (t = be.hex6.exec(e), t ? {
|
|
898
898
|
r: ue(t[1]),
|
|
899
899
|
g: ue(t[2]),
|
|
900
900
|
b: ue(t[3]),
|
|
901
901
|
format: n ? "name" : "hex"
|
|
902
|
-
} : (t =
|
|
902
|
+
} : (t = be.hex4.exec(e), t ? {
|
|
903
903
|
r: ue(t[1] + t[1]),
|
|
904
904
|
g: ue(t[2] + t[2]),
|
|
905
905
|
b: ue(t[3] + t[3]),
|
|
906
906
|
a: Pn(t[4] + t[4]),
|
|
907
907
|
format: n ? "name" : "hex8"
|
|
908
|
-
} : (t =
|
|
908
|
+
} : (t = be.hex3.exec(e), t ? {
|
|
909
909
|
r: ue(t[1] + t[1]),
|
|
910
910
|
g: ue(t[2] + t[2]),
|
|
911
911
|
b: ue(t[3] + t[3]),
|
|
@@ -913,7 +913,7 @@ function _r(e) {
|
|
|
913
913
|
} : !1)))))))));
|
|
914
914
|
}
|
|
915
915
|
function xe(e) {
|
|
916
|
-
return !!
|
|
916
|
+
return !!be.CSS_UNIT.exec(String(e));
|
|
917
917
|
}
|
|
918
918
|
var Je = 2, Tn = 0.16, Or = 0.05, xr = 0.05, Cr = 0.15, Ia = 5, Fa = 4, Pr = [{
|
|
919
919
|
index: 7,
|
|
@@ -1426,7 +1426,7 @@ Ka(Tr.primary);
|
|
|
1426
1426
|
var Z = function(n, t) {
|
|
1427
1427
|
var a, l = Nn({}, n, t.attrs), r = l.class, o = l.icon, i = l.spin, s = l.rotate, c = l.tabindex, p = l.twoToneColor, f = l.onClick, g = so(l, no), h = Ha(), d = h.prefixCls, m = h.rootClassName, w = (a = {}, Le(a, m.value, !!m.value), Le(a, d.value, !0), Le(a, "".concat(d.value, "-").concat(o.name), !!o.name), Le(a, "".concat(d.value, "-spin"), !!i || o.name === "loading"), a), C = c;
|
|
1428
1428
|
C === void 0 && f && (C = -1);
|
|
1429
|
-
var
|
|
1429
|
+
var S = 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];
|
|
@@ -1441,7 +1441,7 @@ var Z = function(n, t) {
|
|
|
1441
1441
|
icon: o,
|
|
1442
1442
|
primaryColor: _,
|
|
1443
1443
|
secondaryColor: z,
|
|
1444
|
-
style:
|
|
1444
|
+
style: S
|
|
1445
1445
|
}, null), D(to, null, null)]);
|
|
1446
1446
|
};
|
|
1447
1447
|
Z.props = {
|
|
@@ -2162,10 +2162,10 @@ function ci(e) {
|
|
|
2162
2162
|
if (m.requestRow && !u(C))
|
|
2163
2163
|
return;
|
|
2164
2164
|
if (m.requestType === "modal" || m.requestType === "open") {
|
|
2165
|
-
let
|
|
2165
|
+
let S = m.requestUrl;
|
|
2166
2166
|
const y = Q(m.componentType, o.componentType);
|
|
2167
|
-
if ((y === "iframe" || m.requestType === "open") && (
|
|
2168
|
-
const v = ui(
|
|
2167
|
+
if ((y === "iframe" || m.requestType === "open") && (S = te(l.ctxPath, S), m.requestRow && S.split("?").length > 1)) {
|
|
2168
|
+
const v = ui(S.split("?")[1]);
|
|
2169
2169
|
for (const _ in v) {
|
|
2170
2170
|
const z = v[_];
|
|
2171
2171
|
if (a.checkboxConfig) {
|
|
@@ -2173,16 +2173,16 @@ function ci(e) {
|
|
|
2173
2173
|
for (const L in C)
|
|
2174
2174
|
for (const G in C[L])
|
|
2175
2175
|
G === z && C[L][G] && (H[C[L][G]] = C[L][G]);
|
|
2176
|
-
let
|
|
2176
|
+
let I = "";
|
|
2177
2177
|
for (const L in H)
|
|
2178
|
-
|
|
2179
|
-
|
|
2178
|
+
I = (I ? I + "," : "") + L;
|
|
2179
|
+
S = S.replace("{" + z + "}", I);
|
|
2180
2180
|
} else
|
|
2181
|
-
|
|
2181
|
+
S = S.replace("{" + z + "}", C[z]);
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
if (m.requestType === "modal") {
|
|
2185
|
-
if (t.title = Q(m.title, o.title), t.width = Q(m.width, o.width), t.height = Q(m.height, o.height), t.maximize = Q(m.maximize, !1), t.autoLoad = Q(m.autoLoad, !0), t.componentType = y, t.componentUrl =
|
|
2185
|
+
if (t.title = Q(m.title, o.title), t.width = Q(m.width, o.width), t.height = Q(m.height, o.height), t.maximize = Q(m.maximize, !1), t.autoLoad = Q(m.autoLoad, !0), t.componentType = y, t.componentUrl = S, 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,24 +2196,24 @@ function ci(e) {
|
|
|
2196
2196
|
t.componentParams[T.buttonKeyName] = m;
|
|
2197
2197
|
t.visible = !0;
|
|
2198
2198
|
} else
|
|
2199
|
-
window.open(
|
|
2199
|
+
window.open(S, "_blank");
|
|
2200
2200
|
} else
|
|
2201
2201
|
ot(
|
|
2202
2202
|
m.requestTitle,
|
|
2203
2203
|
() => {
|
|
2204
|
-
let
|
|
2205
|
-
if (
|
|
2204
|
+
let S = te(l.ctxPath, m.requestUrl);
|
|
2205
|
+
if (S.split("?").length > 1) {
|
|
2206
2206
|
if (a.radioConfig)
|
|
2207
2207
|
for (const y in C)
|
|
2208
|
-
|
|
2208
|
+
S = S.replace("{" + y + "}", C[y]);
|
|
2209
2209
|
else if (a.checkboxConfig && m.requestRadio)
|
|
2210
2210
|
for (const y in C[0])
|
|
2211
|
-
|
|
2211
|
+
S = S.replace("{" + y + "}", C[0][y]);
|
|
2212
2212
|
}
|
|
2213
2213
|
ca(
|
|
2214
2214
|
n,
|
|
2215
2215
|
a,
|
|
2216
|
-
|
|
2216
|
+
S,
|
|
2217
2217
|
m.requestRow ? C : d,
|
|
2218
2218
|
!!(a.checkboxConfig && m.requestRow && C.length !== 1)
|
|
2219
2219
|
);
|
|
@@ -2225,21 +2225,21 @@ function ci(e) {
|
|
|
2225
2225
|
if (d.requestType === "modal" || d.requestType === "open") {
|
|
2226
2226
|
let w = d.requestUrl;
|
|
2227
2227
|
const C = Q(d.componentType, o.componentType);
|
|
2228
|
-
let
|
|
2228
|
+
let S = !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 && (S = !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
|
+
S = !0;
|
|
2240
2240
|
else
|
|
2241
|
-
|
|
2242
|
-
if (
|
|
2241
|
+
S = !0;
|
|
2242
|
+
if (S)
|
|
2243
2243
|
d.requestType === "modal" ? (m[T.buttonKeyName] = d, t.title = Q(d.title, o.title), t.width = Q(d.width, o.width), t.height = Q(d.height, o.height), t.maximize = Q(d.maximize, !1), t.autoLoad = Q(d.autoLoad, !0), t.componentType = C, t.componentUrl = w, t.componentParams = m, t.visible = !0) : window.open(w, "_blank");
|
|
2244
2244
|
else {
|
|
2245
2245
|
De("该单据没有相应数据,无法进行本次操作");
|
|
@@ -2293,13 +2293,13 @@ function di(e) {
|
|
|
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 S = f.requestDownload;
|
|
2297
|
+
if (u(S)) {
|
|
2298
2298
|
if (l.loading) {
|
|
2299
2299
|
De("正在导出中,请不要重复点击!");
|
|
2300
2300
|
return;
|
|
2301
2301
|
}
|
|
2302
|
-
if (p.isMerge && typeof
|
|
2302
|
+
if (p.isMerge && typeof S != "object") {
|
|
2303
2303
|
De("合并列模式请设置requestDownload参数为表格列格式");
|
|
2304
2304
|
return;
|
|
2305
2305
|
}
|
|
@@ -2320,12 +2320,12 @@ function di(e) {
|
|
|
2320
2320
|
currentPage: 1,
|
|
2321
2321
|
pageSize: 25e3
|
|
2322
2322
|
}, H, _, z, t, o);
|
|
2323
|
-
if (typeof
|
|
2324
|
-
|
|
2323
|
+
if (typeof S == "string") {
|
|
2324
|
+
S = te(s.ctxPath, f.requestDownload);
|
|
2325
2325
|
let G = "";
|
|
2326
2326
|
Object.keys(L).forEach((N) => {
|
|
2327
2327
|
u(L[N]) && (typeof L[N] == "string" && (G += "&" + N + "=" + L[N]), typeof L[N] == "object" && Array.isArray(L[N]) && (G += "&" + N + "=" + L[N].join(",")));
|
|
2328
|
-
}), le("导出表格参数", [
|
|
2328
|
+
}), le("导出表格参数", [S, G]), ii(S + G);
|
|
2329
2329
|
} else
|
|
2330
2330
|
l.loading = !0, L.exportFlag = !0, r(L, f.requestData, !0).then(async (G) => {
|
|
2331
2331
|
if (G == null || G.rows.length == 0) {
|
|
@@ -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 : S,
|
|
2346
2346
|
mergeCells: i(G.rows)
|
|
2347
2347
|
};
|
|
2348
2348
|
m(N), l.loading = !1;
|
|
@@ -2383,12 +2383,12 @@ function di(e) {
|
|
|
2383
2383
|
},
|
|
2384
2384
|
switchColumsEvent: (m, w = !1) => {
|
|
2385
2385
|
if (u(c.tableColumnsExtra)) {
|
|
2386
|
-
const C = c.tableColumns,
|
|
2386
|
+
const C = c.tableColumns, S = 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 : S, l.showOverflow = y.switchShowOverflow) : (l.params.switchType = "1", l.columns = C, l.showOverflow = Q(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" ? S : C, l.showOverflow = !l.showOverflow, ql(m, s.templateType, {
|
|
2392
2392
|
switchType: l.params.switchType,
|
|
2393
2393
|
switchShowOverflow: l.showOverflow
|
|
2394
2394
|
});
|
|
@@ -2407,31 +2407,31 @@ const $e = /* @__PURE__ */ W({
|
|
|
2407
2407
|
},
|
|
2408
2408
|
setup(e) {
|
|
2409
2409
|
const n = e;
|
|
2410
|
-
return (t, a) => (x(),
|
|
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(
|
|
2410
|
+
return (t, a) => (x(), U(fe, null, [
|
|
2411
|
+
n.icon === "user" ? (x(), V(b(ln), { key: 0 })) : q("", !0),
|
|
2412
|
+
n.icon === "excel" ? (x(), V(b(It), { key: 1 })) : q("", !0),
|
|
2413
|
+
n.icon === "download" ? (x(), V(b(Et), { key: 2 })) : q("", !0),
|
|
2414
|
+
n.icon === "save" ? (x(), V(b(Kt), { key: 3 })) : q("", !0),
|
|
2415
|
+
n.icon === "edit" ? (x(), V(b(Lt), { key: 4 })) : q("", !0),
|
|
2416
|
+
n.icon === "delete" ? (x(), V(b(Rt), { key: 5 })) : q("", !0),
|
|
2417
|
+
n.icon === "down" ? (x(), V(b(ft), { key: 6 })) : q("", !0),
|
|
2418
|
+
n.icon === "up" ? (x(), V(b(an), { key: 7 })) : q("", !0),
|
|
2419
|
+
n.icon === "undo" ? (x(), V(b(nn), { key: 8 })) : q("", !0),
|
|
2420
|
+
n.icon === "redo" ? (x(), V(b(Qt), { key: 9 })) : q("", !0),
|
|
2421
|
+
n.icon === "copy" ? (x(), V(b(Nt), { key: 10 })) : q("", !0),
|
|
2422
|
+
n.icon === "print" ? (x(), V(b(Zt), { key: 11 })) : q("", !0),
|
|
2423
|
+
n.icon === "plus" ? (x(), V(b(Jt), { key: 12 })) : q("", !0),
|
|
2424
|
+
n.icon === "minus" ? (x(), V(b(Gt), { key: 13 })) : q("", !0),
|
|
2425
|
+
n.icon === "info" ? (x(), V(b(Yt), { key: 14 })) : q("", !0),
|
|
2426
|
+
n.icon === "audit" ? (x(), V(b(qt), { key: 15 })) : q("", !0),
|
|
2427
|
+
n.icon === "schedule" ? (x(), V(b(Xt), { key: 16 })) : q("", !0),
|
|
2428
|
+
n.icon === "close" ? (x(), V(b(Bt), { key: 17 })) : q("", !0),
|
|
2429
|
+
n.icon === "stop" ? (x(), V(b(tn), { key: 18 })) : q("", !0),
|
|
2430
|
+
n.icon === "check" ? (x(), V(b(Dt), { key: 19 })) : q("", !0),
|
|
2431
|
+
n.icon === "setting" ? (x(), V(b(en), { key: 20 })) : q("", !0),
|
|
2432
|
+
n.icon === "menu" ? (x(), V(b(Wt), { key: 21 })) : q("", !0),
|
|
2433
|
+
n.icon === "pdf" ? (x(), V(b(Ft), { key: 22 })) : q("", !0),
|
|
2434
|
+
!n.icon || n.icon === "" ? (x(), V(b(Ht), { key: 23 })) : q("", !0)
|
|
2435
2435
|
], 64));
|
|
2436
2436
|
}
|
|
2437
2437
|
});
|
|
@@ -2540,7 +2540,7 @@ function Si() {
|
|
|
2540
2540
|
var r = a.prototype, o = function(f) {
|
|
2541
2541
|
return f && (f.indexOf ? f : f.s);
|
|
2542
2542
|
}, i = function(f, g, h, d, m) {
|
|
2543
|
-
var w = f.name ? f : f.$locale(), C = o(w[g]),
|
|
2543
|
+
var w = f.name ? f : f.$locale(), C = o(w[g]), S = o(w[h]), y = C || S.map((function(_) {
|
|
2544
2544
|
return _.slice(0, d);
|
|
2545
2545
|
}));
|
|
2546
2546
|
if (!m) return y;
|
|
@@ -2609,7 +2609,7 @@ function Si() {
|
|
|
2609
2609
|
})(nt)), nt.exports;
|
|
2610
2610
|
}
|
|
2611
2611
|
var wi = Si();
|
|
2612
|
-
const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER",
|
|
2612
|
+
const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ve = "CONSTANT_PAGE_OPTIONS", _i = (e, n = "") => u(e) ? e : n, Oi = (e, n) => (n = u(n) ? n : 2, u(e) ? e.toFixed(n) : 0), Tt = (e, n) => (n = u(n) ? n : 2, u(e) ? `${Te.commafy(Number(e), { digits: n })}` : e), al = (e) => sn(e, "yyyy-MM-dd"), ll = (e) => sn(e, "yyyy-MM-dd HH:mm:ss"), sn = (e, n) => Te.toDateString(e, n), at = (e, n) => e && e.length > n ? e.substring(0, n) + "..." : e, xi = (e, n) => typeof n == "string" ? n === "number" ? Tt(e) : n === "date" ? al(e) : n === "datetime" ? ll(e) : at(e, 200) : typeof n == "object" && n instanceof Array && n[0] === "number" ? Tt(e, n[1]) : at(e, 200), $ = {
|
|
2613
2613
|
toString: _i,
|
|
2614
2614
|
toDateString: al,
|
|
2615
2615
|
toDatetimeString: ll,
|
|
@@ -2634,7 +2634,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "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(
|
|
2637
|
+
const a = e, l = $.toString(a.picker, "date"), r = a.picker === "date" ? "day" : a.picker, o = $.toString(a.format, "YYYY-MM-DD"), i = de(ve), s = ze(i?.size);
|
|
2638
2638
|
let c = j();
|
|
2639
2639
|
const p = [
|
|
2640
2640
|
{ label: "当天", value: [A().add(0, r)] },
|
|
@@ -2670,28 +2670,28 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2670
2670
|
u(_) ? A().add(_, r) : null,
|
|
2671
2671
|
u(z) ? A().add(z, r) : null
|
|
2672
2672
|
] : c.value = [u(_) ? A(_) : null, u(z) ? A(z) : null], d("update:value", w());
|
|
2673
|
-
},
|
|
2673
|
+
}, S = () => {
|
|
2674
2674
|
u(a.defaultValue) ? C([a.defaultValue, null]) : C(null);
|
|
2675
2675
|
}, y = () => "dateRange";
|
|
2676
|
-
return
|
|
2677
|
-
|
|
2676
|
+
return oe(() => {
|
|
2677
|
+
S();
|
|
2678
2678
|
}), n({
|
|
2679
2679
|
setValue: C,
|
|
2680
2680
|
getValue: w,
|
|
2681
|
-
resetValue:
|
|
2681
|
+
resetValue: S,
|
|
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: b(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: b(Fe),
|
|
2691
2691
|
allowEmpty: [!0, !0],
|
|
2692
|
-
format:
|
|
2693
|
-
picker:
|
|
2694
|
-
size:
|
|
2692
|
+
format: b(o),
|
|
2693
|
+
picker: b(l),
|
|
2694
|
+
size: b(s),
|
|
2695
2695
|
style: { width: "100%" }
|
|
2696
2696
|
}, null, 8, ["value", "presets", "locale", "format", "picker", "size"]);
|
|
2697
2697
|
};
|
|
@@ -2712,7 +2712,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "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(
|
|
2715
|
+
const a = e, l = de(ve), r = ze(l?.size), o = $.toString(a.picker, "date"), i = $.toString(a.format, "YYYY-MM-DD"), s = t;
|
|
2716
2716
|
let c = j();
|
|
2717
2717
|
const p = (d, m) => {
|
|
2718
2718
|
le("日期选值", m), !m || m == "" ? s("update:value", null) : s("update:value", m);
|
|
@@ -2724,7 +2724,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2724
2724
|
}, h = () => {
|
|
2725
2725
|
u(a.defaultValue) ? g(a.defaultValue) : g(null);
|
|
2726
2726
|
};
|
|
2727
|
-
return
|
|
2727
|
+
return oe(() => {
|
|
2728
2728
|
h();
|
|
2729
2729
|
}), n({
|
|
2730
2730
|
setValue: g,
|
|
@@ -2733,13 +2733,13 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2733
2733
|
}), (d, m) => {
|
|
2734
2734
|
const w = E("a-date-picker");
|
|
2735
2735
|
return x(), V(w, {
|
|
2736
|
-
value:
|
|
2736
|
+
value: b(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: b(Fe),
|
|
2740
|
+
format: b(i),
|
|
2741
|
+
picker: b(o),
|
|
2742
|
+
size: b(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", ge = "CONST
|
|
|
2759
2759
|
},
|
|
2760
2760
|
emits: ["update:value"],
|
|
2761
2761
|
setup(e, { expose: n, emit: t }) {
|
|
2762
|
-
const a = e, l = de(
|
|
2762
|
+
const a = e, l = de(ve), r = ze(l?.size), o = j(null), i = Q(a.placeholder, "请输入" + a.title), s = t, c = () => {
|
|
2763
2763
|
s("update:value", o.value);
|
|
2764
2764
|
};
|
|
2765
2765
|
return n({
|
|
@@ -2770,18 +2770,18 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2770
2770
|
resetValue: () => {
|
|
2771
2771
|
o.value = a.defaultValue || "", s("update:value", o.value);
|
|
2772
2772
|
}
|
|
2773
|
-
}),
|
|
2773
|
+
}), oe(() => {
|
|
2774
2774
|
s("update:value", o.value);
|
|
2775
2775
|
}), (h, d) => {
|
|
2776
2776
|
const m = E("a-input");
|
|
2777
2777
|
return x(), V(m, {
|
|
2778
2778
|
value: o.value,
|
|
2779
2779
|
"onUpdate:value": d[0] || (d[0] = (w) => o.value = w),
|
|
2780
|
-
placeholder:
|
|
2780
|
+
placeholder: b(i),
|
|
2781
2781
|
disabled: a.disabled,
|
|
2782
2782
|
type: a.inputType,
|
|
2783
2783
|
onChange: c,
|
|
2784
|
-
size:
|
|
2784
|
+
size: b(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", ge = "CONST
|
|
|
2802
2802
|
},
|
|
2803
2803
|
emits: ["update:value"],
|
|
2804
2804
|
setup(e, { expose: n, emit: t }) {
|
|
2805
|
-
const a = e, l = de(
|
|
2806
|
-
let
|
|
2807
|
-
return !
|
|
2808
|
-
}, h = (
|
|
2805
|
+
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = l?.requestDictUrl || "", s = ze(l?.size), c = j(a.multiple ? [] : null), p = t, f = j([]), g = async () => {
|
|
2806
|
+
let S = a.request.requestUrl;
|
|
2807
|
+
return !S && r && (S = i), S ? (S = te(o, S), await rn(r, S, a.request)) : (le("下拉框插槽未获取到请求地址"), []);
|
|
2808
|
+
}, h = (S, y) => y.label.toLowerCase().indexOf(S.toLowerCase()) >= 0, d = () => {
|
|
2809
2809
|
p("update:value", c.value);
|
|
2810
|
-
}, m = () => c.value, w = (
|
|
2811
|
-
c.value =
|
|
2810
|
+
}, m = () => c.value, w = (S) => {
|
|
2811
|
+
c.value = S, p("update:value", c.value);
|
|
2812
2812
|
};
|
|
2813
2813
|
return n({
|
|
2814
2814
|
getValue: m,
|
|
@@ -2816,13 +2816,13 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2816
2816
|
resetValue: () => {
|
|
2817
2817
|
a.multiple ? w(a.defaultValue || []) : w(a.defaultValue || null);
|
|
2818
2818
|
}
|
|
2819
|
-
}),
|
|
2820
|
-
p("update:value", c.value), g().then((
|
|
2821
|
-
f.value =
|
|
2819
|
+
}), oe(() => {
|
|
2820
|
+
p("update:value", c.value), g().then((S) => {
|
|
2821
|
+
f.value = S;
|
|
2822
2822
|
});
|
|
2823
|
-
}), (
|
|
2823
|
+
}), (S, y) => {
|
|
2824
2824
|
const v = E("a-select");
|
|
2825
|
-
return x(),
|
|
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 = _),
|
|
@@ -2837,7 +2837,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2837
2837
|
defaultActiveFirstOption: !a.multiple,
|
|
2838
2838
|
autoClearSearchValue: !a.filterable,
|
|
2839
2839
|
disabled: a.disabled,
|
|
2840
|
-
size:
|
|
2840
|
+
size: b(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", ge = "CONST
|
|
|
2862
2862
|
},
|
|
2863
2863
|
emits: ["update:value"],
|
|
2864
2864
|
setup(e, { expose: n, emit: t }) {
|
|
2865
|
-
const a = e, l = de(
|
|
2865
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = ze(l?.size), i = "请输入" + a.title + "搜索", s = j(""), c = j(""), p = j([]), f = t, g = j(!1), h = async (v) => {
|
|
2866
2866
|
if (p.value = [], v) {
|
|
2867
2867
|
g.value = !0;
|
|
2868
2868
|
const _ = {
|
|
@@ -2880,7 +2880,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2880
2880
|
});
|
|
2881
2881
|
}, 500), m = (v) => {
|
|
2882
2882
|
s.value = v, f("update:value", v);
|
|
2883
|
-
}, w = () => c.value, C = () => s.value,
|
|
2883
|
+
}, w = () => c.value, C = () => s.value, S = (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) => {
|
|
@@ -2890,25 +2890,25 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2890
2890
|
return n({
|
|
2891
2891
|
getName: w,
|
|
2892
2892
|
getValue: C,
|
|
2893
|
-
setValue:
|
|
2893
|
+
setValue: S,
|
|
2894
2894
|
resetValue: () => {
|
|
2895
|
-
|
|
2895
|
+
S(a.defaultValue, a.defaultName);
|
|
2896
2896
|
}
|
|
2897
2897
|
}), (v, _) => {
|
|
2898
2898
|
const z = E("a-spin"), H = E("a-select");
|
|
2899
|
-
return x(),
|
|
2899
|
+
return x(), U("div", Mi, [
|
|
2900
2900
|
D(H, {
|
|
2901
2901
|
value: s.value,
|
|
2902
|
-
"onUpdate:value": _[0] || (_[0] = (
|
|
2902
|
+
"onUpdate:value": _[0] || (_[0] = (I) => s.value = I),
|
|
2903
2903
|
placeholder: i,
|
|
2904
2904
|
disabled: a.disabled,
|
|
2905
2905
|
"filter-option": !1,
|
|
2906
2906
|
options: p.value,
|
|
2907
|
-
size:
|
|
2907
|
+
size: b(o),
|
|
2908
2908
|
"default-active-first-option": !1,
|
|
2909
2909
|
"show-arrow": !1,
|
|
2910
2910
|
onChange: m,
|
|
2911
|
-
onSearch:
|
|
2911
|
+
onSearch: b(d),
|
|
2912
2912
|
"allow-clear": "",
|
|
2913
2913
|
"show-search": "",
|
|
2914
2914
|
style: { width: "100%" }
|
|
@@ -2943,9 +2943,9 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2943
2943
|
},
|
|
2944
2944
|
emits: ["update:value"],
|
|
2945
2945
|
setup(e, { expose: n, emit: t }) {
|
|
2946
|
-
const a = e, l = de(
|
|
2946
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = ze(l?.size), i = "请输入" + a.title + "搜索", s = j(a.multiple ? [] : null), c = j(""), p = j([]), f = j([]), g = t, h = (v, _) => _.label.toLowerCase().indexOf(Pe(v).toLowerCase()) >= 0, d = async () => await Ne(te(r, a.requestUrl), a.requestParams), m = (v) => {
|
|
2947
2947
|
g("update:value", v);
|
|
2948
|
-
}, w = () => c.value, C = () => s.value,
|
|
2948
|
+
}, w = () => c.value, C = () => s.value, S = (v) => {
|
|
2949
2949
|
s.value = v, g("update:value", s.value);
|
|
2950
2950
|
let _ = f.value.filter((z) => z.value === s.value);
|
|
2951
2951
|
if (a.multiple) {
|
|
@@ -2959,15 +2959,15 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2959
2959
|
return n({
|
|
2960
2960
|
getName: w,
|
|
2961
2961
|
getValue: C,
|
|
2962
|
-
setValue:
|
|
2962
|
+
setValue: S,
|
|
2963
2963
|
resetValue: () => {
|
|
2964
|
-
a.multiple ?
|
|
2964
|
+
a.multiple ? S(a.defaultValue || []) : S(a.defaultValue || null);
|
|
2965
2965
|
}
|
|
2966
2966
|
}), d().then((v) => {
|
|
2967
2967
|
f.value = v, p.value = v;
|
|
2968
2968
|
}), (v, _) => {
|
|
2969
2969
|
const z = E("a-select");
|
|
2970
|
-
return x(),
|
|
2970
|
+
return x(), U("div", ji, [
|
|
2971
2971
|
D(z, {
|
|
2972
2972
|
value: s.value,
|
|
2973
2973
|
"onUpdate:value": _[0] || (_[0] = (H) => s.value = H),
|
|
@@ -2977,7 +2977,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
2977
2977
|
defaultActiveFirstOption: !a.multiple,
|
|
2978
2978
|
"filter-option": h,
|
|
2979
2979
|
options: p.value,
|
|
2980
|
-
size:
|
|
2980
|
+
size: b(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", ge = "CONST
|
|
|
3009
3009
|
},
|
|
3010
3010
|
emits: ["update:value", "change"],
|
|
3011
3011
|
setup(e, { expose: n, emit: t }) {
|
|
3012
|
-
const a = e, l = de(
|
|
3012
|
+
const a = e, l = de(ve), r = l?.application || "", o = l?.ctxPath || "", i = ze(l?.size), s = "请输入" + a.title + "搜索", c = a.fieldNames.label, p = a.fieldNames.value, f = j([]), g = j([]), h = async () => {
|
|
3013
3013
|
const _ = await Xa(
|
|
3014
3014
|
te(o, a.requestUrl),
|
|
3015
3015
|
a.requestParams,
|
|
@@ -3019,24 +3019,24 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
3019
3019
|
g.value = _;
|
|
3020
3020
|
}, d = t, m = (_, z) => {
|
|
3021
3021
|
u(z) ? (d("update:value", _[_.length - 1]), d("change", z[z.length - 1])) : (d("update:value", null), d("change", null));
|
|
3022
|
-
}, w = (_, z) => z.some((H) => H[c].indexOf(_) > -1), C = () => g.value.filter((z) => z[p] === f.value[f.value.length - 1])[c],
|
|
3022
|
+
}, w = (_, z) => z.some((H) => H[c].indexOf(_) > -1), C = () => g.value.filter((z) => z[p] === f.value[f.value.length - 1])[c], S = () => f.value, y = (_) => {
|
|
3023
3023
|
f.value = _, d("update:value", _);
|
|
3024
3024
|
}, v = () => {
|
|
3025
3025
|
f.value = null, d("update:value", null), d("change", null);
|
|
3026
3026
|
};
|
|
3027
|
-
return
|
|
3027
|
+
return oe(() => {
|
|
3028
3028
|
h();
|
|
3029
3029
|
}), n({
|
|
3030
3030
|
getName: C,
|
|
3031
|
-
getValue:
|
|
3031
|
+
getValue: S,
|
|
3032
3032
|
setValue: y,
|
|
3033
3033
|
resetValue: v
|
|
3034
3034
|
}), (_, z) => {
|
|
3035
3035
|
const H = E("a-cascader");
|
|
3036
|
-
return x(),
|
|
3036
|
+
return x(), U("div", Vi, [
|
|
3037
3037
|
D(H, {
|
|
3038
3038
|
value: f.value,
|
|
3039
|
-
"onUpdate:value": z[0] || (z[0] = (
|
|
3039
|
+
"onUpdate:value": z[0] || (z[0] = (I) => f.value = I),
|
|
3040
3040
|
options: g.value,
|
|
3041
3041
|
fieldNames: a.fieldNames,
|
|
3042
3042
|
"show-search": { filter: w },
|
|
@@ -3044,7 +3044,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
3044
3044
|
clearable: a.clearable,
|
|
3045
3045
|
changeOnSelect: a.changeOnSelect,
|
|
3046
3046
|
placeholder: s,
|
|
3047
|
-
size:
|
|
3047
|
+
size: b(i),
|
|
3048
3048
|
onChange: m,
|
|
3049
3049
|
style: { width: "100%" }
|
|
3050
3050
|
}, null, 8, ["value", "options", "fieldNames", "show-search", "disabled", "clearable", "changeOnSelect", "size"])
|
|
@@ -3058,7 +3058,7 @@ const pt = /* @__PURE__ */ tl(wi), nl = "CONSTANT_DIALOG_CONTAINER", ge = "CONST
|
|
|
3058
3058
|
return t;
|
|
3059
3059
|
}, Bi = {};
|
|
3060
3060
|
function Ni(e, n) {
|
|
3061
|
-
return x(),
|
|
3061
|
+
return x(), U("h2", null, "未获取到页面信息,请联系管理员!");
|
|
3062
3062
|
}
|
|
3063
3063
|
const Ri = /* @__PURE__ */ Di(Bi, [["render", Ni]]);
|
|
3064
3064
|
function ma(e, n = {}) {
|
|
@@ -3145,16 +3145,16 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3145
3145
|
console.log("iframe关闭触发", C), c();
|
|
3146
3146
|
});
|
|
3147
3147
|
};
|
|
3148
|
-
return
|
|
3148
|
+
return oe(() => {
|
|
3149
3149
|
le("SagVxeDialog弹出参数", t), t.maximize && (f.value.fullScreen = !0);
|
|
3150
|
-
}), (C,
|
|
3150
|
+
}), (C, S) => {
|
|
3151
3151
|
const y = E("vxe-button"), v = E("a-modal");
|
|
3152
|
-
return x(),
|
|
3152
|
+
return x(), U("div", Li, [
|
|
3153
3153
|
D(v, {
|
|
3154
3154
|
ref_key: "gridModal",
|
|
3155
3155
|
ref: f,
|
|
3156
3156
|
open: t.visible,
|
|
3157
|
-
"get-container":
|
|
3157
|
+
"get-container": b(l),
|
|
3158
3158
|
width: g.width,
|
|
3159
3159
|
"body-style": {
|
|
3160
3160
|
height: g.height,
|
|
@@ -3181,16 +3181,16 @@ 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(b(r)), ee({ key: 0 }, t.componentParams, {
|
|
3185
3185
|
onCancel: c,
|
|
3186
3186
|
onSubmit: p
|
|
3187
3187
|
}), null, 16)) : q("", !0),
|
|
3188
|
-
t.componentType === "iframe" ? (x(),
|
|
3188
|
+
t.componentType === "iframe" ? (x(), U("iframe", {
|
|
3189
3189
|
key: 1,
|
|
3190
3190
|
ref_key: "iframeRef",
|
|
3191
3191
|
ref: m,
|
|
3192
3192
|
id: d,
|
|
3193
|
-
src:
|
|
3193
|
+
src: b(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(
|
|
3216
|
+
const a = e, l = de(ve), r = j(null), o = Q(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);
|
|
@@ -3224,15 +3224,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3224
3224
|
resetValue: () => {
|
|
3225
3225
|
p(a.defaultValue || null);
|
|
3226
3226
|
}
|
|
3227
|
-
}),
|
|
3227
|
+
}), oe(() => {
|
|
3228
3228
|
i("update:value", c());
|
|
3229
3229
|
}), (g, h) => {
|
|
3230
3230
|
const d = E("vxe-input", !0);
|
|
3231
3231
|
return x(), V(d, {
|
|
3232
3232
|
"model-value": r.value,
|
|
3233
|
-
placeholder:
|
|
3233
|
+
placeholder: b(o),
|
|
3234
3234
|
disabled: a.disabled,
|
|
3235
|
-
size:
|
|
3235
|
+
size: b(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(
|
|
3261
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = l?.application || "", i = l?.requestDictUrl || "", s = "请输入" + a.title + "搜索", c = j(""), p = j(""), f = j([]), g = t, h = ne({
|
|
3262
3262
|
multiple: a.multiple,
|
|
3263
3263
|
filterable: a.filterable,
|
|
3264
3264
|
clearable: a.clearable,
|
|
@@ -3274,7 +3274,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
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, S = (v) => {
|
|
3278
3278
|
c.value = v, g("update:value", c.value);
|
|
3279
3279
|
let _ = f.value.filter((z) => z.value === c.value);
|
|
3280
3280
|
_.length === 1 && (p.value = _[0].label);
|
|
@@ -3282,11 +3282,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3282
3282
|
return n({
|
|
3283
3283
|
getName: w,
|
|
3284
3284
|
getValue: C,
|
|
3285
|
-
setValue:
|
|
3285
|
+
setValue: S,
|
|
3286
3286
|
resetValue: () => {
|
|
3287
|
-
|
|
3287
|
+
S(a.defaultValue);
|
|
3288
3288
|
}
|
|
3289
|
-
}),
|
|
3289
|
+
}), oe(() => {
|
|
3290
3290
|
d().then((v) => {
|
|
3291
3291
|
!a.multiple && a.selectAll && (v = [{ label: "--全部--", value: "" }].concat(v)), f.value = v, h.options = v;
|
|
3292
3292
|
});
|
|
@@ -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: b(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(
|
|
3324
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t, f = ne({
|
|
3325
3325
|
clearable: !0,
|
|
3326
3326
|
filterable: !0,
|
|
3327
3327
|
disabled: a.disabled,
|
|
@@ -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(
|
|
3334
|
+
async queryMethod({ searchValue: S }) {
|
|
3335
|
+
const y = await g(S);
|
|
3336
3336
|
f.options = y, c.value = y;
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
|
-
}), g = async (
|
|
3340
|
-
if (c.value = [],
|
|
3339
|
+
}), g = async (S) => {
|
|
3340
|
+
if (c.value = [], S) {
|
|
3341
3341
|
const y = {
|
|
3342
|
-
searchValue: Pe(
|
|
3342
|
+
searchValue: Pe(S)
|
|
3343
3343
|
};
|
|
3344
3344
|
return await Ne(te(r, a.requestUrl), {
|
|
3345
3345
|
...a.requestParams,
|
|
@@ -3347,12 +3347,12 @@ 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
|
-
}, d = () => s.value, m = () => i.value, w = (
|
|
3353
|
-
i.value =
|
|
3350
|
+
}, h = ({ value: S }) => {
|
|
3351
|
+
p("update:value", S);
|
|
3352
|
+
}, d = () => s.value, m = () => i.value, w = (S) => {
|
|
3353
|
+
i.value = S;
|
|
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(S).then((v) => {
|
|
3356
3356
|
c.value = v;
|
|
3357
3357
|
}), p("update:value", i.value);
|
|
3358
3358
|
};
|
|
@@ -3363,13 +3363,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3363
3363
|
resetValue: () => {
|
|
3364
3364
|
w(a.defaultValue);
|
|
3365
3365
|
}
|
|
3366
|
-
}), (
|
|
3366
|
+
}), (S, 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
3371
|
}, f, {
|
|
3372
|
-
size:
|
|
3372
|
+
size: b(l)?.size,
|
|
3373
3373
|
onChange: h,
|
|
3374
3374
|
style: { width: "100%" }
|
|
3375
3375
|
}), null, 16, ["modelValue", "size"]);
|
|
@@ -3394,20 +3394,20 @@ 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(
|
|
3397
|
+
const a = e, l = de(ve), r = l?.ctxPath || "", o = "请输入" + a.title + "搜索", i = j(""), s = j(""), c = j([]), p = t, f = ne({
|
|
3398
3398
|
filterable: !0,
|
|
3399
3399
|
clearable: !0,
|
|
3400
3400
|
disabled: a.disabled,
|
|
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: S, option: y }) {
|
|
3405
|
+
return y.label.toLowerCase().indexOf(Pe(S).toLowerCase()) >= 0;
|
|
3406
3406
|
}
|
|
3407
|
-
}), g = async () => await Ne(te(r, a.requestUrl), a.requestParams), h = ({ value:
|
|
3408
|
-
p("update:value",
|
|
3409
|
-
}, d = () => s.value, m = () => i.value, w = (
|
|
3410
|
-
i.value =
|
|
3407
|
+
}), g = async () => await Ne(te(r, a.requestUrl), a.requestParams), h = ({ value: S }) => {
|
|
3408
|
+
p("update:value", S);
|
|
3409
|
+
}, d = () => s.value, m = () => i.value, w = (S) => {
|
|
3410
|
+
i.value = S, 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
|
};
|
|
@@ -3418,17 +3418,17 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3418
3418
|
resetValue: () => {
|
|
3419
3419
|
w(a.defaultValue);
|
|
3420
3420
|
}
|
|
3421
|
-
}),
|
|
3422
|
-
g().then((
|
|
3423
|
-
c.value =
|
|
3421
|
+
}), oe(() => {
|
|
3422
|
+
g().then((S) => {
|
|
3423
|
+
c.value = S, f.options = S;
|
|
3424
3424
|
});
|
|
3425
|
-
}), (
|
|
3425
|
+
}), (S, y) => {
|
|
3426
3426
|
const v = E("vxe-select");
|
|
3427
3427
|
return x(), V(v, ee({
|
|
3428
3428
|
modelValue: i.value,
|
|
3429
3429
|
"onUpdate:modelValue": y[0] || (y[0] = (_) => i.value = _)
|
|
3430
3430
|
}, f, {
|
|
3431
|
-
size:
|
|
3431
|
+
size: b(l)?.size,
|
|
3432
3432
|
onChange: h,
|
|
3433
3433
|
style: { width: "100%" }
|
|
3434
3434
|
}), null, 16, ["modelValue", "size"]);
|
|
@@ -3679,8 +3679,8 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3679
3679
|
)
|
|
3680
3680
|
}
|
|
3681
3681
|
}), h = T.application + "_" + r.templateType, d = "sag_vxe_page_div_panel_" + h;
|
|
3682
|
-
Sn(
|
|
3683
|
-
const m = Object.keys(Be()), w = m.filter((k) => k.startsWith("items_")), C = m.filter((k) => k.startsWith("cols_")),
|
|
3682
|
+
Sn(ve, r), Sn(nl, () => document.getElementById(b(d)));
|
|
3683
|
+
const m = Object.keys(Be()), w = m.filter((k) => k.startsWith("items_")), C = m.filter((k) => k.startsWith("cols_")), S = m.filter((k) => k.startsWith("tools_")), y = j(), v = j(!0), _ = j(!1), z = j("none"), H = j(["1"]), I = j(0), L = ze(r.size), G = j(), N = ne({}), X = j([]), ke = j(), mt = j([]), gt = t, he = (k, O) => {
|
|
3684
3684
|
X.value[O] = k;
|
|
3685
3685
|
}, Ve = async () => {
|
|
3686
3686
|
const k = y.value;
|
|
@@ -3917,7 +3917,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3917
3917
|
showStatus: !0
|
|
3918
3918
|
}), u(p) && u(p.mergeKey) && (Y.cellStyle = pn, Y.params.mergeField = p.mergeKey, p.isMerge ? Y.columnDragConfig.dragStartMethod = () => !1 : (Y.virtualYConfig = { enabled: !1 }, Y.spanMethod = xn(p))), v.value = !1;
|
|
3919
3919
|
}, vl = (k, O) => k && k.length > 0 ? k && O ? k.some((R) => Re(O[R.buttonName]) && Re(R.auth)) : !0 : !1;
|
|
3920
|
-
|
|
3920
|
+
oe(async () => {
|
|
3921
3921
|
if (le("加载页面模板", r), await gl(), s.storage) {
|
|
3922
3922
|
const k = Bl(r.application, r.templateType);
|
|
3923
3923
|
if (u(k)) {
|
|
@@ -3942,14 +3942,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3942
3942
|
}), fl(), await Ve(), hn();
|
|
3943
3943
|
});
|
|
3944
3944
|
const hn = Te.debounce(() => {
|
|
3945
|
-
le("屏幕高度出现变化,重新计算表格高度"), c.clientScale === 1 &&
|
|
3946
|
-
|
|
3945
|
+
le("屏幕高度出现变化,重新计算表格高度"), c.clientScale === 1 && I.value == 0 && (window.onresize = () => {
|
|
3946
|
+
I.value = document.body.clientWidth;
|
|
3947
3947
|
}), lt(() => {
|
|
3948
3948
|
Cn(G.value, Y, c.clientScale);
|
|
3949
3949
|
});
|
|
3950
3950
|
}, T.templateTable.lazyComputdHeightTime);
|
|
3951
|
-
c.clientScale === 1 &&
|
|
3952
|
-
[H,
|
|
3951
|
+
c.clientScale === 1 && ge(
|
|
3952
|
+
[H, I],
|
|
3953
3953
|
() => {
|
|
3954
3954
|
hn();
|
|
3955
3955
|
},
|
|
@@ -3988,7 +3988,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
3988
3988
|
}
|
|
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
|
-
return wn((x(),
|
|
3991
|
+
return wn((x(), U("div", {
|
|
3992
3992
|
id: d,
|
|
3993
3993
|
class: "sag-vxe-page-wrapper"
|
|
3994
3994
|
}, [
|
|
@@ -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: b(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: b(L),
|
|
4042
4042
|
onClick: O[1] || (O[1] = (P) => un())
|
|
4043
4043
|
}, {
|
|
4044
4044
|
default: B(() => O[6] || (O[6] = [
|
|
@@ -4054,14 +4054,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4054
4054
|
D(Ci, ee({
|
|
4055
4055
|
value: N[P.field],
|
|
4056
4056
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4057
|
-
ref: (M) =>
|
|
4057
|
+
ref: (M) => he(M, P.field)
|
|
4058
4058
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value"])
|
|
4059
4059
|
]),
|
|
4060
4060
|
date: B((P) => [
|
|
4061
4061
|
D(Pi, ee({
|
|
4062
4062
|
value: N[P.field],
|
|
4063
4063
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4064
|
-
ref: (M) =>
|
|
4064
|
+
ref: (M) => he(M, P.field)
|
|
4065
4065
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value"])
|
|
4066
4066
|
]),
|
|
4067
4067
|
input: B((P) => [
|
|
@@ -4069,14 +4069,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4069
4069
|
key: 0,
|
|
4070
4070
|
value: N[P.field],
|
|
4071
4071
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4072
|
-
ref: (M) =>
|
|
4072
|
+
ref: (M) => he(M, P.field),
|
|
4073
4073
|
title: P?.item?.title
|
|
4074
4074
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4075
4075
|
s.vxeSlot ? q("", !0) : (x(), V(ki, ee({
|
|
4076
4076
|
key: 1,
|
|
4077
4077
|
value: N[P.field],
|
|
4078
4078
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4079
|
-
ref: (M) =>
|
|
4079
|
+
ref: (M) => he(M, P.field),
|
|
4080
4080
|
title: P?.item?.title
|
|
4081
4081
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4082
4082
|
]),
|
|
@@ -4085,13 +4085,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4085
4085
|
key: 0,
|
|
4086
4086
|
value: N[P.field],
|
|
4087
4087
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4088
|
-
ref: (M) =>
|
|
4088
|
+
ref: (M) => he(M, P.field)
|
|
4089
4089
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value"])) : q("", !0),
|
|
4090
4090
|
s.vxeSlot ? q("", !0) : (x(), V(Ai, ee({
|
|
4091
4091
|
key: 1,
|
|
4092
4092
|
value: N[P.field],
|
|
4093
4093
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4094
|
-
ref: (M) =>
|
|
4094
|
+
ref: (M) => he(M, P.field)
|
|
4095
4095
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value"]))
|
|
4096
4096
|
]),
|
|
4097
4097
|
selectList: B((P) => [
|
|
@@ -4099,14 +4099,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4099
4099
|
key: 0,
|
|
4100
4100
|
value: N[P.field],
|
|
4101
4101
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4102
|
-
ref: (M) =>
|
|
4102
|
+
ref: (M) => he(M, P.field),
|
|
4103
4103
|
title: P?.item?.title
|
|
4104
4104
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4105
4105
|
s.vxeSlot ? q("", !0) : (x(), V(zi, ee({
|
|
4106
4106
|
key: 1,
|
|
4107
4107
|
value: N[P.field],
|
|
4108
4108
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4109
|
-
ref: (M) =>
|
|
4109
|
+
ref: (M) => he(M, P.field),
|
|
4110
4110
|
title: P?.item?.title
|
|
4111
4111
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4112
4112
|
]),
|
|
@@ -4115,14 +4115,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4115
4115
|
key: 0,
|
|
4116
4116
|
value: N[P.field],
|
|
4117
4117
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4118
|
-
ref: (M) =>
|
|
4118
|
+
ref: (M) => he(M, P.field),
|
|
4119
4119
|
title: P?.item?.title
|
|
4120
4120
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4121
4121
|
s.vxeSlot ? q("", !0) : (x(), V($i, ee({
|
|
4122
4122
|
key: 1,
|
|
4123
4123
|
value: N[P.field],
|
|
4124
4124
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4125
|
-
ref: (M) =>
|
|
4125
|
+
ref: (M) => he(M, P.field),
|
|
4126
4126
|
title: P?.item?.title
|
|
4127
4127
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4128
4128
|
]),
|
|
@@ -4131,15 +4131,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4131
4131
|
value: N[P.field],
|
|
4132
4132
|
"onUpdate:value": (M) => N[P.field] = M,
|
|
4133
4133
|
title: P?.item?.title,
|
|
4134
|
-
ref: (M) =>
|
|
4134
|
+
ref: (M) => he(M, P.field)
|
|
4135
4135
|
}, P?.item?.itemRender?.props), null, 16, ["value", "onUpdate:value", "title"])
|
|
4136
4136
|
]),
|
|
4137
4137
|
_: 2
|
|
4138
4138
|
}, [
|
|
4139
|
-
Ce(
|
|
4139
|
+
Ce(b(w), (P) => ({
|
|
4140
4140
|
name: P,
|
|
4141
4141
|
fn: B((M) => [
|
|
4142
|
-
|
|
4142
|
+
re(k.$slots, P, ee(M, {
|
|
4143
4143
|
value: N[M.field]
|
|
4144
4144
|
}))
|
|
4145
4145
|
])
|
|
@@ -4152,7 +4152,7 @@ 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, b(u)(s.formItems)]
|
|
4156
4156
|
]),
|
|
4157
4157
|
K("div", Ki, [
|
|
4158
4158
|
D(wl, ee({
|
|
@@ -4172,33 +4172,33 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4172
4172
|
K("a", {
|
|
4173
4173
|
href: "javascript:void(0)",
|
|
4174
4174
|
class: "sag-vxe-page-link",
|
|
4175
|
-
onClick: (
|
|
4175
|
+
onClick: (ye) => b(mn)(P, M)
|
|
4176
4176
|
}, ae(P[M.property]), 9, Xi)
|
|
4177
4177
|
]),
|
|
4178
4178
|
vertical: B(({ row: P, column: M }) => [
|
|
4179
|
-
(x(!0),
|
|
4180
|
-
key:
|
|
4179
|
+
(x(!0), U(fe, null, Ce(M.params.childColumns, (ye) => (x(), U("div", {
|
|
4180
|
+
key: ye.value
|
|
4181
4181
|
}, [
|
|
4182
|
-
K("span", es, ae(
|
|
4182
|
+
K("span", es, ae(ye.title) + ":", 1),
|
|
4183
4183
|
O[7] || (O[7] = ce(" ")),
|
|
4184
|
-
|
|
4184
|
+
ye.formatter === "operate" ? (x(), U("span", ts, [
|
|
4185
4185
|
K("a", {
|
|
4186
4186
|
href: "javascript:void(0)",
|
|
4187
4187
|
class: "sag-vxe-page-link",
|
|
4188
|
-
onClick: (
|
|
4189
|
-
}, ae(P[
|
|
4190
|
-
])) : (x(),
|
|
4188
|
+
onClick: (Os) => b(mn)(P, ye)
|
|
4189
|
+
}, ae(P[ye.field]), 9, ns)
|
|
4190
|
+
])) : (x(), U("span", as, ae(b($).stringFormat(P[ye.field], ye.formatter)), 1))
|
|
4191
4191
|
]))), 128))
|
|
4192
4192
|
]),
|
|
4193
4193
|
button: B(({ row: P }) => [
|
|
4194
4194
|
K("div", ls, [
|
|
4195
|
-
(x(!0),
|
|
4196
|
-
|
|
4195
|
+
(x(!0), U(fe, null, Ce(f.tableButtons, (M) => (x(), U(fe, { key: M }, [
|
|
4196
|
+
b($).toString(P[M.buttonName], !0) && b(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: (
|
|
4200
|
+
type: b($).toString(M.status, "primary"),
|
|
4201
|
+
onClick: (ye) => b(He)(M, P)
|
|
4202
4202
|
}, {
|
|
4203
4203
|
icon: B(() => [
|
|
4204
4204
|
D($e, {
|
|
@@ -4210,11 +4210,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4210
4210
|
]),
|
|
4211
4211
|
_: 2
|
|
4212
4212
|
}, 1032, ["type", "onClick"])),
|
|
4213
|
-
c.showButtonLink ? (x(),
|
|
4213
|
+
c.showButtonLink ? (x(), U("a", {
|
|
4214
4214
|
key: 1,
|
|
4215
4215
|
href: "javascript:void(0)",
|
|
4216
4216
|
class: "sag-vxe-page-button-link",
|
|
4217
|
-
onClick: (
|
|
4217
|
+
onClick: (ye) => b(He)(M, P)
|
|
4218
4218
|
}, [
|
|
4219
4219
|
D($e, {
|
|
4220
4220
|
icon: M.icon
|
|
@@ -4232,12 +4232,12 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4232
4232
|
overlay: B(() => [
|
|
4233
4233
|
D(ie, null, {
|
|
4234
4234
|
default: B(() => [
|
|
4235
|
-
(x(!0),
|
|
4236
|
-
|
|
4237
|
-
|
|
4235
|
+
(x(!0), U(fe, null, Ce(f.tableMoreButtons, (M) => (x(), U(fe, { key: M }, [
|
|
4236
|
+
b(Re)(M.auth) ? (x(), U(fe, { key: 0 }, [
|
|
4237
|
+
b($).toString(P[M.buttonName], !0) ? (x(), V(Se, { key: 0 }, {
|
|
4238
4238
|
default: B(() => [
|
|
4239
4239
|
K("a", {
|
|
4240
|
-
onClick: (
|
|
4240
|
+
onClick: (ye) => b(He)(M, P)
|
|
4241
4241
|
}, [
|
|
4242
4242
|
D($e, {
|
|
4243
4243
|
icon: M.icon
|
|
@@ -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(b(ft))
|
|
4264
4264
|
]),
|
|
4265
4265
|
_: 1
|
|
4266
4266
|
}, 8, ["type"])
|
|
@@ -4269,19 +4269,19 @@ 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
|
+
b(u)(f.formButtons) && f.formButtons.length > 0 ? (x(), V(F, {
|
|
4273
4273
|
key: 0,
|
|
4274
4274
|
wrap: !0,
|
|
4275
4275
|
style: { "margin-bottom": "0px" }
|
|
4276
4276
|
}, {
|
|
4277
4277
|
default: B(() => [
|
|
4278
|
-
(x(!0),
|
|
4279
|
-
|
|
4278
|
+
(x(!0), U(fe, null, Ce(f.formButtons, (P) => (x(), U("span", { key: P }, [
|
|
4279
|
+
b(Re)(P.auth) ? (x(), V(R, {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
round: "",
|
|
4282
|
-
size:
|
|
4283
|
-
type:
|
|
4284
|
-
onClick: (M) =>
|
|
4282
|
+
size: b(L),
|
|
4283
|
+
type: b($).toString(P.status, "primary"),
|
|
4284
|
+
onClick: (M) => b(pl)(P)
|
|
4285
4285
|
}, {
|
|
4286
4286
|
icon: B(() => [
|
|
4287
4287
|
D($e, {
|
|
@@ -4297,14 +4297,14 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4297
4297
|
]),
|
|
4298
4298
|
_: 1
|
|
4299
4299
|
})) : q("", !0),
|
|
4300
|
-
(x(!0),
|
|
4300
|
+
(x(!0), U(fe, null, Ce(b(S), (P) => re(k.$slots, P)), 256))
|
|
4301
4301
|
]),
|
|
4302
4302
|
toolbar_tools: B(() => [
|
|
4303
|
-
|
|
4303
|
+
b(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) => b(vn)(r.application, !1)),
|
|
4308
4308
|
title: "切换"
|
|
4309
4309
|
}, {
|
|
4310
4310
|
default: B(() => O[10] || (O[10] = [
|
|
@@ -4312,15 +4312,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4312
4312
|
])),
|
|
4313
4313
|
_: 1
|
|
4314
4314
|
})) : q("", !0),
|
|
4315
|
-
|
|
4315
|
+
b(u)(o.requestDownload) && typeof o.requestDownload == "object" ? (x(), V(Zi, {
|
|
4316
4316
|
key: 1,
|
|
4317
|
-
onExport:
|
|
4317
|
+
onExport: b(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: b(gn),
|
|
4324
4324
|
title: "下载"
|
|
4325
4325
|
}, {
|
|
4326
4326
|
default: B(() => O[11] || (O[11] = [
|
|
@@ -4332,7 +4332,7 @@ 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) => b(ml)()),
|
|
4336
4336
|
title: "导入"
|
|
4337
4337
|
}, {
|
|
4338
4338
|
default: B(() => O[12] || (O[12] = [
|
|
@@ -4342,13 +4342,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4342
4342
|
})) : q("", !0)
|
|
4343
4343
|
]),
|
|
4344
4344
|
empty: B(() => [
|
|
4345
|
-
z.value === "error" ? (x(),
|
|
4345
|
+
z.value === "error" ? (x(), U("h2", ss, O[13] || (O[13] = [
|
|
4346
4346
|
K("span", { style: { "font-size": "24px", color: "red" } }, "您好,数据获取出现异常,请您稍后再次尝试!", -1)
|
|
4347
4347
|
]))) : q("", !0),
|
|
4348
|
-
z.value === "none" ? (x(),
|
|
4348
|
+
z.value === "none" ? (x(), U("h2", us, O[14] || (O[14] = [
|
|
4349
4349
|
K("span", { style: { "font-size": "24px", color: "red" } }, "没有更多数据了!", -1)
|
|
4350
4350
|
]))) : q("", !0),
|
|
4351
|
-
z.value === "more" ? (x(),
|
|
4351
|
+
z.value === "more" ? (x(), U("h2", cs, [
|
|
4352
4352
|
O[16] || (O[16] = K("span", { style: { "font-size": "16px" } }, [
|
|
4353
4353
|
ce(" 您好,因数据量过大,强制显示将会 "),
|
|
4354
4354
|
K("span", { style: { color: "red" } }, "取消合并列"),
|
|
@@ -4366,10 +4366,10 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4366
4366
|
]),
|
|
4367
4367
|
_: 2
|
|
4368
4368
|
}, [
|
|
4369
|
-
Ce(
|
|
4369
|
+
Ce(b(C), (P) => ({
|
|
4370
4370
|
name: P,
|
|
4371
4371
|
fn: B((M) => [
|
|
4372
|
-
|
|
4372
|
+
re(k.$slots, P, Tl(Al(M)))
|
|
4373
4373
|
])
|
|
4374
4374
|
}))
|
|
4375
4375
|
]), 1040, ["size"])
|
|
@@ -4383,7 +4383,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4383
4383
|
]);
|
|
4384
4384
|
};
|
|
4385
4385
|
}
|
|
4386
|
-
}),
|
|
4386
|
+
}), Ms = {
|
|
4387
4387
|
install: (e, n) => {
|
|
4388
4388
|
e.component(ga.name, ga);
|
|
4389
4389
|
}
|
|
@@ -4422,12 +4422,12 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4422
4422
|
}, f = (d) => !!(u(a.max) && A(d).format(r) > a.max || u(a.min) && A(d).format(r) < a.min), g = t, h = (d, m = !1) => {
|
|
4423
4423
|
u(d) ? (g("update:value", d), m && g("change", d)) : (g("update:value", s()), m && g("change", s()));
|
|
4424
4424
|
};
|
|
4425
|
-
return
|
|
4425
|
+
return ge(
|
|
4426
4426
|
() => a.value,
|
|
4427
4427
|
(d, m) => {
|
|
4428
4428
|
o.value = d ? A(d) : null;
|
|
4429
4429
|
}
|
|
4430
|
-
),
|
|
4430
|
+
), oe(() => {
|
|
4431
4431
|
u(a.value) && c(a.value);
|
|
4432
4432
|
}), n({
|
|
4433
4433
|
setDate: c,
|
|
@@ -4436,20 +4436,20 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4436
4436
|
}), (d, m) => {
|
|
4437
4437
|
const w = E("a-date-picker");
|
|
4438
4438
|
return x(), V(w, {
|
|
4439
|
-
value:
|
|
4439
|
+
value: b(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:
|
|
4443
|
+
locale: b(Fe),
|
|
4444
|
+
format: b(r),
|
|
4445
4445
|
disabledDate: f,
|
|
4446
|
-
picker:
|
|
4447
|
-
style:
|
|
4446
|
+
picker: b(l) === "day" ? "date" : b(l),
|
|
4447
|
+
style: me(a.style),
|
|
4448
4448
|
onChange: i
|
|
4449
4449
|
}, null, 8, ["value", "show-time", "disabled", "locale", "format", "picker", "style"]);
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
|
-
}),
|
|
4452
|
+
}), $s = {
|
|
4453
4453
|
install: (e, n) => {
|
|
4454
4454
|
e.component(va.name, va);
|
|
4455
4455
|
}
|
|
@@ -4505,33 +4505,33 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4505
4505
|
}, m = (w, C = !1) => {
|
|
4506
4506
|
u(w) ? (o("update:value", w), C && o("change", w)) : (o("update:value", h()), C && o("change", h()));
|
|
4507
4507
|
};
|
|
4508
|
-
return
|
|
4508
|
+
return ge(
|
|
4509
4509
|
() => a.value,
|
|
4510
4510
|
(w, C) => {
|
|
4511
|
-
let
|
|
4512
|
-
u(w) && (u(w[0]) && (
|
|
4511
|
+
let S = null, y = null;
|
|
4512
|
+
u(w) && (u(w[0]) && (S = A(w[0])), u(w[1]) && (y = A(w[1]))), i.value = [S, y];
|
|
4513
4513
|
}
|
|
4514
|
-
),
|
|
4514
|
+
), oe(() => {
|
|
4515
4515
|
u(a.value) && d(a.value[0], a.value[1]);
|
|
4516
4516
|
}), n({
|
|
4517
4517
|
setValue: d,
|
|
4518
4518
|
getValue: h
|
|
4519
4519
|
}), (w, C) => {
|
|
4520
|
-
const
|
|
4521
|
-
return x(), V(
|
|
4520
|
+
const S = E("a-range-picker");
|
|
4521
|
+
return x(), V(S, {
|
|
4522
4522
|
value: i.value,
|
|
4523
4523
|
"onUpdate:value": C[0] || (C[0] = (y) => i.value = y),
|
|
4524
4524
|
presets: f.value,
|
|
4525
|
-
locale:
|
|
4525
|
+
locale: b(Fe),
|
|
4526
4526
|
allowEmpty: [!0, !0],
|
|
4527
|
-
format:
|
|
4528
|
-
picker:
|
|
4529
|
-
style:
|
|
4527
|
+
format: b(r),
|
|
4528
|
+
picker: b(l) === "day" ? "date" : b(l),
|
|
4529
|
+
style: me(a.style),
|
|
4530
4530
|
onChange: g
|
|
4531
4531
|
}, null, 8, ["value", "presets", "locale", "format", "picker", "style"]);
|
|
4532
4532
|
};
|
|
4533
4533
|
}
|
|
4534
|
-
}),
|
|
4534
|
+
}), js = {
|
|
4535
4535
|
install: (e, n) => {
|
|
4536
4536
|
e.component(ha.name, ha);
|
|
4537
4537
|
}
|
|
@@ -4578,7 +4578,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4578
4578
|
}, 8, ["size", "type", "disabled"]);
|
|
4579
4579
|
};
|
|
4580
4580
|
}
|
|
4581
|
-
}),
|
|
4581
|
+
}), zs = {
|
|
4582
4582
|
install: (e, n) => {
|
|
4583
4583
|
e.component(ya.name, ya);
|
|
4584
4584
|
}
|
|
@@ -4610,27 +4610,27 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4610
4610
|
emits: ["update:value", "change"],
|
|
4611
4611
|
setup(e, { expose: n, emit: t }) {
|
|
4612
4612
|
const a = e, l = T.application || "", r = T.ctxPath || "", o = "请输入" + a.title + "搜索", i = a.fieldNames.label, s = a.fieldNames.value, c = j([]), p = j([]), f = async () => {
|
|
4613
|
-
const
|
|
4613
|
+
const S = 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
|
-
}, d = (
|
|
4623
|
-
c.value =
|
|
4619
|
+
p.value = S;
|
|
4620
|
+
}, g = t, h = (S, y) => {
|
|
4621
|
+
u(y) ? (g("update:value", S[S.length - 1]), g("change", y[y.length - 1])) : (g("update:value", null), g("change", null));
|
|
4622
|
+
}, d = (S, y) => y.some((v) => v[i].indexOf(S) > -1), m = () => p.value.filter((y) => y[s] === c.value[c.value.length - 1])[i], w = () => c.value, C = (S) => {
|
|
4623
|
+
c.value = S, g("update:value", S);
|
|
4624
4624
|
};
|
|
4625
|
-
return
|
|
4625
|
+
return oe(() => {
|
|
4626
4626
|
f();
|
|
4627
4627
|
}), n({
|
|
4628
4628
|
getName: m,
|
|
4629
4629
|
getValue: w,
|
|
4630
4630
|
setValue: C
|
|
4631
|
-
}), (
|
|
4631
|
+
}), (S, y) => {
|
|
4632
4632
|
const v = E("a-cascader");
|
|
4633
|
-
return x(),
|
|
4633
|
+
return x(), U("div", ds, [
|
|
4634
4634
|
D(v, {
|
|
4635
4635
|
value: c.value,
|
|
4636
4636
|
"onUpdate:value": y[0] || (y[0] = (_) => c.value = _),
|
|
@@ -4641,13 +4641,13 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4641
4641
|
clearable: a.clearable,
|
|
4642
4642
|
changeOnSelect: a.changeOnSelect,
|
|
4643
4643
|
placeholder: o,
|
|
4644
|
-
style:
|
|
4644
|
+
style: me(a.style),
|
|
4645
4645
|
onChange: h
|
|
4646
4646
|
}, null, 8, ["value", "options", "fieldNames", "show-search", "disabled", "clearable", "changeOnSelect", "style"])
|
|
4647
4647
|
]);
|
|
4648
4648
|
};
|
|
4649
4649
|
}
|
|
4650
|
-
}),
|
|
4650
|
+
}), Vs = {
|
|
4651
4651
|
install: (e, n) => {
|
|
4652
4652
|
e.component(ba.name, ba);
|
|
4653
4653
|
}
|
|
@@ -4677,34 +4677,34 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4677
4677
|
size: "small",
|
|
4678
4678
|
headStyle: n.headStyle,
|
|
4679
4679
|
bodyStyle: n.bodyStyle,
|
|
4680
|
-
style:
|
|
4680
|
+
style: me(n.style),
|
|
4681
4681
|
hoverable: n.hoverable,
|
|
4682
4682
|
loading: n.loading
|
|
4683
4683
|
}, we({
|
|
4684
4684
|
default: B(() => [
|
|
4685
|
-
|
|
4685
|
+
re(r.$slots, "default")
|
|
4686
4686
|
]),
|
|
4687
4687
|
_: 2
|
|
4688
4688
|
}, [
|
|
4689
|
-
|
|
4689
|
+
b(l).length === 1 || b(u)(n.title) ? {
|
|
4690
4690
|
name: "title",
|
|
4691
4691
|
fn: B(() => [
|
|
4692
|
-
|
|
4693
|
-
|
|
4692
|
+
b(l).length === 1 ? re(r.$slots, "title", { key: 0 }) : q("", !0),
|
|
4693
|
+
b(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
|
+
b(a).length === 1 ? {
|
|
4698
4698
|
name: "extra",
|
|
4699
4699
|
fn: B(() => [
|
|
4700
|
-
|
|
4700
|
+
re(r.$slots, "extra")
|
|
4701
4701
|
]),
|
|
4702
4702
|
key: "1"
|
|
4703
4703
|
} : void 0
|
|
4704
4704
|
]), 1032, ["headStyle", "bodyStyle", "style", "hoverable", "loading"]);
|
|
4705
4705
|
};
|
|
4706
4706
|
}
|
|
4707
|
-
}),
|
|
4707
|
+
}), qs = {
|
|
4708
4708
|
install: (e, n) => {
|
|
4709
4709
|
e.component(Sa.name, Sa);
|
|
4710
4710
|
}
|
|
@@ -4741,7 +4741,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4741
4741
|
}, p = () => l.value, f = (h) => {
|
|
4742
4742
|
a.formatter === "date" ? l.value = $.toDateString(h) : a.formatter === "datetime" ? l.value = $.toDatetimeString(h) : l.value = h, g();
|
|
4743
4743
|
};
|
|
4744
|
-
|
|
4744
|
+
ge(
|
|
4745
4745
|
() => a.value,
|
|
4746
4746
|
(h, d) => {
|
|
4747
4747
|
h !== l.value && f(h);
|
|
@@ -4762,29 +4762,29 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4762
4762
|
disabled: a.disabled,
|
|
4763
4763
|
showCount: a.showCount,
|
|
4764
4764
|
maxlength: a.maxlength,
|
|
4765
|
-
style:
|
|
4765
|
+
style: me(a.style),
|
|
4766
4766
|
onChange: c
|
|
4767
4767
|
}, we({ _: 2 }, [
|
|
4768
|
-
|
|
4768
|
+
b(i).length === 1 || b(u)(a.addonAfter) ? {
|
|
4769
4769
|
name: "addonAfter",
|
|
4770
4770
|
fn: B(() => [
|
|
4771
|
-
|
|
4772
|
-
|
|
4771
|
+
b(i).length === 1 ? re(h.$slots, "addonAfter", { key: 0 }) : q("", !0),
|
|
4772
|
+
b(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
|
+
b(s).length === 1 || b(u)(a.addonBefore) ? {
|
|
4777
4777
|
name: "addonBefore",
|
|
4778
4778
|
fn: B(() => [
|
|
4779
|
-
|
|
4780
|
-
|
|
4779
|
+
b(s).length === 1 ? re(h.$slots, "addonBefore", { key: 0 }) : q("", !0),
|
|
4780
|
+
b(s).length !== 1 ? (x(), U("span", ms, ae(a.addonBefore), 1)) : q("", !0)
|
|
4781
4781
|
]),
|
|
4782
4782
|
key: "1"
|
|
4783
4783
|
} : void 0
|
|
4784
4784
|
]), 1032, ["value", "placeholder", "disabled", "showCount", "maxlength", "style"]);
|
|
4785
4785
|
};
|
|
4786
4786
|
}
|
|
4787
|
-
}),
|
|
4787
|
+
}), Ds = {
|
|
4788
4788
|
install: (e, n) => {
|
|
4789
4789
|
e.component(wa.name, wa);
|
|
4790
4790
|
}
|
|
@@ -4827,7 +4827,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4827
4827
|
}, p = () => l.value, f = (h) => {
|
|
4828
4828
|
l.value = h, g();
|
|
4829
4829
|
};
|
|
4830
|
-
|
|
4830
|
+
ge(
|
|
4831
4831
|
() => a.value,
|
|
4832
4832
|
(h, d) => {
|
|
4833
4833
|
h !== l.value && f(h);
|
|
@@ -4852,29 +4852,29 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4852
4852
|
precision: a.precision,
|
|
4853
4853
|
stringMode: a.stringMode,
|
|
4854
4854
|
controls: a.controls,
|
|
4855
|
-
style:
|
|
4855
|
+
style: me(a.style),
|
|
4856
4856
|
onChange: c
|
|
4857
4857
|
}, we({ _: 2 }, [
|
|
4858
|
-
|
|
4858
|
+
b(i).length === 1 || b(u)(a.addonAfter) ? {
|
|
4859
4859
|
name: "addonAfter",
|
|
4860
4860
|
fn: B(() => [
|
|
4861
|
-
|
|
4862
|
-
|
|
4861
|
+
b(i).length === 1 ? re(h.$slots, "addonAfter", { key: 0 }) : q("", !0),
|
|
4862
|
+
b(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
|
+
b(s).length === 1 || b(u)(a.addonBefore) ? {
|
|
4867
4867
|
name: "addonBefore",
|
|
4868
4868
|
fn: B(() => [
|
|
4869
|
-
|
|
4870
|
-
|
|
4869
|
+
b(s).length === 1 ? re(h.$slots, "addonBefore", { key: 0 }) : q("", !0),
|
|
4870
|
+
b(s).length !== 1 ? (x(), U("span", vs, ae(a.addonBefore), 1)) : q("", !0)
|
|
4871
4871
|
]),
|
|
4872
4872
|
key: "1"
|
|
4873
4873
|
} : void 0
|
|
4874
4874
|
]), 1032, ["value", "placeholder", "disabled", "max", "min", "step", "precision", "stringMode", "controls", "style"]);
|
|
4875
4875
|
};
|
|
4876
4876
|
}
|
|
4877
|
-
}),
|
|
4877
|
+
}), Bs = {
|
|
4878
4878
|
install: (e, n) => {
|
|
4879
4879
|
e.component(_a.name, _a);
|
|
4880
4880
|
}
|
|
@@ -4901,7 +4901,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4901
4901
|
}, o = () => {
|
|
4902
4902
|
a.value = "", l("update:value", a.value), l("suffix");
|
|
4903
4903
|
};
|
|
4904
|
-
return
|
|
4904
|
+
return ge(
|
|
4905
4905
|
() => t.value,
|
|
4906
4906
|
(i) => {
|
|
4907
4907
|
a.value = i;
|
|
@@ -4928,7 +4928,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4928
4928
|
]), 1032, ["value", "enter-button", "disabled", "readonly"]);
|
|
4929
4929
|
};
|
|
4930
4930
|
}
|
|
4931
|
-
}),
|
|
4931
|
+
}), Ns = {
|
|
4932
4932
|
install: (e, n) => {
|
|
4933
4933
|
e.component(Oa.name, Oa);
|
|
4934
4934
|
}
|
|
@@ -4965,7 +4965,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4965
4965
|
}, i = () => l.value, s = (p) => {
|
|
4966
4966
|
l.value = p, c();
|
|
4967
4967
|
};
|
|
4968
|
-
|
|
4968
|
+
ge(
|
|
4969
4969
|
() => a.value,
|
|
4970
4970
|
(p, f) => {
|
|
4971
4971
|
p !== l.value && s(p);
|
|
@@ -4989,16 +4989,16 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
4989
4989
|
rows: a.rows,
|
|
4990
4990
|
showCount: a.showCount,
|
|
4991
4991
|
maxlength: a.maxlength,
|
|
4992
|
-
style:
|
|
4992
|
+
style: me(a.style),
|
|
4993
4993
|
onChange: o
|
|
4994
4994
|
}, null, 8, ["value", "placeholder", "disabled", "allowClear", "autoSize", "rows", "showCount", "maxlength", "style"]);
|
|
4995
4995
|
};
|
|
4996
4996
|
}
|
|
4997
|
-
}),
|
|
4997
|
+
}), Rs = {
|
|
4998
4998
|
install: (e, n) => {
|
|
4999
4999
|
e.component(xa.name, xa);
|
|
5000
5000
|
}
|
|
5001
|
-
}, Ca = /* @__PURE__ */ W({
|
|
5001
|
+
}, hs = { class: "vxe-form-ant-select" }, Ca = /* @__PURE__ */ W({
|
|
5002
5002
|
name: "SagAntdSelect",
|
|
5003
5003
|
inheritAttrs: !1,
|
|
5004
5004
|
__name: "SagAntdSelect",
|
|
@@ -5034,15 +5034,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5034
5034
|
}, m = () => o.value, w = (y) => {
|
|
5035
5035
|
a.multiple ? o.value = u(y) ? y : [] : o.value = u(y) ? y : "", C();
|
|
5036
5036
|
};
|
|
5037
|
-
|
|
5037
|
+
ge(
|
|
5038
5038
|
() => a.value,
|
|
5039
5039
|
(y) => {
|
|
5040
5040
|
a.multiple ? o.value = u(y) ? y : [] : o.value = y;
|
|
5041
5041
|
}
|
|
5042
5042
|
);
|
|
5043
5043
|
const C = (y = !1) => {
|
|
5044
|
-
l("update:value", o.value),
|
|
5045
|
-
},
|
|
5044
|
+
l("update:value", o.value), S(y);
|
|
5045
|
+
}, S = (y = !1) => {
|
|
5046
5046
|
if (u(o.value))
|
|
5047
5047
|
if (a.multiple) {
|
|
5048
5048
|
const v = [];
|
|
@@ -5061,37 +5061,39 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5061
5061
|
return n({
|
|
5062
5062
|
getValue: m,
|
|
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) && S();
|
|
5067
5067
|
});
|
|
5068
5068
|
}), (y, v) => {
|
|
5069
5069
|
const _ = E("a-select");
|
|
5070
|
-
return x(),
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5070
|
+
return x(), U("div", hs, [
|
|
5071
|
+
D(_, {
|
|
5072
|
+
value: b(o),
|
|
5073
|
+
"onUpdate:value": v[0] || (v[0] = (z) => st(o) ? o.value = z : null),
|
|
5074
|
+
onChange: d,
|
|
5075
|
+
placeholder: "--请选择--",
|
|
5076
|
+
allowClear: a.clearable,
|
|
5077
|
+
mode: e.multiple ? "multiple" : "",
|
|
5078
|
+
"max-tag-count": b(p),
|
|
5079
|
+
options: c.value,
|
|
5080
|
+
"show-search": a.filterable,
|
|
5081
|
+
"filter-option": h,
|
|
5082
|
+
defaultActiveFirstOption: !a.multiple,
|
|
5083
|
+
autoClearSearchValue: !a.filterable,
|
|
5084
|
+
getPopupContainer: f,
|
|
5085
|
+
disabled: e.disabled,
|
|
5086
|
+
style: me(a.style),
|
|
5087
|
+
size: "medium"
|
|
5088
|
+
}, null, 8, ["value", "allowClear", "mode", "max-tag-count", "options", "show-search", "defaultActiveFirstOption", "autoClearSearchValue", "disabled", "style"])
|
|
5089
|
+
]);
|
|
5088
5090
|
};
|
|
5089
5091
|
}
|
|
5090
|
-
}),
|
|
5092
|
+
}), Es = {
|
|
5091
5093
|
install: (e, n) => {
|
|
5092
5094
|
e.component(Ca.name, Ca);
|
|
5093
5095
|
}
|
|
5094
|
-
},
|
|
5096
|
+
}, ys = { class: "vxe-form-ant-select" }, Pa = /* @__PURE__ */ W({
|
|
5095
5097
|
name: "SagAntdSelectList",
|
|
5096
5098
|
inheritAttrs: !1,
|
|
5097
5099
|
__name: "SagAntdSelectList",
|
|
@@ -5125,34 +5127,34 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5125
5127
|
},
|
|
5126
5128
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5127
5129
|
setup(e, { expose: n, emit: t }) {
|
|
5128
|
-
const a = e, l = j(a.value ? a.value : a.multiple ? [] : null), r = j(a.label ? a.label : a.multiple ? [] : null), o = j(a.multiple ? {} : null), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索", f = (
|
|
5130
|
+
const a = e, l = j(a.value ? a.value : a.multiple ? [] : null), r = j(a.label ? a.label : a.multiple ? [] : null), o = j(a.multiple ? {} : null), i = j([]), s = j(!1), c = t, p = "请输入" + a.title + "搜索", f = (I) => a.mountainTop ? document.body : I.parentNode, g = async () => {
|
|
5129
5131
|
if (a.corpFilter && !u(a.corpId))
|
|
5130
5132
|
return i.value = [], [];
|
|
5131
|
-
let
|
|
5132
|
-
Object.assign(
|
|
5133
|
-
const L = await Ne(a.requestUrl,
|
|
5133
|
+
let I = { corpId: a.corpId };
|
|
5134
|
+
Object.assign(I, a.requestParams), i.value = [], s.value = !0;
|
|
5135
|
+
const L = await Ne(a.requestUrl, I);
|
|
5134
5136
|
return s.value = !1, i.value = L, L;
|
|
5135
5137
|
}, h = At(() => {
|
|
5136
|
-
g().then((
|
|
5137
|
-
c("query",
|
|
5138
|
+
g().then((I) => {
|
|
5139
|
+
c("query", I);
|
|
5138
5140
|
});
|
|
5139
|
-
}, 300), d = (
|
|
5140
|
-
w(
|
|
5141
|
+
}, 300), d = (I) => {
|
|
5142
|
+
w(I).then(() => {
|
|
5141
5143
|
H(!0);
|
|
5142
5144
|
});
|
|
5143
|
-
}, m = (
|
|
5144
|
-
if (l.value =
|
|
5145
|
+
}, m = (I, L) => L.label.toLowerCase().indexOf(Pe(I).toLowerCase()) >= 0, w = async (I) => {
|
|
5146
|
+
if (l.value = I, a.multiple) {
|
|
5145
5147
|
const L = [];
|
|
5146
5148
|
l.value.forEach((G) => {
|
|
5147
5149
|
let N = i.value.filter((X) => X.value === G);
|
|
5148
5150
|
N.length === 1 && (L.push(N[0].label), o.value[G] = N[0]);
|
|
5149
5151
|
}), r.value = L;
|
|
5150
5152
|
} else {
|
|
5151
|
-
let L = i.value.filter((G) => G.value ===
|
|
5153
|
+
let L = i.value.filter((G) => G.value === I);
|
|
5152
5154
|
L.length === 1 ? (r.value = L[0].label, o.value = L[0]) : (r.value = a.multiple ? [] : null, o.value = a.multiple ? {} : null);
|
|
5153
5155
|
}
|
|
5154
|
-
}, C = () => r.value,
|
|
5155
|
-
w(
|
|
5156
|
+
}, C = () => r.value, S = () => l.value, y = (I) => {
|
|
5157
|
+
w(I).then(() => {
|
|
5156
5158
|
H();
|
|
5157
5159
|
});
|
|
5158
5160
|
}, v = () => {
|
|
@@ -5161,31 +5163,31 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5161
5163
|
v(), i.value = [];
|
|
5162
5164
|
}, z = async () => {
|
|
5163
5165
|
v(), i.value = [], await h();
|
|
5164
|
-
}, H = (
|
|
5165
|
-
c("update:value", l.value), c("update:label", r.value),
|
|
5166
|
+
}, H = (I = !1) => {
|
|
5167
|
+
c("update:value", l.value), c("update:label", r.value), I && c("change", o.value);
|
|
5166
5168
|
};
|
|
5167
|
-
return
|
|
5169
|
+
return ge(
|
|
5168
5170
|
() => [a.corpId, a.value],
|
|
5169
|
-
async ([
|
|
5170
|
-
const X =
|
|
5171
|
+
async ([I, L], [G, N]) => {
|
|
5172
|
+
const X = I !== G, ke = L !== l.value;
|
|
5171
5173
|
X && (v(), await g()), ke && y(L);
|
|
5172
5174
|
}
|
|
5173
|
-
),
|
|
5175
|
+
), oe(async () => {
|
|
5174
5176
|
g();
|
|
5175
5177
|
}), n({
|
|
5176
5178
|
getName: C,
|
|
5177
|
-
getValue:
|
|
5179
|
+
getValue: S,
|
|
5178
5180
|
setValue: y,
|
|
5179
5181
|
clear: _,
|
|
5180
5182
|
reload: z
|
|
5181
|
-
}), (
|
|
5183
|
+
}), (I, L) => {
|
|
5182
5184
|
const G = E("a-spin"), N = E("a-select");
|
|
5183
|
-
return x(),
|
|
5185
|
+
return x(), U("div", ys, [
|
|
5184
5186
|
D(N, {
|
|
5185
5187
|
value: l.value,
|
|
5186
5188
|
"onUpdate:value": L[0] || (L[0] = (X) => l.value = X),
|
|
5187
5189
|
placeholder: p,
|
|
5188
|
-
style:
|
|
5190
|
+
style: me(a.style),
|
|
5189
5191
|
"filter-option": m,
|
|
5190
5192
|
disabled: a.disabled,
|
|
5191
5193
|
mode: e.multiple ? "multiple" : "",
|
|
@@ -5207,11 +5209,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5207
5209
|
]);
|
|
5208
5210
|
};
|
|
5209
5211
|
}
|
|
5210
|
-
}),
|
|
5212
|
+
}), Ls = {
|
|
5211
5213
|
install: (e, n) => {
|
|
5212
5214
|
e.component(Pa.name, Pa);
|
|
5213
5215
|
}
|
|
5214
|
-
},
|
|
5216
|
+
}, bs = { class: "vxe-form-ant-select" }, ka = /* @__PURE__ */ W({
|
|
5215
5217
|
name: "SagAntdSelectPull",
|
|
5216
5218
|
inheritAttrs: !1,
|
|
5217
5219
|
__name: "SagAntdSelectPull",
|
|
@@ -5263,24 +5265,24 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5263
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);
|
|
5264
5266
|
} else
|
|
5265
5267
|
return l.value = null, r.value = "", o.value = null, !0;
|
|
5266
|
-
}, w = () => r.value, C = () => l.value,
|
|
5268
|
+
}, w = () => r.value, C = () => l.value, S = (v) => {
|
|
5267
5269
|
l.value = v, m(v).then((_) => {
|
|
5268
5270
|
_ && y();
|
|
5269
5271
|
});
|
|
5270
5272
|
}, y = (v = !1) => {
|
|
5271
5273
|
c("update:value", l.value), c("update:label", r.value), v && c("change", o.value);
|
|
5272
5274
|
};
|
|
5273
|
-
return
|
|
5275
|
+
return ge(
|
|
5274
5276
|
() => [a.corpId, a.value],
|
|
5275
5277
|
async ([v, _], [z, H]) => {
|
|
5276
|
-
const
|
|
5277
|
-
|
|
5278
|
+
const I = v !== z, L = _ !== l.value;
|
|
5279
|
+
I && (i.value = [], r.value = null, l.value = null, o.value = null, y()), L && m(_).then((G) => {
|
|
5278
5280
|
G || g(_).then(() => {
|
|
5279
|
-
|
|
5281
|
+
S(_);
|
|
5280
5282
|
});
|
|
5281
5283
|
});
|
|
5282
5284
|
}
|
|
5283
|
-
),
|
|
5285
|
+
), oe(async () => {
|
|
5284
5286
|
u(l.value) && (u(r.value) ? i.value = [
|
|
5285
5287
|
{
|
|
5286
5288
|
value: l.value,
|
|
@@ -5290,15 +5292,15 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5290
5292
|
}), n({
|
|
5291
5293
|
getName: w,
|
|
5292
5294
|
getValue: C,
|
|
5293
|
-
setValue:
|
|
5295
|
+
setValue: S
|
|
5294
5296
|
}), (v, _) => {
|
|
5295
5297
|
const z = E("a-spin"), H = E("a-select");
|
|
5296
|
-
return x(),
|
|
5298
|
+
return x(), U("div", bs, [
|
|
5297
5299
|
D(H, {
|
|
5298
5300
|
value: l.value,
|
|
5299
|
-
"onUpdate:value": _[0] || (_[0] = (
|
|
5301
|
+
"onUpdate:value": _[0] || (_[0] = (I) => l.value = I),
|
|
5300
5302
|
placeholder: p,
|
|
5301
|
-
style:
|
|
5303
|
+
style: me(a.style),
|
|
5302
5304
|
"filter-option": !1,
|
|
5303
5305
|
options: i.value,
|
|
5304
5306
|
disabled: a.disabled,
|
|
@@ -5307,7 +5309,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5307
5309
|
"show-arrow": !1,
|
|
5308
5310
|
getPopupContainer: f,
|
|
5309
5311
|
onChange: h,
|
|
5310
|
-
onSearch:
|
|
5312
|
+
onSearch: b(d),
|
|
5311
5313
|
"show-search": ""
|
|
5312
5314
|
}, we({ _: 2 }, [
|
|
5313
5315
|
s.value ? {
|
|
@@ -5321,11 +5323,11 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5321
5323
|
]);
|
|
5322
5324
|
};
|
|
5323
5325
|
}
|
|
5324
|
-
}),
|
|
5326
|
+
}), Us = {
|
|
5325
5327
|
install: (e, n) => {
|
|
5326
5328
|
e.component(ka.name, ka);
|
|
5327
5329
|
}
|
|
5328
|
-
},
|
|
5330
|
+
}, Ss = { key: 1 }, Ta = /* @__PURE__ */ W({
|
|
5329
5331
|
name: "SagAntdPanel",
|
|
5330
5332
|
inheritAttrs: !1,
|
|
5331
5333
|
__name: "SagAntdPanel",
|
|
@@ -5349,16 +5351,16 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5349
5351
|
accordion: ""
|
|
5350
5352
|
}, {
|
|
5351
5353
|
default: B(() => [
|
|
5352
|
-
(x(!0),
|
|
5354
|
+
(x(!0), U(fe, null, Ce(b(a), (f) => (x(), V(c, {
|
|
5353
5355
|
key: f,
|
|
5354
5356
|
forceRender: "",
|
|
5355
5357
|
showArrow: n.showArrow
|
|
5356
5358
|
}, {
|
|
5357
5359
|
header: B(() => [
|
|
5358
|
-
|
|
5360
|
+
b(l).length === 1 ? re(i.$slots, "header", { key: 0 }) : (x(), U("span", Ss, ae(o.value[f]), 1))
|
|
5359
5361
|
]),
|
|
5360
5362
|
default: B(() => [
|
|
5361
|
-
|
|
5363
|
+
re(i.$slots, f)
|
|
5362
5364
|
]),
|
|
5363
5365
|
_: 2
|
|
5364
5366
|
}, 1032, ["showArrow"]))), 128))
|
|
@@ -5367,20 +5369,20 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5367
5369
|
}, 8, ["activeKey", "collapsible"]);
|
|
5368
5370
|
};
|
|
5369
5371
|
}
|
|
5370
|
-
}),
|
|
5372
|
+
}), Is = {
|
|
5371
5373
|
install: (e, n) => {
|
|
5372
5374
|
e.component(Ta.name, Ta);
|
|
5373
5375
|
}
|
|
5374
|
-
},
|
|
5376
|
+
}, ws = { class: "sag-antd-space-wrapper" }, Aa = /* @__PURE__ */ W({
|
|
5375
5377
|
name: "SagAntdSpace",
|
|
5376
5378
|
inheritAttrs: !1,
|
|
5377
5379
|
__name: "SagAntdSpace",
|
|
5378
5380
|
setup(e) {
|
|
5379
|
-
return (n, t) => (x(),
|
|
5380
|
-
|
|
5381
|
+
return (n, t) => (x(), U("div", ws, [
|
|
5382
|
+
re(n.$slots, "default")
|
|
5381
5383
|
]));
|
|
5382
5384
|
}
|
|
5383
|
-
}),
|
|
5385
|
+
}), Fs = {
|
|
5384
5386
|
install: (e, n) => {
|
|
5385
5387
|
e.component(Aa.name, Aa);
|
|
5386
5388
|
}
|
|
@@ -5405,7 +5407,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5405
5407
|
const t = e, a = j(t.checked), l = n, r = (o) => {
|
|
5406
5408
|
l("update:checked", o), l("change", o);
|
|
5407
5409
|
};
|
|
5408
|
-
return
|
|
5410
|
+
return ge(
|
|
5409
5411
|
() => t.checked,
|
|
5410
5412
|
(o) => {
|
|
5411
5413
|
a.value = o;
|
|
@@ -5423,7 +5425,7 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5423
5425
|
}, null, 8, ["checked", "checkedValue", "unCheckedValue", "disabled", "loading"]);
|
|
5424
5426
|
};
|
|
5425
5427
|
}
|
|
5426
|
-
}),
|
|
5428
|
+
}), Hs = {
|
|
5427
5429
|
install: (e, n) => {
|
|
5428
5430
|
e.component(Ma.name, Ma);
|
|
5429
5431
|
}
|
|
@@ -5449,10 +5451,10 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5449
5451
|
},
|
|
5450
5452
|
emits: ["update:activeKey", "change"],
|
|
5451
5453
|
setup(e, { emit: n }) {
|
|
5452
|
-
const t = e, a = t.tabColorBlack ? "rgba(0, 0, 0, 0.02)" : "#ffffff", l = Object.keys(Be()), r = l.filter((p) => p != "rightExtra"), o = j(t.activeKey), i = j(t.header instanceof Object ? t.header : { default: t.header }), s = n, c = (p) => {
|
|
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.startsWith("header_")), o = j(t.activeKey), i = j(t.header instanceof Object ? t.header : { default: t.header }), s = n, c = (p) => {
|
|
5453
5455
|
s("update:activeKey", p), s("change", p);
|
|
5454
5456
|
};
|
|
5455
|
-
return
|
|
5457
|
+
return ge(
|
|
5456
5458
|
() => t.activeKey,
|
|
5457
5459
|
(p) => {
|
|
5458
5460
|
o.value = p;
|
|
@@ -5465,42 +5467,44 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5465
5467
|
type: t.type,
|
|
5466
5468
|
"tab-position": t.position,
|
|
5467
5469
|
tabBarGutter: t.position === "left" ? 4 : 25,
|
|
5468
|
-
tabBarStyle: { margin: 0, backgroundColor:
|
|
5470
|
+
tabBarStyle: { margin: 0, backgroundColor: b(a) },
|
|
5469
5471
|
onChange: c
|
|
5470
5472
|
}, we({
|
|
5471
5473
|
default: B(() => [
|
|
5472
|
-
(x(!0),
|
|
5474
|
+
(x(!0), U(fe, null, Ce(b(r), (d, m) => (x(), V(g, {
|
|
5473
5475
|
key: d,
|
|
5474
5476
|
forceRender: t.forceRender && !t.notForceRender?.includes(d),
|
|
5475
|
-
style:
|
|
5477
|
+
style: me(t.position === "left" ? { paddingLeft: "0" } : {})
|
|
5476
5478
|
}, {
|
|
5477
5479
|
tab: B(() => [
|
|
5478
5480
|
K("span", {
|
|
5479
|
-
style:
|
|
5481
|
+
style: me(m === 0 && t.position === "top" ? { marginLeft: "10px" } : {})
|
|
5480
5482
|
}, [
|
|
5481
5483
|
D($e, { icon: "menu" }),
|
|
5482
|
-
|
|
5484
|
+
b(l).includes("header_" + d) ? re(p.$slots, "header_" + d, { key: 0 }) : (x(), U(fe, { key: 1 }, [
|
|
5485
|
+
ce(ae(i.value[d]), 1)
|
|
5486
|
+
], 64))
|
|
5483
5487
|
], 4)
|
|
5484
5488
|
]),
|
|
5485
5489
|
default: B(() => [
|
|
5486
|
-
|
|
5490
|
+
re(p.$slots, d)
|
|
5487
5491
|
]),
|
|
5488
5492
|
_: 2
|
|
5489
5493
|
}, 1032, ["forceRender", "style"]))), 128))
|
|
5490
5494
|
]),
|
|
5491
5495
|
_: 2
|
|
5492
5496
|
}, [
|
|
5493
|
-
|
|
5497
|
+
b(l).length !== b(r).length ? {
|
|
5494
5498
|
name: "rightExtra",
|
|
5495
5499
|
fn: B(() => [
|
|
5496
|
-
|
|
5500
|
+
re(p.$slots, "rightExtra")
|
|
5497
5501
|
]),
|
|
5498
5502
|
key: "0"
|
|
5499
5503
|
} : void 0
|
|
5500
5504
|
]), 1032, ["activeKey", "type", "tab-position", "tabBarGutter", "tabBarStyle"]);
|
|
5501
5505
|
};
|
|
5502
5506
|
}
|
|
5503
|
-
}),
|
|
5507
|
+
}), Ys = {
|
|
5504
5508
|
install: (e, n) => {
|
|
5505
5509
|
e.component($a.name, $a);
|
|
5506
5510
|
}
|
|
@@ -5517,30 +5521,30 @@ const Li = { id: "div_view_modal" }, Ui = { style: { color: "red", "padding-left
|
|
|
5517
5521
|
icon: n.icon
|
|
5518
5522
|
}, null, 8, ["icon"]));
|
|
5519
5523
|
}
|
|
5520
|
-
}),
|
|
5524
|
+
}), Ws = {
|
|
5521
5525
|
install: (e, n) => {
|
|
5522
5526
|
e.component(ja.name, ja);
|
|
5523
5527
|
}
|
|
5524
5528
|
};
|
|
5525
5529
|
export {
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5530
|
+
zs as SagAntdButton,
|
|
5531
|
+
qs as SagAntdCard,
|
|
5532
|
+
Vs as SagAntdCascader,
|
|
5533
|
+
$s as SagAntdDatePicker,
|
|
5534
|
+
js as SagAntdDateRange,
|
|
5535
|
+
Ds as SagAntdInput,
|
|
5536
|
+
Bs as SagAntdInputNumber,
|
|
5537
|
+
Ns as SagAntdInputSearch,
|
|
5538
|
+
Ws as SagAntdOutlined,
|
|
5539
|
+
Is as SagAntdPanel,
|
|
5540
|
+
Es as SagAntdSelect,
|
|
5541
|
+
Ls as SagAntdSelectList,
|
|
5542
|
+
Us as SagAntdSelectPull,
|
|
5543
|
+
Fs as SagAntdSpace,
|
|
5544
|
+
Hs as SagAntdSwitch,
|
|
5545
|
+
Ys as SagAntdTab,
|
|
5546
|
+
Rs as SagAntdTextarea,
|
|
5547
|
+
Ts as SagUbmpPc,
|
|
5548
|
+
Ms as SagVxePage,
|
|
5549
|
+
As as SagVxePageUtils
|
|
5546
5550
|
};
|