sag-ubmp-pc 1.0.34 → 1.0.36
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 +58 -58
- package/dist/sag-ubmp-pc.umd.js +6 -6
- package/dist/style.css +1 -1
- 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 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
|
|
1
|
+
import Ae, { trim as ke, 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 we, 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 Pe, 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 = {
|
|
@@ -598,7 +598,7 @@ const le = zt("log"), Wa = zt("warn"), mt = zt("error"), et = {
|
|
|
598
598
|
}, At = (e, t, n, a, l, r) => {
|
|
599
599
|
const o = Object.assign({}, a);
|
|
600
600
|
Object.assign(o, l), Object.keys(o).forEach((u) => {
|
|
601
|
-
typeof o[u] == "string" && (o[u] =
|
|
601
|
+
typeof o[u] == "string" && (o[u] = ke(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);
|
|
602
602
|
}), o.pageModel = {
|
|
603
603
|
pageNo: e.currentPage,
|
|
604
604
|
pageSize: e.pageSize,
|
|
@@ -615,7 +615,7 @@ const le = zt("log"), Wa = zt("warn"), mt = zt("error"), et = {
|
|
|
615
615
|
}, xr = (e, t, n, a) => {
|
|
616
616
|
const l = Object.assign({}, n);
|
|
617
617
|
Object.assign(l, a), Object.keys(l).forEach((o) => {
|
|
618
|
-
typeof l[o] == "string" && (l[o] =
|
|
618
|
+
typeof l[o] == "string" && (l[o] = ke(l[o]));
|
|
619
619
|
});
|
|
620
620
|
const r = e[0];
|
|
621
621
|
return r && (l.sorts = {
|
|
@@ -870,7 +870,7 @@ var Dn = {
|
|
|
870
870
|
};
|
|
871
871
|
function Le(e) {
|
|
872
872
|
var t = { r: 0, g: 0, b: 0 }, n = 1, a = null, l = null, r = null, o = !1, i = !1;
|
|
873
|
-
return typeof e == "string" && (e = Dr(e)), typeof e == "object" && (
|
|
873
|
+
return typeof e == "string" && (e = Dr(e)), typeof e == "object" && (xe(e.r) && xe(e.g) && xe(e.b) ? (t = Tr(e.r, e.g, e.b), o = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : xe(e.h) && xe(e.s) && xe(e.v) ? (a = Qe(e.s), l = Qe(e.v), t = $r(e.h, a, l), o = !0, i = "hsv") : xe(e.h) && xe(e.s) && xe(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), {
|
|
874
874
|
ok: o,
|
|
875
875
|
format: e.format || i,
|
|
876
876
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -925,7 +925,7 @@ function Dr(e) {
|
|
|
925
925
|
format: t ? "name" : "hex"
|
|
926
926
|
} : !1)))))))));
|
|
927
927
|
}
|
|
928
|
-
function
|
|
928
|
+
function xe(e) {
|
|
929
929
|
return !!Se.CSS_UNIT.exec(String(e));
|
|
930
930
|
}
|
|
931
931
|
var Xe = 2, Bn = 0.16, Br = 0.05, Nr = 0.05, Er = 0.15, al = 5, ll = 4, Rr = [{
|
|
@@ -2919,7 +2919,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2919
2919
|
}, null, 8, ["value", "placeholder", "disabled", "type", "size"]);
|
|
2920
2920
|
};
|
|
2921
2921
|
}
|
|
2922
|
-
}), Ki = { class: "sag-vxe-page-
|
|
2922
|
+
}), Ki = { class: "sag-vxe-page-antdSelect" }, eu = /* @__PURE__ */ J({
|
|
2923
2923
|
__name: "AntdSelect",
|
|
2924
2924
|
props: {
|
|
2925
2925
|
value: { type: [String, Array, Object], default: null },
|
|
@@ -2976,7 +2976,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2976
2976
|
]);
|
|
2977
2977
|
};
|
|
2978
2978
|
}
|
|
2979
|
-
}), tu = { class: "sag-vxe-page-
|
|
2979
|
+
}), tu = { class: "sag-vxe-page-antdSelect" }, nu = /* @__PURE__ */ J({
|
|
2980
2980
|
__name: "AntdSelectPull",
|
|
2981
2981
|
props: {
|
|
2982
2982
|
value: { type: String, default: null },
|
|
@@ -2999,7 +2999,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
2999
2999
|
if (p.value = [], v) {
|
|
3000
3000
|
h.value = !0;
|
|
3001
3001
|
const x = {
|
|
3002
|
-
searchValue:
|
|
3002
|
+
searchValue: ke(v)
|
|
3003
3003
|
}, D = await Ee(ne(r, a.requestUrl), {
|
|
3004
3004
|
...a.requestParams,
|
|
3005
3005
|
...x
|
|
@@ -3045,7 +3045,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3045
3045
|
"allow-clear": "",
|
|
3046
3046
|
"show-search": "",
|
|
3047
3047
|
style: { width: "100%" }
|
|
3048
|
-
},
|
|
3048
|
+
}, we({ _: 2 }, [
|
|
3049
3049
|
h.value ? {
|
|
3050
3050
|
name: "notFoundContent",
|
|
3051
3051
|
fn: B(() => [
|
|
@@ -3057,7 +3057,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3057
3057
|
]);
|
|
3058
3058
|
};
|
|
3059
3059
|
}
|
|
3060
|
-
}), au = { class: "sag-vxe-page-
|
|
3060
|
+
}), au = { class: "sag-vxe-page-antdSelect" }, lu = /* @__PURE__ */ J({
|
|
3061
3061
|
__name: "AntdSelectList",
|
|
3062
3062
|
props: {
|
|
3063
3063
|
value: { type: [String, Array, Object], default: null },
|
|
@@ -3076,7 +3076,7 @@ const vt = /* @__PURE__ */ gl(Hi), Yi = "CONSTANT_DIALOG_CONTAINER", ve = "CONST
|
|
|
3076
3076
|
},
|
|
3077
3077
|
emits: ["update:value"],
|
|
3078
3078
|
setup(e, { expose: t, emit: n }) {
|
|
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(
|
|
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(ke(v).toLowerCase()) >= 0, f = async () => await Ee(ne(r, a.requestUrl), a.requestParams), m = (v) => {
|
|
3080
3080
|
h("update:value", v);
|
|
3081
3081
|
}, O = () => s.value, _ = () => u.value, g = (v) => {
|
|
3082
3082
|
u.value = v, h("update:value", u.value);
|
|
@@ -3400,7 +3400,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3400
3400
|
placeholder: a.filterable ? u : "",
|
|
3401
3401
|
options: [],
|
|
3402
3402
|
filterMethod({ searchValue: v, option: x }) {
|
|
3403
|
-
return x.label.toLowerCase().indexOf(
|
|
3403
|
+
return x.label.toLowerCase().indexOf(ke(v).toLowerCase()) >= 0;
|
|
3404
3404
|
}
|
|
3405
3405
|
}), f = async () => {
|
|
3406
3406
|
let v = a.request.requestUrl;
|
|
@@ -3472,7 +3472,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3472
3472
|
}), h = async (g) => {
|
|
3473
3473
|
if (s.value = [], g) {
|
|
3474
3474
|
const S = {
|
|
3475
|
-
searchValue:
|
|
3475
|
+
searchValue: ke(g)
|
|
3476
3476
|
};
|
|
3477
3477
|
return await Ee(ne(r, a.requestUrl), {
|
|
3478
3478
|
...a.requestParams,
|
|
@@ -3535,7 +3535,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3535
3535
|
placeholder: o,
|
|
3536
3536
|
options: [],
|
|
3537
3537
|
filterMethod({ searchValue: g, option: S }) {
|
|
3538
|
-
return S.label.toLowerCase().indexOf(
|
|
3538
|
+
return S.label.toLowerCase().indexOf(ke(g).toLowerCase()) >= 0;
|
|
3539
3539
|
}
|
|
3540
3540
|
}), h = async () => await Ee(ne(r, a.requestUrl), a.requestParams), y = ({ value: g }) => {
|
|
3541
3541
|
p("update:value", g);
|
|
@@ -3880,14 +3880,14 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3880
3880
|
query: (k) => {
|
|
3881
3881
|
const { page: C, sorts: R, filters: H, form: Z } = k, se = At(C, R, H, Z, E, ie);
|
|
3882
3882
|
if (u.storage) {
|
|
3883
|
-
const
|
|
3884
|
-
$n(r.application, r.templateType,
|
|
3883
|
+
const _e = xr(R, H, Z, E);
|
|
3884
|
+
$n(r.application, r.templateType, _e);
|
|
3885
3885
|
}
|
|
3886
3886
|
return yn(se, o.requestData, !1);
|
|
3887
3887
|
},
|
|
3888
3888
|
querySuccess: (k) => {
|
|
3889
|
-
const { page: C, sort: R, sorts: H, filters: Z, form: se, response:
|
|
3890
|
-
p?.isMerge && (G.mergeCells = On(
|
|
3889
|
+
const { page: C, sort: R, sorts: H, filters: Z, form: se, response: _e } = k;
|
|
3890
|
+
p?.isMerge && (G.mergeCells = On(_e?.rows)), yt("search", _e, { $gridRef: v.value, gridOptions: G });
|
|
3891
3891
|
}
|
|
3892
3892
|
}
|
|
3893
3893
|
},
|
|
@@ -3976,15 +3976,15 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
3976
3976
|
let H = [], Z = {}, se = {};
|
|
3977
3977
|
for (let Oe = 0; Oe < k.length; Oe++) {
|
|
3978
3978
|
const ue = k[Oe], qe = k[Oe - 1];
|
|
3979
|
-
let
|
|
3980
|
-
c(se[ue[C]]) || (se[ue[C]] = Oe + 0), c(Z[ue[C]]) ? (c(
|
|
3979
|
+
let Ce = k[Oe + 1];
|
|
3980
|
+
c(se[ue[C]]) || (se[ue[C]] = Oe + 0), c(Z[ue[C]]) ? (c(Ce) && Ce[C] === ue[C] || c(qe) && qe[C] === ue[C]) && (Z[ue[C]] = Z[ue[C]] + 1) : Z[ue[C]] = 1;
|
|
3981
3981
|
}
|
|
3982
|
-
let
|
|
3983
|
-
for (let Oe in
|
|
3984
|
-
let ue = R?.getColumnByField(
|
|
3985
|
-
for (let
|
|
3982
|
+
let _e = p?.fields;
|
|
3983
|
+
for (let Oe in _e) {
|
|
3984
|
+
let ue = R?.getColumnByField(_e[Oe]), qe = R?.getColumnIndex(ue);
|
|
3985
|
+
for (let Ce in se)
|
|
3986
3986
|
H = H.concat([
|
|
3987
|
-
{ row: se[
|
|
3987
|
+
{ row: se[Ce], col: qe, rowspan: Z[Ce], colspan: 1 }
|
|
3988
3988
|
]);
|
|
3989
3989
|
}
|
|
3990
3990
|
return H;
|
|
@@ -4128,13 +4128,13 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4128
4128
|
G.params.exportColumns = k;
|
|
4129
4129
|
}
|
|
4130
4130
|
}), (k, C) => {
|
|
4131
|
-
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"), _e = L("a-collapse"), Oe = L("a-menu-item"), ue = L("a-menu"), qe = L("a-dropdown"), Ce = L("vxe-button"), zl = L("vxe-grid");
|
|
4132
4132
|
return Mn((w(), I("div", {
|
|
4133
4133
|
id: m,
|
|
4134
4134
|
class: "sag-vxe-page-wrapper"
|
|
4135
4135
|
}, [
|
|
4136
4136
|
Mn(K("div", wu, [
|
|
4137
|
-
q(
|
|
4137
|
+
q(_e, {
|
|
4138
4138
|
activeKey: U.value,
|
|
4139
4139
|
"onUpdate:activeKey": C[2] || (C[2] = (P) => U.value = P),
|
|
4140
4140
|
expandIconPosition: "end",
|
|
@@ -4163,7 +4163,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4163
4163
|
vertical: u.formProps.vertical,
|
|
4164
4164
|
onCollapse: bl,
|
|
4165
4165
|
class: "sag-vxe-page-form"
|
|
4166
|
-
},
|
|
4166
|
+
}, we({
|
|
4167
4167
|
toolbar_tools: B(() => [
|
|
4168
4168
|
q(H, null, {
|
|
4169
4169
|
default: B(() => [
|
|
@@ -4277,7 +4277,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4277
4277
|
]),
|
|
4278
4278
|
_: 2
|
|
4279
4279
|
}, [
|
|
4280
|
-
|
|
4280
|
+
Pe(b(_), (P) => ({
|
|
4281
4281
|
name: P,
|
|
4282
4282
|
fn: B((V) => [
|
|
4283
4283
|
re(k.$slots, P, ee(V, {
|
|
@@ -4308,7 +4308,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4308
4308
|
onCellMouseleave: _l,
|
|
4309
4309
|
onCheckboxChange: Sl,
|
|
4310
4310
|
onRadioChange: Ol
|
|
4311
|
-
}),
|
|
4311
|
+
}), we({
|
|
4312
4312
|
operate: B(({ row: P, column: V }) => [
|
|
4313
4313
|
K("a", {
|
|
4314
4314
|
href: "javascript:void(0)",
|
|
@@ -4317,7 +4317,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4317
4317
|
}, ae(P[V.property]), 9, Cu)
|
|
4318
4318
|
]),
|
|
4319
4319
|
vertical: B(({ row: P, column: V }) => [
|
|
4320
|
-
(w(!0), I(fe, null,
|
|
4320
|
+
(w(!0), I(fe, null, Pe(V.params.childColumns, (ye) => (w(), I("div", {
|
|
4321
4321
|
key: ye.value
|
|
4322
4322
|
}, [
|
|
4323
4323
|
K("span", xu, ae(ye.title) + ":", 1),
|
|
@@ -4333,7 +4333,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4333
4333
|
]),
|
|
4334
4334
|
button: B(({ row: P }) => [
|
|
4335
4335
|
K("div", Tu, [
|
|
4336
|
-
(w(!0), I(fe, null,
|
|
4336
|
+
(w(!0), I(fe, null, Pe(d.tableButtons, (V) => (w(), I(fe, { key: V }, [
|
|
4337
4337
|
b(M).toString(P[V.buttonName], !0) && b(Re)(V.auth) ? (w(), I("span", Mu, [
|
|
4338
4338
|
s.showButtonLink ? z("", !0) : (w(), j(R, {
|
|
4339
4339
|
key: 0,
|
|
@@ -4373,7 +4373,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4373
4373
|
overlay: B(() => [
|
|
4374
4374
|
q(ue, null, {
|
|
4375
4375
|
default: B(() => [
|
|
4376
|
-
(w(!0), I(fe, null,
|
|
4376
|
+
(w(!0), I(fe, null, Pe(d.tableMoreButtons, (V) => (w(), I(fe, { key: V }, [
|
|
4377
4377
|
b(Re)(V.auth) ? (w(), I(fe, { key: 0 }, [
|
|
4378
4378
|
b(M).toString(P[V.buttonName], !0) ? (w(), j(Oe, { key: 0 }, {
|
|
4379
4379
|
default: B(() => [
|
|
@@ -4416,7 +4416,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4416
4416
|
style: { "margin-bottom": "0px" }
|
|
4417
4417
|
}, {
|
|
4418
4418
|
default: B(() => [
|
|
4419
|
-
(w(!0), I(fe, null,
|
|
4419
|
+
(w(!0), I(fe, null, Pe(d.formButtons, (P) => (w(), I("span", { key: P }, [
|
|
4420
4420
|
b(Re)(P.auth) ? (w(), j(R, {
|
|
4421
4421
|
key: 0,
|
|
4422
4422
|
round: "",
|
|
@@ -4438,10 +4438,10 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4438
4438
|
]),
|
|
4439
4439
|
_: 1
|
|
4440
4440
|
})) : z("", !0),
|
|
4441
|
-
(w(!0), I(fe, null,
|
|
4441
|
+
(w(!0), I(fe, null, Pe(b(S), (P) => re(k.$slots, P)), 256))
|
|
4442
4442
|
]),
|
|
4443
4443
|
toolbar_tools: B(() => [
|
|
4444
|
-
b(c)(s.tableColumnsExtra) ? (w(), j(
|
|
4444
|
+
b(c)(s.tableColumnsExtra) ? (w(), j(Ce, {
|
|
4445
4445
|
key: 0,
|
|
4446
4446
|
size: "small",
|
|
4447
4447
|
circle: !0,
|
|
@@ -4457,7 +4457,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4457
4457
|
key: 1,
|
|
4458
4458
|
onExport: b(Cn)
|
|
4459
4459
|
}, null, 8, ["onExport"])) : z("", !0),
|
|
4460
|
-
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (w(), j(
|
|
4460
|
+
o.requestDownload === !0 || typeof o.requestDownload == "string" ? (w(), j(Ce, {
|
|
4461
4461
|
key: 2,
|
|
4462
4462
|
size: "small",
|
|
4463
4463
|
circle: !0,
|
|
@@ -4469,7 +4469,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4469
4469
|
])),
|
|
4470
4470
|
_: 1
|
|
4471
4471
|
}, 8, ["onClick"])) : z("", !0),
|
|
4472
|
-
o.requestImport ? (w(), j(
|
|
4472
|
+
o.requestImport ? (w(), j(Ce, {
|
|
4473
4473
|
key: 3,
|
|
4474
4474
|
size: "small",
|
|
4475
4475
|
circle: !0,
|
|
@@ -4507,7 +4507,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4507
4507
|
]),
|
|
4508
4508
|
_: 2
|
|
4509
4509
|
}, [
|
|
4510
|
-
|
|
4510
|
+
Pe(b(g), (P) => ({
|
|
4511
4511
|
name: P,
|
|
4512
4512
|
fn: B((V) => [
|
|
4513
4513
|
re(k.$slots, P, Ll(Ul(V)))
|
|
@@ -4836,7 +4836,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4836
4836
|
style: me(t.style),
|
|
4837
4837
|
hoverable: t.hoverable,
|
|
4838
4838
|
loading: t.loading
|
|
4839
|
-
},
|
|
4839
|
+
}, we({
|
|
4840
4840
|
default: B(() => [
|
|
4841
4841
|
re(r.$slots, "default")
|
|
4842
4842
|
]),
|
|
@@ -4920,7 +4920,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
4920
4920
|
maxlength: a.maxlength,
|
|
4921
4921
|
style: me(a.style),
|
|
4922
4922
|
onChange: s
|
|
4923
|
-
},
|
|
4923
|
+
}, we({ _: 2 }, [
|
|
4924
4924
|
b(i).length === 1 || b(c)(a.addonAfter) ? {
|
|
4925
4925
|
name: "addonAfter",
|
|
4926
4926
|
fn: B(() => [
|
|
@@ -5010,7 +5010,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5010
5010
|
controls: a.controls,
|
|
5011
5011
|
style: me(a.style),
|
|
5012
5012
|
onChange: s
|
|
5013
|
-
},
|
|
5013
|
+
}, we({ _: 2 }, [
|
|
5014
5014
|
b(i).length === 1 || b(c)(a.addonAfter) ? {
|
|
5015
5015
|
name: "addonAfter",
|
|
5016
5016
|
fn: B(() => [
|
|
@@ -5071,7 +5071,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5071
5071
|
disabled: n.disabled,
|
|
5072
5072
|
readonly: n.readonly,
|
|
5073
5073
|
onSearch: r
|
|
5074
|
-
},
|
|
5074
|
+
}, we({ _: 2 }, [
|
|
5075
5075
|
n.showSuffix && !n.disabled ? {
|
|
5076
5076
|
name: "suffix",
|
|
5077
5077
|
fn: B(() => [
|
|
@@ -5154,7 +5154,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5154
5154
|
install: (e, t) => {
|
|
5155
5155
|
e.component(Na.name, Na);
|
|
5156
5156
|
}
|
|
5157
|
-
}, Uu = { class: "
|
|
5157
|
+
}, Uu = { class: "sag-ubmp-antdSelect" }, Ea = /* @__PURE__ */ J({
|
|
5158
5158
|
name: "SagAntdSelect",
|
|
5159
5159
|
inheritAttrs: !1,
|
|
5160
5160
|
__name: "SagAntdSelect",
|
|
@@ -5251,7 +5251,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5251
5251
|
install: (e, t) => {
|
|
5252
5252
|
e.component(Ea.name, Ea);
|
|
5253
5253
|
}
|
|
5254
|
-
}, Iu = { class: "
|
|
5254
|
+
}, Iu = { class: "sag-ubmp-antdSelect" }, Ra = /* @__PURE__ */ J({
|
|
5255
5255
|
name: "SagAntdSelectList",
|
|
5256
5256
|
inheritAttrs: !1,
|
|
5257
5257
|
__name: "SagAntdSelectList",
|
|
@@ -5287,22 +5287,22 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5287
5287
|
},
|
|
5288
5288
|
emits: ["update:value", "update:label", "change", "query"],
|
|
5289
5289
|
setup(e, { expose: t, emit: n }) {
|
|
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
|
|
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") => {
|
|
5291
5291
|
if (a.corpFilter && !c(a.corpId))
|
|
5292
5292
|
return i.value = [], [];
|
|
5293
|
-
let W = { corpId: a.corpId, searchValue:
|
|
5293
|
+
let W = { corpId: a.corpId, searchValue: U, searchByKey: N };
|
|
5294
5294
|
Object.assign(W, a.requestParams), i.value = [], u.value = !0;
|
|
5295
5295
|
const Q = await Ee(a.requestUrl, W);
|
|
5296
5296
|
return u.value = !1, i.value = Q, Q;
|
|
5297
5297
|
}, h = jt(() => {
|
|
5298
|
-
d().then((U) => {
|
|
5298
|
+
d(null).then((U) => {
|
|
5299
5299
|
s("query", U);
|
|
5300
5300
|
});
|
|
5301
5301
|
}, 300), y = (U) => {
|
|
5302
5302
|
m(U).then(() => {
|
|
5303
5303
|
D(!0);
|
|
5304
5304
|
});
|
|
5305
|
-
}, f = (U, N) => N.label.toLowerCase().indexOf(
|
|
5305
|
+
}, f = (U, N) => N.label.toLowerCase().indexOf(ke(U).toLowerCase()) >= 0, m = async (U) => {
|
|
5306
5306
|
if (l.value = U, a.multiple) {
|
|
5307
5307
|
const N = [];
|
|
5308
5308
|
l.value.forEach((W) => {
|
|
@@ -5333,7 +5333,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5333
5333
|
E && (S(), await d(N, "1")), ie && g(N);
|
|
5334
5334
|
}
|
|
5335
5335
|
), oe(async () => {
|
|
5336
|
-
d();
|
|
5336
|
+
d(null);
|
|
5337
5337
|
}), t({
|
|
5338
5338
|
getName: O,
|
|
5339
5339
|
getValue: _,
|
|
@@ -5357,7 +5357,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5357
5357
|
getPopupContainer: (E) => b(Ne)(a.mountainTop, e.getPopupContainer, E),
|
|
5358
5358
|
onChange: y,
|
|
5359
5359
|
"show-search": ""
|
|
5360
|
-
},
|
|
5360
|
+
}, we({ _: 2 }, [
|
|
5361
5361
|
u.value ? {
|
|
5362
5362
|
name: "notFoundContent",
|
|
5363
5363
|
fn: B(() => [
|
|
@@ -5373,7 +5373,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5373
5373
|
install: (e, t) => {
|
|
5374
5374
|
e.component(Ra.name, Ra);
|
|
5375
5375
|
}
|
|
5376
|
-
}, Fu = { class: "
|
|
5376
|
+
}, Fu = { class: "sag-ubmp-antdSelect" }, La = /* @__PURE__ */ J({
|
|
5377
5377
|
name: "SagAntdSelectPull",
|
|
5378
5378
|
inheritAttrs: !1,
|
|
5379
5379
|
__name: "SagAntdSelectPull",
|
|
@@ -5409,7 +5409,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5409
5409
|
if (i.value = [], a.corpFilter && !c(a.corpId))
|
|
5410
5410
|
return [];
|
|
5411
5411
|
if (c(S)) {
|
|
5412
|
-
let x = { corpId: a.corpId, searchValue:
|
|
5412
|
+
let x = { corpId: a.corpId, searchValue: ke(S), searchByKey: v };
|
|
5413
5413
|
Object.assign(x, a.requestParams), u.value = !0;
|
|
5414
5414
|
const D = await Ee(a.requestUrl, x);
|
|
5415
5415
|
return u.value = !1, i.value = D, D;
|
|
@@ -5473,7 +5473,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5473
5473
|
onChange: h,
|
|
5474
5474
|
onSearch: b(y),
|
|
5475
5475
|
"show-search": ""
|
|
5476
|
-
},
|
|
5476
|
+
}, we({ _: 2 }, [
|
|
5477
5477
|
u.value ? {
|
|
5478
5478
|
name: "notFoundContent",
|
|
5479
5479
|
fn: B(() => [
|
|
@@ -5513,7 +5513,7 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5513
5513
|
accordion: ""
|
|
5514
5514
|
}, {
|
|
5515
5515
|
default: B(() => [
|
|
5516
|
-
(w(!0), I(fe, null,
|
|
5516
|
+
(w(!0), I(fe, null, Pe(b(a), (d) => (w(), j(s, {
|
|
5517
5517
|
key: d,
|
|
5518
5518
|
forceRender: "",
|
|
5519
5519
|
showArrow: t.showArrow
|
|
@@ -5631,9 +5631,9 @@ const fu = { id: "div_view_modal" }, pu = { style: { color: "red", "padding-left
|
|
|
5631
5631
|
tabBarGutter: n.position === "left" ? 4 : 25,
|
|
5632
5632
|
tabBarStyle: { margin: 0, backgroundColor: b(a) },
|
|
5633
5633
|
onChange: s
|
|
5634
|
-
},
|
|
5634
|
+
}, we({
|
|
5635
5635
|
default: B(() => [
|
|
5636
|
-
(w(!0), I(fe, null,
|
|
5636
|
+
(w(!0), I(fe, null, Pe(b(r), (f, m) => (w(), j(h, {
|
|
5637
5637
|
key: f,
|
|
5638
5638
|
forceRender: n.forceRender && !n.notForceRender?.includes(f),
|
|
5639
5639
|
style: me(n.position === "left" ? { paddingLeft: "0" } : {})
|