sag-ubmp-pc 1.0.32 → 1.0.34
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 +150 -149
- package/dist/sag-ubmp-pc.umd.js +4 -4
- package/package.json +1 -1
package/dist/sag-ubmp-pc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Ae, { trim as
|
|
2
|
-
import { inject as ge, ref as $, h as Te, getCurrentInstance as ql, nextTick as ut, reactive as te, defineComponent as
|
|
1
|
+
import Ae, { trim as we, debounce as jt } from "xe-utils";
|
|
2
|
+
import { inject as ge, ref as $, h as Te, getCurrentInstance as ql, nextTick as ut, reactive as te, defineComponent as J, createVNode as q, openBlock as w, createElementBlock as I, Fragment as fe, createBlock as j, unref as b, createCommentVNode as z, onMounted as oe, resolveComponent as L, isRef as ft, createSlots as _e, withCtx as B, defineAsyncComponent as Dl, computed as Bl, resolveDynamicComponent as Nl, mergeProps as ee, createElementVNode as K, toDisplayString as ae, useAttrs as El, provide as Tn, useSlots as Be, watch as he, withDirectives as Mn, createTextVNode as de, renderList as ke, renderSlot as re, vShow as Vn, toHandlers as Rl, normalizeProps as Ll, guardReactiveProps as Ul, normalizeStyle as me } from "vue";
|
|
3
3
|
import { Modal as Il, notification as kt, message as Fl, Spin as Hl } from "ant-design-vue";
|
|
4
4
|
import T from "dayjs";
|
|
5
5
|
const pt = "SAG_UBMP_PC$", st = {
|
|
@@ -503,6 +503,7 @@ const le = zt("log"), Wa = zt("warn"), mt = zt("error"), et = {
|
|
|
503
503
|
buttonName: e,
|
|
504
504
|
requestType: tt,
|
|
505
505
|
requestRow: !0,
|
|
506
|
+
componentVue: !1,
|
|
506
507
|
requestUrl: c(l) ? l : "",
|
|
507
508
|
auth: c(r) ? r : !0
|
|
508
509
|
};
|
|
@@ -597,7 +598,7 @@ const le = zt("log"), Wa = zt("warn"), mt = zt("error"), et = {
|
|
|
597
598
|
}, At = (e, t, n, a, l, r) => {
|
|
598
599
|
const o = Object.assign({}, a);
|
|
599
600
|
Object.assign(o, l), Object.keys(o).forEach((u) => {
|
|
600
|
-
typeof o[u] == "string" && (o[u] =
|
|
601
|
+
typeof o[u] == "string" && (o[u] = we(o[u])), typeof l[u] == "object" && c(l[u]) && r && r.value[u] && r.value[u].getRefType && r.value[u].getRefType() === "dateRange" && (o["begin" + u.substring(0, 1).toUpperCase() + u.substring(1, u.length)] = l[u][0], o["end" + u.substring(0, 1).toUpperCase() + u.substring(1, u.length)] = l[u][1], o[u] = null);
|
|
601
602
|
}), o.pageModel = {
|
|
602
603
|
pageNo: e.currentPage,
|
|
603
604
|
pageSize: e.pageSize,
|
|
@@ -614,7 +615,7 @@ const le = zt("log"), Wa = zt("warn"), mt = zt("error"), et = {
|
|
|
614
615
|
}, xr = (e, t, n, a) => {
|
|
615
616
|
const l = Object.assign({}, n);
|
|
616
617
|
Object.assign(l, a), Object.keys(l).forEach((o) => {
|
|
617
|
-
typeof l[o] == "string" && (l[o] =
|
|
618
|
+
typeof l[o] == "string" && (l[o] = we(l[o]));
|
|
618
619
|
});
|
|
619
620
|
const r = e[0];
|
|
620
621
|
return r && (l.sorts = {
|
|
@@ -869,7 +870,7 @@ var Dn = {
|
|
|
869
870
|
};
|
|
870
871
|
function Le(e) {
|
|
871
872
|
var t = { r: 0, g: 0, b: 0 }, n = 1, a = null, l = null, r = null, o = !1, i = !1;
|
|
872
|
-
return typeof e == "string" && (e = Dr(e)), typeof e == "object" && (
|
|
873
|
+
return typeof e == "string" && (e = Dr(e)), typeof e == "object" && (Pe(e.r) && Pe(e.g) && Pe(e.b) ? (t = Tr(e.r, e.g, e.b), o = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Pe(e.h) && Pe(e.s) && Pe(e.v) ? (a = Qe(e.s), l = Qe(e.v), t = $r(e.h, a, l), o = !0, i = "hsv") : Pe(e.h) && Pe(e.s) && Pe(e.l) && (a = Qe(e.s), r = Qe(e.l), t = Mr(e.h, a, r), o = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = Ar(n), {
|
|
873
874
|
ok: o,
|
|
874
875
|
format: e.format || i,
|
|
875
876
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -924,7 +925,7 @@ function Dr(e) {
|
|
|
924
925
|
format: t ? "name" : "hex"
|
|
925
926
|
} : !1)))))))));
|
|
926
927
|
}
|
|
927
|
-
function
|
|
928
|
+
function Pe(e) {
|
|
928
929
|
return !!Se.CSS_UNIT.exec(String(e));
|
|
929
930
|
}
|
|
930
931
|
var Xe = 2, Bn = 0.16, Br = 0.05, Nr = 0.05, Er = 0.15, al = 5, ll = 4, Rr = [{
|
|
@@ -1352,7 +1353,7 @@ function go() {
|
|
|
1352
1353
|
var e = $e.getTwoToneColors();
|
|
1353
1354
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
1354
1355
|
}
|
|
1355
|
-
var ho =
|
|
1356
|
+
var ho = J({
|
|
1356
1357
|
name: "InsertStyles",
|
|
1357
1358
|
setup: function() {
|
|
1358
1359
|
return no(), function() {
|
|
@@ -2188,7 +2189,7 @@ const Vi = (e) => {
|
|
|
2188
2189
|
onCancel() {
|
|
2189
2190
|
}
|
|
2190
2191
|
});
|
|
2191
|
-
},
|
|
2192
|
+
}, X = (e, t) => e != null && e !== "" ? e : t, $i = (e, t, n) => {
|
|
2192
2193
|
e ? kt.success({
|
|
2193
2194
|
message: "操作成功",
|
|
2194
2195
|
description: t && t !== "操作成功" ? t : ""
|
|
@@ -2275,7 +2276,7 @@ function zi(e) {
|
|
|
2275
2276
|
const O = m.params.requestType;
|
|
2276
2277
|
!c(O) || typeof O == "string" ? O === "custom" ? l.onButtonClickModule({ $gridRef: t.value, gridOptions: a, formData: r, column: m, row: f }) : p(f, m) : O({ gridRef: t, gridOptions: a, formData: r, column: m, row: f });
|
|
2277
2278
|
}, p = (f, m) => {
|
|
2278
|
-
if (n.title =
|
|
2279
|
+
if (n.title = X(m.params.title, o.title), n.width = X(m.params.width, o.width), n.height = X(m.params.height, o.height), n.maximize = X(m.params.maximize, !1), n.autoLoad = X(m.params.autoLoad, !1), n.componentVue = X(m.params.componentVue, o.componentVue), n.componentUrl = m.params.requestUrl, n.componentVue)
|
|
2279
2280
|
f[A.buttonKeyName] = m.params;
|
|
2280
2281
|
else {
|
|
2281
2282
|
let O = ne(l.ctxPath, n.componentUrl);
|
|
@@ -2291,7 +2292,7 @@ function zi(e) {
|
|
|
2291
2292
|
return;
|
|
2292
2293
|
if (m.requestType === Ue || m.requestType === tt) {
|
|
2293
2294
|
let g = m.requestUrl;
|
|
2294
|
-
const S =
|
|
2295
|
+
const S = X(m.componentVue, o.componentVue);
|
|
2295
2296
|
if ((!S || m.requestType === tt) && (g = ne(l.ctxPath, g), m.requestRow && g.split("?").length > 1)) {
|
|
2296
2297
|
const v = ji(g.split("?")[1]);
|
|
2297
2298
|
for (const x in v) {
|
|
@@ -2299,8 +2300,8 @@ function zi(e) {
|
|
|
2299
2300
|
if (a.checkboxConfig) {
|
|
2300
2301
|
let F = [];
|
|
2301
2302
|
for (const N in _)
|
|
2302
|
-
for (const
|
|
2303
|
-
|
|
2303
|
+
for (const W in _[N])
|
|
2304
|
+
W === D && _[N][W] && (F[_[N][W]] = _[N][W]);
|
|
2304
2305
|
let U = "";
|
|
2305
2306
|
for (const N in F)
|
|
2306
2307
|
U = (U ? U + "," : "") + N;
|
|
@@ -2310,7 +2311,7 @@ function zi(e) {
|
|
|
2310
2311
|
}
|
|
2311
2312
|
}
|
|
2312
2313
|
if (m.requestType === Ue) {
|
|
2313
|
-
if (n.title =
|
|
2314
|
+
if (n.title = X(m.title, o.title), n.width = X(m.width, o.width), n.height = X(m.height, o.height), n.maximize = X(m.maximize, !1), n.autoLoad = X(m.autoLoad, !0), n.componentVue = S, n.componentUrl = g, n.componentParams = {}, m.requestRow)
|
|
2314
2315
|
if (a.checkboxConfig)
|
|
2315
2316
|
if (m.requestRadio)
|
|
2316
2317
|
_[0][A.buttonKeyName] = m, n.componentParams = _[0];
|
|
@@ -2352,7 +2353,7 @@ function zi(e) {
|
|
|
2352
2353
|
}, h = (f, m) => {
|
|
2353
2354
|
if (f.requestType === Ue || f.requestType === tt) {
|
|
2354
2355
|
let O = f.requestUrl;
|
|
2355
|
-
const _ =
|
|
2356
|
+
const _ = X(f.componentVue, o.componentVue);
|
|
2356
2357
|
let g = !1;
|
|
2357
2358
|
if (_)
|
|
2358
2359
|
g = !0;
|
|
@@ -2367,7 +2368,7 @@ function zi(e) {
|
|
|
2367
2368
|
else
|
|
2368
2369
|
g = !0;
|
|
2369
2370
|
if (g)
|
|
2370
|
-
f.requestType === Ue ? (m[A.buttonKeyName] = f, n.title =
|
|
2371
|
+
f.requestType === Ue ? (m[A.buttonKeyName] = f, n.title = X(f.title, o.title), n.width = X(f.width, o.width), n.height = X(f.height, o.height), n.maximize = X(f.maximize, !1), n.autoLoad = X(f.autoLoad, !0), n.componentVue = _, n.componentUrl = O, n.componentParams = m, n.visible = !0) : window.open(O, "_blank");
|
|
2371
2372
|
else {
|
|
2372
2373
|
De("该单据没有相应数据,无法进行本次操作");
|
|
2373
2374
|
return;
|
|
@@ -2449,36 +2450,36 @@ function qi(e) {
|
|
|
2449
2450
|
}, F, x, D, n, o);
|
|
2450
2451
|
if (typeof g == "string") {
|
|
2451
2452
|
g = ne(u.ctxPath, d.requestDownload);
|
|
2452
|
-
let
|
|
2453
|
-
Object.keys(N).forEach((
|
|
2454
|
-
c(N[
|
|
2455
|
-
}), le("导出表格参数", [g,
|
|
2453
|
+
let W = "";
|
|
2454
|
+
Object.keys(N).forEach((Q) => {
|
|
2455
|
+
c(N[Q]) && (typeof N[Q] == "string" && (W += "&" + Q + "=" + N[Q]), typeof N[Q] == "object" && Array.isArray(N[Q]) && (W += "&" + Q + "=" + N[Q].join(",")));
|
|
2456
|
+
}), le("导出表格参数", [g, W]), Vi(g + W);
|
|
2456
2457
|
} else
|
|
2457
|
-
l.loading = !0, N.exportFlag = !0, r(N, d.requestData, !0).then(async (
|
|
2458
|
-
if (
|
|
2458
|
+
l.loading = !0, N.exportFlag = !0, r(N, d.requestData, !0).then(async (W) => {
|
|
2459
|
+
if (W == null || W.rows.length == 0) {
|
|
2459
2460
|
l.loading = !1;
|
|
2460
2461
|
return;
|
|
2461
2462
|
}
|
|
2462
|
-
if (
|
|
2463
|
+
if (W.recordCount >= 25e3) {
|
|
2463
2464
|
l.loading = !1, De("查询结果超过25000条,请重新调整查询条件后重新导出!");
|
|
2464
2465
|
return;
|
|
2465
2466
|
}
|
|
2466
2467
|
setTimeout(() => {
|
|
2467
2468
|
if (m && typeof m == "function") {
|
|
2468
|
-
const
|
|
2469
|
+
const Q = {
|
|
2469
2470
|
filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2470
2471
|
sheetName: u.templateTitle,
|
|
2471
|
-
data:
|
|
2472
|
+
data: W.rows,
|
|
2472
2473
|
columns: c(l.params.exportColumns) ? l.params.exportColumns : g,
|
|
2473
|
-
mergeCells: i(
|
|
2474
|
+
mergeCells: i(W.rows)
|
|
2474
2475
|
};
|
|
2475
|
-
m(
|
|
2476
|
+
m(Q), l.loading = !1;
|
|
2476
2477
|
} else {
|
|
2477
|
-
const
|
|
2478
|
+
const Q = W.rows.concat([]), E = {
|
|
2478
2479
|
filename: u.templateTitle + (/* @__PURE__ */ new Date()).getTime(),
|
|
2479
2480
|
sheetName: u.templateTitle,
|
|
2480
2481
|
type: "xlsx",
|
|
2481
|
-
data:
|
|
2482
|
+
data: Q,
|
|
2482
2483
|
message: !1,
|
|
2483
2484
|
columns: c(l.params.exportColumns) ? l.params.exportColumns : l.columns,
|
|
2484
2485
|
isFooter: p.isFooter,
|
|
@@ -2513,7 +2514,7 @@ function qi(e) {
|
|
|
2513
2514
|
const _ = s.tableColumns, g = s.tableColumnsExtra;
|
|
2514
2515
|
if (O) {
|
|
2515
2516
|
const S = Jl(m, u.templateType);
|
|
2516
|
-
c(S) ? (l.params.switchType = S.switchType, l.columns = S.switchType === "1" ? _ : g, l.showOverflow = S.switchShowOverflow) : (l.params.switchType = "1", l.columns = _, l.showOverflow =
|
|
2517
|
+
c(S) ? (l.params.switchType = S.switchType, l.columns = S.switchType === "1" ? _ : g, l.showOverflow = S.switchShowOverflow) : (l.params.switchType = "1", l.columns = _, l.showOverflow = X(s.showOverflow, !0));
|
|
2517
2518
|
} else
|
|
2518
2519
|
l.params.switchType = l.params.switchType === "1" ? "2" : "1", l.columns = l.params.switchType === "2" ? g : _, l.showOverflow = !l.showOverflow, Gl(m, u.templateType, {
|
|
2519
2520
|
switchType: l.params.switchType,
|
|
@@ -2527,7 +2528,7 @@ function qi(e) {
|
|
|
2527
2528
|
}
|
|
2528
2529
|
};
|
|
2529
2530
|
}
|
|
2530
|
-
const Ve = /* @__PURE__ */
|
|
2531
|
+
const Ve = /* @__PURE__ */ J({
|
|
2531
2532
|
__name: "AntdOutlind",
|
|
2532
2533
|
props: {
|
|
2533
2534
|
icon: { type: String, default: null }
|
|
@@ -2750,7 +2751,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2750
2751
|
toMoney: $t,
|
|
2751
2752
|
stringFormat: Ji,
|
|
2752
2753
|
truncateFormat: it
|
|
2753
|
-
}, Zi = /* @__PURE__ */
|
|
2754
|
+
}, Zi = /* @__PURE__ */ J({
|
|
2754
2755
|
__name: "AntdDateRange",
|
|
2755
2756
|
props: {
|
|
2756
2757
|
value: {
|
|
@@ -2828,7 +2829,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2828
2829
|
}, null, 8, ["value", "presets", "locale", "format", "picker", "size"]);
|
|
2829
2830
|
};
|
|
2830
2831
|
}
|
|
2831
|
-
}), Qi = /* @__PURE__ */
|
|
2832
|
+
}), Qi = /* @__PURE__ */ J({
|
|
2832
2833
|
__name: "AntdDatePicker",
|
|
2833
2834
|
props: {
|
|
2834
2835
|
value: {
|
|
@@ -2877,7 +2878,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2877
2878
|
}, null, 8, ["value", "locale", "format", "picker", "size", "allowClear"]);
|
|
2878
2879
|
};
|
|
2879
2880
|
}
|
|
2880
|
-
}), Xi = /* @__PURE__ */
|
|
2881
|
+
}), Xi = /* @__PURE__ */ J({
|
|
2881
2882
|
__name: "AntdInput",
|
|
2882
2883
|
props: {
|
|
2883
2884
|
value: { type: String, default: null },
|
|
@@ -2891,7 +2892,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2891
2892
|
},
|
|
2892
2893
|
emits: ["update:value"],
|
|
2893
2894
|
setup(e, { expose: t, emit: n }) {
|
|
2894
|
-
const a = e, l = ge(ve), r = je(l?.size), o = $(null), i =
|
|
2895
|
+
const a = e, l = ge(ve), r = je(l?.size), o = $(null), i = X(a.placeholder, "请输入" + a.title), u = n, s = () => {
|
|
2895
2896
|
u("update:value", o.value);
|
|
2896
2897
|
};
|
|
2897
2898
|
return t({
|
|
@@ -2918,7 +2919,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2918
2919
|
}, null, 8, ["value", "placeholder", "disabled", "type", "size"]);
|
|
2919
2920
|
};
|
|
2920
2921
|
}
|
|
2921
|
-
}), Ki = { class: "sag-vxe-page-ant-selectPull" }, eu = /* @__PURE__ */
|
|
2922
|
+
}), Ki = { class: "sag-vxe-page-ant-selectPull" }, eu = /* @__PURE__ */ J({
|
|
2922
2923
|
__name: "AntdSelect",
|
|
2923
2924
|
props: {
|
|
2924
2925
|
value: { type: [String, Array, Object], default: null },
|
|
@@ -2975,7 +2976,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2975
2976
|
]);
|
|
2976
2977
|
};
|
|
2977
2978
|
}
|
|
2978
|
-
}), tu = { class: "sag-vxe-page-ant-selectPull" }, nu = /* @__PURE__ */
|
|
2979
|
+
}), tu = { class: "sag-vxe-page-ant-selectPull" }, nu = /* @__PURE__ */ J({
|
|
2979
2980
|
__name: "AntdSelectPull",
|
|
2980
2981
|
props: {
|
|
2981
2982
|
value: { type: String, default: null },
|
|
@@ -2998,7 +2999,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2998
2999
|
if (p.value = [], v) {
|
|
2999
3000
|
h.value = !0;
|
|
3000
3001
|
const x = {
|
|
3001
|
-
searchValue:
|
|
3002
|
+
searchValue: we(v)
|
|
3002
3003
|
}, D = await Ee(ne(r, a.requestUrl), {
|
|
3003
3004
|
...a.requestParams,
|
|
3004
3005
|
...x
|
|
@@ -3044,7 +3045,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3044
3045
|
"allow-clear": "",
|
|
3045
3046
|
"show-search": "",
|
|
3046
3047
|
style: { width: "100%" }
|
|
3047
|
-
},
|
|
3048
|
+
}, _e({ _: 2 }, [
|
|
3048
3049
|
h.value ? {
|
|
3049
3050
|
name: "notFoundContent",
|
|
3050
3051
|
fn: B(() => [
|
|
@@ -3056,7 +3057,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3056
3057
|
]);
|
|
3057
3058
|
};
|
|
3058
3059
|
}
|
|
3059
|
-
}), au = { class: "sag-vxe-page-ant-selectPull" }, lu = /* @__PURE__ */
|
|
3060
|
+
}), au = { class: "sag-vxe-page-ant-selectPull" }, lu = /* @__PURE__ */ J({
|
|
3060
3061
|
__name: "AntdSelectList",
|
|
3061
3062
|
props: {
|
|
3062
3063
|
value: { type: [String, Array, Object], default: null },
|
|
@@ -3075,7 +3076,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3075
3076
|
},
|
|
3076
3077
|
emits: ["update:value"],
|
|
3077
3078
|
setup(e, { expose: t, emit: n }) {
|
|
3078
|
-
const a = e, l = ge(ve), r = l?.ctxPath || "", o = je(l?.size), i = "请输入" + a.title + "搜索", u = $(a.multiple ? [] : null), s = $(""), p = $([]), d = $([]), h = n, y = (v, x) => x.label.toLowerCase().indexOf(
|
|
3079
|
+
const a = e, l = ge(ve), r = l?.ctxPath || "", o = je(l?.size), i = "请输入" + a.title + "搜索", u = $(a.multiple ? [] : null), s = $(""), p = $([]), d = $([]), h = n, y = (v, x) => x.label.toLowerCase().indexOf(we(v).toLowerCase()) >= 0, f = async () => await Ee(ne(r, a.requestUrl), a.requestParams), m = (v) => {
|
|
3079
3080
|
h("update:value", v);
|
|
3080
3081
|
}, O = () => s.value, _ = () => u.value, g = (v) => {
|
|
3081
3082
|
u.value = v, h("update:value", u.value);
|
|
@@ -3118,7 +3119,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3118
3119
|
]);
|
|
3119
3120
|
};
|
|
3120
3121
|
}
|
|
3121
|
-
}), ru = { class: "sag-vxe-page-ant-selectPull" }, ou = /* @__PURE__ */
|
|
3122
|
+
}), ru = { class: "sag-vxe-page-ant-selectPull" }, ou = /* @__PURE__ */ J({
|
|
3122
3123
|
__name: "AntdCascader",
|
|
3123
3124
|
props: {
|
|
3124
3125
|
value: { type: String, default: null },
|
|
@@ -3241,7 +3242,7 @@ function du(e) {
|
|
|
3241
3242
|
} else
|
|
3242
3243
|
return Aa(e);
|
|
3243
3244
|
}
|
|
3244
|
-
const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left": "5px" } }, mu = { style: { float: "right", "padding-right": "15px", "padding-bottom": "3px" } }, gu = ["src"], hu = /* @__PURE__ */
|
|
3245
|
+
const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left": "5px" } }, mu = { style: { float: "right", "padding-right": "15px", "padding-bottom": "3px" } }, gu = ["src"], hu = /* @__PURE__ */ J({
|
|
3245
3246
|
name: "SagVxeDialog",
|
|
3246
3247
|
inheritAttrs: !1,
|
|
3247
3248
|
__name: "AntdModal",
|
|
@@ -3332,7 +3333,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3332
3333
|
]);
|
|
3333
3334
|
};
|
|
3334
3335
|
}
|
|
3335
|
-
}), vu = /* @__PURE__ */
|
|
3336
|
+
}), vu = /* @__PURE__ */ J({
|
|
3336
3337
|
__name: "VxeInput",
|
|
3337
3338
|
props: {
|
|
3338
3339
|
value: { type: String, default: null },
|
|
@@ -3345,7 +3346,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3345
3346
|
},
|
|
3346
3347
|
emits: ["update:value"],
|
|
3347
3348
|
setup(e, { expose: t, emit: n }) {
|
|
3348
|
-
const a = e, l = ge(ve), r = $(null), o =
|
|
3349
|
+
const a = e, l = ge(ve), r = $(null), o = X(a.placeholder, "请输入" + a.title), i = n, u = (h) => {
|
|
3349
3350
|
p(h.value);
|
|
3350
3351
|
}, s = () => r.value, p = (h) => {
|
|
3351
3352
|
r.value = h, i("update:value", r.value);
|
|
@@ -3370,7 +3371,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3370
3371
|
}, null, 8, ["model-value", "placeholder", "disabled", "size"]);
|
|
3371
3372
|
};
|
|
3372
3373
|
}
|
|
3373
|
-
}), bu = /* @__PURE__ */
|
|
3374
|
+
}), bu = /* @__PURE__ */ J({
|
|
3374
3375
|
__name: "VxeSelect",
|
|
3375
3376
|
props: {
|
|
3376
3377
|
value: { type: String, default: null },
|
|
@@ -3399,7 +3400,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3399
3400
|
placeholder: a.filterable ? u : "",
|
|
3400
3401
|
options: [],
|
|
3401
3402
|
filterMethod({ searchValue: v, option: x }) {
|
|
3402
|
-
return x.label.toLowerCase().indexOf(
|
|
3403
|
+
return x.label.toLowerCase().indexOf(we(v).toLowerCase()) >= 0;
|
|
3403
3404
|
}
|
|
3404
3405
|
}), f = async () => {
|
|
3405
3406
|
let v = a.request.requestUrl;
|
|
@@ -3434,7 +3435,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3434
3435
|
}), null, 16, ["modelValue", "size"]);
|
|
3435
3436
|
};
|
|
3436
3437
|
}
|
|
3437
|
-
}), yu = /* @__PURE__ */
|
|
3438
|
+
}), yu = /* @__PURE__ */ J({
|
|
3438
3439
|
__name: "VxeSelectPull",
|
|
3439
3440
|
props: {
|
|
3440
3441
|
value: { type: String, default: null },
|
|
@@ -3471,7 +3472,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3471
3472
|
}), h = async (g) => {
|
|
3472
3473
|
if (s.value = [], g) {
|
|
3473
3474
|
const S = {
|
|
3474
|
-
searchValue:
|
|
3475
|
+
searchValue: we(g)
|
|
3475
3476
|
};
|
|
3476
3477
|
return await Ee(ne(r, a.requestUrl), {
|
|
3477
3478
|
...a.requestParams,
|
|
@@ -3507,7 +3508,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3507
3508
|
}), null, 16, ["modelValue", "size"]);
|
|
3508
3509
|
};
|
|
3509
3510
|
}
|
|
3510
|
-
}), Su = /* @__PURE__ */
|
|
3511
|
+
}), Su = /* @__PURE__ */ J({
|
|
3511
3512
|
__name: "VxeSelectList",
|
|
3512
3513
|
props: {
|
|
3513
3514
|
value: { type: String, default: null },
|
|
@@ -3534,7 +3535,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3534
3535
|
placeholder: o,
|
|
3535
3536
|
options: [],
|
|
3536
3537
|
filterMethod({ searchValue: g, option: S }) {
|
|
3537
|
-
return S.label.toLowerCase().indexOf(
|
|
3538
|
+
return S.label.toLowerCase().indexOf(we(g).toLowerCase()) >= 0;
|
|
3538
3539
|
}
|
|
3539
3540
|
}), h = async () => await Ee(ne(r, a.requestUrl), a.requestParams), y = ({ value: g }) => {
|
|
3540
3541
|
p("update:value", g);
|
|
@@ -3566,7 +3567,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3566
3567
|
}), null, 16, ["modelValue", "size"]);
|
|
3567
3568
|
};
|
|
3568
3569
|
}
|
|
3569
|
-
}), Ou = /* @__PURE__ */
|
|
3570
|
+
}), Ou = /* @__PURE__ */ J({
|
|
3570
3571
|
__name: "ExportExcel",
|
|
3571
3572
|
emits: ["export"],
|
|
3572
3573
|
setup(e, { emit: t }) {
|
|
@@ -3680,7 +3681,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3680
3681
|
});
|
|
3681
3682
|
};
|
|
3682
3683
|
}
|
|
3683
|
-
}), wu = { class: "sag-vxe-page-search-wrapper" }, _u = { class: "sag-vxe-page-table-wrapper" }, Cu = ["onClick"], xu = { style: { "font-weight": "bold" } }, Pu = { key: 0 }, ku = ["onClick"], Au = { key: 1 }, Tu = { style: { display: "inline" } }, Mu = { key: 0 }, Vu = ["onClick"], $u = ["onClick"], ju = { key: 0 }, zu = { key: 1 }, qu = { key: 2 }, Ta = /* @__PURE__ */
|
|
3684
|
+
}), wu = { class: "sag-vxe-page-search-wrapper" }, _u = { class: "sag-vxe-page-table-wrapper" }, Cu = ["onClick"], xu = { style: { "font-weight": "bold" } }, Pu = { key: 0 }, ku = ["onClick"], Au = { key: 1 }, Tu = { style: { display: "inline" } }, Mu = { key: 0 }, Vu = ["onClick"], $u = ["onClick"], ju = { key: 0 }, zu = { key: 1 }, qu = { key: 2 }, Ta = /* @__PURE__ */ J({
|
|
3684
3685
|
name: "SagVxePage",
|
|
3685
3686
|
inheritAttrs: !1,
|
|
3686
3687
|
__name: "SagVxePage",
|
|
@@ -3819,7 +3820,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3819
3820
|
pageSizePlacement: M.toString(l?.templateTable?.pagerConfig?.pageSizePlacement, "top")
|
|
3820
3821
|
}), f = A.application + "_" + r.templateType, m = "sag_vxe_page_div_panel_" + f;
|
|
3821
3822
|
Tn(ve, r), Tn(Yi, () => document.getElementById(b(m)));
|
|
3822
|
-
const O = Object.keys(Be()), _ = O.filter((k) => k.startsWith("items_")), g = O.filter((k) => k.startsWith("cols_")), S = O.filter((k) => k.startsWith("tools_")), v = $(), x = $(!0), D = $(!1), F = $("none"), U = $(["1"]), N = $(0),
|
|
3823
|
+
const O = Object.keys(Be()), _ = O.filter((k) => k.startsWith("items_")), g = O.filter((k) => k.startsWith("cols_")), S = O.filter((k) => k.startsWith("tools_")), v = $(), x = $(!0), D = $(!1), F = $("none"), U = $(["1"]), N = $(0), W = je(r.size), Q = $(), E = te({}), ie = $([]), We = $(), bt = $([]), yt = n, be = (k, C) => {
|
|
3823
3824
|
ie.value[C] = k;
|
|
3824
3825
|
}, ze = async () => {
|
|
3825
3826
|
const k = v.value;
|
|
@@ -3833,9 +3834,9 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3833
3834
|
u.storage && $n(r.application, r.templateType, {}), Ze(bt.value[0].children, ie, E), yt("resetValue");
|
|
3834
3835
|
}, bl = () => {
|
|
3835
3836
|
ut(() => {
|
|
3836
|
-
zn(
|
|
3837
|
+
zn(Q.value, G, s.clientScale);
|
|
3837
3838
|
});
|
|
3838
|
-
},
|
|
3839
|
+
}, G = te({
|
|
3839
3840
|
size: r.size,
|
|
3840
3841
|
minHeight: s.minHeight,
|
|
3841
3842
|
maxHeight: s.maxHeight,
|
|
@@ -3879,29 +3880,29 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3879
3880
|
query: (k) => {
|
|
3880
3881
|
const { page: C, sorts: R, filters: H, form: Z } = k, se = At(C, R, H, Z, E, ie);
|
|
3881
3882
|
if (u.storage) {
|
|
3882
|
-
const
|
|
3883
|
-
$n(r.application, r.templateType,
|
|
3883
|
+
const Ce = xr(R, H, Z, E);
|
|
3884
|
+
$n(r.application, r.templateType, Ce);
|
|
3884
3885
|
}
|
|
3885
3886
|
return yn(se, o.requestData, !1);
|
|
3886
3887
|
},
|
|
3887
3888
|
querySuccess: (k) => {
|
|
3888
|
-
const { page: C, sort: R, sorts: H, filters: Z, form: se, response:
|
|
3889
|
-
p?.isMerge && (
|
|
3889
|
+
const { page: C, sort: R, sorts: H, filters: Z, form: se, response: Ce } = k;
|
|
3890
|
+
p?.isMerge && (G.mergeCells = On(Ce?.rows)), yt("search", Ce, { $gridRef: v.value, gridOptions: G });
|
|
3890
3891
|
}
|
|
3891
3892
|
}
|
|
3892
3893
|
},
|
|
3893
3894
|
footerMethod: s.footerMethod
|
|
3894
3895
|
}), St = $(!1), yl = () => {
|
|
3895
3896
|
ct("确定要强制显示数据内容吗?", () => {
|
|
3896
|
-
p?.isMerge ?
|
|
3897
|
+
p?.isMerge ? G.mergeCells = null : G.spanMethod = jn({}), G.virtualYConfig = { enabled: !0 }, St.value = !0, ze();
|
|
3897
3898
|
});
|
|
3898
3899
|
}, yn = async (k, C, R) => {
|
|
3899
3900
|
if (F.value = "none", St.value)
|
|
3900
|
-
return St.value = !1,
|
|
3901
|
+
return St.value = !1, G.params.data;
|
|
3901
3902
|
{
|
|
3902
3903
|
D.value = !0, r.onLoadBeforeModule && r.onLoadBeforeModule({
|
|
3903
3904
|
$gridRef: v.value,
|
|
3904
|
-
gridOptions:
|
|
3905
|
+
gridOptions: G,
|
|
3905
3906
|
queryParams: k,
|
|
3906
3907
|
exportFlag: R
|
|
3907
3908
|
});
|
|
@@ -3914,10 +3915,10 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3914
3915
|
}, 1e3);
|
|
3915
3916
|
});
|
|
3916
3917
|
if (H.success) {
|
|
3917
|
-
if (
|
|
3918
|
+
if (G.params.dataSum = H.data?.dataSum, p?.mergeKey) {
|
|
3918
3919
|
if (!R && H.data.rows.length > 800)
|
|
3919
|
-
return F.value = "more",
|
|
3920
|
-
p?.isMerge || (
|
|
3920
|
+
return F.value = "more", G.params.data = Sn(H.data), null;
|
|
3921
|
+
p?.isMerge || (G.virtualYConfig = { enabled: !1 });
|
|
3921
3922
|
}
|
|
3922
3923
|
return Sn(H.data);
|
|
3923
3924
|
} else
|
|
@@ -3953,9 +3954,9 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3953
3954
|
}
|
|
3954
3955
|
}
|
|
3955
3956
|
}, wl = (k) => {
|
|
3956
|
-
|
|
3957
|
+
G.params.currentRow = k?.row;
|
|
3957
3958
|
}, _l = () => {
|
|
3958
|
-
|
|
3959
|
+
G.params.currentRow = null;
|
|
3959
3960
|
}, Sn = (k) => {
|
|
3960
3961
|
const C = p?.seqKey, R = p?.mergeKey;
|
|
3961
3962
|
if (R && C) {
|
|
@@ -3965,7 +3966,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3965
3966
|
}
|
|
3966
3967
|
return r.onLoadAfterModule ? r.onLoadAfterModule({
|
|
3967
3968
|
$gridRef: v.value,
|
|
3968
|
-
gridOptions:
|
|
3969
|
+
gridOptions: G,
|
|
3969
3970
|
data: k
|
|
3970
3971
|
}) : k;
|
|
3971
3972
|
}, On = (k) => {
|
|
@@ -3975,15 +3976,15 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3975
3976
|
let H = [], Z = {}, se = {};
|
|
3976
3977
|
for (let Oe = 0; Oe < k.length; Oe++) {
|
|
3977
3978
|
const ue = k[Oe], qe = k[Oe - 1];
|
|
3978
|
-
let
|
|
3979
|
-
c(se[ue[C]]) || (se[ue[C]] = Oe + 0), c(Z[ue[C]]) ? (c(
|
|
3979
|
+
let xe = k[Oe + 1];
|
|
3980
|
+
c(se[ue[C]]) || (se[ue[C]] = Oe + 0), c(Z[ue[C]]) ? (c(xe) && xe[C] === ue[C] || c(qe) && qe[C] === ue[C]) && (Z[ue[C]] = Z[ue[C]] + 1) : Z[ue[C]] = 1;
|
|
3980
3981
|
}
|
|
3981
|
-
let
|
|
3982
|
-
for (let Oe in
|
|
3983
|
-
let ue = R?.getColumnByField(
|
|
3984
|
-
for (let
|
|
3982
|
+
let Ce = p?.fields;
|
|
3983
|
+
for (let Oe in Ce) {
|
|
3984
|
+
let ue = R?.getColumnByField(Ce[Oe]), qe = R?.getColumnIndex(ue);
|
|
3985
|
+
for (let xe in se)
|
|
3985
3986
|
H = H.concat([
|
|
3986
|
-
{ row: se[
|
|
3987
|
+
{ row: se[xe], col: qe, rowspan: Z[xe], colspan: 1 }
|
|
3987
3988
|
]);
|
|
3988
3989
|
}
|
|
3989
3990
|
return H;
|
|
@@ -3999,7 +4000,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3999
4000
|
}
|
|
4000
4001
|
}), wn = ({ row: k }) => {
|
|
4001
4002
|
const C = p?.mergeKey;
|
|
4002
|
-
if (k?.[C] ===
|
|
4003
|
+
if (k?.[C] === G.params.currentRow?.[C])
|
|
4003
4004
|
return {
|
|
4004
4005
|
backgroundColor: p?.backgroundColor
|
|
4005
4006
|
};
|
|
@@ -4012,7 +4013,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4012
4013
|
}, { clickFormButton: Pl, clickTableButton: Ge, clickHerf: _n } = zi({
|
|
4013
4014
|
gridRef: v,
|
|
4014
4015
|
targetModal: a,
|
|
4015
|
-
gridOptions:
|
|
4016
|
+
gridOptions: G,
|
|
4016
4017
|
pageOptions: r,
|
|
4017
4018
|
formData: E,
|
|
4018
4019
|
pageModal: i
|
|
@@ -4020,7 +4021,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4020
4021
|
formRef: We,
|
|
4021
4022
|
formData: E,
|
|
4022
4023
|
gridRef: v,
|
|
4023
|
-
gridOptions:
|
|
4024
|
+
gridOptions: G,
|
|
4024
4025
|
loadData: yn,
|
|
4025
4026
|
pageOptions: r,
|
|
4026
4027
|
templateItemRefs: ie,
|
|
@@ -4049,13 +4050,13 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4049
4050
|
const R = s.tableColumnsExtra;
|
|
4050
4051
|
R && Object.keys(R).forEach((H) => R[H].fixed = !1);
|
|
4051
4052
|
}
|
|
4052
|
-
xn(r.application, !0), s.rowType === "checkbox" ?
|
|
4053
|
+
xn(r.application, !0), s.rowType === "checkbox" ? G.checkboxConfig = { highlight: !0 } : s.rowType === "radio" ? G.radioConfig = { highlight: !0 } : G.rowConfig.isCurrent = !0;
|
|
4053
4054
|
const k = s.pageSizes;
|
|
4054
|
-
k && k.length > 0 &&
|
|
4055
|
+
k && k.length > 0 && G.pagerConfig && (G.pagerConfig.pageSizes = k), s.editConfig && (G.editConfig = {
|
|
4055
4056
|
trigger: "click",
|
|
4056
4057
|
mode: "row",
|
|
4057
4058
|
showStatus: !0
|
|
4058
|
-
}), c(p) && c(p.mergeKey) && (
|
|
4059
|
+
}), c(p) && c(p.mergeKey) && (G.cellStyle = wn, G.params.mergeField = p.mergeKey, p.isMerge ? G.columnDragConfig.dragStartMethod = () => !1 : (G.virtualYConfig = { enabled: !1 }, G.spanMethod = jn(p))), x.value = !1;
|
|
4059
4060
|
}, Tl = (k, C) => k && k.length > 0 ? k && C ? k.some((R) => Re(C[R.buttonName]) && Re(R.auth)) : !0 : !1;
|
|
4060
4061
|
oe(async () => {
|
|
4061
4062
|
if (le("加载页面模板", r), await Al(), u.storage) {
|
|
@@ -4076,7 +4077,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4076
4077
|
r.onMountedModule && await r.onMountedModule({
|
|
4077
4078
|
$formRef: We.value,
|
|
4078
4079
|
$gridRef: v.value,
|
|
4079
|
-
gridOptions:
|
|
4080
|
+
gridOptions: G,
|
|
4080
4081
|
pageOptions: r,
|
|
4081
4082
|
formData: E
|
|
4082
4083
|
}), xl(), await ze(), Pn();
|
|
@@ -4085,7 +4086,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4085
4086
|
le("屏幕高度出现变化,重新计算表格高度"), s.clientScale === 1 && N.value == 0 && (window.onresize = () => {
|
|
4086
4087
|
N.value = document.body.clientWidth;
|
|
4087
4088
|
}), ut(() => {
|
|
4088
|
-
zn(
|
|
4089
|
+
zn(Q.value, G, s.clientScale);
|
|
4089
4090
|
});
|
|
4090
4091
|
}, A.templateTable.lazyComputdHeightTime);
|
|
4091
4092
|
s.clientScale === 1 && he(
|
|
@@ -4096,14 +4097,14 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4096
4097
|
{ deep: !0, immediate: !0 }
|
|
4097
4098
|
);
|
|
4098
4099
|
const Ml = (k) => {
|
|
4099
|
-
a.title =
|
|
4100
|
+
a.title = X(k.title, A.targetModal.title), a.width = X(k.width, A.targetModal.width), a.height = X(k.height, A.targetModal.height), a.maximize = X(k.maximize, !1), a.autoLoad = X(k.autoLoad, !1), a.componentVue = X(k.componentVue, A.targetModal.componentVue), a.componentParams = k.componentParams, a.componentUrl = k.componentUrl, a.visible = !0;
|
|
4100
4101
|
}, kn = () => {
|
|
4101
4102
|
a.visible = !1, a.autoLoad && ze();
|
|
4102
4103
|
}, Vl = (k) => {
|
|
4103
4104
|
a.visible = !1;
|
|
4104
4105
|
const C = a.componentParams;
|
|
4105
4106
|
yt("submit", { data: k, params: C, button: C[A.buttonKeyName] });
|
|
4106
|
-
}, $l = async () => await ml(v,
|
|
4107
|
+
}, $l = async () => await ml(v, G), jl = async () => {
|
|
4107
4108
|
const k = v.value;
|
|
4108
4109
|
if (k) {
|
|
4109
4110
|
const { pager: C, filter: R, form: H, sort: Z } = k.getProxyInfo();
|
|
@@ -4124,16 +4125,16 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4124
4125
|
getFormData: jl,
|
|
4125
4126
|
setFormData: An,
|
|
4126
4127
|
setExportColumns: (k) => {
|
|
4127
|
-
|
|
4128
|
+
G.params.exportColumns = k;
|
|
4128
4129
|
}
|
|
4129
4130
|
}), (k, C) => {
|
|
4130
|
-
const R = L("a-button"), H = L("a-space"), Z = L("vxe-form"), se = L("a-collapse-panel"),
|
|
4131
|
+
const R = L("a-button"), H = L("a-space"), Z = L("vxe-form"), se = L("a-collapse-panel"), Ce = L("a-collapse"), Oe = L("a-menu-item"), ue = L("a-menu"), qe = L("a-dropdown"), xe = L("vxe-button"), zl = L("vxe-grid");
|
|
4131
4132
|
return Mn((w(), I("div", {
|
|
4132
4133
|
id: m,
|
|
4133
4134
|
class: "sag-vxe-page-wrapper"
|
|
4134
4135
|
}, [
|
|
4135
4136
|
Mn(K("div", wu, [
|
|
4136
|
-
q(
|
|
4137
|
+
q(Ce, {
|
|
4137
4138
|
activeKey: U.value,
|
|
4138
4139
|
"onUpdate:activeKey": C[2] || (C[2] = (P) => U.value = P),
|
|
4139
4140
|
expandIconPosition: "end",
|
|
@@ -4142,7 +4143,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4142
4143
|
default: B(() => [
|
|
4143
4144
|
q(se, {
|
|
4144
4145
|
ref_key: "formCardRef",
|
|
4145
|
-
ref:
|
|
4146
|
+
ref: Q,
|
|
4146
4147
|
key: "1",
|
|
4147
4148
|
header: "查询条件",
|
|
4148
4149
|
align: "left",
|
|
@@ -4162,13 +4163,13 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4162
4163
|
vertical: u.formProps.vertical,
|
|
4163
4164
|
onCollapse: bl,
|
|
4164
4165
|
class: "sag-vxe-page-form"
|
|
4165
|
-
},
|
|
4166
|
+
}, _e({
|
|
4166
4167
|
toolbar_tools: B(() => [
|
|
4167
4168
|
q(H, null, {
|
|
4168
4169
|
default: B(() => [
|
|
4169
4170
|
q(R, {
|
|
4170
4171
|
type: "primary",
|
|
4171
|
-
size: b(
|
|
4172
|
+
size: b(W),
|
|
4172
4173
|
onClick: C[0] || (C[0] = (P) => ze()),
|
|
4173
4174
|
disabled: D.value
|
|
4174
4175
|
}, {
|
|
@@ -4178,7 +4179,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4178
4179
|
_: 1
|
|
4179
4180
|
}, 8, ["size", "disabled"]),
|
|
4180
4181
|
q(R, {
|
|
4181
|
-
size: b(
|
|
4182
|
+
size: b(W),
|
|
4182
4183
|
onClick: C[1] || (C[1] = (P) => bn())
|
|
4183
4184
|
}, {
|
|
4184
4185
|
default: B(() => C[6] || (C[6] = [
|
|
@@ -4276,7 +4277,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4276
4277
|
]),
|
|
4277
4278
|
_: 2
|
|
4278
4279
|
}, [
|
|
4279
|
-
|
|
4280
|
+
ke(b(_), (P) => ({
|
|
4280
4281
|
name: P,
|
|
4281
4282
|
fn: B((V) => [
|
|
4282
4283
|
re(k.$slots, P, ee(V, {
|
|
@@ -4298,7 +4299,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4298
4299
|
q(zl, ee({
|
|
4299
4300
|
ref_key: "gridRef",
|
|
4300
4301
|
ref: v
|
|
4301
|
-
},
|
|
4302
|
+
}, G, Rl(Cl), {
|
|
4302
4303
|
size: r.size,
|
|
4303
4304
|
id: f,
|
|
4304
4305
|
style: { "z-index": "1" },
|
|
@@ -4307,7 +4308,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4307
4308
|
onCellMouseleave: _l,
|
|
4308
4309
|
onCheckboxChange: Sl,
|
|
4309
4310
|
onRadioChange: Ol
|
|
4310
|
-
}),
|
|
4311
|
+
}), _e({
|
|
4311
4312
|
operate: B(({ row: P, column: V }) => [
|
|
4312
4313
|
K("a", {
|
|
4313
4314
|
href: "javascript:void(0)",
|
|
@@ -4316,7 +4317,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4316
4317
|
}, ae(P[V.property]), 9, Cu)
|
|
4317
4318
|
]),
|
|
4318
4319
|
vertical: B(({ row: P, column: V }) => [
|
|
4319
|
-
(w(!0), I(fe, null,
|
|
4320
|
+
(w(!0), I(fe, null, ke(V.params.childColumns, (ye) => (w(), I("div", {
|
|
4320
4321
|
key: ye.value
|
|
4321
4322
|
}, [
|
|
4322
4323
|
K("span", xu, ae(ye.title) + ":", 1),
|
|
@@ -4332,7 +4333,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4332
4333
|
]),
|
|
4333
4334
|
button: B(({ row: P }) => [
|
|
4334
4335
|
K("div", Tu, [
|
|
4335
|
-
(w(!0), I(fe, null,
|
|
4336
|
+
(w(!0), I(fe, null, ke(d.tableButtons, (V) => (w(), I(fe, { key: V }, [
|
|
4336
4337
|
b(M).toString(P[V.buttonName], !0) && b(Re)(V.auth) ? (w(), I("span", Mu, [
|
|
4337
4338
|
s.showButtonLink ? z("", !0) : (w(), j(R, {
|
|
4338
4339
|
key: 0,
|
|
@@ -4372,7 +4373,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4372
4373
|
overlay: B(() => [
|
|
4373
4374
|
q(ue, null, {
|
|
4374
4375
|
default: B(() => [
|
|
4375
|
-
(w(!0), I(fe, null,
|
|
4376
|
+
(w(!0), I(fe, null, ke(d.tableMoreButtons, (V) => (w(), I(fe, { key: V }, [
|
|
4376
4377
|
b(Re)(V.auth) ? (w(), I(fe, { key: 0 }, [
|
|
4377
4378
|
b(M).toString(P[V.buttonName], !0) ? (w(), j(Oe, { key: 0 }, {
|
|
4378
4379
|
default: B(() => [
|
|
@@ -4415,11 +4416,11 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4415
4416
|
style: { "margin-bottom": "0px" }
|
|
4416
4417
|
}, {
|
|
4417
4418
|
default: B(() => [
|
|
4418
|
-
(w(!0), I(fe, null,
|
|
4419
|
+
(w(!0), I(fe, null, ke(d.formButtons, (P) => (w(), I("span", { key: P }, [
|
|
4419
4420
|
b(Re)(P.auth) ? (w(), j(R, {
|
|
4420
4421
|
key: 0,
|
|
4421
4422
|
round: "",
|
|
4422
|
-
size: b(
|
|
4423
|
+
size: b(W),
|
|
4423
4424
|
type: b(M).toString(P.status, "primary"),
|
|
4424
4425
|
onClick: (V) => b(Pl)(P)
|
|
4425
4426
|
}, {
|
|
@@ -4437,10 +4438,10 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4437
4438
|
]),
|
|
4438
4439
|
_: 1
|
|
4439
4440
|
})) : z("", !0),
|
|
4440
|
-
(w(!0), I(fe, null,
|
|
4441
|
+
(w(!0), I(fe, null, ke(b(S), (P) => re(k.$slots, P)), 256))
|
|
4441
4442
|
]),
|
|
4442
4443
|
toolbar_tools: B(() => [
|
|
4443
|
-
b(c)(s.tableColumnsExtra) ? (w(), j(
|
|
4444
|
+
b(c)(s.tableColumnsExtra) ? (w(), j(xe, {
|
|
4444
4445
|
key: 0,
|
|
4445
4446
|
size: "small",
|
|
4446
4447
|
circle: !0,
|
|
@@ -4456,7 +4457,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4456
4457
|
key: 1,
|
|
4457
4458
|
onExport: b(Cn)
|
|
4458
4459
|
}, null, 8, ["onExport"])) : z("", !0),
|
|
4459
|
-
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (w(), j(
|
|
4460
|
+
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (w(), j(xe, {
|
|
4460
4461
|
key: 2,
|
|
4461
4462
|
size: "small",
|
|
4462
4463
|
circle: !0,
|
|
@@ -4468,7 +4469,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4468
4469
|
])),
|
|
4469
4470
|
_: 1
|
|
4470
4471
|
}, 8, ["onClick"])) : z("", !0),
|
|
4471
|
-
o.requestImport ? (w(), j(
|
|
4472
|
+
o.requestImport ? (w(), j(xe, {
|
|
4472
4473
|
key: 3,
|
|
4473
4474
|
size: "small",
|
|
4474
4475
|
circle: !0,
|
|
@@ -4506,7 +4507,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4506
4507
|
]),
|
|
4507
4508
|
_: 2
|
|
4508
4509
|
}, [
|
|
4509
|
-
|
|
4510
|
+
ke(b(g), (P) => ({
|
|
4510
4511
|
name: P,
|
|
4511
4512
|
fn: B((V) => [
|
|
4512
4513
|
re(k.$slots, P, Ll(Ul(V)))
|
|
@@ -4527,7 +4528,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4527
4528
|
install: (e, t) => {
|
|
4528
4529
|
e.component(Ta.name, Ta);
|
|
4529
4530
|
}
|
|
4530
|
-
}, Ma = /* @__PURE__ */
|
|
4531
|
+
}, Ma = /* @__PURE__ */ J({
|
|
4531
4532
|
name: "SagAntdDatePicker",
|
|
4532
4533
|
inheritAttrs: !1,
|
|
4533
4534
|
__name: "SagAntdDatePicker",
|
|
@@ -4598,7 +4599,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4598
4599
|
install: (e, t) => {
|
|
4599
4600
|
e.component(Ma.name, Ma);
|
|
4600
4601
|
}
|
|
4601
|
-
}, Va = /* @__PURE__ */
|
|
4602
|
+
}, Va = /* @__PURE__ */ J({
|
|
4602
4603
|
name: "SagAntdDateRange",
|
|
4603
4604
|
inheritAttrs: !1,
|
|
4604
4605
|
__name: "SagAntdDateRange",
|
|
@@ -4685,7 +4686,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4685
4686
|
install: (e, t) => {
|
|
4686
4687
|
e.component(Va.name, Va);
|
|
4687
4688
|
}
|
|
4688
|
-
}, $a = /* @__PURE__ */
|
|
4689
|
+
}, $a = /* @__PURE__ */ J({
|
|
4689
4690
|
name: "SagAntdButton",
|
|
4690
4691
|
inheritAttrs: !1,
|
|
4691
4692
|
__name: "SagAntdButton",
|
|
@@ -4732,7 +4733,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4732
4733
|
install: (e, t) => {
|
|
4733
4734
|
e.component($a.name, $a);
|
|
4734
4735
|
}
|
|
4735
|
-
}, Du = { class: "sag-antd-cascader-wrapper" }, ja = /* @__PURE__ */
|
|
4736
|
+
}, Du = { class: "sag-antd-cascader-wrapper" }, ja = /* @__PURE__ */ J({
|
|
4736
4737
|
name: "SagAntdCascader",
|
|
4737
4738
|
inheritAttrs: !1,
|
|
4738
4739
|
__name: "SagAntdCascader",
|
|
@@ -4806,7 +4807,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4806
4807
|
install: (e, t) => {
|
|
4807
4808
|
e.component(ja.name, ja);
|
|
4808
4809
|
}
|
|
4809
|
-
}, Bu = { key: 1 }, za = /* @__PURE__ */
|
|
4810
|
+
}, Bu = { key: 1 }, za = /* @__PURE__ */ J({
|
|
4810
4811
|
name: "SagAntdCard",
|
|
4811
4812
|
inheritAttrs: !1,
|
|
4812
4813
|
__name: "SagAntdCard",
|
|
@@ -4835,7 +4836,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4835
4836
|
style: me(t.style),
|
|
4836
4837
|
hoverable: t.hoverable,
|
|
4837
4838
|
loading: t.loading
|
|
4838
|
-
},
|
|
4839
|
+
}, _e({
|
|
4839
4840
|
default: B(() => [
|
|
4840
4841
|
re(r.$slots, "default")
|
|
4841
4842
|
]),
|
|
@@ -4863,7 +4864,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4863
4864
|
install: (e, t) => {
|
|
4864
4865
|
e.component(za.name, za);
|
|
4865
4866
|
}
|
|
4866
|
-
}, Nu = { key: 1 }, Eu = { key: 1 }, qa = /* @__PURE__ */
|
|
4867
|
+
}, Nu = { key: 1 }, Eu = { key: 1 }, qa = /* @__PURE__ */ J({
|
|
4867
4868
|
name: "SagAntdInput",
|
|
4868
4869
|
inheritAttrs: !1,
|
|
4869
4870
|
__name: "SagAntdInput",
|
|
@@ -4919,7 +4920,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4919
4920
|
maxlength: a.maxlength,
|
|
4920
4921
|
style: me(a.style),
|
|
4921
4922
|
onChange: s
|
|
4922
|
-
},
|
|
4923
|
+
}, _e({ _: 2 }, [
|
|
4923
4924
|
b(i).length === 1 || b(c)(a.addonAfter) ? {
|
|
4924
4925
|
name: "addonAfter",
|
|
4925
4926
|
fn: B(() => [
|
|
@@ -4943,7 +4944,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4943
4944
|
install: (e, t) => {
|
|
4944
4945
|
e.component(qa.name, qa);
|
|
4945
4946
|
}
|
|
4946
|
-
}, Ru = { key: 1 }, Lu = { key: 1 }, Da = /* @__PURE__ */
|
|
4947
|
+
}, Ru = { key: 1 }, Lu = { key: 1 }, Da = /* @__PURE__ */ J({
|
|
4947
4948
|
name: "SagAntdInputNumber",
|
|
4948
4949
|
inheritAttrs: !1,
|
|
4949
4950
|
__name: "SagAntdInputNumber",
|
|
@@ -5009,7 +5010,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5009
5010
|
controls: a.controls,
|
|
5010
5011
|
style: me(a.style),
|
|
5011
5012
|
onChange: s
|
|
5012
|
-
},
|
|
5013
|
+
}, _e({ _: 2 }, [
|
|
5013
5014
|
b(i).length === 1 || b(c)(a.addonAfter) ? {
|
|
5014
5015
|
name: "addonAfter",
|
|
5015
5016
|
fn: B(() => [
|
|
@@ -5033,7 +5034,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5033
5034
|
install: (e, t) => {
|
|
5034
5035
|
e.component(Da.name, Da);
|
|
5035
5036
|
}
|
|
5036
|
-
}, Ba = /* @__PURE__ */
|
|
5037
|
+
}, Ba = /* @__PURE__ */ J({
|
|
5037
5038
|
name: "SagAntdInputSearch",
|
|
5038
5039
|
inheritAttrs: !1,
|
|
5039
5040
|
__name: "SagAntdInputSearch",
|
|
@@ -5070,7 +5071,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5070
5071
|
disabled: n.disabled,
|
|
5071
5072
|
readonly: n.readonly,
|
|
5072
5073
|
onSearch: r
|
|
5073
|
-
},
|
|
5074
|
+
}, _e({ _: 2 }, [
|
|
5074
5075
|
n.showSuffix && !n.disabled ? {
|
|
5075
5076
|
name: "suffix",
|
|
5076
5077
|
fn: B(() => [
|
|
@@ -5087,7 +5088,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5087
5088
|
install: (e, t) => {
|
|
5088
5089
|
e.component(Ba.name, Ba);
|
|
5089
5090
|
}
|
|
5090
|
-
}, Na = /* @__PURE__ */
|
|
5091
|
+
}, Na = /* @__PURE__ */ J({
|
|
5091
5092
|
name: "SagAntdTextarea",
|
|
5092
5093
|
inheritAttrs: !1,
|
|
5093
5094
|
__name: "SagAntdTextarea",
|
|
@@ -5153,7 +5154,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5153
5154
|
install: (e, t) => {
|
|
5154
5155
|
e.component(Na.name, Na);
|
|
5155
5156
|
}
|
|
5156
|
-
}, Uu = { class: "vxe-form-ant-select" }, Ea = /* @__PURE__ */
|
|
5157
|
+
}, Uu = { class: "vxe-form-ant-select" }, Ea = /* @__PURE__ */ J({
|
|
5157
5158
|
name: "SagAntdSelect",
|
|
5158
5159
|
inheritAttrs: !1,
|
|
5159
5160
|
__name: "SagAntdSelect",
|
|
@@ -5250,7 +5251,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5250
5251
|
install: (e, t) => {
|
|
5251
5252
|
e.component(Ea.name, Ea);
|
|
5252
5253
|
}
|
|
5253
|
-
}, Iu = { class: "vxe-form-ant-select" }, Ra = /* @__PURE__ */
|
|
5254
|
+
}, Iu = { class: "vxe-form-ant-select" }, Ra = /* @__PURE__ */ J({
|
|
5254
5255
|
name: "SagAntdSelectList",
|
|
5255
5256
|
inheritAttrs: !1,
|
|
5256
5257
|
__name: "SagAntdSelectList",
|
|
@@ -5286,13 +5287,13 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5286
5287
|
},
|
|
5287
5288
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5288
5289
|
setup(e, { expose: t, emit: n }) {
|
|
5289
|
-
const a = e, l = $(a.value ? a.value : a.multiple ? [] : null), r = $(a.label ? a.label : a.multiple ? [] : null), o = $(a.multiple ? {} : null), i = $([]), u = $(!1), s = n, p = "请输入" + a.title + "搜索", d = async () => {
|
|
5290
|
+
const a = e, l = $(a.value ? a.value : a.multiple ? [] : null), r = $(a.label ? a.label : a.multiple ? [] : null), o = $(a.multiple ? {} : null), i = $([]), u = $(!1), s = n, p = "请输入" + a.title + "搜索", d = async (U = "", N = "0") => {
|
|
5290
5291
|
if (a.corpFilter && !c(a.corpId))
|
|
5291
5292
|
return i.value = [], [];
|
|
5292
|
-
let
|
|
5293
|
-
Object.assign(
|
|
5294
|
-
const
|
|
5295
|
-
return u.value = !1, i.value =
|
|
5293
|
+
let W = { corpId: a.corpId, searchValue: we(U), searchByKey: N };
|
|
5294
|
+
Object.assign(W, a.requestParams), i.value = [], u.value = !0;
|
|
5295
|
+
const Q = await Ee(a.requestUrl, W);
|
|
5296
|
+
return u.value = !1, i.value = Q, Q;
|
|
5296
5297
|
}, h = jt(() => {
|
|
5297
5298
|
d().then((U) => {
|
|
5298
5299
|
s("query", U);
|
|
@@ -5301,15 +5302,15 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5301
5302
|
m(U).then(() => {
|
|
5302
5303
|
D(!0);
|
|
5303
5304
|
});
|
|
5304
|
-
}, f = (U, N) => N.label.toLowerCase().indexOf(
|
|
5305
|
+
}, f = (U, N) => N.label.toLowerCase().indexOf(we(U).toLowerCase()) >= 0, m = async (U) => {
|
|
5305
5306
|
if (l.value = U, a.multiple) {
|
|
5306
5307
|
const N = [];
|
|
5307
|
-
l.value.forEach((
|
|
5308
|
-
let
|
|
5309
|
-
|
|
5308
|
+
l.value.forEach((W) => {
|
|
5309
|
+
let Q = i.value.filter((E) => E.value === W);
|
|
5310
|
+
Q.length === 1 && (N.push(Q[0].label), o.value[W] = Q[0]);
|
|
5310
5311
|
}), r.value = N;
|
|
5311
5312
|
} else {
|
|
5312
|
-
let N = i.value.filter((
|
|
5313
|
+
let N = i.value.filter((W) => W.value === U);
|
|
5313
5314
|
N.length === 1 ? (r.value = N[0].label, o.value = N[0]) : (r.value = null, o.value = null);
|
|
5314
5315
|
}
|
|
5315
5316
|
}, O = () => r.value, _ = () => l.value, g = (U) => {
|
|
@@ -5324,12 +5325,12 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5324
5325
|
S(), i.value = [], await h();
|
|
5325
5326
|
}, D = (U = !1) => {
|
|
5326
5327
|
s("update:value", l.value), s("update:label", r.value), U && s("change", o.value);
|
|
5327
|
-
}, F = (U, N) => a.multiple ? c(U) && !c(N) || !c(U) && c(N) ? !0 : !c(U) && !c(N) || U.length !== N.length ? !1 : !U.every((
|
|
5328
|
+
}, F = (U, N) => a.multiple ? c(U) && !c(N) || !c(U) && c(N) ? !0 : !c(U) && !c(N) || U.length !== N.length ? !1 : !U.every((W, Q) => W === N[Q]) : U !== N;
|
|
5328
5329
|
return he(
|
|
5329
5330
|
() => [a.corpId, a.value],
|
|
5330
|
-
async ([U, N], [
|
|
5331
|
-
const E = U !==
|
|
5332
|
-
E && (S(), await d()), ie && g(N);
|
|
5331
|
+
async ([U, N], [W, Q]) => {
|
|
5332
|
+
const E = U !== W, ie = F(N, l.value);
|
|
5333
|
+
E && (S(), await d(N, "1")), ie && g(N);
|
|
5333
5334
|
}
|
|
5334
5335
|
), oe(async () => {
|
|
5335
5336
|
d();
|
|
@@ -5340,9 +5341,9 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5340
5341
|
clear: v,
|
|
5341
5342
|
reload: x
|
|
5342
5343
|
}), (U, N) => {
|
|
5343
|
-
const
|
|
5344
|
+
const W = L("a-spin"), Q = L("a-select");
|
|
5344
5345
|
return w(), I("div", Iu, [
|
|
5345
|
-
q(
|
|
5346
|
+
q(Q, {
|
|
5346
5347
|
value: l.value,
|
|
5347
5348
|
"onUpdate:value": N[0] || (N[0] = (E) => l.value = E),
|
|
5348
5349
|
placeholder: p,
|
|
@@ -5356,11 +5357,11 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5356
5357
|
getPopupContainer: (E) => b(Ne)(a.mountainTop, e.getPopupContainer, E),
|
|
5357
5358
|
onChange: y,
|
|
5358
5359
|
"show-search": ""
|
|
5359
|
-
},
|
|
5360
|
+
}, _e({ _: 2 }, [
|
|
5360
5361
|
u.value ? {
|
|
5361
5362
|
name: "notFoundContent",
|
|
5362
5363
|
fn: B(() => [
|
|
5363
|
-
q(
|
|
5364
|
+
q(W, { size: "small" })
|
|
5364
5365
|
]),
|
|
5365
5366
|
key: "0"
|
|
5366
5367
|
} : void 0
|
|
@@ -5372,7 +5373,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5372
5373
|
install: (e, t) => {
|
|
5373
5374
|
e.component(Ra.name, Ra);
|
|
5374
5375
|
}
|
|
5375
|
-
}, Fu = { class: "vxe-form-ant-select" }, La = /* @__PURE__ */
|
|
5376
|
+
}, Fu = { class: "vxe-form-ant-select" }, La = /* @__PURE__ */ J({
|
|
5376
5377
|
name: "SagAntdSelectPull",
|
|
5377
5378
|
inheritAttrs: !1,
|
|
5378
5379
|
__name: "SagAntdSelectPull",
|
|
@@ -5408,7 +5409,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5408
5409
|
if (i.value = [], a.corpFilter && !c(a.corpId))
|
|
5409
5410
|
return [];
|
|
5410
5411
|
if (c(S)) {
|
|
5411
|
-
let x = { corpId: a.corpId, searchValue:
|
|
5412
|
+
let x = { corpId: a.corpId, searchValue: we(S), searchByKey: v };
|
|
5412
5413
|
Object.assign(x, a.requestParams), u.value = !0;
|
|
5413
5414
|
const D = await Ee(a.requestUrl, x);
|
|
5414
5415
|
return u.value = !1, i.value = D, D;
|
|
@@ -5472,7 +5473,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5472
5473
|
onChange: h,
|
|
5473
5474
|
onSearch: b(y),
|
|
5474
5475
|
"show-search": ""
|
|
5475
|
-
},
|
|
5476
|
+
}, _e({ _: 2 }, [
|
|
5476
5477
|
u.value ? {
|
|
5477
5478
|
name: "notFoundContent",
|
|
5478
5479
|
fn: B(() => [
|
|
@@ -5488,7 +5489,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5488
5489
|
install: (e, t) => {
|
|
5489
5490
|
e.component(La.name, La);
|
|
5490
5491
|
}
|
|
5491
|
-
}, Hu = { key: 1 }, Ua = /* @__PURE__ */
|
|
5492
|
+
}, Hu = { key: 1 }, Ua = /* @__PURE__ */ J({
|
|
5492
5493
|
name: "SagAntdPanel",
|
|
5493
5494
|
inheritAttrs: !1,
|
|
5494
5495
|
__name: "SagAntdPanel",
|
|
@@ -5512,7 +5513,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5512
5513
|
accordion: ""
|
|
5513
5514
|
}, {
|
|
5514
5515
|
default: B(() => [
|
|
5515
|
-
(w(!0), I(fe, null,
|
|
5516
|
+
(w(!0), I(fe, null, ke(b(a), (d) => (w(), j(s, {
|
|
5516
5517
|
key: d,
|
|
5517
5518
|
forceRender: "",
|
|
5518
5519
|
showArrow: t.showArrow
|
|
@@ -5534,7 +5535,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5534
5535
|
install: (e, t) => {
|
|
5535
5536
|
e.component(Ua.name, Ua);
|
|
5536
5537
|
}
|
|
5537
|
-
}, Yu = { class: "sag-antd-space-wrapper" }, Ia = /* @__PURE__ */
|
|
5538
|
+
}, Yu = { class: "sag-antd-space-wrapper" }, Ia = /* @__PURE__ */ J({
|
|
5538
5539
|
name: "SagAntdSpace",
|
|
5539
5540
|
inheritAttrs: !1,
|
|
5540
5541
|
__name: "SagAntdSpace",
|
|
@@ -5547,7 +5548,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5547
5548
|
install: (e, t) => {
|
|
5548
5549
|
e.component(Ia.name, Ia);
|
|
5549
5550
|
}
|
|
5550
|
-
}, Fa = /* @__PURE__ */
|
|
5551
|
+
}, Fa = /* @__PURE__ */ J({
|
|
5551
5552
|
name: "SagAntdSwitch",
|
|
5552
5553
|
inheritAttrs: !1,
|
|
5553
5554
|
__name: "SagAntdSwitch",
|
|
@@ -5590,7 +5591,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5590
5591
|
install: (e, t) => {
|
|
5591
5592
|
e.component(Fa.name, Fa);
|
|
5592
5593
|
}
|
|
5593
|
-
}, Ha = /* @__PURE__ */
|
|
5594
|
+
}, Ha = /* @__PURE__ */ J({
|
|
5594
5595
|
name: "SagAntdTab",
|
|
5595
5596
|
inheritAttrs: !1,
|
|
5596
5597
|
__name: "SagAntdTab",
|
|
@@ -5630,9 +5631,9 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5630
5631
|
tabBarGutter: n.position === "left" ? 4 : 25,
|
|
5631
5632
|
tabBarStyle: { margin: 0, backgroundColor: b(a) },
|
|
5632
5633
|
onChange: s
|
|
5633
|
-
},
|
|
5634
|
+
}, _e({
|
|
5634
5635
|
default: B(() => [
|
|
5635
|
-
(w(!0), I(fe, null,
|
|
5636
|
+
(w(!0), I(fe, null, ke(b(r), (f, m) => (w(), j(h, {
|
|
5636
5637
|
key: f,
|
|
5637
5638
|
forceRender: n.forceRender && !n.notForceRender?.includes(f),
|
|
5638
5639
|
style: me(n.position === "left" ? { paddingLeft: "0" } : {})
|
|
@@ -5672,7 +5673,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5672
5673
|
install: (e, t) => {
|
|
5673
5674
|
e.component(Ha.name, Ha);
|
|
5674
5675
|
}
|
|
5675
|
-
}, Ya = /* @__PURE__ */
|
|
5676
|
+
}, Ya = /* @__PURE__ */ J({
|
|
5676
5677
|
name: "SagAntdOutlined",
|
|
5677
5678
|
inheritAttrs: !1,
|
|
5678
5679
|
__name: "SagAntdOutlined",
|