sag-ubmp-pc 1.0.12 → 1.0.13
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 +277 -277
- package/dist/sag-ubmp-pc.umd.js +3 -3
- package/package.json +1 -1
package/dist/sag-ubmp-pc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Qe, { trim as je, debounce as $t } from "xe-utils";
|
|
2
|
-
import { inject as
|
|
2
|
+
import { inject as he, ref as j, h as ze, getCurrentInstance as Wr, nextTick as it, reactive as le, defineComponent as Y, createVNode as D, openBlock as O, createElementBlock as U, Fragment as Ce, createBlock as z, unref as S, createCommentVNode as q, onMounted as ue, resolveComponent as L, isRef as dt, createSlots as Te, withCtx as B, defineAsyncComponent as Gr, computed as Jr, createElementVNode as te, toDisplayString as re, resolveDynamicComponent as Qr, mergeProps as ne, useAttrs as Xr, provide as Fa, useSlots as Le, watch as Se, withDirectives as Ha, createTextVNode as ge, renderList as $e, renderSlot as de, vShow as Ya, toHandlers as Zr, normalizeProps as Kr, guardReactiveProps as eo, normalizeStyle as be } from "vue";
|
|
3
3
|
import { Modal as to, notification as Ct, message as no, Spin as ao } from "ant-design-vue";
|
|
4
4
|
import M from "dayjs";
|
|
5
5
|
const ft = "SAG_VXE_PAGE$", ut = {
|
|
@@ -157,7 +157,7 @@ const oe = zt("log"), rr = zt("warn"), mt = zt("error"), at = {
|
|
|
157
157
|
setDictDetail: function(e, n, t = T.application) {
|
|
158
158
|
return jt(t, e, n);
|
|
159
159
|
}
|
|
160
|
-
}, fo = (e) => or(e, "buttonName"), po = (e) => or(e, "componentParams"), or = (e, n) => s(e) && s(e[T.buttonKeyName]) ? e[T.buttonKeyName][n] : null, mo = (e) => s(e) && s(e[T.buttonKeyName]) ? e[T.buttonKeyName] : {}, go = (e) => e._X_ROWS,
|
|
160
|
+
}, fo = (e) => or(e, "buttonName"), po = (e) => or(e, "componentParams"), or = (e, n) => s(e) && s(e[T.buttonKeyName]) ? e[T.buttonKeyName][n] : null, mo = (e) => s(e) && s(e[T.buttonKeyName]) ? e[T.buttonKeyName] : {}, go = (e) => e._X_ROWS, ho = (e, n, t = {}) => {
|
|
161
161
|
const { span: l, placeholder: a, defaultValue: r, disabled: o } = t;
|
|
162
162
|
return {
|
|
163
163
|
field: e,
|
|
@@ -172,7 +172,7 @@ const oe = zt("log"), rr = zt("warn"), mt = zt("error"), at = {
|
|
|
172
172
|
},
|
|
173
173
|
slots: { default: "input" }
|
|
174
174
|
};
|
|
175
|
-
},
|
|
175
|
+
}, vo = (e, n, t = {}) => {
|
|
176
176
|
const { span: l, placeholder: a, defaultValue: r, disabled: o } = t;
|
|
177
177
|
return {
|
|
178
178
|
field: e,
|
|
@@ -497,8 +497,8 @@ const oe = zt("log"), rr = zt("warn"), mt = zt("error"), at = {
|
|
|
497
497
|
auth: s(r) ? r : !0
|
|
498
498
|
};
|
|
499
499
|
}, nd = {
|
|
500
|
-
getItemInput:
|
|
501
|
-
getItemNumber:
|
|
500
|
+
getItemInput: ho,
|
|
501
|
+
getItemNumber: vo,
|
|
502
502
|
getItemSwitch: yo,
|
|
503
503
|
getItemSelect: bo,
|
|
504
504
|
getItemSelectList: So,
|
|
@@ -1017,7 +1017,7 @@ Object.keys(wt).forEach(function(e) {
|
|
|
1017
1017
|
}), xt[e].primary = xt[e][5];
|
|
1018
1018
|
});
|
|
1019
1019
|
var ei = lt.blue, ti = Symbol("iconContext"), fr = function() {
|
|
1020
|
-
return
|
|
1020
|
+
return he(ti, {
|
|
1021
1021
|
prefixCls: j("anticon"),
|
|
1022
1022
|
rootClassName: j(""),
|
|
1023
1023
|
csp: j()
|
|
@@ -1124,10 +1124,10 @@ function At(e, n, t) {
|
|
|
1124
1124
|
return At(l, "".concat(n, "-").concat(e.tag, "-").concat(a));
|
|
1125
1125
|
}));
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function hr(e) {
|
|
1128
1128
|
return kt(e)[0];
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function vr(e) {
|
|
1131
1131
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
1132
1132
|
}
|
|
1133
1133
|
var di = `
|
|
@@ -1207,10 +1207,10 @@ var mi = function() {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
});
|
|
1209
1209
|
}, gi = ["icon", "primaryColor", "secondaryColor"];
|
|
1210
|
-
function
|
|
1210
|
+
function hi(e, n) {
|
|
1211
1211
|
if (e == null)
|
|
1212
1212
|
return {};
|
|
1213
|
-
var t =
|
|
1213
|
+
var t = vi(e, n), l, a;
|
|
1214
1214
|
if (Object.getOwnPropertySymbols) {
|
|
1215
1215
|
var r = Object.getOwnPropertySymbols(e);
|
|
1216
1216
|
for (a = 0; a < r.length; a++)
|
|
@@ -1218,7 +1218,7 @@ function vi(e, n) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
return t;
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function vi(e, n) {
|
|
1222
1222
|
if (e == null)
|
|
1223
1223
|
return {};
|
|
1224
1224
|
var t = {}, l = Object.keys(e), a, r;
|
|
@@ -1247,16 +1247,16 @@ var Je = le({
|
|
|
1247
1247
|
});
|
|
1248
1248
|
function bi(e) {
|
|
1249
1249
|
var n = e.primaryColor, t = e.secondaryColor;
|
|
1250
|
-
Je.primaryColor = n, Je.secondaryColor = t ||
|
|
1250
|
+
Je.primaryColor = n, Je.secondaryColor = t || hr(n), Je.calculated = !!t;
|
|
1251
1251
|
}
|
|
1252
1252
|
function Si() {
|
|
1253
1253
|
return rt({}, Je);
|
|
1254
1254
|
}
|
|
1255
1255
|
var Ie = function(n, t) {
|
|
1256
|
-
var l = rt({}, n, t.attrs), a = l.icon, r = l.primaryColor, o = l.secondaryColor, i =
|
|
1256
|
+
var l = rt({}, n, t.attrs), a = l.icon, r = l.primaryColor, o = l.secondaryColor, i = hi(l, gi), u = Je;
|
|
1257
1257
|
if (r && (u = {
|
|
1258
1258
|
primaryColor: r,
|
|
1259
|
-
secondaryColor: o ||
|
|
1259
|
+
secondaryColor: o || hr(r)
|
|
1260
1260
|
}), ci(rl(a), "icon should be icon definiton, but got ".concat(a)), !rl(a))
|
|
1261
1261
|
return null;
|
|
1262
1262
|
var d = a;
|
|
@@ -1330,7 +1330,7 @@ function Ci(e) {
|
|
|
1330
1330
|
return e;
|
|
1331
1331
|
}
|
|
1332
1332
|
function br(e) {
|
|
1333
|
-
var n =
|
|
1333
|
+
var n = vr(e), t = _i(n, 2), l = t[0], a = t[1];
|
|
1334
1334
|
return Bt.setTwoToneColors({
|
|
1335
1335
|
primaryColor: l,
|
|
1336
1336
|
secondaryColor: a
|
|
@@ -1436,7 +1436,7 @@ var Ue = function(n, t) {
|
|
|
1436
1436
|
var y = u ? {
|
|
1437
1437
|
msTransform: "rotate(".concat(u, "deg)"),
|
|
1438
1438
|
transform: "rotate(".concat(u, "deg)")
|
|
1439
|
-
} : void 0, w =
|
|
1439
|
+
} : void 0, w = vr(f), h = Ai(w, 2), b = h[0], k = h[1];
|
|
1440
1440
|
return D("span", ul({
|
|
1441
1441
|
role: "img",
|
|
1442
1442
|
"aria-label": o.name
|
|
@@ -1639,7 +1639,7 @@ Ft.inheritAttrs = !1;
|
|
|
1639
1639
|
const uu = Ft;
|
|
1640
1640
|
var su = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" };
|
|
1641
1641
|
const cu = su;
|
|
1642
|
-
function
|
|
1642
|
+
function hl(e) {
|
|
1643
1643
|
for (var n = 1; n < arguments.length; n++) {
|
|
1644
1644
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
|
|
1645
1645
|
typeof Object.getOwnPropertySymbols == "function" && (l = l.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
|
|
@@ -1654,8 +1654,8 @@ function du(e, n, t) {
|
|
|
1654
1654
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1655
1655
|
}
|
|
1656
1656
|
var Ht = function(n, t) {
|
|
1657
|
-
var l =
|
|
1658
|
-
return D(Z,
|
|
1657
|
+
var l = hl({}, n, t.attrs);
|
|
1658
|
+
return D(Z, hl({}, l, {
|
|
1659
1659
|
icon: cu
|
|
1660
1660
|
}), null);
|
|
1661
1661
|
};
|
|
@@ -1664,7 +1664,7 @@ Ht.inheritAttrs = !1;
|
|
|
1664
1664
|
const fu = Ht;
|
|
1665
1665
|
var pu = { 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 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, name: "exclamation-circle", theme: "outlined" };
|
|
1666
1666
|
const mu = pu;
|
|
1667
|
-
function
|
|
1667
|
+
function vl(e) {
|
|
1668
1668
|
for (var n = 1; n < arguments.length; n++) {
|
|
1669
1669
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
|
|
1670
1670
|
typeof Object.getOwnPropertySymbols == "function" && (l = l.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
|
|
@@ -1679,16 +1679,16 @@ function gu(e, n, t) {
|
|
|
1679
1679
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
1680
1680
|
}
|
|
1681
1681
|
var Yt = function(n, t) {
|
|
1682
|
-
var l =
|
|
1683
|
-
return D(Z,
|
|
1682
|
+
var l = vl({}, n, t.attrs);
|
|
1683
|
+
return D(Z, vl({}, l, {
|
|
1684
1684
|
icon: mu
|
|
1685
1685
|
}), null);
|
|
1686
1686
|
};
|
|
1687
1687
|
Yt.displayName = "ExclamationCircleOutlined";
|
|
1688
1688
|
Yt.inheritAttrs = !1;
|
|
1689
|
-
const
|
|
1690
|
-
var
|
|
1691
|
-
const yu =
|
|
1689
|
+
const hu = Yt;
|
|
1690
|
+
var vu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z" } }] }, name: "file-excel", theme: "outlined" };
|
|
1691
|
+
const yu = vu;
|
|
1692
1692
|
function yl(e) {
|
|
1693
1693
|
for (var n = 1; n < arguments.length; n++) {
|
|
1694
1694
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
|
|
@@ -2013,25 +2013,25 @@ rn.displayName = "StopOutlined";
|
|
|
2013
2013
|
rn.inheritAttrs = !1;
|
|
2014
2014
|
const ms = rn;
|
|
2015
2015
|
var gs = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z" } }] }, name: "undo", theme: "outlined" };
|
|
2016
|
-
const
|
|
2016
|
+
const hs = gs;
|
|
2017
2017
|
function $l(e) {
|
|
2018
2018
|
for (var n = 1; n < arguments.length; n++) {
|
|
2019
2019
|
var t = arguments[n] != null ? Object(arguments[n]) : {}, l = Object.keys(t);
|
|
2020
2020
|
typeof Object.getOwnPropertySymbols == "function" && (l = l.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
|
|
2021
2021
|
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
2022
2022
|
}))), l.forEach(function(a) {
|
|
2023
|
-
|
|
2023
|
+
vs(e, a, t[a]);
|
|
2024
2024
|
});
|
|
2025
2025
|
}
|
|
2026
2026
|
return e;
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function vs(e, n, t) {
|
|
2029
2029
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
2030
2030
|
}
|
|
2031
2031
|
var on = function(n, t) {
|
|
2032
2032
|
var l = $l({}, n, t.attrs);
|
|
2033
2033
|
return D(Z, $l({}, l, {
|
|
2034
|
-
icon:
|
|
2034
|
+
icon: hs
|
|
2035
2035
|
}), null);
|
|
2036
2036
|
};
|
|
2037
2037
|
on.displayName = "UndoOutlined";
|
|
@@ -2107,7 +2107,7 @@ const Ps = sn, ks = (e) => {
|
|
|
2107
2107
|
]) : e;
|
|
2108
2108
|
to.confirm({
|
|
2109
2109
|
title: "操作确认",
|
|
2110
|
-
icon: D(
|
|
2110
|
+
icon: D(hu),
|
|
2111
2111
|
content: l,
|
|
2112
2112
|
okText: "确认",
|
|
2113
2113
|
cancelText: "取消",
|
|
@@ -2223,9 +2223,9 @@ function Ms(e) {
|
|
|
2223
2223
|
let y = m.requestUrl;
|
|
2224
2224
|
const w = X(m.componentType, o.componentType);
|
|
2225
2225
|
if ((w === "iframe" || m.requestType === "open") && (y = ae(a.ctxPath, y), m.requestRow && y.split("?").length > 1)) {
|
|
2226
|
-
const
|
|
2227
|
-
for (const b in
|
|
2228
|
-
const k =
|
|
2226
|
+
const h = As(y.split("?")[1]);
|
|
2227
|
+
for (const b in h) {
|
|
2228
|
+
const k = h[b];
|
|
2229
2229
|
if (l.checkboxConfig) {
|
|
2230
2230
|
let V = [];
|
|
2231
2231
|
for (const F in _)
|
|
@@ -2245,8 +2245,8 @@ function Ms(e) {
|
|
|
2245
2245
|
if (m.requestRadio)
|
|
2246
2246
|
_[0][T.buttonKeyName] = m, t.componentParams = _[0];
|
|
2247
2247
|
else {
|
|
2248
|
-
const
|
|
2249
|
-
|
|
2248
|
+
const h = {};
|
|
2249
|
+
h[T.buttonKeyName] = m, h._X_ROWS = _, t.componentParams = h;
|
|
2250
2250
|
}
|
|
2251
2251
|
else
|
|
2252
2252
|
_[T.buttonKeyName] = m, t.componentParams = _;
|
|
@@ -2372,9 +2372,9 @@ function $s(e) {
|
|
|
2372
2372
|
0
|
|
2373
2373
|
);
|
|
2374
2374
|
setTimeout(w, 2e3);
|
|
2375
|
-
const
|
|
2376
|
-
if (
|
|
2377
|
-
const { filter: b, form: k, sort: V } =
|
|
2375
|
+
const h = l.value;
|
|
2376
|
+
if (h) {
|
|
2377
|
+
const { filter: b, form: k, sort: V } = h.getProxyInfo(), F = Pt({
|
|
2378
2378
|
currentPage: 1,
|
|
2379
2379
|
pageSize: 25e3
|
|
2380
2380
|
}, V, b, k, t, o);
|
|
@@ -2414,12 +2414,12 @@ function $s(e) {
|
|
|
2414
2414
|
columns: s(a.params.exportColumns) ? a.params.exportColumns : a.columns,
|
|
2415
2415
|
isFooter: f.isFooter,
|
|
2416
2416
|
isMerge: f.isMerge,
|
|
2417
|
-
columnFilterMethod(
|
|
2417
|
+
columnFilterMethod(ve) {
|
|
2418
2418
|
var Pe;
|
|
2419
|
-
return !T.templateTable.ignoreExportColumnsTitle.includes((Pe =
|
|
2419
|
+
return !T.templateTable.ignoreExportColumnsTitle.includes((Pe = ve == null ? void 0 : ve.column) == null ? void 0 : Pe.title);
|
|
2420
2420
|
}
|
|
2421
2421
|
};
|
|
2422
|
-
oe("导出参数", se),
|
|
2422
|
+
oe("导出参数", se), h.exportData(se).then(() => {
|
|
2423
2423
|
a.loading = !1;
|
|
2424
2424
|
});
|
|
2425
2425
|
}
|
|
@@ -2601,9 +2601,9 @@ var Pr = { exports: {} };
|
|
|
2601
2601
|
});
|
|
2602
2602
|
if (!m)
|
|
2603
2603
|
return w;
|
|
2604
|
-
var
|
|
2604
|
+
var h = C.weekStart;
|
|
2605
2605
|
return w.map(function(b, k) {
|
|
2606
|
-
return w[(k + (
|
|
2606
|
+
return w[(k + (h || 0)) % 7];
|
|
2607
2607
|
});
|
|
2608
2608
|
}, u = function() {
|
|
2609
2609
|
return a.Ls[a.locale()];
|
|
@@ -2665,7 +2665,7 @@ var Pr = { exports: {} };
|
|
|
2665
2665
|
});
|
|
2666
2666
|
})(Pr);
|
|
2667
2667
|
var Ns = Pr.exports;
|
|
2668
|
-
const
|
|
2668
|
+
const ht = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONSTANT_PAGE_OPTIONS", Rs = (e, n = "") => s(e) ? e : n, Es = (e, n) => (n = s(n) ? n : 2, s(e) ? e.toFixed(n) : 0), Mt = (e, n) => (n = s(n) ? n : 2, s(e) ? `${Qe.commafy(Number(e), { digits: n })}` : e), Tr = (e) => pn(e, "yyyy-MM-dd"), Ar = (e) => pn(e, "yyyy-MM-dd HH:mm:ss"), pn = (e, n) => Qe.toDateString(e, n), ot = (e, n) => e && e.length > n ? e.substring(0, n) + "..." : e, Ls = (e, n) => typeof n == "string" ? n === "number" ? Mt(e) : n === "date" ? Tr(e) : n === "datetime" ? Ar(e) : ot(e, 200) : typeof n == "object" && n instanceof Array && n[0] === "number" ? Mt(e, n[1]) : ot(e, 200), $ = {
|
|
2669
2669
|
toString: Rs,
|
|
2670
2670
|
toDateString: Tr,
|
|
2671
2671
|
toDatetimeString: Ar,
|
|
@@ -2689,8 +2689,8 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2689
2689
|
},
|
|
2690
2690
|
emits: ["update:value"],
|
|
2691
2691
|
setup(e, { expose: n, emit: t }) {
|
|
2692
|
-
M.locale("zh-cn"), M.extend(fn), M.extend(
|
|
2693
|
-
const l = e, a = $.toString(l.picker, "date"), r = l.picker === "date" ? "day" : l.picker, o = $.toString(l.format, "YYYY-MM-DD"), i =
|
|
2692
|
+
M.locale("zh-cn"), M.extend(fn), M.extend(ht);
|
|
2693
|
+
const l = e, a = $.toString(l.picker, "date"), r = l.picker === "date" ? "day" : l.picker, o = $.toString(l.format, "YYYY-MM-DD"), i = he(_e), u = Be(i == null ? void 0 : i.size);
|
|
2694
2694
|
let d = j();
|
|
2695
2695
|
const f = [
|
|
2696
2696
|
{ label: "当天", value: [M().add(0, r)] },
|
|
@@ -2715,13 +2715,13 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2715
2715
|
{ label: "近两年", value: [M().add(-2, r)] },
|
|
2716
2716
|
{ label: "近三年", value: [M().add(-3, r)] },
|
|
2717
2717
|
{ label: "近五年", value: [M().add(-5, r)] }
|
|
2718
|
-
], x = j(a === "year" ? g : a === "month" ? p : f), c = t, m = (
|
|
2718
|
+
], x = j(a === "year" ? g : a === "month" ? p : f), c = t, m = (h, b) => {
|
|
2719
2719
|
oe("日期区间选值", b), b && b[0] == "" && b[1] == "" ? c("update:value", null) : c("update:value", b);
|
|
2720
2720
|
}, C = () => {
|
|
2721
|
-
let
|
|
2722
|
-
return d.value && d.value[0] && (
|
|
2723
|
-
}, _ = (
|
|
2724
|
-
const b =
|
|
2721
|
+
let h = null, b = null;
|
|
2722
|
+
return d.value && d.value[0] && (h = M(d.value[0]).format(o)), d.value && d.value[1] && (b = M(d.value[1]).format(o)), !h && !b ? null : [h, b];
|
|
2723
|
+
}, _ = (h) => {
|
|
2724
|
+
const b = h ? h[0] : null, k = h ? h[1] : null;
|
|
2725
2725
|
typeof b == "number" || typeof k == "number" ? d.value = [
|
|
2726
2726
|
s(b) ? M().add(b, r) : null,
|
|
2727
2727
|
s(k) ? M().add(k, r) : null
|
|
@@ -2736,7 +2736,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2736
2736
|
getValue: C,
|
|
2737
2737
|
resetValue: y,
|
|
2738
2738
|
getRefType: w
|
|
2739
|
-
}), (
|
|
2739
|
+
}), (h, b) => {
|
|
2740
2740
|
const k = L("a-range-picker");
|
|
2741
2741
|
return O(), z(k, {
|
|
2742
2742
|
value: S(d),
|
|
@@ -2767,8 +2767,8 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2767
2767
|
},
|
|
2768
2768
|
emits: ["update:value"],
|
|
2769
2769
|
setup(e, { expose: n, emit: t }) {
|
|
2770
|
-
M.locale("zh-cn"), M.extend(fn), M.extend(
|
|
2771
|
-
const l = e, a =
|
|
2770
|
+
M.locale("zh-cn"), M.extend(fn), M.extend(ht);
|
|
2771
|
+
const l = e, a = he(_e), r = Be(a == null ? void 0 : a.size), o = $.toString(l.picker, "date"), i = $.toString(l.format, "YYYY-MM-DD"), u = t;
|
|
2772
2772
|
let d = j();
|
|
2773
2773
|
const f = (c, m) => {
|
|
2774
2774
|
oe("日期选值", m), !m || m == "" ? u("update:value", null) : u("update:value", m);
|
|
@@ -2815,7 +2815,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2815
2815
|
},
|
|
2816
2816
|
emits: ["update:value"],
|
|
2817
2817
|
setup(e, { expose: n, emit: t }) {
|
|
2818
|
-
const l = e, a =
|
|
2818
|
+
const l = e, a = he(_e), r = Be(a == null ? void 0 : a.size), o = j(null), i = X(l.placeholder, "请输入" + l.title), u = t, d = () => {
|
|
2819
2819
|
u("update:value", o.value);
|
|
2820
2820
|
};
|
|
2821
2821
|
return n({
|
|
@@ -2858,7 +2858,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2858
2858
|
},
|
|
2859
2859
|
emits: ["update:value"],
|
|
2860
2860
|
setup(e, { expose: n, emit: t }) {
|
|
2861
|
-
const l = e, a =
|
|
2861
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.application) || "", o = (a == null ? void 0 : a.ctxPath) || "", i = (a == null ? void 0 : a.requestDictUrl) || "", u = Be(a == null ? void 0 : a.size), d = j(l.multiple ? [] : null), f = t, p = j([]), g = async () => {
|
|
2862
2862
|
let y = l.request.requestUrl;
|
|
2863
2863
|
return !y && r && (y = i), y ? (y = ae(o, y), await cn(r, y, l.request)) : (oe("下拉框插槽未获取到请求地址"), []);
|
|
2864
2864
|
}, x = (y, w) => w.label.toLowerCase().indexOf(y.toLowerCase()) >= 0, c = () => {
|
|
@@ -2877,9 +2877,9 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2877
2877
|
p.value = y;
|
|
2878
2878
|
});
|
|
2879
2879
|
}), (y, w) => {
|
|
2880
|
-
const
|
|
2880
|
+
const h = L("a-select");
|
|
2881
2881
|
return O(), U("div", Hs, [
|
|
2882
|
-
D(
|
|
2882
|
+
D(h, {
|
|
2883
2883
|
value: d.value,
|
|
2884
2884
|
"onUpdate:value": w[0] || (w[0] = (b) => d.value = b),
|
|
2885
2885
|
onChange: c,
|
|
@@ -2918,11 +2918,11 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2918
2918
|
},
|
|
2919
2919
|
emits: ["update:value"],
|
|
2920
2920
|
setup(e, { expose: n, emit: t }) {
|
|
2921
|
-
const l = e, a =
|
|
2922
|
-
if (f.value = [],
|
|
2921
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.ctxPath) || "", o = Be(a == null ? void 0 : a.size), i = "请输入" + l.title + "搜索", u = j(""), d = j(""), f = j([]), p = t, g = j(!1), x = async (h) => {
|
|
2922
|
+
if (f.value = [], h) {
|
|
2923
2923
|
g.value = !0;
|
|
2924
2924
|
const b = {
|
|
2925
|
-
searchValue: je(
|
|
2925
|
+
searchValue: je(h)
|
|
2926
2926
|
}, k = await Fe(ae(r, l.requestUrl), {
|
|
2927
2927
|
...l.requestParams,
|
|
2928
2928
|
...b
|
|
@@ -2930,18 +2930,18 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2930
2930
|
return g.value = !1, k;
|
|
2931
2931
|
} else
|
|
2932
2932
|
return [];
|
|
2933
|
-
}, c = $t((
|
|
2934
|
-
x(
|
|
2933
|
+
}, c = $t((h) => {
|
|
2934
|
+
x(h).then((b) => {
|
|
2935
2935
|
f.value = b;
|
|
2936
2936
|
});
|
|
2937
|
-
}, 500), m = (
|
|
2938
|
-
u.value =
|
|
2939
|
-
}, C = () => d.value, _ = () => u.value, y = (
|
|
2940
|
-
u.value =
|
|
2937
|
+
}, 500), m = (h) => {
|
|
2938
|
+
u.value = h, p("update:value", h);
|
|
2939
|
+
}, C = () => d.value, _ = () => u.value, y = (h, b = null) => {
|
|
2940
|
+
u.value = h, d.value = b;
|
|
2941
2941
|
let k = f.value.filter((V) => V.value === u.value);
|
|
2942
|
-
k.length === 1 ? d.value = k[0].label : x(
|
|
2942
|
+
k.length === 1 ? d.value = k[0].label : x(h).then((V) => {
|
|
2943
2943
|
f.value = V;
|
|
2944
|
-
}), p("update:value",
|
|
2944
|
+
}), p("update:value", h);
|
|
2945
2945
|
};
|
|
2946
2946
|
return n({
|
|
2947
2947
|
getName: C,
|
|
@@ -2950,7 +2950,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2950
2950
|
resetValue: () => {
|
|
2951
2951
|
y(l.defaultValue, l.defaultName);
|
|
2952
2952
|
}
|
|
2953
|
-
}), (
|
|
2953
|
+
}), (h, b) => {
|
|
2954
2954
|
const k = L("a-spin"), V = L("a-select");
|
|
2955
2955
|
return O(), U("div", Ws, [
|
|
2956
2956
|
D(V, {
|
|
@@ -2999,10 +2999,10 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
2999
2999
|
},
|
|
3000
3000
|
emits: ["update:value"],
|
|
3001
3001
|
setup(e, { expose: n, emit: t }) {
|
|
3002
|
-
const l = e, a =
|
|
3003
|
-
g("update:value",
|
|
3004
|
-
}, C = () => d.value, _ = () => u.value, y = (
|
|
3005
|
-
u.value =
|
|
3002
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.ctxPath) || "", o = Be(a == null ? void 0 : a.size), i = "请输入" + l.title + "搜索", u = j(l.multiple ? [] : null), d = j(""), f = j([]), p = j([]), g = t, x = (h, b) => b.label.toLowerCase().indexOf(je(h).toLowerCase()) >= 0, c = async () => await Fe(ae(r, l.requestUrl), l.requestParams), m = (h) => {
|
|
3003
|
+
g("update:value", h);
|
|
3004
|
+
}, C = () => d.value, _ = () => u.value, y = (h) => {
|
|
3005
|
+
u.value = h, g("update:value", u.value);
|
|
3006
3006
|
let b = p.value.filter((k) => k.value === u.value);
|
|
3007
3007
|
if (l.multiple) {
|
|
3008
3008
|
let k = "";
|
|
@@ -3019,9 +3019,9 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
3019
3019
|
resetValue: () => {
|
|
3020
3020
|
l.multiple ? y(l.defaultValue || []) : y(l.defaultValue || null);
|
|
3021
3021
|
}
|
|
3022
|
-
}), c().then((
|
|
3023
|
-
p.value =
|
|
3024
|
-
}), (
|
|
3022
|
+
}), c().then((h) => {
|
|
3023
|
+
p.value = h, f.value = h;
|
|
3024
|
+
}), (h, b) => {
|
|
3025
3025
|
const k = L("a-select");
|
|
3026
3026
|
return O(), U("div", Js, [
|
|
3027
3027
|
D(k, {
|
|
@@ -3065,7 +3065,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
3065
3065
|
},
|
|
3066
3066
|
emits: ["update:value", "change"],
|
|
3067
3067
|
setup(e, { expose: n, emit: t }) {
|
|
3068
|
-
const l = e, a =
|
|
3068
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.application) || "", o = (a == null ? void 0 : a.ctxPath) || "", i = Be(a == null ? void 0 : a.size), u = "请输入" + l.title + "搜索", d = l.fieldNames.label, f = l.fieldNames.value, p = j([]), g = j([]), x = async () => {
|
|
3069
3069
|
const b = await _r(
|
|
3070
3070
|
ae(o, l.requestUrl),
|
|
3071
3071
|
l.requestParams,
|
|
@@ -3077,7 +3077,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
3077
3077
|
s(k) ? (c("update:value", b[b.length - 1]), c("change", k[k.length - 1])) : (c("update:value", null), c("change", null));
|
|
3078
3078
|
}, C = (b, k) => k.some((V) => V[d].indexOf(b) > -1), _ = () => g.value.filter((k) => k[f] === p.value[p.value.length - 1])[d], y = () => p.value, w = (b) => {
|
|
3079
3079
|
p.value = b, c("update:value", b);
|
|
3080
|
-
},
|
|
3080
|
+
}, h = () => {
|
|
3081
3081
|
p.value = null, c("update:value", null), c("change", null);
|
|
3082
3082
|
};
|
|
3083
3083
|
return ue(() => {
|
|
@@ -3086,7 +3086,7 @@ const vt = /* @__PURE__ */ wr(Ns), kr = "CONSTANT_DIALOG_CONTAINER", _e = "CONST
|
|
|
3086
3086
|
getName: _,
|
|
3087
3087
|
getValue: y,
|
|
3088
3088
|
setValue: w,
|
|
3089
|
-
resetValue:
|
|
3089
|
+
resetValue: h
|
|
3090
3090
|
}), (b, k) => {
|
|
3091
3091
|
const V = L("a-cascader");
|
|
3092
3092
|
return O(), U("div", Xs, [
|
|
@@ -3185,7 +3185,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3185
3185
|
},
|
|
3186
3186
|
emits: ["cancel", "submit"],
|
|
3187
3187
|
setup(e, { emit: n }) {
|
|
3188
|
-
const t = e, l = j("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), a = t.mountainTop ? () => document.body :
|
|
3188
|
+
const t = e, l = j("sag-vxe-page-dialog-default " + (t.mountainTop ? "" : "sag-dialog-wrap")), a = t.mountainTop ? () => document.body : he($.toString(T.targetModal.dialogContainer, kr)), r = t.componentType === "vue" && typeof t.componentUrl == "string" ? Jr(() => ac(t.componentUrl)) : t.componentUrl, o = t.componentType === "iframe" ? t.componentUrl : "", i = t.mountainTop ? "calc(100vh - 88px)" : "calc(100vh - 188px)", u = n, d = () => {
|
|
3189
3189
|
u("cancel");
|
|
3190
3190
|
}, f = (_) => {
|
|
3191
3191
|
u("submit", _);
|
|
@@ -3204,9 +3204,9 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3204
3204
|
return ue(() => {
|
|
3205
3205
|
oe("SagVxeDialog弹出参数", t), t.maximize && (p.value.fullScreen = !0);
|
|
3206
3206
|
}), (_, y) => {
|
|
3207
|
-
const w = L("vxe-button"),
|
|
3207
|
+
const w = L("vxe-button"), h = L("a-modal");
|
|
3208
3208
|
return O(), U("div", lc, [
|
|
3209
|
-
D(
|
|
3209
|
+
D(h, {
|
|
3210
3210
|
ref_key: "gridModal",
|
|
3211
3211
|
ref: p,
|
|
3212
3212
|
open: t.visible,
|
|
@@ -3269,7 +3269,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3269
3269
|
},
|
|
3270
3270
|
emits: ["update:value"],
|
|
3271
3271
|
setup(e, { expose: n, emit: t }) {
|
|
3272
|
-
const l = e, a =
|
|
3272
|
+
const l = e, a = he(_e), r = j(null), o = X(l.placeholder, "请输入" + l.title), i = t, u = (g) => {
|
|
3273
3273
|
f(g.value);
|
|
3274
3274
|
}, d = () => r.value, f = (g) => {
|
|
3275
3275
|
r.value = g, i("update:value", r.value);
|
|
@@ -3315,7 +3315,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3315
3315
|
},
|
|
3316
3316
|
emits: ["update:value"],
|
|
3317
3317
|
setup(e, { expose: n, emit: t }) {
|
|
3318
|
-
const l = e, a =
|
|
3318
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.ctxPath) || "", o = (a == null ? void 0 : a.application) || "", i = (a == null ? void 0 : a.requestDictUrl) || "", u = "请输入" + l.title + "搜索", d = j(""), f = j(""), p = j([]), g = t, x = le({
|
|
3319
3319
|
multiple: l.multiple,
|
|
3320
3320
|
filterable: l.filterable,
|
|
3321
3321
|
clearable: l.clearable,
|
|
@@ -3323,16 +3323,16 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3323
3323
|
transfer: l.transfer,
|
|
3324
3324
|
placeholder: l.filterable ? u : "",
|
|
3325
3325
|
options: [],
|
|
3326
|
-
filterMethod({ searchValue:
|
|
3327
|
-
return b.label.toLowerCase().indexOf(je(
|
|
3326
|
+
filterMethod({ searchValue: h, option: b }) {
|
|
3327
|
+
return b.label.toLowerCase().indexOf(je(h).toLowerCase()) >= 0;
|
|
3328
3328
|
}
|
|
3329
3329
|
}), c = async () => {
|
|
3330
|
-
let
|
|
3331
|
-
return !
|
|
3332
|
-
}, m = ({ value:
|
|
3333
|
-
g("update:value",
|
|
3334
|
-
}, C = () => f.value, _ = () => d.value, y = (
|
|
3335
|
-
d.value =
|
|
3330
|
+
let h = l.request.requestUrl;
|
|
3331
|
+
return !h && o && (h = i), h ? (h = ae(r, h), await cn(o, h, l.request)) : (oe("下拉框插槽未获取到请求地址"), []);
|
|
3332
|
+
}, m = ({ value: h }) => {
|
|
3333
|
+
g("update:value", h);
|
|
3334
|
+
}, C = () => f.value, _ = () => d.value, y = (h) => {
|
|
3335
|
+
d.value = h, g("update:value", d.value);
|
|
3336
3336
|
let b = p.value.filter((k) => k.value === d.value);
|
|
3337
3337
|
b.length === 1 && (f.value = b[0].label);
|
|
3338
3338
|
};
|
|
@@ -3344,10 +3344,10 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3344
3344
|
y(l.defaultValue);
|
|
3345
3345
|
}
|
|
3346
3346
|
}), ue(() => {
|
|
3347
|
-
c().then((
|
|
3348
|
-
!l.multiple && l.selectAll && (
|
|
3347
|
+
c().then((h) => {
|
|
3348
|
+
!l.multiple && l.selectAll && (h = [{ label: "--全部--", value: "" }].concat(h)), p.value = h, x.options = h;
|
|
3349
3349
|
});
|
|
3350
|
-
}), (
|
|
3350
|
+
}), (h, b) => {
|
|
3351
3351
|
var V;
|
|
3352
3352
|
const k = L("vxe-select", !0);
|
|
3353
3353
|
return O(), z(k, ne({
|
|
@@ -3379,7 +3379,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3379
3379
|
},
|
|
3380
3380
|
emits: ["update:value"],
|
|
3381
3381
|
setup(e, { expose: n, emit: t }) {
|
|
3382
|
-
const l = e, a =
|
|
3382
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.ctxPath) || "", o = "请输入" + l.title + "搜索", i = j(""), u = j(""), d = j([]), f = t, p = le({
|
|
3383
3383
|
clearable: !0,
|
|
3384
3384
|
filterable: !0,
|
|
3385
3385
|
disabled: l.disabled,
|
|
@@ -3409,9 +3409,9 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3409
3409
|
f("update:value", y);
|
|
3410
3410
|
}, c = () => u.value, m = () => i.value, C = (y) => {
|
|
3411
3411
|
i.value = y;
|
|
3412
|
-
let w = d.value.filter((
|
|
3413
|
-
w.length === 1 ? u.value = w[0].label : g(y).then((
|
|
3414
|
-
d.value =
|
|
3412
|
+
let w = d.value.filter((h) => h.value === i.value);
|
|
3413
|
+
w.length === 1 ? u.value = w[0].label : g(y).then((h) => {
|
|
3414
|
+
d.value = h;
|
|
3415
3415
|
}), f("update:value", i.value);
|
|
3416
3416
|
};
|
|
3417
3417
|
return n({
|
|
@@ -3423,8 +3423,8 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3423
3423
|
}
|
|
3424
3424
|
}), (y, w) => {
|
|
3425
3425
|
var b;
|
|
3426
|
-
const
|
|
3427
|
-
return O(), z(
|
|
3426
|
+
const h = L("vxe-select");
|
|
3427
|
+
return O(), z(h, ne({
|
|
3428
3428
|
modelValue: i.value,
|
|
3429
3429
|
"onUpdate:modelValue": w[0] || (w[0] = (k) => i.value = k)
|
|
3430
3430
|
}, p, {
|
|
@@ -3453,7 +3453,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3453
3453
|
},
|
|
3454
3454
|
emits: ["update:value"],
|
|
3455
3455
|
setup(e, { expose: n, emit: t }) {
|
|
3456
|
-
const l = e, a =
|
|
3456
|
+
const l = e, a = he(_e), r = (a == null ? void 0 : a.ctxPath) || "", o = "请输入" + l.title + "搜索", i = j(""), u = j(""), d = j([]), f = t, p = le({
|
|
3457
3457
|
filterable: !0,
|
|
3458
3458
|
clearable: !0,
|
|
3459
3459
|
disabled: l.disabled,
|
|
@@ -3467,7 +3467,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3467
3467
|
f("update:value", y);
|
|
3468
3468
|
}, c = () => u.value, m = () => i.value, C = (y) => {
|
|
3469
3469
|
i.value = y, f("update:value", i.value);
|
|
3470
|
-
let w = d.value.filter((
|
|
3470
|
+
let w = d.value.filter((h) => h.value === i.value);
|
|
3471
3471
|
w.length === 1 && (u.value = w[0].label);
|
|
3472
3472
|
};
|
|
3473
3473
|
return n({
|
|
@@ -3483,8 +3483,8 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3483
3483
|
});
|
|
3484
3484
|
}), (y, w) => {
|
|
3485
3485
|
var b;
|
|
3486
|
-
const
|
|
3487
|
-
return O(), z(
|
|
3486
|
+
const h = L("vxe-select");
|
|
3487
|
+
return O(), z(h, ne({
|
|
3488
3488
|
modelValue: i.value,
|
|
3489
3489
|
"onUpdate:modelValue": w[0] || (w[0] = (k) => i.value = k)
|
|
3490
3490
|
}, p, {
|
|
@@ -3608,7 +3608,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3608
3608
|
});
|
|
3609
3609
|
};
|
|
3610
3610
|
}
|
|
3611
|
-
}), gc = { class: "sag-vxe-page-search-wrapper" },
|
|
3611
|
+
}), gc = { class: "sag-vxe-page-search-wrapper" }, hc = { class: "sag-vxe-page-table-wrapper" }, vc = ["onClick"], yc = { style: { "font-weight": "bold" } }, bc = { key: 0 }, Sc = ["onClick"], _c = { key: 1 }, Oc = { style: { display: "inline" } }, wc = { key: 0 }, xc = ["onClick"], Cc = ["onClick"], Pc = /* @__PURE__ */ te("i", { class: "vxe-button--icon vxe-icon-refresh" }, null, -1), kc = /* @__PURE__ */ te("i", { class: "vxe-button--icon vxe-icon-download" }, null, -1), Tc = /* @__PURE__ */ te("i", { class: "vxe-button--icon vxe-icon-upload" }, null, -1), Ac = { key: 0 }, Mc = /* @__PURE__ */ te("span", { style: { "font-size": "24px", color: "red" } }, "您好,数据获取出现异常,请您稍后再次尝试!", -1), $c = [
|
|
3612
3612
|
Mc
|
|
3613
3613
|
], jc = { key: 1 }, Vc = /* @__PURE__ */ te("span", { style: { "font-size": "24px", color: "red" } }, "没有更多数据了!", -1), zc = [
|
|
3614
3614
|
Vc
|
|
@@ -3624,7 +3624,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3624
3624
|
__name: "SagVxePage",
|
|
3625
3625
|
emits: ["submit", "resetValue", "search"],
|
|
3626
3626
|
setup(e, { expose: n, emit: t }) {
|
|
3627
|
-
var Cn, Pn, kn, Tn, An, Mn, $n, jn, Vn, zn, qn, Dn, Bn, Nn, Rn, En, Ln, In, Un, Fn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, la, ra, oa, ia, ua, sa, ca, da, fa, pa, ma, ga,
|
|
3627
|
+
var Cn, Pn, kn, Tn, An, Mn, $n, jn, Vn, zn, qn, Dn, Bn, Nn, Rn, En, Ln, In, Un, Fn, Hn, Yn, Wn, Gn, Jn, Qn, Xn, Zn, Kn, ea, ta, na, aa, la, ra, oa, ia, ua, sa, ca, da, fa, pa, ma, ga, ha, va, ya, ba, Sa, _a, Oa, wa, xa, Ca, Pa, ka, Ta, Aa, Ma, $a, ja, Va, za, qa, Da, Ba, Na, Ra, Ea, La, Ia, Ua;
|
|
3628
3628
|
const l = le({
|
|
3629
3629
|
visible: !1,
|
|
3630
3630
|
maximize: !1,
|
|
@@ -3712,7 +3712,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3712
3712
|
seqKey: $.toString((da = (ca = a == null ? void 0 : a.templateTable) == null ? void 0 : ca.tableColumnMerge) == null ? void 0 : da.seqKey, null),
|
|
3713
3713
|
isMerge: $.toString((pa = (fa = a == null ? void 0 : a.templateTable) == null ? void 0 : fa.tableColumnMerge) == null ? void 0 : pa.isMerge, !1),
|
|
3714
3714
|
isFooter: $.toString((ga = (ma = a == null ? void 0 : a.templateTable) == null ? void 0 : ma.tableColumnMerge) == null ? void 0 : ga.isFooter, !1),
|
|
3715
|
-
fields: $.toString((
|
|
3715
|
+
fields: $.toString((va = (ha = a == null ? void 0 : a.templateTable) == null ? void 0 : ha.tableColumnMerge) == null ? void 0 : va.fields, []),
|
|
3716
3716
|
backgroundColor: $.toString(
|
|
3717
3717
|
(ba = (ya = a == null ? void 0 : a.templateTable) == null ? void 0 : ya.tableColumnMerge) == null ? void 0 : ba.backgroundColor,
|
|
3718
3718
|
(_a = (Sa = T == null ? void 0 : T.templateTable) == null ? void 0 : Sa.tableColumnMerge) == null ? void 0 : _a.backgroundColor
|
|
@@ -3751,12 +3751,12 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3751
3751
|
}
|
|
3752
3752
|
}), x = T.application + "_" + r.templateType, c = "sag_vxe_page_div_panel_" + x;
|
|
3753
3753
|
Fa(_e, r), Fa(kr, () => document.getElementById(S(c)));
|
|
3754
|
-
const m = Object.keys(Le()), C = m.filter((P) => P.startsWith("items_")), _ = m.filter((P) => P.startsWith("cols_")), y = m.filter((P) => P.startsWith("tools_")), w = j(),
|
|
3754
|
+
const m = Object.keys(Le()), C = m.filter((P) => P.startsWith("items_")), _ = m.filter((P) => P.startsWith("cols_")), y = m.filter((P) => P.startsWith("tools_")), w = j(), h = j(!0), b = j(!1), k = j("none"), V = j(["1"]), I = j(0), F = Be(r.size), Q = j(), N = le({}), se = j([]), ve = j(), Pe = j([]), He = t, Oe = (P, A) => {
|
|
3755
3755
|
se.value[A] = P;
|
|
3756
3756
|
}, Ne = async () => {
|
|
3757
3757
|
const P = w.value;
|
|
3758
3758
|
if (!b.value && P) {
|
|
3759
|
-
const A =
|
|
3759
|
+
const A = ve.value;
|
|
3760
3760
|
A ? A.validate().then((R) => {
|
|
3761
3761
|
(!R || R.length === 0) && P.commitProxy("query");
|
|
3762
3762
|
}) : P.commitProxy("query");
|
|
@@ -3816,19 +3816,19 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3816
3816
|
},
|
|
3817
3817
|
querySuccess: (P) => {
|
|
3818
3818
|
const { page: A, sort: R, sorts: J, filters: H, form: pe, response: we } = P;
|
|
3819
|
-
f != null && f.isMerge && (W.mergeCells =
|
|
3819
|
+
f != null && f.isMerge && (W.mergeCells = vn(we == null ? void 0 : we.rows)), He("search", we, { $gridRef: w.value, gridOptions: W });
|
|
3820
3820
|
}
|
|
3821
3821
|
}
|
|
3822
3822
|
},
|
|
3823
3823
|
footerMethod: d.footerMethod
|
|
3824
|
-
}),
|
|
3824
|
+
}), vt = j(!1), $r = () => {
|
|
3825
3825
|
st("确定要强制显示数据内容吗?", () => {
|
|
3826
|
-
f != null && f.isMerge ? W.mergeCells = null : W.spanMethod = Ga({}), W.virtualYConfig = { enabled: !0 },
|
|
3826
|
+
f != null && f.isMerge ? W.mergeCells = null : W.spanMethod = Ga({}), W.virtualYConfig = { enabled: !0 }, vt.value = !0, Ne();
|
|
3827
3827
|
});
|
|
3828
3828
|
}, gn = async (P, A, R) => {
|
|
3829
3829
|
var J;
|
|
3830
|
-
if (k.value = "none",
|
|
3831
|
-
return
|
|
3830
|
+
if (k.value = "none", vt.value)
|
|
3831
|
+
return vt.value = !1, W.params.data;
|
|
3832
3832
|
{
|
|
3833
3833
|
b.value = !0, r.onLoadBeforeModule && r.onLoadBeforeModule({
|
|
3834
3834
|
$gridRef: w.value,
|
|
@@ -3847,10 +3847,10 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3847
3847
|
if (H.success) {
|
|
3848
3848
|
if (W.params.dataSum = (J = H.data) == null ? void 0 : J.dataSum, f != null && f.mergeKey) {
|
|
3849
3849
|
if (!R && H.data.rows.length > 800)
|
|
3850
|
-
return k.value = "more", W.params.data =
|
|
3850
|
+
return k.value = "more", W.params.data = hn(H.data), null;
|
|
3851
3851
|
f != null && f.isMerge || (W.virtualYConfig = { enabled: !1 });
|
|
3852
3852
|
}
|
|
3853
|
-
return
|
|
3853
|
+
return hn(H.data);
|
|
3854
3854
|
} else
|
|
3855
3855
|
return k.value = "error", null;
|
|
3856
3856
|
}
|
|
@@ -3887,7 +3887,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3887
3887
|
W.params.currentRow = P == null ? void 0 : P.row;
|
|
3888
3888
|
}, qr = () => {
|
|
3889
3889
|
W.params.currentRow = null;
|
|
3890
|
-
},
|
|
3890
|
+
}, hn = (P) => {
|
|
3891
3891
|
const A = f == null ? void 0 : f.seqKey, R = f == null ? void 0 : f.mergeKey;
|
|
3892
3892
|
if (R && A) {
|
|
3893
3893
|
let J = [""], H = 0 + P.pageSize * (P.pageNo - 1);
|
|
@@ -3899,7 +3899,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3899
3899
|
gridOptions: W,
|
|
3900
3900
|
data: P
|
|
3901
3901
|
}) : P;
|
|
3902
|
-
},
|
|
3902
|
+
}, vn = (P) => {
|
|
3903
3903
|
const A = f == null ? void 0 : f.mergeKey;
|
|
3904
3904
|
if (A && f.isMerge) {
|
|
3905
3905
|
const R = w.value;
|
|
@@ -3952,14 +3952,14 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3952
3952
|
pageTableMerge: f,
|
|
3953
3953
|
pageRequest: o
|
|
3954
3954
|
}), { downloadEvent: Sn, importEvent: Rr, switchColumsEvent: _n } = $s({
|
|
3955
|
-
formRef:
|
|
3955
|
+
formRef: ve,
|
|
3956
3956
|
formData: N,
|
|
3957
3957
|
gridRef: w,
|
|
3958
3958
|
gridOptions: W,
|
|
3959
3959
|
loadData: gn,
|
|
3960
3960
|
pageOptions: r,
|
|
3961
3961
|
templateItemRefs: se,
|
|
3962
|
-
doMergeCells:
|
|
3962
|
+
doMergeCells: vn,
|
|
3963
3963
|
pageTable: d,
|
|
3964
3964
|
pageModal: i,
|
|
3965
3965
|
pageTableMerge: f,
|
|
@@ -3991,7 +3991,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
3991
3991
|
trigger: "click",
|
|
3992
3992
|
mode: "row",
|
|
3993
3993
|
showStatus: !0
|
|
3994
|
-
}), s(f) && s(f.mergeKey) && (W.cellStyle = yn, W.params.mergeField = f.mergeKey, f.isMerge ? W.columnDragConfig.dragStartMethod = () => !1 : (W.virtualYConfig = { enabled: !1 }, W.spanMethod = Ga(f))),
|
|
3994
|
+
}), s(f) && s(f.mergeKey) && (W.cellStyle = yn, W.params.mergeField = f.mergeKey, f.isMerge ? W.columnDragConfig.dragStartMethod = () => !1 : (W.virtualYConfig = { enabled: !1 }, W.spanMethod = Ga(f))), h.value = !1;
|
|
3995
3995
|
}, Lr = (P, A) => P && P.length > 0 ? P && A ? P.some((R) => Ye(A[R.buttonName]) && Ye(R.auth)) : !0 : !1;
|
|
3996
3996
|
ue(async () => {
|
|
3997
3997
|
if (oe("加载页面模板", r), await Er(), u.storage) {
|
|
@@ -4000,7 +4000,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4000
4000
|
} else
|
|
4001
4001
|
await yt(u.formItems, se, N);
|
|
4002
4002
|
r.onMountedModule && await r.onMountedModule({
|
|
4003
|
-
$formRef:
|
|
4003
|
+
$formRef: ve.value,
|
|
4004
4004
|
$gridRef: w.value,
|
|
4005
4005
|
gridOptions: W,
|
|
4006
4006
|
pageOptions: r,
|
|
@@ -4061,7 +4061,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4061
4061
|
Ha(te("div", gc, [
|
|
4062
4062
|
D(we, {
|
|
4063
4063
|
activeKey: V.value,
|
|
4064
|
-
"onUpdate:activeKey": A[2] || (A[2] = (
|
|
4064
|
+
"onUpdate:activeKey": A[2] || (A[2] = (v) => V.value = v),
|
|
4065
4065
|
expandIconPosition: "end",
|
|
4066
4066
|
accordion: ""
|
|
4067
4067
|
}, {
|
|
@@ -4077,7 +4077,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4077
4077
|
default: B(() => [
|
|
4078
4078
|
D(H, {
|
|
4079
4079
|
ref_key: "formRef",
|
|
4080
|
-
ref:
|
|
4080
|
+
ref: ve,
|
|
4081
4081
|
data: N,
|
|
4082
4082
|
items: Pe.value,
|
|
4083
4083
|
size: r.size,
|
|
@@ -4095,7 +4095,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4095
4095
|
D(R, {
|
|
4096
4096
|
type: "primary",
|
|
4097
4097
|
size: S(F),
|
|
4098
|
-
onClick: A[0] || (A[0] = (
|
|
4098
|
+
onClick: A[0] || (A[0] = (v) => Ne()),
|
|
4099
4099
|
disabled: b.value
|
|
4100
4100
|
}, {
|
|
4101
4101
|
default: B(() => [
|
|
@@ -4105,7 +4105,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4105
4105
|
}, 8, ["size", "disabled"]),
|
|
4106
4106
|
D(R, {
|
|
4107
4107
|
size: S(F),
|
|
4108
|
-
onClick: A[1] || (A[1] = (
|
|
4108
|
+
onClick: A[1] || (A[1] = (v) => mn())
|
|
4109
4109
|
}, {
|
|
4110
4110
|
default: B(() => [
|
|
4111
4111
|
ge("重置")
|
|
@@ -4116,117 +4116,117 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4116
4116
|
_: 1
|
|
4117
4117
|
})
|
|
4118
4118
|
]),
|
|
4119
|
-
dateRange: B((
|
|
4119
|
+
dateRange: B((v) => {
|
|
4120
4120
|
var E, G;
|
|
4121
4121
|
return [
|
|
4122
4122
|
D(Is, ne({
|
|
4123
|
-
value: N[
|
|
4124
|
-
"onUpdate:value": (K) => N[
|
|
4125
|
-
ref: (K) => Oe(K,
|
|
4126
|
-
}, (G = (E =
|
|
4123
|
+
value: N[v.field],
|
|
4124
|
+
"onUpdate:value": (K) => N[v.field] = K,
|
|
4125
|
+
ref: (K) => Oe(K, v.field)
|
|
4126
|
+
}, (G = (E = v == null ? void 0 : v.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])
|
|
4127
4127
|
];
|
|
4128
4128
|
}),
|
|
4129
|
-
date: B((
|
|
4129
|
+
date: B((v) => {
|
|
4130
4130
|
var E, G;
|
|
4131
4131
|
return [
|
|
4132
4132
|
D(Us, ne({
|
|
4133
|
-
value: N[
|
|
4134
|
-
"onUpdate:value": (K) => N[
|
|
4135
|
-
ref: (K) => Oe(K,
|
|
4136
|
-
}, (G = (E =
|
|
4133
|
+
value: N[v.field],
|
|
4134
|
+
"onUpdate:value": (K) => N[v.field] = K,
|
|
4135
|
+
ref: (K) => Oe(K, v.field)
|
|
4136
|
+
}, (G = (E = v == null ? void 0 : v.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])
|
|
4137
4137
|
];
|
|
4138
4138
|
}),
|
|
4139
|
-
input: B((
|
|
4139
|
+
input: B((v) => {
|
|
4140
4140
|
var E, G, K, ce, ie, Ve;
|
|
4141
4141
|
return [
|
|
4142
4142
|
u.vxeSlot ? (O(), z(sc, ne({
|
|
4143
4143
|
key: 0,
|
|
4144
|
-
value: N[
|
|
4145
|
-
"onUpdate:value": (ee) => N[
|
|
4146
|
-
ref: (ee) => Oe(ee,
|
|
4147
|
-
title: (E =
|
|
4148
|
-
}, (K = (G =
|
|
4144
|
+
value: N[v.field],
|
|
4145
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4146
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4147
|
+
title: (E = v == null ? void 0 : v.item) == null ? void 0 : E.title
|
|
4148
|
+
}, (K = (G = v == null ? void 0 : v.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4149
4149
|
u.vxeSlot ? q("", !0) : (O(), z(Fs, ne({
|
|
4150
4150
|
key: 1,
|
|
4151
|
-
value: N[
|
|
4152
|
-
"onUpdate:value": (ee) => N[
|
|
4153
|
-
ref: (ee) => Oe(ee,
|
|
4154
|
-
title: (ce =
|
|
4155
|
-
}, (Ve = (ie =
|
|
4151
|
+
value: N[v.field],
|
|
4152
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4153
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4154
|
+
title: (ce = v == null ? void 0 : v.item) == null ? void 0 : ce.title
|
|
4155
|
+
}, (Ve = (ie = v == null ? void 0 : v.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4156
4156
|
];
|
|
4157
4157
|
}),
|
|
4158
|
-
select: B((
|
|
4158
|
+
select: B((v) => {
|
|
4159
4159
|
var E, G, K, ce;
|
|
4160
4160
|
return [
|
|
4161
4161
|
u.vxeSlot ? (O(), z(cc, ne({
|
|
4162
4162
|
key: 0,
|
|
4163
|
-
value: N[
|
|
4164
|
-
"onUpdate:value": (ie) => N[
|
|
4165
|
-
ref: (ie) => Oe(ie,
|
|
4166
|
-
}, (G = (E =
|
|
4163
|
+
value: N[v.field],
|
|
4164
|
+
"onUpdate:value": (ie) => N[v.field] = ie,
|
|
4165
|
+
ref: (ie) => Oe(ie, v.field)
|
|
4166
|
+
}, (G = (E = v == null ? void 0 : v.item) == null ? void 0 : E.itemRender) == null ? void 0 : G.props), null, 16, ["value", "onUpdate:value"])) : q("", !0),
|
|
4167
4167
|
u.vxeSlot ? q("", !0) : (O(), z(Ys, ne({
|
|
4168
4168
|
key: 1,
|
|
4169
|
-
value: N[
|
|
4170
|
-
"onUpdate:value": (ie) => N[
|
|
4171
|
-
ref: (ie) => Oe(ie,
|
|
4172
|
-
}, (ce = (K =
|
|
4169
|
+
value: N[v.field],
|
|
4170
|
+
"onUpdate:value": (ie) => N[v.field] = ie,
|
|
4171
|
+
ref: (ie) => Oe(ie, v.field)
|
|
4172
|
+
}, (ce = (K = v == null ? void 0 : v.item) == null ? void 0 : K.itemRender) == null ? void 0 : ce.props), null, 16, ["value", "onUpdate:value"]))
|
|
4173
4173
|
];
|
|
4174
4174
|
}),
|
|
4175
|
-
selectList: B((
|
|
4175
|
+
selectList: B((v) => {
|
|
4176
4176
|
var E, G, K, ce, ie, Ve;
|
|
4177
4177
|
return [
|
|
4178
4178
|
u.vxeSlot ? (O(), z(fc, ne({
|
|
4179
4179
|
key: 0,
|
|
4180
|
-
value: N[
|
|
4181
|
-
"onUpdate:value": (ee) => N[
|
|
4182
|
-
ref: (ee) => Oe(ee,
|
|
4183
|
-
title: (E =
|
|
4184
|
-
}, (K = (G =
|
|
4180
|
+
value: N[v.field],
|
|
4181
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4182
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4183
|
+
title: (E = v == null ? void 0 : v.item) == null ? void 0 : E.title
|
|
4184
|
+
}, (K = (G = v == null ? void 0 : v.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4185
4185
|
u.vxeSlot ? q("", !0) : (O(), z(Qs, ne({
|
|
4186
4186
|
key: 1,
|
|
4187
|
-
value: N[
|
|
4188
|
-
"onUpdate:value": (ee) => N[
|
|
4189
|
-
ref: (ee) => Oe(ee,
|
|
4190
|
-
title: (ce =
|
|
4191
|
-
}, (Ve = (ie =
|
|
4187
|
+
value: N[v.field],
|
|
4188
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4189
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4190
|
+
title: (ce = v == null ? void 0 : v.item) == null ? void 0 : ce.title
|
|
4191
|
+
}, (Ve = (ie = v == null ? void 0 : v.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4192
4192
|
];
|
|
4193
4193
|
}),
|
|
4194
|
-
selectPull: B((
|
|
4194
|
+
selectPull: B((v) => {
|
|
4195
4195
|
var E, G, K, ce, ie, Ve;
|
|
4196
4196
|
return [
|
|
4197
4197
|
u.vxeSlot ? (O(), z(dc, ne({
|
|
4198
4198
|
key: 0,
|
|
4199
|
-
value: N[
|
|
4200
|
-
"onUpdate:value": (ee) => N[
|
|
4201
|
-
ref: (ee) => Oe(ee,
|
|
4202
|
-
title: (E =
|
|
4203
|
-
}, (K = (G =
|
|
4199
|
+
value: N[v.field],
|
|
4200
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4201
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4202
|
+
title: (E = v == null ? void 0 : v.item) == null ? void 0 : E.title
|
|
4203
|
+
}, (K = (G = v == null ? void 0 : v.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])) : q("", !0),
|
|
4204
4204
|
u.vxeSlot ? q("", !0) : (O(), z(Gs, ne({
|
|
4205
4205
|
key: 1,
|
|
4206
|
-
value: N[
|
|
4207
|
-
"onUpdate:value": (ee) => N[
|
|
4208
|
-
ref: (ee) => Oe(ee,
|
|
4209
|
-
title: (ce =
|
|
4210
|
-
}, (Ve = (ie =
|
|
4206
|
+
value: N[v.field],
|
|
4207
|
+
"onUpdate:value": (ee) => N[v.field] = ee,
|
|
4208
|
+
ref: (ee) => Oe(ee, v.field),
|
|
4209
|
+
title: (ce = v == null ? void 0 : v.item) == null ? void 0 : ce.title
|
|
4210
|
+
}, (Ve = (ie = v == null ? void 0 : v.item) == null ? void 0 : ie.itemRender) == null ? void 0 : Ve.props), null, 16, ["value", "onUpdate:value", "title"]))
|
|
4211
4211
|
];
|
|
4212
4212
|
}),
|
|
4213
|
-
cascader: B((
|
|
4213
|
+
cascader: B((v) => {
|
|
4214
4214
|
var E, G, K;
|
|
4215
4215
|
return [
|
|
4216
4216
|
D(Zs, ne({
|
|
4217
|
-
value: N[
|
|
4218
|
-
"onUpdate:value": (ce) => N[
|
|
4219
|
-
title: (E =
|
|
4220
|
-
ref: (ce) => Oe(ce,
|
|
4221
|
-
}, (K = (G =
|
|
4217
|
+
value: N[v.field],
|
|
4218
|
+
"onUpdate:value": (ce) => N[v.field] = ce,
|
|
4219
|
+
title: (E = v == null ? void 0 : v.item) == null ? void 0 : E.title,
|
|
4220
|
+
ref: (ce) => Oe(ce, v.field)
|
|
4221
|
+
}, (K = (G = v == null ? void 0 : v.item) == null ? void 0 : G.itemRender) == null ? void 0 : K.props), null, 16, ["value", "onUpdate:value", "title"])
|
|
4222
4222
|
];
|
|
4223
4223
|
}),
|
|
4224
4224
|
_: 2
|
|
4225
4225
|
}, [
|
|
4226
|
-
$e(S(C), (
|
|
4227
|
-
name:
|
|
4226
|
+
$e(S(C), (v) => ({
|
|
4227
|
+
name: v,
|
|
4228
4228
|
fn: B((E) => [
|
|
4229
|
-
de(P.$slots,
|
|
4229
|
+
de(P.$slots, v, ne(E, {
|
|
4230
4230
|
value: N[E.field]
|
|
4231
4231
|
}))
|
|
4232
4232
|
])
|
|
@@ -4241,7 +4241,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4241
4241
|
], 512), [
|
|
4242
4242
|
[Ya, S(s)(u.formItems)]
|
|
4243
4243
|
]),
|
|
4244
|
-
te("div",
|
|
4244
|
+
te("div", hc, [
|
|
4245
4245
|
D(Yr, ne({
|
|
4246
4246
|
ref_key: "gridRef",
|
|
4247
4247
|
ref: w
|
|
@@ -4255,14 +4255,14 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4255
4255
|
onCheckboxChange: jr,
|
|
4256
4256
|
onRadioChange: Vr
|
|
4257
4257
|
}), Te({
|
|
4258
|
-
operate: B(({ row:
|
|
4258
|
+
operate: B(({ row: v, column: E }) => [
|
|
4259
4259
|
te("a", {
|
|
4260
4260
|
href: "javascript:void(0)",
|
|
4261
4261
|
class: "sag-vxe-page-link",
|
|
4262
|
-
onClick: (G) => S(bn)(
|
|
4263
|
-
}, re(
|
|
4262
|
+
onClick: (G) => S(bn)(v, E)
|
|
4263
|
+
}, re(v[E.property]), 9, vc)
|
|
4264
4264
|
]),
|
|
4265
|
-
vertical: B(({ row:
|
|
4265
|
+
vertical: B(({ row: v, column: E }) => [
|
|
4266
4266
|
(O(!0), U(Ce, null, $e(E.params.childColumns, (G) => (O(), U("div", {
|
|
4267
4267
|
key: G.value
|
|
4268
4268
|
}, [
|
|
@@ -4272,20 +4272,20 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4272
4272
|
te("a", {
|
|
4273
4273
|
href: "javascript:void(0)",
|
|
4274
4274
|
class: "sag-vxe-page-link",
|
|
4275
|
-
onClick: (K) => S(bn)(
|
|
4276
|
-
}, re(
|
|
4277
|
-
])) : (O(), U("span", _c, re(S($).stringFormat(
|
|
4275
|
+
onClick: (K) => S(bn)(v, G)
|
|
4276
|
+
}, re(v[G.field]), 9, Sc)
|
|
4277
|
+
])) : (O(), U("span", _c, re(S($).stringFormat(v[G.field], G.formatter)), 1))
|
|
4278
4278
|
]))), 128))
|
|
4279
4279
|
]),
|
|
4280
|
-
button: B(({ row:
|
|
4280
|
+
button: B(({ row: v }) => [
|
|
4281
4281
|
te("div", Oc, [
|
|
4282
4282
|
(O(!0), U(Ce, null, $e(p.tableButtons, (E) => (O(), U(Ce, { key: E }, [
|
|
4283
|
-
S($).toString(
|
|
4283
|
+
S($).toString(v[E.buttonName], !0) && S(Ye)(E.auth) ? (O(), U("span", wc, [
|
|
4284
4284
|
d.showButtonLink ? q("", !0) : (O(), z(R, {
|
|
4285
4285
|
key: 0,
|
|
4286
4286
|
size: "small",
|
|
4287
4287
|
type: S($).toString(E.status, "primary"),
|
|
4288
|
-
onClick: (G) => S(Ze)(E,
|
|
4288
|
+
onClick: (G) => S(Ze)(E, v)
|
|
4289
4289
|
}, {
|
|
4290
4290
|
icon: B(() => [
|
|
4291
4291
|
D(De, {
|
|
@@ -4301,7 +4301,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4301
4301
|
key: 1,
|
|
4302
4302
|
href: "javascript:void(0)",
|
|
4303
4303
|
class: "sag-vxe-page-button-link",
|
|
4304
|
-
onClick: (G) => S(Ze)(E,
|
|
4304
|
+
onClick: (G) => S(Ze)(E, v)
|
|
4305
4305
|
}, [
|
|
4306
4306
|
D(De, {
|
|
4307
4307
|
icon: E.icon
|
|
@@ -4312,7 +4312,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4312
4312
|
])) : q("", !0)
|
|
4313
4313
|
], 64))), 128))
|
|
4314
4314
|
]),
|
|
4315
|
-
Lr(p.tableMoreButtons,
|
|
4315
|
+
Lr(p.tableMoreButtons, v) ? (O(), z(Re, {
|
|
4316
4316
|
key: 0,
|
|
4317
4317
|
destroyPopupOnHide: !0
|
|
4318
4318
|
}, {
|
|
@@ -4321,10 +4321,10 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4321
4321
|
default: B(() => [
|
|
4322
4322
|
(O(!0), U(Ce, null, $e(p.tableMoreButtons, (E) => (O(), U(Ce, { key: E }, [
|
|
4323
4323
|
S(Ye)(E.auth) ? (O(), U(Ce, { key: 0 }, [
|
|
4324
|
-
S($).toString(
|
|
4324
|
+
S($).toString(v[E.buttonName], !0) ? (O(), z(ke, { key: 0 }, {
|
|
4325
4325
|
default: B(() => [
|
|
4326
4326
|
te("a", {
|
|
4327
|
-
onClick: (G) => S(Ze)(E,
|
|
4327
|
+
onClick: (G) => S(Ze)(E, v)
|
|
4328
4328
|
}, [
|
|
4329
4329
|
D(De, {
|
|
4330
4330
|
icon: E.icon
|
|
@@ -4362,21 +4362,21 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4362
4362
|
style: { "margin-bottom": "0px" }
|
|
4363
4363
|
}, {
|
|
4364
4364
|
default: B(() => [
|
|
4365
|
-
(O(!0), U(Ce, null, $e(p.formButtons, (
|
|
4366
|
-
S(Ye)(
|
|
4365
|
+
(O(!0), U(Ce, null, $e(p.formButtons, (v) => (O(), U("span", { key: v }, [
|
|
4366
|
+
S(Ye)(v.auth) ? (O(), z(R, {
|
|
4367
4367
|
key: 0,
|
|
4368
4368
|
round: "",
|
|
4369
4369
|
size: S(F),
|
|
4370
|
-
type: S($).toString(
|
|
4371
|
-
onClick: (E) => S(Nr)(
|
|
4370
|
+
type: S($).toString(v.status, "primary"),
|
|
4371
|
+
onClick: (E) => S(Nr)(v)
|
|
4372
4372
|
}, {
|
|
4373
4373
|
icon: B(() => [
|
|
4374
4374
|
D(De, {
|
|
4375
|
-
icon:
|
|
4375
|
+
icon: v.icon
|
|
4376
4376
|
}, null, 8, ["icon"])
|
|
4377
4377
|
]),
|
|
4378
4378
|
default: B(() => [
|
|
4379
|
-
ge(" " + re(
|
|
4379
|
+
ge(" " + re(v.buttonName), 1)
|
|
4380
4380
|
]),
|
|
4381
4381
|
_: 2
|
|
4382
4382
|
}, 1032, ["size", "type", "onClick"])) : q("", !0)
|
|
@@ -4384,14 +4384,14 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4384
4384
|
]),
|
|
4385
4385
|
_: 1
|
|
4386
4386
|
})) : q("", !0),
|
|
4387
|
-
(O(!0), U(Ce, null, $e(S(y), (
|
|
4387
|
+
(O(!0), U(Ce, null, $e(S(y), (v) => de(P.$slots, v)), 256))
|
|
4388
4388
|
]),
|
|
4389
4389
|
toolbar_tools: B(() => [
|
|
4390
4390
|
S(s)(d.tableColumnsExtra) ? (O(), z(Ae, {
|
|
4391
4391
|
key: 0,
|
|
4392
4392
|
size: "small",
|
|
4393
4393
|
circle: !0,
|
|
4394
|
-
onClick: A[3] || (A[3] = (
|
|
4394
|
+
onClick: A[3] || (A[3] = (v) => S(_n)(r.application, !1)),
|
|
4395
4395
|
title: "切换"
|
|
4396
4396
|
}, {
|
|
4397
4397
|
default: B(() => [
|
|
@@ -4419,7 +4419,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4419
4419
|
key: 3,
|
|
4420
4420
|
size: "small",
|
|
4421
4421
|
circle: !0,
|
|
4422
|
-
onClick: A[4] || (A[4] = (
|
|
4422
|
+
onClick: A[4] || (A[4] = (v) => S(Rr)()),
|
|
4423
4423
|
title: "导入"
|
|
4424
4424
|
}, {
|
|
4425
4425
|
default: B(() => [
|
|
@@ -4443,10 +4443,10 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4443
4443
|
]),
|
|
4444
4444
|
_: 2
|
|
4445
4445
|
}, [
|
|
4446
|
-
$e(S(_), (
|
|
4447
|
-
name:
|
|
4446
|
+
$e(S(_), (v) => ({
|
|
4447
|
+
name: v,
|
|
4448
4448
|
fn: B((E) => [
|
|
4449
|
-
de(P.$slots,
|
|
4449
|
+
de(P.$slots, v, Kr(eo(E)))
|
|
4450
4450
|
])
|
|
4451
4451
|
}))
|
|
4452
4452
|
]), 1040, ["size"])
|
|
@@ -4456,7 +4456,7 @@ const lc = { id: "div_view_modal" }, rc = { style: { color: "red", "padding-left
|
|
|
4456
4456
|
onSubmit: Ur
|
|
4457
4457
|
}), null, 16)) : q("", !0)
|
|
4458
4458
|
], 512)), [
|
|
4459
|
-
[Ya, !
|
|
4459
|
+
[Ya, !h.value]
|
|
4460
4460
|
]);
|
|
4461
4461
|
};
|
|
4462
4462
|
}
|
|
@@ -4488,7 +4488,7 @@ const ad = {
|
|
|
4488
4488
|
},
|
|
4489
4489
|
emits: ["update:value", "change"],
|
|
4490
4490
|
setup(e, { expose: n, emit: t }) {
|
|
4491
|
-
M.locale("zh-cn"), M.extend(
|
|
4491
|
+
M.locale("zh-cn"), M.extend(ht);
|
|
4492
4492
|
const l = e, a = l.picker || "day", r = l.format || "YYYY-MM-DD";
|
|
4493
4493
|
let o = j();
|
|
4494
4494
|
const i = (c, m) => {
|
|
@@ -4546,7 +4546,7 @@ const ad = {
|
|
|
4546
4546
|
},
|
|
4547
4547
|
emits: ["update:value", "change"],
|
|
4548
4548
|
setup(e, { expose: n, emit: t }) {
|
|
4549
|
-
M.locale("zh-cn"), M.extend(fn), M.extend(
|
|
4549
|
+
M.locale("zh-cn"), M.extend(fn), M.extend(ht);
|
|
4550
4550
|
const l = e, a = l.picker || "day", r = l.format || "YYYY-MM-DD", o = t, i = j(), u = [
|
|
4551
4551
|
{ label: "当天", value: [M().add(0, a)] },
|
|
4552
4552
|
{ label: "近7天", value: [M().add(-7, a)] },
|
|
@@ -4588,8 +4588,8 @@ const ad = {
|
|
|
4588
4588
|
return Se(
|
|
4589
4589
|
() => l.value,
|
|
4590
4590
|
(_, y) => {
|
|
4591
|
-
let w = null,
|
|
4592
|
-
s(_) && (s(_[0]) && (w = M(_[0])), s(_[1]) && (
|
|
4591
|
+
let w = null, h = null;
|
|
4592
|
+
s(_) && (s(_[0]) && (w = M(_[0])), s(_[1]) && (h = M(_[1]))), i.value = [w, h];
|
|
4593
4593
|
}
|
|
4594
4594
|
), ue(() => {
|
|
4595
4595
|
s(l.value) && c(l.value[0], l.value[1]);
|
|
@@ -4601,7 +4601,7 @@ const ad = {
|
|
|
4601
4601
|
const w = L("a-range-picker");
|
|
4602
4602
|
return O(), z(w, {
|
|
4603
4603
|
value: i.value,
|
|
4604
|
-
"onUpdate:value": y[0] || (y[0] = (
|
|
4604
|
+
"onUpdate:value": y[0] || (y[0] = (h) => i.value = h),
|
|
4605
4605
|
presets: p.value,
|
|
4606
4606
|
locale: S(gt),
|
|
4607
4607
|
allowEmpty: [!0, !0],
|
|
@@ -4698,9 +4698,9 @@ const ad = {
|
|
|
4698
4698
|
"CASCADER_" + l.cacheKey
|
|
4699
4699
|
);
|
|
4700
4700
|
f.value = w;
|
|
4701
|
-
}, g = t, x = (w,
|
|
4702
|
-
s(
|
|
4703
|
-
}, c = (w,
|
|
4701
|
+
}, g = t, x = (w, h) => {
|
|
4702
|
+
s(h) ? (g("update:value", w[w.length - 1]), g("change", h[h.length - 1])) : (g("update:value", null), g("change", null));
|
|
4703
|
+
}, c = (w, h) => h.some((b) => b[i].indexOf(w) > -1), m = () => f.value.filter((h) => h[u] === d.value[d.value.length - 1])[i], C = () => d.value, _ = (w) => {
|
|
4704
4704
|
d.value = w, g("update:value", w);
|
|
4705
4705
|
}, y = () => {
|
|
4706
4706
|
d.value = null, g("update:value", null), g("change", null);
|
|
@@ -4712,12 +4712,12 @@ const ad = {
|
|
|
4712
4712
|
getValue: C,
|
|
4713
4713
|
setValue: _,
|
|
4714
4714
|
resetValue: y
|
|
4715
|
-
}), (w,
|
|
4715
|
+
}), (w, h) => {
|
|
4716
4716
|
const b = L("a-cascader");
|
|
4717
4717
|
return O(), U("div", Ec, [
|
|
4718
4718
|
D(b, {
|
|
4719
4719
|
value: d.value,
|
|
4720
|
-
"onUpdate:value":
|
|
4720
|
+
"onUpdate:value": h[0] || (h[0] = (k) => d.value = k),
|
|
4721
4721
|
options: f.value,
|
|
4722
4722
|
fieldNames: l.fieldNames,
|
|
4723
4723
|
"show-search": { filter: c },
|
|
@@ -5119,55 +5119,54 @@ const ad = {
|
|
|
5119
5119
|
},
|
|
5120
5120
|
emits: ["update:value", "update:label", "change"],
|
|
5121
5121
|
setup(e, { expose: n, emit: t }) {
|
|
5122
|
-
const l = e, a = $.toString(l.value, null),
|
|
5123
|
-
const
|
|
5124
|
-
return await cn(T.application,
|
|
5125
|
-
}, x = (
|
|
5122
|
+
const l = e, a = t, r = $.toString(l.value, null), o = l.multiple ? j(s(r) ? r.split(",") : []) : j(r), i = j(l.multiple ? [] : null), u = j(l.multiple ? {} : null), d = j([]), f = l.maxTagCount || 10, p = (h) => l.mountainTop ? document.body : h.parentNode, g = async () => {
|
|
5123
|
+
const h = ae(T.ctxPath, T.requestDictUrl);
|
|
5124
|
+
return await cn(T.application, h, l.requestParams);
|
|
5125
|
+
}, x = (h, b) => b.label.toLowerCase().indexOf(h.toLowerCase()) >= 0, c = (h, b) => {
|
|
5126
5126
|
y(!0);
|
|
5127
|
-
}, m = () =>
|
|
5128
|
-
l.multiple ?
|
|
5127
|
+
}, m = () => o.value, C = (h) => {
|
|
5128
|
+
l.multiple ? o.value = s(h) ? h.split(",") : null : o.value = h, y();
|
|
5129
5129
|
}, _ = () => {
|
|
5130
5130
|
C("");
|
|
5131
5131
|
};
|
|
5132
5132
|
Se(
|
|
5133
5133
|
() => l.value,
|
|
5134
|
-
(
|
|
5135
|
-
l.multiple ?
|
|
5134
|
+
(h) => {
|
|
5135
|
+
l.multiple ? o.value = s(h) ? h.split(",") : [] : o.value = h;
|
|
5136
5136
|
}
|
|
5137
5137
|
);
|
|
5138
|
-
const y = (
|
|
5139
|
-
l.multiple ?
|
|
5140
|
-
}, w = (
|
|
5141
|
-
if (s(
|
|
5138
|
+
const y = (h = !1) => {
|
|
5139
|
+
l.multiple ? a("update:value", o.value.join(",")) : a("update:value", o.value), w(h);
|
|
5140
|
+
}, w = (h = !1) => {
|
|
5141
|
+
if (s(o.value))
|
|
5142
5142
|
if (l.multiple) {
|
|
5143
|
-
const b = []
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
}
|
|
5148
|
-
i.value = b, u.value = k;
|
|
5143
|
+
const b = [];
|
|
5144
|
+
o.value.forEach((k) => {
|
|
5145
|
+
let V = d.value.filter((I) => I.value === k);
|
|
5146
|
+
V.length === 1 && (b.push(V[0].label), u.value[k] = V[0]);
|
|
5147
|
+
}), i.value = b;
|
|
5149
5148
|
} else {
|
|
5150
|
-
const b = d.value.filter((k) => k.value ===
|
|
5149
|
+
const b = d.value.filter((k) => k.value === o.value);
|
|
5151
5150
|
s(b) && (i.value = b[0].label, u.value = b[0]);
|
|
5152
5151
|
}
|
|
5153
5152
|
else
|
|
5154
|
-
i.value =
|
|
5155
|
-
|
|
5153
|
+
i.value = l.multiple ? [] : null, u.value = l.multiple ? {} : null;
|
|
5154
|
+
a("update:label", i.value), h && a("change", u.value);
|
|
5156
5155
|
};
|
|
5157
5156
|
return n({
|
|
5158
5157
|
getValue: m,
|
|
5159
5158
|
setValue: C,
|
|
5160
5159
|
resetValue: _
|
|
5161
5160
|
}), ue(() => {
|
|
5162
|
-
g().then((
|
|
5161
|
+
g().then((h) => {
|
|
5163
5162
|
var b;
|
|
5164
|
-
d.value =
|
|
5163
|
+
d.value = h, s(l.extraOptions) && ((b = l.extraOptions) == null ? void 0 : b.length) > 0 && d.value.unshift(...l.extraOptions), s(o.value) && !s(i.value) && w();
|
|
5165
5164
|
});
|
|
5166
|
-
}), (
|
|
5165
|
+
}), (h, b) => {
|
|
5167
5166
|
const k = L("a-select");
|
|
5168
5167
|
return O(), z(k, {
|
|
5169
|
-
value: S(
|
|
5170
|
-
"onUpdate:value": b[0] || (b[0] = (V) => dt(
|
|
5168
|
+
value: S(o),
|
|
5169
|
+
"onUpdate:value": b[0] || (b[0] = (V) => dt(o) ? o.value = V : null),
|
|
5171
5170
|
onChange: c,
|
|
5172
5171
|
placeholder: "--请选择--",
|
|
5173
5172
|
allowClear: l.clearable,
|
|
@@ -5225,7 +5224,7 @@ const ad = {
|
|
|
5225
5224
|
},
|
|
5226
5225
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5227
5226
|
setup(e, { expose: n, emit: t }) {
|
|
5228
|
-
const l = e, a = j(l.value ? l.value : l.multiple ? [] : null), r = j(l.label ? l.label : l.multiple ?
|
|
5227
|
+
const l = e, a = j(l.value ? l.value : l.multiple ? [] : null), r = j(l.label ? l.label : l.multiple ? [] : null), o = j(l.multiple ? {} : null), i = j([]), u = j(!1), d = t, f = "请输入" + l.title + "搜索", p = (V) => l.mountainTop ? document.body : V.parentNode, g = async () => {
|
|
5229
5228
|
if (l.requiredTenant && !s(l.tenantId) && !s(l.corpId))
|
|
5230
5229
|
return i.value = [], [];
|
|
5231
5230
|
let V = { corpId: l.corpId, tenantId: l.tenantId };
|
|
@@ -5241,31 +5240,32 @@ const ad = {
|
|
|
5241
5240
|
k(!0);
|
|
5242
5241
|
});
|
|
5243
5242
|
}, m = (V, I) => I.label.toLowerCase().indexOf(je(V).toLowerCase()) >= 0, C = async (V) => {
|
|
5244
|
-
if (a.value = V, l.multiple)
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5243
|
+
if (a.value = V, l.multiple) {
|
|
5244
|
+
const I = [];
|
|
5245
|
+
a.value.forEach((F) => {
|
|
5246
|
+
let Q = i.value.filter((N) => N.value === F);
|
|
5247
|
+
Q.length === 1 && (I.push(Q[0].label), o.value[F] = Q[0]);
|
|
5248
|
+
}), r.value = I;
|
|
5249
|
+
} else {
|
|
5250
5250
|
let I = i.value.filter((F) => F.value === V);
|
|
5251
|
-
I.length === 1 ? (r.value = I[0].label, o.value = I[0]) : (r.value =
|
|
5251
|
+
I.length === 1 ? (r.value = I[0].label, o.value = I[0]) : (r.value = l.multiple ? [] : null, o.value = l.multiple ? {} : null);
|
|
5252
5252
|
}
|
|
5253
5253
|
}, _ = () => r.value, y = () => a.value, w = (V) => {
|
|
5254
5254
|
C(V).then(() => {
|
|
5255
5255
|
k();
|
|
5256
5256
|
});
|
|
5257
|
-
},
|
|
5258
|
-
a.value = l.multiple ? [] : null, r.value = null, o.value = null, k();
|
|
5257
|
+
}, h = () => {
|
|
5258
|
+
a.value = l.multiple ? [] : null, r.value = l.multiple ? [] : null, o.value = l.multiple ? {} : null, k();
|
|
5259
5259
|
}, b = async (V = !0) => {
|
|
5260
|
-
|
|
5260
|
+
h(), i.value = [], V && await x();
|
|
5261
5261
|
}, k = (V = !1) => {
|
|
5262
5262
|
d("update:value", a.value), d("update:label", r.value), V && d("change", o.value);
|
|
5263
5263
|
};
|
|
5264
5264
|
return Se(
|
|
5265
5265
|
() => [l.tenantId, l.corpId, l.value],
|
|
5266
5266
|
async ([V, I, F], [Q, N, se]) => {
|
|
5267
|
-
const
|
|
5268
|
-
(Pe ||
|
|
5267
|
+
const ve = V !== Q, Pe = I !== N, He = F !== a.value;
|
|
5268
|
+
(Pe || ve) && (h(), await g()), He && w(F);
|
|
5269
5269
|
}
|
|
5270
5270
|
), ue(async () => {
|
|
5271
5271
|
g();
|
|
@@ -5273,7 +5273,7 @@ const ad = {
|
|
|
5273
5273
|
getName: _,
|
|
5274
5274
|
getValue: y,
|
|
5275
5275
|
setValue: w,
|
|
5276
|
-
resetValue:
|
|
5276
|
+
resetValue: h,
|
|
5277
5277
|
clearValue: b
|
|
5278
5278
|
}), (V, I) => {
|
|
5279
5279
|
const F = L("a-spin"), Q = L("a-select");
|
|
@@ -5352,7 +5352,7 @@ const ad = {
|
|
|
5352
5352
|
return [];
|
|
5353
5353
|
}, x = (b) => {
|
|
5354
5354
|
a.value = b, m(b).then((k) => {
|
|
5355
|
-
|
|
5355
|
+
h(!0);
|
|
5356
5356
|
});
|
|
5357
5357
|
}, c = $t((b) => {
|
|
5358
5358
|
g(b);
|
|
@@ -5364,18 +5364,18 @@ const ad = {
|
|
|
5364
5364
|
return a.value = null, r.value = "", o.value = null, !0;
|
|
5365
5365
|
}, C = () => r.value, _ = () => a.value, y = (b) => {
|
|
5366
5366
|
a.value = b, m(b).then((k) => {
|
|
5367
|
-
k &&
|
|
5367
|
+
k && h();
|
|
5368
5368
|
});
|
|
5369
5369
|
}, w = () => {
|
|
5370
|
-
r.value = "", a.value = null, o.value = null,
|
|
5371
|
-
},
|
|
5370
|
+
r.value = "", a.value = null, o.value = null, h();
|
|
5371
|
+
}, h = (b = !1) => {
|
|
5372
5372
|
d("update:value", a.value), d("update:label", r.value), b && d("change", o.value);
|
|
5373
5373
|
};
|
|
5374
5374
|
return Se(
|
|
5375
5375
|
() => [l.tenantId, l.corpId, l.value],
|
|
5376
5376
|
async ([b, k, V], [I, F, Q]) => {
|
|
5377
|
-
const N = b !== I, se = k !== F,
|
|
5378
|
-
(se || N) && (i.value = [], w()),
|
|
5377
|
+
const N = b !== I, se = k !== F, ve = V !== a.value;
|
|
5378
|
+
(se || N) && (i.value = [], w()), ve && m(V).then((Pe) => {
|
|
5379
5379
|
Pe || g(V).then(() => {
|
|
5380
5380
|
y(V);
|
|
5381
5381
|
});
|
|
@@ -5469,7 +5469,7 @@ const ad = {
|
|
|
5469
5469
|
}, 8, ["activeKey", "collapsible"]);
|
|
5470
5470
|
};
|
|
5471
5471
|
}
|
|
5472
|
-
}),
|
|
5472
|
+
}), hd = {
|
|
5473
5473
|
install: (e, n) => {
|
|
5474
5474
|
e.component(Jl.name, Jl);
|
|
5475
5475
|
}
|
|
@@ -5483,7 +5483,7 @@ const ad = {
|
|
|
5483
5483
|
]));
|
|
5484
5484
|
}
|
|
5485
5485
|
});
|
|
5486
|
-
const
|
|
5486
|
+
const vd = {
|
|
5487
5487
|
install: (e, n) => {
|
|
5488
5488
|
e.component(Ql.name, Ql);
|
|
5489
5489
|
}
|
|
@@ -5638,11 +5638,11 @@ export {
|
|
|
5638
5638
|
cd as SagAntdInputNumber,
|
|
5639
5639
|
dd as SagAntdInputSearch,
|
|
5640
5640
|
Sd as SagAntdOutlined,
|
|
5641
|
-
|
|
5641
|
+
hd as SagAntdPanel,
|
|
5642
5642
|
pd as SagAntdSelect,
|
|
5643
5643
|
md as SagAntdSelectList,
|
|
5644
5644
|
gd as SagAntdSelectPull,
|
|
5645
|
-
|
|
5645
|
+
vd as SagAntdSpace,
|
|
5646
5646
|
yd as SagAntdSwitch,
|
|
5647
5647
|
bd as SagAntdTab,
|
|
5648
5648
|
fd as SagAntdTextarea,
|