@sunny-base-web/effects 0.8.15 → 0.8.16
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/index.d.ts +3 -0
- package/dist/index.js +5 -5
- package/dist/index.mjs +255 -250
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -1174,7 +1174,7 @@ function Rv(e, t) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
const Ew = /* @__PURE__ */ Symbol("EFFECTS_CONFIG");
|
|
1176
1176
|
let Yr = {};
|
|
1177
|
-
const
|
|
1177
|
+
const JW = (e) => (Yr = { ...e }, {
|
|
1178
1178
|
install(t) {
|
|
1179
1179
|
t.provide(Ew, e);
|
|
1180
1180
|
}
|
|
@@ -1511,7 +1511,7 @@ function hw(e) {
|
|
|
1511
1511
|
function vS(e) {
|
|
1512
1512
|
return Dt.post("/getSlideVerificationCode", e);
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function qW(e) {
|
|
1515
1515
|
return Dt.post("/core/contact/findAllStaticFrontI18n", e);
|
|
1516
1516
|
}
|
|
1517
1517
|
function pS(e, t) {
|
|
@@ -1573,11 +1573,11 @@ function pS(e, t) {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
const Dt = pS("", {
|
|
1575
1575
|
responseReturn: "data"
|
|
1576
|
-
}),
|
|
1576
|
+
}), _W = new Qw({ baseURL: "" });
|
|
1577
1577
|
function mS(e) {
|
|
1578
1578
|
return Dt.post("/base-auth/login", {}, { params: e });
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function $W(e) {
|
|
1581
1581
|
return Dt.post("/core/contact/getCurrentUserAndResources", e);
|
|
1582
1582
|
}
|
|
1583
1583
|
function ES() {
|
|
@@ -2031,7 +2031,7 @@ const IS = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
|
|
|
2031
2031
|
for (const [n, o] of t)
|
|
2032
2032
|
A[n] = o;
|
|
2033
2033
|
return A;
|
|
2034
|
-
},
|
|
2034
|
+
}, eZ = /* @__PURE__ */ en(ZS, [["__scopeId", "data-v-61936db9"]]);
|
|
2035
2035
|
async function XS(e) {
|
|
2036
2036
|
return Dt.post("/core/authResource/findMenuAll", e);
|
|
2037
2037
|
}
|
|
@@ -3594,7 +3594,7 @@ const _s = {
|
|
|
3594
3594
|
{ label: "appendFooter", value: "appendFooter" },
|
|
3595
3595
|
{ label: "footer", value: "footer" }
|
|
3596
3596
|
]
|
|
3597
|
-
}, w9 = {}, PA = { ..._s, ...w9 }, Ep = _s.sfggOpts, b9 = _s.cbTypeOpts,
|
|
3597
|
+
}, w9 = {}, PA = { ..._s, ...w9 }, Ep = _s.sfggOpts, b9 = _s.cbTypeOpts, tZ = _s.userSfqyOpts, AZ = _s.nCbtypeOpts, nZ = _s.nLikematchOpts, D9 = (e) => {
|
|
3598
3598
|
const t = q(), A = q(), n = q(), o = Nt({
|
|
3599
3599
|
visible: !1,
|
|
3600
3600
|
data: {},
|
|
@@ -35106,7 +35106,7 @@ const CV = {
|
|
|
35106
35106
|
}
|
|
35107
35107
|
};
|
|
35108
35108
|
at.watermark = CV;
|
|
35109
|
-
const { setI18n: BV, setLanguage: vV, setTheme: pV, setConfig:
|
|
35109
|
+
const { setI18n: BV, setLanguage: vV, setTheme: pV, setConfig: oZ } = at, MP = "zh-CN";
|
|
35110
35110
|
BV(MP, p3);
|
|
35111
35111
|
vV(MP);
|
|
35112
35112
|
pV("light");
|
|
@@ -37869,7 +37869,7 @@ const Wh = {
|
|
|
37869
37869
|
]);
|
|
37870
37870
|
};
|
|
37871
37871
|
}
|
|
37872
|
-
}),
|
|
37872
|
+
}), rZ = /* @__PURE__ */ en(GV, [["__scopeId", "data-v-6db63e12"]]);
|
|
37873
37873
|
function YV(e) {
|
|
37874
37874
|
return Dt.post("/core/assQuickentry/query", e);
|
|
37875
37875
|
}
|
|
@@ -38097,7 +38097,7 @@ const KV = { class: "flex gap-4 min-h-[440px]" }, WV = { class: "w-52 shrink-0 f
|
|
|
38097
38097
|
}, YR = { class: "flex items-center gap-4" }, jR = { class: "flex items-center justify-center shrink-0 w-11 h-11 rounded-md bg-[var(--color-fill-2)] text-[rgb(var(--primary-6))] group-hover:bg-[var(--color-fill-3)] transition-colors" }, HR = { class: "flex-1 min-w-0" }, KR = { class: "text-sm font-medium text-[var(--color-text-1)] truncate" }, WR = {
|
|
38098
38098
|
key: 0,
|
|
38099
38099
|
class: "text-xs text-[var(--color-text-3)] truncate mt-0.5"
|
|
38100
|
-
},
|
|
38100
|
+
}, sZ = /* @__PURE__ */ AA({
|
|
38101
38101
|
name: "Dashboard",
|
|
38102
38102
|
__name: "Dashboard",
|
|
38103
38103
|
setup(e) {
|
|
@@ -41724,7 +41724,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
41724
41724
|
}, 512);
|
|
41725
41725
|
};
|
|
41726
41726
|
}
|
|
41727
|
-
}),
|
|
41727
|
+
}), aZ = /* @__PURE__ */ en(gj, [["__scopeId", "data-v-f9fe54e0"]]), dj = ({ t: e }) => {
|
|
41728
41728
|
const t = [
|
|
41729
41729
|
{
|
|
41730
41730
|
fieldName: "cModname",
|
|
@@ -41812,7 +41812,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
41812
41812
|
class: "border border-gray-300 rounded-md bg-white"
|
|
41813
41813
|
}, Ij = {
|
|
41814
41814
|
class: "flex justify-center mt-4"
|
|
41815
|
-
},
|
|
41815
|
+
}, iZ = /* @__PURE__ */ AA({
|
|
41816
41816
|
__name: "OperationLogQuery",
|
|
41817
41817
|
setup(e) {
|
|
41818
41818
|
const {
|
|
@@ -42860,7 +42860,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
42860
42860
|
onSuccess: k
|
|
42861
42861
|
}, null, 8, ["visible"])], 32));
|
|
42862
42862
|
}
|
|
42863
|
-
}),
|
|
42863
|
+
}), lZ = /* @__PURE__ */ en(Tj, [["__scopeId", "data-v-73ae3969"]]), Uj = ({ t: e }) => {
|
|
42864
42864
|
const t = [
|
|
42865
42865
|
{ cKeyname: e("joblog.success"), cKeynumb: "200" },
|
|
42866
42866
|
{ cKeyname: e("joblog.failure"), cKeynumb: "500" },
|
|
@@ -43099,7 +43099,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
43099
43099
|
class: "p-5"
|
|
43100
43100
|
}, eH = ["innerHTML"], tH = {
|
|
43101
43101
|
class: "flex justify-center mt-4"
|
|
43102
|
-
},
|
|
43102
|
+
}, cZ = /* @__PURE__ */ AA({
|
|
43103
43103
|
__name: "JobLogQuery",
|
|
43104
43104
|
setup(e) {
|
|
43105
43105
|
const {
|
|
@@ -43568,7 +43568,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
43568
43568
|
onSuccess: S
|
|
43569
43569
|
}, null, 8, ["visible"])], 32));
|
|
43570
43570
|
}
|
|
43571
|
-
}),
|
|
43571
|
+
}), uZ = /* @__PURE__ */ en(cH, [["__scopeId", "data-v-69c513e0"]]), uH = Cw(zx), JP = ({ t: e, formApi: t }) => {
|
|
43572
43572
|
const A = [
|
|
43573
43573
|
{ cKeyname: e("zdyxlk.backendSQL"), cKeynumb: "0" },
|
|
43574
43574
|
{ cKeyname: e("zdyxlk.customImplementation"), cKeynumb: "1" }
|
|
@@ -44022,7 +44022,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
44022
44022
|
onSuccess: S[0] || (S[0] = () => $(c).commitProxy("query"))
|
|
44023
44023
|
}, null, 512)], 32));
|
|
44024
44024
|
}
|
|
44025
|
-
}),
|
|
44025
|
+
}), gZ = /* @__PURE__ */ en(pH, [["__scopeId", "data-v-2065aa57"]]), qP = ({ t: e }) => {
|
|
44026
44026
|
const t = [
|
|
44027
44027
|
{ cKeyname: "启用", cKeynumb: "0" },
|
|
44028
44028
|
{ cKeyname: "禁用", cKeynumb: "1" }
|
|
@@ -44355,7 +44355,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
44355
44355
|
onSuccess: S[0] || (S[0] = () => $(c).commitProxy("query"))
|
|
44356
44356
|
}, null, 512)], 32));
|
|
44357
44357
|
}
|
|
44358
|
-
}),
|
|
44358
|
+
}), dZ = /* @__PURE__ */ en(bH, [["__scopeId", "data-v-53c27ad8"]]), DH = ({ t: e }) => {
|
|
44359
44359
|
const t = [
|
|
44360
44360
|
{
|
|
44361
44361
|
fieldName: "cNum",
|
|
@@ -44628,7 +44628,7 @@ const zY = /* @__PURE__ */ AA({
|
|
|
44628
44628
|
onClose: O[0] || (O[0] = (N) => o.value = !1)
|
|
44629
44629
|
}, null, 8, ["visible", "c-num"])], 32));
|
|
44630
44630
|
}
|
|
44631
|
-
}),
|
|
44631
|
+
}), fZ = /* @__PURE__ */ en(kH, [["__scopeId", "data-v-1c9496cc"]]);
|
|
44632
44632
|
function Pv({ t: e }) {
|
|
44633
44633
|
const t = [
|
|
44634
44634
|
{
|
|
@@ -44896,7 +44896,7 @@ function Lc(e, t = !0) {
|
|
|
44896
44896
|
load: s
|
|
44897
44897
|
};
|
|
44898
44898
|
}
|
|
44899
|
-
async function
|
|
44899
|
+
async function CZ(e, t) {
|
|
44900
44900
|
if (!e || e.length === 0)
|
|
44901
44901
|
return;
|
|
44902
44902
|
const { load: A } = ri({
|
|
@@ -44906,7 +44906,7 @@ async function fZ(e, t) {
|
|
|
44906
44906
|
});
|
|
44907
44907
|
await A();
|
|
44908
44908
|
}
|
|
44909
|
-
function
|
|
44909
|
+
function BZ(e) {
|
|
44910
44910
|
const t = /* @__PURE__ */ new Set();
|
|
44911
44911
|
return e.forEach((A) => {
|
|
44912
44912
|
A.selectOptions?.dictCode && t.add(A.selectOptions.dictCode);
|
|
@@ -45090,34 +45090,38 @@ function Vc(e, t = !0) {
|
|
|
45090
45090
|
load: s
|
|
45091
45091
|
};
|
|
45092
45092
|
}
|
|
45093
|
-
function
|
|
45093
|
+
function vZ(e) {
|
|
45094
45094
|
const t = /* @__PURE__ */ new Set();
|
|
45095
45095
|
return e.forEach((A) => {
|
|
45096
45096
|
A.permissionOptions?.code && t.add(A.permissionOptions.code);
|
|
45097
45097
|
}), Array.from(t);
|
|
45098
45098
|
}
|
|
45099
|
+
const VH = {
|
|
45100
|
+
layout: "horizontal",
|
|
45101
|
+
size: "small",
|
|
45102
|
+
labelWidth: 100,
|
|
45103
|
+
gridProps: {
|
|
45104
|
+
xGap: 0,
|
|
45105
|
+
yGap: 0
|
|
45106
|
+
},
|
|
45107
|
+
commonConfig: {
|
|
45108
|
+
colProps: { span: 24, lg: 6, xl: 4 }
|
|
45109
|
+
},
|
|
45110
|
+
showDefaultActions: !1,
|
|
45111
|
+
scrollToFirstError: !0
|
|
45112
|
+
};
|
|
45099
45113
|
function si({ schema: e = [], objectToValueFields: t, handleValuesChange: A, ...n } = {}) {
|
|
45100
|
-
const { enhancedSchema: o } = Lc(e);
|
|
45101
|
-
debugger;
|
|
45102
|
-
const { enhancedSchema: r } = Vc(o);
|
|
45114
|
+
const { enhancedSchema: o } = Lc(e), { enhancedSchema: r } = Vc(o);
|
|
45103
45115
|
return zo({
|
|
45104
|
-
|
|
45105
|
-
size: "small",
|
|
45106
|
-
labelWidth: 100,
|
|
45107
|
-
gridProps: {
|
|
45108
|
-
xGap: 0,
|
|
45109
|
-
yGap: 0
|
|
45110
|
-
},
|
|
45111
|
-
showDefaultActions: !1,
|
|
45112
|
-
scrollToFirstError: !0,
|
|
45116
|
+
...VH,
|
|
45113
45117
|
schema: r.value,
|
|
45114
45118
|
...t ? { objectToValueFields: t } : {},
|
|
45115
45119
|
...A ? { handleValuesChange: A } : {},
|
|
45116
45120
|
...n
|
|
45117
|
-
// 允许透传其他 SunnyFormProps
|
|
45121
|
+
// 允许透传其他 SunnyFormProps,优先级最高
|
|
45118
45122
|
});
|
|
45119
45123
|
}
|
|
45120
|
-
const
|
|
45124
|
+
const RH = /* @__PURE__ */ AA({
|
|
45121
45125
|
name: "OtherPermissionsAdd",
|
|
45122
45126
|
__name: "OtherPermissionsAdd",
|
|
45123
45127
|
props: {
|
|
@@ -45172,7 +45176,7 @@ const VH = /* @__PURE__ */ AA({
|
|
|
45172
45176
|
_: 1
|
|
45173
45177
|
}, 8, ["model-value", "title"]));
|
|
45174
45178
|
}
|
|
45175
|
-
}),
|
|
45179
|
+
}), TH = /* @__PURE__ */ AA({
|
|
45176
45180
|
name: "OtherPermissionsUpdate",
|
|
45177
45181
|
__name: "OtherPermissionsUpdate",
|
|
45178
45182
|
props: {
|
|
@@ -45224,13 +45228,13 @@ const VH = /* @__PURE__ */ AA({
|
|
|
45224
45228
|
_: 1
|
|
45225
45229
|
}, 8, ["model-value", "title"]));
|
|
45226
45230
|
}
|
|
45227
|
-
}),
|
|
45231
|
+
}), UH = {
|
|
45228
45232
|
class: "flex-1 bg-[var(--color-bg-2)] flex flex-col shadow-sm border border-[var(--color-border)] overflow-hidden rounded"
|
|
45229
|
-
}, UH = {
|
|
45230
|
-
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
45231
45233
|
}, GH = {
|
|
45234
|
+
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
45235
|
+
}, YH = {
|
|
45232
45236
|
class: "flex-1 px-2 pt-1 overflow-hidden flex flex-col"
|
|
45233
|
-
},
|
|
45237
|
+
}, jH = /* @__PURE__ */ AA({
|
|
45234
45238
|
__name: "OtherPermissionsQuery",
|
|
45235
45239
|
setup(e) {
|
|
45236
45240
|
const {
|
|
@@ -45397,9 +45401,9 @@ const VH = /* @__PURE__ */ AA({
|
|
|
45397
45401
|
["enter"]
|
|
45398
45402
|
)),
|
|
45399
45403
|
tabindex: "-1"
|
|
45400
|
-
}, [de("div",
|
|
45404
|
+
}, [de("div", UH, [de("div", GH, [V($(a))]), de("div", YH, [V($(l), {
|
|
45401
45405
|
class: "flex-1"
|
|
45402
|
-
})])]), V(
|
|
45406
|
+
})])]), V(RH, {
|
|
45403
45407
|
visible: O.value,
|
|
45404
45408
|
"onUpdate:visible": T[0] || (T[0] = (R) => O.value = R),
|
|
45405
45409
|
"parent-id": N.value,
|
|
@@ -45407,29 +45411,29 @@ const VH = /* @__PURE__ */ AA({
|
|
|
45407
45411
|
"c-exresnum": k.value,
|
|
45408
45412
|
id: x.value,
|
|
45409
45413
|
onSuccess: S
|
|
45410
|
-
}, null, 8, ["visible", "parent-id", "parent-name", "c-exresnum", "id"]), V(
|
|
45414
|
+
}, null, 8, ["visible", "parent-id", "parent-name", "c-exresnum", "id"]), V(TH, {
|
|
45411
45415
|
visible: h.value,
|
|
45412
45416
|
"onUpdate:visible": T[1] || (T[1] = (R) => h.value = R),
|
|
45413
45417
|
row: z.value,
|
|
45414
45418
|
onSuccess: S
|
|
45415
45419
|
}, null, 8, ["visible", "row"])], 32));
|
|
45416
45420
|
}
|
|
45417
|
-
}),
|
|
45418
|
-
function
|
|
45421
|
+
}), pZ = /* @__PURE__ */ en(jH, [["__scopeId", "data-v-3020ed5a"]]);
|
|
45422
|
+
function HH() {
|
|
45419
45423
|
return Dt.post("/core/assSysSetting/findAllSettings", {});
|
|
45420
45424
|
}
|
|
45421
|
-
function
|
|
45425
|
+
function KH(e) {
|
|
45422
45426
|
return Dt.post("/core/assSysSetting/saveAllSettings", {
|
|
45423
45427
|
assSysSettingList: e
|
|
45424
45428
|
});
|
|
45425
45429
|
}
|
|
45426
|
-
const
|
|
45430
|
+
const WH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, ZH = { class: "flex flex-col h-full w-full" }, XH = { class: "flex-1 overflow-auto" }, JH = { class: "space-y-4" }, qH = { class: "grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-4" }, _H = { class: "flex items-center gap-3" }, $H = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, eK = { class: "flex items-start gap-3" }, tK = { class: "shrink-0 w-20 pt-1.5 text-sm text-[var(--color-text-2)]" }, AK = { class: "flex-1" }, nK = { class: "flex gap-2" }, oK = {
|
|
45427
45431
|
key: 0,
|
|
45428
45432
|
class: "flex flex-wrap gap-1.5 mt-2"
|
|
45429
|
-
},
|
|
45433
|
+
}, rK = { class: "grid grid-cols-1 lg:grid-cols-2 gap-4 items-start" }, sK = { class: "flex items-center justify-between" }, aK = { class: "text-sm text-[var(--color-text-1)]" }, iK = { class: "text-xs text-[var(--color-text-4)] mt-0.5" }, lK = {
|
|
45430
45434
|
key: 0,
|
|
45431
45435
|
class: "mt-4 pt-4 border-t border-[var(--color-border-1)] space-y-3"
|
|
45432
|
-
},
|
|
45436
|
+
}, cK = { class: "flex items-center gap-3" }, uK = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, gK = { class: "flex items-center gap-3" }, dK = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, fK = { class: "flex items-center justify-between" }, CK = { class: "text-sm text-[var(--color-text-1)]" }, BK = { class: "text-xs text-[var(--color-text-4)] mt-0.5" }, vK = { class: "shrink-0 p-2 bg-[var(--color-bg-2)] border-t border-[var(--color-border-1)]" }, pK = { class: "flex justify-end" }, mZ = /* @__PURE__ */ AA({
|
|
45433
45437
|
__name: "SystemSetting",
|
|
45434
45438
|
setup(e) {
|
|
45435
45439
|
const { t } = ic(), A = q(!1), n = q(!1), o = Nt({
|
|
@@ -45455,7 +45459,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45455
45459
|
}, c = async () => {
|
|
45456
45460
|
A.value = !0;
|
|
45457
45461
|
try {
|
|
45458
|
-
((await
|
|
45462
|
+
((await HH()).result || []).forEach((B) => {
|
|
45459
45463
|
switch (B.cNum) {
|
|
45460
45464
|
case "InitPwd":
|
|
45461
45465
|
o.initialPassword = B.cValue || "";
|
|
@@ -45543,7 +45547,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45543
45547
|
})
|
|
45544
45548
|
}
|
|
45545
45549
|
];
|
|
45546
|
-
await
|
|
45550
|
+
await KH(C), it.success(t("common.systemSetting.saveSuccess"));
|
|
45547
45551
|
} catch {
|
|
45548
45552
|
it.error(t("common.systemSetting.saveFailed"));
|
|
45549
45553
|
} finally {
|
|
@@ -45552,15 +45556,15 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45552
45556
|
};
|
|
45553
45557
|
return c(), (C, g) => {
|
|
45554
45558
|
const B = st("a-input-password"), v = st("a-input"), m = st("a-button"), p = st("a-tag"), E = st("a-card"), Q = st("a-switch"), w = st("a-spin");
|
|
45555
|
-
return Te(), ht("div",
|
|
45559
|
+
return Te(), ht("div", WH, [
|
|
45556
45560
|
V(w, {
|
|
45557
45561
|
loading: A.value,
|
|
45558
45562
|
class: "h-full w-full"
|
|
45559
45563
|
}, {
|
|
45560
45564
|
default: Ee(() => [
|
|
45561
|
-
de("div",
|
|
45562
|
-
de("div",
|
|
45563
|
-
de("div",
|
|
45565
|
+
de("div", ZH, [
|
|
45566
|
+
de("div", XH, [
|
|
45567
|
+
de("div", JH, [
|
|
45564
45568
|
V(E, {
|
|
45565
45569
|
title: $(t)("common.systemSetting.securitySetting"),
|
|
45566
45570
|
bordered: !1
|
|
@@ -45569,9 +45573,9 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45569
45573
|
V($($M), { class: "text-[var(--color-text-4)]" })
|
|
45570
45574
|
]),
|
|
45571
45575
|
default: Ee(() => [
|
|
45572
|
-
de("div",
|
|
45573
|
-
de("div",
|
|
45574
|
-
de("label",
|
|
45576
|
+
de("div", qH, [
|
|
45577
|
+
de("div", _H, [
|
|
45578
|
+
de("label", $H, Ot($(t)("common.systemSetting.initialPassword")), 1),
|
|
45575
45579
|
V(B, {
|
|
45576
45580
|
modelValue: o.initialPassword,
|
|
45577
45581
|
"onUpdate:modelValue": g[0] || (g[0] = (D) => o.initialPassword = D),
|
|
@@ -45580,10 +45584,10 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45580
45584
|
class: "flex-1"
|
|
45581
45585
|
}, null, 8, ["modelValue", "placeholder"])
|
|
45582
45586
|
]),
|
|
45583
|
-
de("div",
|
|
45584
|
-
de("label",
|
|
45585
|
-
de("div",
|
|
45586
|
-
de("div",
|
|
45587
|
+
de("div", eK, [
|
|
45588
|
+
de("label", tK, Ot($(t)("common.systemSetting.weakPassword")), 1),
|
|
45589
|
+
de("div", AK, [
|
|
45590
|
+
de("div", nK, [
|
|
45587
45591
|
V(v, {
|
|
45588
45592
|
modelValue: s.value,
|
|
45589
45593
|
"onUpdate:modelValue": g[1] || (g[1] = (D) => s.value = D),
|
|
@@ -45603,7 +45607,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45603
45607
|
_: 1
|
|
45604
45608
|
})
|
|
45605
45609
|
]),
|
|
45606
|
-
r.value.length > 0 ? (Te(), ht("div",
|
|
45610
|
+
r.value.length > 0 ? (Te(), ht("div", oK, [
|
|
45607
45611
|
(Te(!0), ht(EA, null, wA(r.value, (D) => (Te(), nA(p, {
|
|
45608
45612
|
key: D.id,
|
|
45609
45613
|
closable: "",
|
|
@@ -45623,7 +45627,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45623
45627
|
]),
|
|
45624
45628
|
_: 1
|
|
45625
45629
|
}, 8, ["title"]),
|
|
45626
|
-
de("div",
|
|
45630
|
+
de("div", rK, [
|
|
45627
45631
|
V(E, {
|
|
45628
45632
|
title: $(t)("common.systemSetting.agentSetting"),
|
|
45629
45633
|
bordered: !1
|
|
@@ -45632,10 +45636,10 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45632
45636
|
V($(XM), { class: "text-[var(--color-text-4)]" })
|
|
45633
45637
|
]),
|
|
45634
45638
|
default: Ee(() => [
|
|
45635
|
-
de("div",
|
|
45639
|
+
de("div", sK, [
|
|
45636
45640
|
de("div", null, [
|
|
45637
|
-
de("div",
|
|
45638
|
-
de("div",
|
|
45641
|
+
de("div", aK, Ot($(t)("common.systemSetting.enableAgent")), 1),
|
|
45642
|
+
de("div", iK, Ot($(t)("common.systemSetting.enableAgentDesc")), 1)
|
|
45639
45643
|
]),
|
|
45640
45644
|
V(Q, {
|
|
45641
45645
|
modelValue: o.showAgent,
|
|
@@ -45644,9 +45648,9 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45644
45648
|
]),
|
|
45645
45649
|
V(fB, { name: "expand" }, {
|
|
45646
45650
|
default: Ee(() => [
|
|
45647
|
-
a.value ? (Te(), ht("div",
|
|
45648
|
-
de("div",
|
|
45649
|
-
de("label",
|
|
45651
|
+
a.value ? (Te(), ht("div", lK, [
|
|
45652
|
+
de("div", cK, [
|
|
45653
|
+
de("label", uK, Ot($(t)("common.systemSetting.agentUrl")), 1),
|
|
45650
45654
|
V(v, {
|
|
45651
45655
|
modelValue: o.agentUrl,
|
|
45652
45656
|
"onUpdate:modelValue": g[3] || (g[3] = (D) => o.agentUrl = D),
|
|
@@ -45655,8 +45659,8 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45655
45659
|
class: "flex-1"
|
|
45656
45660
|
}, null, 8, ["modelValue", "placeholder"])
|
|
45657
45661
|
]),
|
|
45658
|
-
de("div",
|
|
45659
|
-
de("label",
|
|
45662
|
+
de("div", gK, [
|
|
45663
|
+
de("label", dK, Ot($(t)("common.systemSetting.agentToken")), 1),
|
|
45660
45664
|
V(B, {
|
|
45661
45665
|
modelValue: o.agentToken,
|
|
45662
45666
|
"onUpdate:modelValue": g[4] || (g[4] = (D) => o.agentToken = D),
|
|
@@ -45680,10 +45684,10 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45680
45684
|
V($(HM), { class: "text-[var(--color-text-4)]" })
|
|
45681
45685
|
]),
|
|
45682
45686
|
default: Ee(() => [
|
|
45683
|
-
de("div",
|
|
45687
|
+
de("div", fK, [
|
|
45684
45688
|
de("div", null, [
|
|
45685
|
-
de("div",
|
|
45686
|
-
de("div",
|
|
45689
|
+
de("div", CK, Ot($(t)("common.systemSetting.subMenuIcon")), 1),
|
|
45690
|
+
de("div", BK, Ot($(t)("common.systemSetting.subMenuIconDesc")), 1)
|
|
45687
45691
|
]),
|
|
45688
45692
|
V(Q, {
|
|
45689
45693
|
modelValue: o.showSubMenuIcon,
|
|
@@ -45696,8 +45700,8 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45696
45700
|
])
|
|
45697
45701
|
])
|
|
45698
45702
|
]),
|
|
45699
|
-
de("div",
|
|
45700
|
-
de("div",
|
|
45703
|
+
de("div", vK, [
|
|
45704
|
+
de("div", pK, [
|
|
45701
45705
|
V(m, {
|
|
45702
45706
|
type: "primary",
|
|
45703
45707
|
loading: n.value,
|
|
@@ -45720,10 +45724,10 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45720
45724
|
]);
|
|
45721
45725
|
};
|
|
45722
45726
|
}
|
|
45723
|
-
}),
|
|
45727
|
+
}), mK = [
|
|
45724
45728
|
{ label: "启用", value: "10001" },
|
|
45725
45729
|
{ label: "禁用", value: "10002" }
|
|
45726
|
-
],
|
|
45730
|
+
], EK = [
|
|
45727
45731
|
{
|
|
45728
45732
|
fieldName: "cXuhao",
|
|
45729
45733
|
label: "字典编号",
|
|
@@ -45817,7 +45821,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45817
45821
|
precision: 0
|
|
45818
45822
|
}
|
|
45819
45823
|
}
|
|
45820
|
-
],
|
|
45824
|
+
], IK = [
|
|
45821
45825
|
{ type: "checkbox", width: 50 },
|
|
45822
45826
|
{ field: "id", title: "数据字典ID", minWidth: 140, treeNode: !0 },
|
|
45823
45827
|
{ field: "cXuhao", title: "字典编号", minWidth: 140 },
|
|
@@ -45826,7 +45830,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45826
45830
|
field: "cSign",
|
|
45827
45831
|
title: "是否启用",
|
|
45828
45832
|
width: 100,
|
|
45829
|
-
formatter: ({ cellValue: e }) =>
|
|
45833
|
+
formatter: ({ cellValue: e }) => mK.find((A) => A.value === e)?.label || e
|
|
45830
45834
|
},
|
|
45831
45835
|
{ field: "cCreateName", title: "创建人", width: 120 },
|
|
45832
45836
|
{ field: "dCreate", title: "创建时间", width: 180 },
|
|
@@ -45861,7 +45865,7 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45861
45865
|
allowClear: !0
|
|
45862
45866
|
}
|
|
45863
45867
|
}
|
|
45864
|
-
],
|
|
45868
|
+
], QK = [
|
|
45865
45869
|
{
|
|
45866
45870
|
field: "cXuhao",
|
|
45867
45871
|
title: "子级数据字典编号",
|
|
@@ -45912,12 +45916,12 @@ const KH = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, WH
|
|
|
45912
45916
|
title: "子级数据字典",
|
|
45913
45917
|
type: "grid",
|
|
45914
45918
|
gridConfig: {
|
|
45915
|
-
columns:
|
|
45919
|
+
columns: QK,
|
|
45916
45920
|
editRules: {},
|
|
45917
45921
|
toolbarButtons: []
|
|
45918
45922
|
}
|
|
45919
45923
|
}
|
|
45920
|
-
],
|
|
45924
|
+
], hK = {
|
|
45921
45925
|
resourceId: "dataDictionary",
|
|
45922
45926
|
nResourceid: 62,
|
|
45923
45927
|
cModnumb: "40577f0e-1c19-4fa6-bb88-d247fff5e32a"
|
|
@@ -45997,7 +46001,7 @@ function Ax({
|
|
|
45997
46001
|
}), p = m.reloadData;
|
|
45998
46002
|
return m.reloadData = (E) => (B.data = E, p(E)), [d, C, v, m];
|
|
45999
46003
|
}
|
|
46000
|
-
const
|
|
46004
|
+
const wK = /* @__PURE__ */ AA({
|
|
46001
46005
|
name: "DataDictionaryAdd",
|
|
46002
46006
|
__name: "DataDictionaryAdd",
|
|
46003
46007
|
props: {
|
|
@@ -46155,7 +46159,7 @@ function nx({
|
|
|
46155
46159
|
}
|
|
46156
46160
|
}), [l, c, d, C];
|
|
46157
46161
|
}
|
|
46158
|
-
const
|
|
46162
|
+
const bK = /* @__PURE__ */ AA({
|
|
46159
46163
|
name: "DataDictionaryUpdate",
|
|
46160
46164
|
__name: "DataDictionaryUpdate",
|
|
46161
46165
|
props: {
|
|
@@ -46270,13 +46274,13 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46270
46274
|
_: 1
|
|
46271
46275
|
}, 8, ["model-value", "title"]));
|
|
46272
46276
|
}
|
|
46273
|
-
}),
|
|
46277
|
+
}), DK = {
|
|
46274
46278
|
class: "flex-1 bg-[var(--color-bg-2)] flex flex-col shadow-sm border border-[var(--color-border)] overflow-hidden rounded"
|
|
46275
|
-
}, DK = {
|
|
46276
|
-
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
46277
46279
|
}, yK = {
|
|
46280
|
+
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
46281
|
+
}, PK = {
|
|
46278
46282
|
class: "flex-1 px-2 pt-1 overflow-hidden flex flex-col"
|
|
46279
|
-
},
|
|
46283
|
+
}, xK = /* @__PURE__ */ AA({
|
|
46280
46284
|
__name: "DataDictionaryQuery",
|
|
46281
46285
|
setup(e) {
|
|
46282
46286
|
const t = async ({
|
|
@@ -46345,9 +46349,9 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46345
46349
|
handleSearchPlanSearch: B,
|
|
46346
46350
|
handleDefaultPlanLoaded: v
|
|
46347
46351
|
} = lo({
|
|
46348
|
-
searchFormSchema:
|
|
46349
|
-
tableColumns:
|
|
46350
|
-
resourceConfig:
|
|
46352
|
+
searchFormSchema: EK,
|
|
46353
|
+
tableColumns: IK,
|
|
46354
|
+
resourceConfig: hK,
|
|
46351
46355
|
queryFunction: t,
|
|
46352
46356
|
gridEvents: {
|
|
46353
46357
|
toolbarButtonClick: ({
|
|
@@ -46443,25 +46447,25 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46443
46447
|
["enter"]
|
|
46444
46448
|
)),
|
|
46445
46449
|
tabindex: "-1"
|
|
46446
|
-
}, [de("div",
|
|
46450
|
+
}, [de("div", DK, [de("div", yK, [V($(o))]), de("div", PK, [V($(s), {
|
|
46447
46451
|
class: "flex-1"
|
|
46448
|
-
})])]), V(
|
|
46452
|
+
})])]), V(wK, {
|
|
46449
46453
|
visible: m.value,
|
|
46450
46454
|
"onUpdate:visible": k[0] || (k[0] = (x) => m.value = x),
|
|
46451
46455
|
"parent-id": p.value,
|
|
46452
46456
|
"parent-name": E.value,
|
|
46453
46457
|
onSuccess: N
|
|
46454
|
-
}, null, 8, ["visible", "parent-id", "parent-name"]), V(
|
|
46458
|
+
}, null, 8, ["visible", "parent-id", "parent-name"]), V(bK, {
|
|
46455
46459
|
visible: Q.value,
|
|
46456
46460
|
"onUpdate:visible": k[1] || (k[1] = (x) => Q.value = x),
|
|
46457
46461
|
row: w.value,
|
|
46458
46462
|
onSuccess: N
|
|
46459
46463
|
}, null, 8, ["visible", "row"])], 32));
|
|
46460
46464
|
}
|
|
46461
|
-
}),
|
|
46465
|
+
}), EZ = /* @__PURE__ */ en(xK, [["__scopeId", "data-v-4f3a86da"]]), MK = [
|
|
46462
46466
|
{ label: "启用", value: "10001" },
|
|
46463
46467
|
{ label: "禁用", value: "10002" }
|
|
46464
|
-
],
|
|
46468
|
+
], SK = [
|
|
46465
46469
|
{
|
|
46466
46470
|
fieldName: "cXuhao",
|
|
46467
46471
|
label: "字典编号",
|
|
@@ -46555,7 +46559,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46555
46559
|
precision: 0
|
|
46556
46560
|
}
|
|
46557
46561
|
}
|
|
46558
|
-
],
|
|
46562
|
+
], OK = [
|
|
46559
46563
|
{ type: "checkbox", width: 50 },
|
|
46560
46564
|
{ field: "id", title: "数据字典ID", minWidth: 140, treeNode: !0 },
|
|
46561
46565
|
{ field: "cXuhao", title: "字典编号", minWidth: 140 },
|
|
@@ -46564,7 +46568,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46564
46568
|
field: "cSign",
|
|
46565
46569
|
title: "是否启用",
|
|
46566
46570
|
width: 100,
|
|
46567
|
-
formatter: ({ cellValue: e }) =>
|
|
46571
|
+
formatter: ({ cellValue: e }) => MK.find((A) => A.value === e)?.label || e
|
|
46568
46572
|
},
|
|
46569
46573
|
{ field: "cCreateName", title: "创建人", width: 120 },
|
|
46570
46574
|
{ field: "dCreate", title: "创建时间", width: 180 },
|
|
@@ -46599,7 +46603,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46599
46603
|
allowClear: !0
|
|
46600
46604
|
}
|
|
46601
46605
|
}
|
|
46602
|
-
],
|
|
46606
|
+
], kK = [
|
|
46603
46607
|
{
|
|
46604
46608
|
field: "cXuhao",
|
|
46605
46609
|
title: "子级数据字典编号",
|
|
@@ -46650,16 +46654,16 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46650
46654
|
title: "子级数据字典",
|
|
46651
46655
|
type: "grid",
|
|
46652
46656
|
gridConfig: {
|
|
46653
|
-
columns:
|
|
46657
|
+
columns: kK,
|
|
46654
46658
|
editRules: {},
|
|
46655
46659
|
toolbarButtons: []
|
|
46656
46660
|
}
|
|
46657
46661
|
}
|
|
46658
|
-
],
|
|
46662
|
+
], FK = {
|
|
46659
46663
|
resourceId: "ywsjzd",
|
|
46660
46664
|
nResourceid: 161,
|
|
46661
46665
|
cModnumb: "b2a3c6ba-d6d8-4d51-ad78-887f05b9e56b"
|
|
46662
|
-
},
|
|
46666
|
+
}, zK = /* @__PURE__ */ AA({
|
|
46663
46667
|
name: "YwsjzdAdd",
|
|
46664
46668
|
__name: "YwsjzdAdd",
|
|
46665
46669
|
props: {
|
|
@@ -46731,7 +46735,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46731
46735
|
_: 1
|
|
46732
46736
|
}, 8, ["model-value", "title"]));
|
|
46733
46737
|
}
|
|
46734
|
-
}),
|
|
46738
|
+
}), NK = /* @__PURE__ */ AA({
|
|
46735
46739
|
name: "YwsjzdUpdate",
|
|
46736
46740
|
__name: "YwsjzdUpdate",
|
|
46737
46741
|
props: {
|
|
@@ -46846,13 +46850,13 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46846
46850
|
_: 1
|
|
46847
46851
|
}, 8, ["model-value", "title"]));
|
|
46848
46852
|
}
|
|
46849
|
-
}),
|
|
46853
|
+
}), LK = {
|
|
46850
46854
|
class: "flex-1 bg-[var(--color-bg-2)] flex flex-col shadow-sm border border-[var(--color-border)] overflow-hidden rounded"
|
|
46851
|
-
}, LK = {
|
|
46852
|
-
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
46853
46855
|
}, VK = {
|
|
46856
|
+
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
46857
|
+
}, RK = {
|
|
46854
46858
|
class: "flex-1 px-2 pt-1 overflow-hidden flex flex-col"
|
|
46855
|
-
},
|
|
46859
|
+
}, TK = /* @__PURE__ */ AA({
|
|
46856
46860
|
__name: "YwsjzdQuery",
|
|
46857
46861
|
setup(e) {
|
|
46858
46862
|
const t = async ({
|
|
@@ -46921,9 +46925,9 @@ const wK = /* @__PURE__ */ AA({
|
|
|
46921
46925
|
handleSearchPlanSearch: B,
|
|
46922
46926
|
handleDefaultPlanLoaded: v
|
|
46923
46927
|
} = lo({
|
|
46924
|
-
searchFormSchema:
|
|
46925
|
-
tableColumns:
|
|
46926
|
-
resourceConfig:
|
|
46928
|
+
searchFormSchema: SK,
|
|
46929
|
+
tableColumns: OK,
|
|
46930
|
+
resourceConfig: FK,
|
|
46927
46931
|
queryFunction: t,
|
|
46928
46932
|
gridEvents: {
|
|
46929
46933
|
toolbarButtonClick: ({
|
|
@@ -47016,22 +47020,22 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47016
47020
|
["enter"]
|
|
47017
47021
|
)),
|
|
47018
47022
|
tabindex: "-1"
|
|
47019
|
-
}, [de("div",
|
|
47023
|
+
}, [de("div", LK, [de("div", VK, [V($(o))]), de("div", RK, [V($(s), {
|
|
47020
47024
|
class: "flex-1"
|
|
47021
|
-
})])]), V(
|
|
47025
|
+
})])]), V(zK, {
|
|
47022
47026
|
visible: m.value,
|
|
47023
47027
|
"onUpdate:visible": k[0] || (k[0] = (x) => m.value = x),
|
|
47024
47028
|
"parent-id": p.value,
|
|
47025
47029
|
"parent-name": E.value,
|
|
47026
47030
|
onSuccess: N
|
|
47027
|
-
}, null, 8, ["visible", "parent-id", "parent-name"]), V(
|
|
47031
|
+
}, null, 8, ["visible", "parent-id", "parent-name"]), V(NK, {
|
|
47028
47032
|
visible: Q.value,
|
|
47029
47033
|
"onUpdate:visible": k[1] || (k[1] = (x) => Q.value = x),
|
|
47030
47034
|
row: w.value,
|
|
47031
47035
|
onSuccess: N
|
|
47032
47036
|
}, null, 8, ["visible", "row"])], 32));
|
|
47033
47037
|
}
|
|
47034
|
-
}),
|
|
47038
|
+
}), IZ = /* @__PURE__ */ en(TK, [["__scopeId", "data-v-e27f1f23"]]), Rc = ({ t: e, formApi: t }) => {
|
|
47035
47039
|
const A = [
|
|
47036
47040
|
{ label: "普通用户", value: "0" },
|
|
47037
47041
|
{ label: "超级用户", value: "1" }
|
|
@@ -47283,7 +47287,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47283
47287
|
authGridColumns: c,
|
|
47284
47288
|
bindMacGridColumns: d
|
|
47285
47289
|
};
|
|
47286
|
-
},
|
|
47290
|
+
}, UK = /* @__PURE__ */ AA({
|
|
47287
47291
|
__name: "UserAdd",
|
|
47288
47292
|
emits: ["success"],
|
|
47289
47293
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -47335,7 +47339,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47335
47339
|
_: 1
|
|
47336
47340
|
}, 8, ["model-value", "title"]));
|
|
47337
47341
|
}
|
|
47338
|
-
}),
|
|
47342
|
+
}), GK = /* @__PURE__ */ AA({
|
|
47339
47343
|
__name: "UserChooseRole",
|
|
47340
47344
|
emits: ["chooseRoleEmit"],
|
|
47341
47345
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -47405,7 +47409,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47405
47409
|
onConfirm: c
|
|
47406
47410
|
}, null, 8, ["visible", "modelValue", "title"]));
|
|
47407
47411
|
}
|
|
47408
|
-
}),
|
|
47412
|
+
}), YK = /* @__PURE__ */ AA({
|
|
47409
47413
|
__name: "UserAuth",
|
|
47410
47414
|
emits: ["success"],
|
|
47411
47415
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -47498,7 +47502,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47498
47502
|
]),
|
|
47499
47503
|
_: 1
|
|
47500
47504
|
}),
|
|
47501
|
-
V(
|
|
47505
|
+
V(GK, {
|
|
47502
47506
|
ref_key: "UserChooseRoleRef",
|
|
47503
47507
|
ref: n,
|
|
47504
47508
|
onChooseRoleEmit: p
|
|
@@ -47508,7 +47512,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47508
47512
|
}, 8, ["model-value", "title"]);
|
|
47509
47513
|
};
|
|
47510
47514
|
}
|
|
47511
|
-
}),
|
|
47515
|
+
}), jK = /* @__PURE__ */ AA({
|
|
47512
47516
|
__name: "UserBindMac",
|
|
47513
47517
|
emits: ["success"],
|
|
47514
47518
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -47601,10 +47605,10 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47601
47605
|
}, 8, ["model-value", "title"]);
|
|
47602
47606
|
};
|
|
47603
47607
|
}
|
|
47604
|
-
}),
|
|
47608
|
+
}), HK = { class: "otherAuthTable" }, KK = { class: "th1" }, WK = { class: "th2" }, ZK = { class: "th3" }, XK = { class: "tr1" }, JK = { class: "tr2" }, qK = { class: "tr3" }, _K = {
|
|
47605
47609
|
key: 0,
|
|
47606
47610
|
style: { color: "#24b77b" }
|
|
47607
|
-
},
|
|
47611
|
+
}, $K = /* @__PURE__ */ AA({
|
|
47608
47612
|
__name: "UserOtherAuth",
|
|
47609
47613
|
emits: ["success"],
|
|
47610
47614
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -47646,14 +47650,14 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47646
47650
|
}, {
|
|
47647
47651
|
default: Ee(() => [
|
|
47648
47652
|
de("div", null, [
|
|
47649
|
-
de("table",
|
|
47653
|
+
de("table", HK, [
|
|
47650
47654
|
C[1] || (C[1] = de("caption", null, null, -1)),
|
|
47651
|
-
de("th",
|
|
47652
|
-
de("th",
|
|
47653
|
-
de("th",
|
|
47655
|
+
de("th", KK, Ot($(n)("user.otherAuth.tab")), 1),
|
|
47656
|
+
de("th", WK, Ot($(n)("user.otherAuth.tabDesc")), 1),
|
|
47657
|
+
de("th", ZK, Ot($(n)("user.otherAuth.option")), 1),
|
|
47654
47658
|
(Te(!0), ht(EA, null, wA(r.value, (B) => (Te(), ht("tr", null, [
|
|
47655
|
-
de("td",
|
|
47656
|
-
de("td",
|
|
47659
|
+
de("td", XK, Ot(B.parname), 1),
|
|
47660
|
+
de("td", JK, [
|
|
47657
47661
|
V(g, {
|
|
47658
47662
|
modelValue: B.allCheck,
|
|
47659
47663
|
"onUpdate:modelValue": (v) => B.allCheck = v,
|
|
@@ -47661,14 +47665,14 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47661
47665
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
|
|
47662
47666
|
C[0] || (C[0] = Xt(" 是 ", -1))
|
|
47663
47667
|
]),
|
|
47664
|
-
de("td",
|
|
47668
|
+
de("td", qK, [
|
|
47665
47669
|
(Te(!0), ht(EA, null, wA(B.authExresList, (v) => (Te(), nA(g, {
|
|
47666
47670
|
modelValue: v.check,
|
|
47667
47671
|
"onUpdate:modelValue": (m) => v.check = m
|
|
47668
47672
|
}, {
|
|
47669
47673
|
default: Ee(() => [
|
|
47670
47674
|
Xt(Ot(v.cExresnum + "-" + v.cExresname) + " ", 1),
|
|
47671
|
-
v.cOrg ? (Te(), ht("span",
|
|
47675
|
+
v.cOrg ? (Te(), ht("span", _K, "[" + Ot(v.cOrg) + "]", 1)) : IA("", !0)
|
|
47672
47676
|
]),
|
|
47673
47677
|
_: 2
|
|
47674
47678
|
}, 1032, ["modelValue", "onUpdate:modelValue"]))), 256))
|
|
@@ -47681,13 +47685,13 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47681
47685
|
}, 8, ["model-value", "title"]);
|
|
47682
47686
|
};
|
|
47683
47687
|
}
|
|
47684
|
-
}),
|
|
47688
|
+
}), eW = /* @__PURE__ */ en($K, [["__scopeId", "data-v-cadb0b95"]]), tW = {
|
|
47685
47689
|
class: "flex-1 bg-[var(--color-bg-2)] flex flex-col shadow-sm border border-[var(--color-border)] overflow-hidden rounded"
|
|
47686
|
-
}, tW = {
|
|
47687
|
-
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
47688
47690
|
}, AW = {
|
|
47691
|
+
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
47692
|
+
}, nW = {
|
|
47689
47693
|
class: "flex-1 px-2 pt-1 overflow-hidden flex flex-col"
|
|
47690
|
-
},
|
|
47694
|
+
}, oW = /* @__PURE__ */ AA({
|
|
47691
47695
|
__name: "UserQuery",
|
|
47692
47696
|
setup(e) {
|
|
47693
47697
|
const t = q(), A = q(), n = q(), o = q(), r = Xs(), {
|
|
@@ -47866,27 +47870,27 @@ const wK = /* @__PURE__ */ AA({
|
|
|
47866
47870
|
["enter"]
|
|
47867
47871
|
)),
|
|
47868
47872
|
tabindex: "-1"
|
|
47869
|
-
}, [de("div",
|
|
47873
|
+
}, [de("div", tW, [de("div", AW, [V($(C))]), de("div", nW, [V($(B), {
|
|
47870
47874
|
class: "flex-1"
|
|
47871
|
-
})]), V($(O)), V($(I)), V(
|
|
47875
|
+
})]), V($(O)), V($(I)), V(UK, {
|
|
47872
47876
|
ref_key: "UserAddRef",
|
|
47873
47877
|
ref: t,
|
|
47874
47878
|
onSuccess: h[0] || (h[0] = () => $(v).commitProxy("query"))
|
|
47875
|
-
}, null, 512), V(
|
|
47879
|
+
}, null, 512), V(YK, {
|
|
47876
47880
|
ref_key: "UserAuthRef",
|
|
47877
47881
|
ref: A,
|
|
47878
47882
|
onSuccess: h[1] || (h[1] = () => $(v).commitProxy("query"))
|
|
47879
|
-
}, null, 512), V(
|
|
47883
|
+
}, null, 512), V(jK, {
|
|
47880
47884
|
ref_key: "UserBindMacRef",
|
|
47881
47885
|
ref: n,
|
|
47882
47886
|
onSuccess: h[2] || (h[2] = () => $(v).commitProxy("query"))
|
|
47883
|
-
}, null, 512), V(
|
|
47887
|
+
}, null, 512), V(eW, {
|
|
47884
47888
|
ref_key: "UserOtherAuthRef",
|
|
47885
47889
|
ref: o,
|
|
47886
47890
|
onSuccess: h[3] || (h[3] = () => $(v).commitProxy("query"))
|
|
47887
47891
|
}, null, 512)])], 32));
|
|
47888
47892
|
}
|
|
47889
|
-
}),
|
|
47893
|
+
}), QZ = /* @__PURE__ */ en(oW, [["__scopeId", "data-v-a4711623"]]), xv = ({ t: e, formApi: t }) => {
|
|
47890
47894
|
e("role.enable"), e("role.disable");
|
|
47891
47895
|
const A = [
|
|
47892
47896
|
{ cKeyname: e("common.no"), cKeynumb: "0" },
|
|
@@ -48045,14 +48049,14 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48045
48049
|
authFormSchema: l,
|
|
48046
48050
|
authGridColumns: c
|
|
48047
48051
|
};
|
|
48048
|
-
},
|
|
48052
|
+
}, rW = { class: "h-full flex flex-col" }, sW = { class: "mt-5 flex-1 overflow-hidden" }, aW = { class: "mb-3 text-sm font-medium" }, iW = { class: "h-[calc(100%-36px)] overflow-auto" }, lW = {
|
|
48049
48053
|
class: "extra-container ml-[250px] mr-auto",
|
|
48050
48054
|
style: { "flex-shrink": "0", "max-width": "70%", "overflow-x": "auto" }
|
|
48051
|
-
},
|
|
48055
|
+
}, cW = {
|
|
48052
48056
|
key: 0,
|
|
48053
48057
|
class: "flex flex-nowrap gap-3",
|
|
48054
48058
|
style: { width: "max-content" }
|
|
48055
|
-
},
|
|
48059
|
+
}, uW = /* @__PURE__ */ AA({
|
|
48056
48060
|
__name: "RoleAdd",
|
|
48057
48061
|
emits: ["success"],
|
|
48058
48062
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -48244,11 +48248,11 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48244
48248
|
onClose: x
|
|
48245
48249
|
}, {
|
|
48246
48250
|
default: Ee(() => [
|
|
48247
|
-
de("div",
|
|
48251
|
+
de("div", rW, [
|
|
48248
48252
|
V($(m)),
|
|
48249
|
-
de("div",
|
|
48250
|
-
de("h4",
|
|
48251
|
-
de("div",
|
|
48253
|
+
de("div", sW, [
|
|
48254
|
+
de("h4", aW, Ot($(n)("role.resourceConfig")), 1),
|
|
48255
|
+
de("div", iW, [
|
|
48252
48256
|
V($(wx), {
|
|
48253
48257
|
ref_key: "treeRef",
|
|
48254
48258
|
ref: a,
|
|
@@ -48264,8 +48268,8 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48264
48268
|
onCheck: v
|
|
48265
48269
|
}, {
|
|
48266
48270
|
extra: Ee((F) => [
|
|
48267
|
-
de("div",
|
|
48268
|
-
F?.buttonList && F.buttonList.length ? (Te(), ht("div",
|
|
48271
|
+
de("div", lW, [
|
|
48272
|
+
F?.buttonList && F.buttonList.length ? (Te(), ht("div", cW, [
|
|
48269
48273
|
(Te(!0), ht(EA, null, wA(F.buttonList, (T) => (Te(), nA($(bx), {
|
|
48270
48274
|
key: T.id,
|
|
48271
48275
|
modelValue: T.checked,
|
|
@@ -48291,7 +48295,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48291
48295
|
_: 1
|
|
48292
48296
|
}, 8, ["model-value", "title"]));
|
|
48293
48297
|
}
|
|
48294
|
-
}),
|
|
48298
|
+
}), gW = /* @__PURE__ */ AA({
|
|
48295
48299
|
__name: "RoleChooseUser",
|
|
48296
48300
|
emits: ["chooseUserEmit"],
|
|
48297
48301
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -48356,7 +48360,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48356
48360
|
onConfirm: c
|
|
48357
48361
|
}, null, 8, ["visible", "modelValue", "title"]));
|
|
48358
48362
|
}
|
|
48359
|
-
}),
|
|
48363
|
+
}), dW = /* @__PURE__ */ AA({
|
|
48360
48364
|
__name: "RoleAuth",
|
|
48361
48365
|
emits: ["success"],
|
|
48362
48366
|
setup(e, { expose: t, emit: A }) {
|
|
@@ -48458,7 +48462,7 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48458
48462
|
]),
|
|
48459
48463
|
_: 1
|
|
48460
48464
|
}),
|
|
48461
|
-
V(
|
|
48465
|
+
V(gW, {
|
|
48462
48466
|
ref_key: "RoleChooseUserRef",
|
|
48463
48467
|
ref: n,
|
|
48464
48468
|
onChooseUserEmit: p
|
|
@@ -48468,13 +48472,13 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48468
48472
|
}, 8, ["model-value", "title"]);
|
|
48469
48473
|
};
|
|
48470
48474
|
}
|
|
48471
|
-
}),
|
|
48475
|
+
}), fW = {
|
|
48472
48476
|
class: "flex-1 bg-[var(--color-bg-2)] flex flex-col shadow-sm border border-[var(--color-border)] overflow-hidden rounded"
|
|
48473
|
-
}, fW = {
|
|
48474
|
-
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
48475
48477
|
}, CW = {
|
|
48478
|
+
class: "px-4 border-b py-2 pb-3 border-[var(--color-border)]"
|
|
48479
|
+
}, BW = {
|
|
48476
48480
|
class: "flex-1 px-2 pt-1 overflow-hidden flex flex-col"
|
|
48477
|
-
},
|
|
48481
|
+
}, vW = /* @__PURE__ */ AA({
|
|
48478
48482
|
__name: "RoleQuery",
|
|
48479
48483
|
setup(e) {
|
|
48480
48484
|
const t = q(), A = q(), {
|
|
@@ -48571,20 +48575,20 @@ const wK = /* @__PURE__ */ AA({
|
|
|
48571
48575
|
["enter"]
|
|
48572
48576
|
)),
|
|
48573
48577
|
tabindex: "-1"
|
|
48574
|
-
}, [de("div",
|
|
48578
|
+
}, [de("div", fW, [de("div", CW, [V($(l))]), de("div", BW, [V($(d), {
|
|
48575
48579
|
class: "flex-1"
|
|
48576
|
-
})]), V(
|
|
48580
|
+
})]), V(uW, {
|
|
48577
48581
|
ref_key: "RoleAddRef",
|
|
48578
48582
|
ref: t,
|
|
48579
48583
|
onSuccess: b[0] || (b[0] = () => $(C).commitProxy("query"))
|
|
48580
|
-
}, null, 512), V(
|
|
48584
|
+
}, null, 512), V(dW, {
|
|
48581
48585
|
ref_key: "RoleAuthRef",
|
|
48582
48586
|
ref: A,
|
|
48583
48587
|
onSuccess: b[1] || (b[1] = () => $(C).commitProxy("query"))
|
|
48584
48588
|
}, null, 512)])], 32));
|
|
48585
48589
|
}
|
|
48586
|
-
}),
|
|
48587
|
-
function
|
|
48590
|
+
}), hZ = /* @__PURE__ */ en(vW, [["__scopeId", "data-v-ddc741e9"]]);
|
|
48591
|
+
function pW(e, t) {
|
|
48588
48592
|
if (!Array.isArray(e)) return [];
|
|
48589
48593
|
const { label: A = "cName", value: n = "cXuhao" } = t || {};
|
|
48590
48594
|
return e.map((o) => ({
|
|
@@ -48594,7 +48598,7 @@ function vW(e, t) {
|
|
|
48594
48598
|
// 保留原始字段(id, cConnkey 等)
|
|
48595
48599
|
}));
|
|
48596
48600
|
}
|
|
48597
|
-
const
|
|
48601
|
+
const mW = {
|
|
48598
48602
|
/**
|
|
48599
48603
|
* 批量加载字典选项
|
|
48600
48604
|
* Batch load dictionary options
|
|
@@ -48610,13 +48614,13 @@ const pW = {
|
|
|
48610
48614
|
numbList: e
|
|
48611
48615
|
}), n = A?.result || A, o = {};
|
|
48612
48616
|
return Object.keys(n).forEach((r) => {
|
|
48613
|
-
o[r] =
|
|
48617
|
+
o[r] = pW(n[r], t);
|
|
48614
48618
|
}), o;
|
|
48615
48619
|
} catch (A) {
|
|
48616
48620
|
return console.error("[SelectOptionsAdapter] Failed to load options:", A), {};
|
|
48617
48621
|
}
|
|
48618
48622
|
}
|
|
48619
|
-
},
|
|
48623
|
+
}, EW = {
|
|
48620
48624
|
/**
|
|
48621
48625
|
* 批量加载权限选项
|
|
48622
48626
|
* Batch load permission options
|
|
@@ -48646,7 +48650,7 @@ const pW = {
|
|
|
48646
48650
|
}
|
|
48647
48651
|
}
|
|
48648
48652
|
};
|
|
48649
|
-
function
|
|
48653
|
+
function IW(e) {
|
|
48650
48654
|
return {
|
|
48651
48655
|
input: "Input",
|
|
48652
48656
|
select: "Select",
|
|
@@ -48654,35 +48658,35 @@ function EW(e) {
|
|
|
48654
48658
|
datetime: "TimePicker"
|
|
48655
48659
|
}[e] || "Input";
|
|
48656
48660
|
}
|
|
48657
|
-
function
|
|
48661
|
+
function QW(e) {
|
|
48658
48662
|
return e.map((t) => ({
|
|
48659
48663
|
label: t.label,
|
|
48660
48664
|
fieldName: t.prop,
|
|
48661
|
-
component:
|
|
48665
|
+
component: IW(t.type),
|
|
48662
48666
|
componentProps: {
|
|
48663
48667
|
placeholder: t.meta?.placeholder || `请输入${t.label}`,
|
|
48664
48668
|
...t.meta
|
|
48665
48669
|
}
|
|
48666
48670
|
}));
|
|
48667
48671
|
}
|
|
48668
|
-
function
|
|
48672
|
+
function hW(e) {
|
|
48669
48673
|
return e.map((t) => ({
|
|
48670
48674
|
title: t.label,
|
|
48671
48675
|
field: t.prop,
|
|
48672
48676
|
width: t.width
|
|
48673
48677
|
}));
|
|
48674
48678
|
}
|
|
48675
|
-
function
|
|
48679
|
+
function wW(e) {
|
|
48676
48680
|
return {
|
|
48677
48681
|
title: e.cTitle,
|
|
48678
48682
|
width: e.cWidth ? isNaN(Number(e.cWidth)) ? e.cWidth : `${e.cWidth}px` : void 0,
|
|
48679
48683
|
contentHeight: e.cHeight ? isNaN(Number(e.cHeight)) ? e.cHeight : Number(e.cHeight) : 300,
|
|
48680
48684
|
multiple: e.cSelectionMode !== "single",
|
|
48681
|
-
formSchema:
|
|
48682
|
-
tableColumns:
|
|
48685
|
+
formSchema: QW(e.conditions),
|
|
48686
|
+
tableColumns: hW(e.tableCols)
|
|
48683
48687
|
};
|
|
48684
48688
|
}
|
|
48685
|
-
function
|
|
48689
|
+
function bW(e, t) {
|
|
48686
48690
|
const { page: A, pageNo: n, pageSize: o, ...r } = e;
|
|
48687
48691
|
return {
|
|
48688
48692
|
pageNo: n || A,
|
|
@@ -48691,14 +48695,14 @@ function wW(e, t) {
|
|
|
48691
48695
|
conditions: r
|
|
48692
48696
|
};
|
|
48693
48697
|
}
|
|
48694
|
-
function
|
|
48698
|
+
function DW(e) {
|
|
48695
48699
|
const t = e?.result || e;
|
|
48696
48700
|
return {
|
|
48697
48701
|
records: t?.records || t?.list || [],
|
|
48698
48702
|
total: t?.total || t?.totalSize || 0
|
|
48699
48703
|
};
|
|
48700
48704
|
}
|
|
48701
|
-
const
|
|
48705
|
+
const yW = {
|
|
48702
48706
|
/**
|
|
48703
48707
|
* 加载动态配置
|
|
48704
48708
|
* 1. 调用 /core/assDialog/openInit 获取后端配置
|
|
@@ -48712,7 +48716,7 @@ const DW = {
|
|
|
48712
48716
|
"/core/assDialog/openInit",
|
|
48713
48717
|
{ cNum: e }
|
|
48714
48718
|
);
|
|
48715
|
-
return
|
|
48719
|
+
return wW(t);
|
|
48716
48720
|
},
|
|
48717
48721
|
/**
|
|
48718
48722
|
* 搜索数据
|
|
@@ -48725,13 +48729,13 @@ const DW = {
|
|
|
48725
48729
|
* @returns 搜索结果
|
|
48726
48730
|
*/
|
|
48727
48731
|
search: async (e) => {
|
|
48728
|
-
const { cNum: t, ...A } = e, n =
|
|
48732
|
+
const { cNum: t, ...A } = e, n = bW(A, t), o = await Dt.post(
|
|
48729
48733
|
"/core/assDialog/selectForPageCommon",
|
|
48730
48734
|
n
|
|
48731
48735
|
);
|
|
48732
|
-
return
|
|
48736
|
+
return DW(o);
|
|
48733
48737
|
}
|
|
48734
|
-
},
|
|
48738
|
+
}, PW = {
|
|
48735
48739
|
query: async (e) => {
|
|
48736
48740
|
const A = (await Dt.post("/core/assSelect/commonQuery", e))?.result || {};
|
|
48737
48741
|
return {
|
|
@@ -48748,17 +48752,17 @@ const DW = {
|
|
|
48748
48752
|
// 默认禁用 input 事件监听
|
|
48749
48753
|
emptyStateValue: void 0,
|
|
48750
48754
|
// 空状态值
|
|
48751
|
-
businessSearchAdapter:
|
|
48752
|
-
customizeSelectAdapter:
|
|
48753
|
-
selectOptionsAdapter:
|
|
48755
|
+
businessSearchAdapter: yW,
|
|
48756
|
+
customizeSelectAdapter: PW,
|
|
48757
|
+
selectOptionsAdapter: mW,
|
|
48754
48758
|
// ✅ 已有:字典选项适配器
|
|
48755
|
-
permissionOptionsAdapter:
|
|
48759
|
+
permissionOptionsAdapter: EW,
|
|
48756
48760
|
// ✅ 新增:权限选项适配器
|
|
48757
48761
|
uploadConfig: void 0,
|
|
48758
48762
|
// ✅ 新增:默认 Upload 配置为 undefined
|
|
48759
48763
|
apiPrefix: void 0
|
|
48760
48764
|
};
|
|
48761
|
-
function
|
|
48765
|
+
function wZ(e = {}) {
|
|
48762
48766
|
const { config: t, defineRules: A } = e, n = {
|
|
48763
48767
|
...Is,
|
|
48764
48768
|
...t,
|
|
@@ -48809,7 +48813,7 @@ function Wl(e, t) {
|
|
|
48809
48813
|
}
|
|
48810
48814
|
return "";
|
|
48811
48815
|
}
|
|
48812
|
-
function
|
|
48816
|
+
function xW(e) {
|
|
48813
48817
|
const { cName: t, cStoremethod: A, cIcon: n, cClass: o, nOrder: r, id: s, cEvent: a, cSubArea: i } = e;
|
|
48814
48818
|
return {
|
|
48815
48819
|
label: t,
|
|
@@ -48830,7 +48834,7 @@ function PW(e) {
|
|
|
48830
48834
|
// 额外参数-用于部分功能
|
|
48831
48835
|
};
|
|
48832
48836
|
}
|
|
48833
|
-
function
|
|
48837
|
+
function MW(e) {
|
|
48834
48838
|
const { cFieldtype: t, cLabel: A, cProp: n, cMeta: o, cSeltype: r, cSelval: s, cRequired: a, cPlaceholder: i, nOrder: l, cSign: c, cShow: d, nLg: C, cDefVal: g, nI18ndata: B, cDirectives: v, cDynamicShow: m, cDynamicRules: p, cDynamicDisabled: E, cWidth: Q } = e, w = o ? JSON.parse(o) : {};
|
|
48835
48839
|
var D = {
|
|
48836
48840
|
components: t,
|
|
@@ -48864,7 +48868,7 @@ function xW(e) {
|
|
|
48864
48868
|
}
|
|
48865
48869
|
}, D;
|
|
48866
48870
|
}
|
|
48867
|
-
function
|
|
48871
|
+
function SW(e) {
|
|
48868
48872
|
const { cLabel: t, cProp: A, cFieldtype: n, cMeta: o, cSeltype: r, cSelval: s, cWidth: a, nOrder: i, nBill: l, cSign: c, cRequired: d, cShow: C, cDirectives: g, cEntityTable: B, cDynamicRules: v, cDynamicDisabled: m } = e, p = o ? JSON.parse(o) : {};
|
|
48869
48873
|
var E = {
|
|
48870
48874
|
title: t,
|
|
@@ -48888,14 +48892,14 @@ function MW(e) {
|
|
|
48888
48892
|
}
|
|
48889
48893
|
function ix(e) {
|
|
48890
48894
|
const t = lu(cu(e.resFieldList.map((r) => ({
|
|
48891
|
-
...
|
|
48895
|
+
...MW(r),
|
|
48892
48896
|
cArea: r.cArea
|
|
48893
48897
|
})), ["order"], ["asc"]), "cArea"), A = lu(cu(e.resButtonList.map((r) => ({
|
|
48894
|
-
...
|
|
48898
|
+
...xW(r),
|
|
48895
48899
|
cArea: r.cArea,
|
|
48896
48900
|
cSubArea: r.cSubArea
|
|
48897
48901
|
})), ["order"], ["asc"]), "cArea"), n = lu(cu(e.resFieldList.map((r) => ({
|
|
48898
|
-
...
|
|
48902
|
+
...SW(r),
|
|
48899
48903
|
cArea: r.cArea
|
|
48900
48904
|
})), ["order"], ["asc"]), "cArea"), o = e.resMenu;
|
|
48901
48905
|
return {
|
|
@@ -48929,7 +48933,7 @@ function cx(e, t) {
|
|
|
48929
48933
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
48930
48934
|
});
|
|
48931
48935
|
}
|
|
48932
|
-
function
|
|
48936
|
+
function bZ(e) {
|
|
48933
48937
|
const t = e.reason instanceof Error ? e.reason : new Error(String(e.reason));
|
|
48934
48938
|
cx(t, {
|
|
48935
48939
|
type: "unhandledrejection",
|
|
@@ -48938,7 +48942,7 @@ function wZ(e) {
|
|
|
48938
48942
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
48939
48943
|
});
|
|
48940
48944
|
}
|
|
48941
|
-
function
|
|
48945
|
+
function DZ(e) {
|
|
48942
48946
|
const t = e.error instanceof Error ? e.error : new Error(e.message);
|
|
48943
48947
|
cx(t, {
|
|
48944
48948
|
type: "global_error",
|
|
@@ -48950,14 +48954,14 @@ function bZ(e) {
|
|
|
48950
48954
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
48951
48955
|
});
|
|
48952
48956
|
}
|
|
48953
|
-
const
|
|
48957
|
+
const OW = () => ({
|
|
48954
48958
|
findAllByResourceid: (e) => Dt.post("/core/assSearchplan/findAllByResourceid", e),
|
|
48955
48959
|
findSearchPlanColsByPlanId: (e) => Dt.post("/core/assSearchplan/findSearchPlanColsByPlanId", e),
|
|
48956
48960
|
insert: (e) => Dt.post("/core/assSearchplan/insert", e),
|
|
48957
48961
|
update: (e) => Dt.post("/core/assSearchplan/update", e),
|
|
48958
48962
|
del: (e) => Dt.post("/core/assSearchplan/delete", e),
|
|
48959
48963
|
findDefSearchPlan: (e) => Dt.post("/core/assSearchplan/findDefSearchPlan", e)
|
|
48960
|
-
}),
|
|
48964
|
+
}), kW = OW();
|
|
48961
48965
|
function lo(e) {
|
|
48962
48966
|
const { searchFormSchema: t, tableColumns: A, dataType: n, resourceConfig: o, queryFunction: r, gridEvents: s, treeConfig: a, loadMethod: i, objectToValueFields: l, fieldMappingTime: c, arrayToStringFields: d, lazy: C, autoLoad: g = !0 } = e, { resourceId: B, nResourceid: v, cModnumb: m } = o, p = q([]), E = q(void 0), Q = q(!1), { enhancedSchema: w } = Lc(t), { enhancedSchema: D } = Vc(w), [b, S] = zo({
|
|
48963
48967
|
layout: "vertical",
|
|
@@ -49078,7 +49082,7 @@ function lo(e) {
|
|
|
49078
49082
|
searchPlanList: p.value,
|
|
49079
49083
|
resourceId: B,
|
|
49080
49084
|
nResourceid: v,
|
|
49081
|
-
api:
|
|
49085
|
+
api: kW,
|
|
49082
49086
|
onSearch: k,
|
|
49083
49087
|
onDefaultPlanLoaded: x,
|
|
49084
49088
|
onUpdateCurrentSearchPlan: (T) => {
|
|
@@ -49152,7 +49156,7 @@ function lo(e) {
|
|
|
49152
49156
|
fetchResourceConfig: F
|
|
49153
49157
|
};
|
|
49154
49158
|
}
|
|
49155
|
-
function
|
|
49159
|
+
function yZ(e) {
|
|
49156
49160
|
const t = q(!1), A = q({});
|
|
49157
49161
|
return {
|
|
49158
49162
|
loading: t,
|
|
@@ -49175,7 +49179,7 @@ function DZ(e) {
|
|
|
49175
49179
|
}
|
|
49176
49180
|
};
|
|
49177
49181
|
}
|
|
49178
|
-
function
|
|
49182
|
+
function PZ({
|
|
49179
49183
|
columns: e = [],
|
|
49180
49184
|
editRules: t,
|
|
49181
49185
|
toolbarButtons: A = [],
|
|
@@ -49245,7 +49249,7 @@ function yZ({
|
|
|
49245
49249
|
};
|
|
49246
49250
|
return [p, w];
|
|
49247
49251
|
}
|
|
49248
|
-
const
|
|
49252
|
+
const xZ = /* @__PURE__ */ AA({
|
|
49249
49253
|
__name: "AccessControl",
|
|
49250
49254
|
props: {
|
|
49251
49255
|
codes: { default: () => [] },
|
|
@@ -49297,7 +49301,7 @@ class Ps {
|
|
|
49297
49301
|
}
|
|
49298
49302
|
}
|
|
49299
49303
|
const ac = Ps.getInstance();
|
|
49300
|
-
function
|
|
49304
|
+
function MZ() {
|
|
49301
49305
|
const e = () => ac.startLoading(), t = () => ac.stopLoading();
|
|
49302
49306
|
return { start: e, stop: t, withLoading: async (n) => {
|
|
49303
49307
|
e();
|
|
@@ -49308,7 +49312,7 @@ function xZ() {
|
|
|
49308
49312
|
}
|
|
49309
49313
|
} };
|
|
49310
49314
|
}
|
|
49311
|
-
const
|
|
49315
|
+
const FW = { class: "global-loading-container" }, zW = /* @__PURE__ */ AA({
|
|
49312
49316
|
__name: "GlobalLoading",
|
|
49313
49317
|
props: {
|
|
49314
49318
|
type: {},
|
|
@@ -49327,7 +49331,7 @@ const kW = { class: "global-loading-container" }, FW = /* @__PURE__ */ AA({
|
|
|
49327
49331
|
key: 0,
|
|
49328
49332
|
to: "body"
|
|
49329
49333
|
}, [
|
|
49330
|
-
de("div",
|
|
49334
|
+
de("div", FW, [
|
|
49331
49335
|
A.value === "spinner" ? (Te(), nA($(Tx), {
|
|
49332
49336
|
key: 0,
|
|
49333
49337
|
spinning: $(o),
|
|
@@ -49343,53 +49347,54 @@ const kW = { class: "global-loading-container" }, FW = /* @__PURE__ */ AA({
|
|
|
49343
49347
|
_: 1
|
|
49344
49348
|
}));
|
|
49345
49349
|
}
|
|
49346
|
-
}),
|
|
49350
|
+
}), SZ = /* @__PURE__ */ en(zW, [["__scopeId", "data-v-a5f101e9"]]);
|
|
49347
49351
|
export {
|
|
49348
|
-
|
|
49352
|
+
xZ as AccessControl,
|
|
49349
49353
|
EH as AssSendoaAdd,
|
|
49350
|
-
|
|
49351
|
-
|
|
49352
|
-
|
|
49353
|
-
|
|
49354
|
+
dZ as AssSendoaQuery,
|
|
49355
|
+
aZ as BasicLayout,
|
|
49356
|
+
sZ as Dashboard,
|
|
49357
|
+
EZ as DataDictionaryQuery,
|
|
49354
49358
|
Ew as EFFECTS_CONFIG_KEY,
|
|
49355
|
-
|
|
49356
|
-
|
|
49357
|
-
|
|
49358
|
-
|
|
49359
|
-
|
|
49359
|
+
fZ as GgcxtcQuery,
|
|
49360
|
+
SZ as GlobalLoading,
|
|
49361
|
+
uZ as JobGroupQuery,
|
|
49362
|
+
lZ as JobInfoQuery,
|
|
49363
|
+
cZ as JobLogQuery,
|
|
49360
49364
|
Ps as LoadingManager,
|
|
49361
|
-
|
|
49362
|
-
|
|
49363
|
-
|
|
49364
|
-
|
|
49365
|
-
|
|
49365
|
+
eZ as Login,
|
|
49366
|
+
iZ as OperationLogQuery,
|
|
49367
|
+
RH as OtherPermissionsAdd,
|
|
49368
|
+
pZ as OtherPermissionsQuery,
|
|
49369
|
+
TH as OtherPermissionsUpdate,
|
|
49366
49370
|
Qw as RequestClient,
|
|
49367
|
-
|
|
49368
|
-
|
|
49369
|
-
|
|
49370
|
-
|
|
49371
|
-
|
|
49372
|
-
|
|
49373
|
-
|
|
49374
|
-
|
|
49371
|
+
rZ as ResourceManagement,
|
|
49372
|
+
uW as RoleAdd,
|
|
49373
|
+
dW as RoleAuth,
|
|
49374
|
+
hZ as RoleQuery,
|
|
49375
|
+
mZ as SystemSetting,
|
|
49376
|
+
VH as USE_FORM_DEFAULTS,
|
|
49377
|
+
QZ as UserQuery,
|
|
49378
|
+
IZ as YwsjzdQuery,
|
|
49379
|
+
gZ as ZdyxlkQuery,
|
|
49375
49380
|
XR as addFavorite,
|
|
49376
49381
|
rS as authenticateResponseInterceptor,
|
|
49377
|
-
|
|
49382
|
+
_W as baseRequestClient,
|
|
49378
49383
|
aS as businessCodeResponseInterceptor,
|
|
49379
49384
|
b9 as cbTypeOpts,
|
|
49380
|
-
|
|
49381
|
-
|
|
49382
|
-
|
|
49383
|
-
|
|
49385
|
+
BZ as collectSchemaDictCodes,
|
|
49386
|
+
vZ as collectSchemaPermissionCodes,
|
|
49387
|
+
JW as createEffects,
|
|
49388
|
+
yW as defaultBusinessSearchAdapter,
|
|
49384
49389
|
Is as defaultFormConfig,
|
|
49385
|
-
|
|
49390
|
+
EW as defaultPermissionOptionsAdapter,
|
|
49386
49391
|
oS as defaultResponseInterceptor,
|
|
49387
|
-
|
|
49392
|
+
mW as defaultSelectOptionsAdapter,
|
|
49388
49393
|
sS as errorMessageResponseInterceptor,
|
|
49389
|
-
|
|
49394
|
+
$W as fetchUserInfo,
|
|
49390
49395
|
Qa as filterSelect,
|
|
49391
|
-
|
|
49392
|
-
|
|
49396
|
+
HH as findAllSettings,
|
|
49397
|
+
qW as findAllStaticFrontI18n,
|
|
49393
49398
|
qP as getAssSendoaConfig,
|
|
49394
49399
|
CS as getEnterStrategy,
|
|
49395
49400
|
DH as getGgcxtcConfig,
|
|
@@ -49402,29 +49407,29 @@ export {
|
|
|
49402
49407
|
xv as getRoleConfig,
|
|
49403
49408
|
vS as getSlideVerificationCode,
|
|
49404
49409
|
Yr as globalConfig,
|
|
49405
|
-
|
|
49406
|
-
|
|
49410
|
+
xW as initButtonItem,
|
|
49411
|
+
MW as initFormItem,
|
|
49407
49412
|
ix as initResourceConstructor,
|
|
49408
|
-
|
|
49413
|
+
SW as initVxeColumn,
|
|
49409
49414
|
ac as loadingManager,
|
|
49410
49415
|
mS as login,
|
|
49411
49416
|
ES as logout,
|
|
49412
|
-
|
|
49413
|
-
|
|
49417
|
+
AZ as nCbtypeOpts,
|
|
49418
|
+
nZ as nLikematchOpts,
|
|
49414
49419
|
wi as permissionOptionsManager,
|
|
49415
|
-
|
|
49420
|
+
CZ as preLoadSelectOptions,
|
|
49416
49421
|
hw as queryByXuhao,
|
|
49417
49422
|
ZR as queryFavorites,
|
|
49418
49423
|
BS as refreshTokenApi,
|
|
49419
49424
|
JR as removeFavorite,
|
|
49420
49425
|
cx as reportError,
|
|
49421
|
-
|
|
49422
|
-
|
|
49426
|
+
DZ as reportGlobalError,
|
|
49427
|
+
bZ as reportUnhandledRejection,
|
|
49423
49428
|
Dt as requestClient,
|
|
49424
|
-
|
|
49425
|
-
|
|
49429
|
+
KH as saveAllSettings,
|
|
49430
|
+
kW as searchPlanApi,
|
|
49426
49431
|
hi as selectOptionsManager,
|
|
49427
|
-
|
|
49432
|
+
wZ as setupBusinessForm,
|
|
49428
49433
|
Ep as sfggOpts,
|
|
49429
49434
|
_s as systemOpts,
|
|
49430
49435
|
Iw as useEffectsConfig,
|
|
@@ -49432,14 +49437,14 @@ export {
|
|
|
49432
49437
|
si as useForm,
|
|
49433
49438
|
Ax as useFormTable,
|
|
49434
49439
|
nx as useFormTabs,
|
|
49435
|
-
|
|
49440
|
+
MZ as useGlobalLoading,
|
|
49436
49441
|
lo as useList,
|
|
49437
49442
|
LH as usePermissionOptions,
|
|
49438
49443
|
Lc as useSchemaOptionsLoader,
|
|
49439
49444
|
Vc as useSchemaPermissionLoader,
|
|
49440
|
-
|
|
49445
|
+
OW as useSearchPlanApi,
|
|
49441
49446
|
ri as useSelectOptions,
|
|
49442
|
-
|
|
49443
|
-
|
|
49444
|
-
|
|
49447
|
+
PZ as useTable,
|
|
49448
|
+
yZ as useUserResources,
|
|
49449
|
+
tZ as userSfqyOpts
|
|
49445
49450
|
};
|