@sunny-base-web/effects 0.8.93 → 0.8.94
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.js +1 -1
- package/dist/index.mjs +89 -89
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getCurrentInstance as Ut, inject as To, defineComponent as X, computed as H, openBlock as _, createElementBlock as U, normalizeStyle as be, normalizeClass as ce, createElementVNode as g, ref as C, reactive as
|
|
2
|
-
import { Message as A, Modal as
|
|
1
|
+
import { getCurrentInstance as Ut, inject as To, defineComponent as X, computed as H, openBlock as _, createElementBlock as U, normalizeStyle as be, normalizeClass as ce, createElementVNode as g, ref as C, reactive as ye, onMounted as Te, onUnmounted as Bt, resolveComponent as D, createVNode as i, withCtx as v, unref as m, Fragment as le, renderList as re, createBlock as J, createCommentVNode as fe, withModifiers as De, createTextVNode as G, toDisplayString as q, toRefs as Lo, watch as ue, isRef as ut, nextTick as he, mergeProps as ln, createSlots as ze, withDirectives as sn, vModelText as an, resolveDynamicComponent as pt, Transition as qt, KeepAlive as rn, withKeys as Le, markRaw as No, shallowRef as cn, renderSlot as Zt, Teleport as un } from "vue";
|
|
2
|
+
import { Message as A, Modal as ve, Tabs as dt, Tree as dn, Checkbox as mn } from "@arco-design/web-vue";
|
|
3
3
|
import pn from "jsencrypt";
|
|
4
4
|
import { isFunction as eo, isUndefined as to, merge as fn, bindMethods as bn, isString as hn, getCookie as gn, setCookie as vn, transformToString as yn, transformToObjectArray as xn } from "@sunny-base-web/utils";
|
|
5
5
|
import { i18n as oo, useI18n as ft, loadLocaleMessages as wn, $t as Re } from "@sunny-base-web/locales";
|
|
@@ -1618,7 +1618,7 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1618
1618
|
},
|
|
1619
1619
|
emits: ["login"],
|
|
1620
1620
|
setup(e, { emit: t }) {
|
|
1621
|
-
const n = t, { t: o, locale: l } = de(), a = C(), s = C(), r =
|
|
1621
|
+
const n = t, { t: o, locale: l } = de(), a = C(), s = C(), r = ye({
|
|
1622
1622
|
username: "",
|
|
1623
1623
|
password: "",
|
|
1624
1624
|
langList: "",
|
|
@@ -2440,7 +2440,7 @@ const We = {
|
|
|
2440
2440
|
{ label: "footer", value: "footer" }
|
|
2441
2441
|
]
|
|
2442
2442
|
}, Da = {}, ie = { ...We, ...Da }, Co = We.sfggOpts, za = We.cbTypeOpts, ef = We.userSfqyOpts, tf = We.nCbtypeOpts, of = We.nLikematchOpts, Fa = (e) => {
|
|
2443
|
-
const t = C(), n = C(), o = C(), l =
|
|
2443
|
+
const t = C(), n = C(), o = C(), l = ye({
|
|
2444
2444
|
visible: !1,
|
|
2445
2445
|
data: {},
|
|
2446
2446
|
type: 0,
|
|
@@ -3069,7 +3069,7 @@ const We = {
|
|
|
3069
3069
|
};
|
|
3070
3070
|
}
|
|
3071
3071
|
}, Wa = (e) => {
|
|
3072
|
-
const t = C(), n =
|
|
3072
|
+
const t = C(), n = ye({
|
|
3073
3073
|
data: [],
|
|
3074
3074
|
moduleId: null,
|
|
3075
3075
|
visible: !1,
|
|
@@ -3468,7 +3468,7 @@ const Ya = /* @__PURE__ */ xe(Ja, [["render", Xa]]), Za = { class: "h-full overf
|
|
|
3468
3468
|
n.value = n.value.filter($), o.value = o.value.filter($);
|
|
3469
3469
|
}, P = (S) => {
|
|
3470
3470
|
const $ = Number(S.id);
|
|
3471
|
-
|
|
3471
|
+
ve.confirm({
|
|
3472
3472
|
title: "确认删除",
|
|
3473
3473
|
content: `确定删除节点「${S.cModname}」吗?删除后不可恢复。`,
|
|
3474
3474
|
okText: "确认删除",
|
|
@@ -3601,7 +3601,7 @@ const Ya = /* @__PURE__ */ xe(Ja, [["render", Xa]]), Za = { class: "h-full overf
|
|
|
3601
3601
|
props: {
|
|
3602
3602
|
clearable: !0
|
|
3603
3603
|
}
|
|
3604
|
-
},
|
|
3604
|
+
}, ge = {
|
|
3605
3605
|
name: "VxeSelect",
|
|
3606
3606
|
props: {
|
|
3607
3607
|
clearable: !0
|
|
@@ -3663,7 +3663,7 @@ function tr() {
|
|
|
3663
3663
|
title: "字段组件类型",
|
|
3664
3664
|
minWidth: "140",
|
|
3665
3665
|
editRender: {
|
|
3666
|
-
...
|
|
3666
|
+
...ge,
|
|
3667
3667
|
options: ie.FormFieldTypes,
|
|
3668
3668
|
events: {
|
|
3669
3669
|
change(c, u) {
|
|
@@ -3684,7 +3684,7 @@ function tr() {
|
|
|
3684
3684
|
title: "下拉类型",
|
|
3685
3685
|
minWidth: "140",
|
|
3686
3686
|
editRender: {
|
|
3687
|
-
...
|
|
3687
|
+
...ge,
|
|
3688
3688
|
options: ie.selectType
|
|
3689
3689
|
}
|
|
3690
3690
|
}, {
|
|
@@ -3697,7 +3697,7 @@ function tr() {
|
|
|
3697
3697
|
title: "启用/禁用",
|
|
3698
3698
|
minWidth: "140",
|
|
3699
3699
|
editRender: {
|
|
3700
|
-
...
|
|
3700
|
+
...ge,
|
|
3701
3701
|
options: ie.signOpts
|
|
3702
3702
|
}
|
|
3703
3703
|
}, {
|
|
@@ -3705,7 +3705,7 @@ function tr() {
|
|
|
3705
3705
|
title: "显示/隐藏",
|
|
3706
3706
|
minWidth: "140",
|
|
3707
3707
|
editRender: {
|
|
3708
|
-
...
|
|
3708
|
+
...ge,
|
|
3709
3709
|
options: ie.showOpts
|
|
3710
3710
|
}
|
|
3711
3711
|
}, {
|
|
@@ -3829,7 +3829,7 @@ function tr() {
|
|
|
3829
3829
|
title: "字段对齐方式",
|
|
3830
3830
|
minWidth: "140",
|
|
3831
3831
|
editRender: {
|
|
3832
|
-
...
|
|
3832
|
+
...ge,
|
|
3833
3833
|
options: ie.alignOpts
|
|
3834
3834
|
}
|
|
3835
3835
|
}, {
|
|
@@ -3847,7 +3847,7 @@ function tr() {
|
|
|
3847
3847
|
title: "是否校验",
|
|
3848
3848
|
minWidth: "140",
|
|
3849
3849
|
editRender: {
|
|
3850
|
-
...
|
|
3850
|
+
...ge,
|
|
3851
3851
|
options: ie.requiredOpts
|
|
3852
3852
|
}
|
|
3853
3853
|
}, {
|
|
@@ -4018,7 +4018,7 @@ function tr() {
|
|
|
4018
4018
|
title: "表格字段类型",
|
|
4019
4019
|
minWidth: "140",
|
|
4020
4020
|
editRender: {
|
|
4021
|
-
...
|
|
4021
|
+
...ge,
|
|
4022
4022
|
options: ie.TableFieldTypes,
|
|
4023
4023
|
events: {
|
|
4024
4024
|
change(c, u) {
|
|
@@ -4039,7 +4039,7 @@ function tr() {
|
|
|
4039
4039
|
title: "下拉类型",
|
|
4040
4040
|
minWidth: "140",
|
|
4041
4041
|
editRender: {
|
|
4042
|
-
...
|
|
4042
|
+
...ge,
|
|
4043
4043
|
options: ie.selectType
|
|
4044
4044
|
}
|
|
4045
4045
|
}, {
|
|
@@ -4052,7 +4052,7 @@ function tr() {
|
|
|
4052
4052
|
title: "显示/隐藏",
|
|
4053
4053
|
minWidth: "140",
|
|
4054
4054
|
editRender: {
|
|
4055
|
-
...
|
|
4055
|
+
...ge,
|
|
4056
4056
|
options: ie.showOpts
|
|
4057
4057
|
}
|
|
4058
4058
|
}, {
|
|
@@ -4154,7 +4154,7 @@ function tr() {
|
|
|
4154
4154
|
title: "是否操作日志字段",
|
|
4155
4155
|
minWidth: "160",
|
|
4156
4156
|
editRender: {
|
|
4157
|
-
...
|
|
4157
|
+
...ge,
|
|
4158
4158
|
options: ie.nBillOpts
|
|
4159
4159
|
}
|
|
4160
4160
|
}, {
|
|
@@ -4225,7 +4225,7 @@ function tr() {
|
|
|
4225
4225
|
title: "字段组件类型",
|
|
4226
4226
|
minWidth: "140",
|
|
4227
4227
|
editRender: {
|
|
4228
|
-
...
|
|
4228
|
+
...ge,
|
|
4229
4229
|
options: [{
|
|
4230
4230
|
label: "表单",
|
|
4231
4231
|
options: ie.FormFieldTypes
|
|
@@ -4269,7 +4269,7 @@ function tr() {
|
|
|
4269
4269
|
title: "下拉类型",
|
|
4270
4270
|
minWidth: "140",
|
|
4271
4271
|
editRender: {
|
|
4272
|
-
...
|
|
4272
|
+
...ge,
|
|
4273
4273
|
options: ie.selectType
|
|
4274
4274
|
}
|
|
4275
4275
|
}, {
|
|
@@ -4287,7 +4287,7 @@ function tr() {
|
|
|
4287
4287
|
title: "启用/禁用",
|
|
4288
4288
|
minWidth: "140",
|
|
4289
4289
|
editRender: {
|
|
4290
|
-
...
|
|
4290
|
+
...ge,
|
|
4291
4291
|
options: ie.signOpts
|
|
4292
4292
|
}
|
|
4293
4293
|
}, {
|
|
@@ -4295,7 +4295,7 @@ function tr() {
|
|
|
4295
4295
|
title: "显示/隐藏",
|
|
4296
4296
|
minWidth: "140",
|
|
4297
4297
|
editRender: {
|
|
4298
|
-
...
|
|
4298
|
+
...ge,
|
|
4299
4299
|
options: ie.showOpts
|
|
4300
4300
|
}
|
|
4301
4301
|
}, {
|
|
@@ -4390,7 +4390,7 @@ function tr() {
|
|
|
4390
4390
|
title: "自定义指令",
|
|
4391
4391
|
minWidth: "140",
|
|
4392
4392
|
editRender: {
|
|
4393
|
-
...
|
|
4393
|
+
...ge,
|
|
4394
4394
|
options: ie.directivesOpts
|
|
4395
4395
|
}
|
|
4396
4396
|
}, {
|
|
@@ -4398,7 +4398,7 @@ function tr() {
|
|
|
4398
4398
|
title: "字段对齐方式",
|
|
4399
4399
|
minWidth: "140",
|
|
4400
4400
|
editRender: {
|
|
4401
|
-
...
|
|
4401
|
+
...ge,
|
|
4402
4402
|
options: ie.alignOpts
|
|
4403
4403
|
}
|
|
4404
4404
|
}, {
|
|
@@ -4416,7 +4416,7 @@ function tr() {
|
|
|
4416
4416
|
title: "是否校验",
|
|
4417
4417
|
minWidth: "140",
|
|
4418
4418
|
editRender: {
|
|
4419
|
-
...
|
|
4419
|
+
...ge,
|
|
4420
4420
|
options: ie.requiredOpts
|
|
4421
4421
|
}
|
|
4422
4422
|
}, {
|
|
@@ -4424,7 +4424,7 @@ function tr() {
|
|
|
4424
4424
|
title: "是否开启数据国际化",
|
|
4425
4425
|
minWidth: "200",
|
|
4426
4426
|
editRender: {
|
|
4427
|
-
...
|
|
4427
|
+
...ge,
|
|
4428
4428
|
options: ie.signOpts
|
|
4429
4429
|
}
|
|
4430
4430
|
}, {
|
|
@@ -4647,7 +4647,7 @@ function or({
|
|
|
4647
4647
|
title: "权限管控",
|
|
4648
4648
|
minWidth: "100",
|
|
4649
4649
|
editRender: {
|
|
4650
|
-
...
|
|
4650
|
+
...ge,
|
|
4651
4651
|
options: ie.authOpts
|
|
4652
4652
|
}
|
|
4653
4653
|
}, {
|
|
@@ -4655,7 +4655,7 @@ function or({
|
|
|
4655
4655
|
title: "校验表单",
|
|
4656
4656
|
minWidth: "100",
|
|
4657
4657
|
editRender: {
|
|
4658
|
-
...
|
|
4658
|
+
...ge,
|
|
4659
4659
|
options: ie.requiredOpts
|
|
4660
4660
|
}
|
|
4661
4661
|
}, {
|
|
@@ -4663,7 +4663,7 @@ function or({
|
|
|
4663
4663
|
title: "启用/禁用",
|
|
4664
4664
|
minWidth: "100",
|
|
4665
4665
|
editRender: {
|
|
4666
|
-
...
|
|
4666
|
+
...ge,
|
|
4667
4667
|
options: ie.signOpts
|
|
4668
4668
|
}
|
|
4669
4669
|
}, {
|
|
@@ -5035,11 +5035,11 @@ const Po = {
|
|
|
5035
5035
|
__name: "fieldCallmethod",
|
|
5036
5036
|
emits: ["fieldCallmethodEdit"],
|
|
5037
5037
|
setup(e, { expose: t, emit: n }) {
|
|
5038
|
-
const o = C(!1), l = C(""), a = C(!1), s =
|
|
5038
|
+
const o = C(!1), l = C(""), a = C(!1), s = ye({
|
|
5039
5039
|
rowIndex: null,
|
|
5040
5040
|
field: null,
|
|
5041
5041
|
fieldDatas: []
|
|
5042
|
-
}), r =
|
|
5042
|
+
}), r = ye({
|
|
5043
5043
|
callmethodType: "",
|
|
5044
5044
|
customType: "",
|
|
5045
5045
|
import1: "",
|
|
@@ -5088,7 +5088,7 @@ const Po = {
|
|
|
5088
5088
|
w.length === 3 ? w[2] === "ALL" ? O = "一次性批量导出" : w[2] === "CUSTOM" ? O = "自定义格式导出" : O = "" : O = "流式导出", r.exportType = O;
|
|
5089
5089
|
}
|
|
5090
5090
|
}
|
|
5091
|
-
l.value = "导入/导出配置", o.value = !0,
|
|
5091
|
+
l.value = "导入/导出配置", o.value = !0, he(() => {
|
|
5092
5092
|
b.value?.clearValidate();
|
|
5093
5093
|
});
|
|
5094
5094
|
}, u = async () => {
|
|
@@ -5129,7 +5129,7 @@ const Po = {
|
|
|
5129
5129
|
o.value = !1;
|
|
5130
5130
|
};
|
|
5131
5131
|
return ue([() => r.callmethodType, () => r.bCustomTableHead], () => {
|
|
5132
|
-
|
|
5132
|
+
he(() => {
|
|
5133
5133
|
b.value?.clearValidate();
|
|
5134
5134
|
});
|
|
5135
5135
|
}), t({
|
|
@@ -5667,7 +5667,7 @@ const Po = {
|
|
|
5667
5667
|
}, pr = /* @__PURE__ */ X({
|
|
5668
5668
|
__name: "ConstructionConfig",
|
|
5669
5669
|
setup(e, { expose: t }) {
|
|
5670
|
-
const n = C(!1), o =
|
|
5670
|
+
const n = C(!1), o = ye({
|
|
5671
5671
|
moduleInfo: null,
|
|
5672
5672
|
// 为后期模块有模板类型做准备,放一个个moduleInfo在此容器,不然可以直接将muduleInfo传给子组件
|
|
5673
5673
|
activeName: "",
|
|
@@ -5934,7 +5934,7 @@ const xr = { class: "flex gap-4 min-h-[440px]" }, wr = { class: "w-52 shrink-0 f
|
|
|
5934
5934
|
ue(
|
|
5935
5935
|
() => n.visible,
|
|
5936
5936
|
async (k) => {
|
|
5937
|
-
k && (await
|
|
5937
|
+
k && (await he(), await p());
|
|
5938
5938
|
}
|
|
5939
5939
|
);
|
|
5940
5940
|
async function p() {
|
|
@@ -6390,7 +6390,7 @@ const Ci = {
|
|
|
6390
6390
|
}
|
|
6391
6391
|
(R.screenX !== d || R.screenY !== h) && (p.value = !0, d = R.screenX, h = R.screenY);
|
|
6392
6392
|
}, k = () => {
|
|
6393
|
-
o.value = !0, l.value = "",
|
|
6393
|
+
o.value = !0, l.value = "", he(() => {
|
|
6394
6394
|
a.value?.focus();
|
|
6395
6395
|
});
|
|
6396
6396
|
}, P = () => {
|
|
@@ -7929,7 +7929,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
7929
7929
|
},
|
|
7930
7930
|
emits: ["update:visible", "success"],
|
|
7931
7931
|
setup(e, { expose: t, emit: n }) {
|
|
7932
|
-
const { t: o } = de(), l = e, a = n, s = C(null), r =
|
|
7932
|
+
const { t: o } = de(), l = e, a = n, s = C(null), r = ye({
|
|
7933
7933
|
id: "",
|
|
7934
7934
|
jobGroup: "",
|
|
7935
7935
|
jobDesc: "",
|
|
@@ -8303,7 +8303,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8303
8303
|
},
|
|
8304
8304
|
emits: ["update:visible", "success"],
|
|
8305
8305
|
setup(e, { expose: t, emit: n }) {
|
|
8306
|
-
const { t: o } = de(), l = e, a = n, s = C(null), r =
|
|
8306
|
+
const { t: o } = de(), l = e, a = n, s = C(null), r = ye({
|
|
8307
8307
|
id: "",
|
|
8308
8308
|
jobDesc: "",
|
|
8309
8309
|
executorParam: ""
|
|
@@ -8426,7 +8426,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8426
8426
|
},
|
|
8427
8427
|
emits: ["update:visible", "success"],
|
|
8428
8428
|
setup(e, { expose: t, emit: n }) {
|
|
8429
|
-
const { t: o } = de(), l = e, a = n, s =
|
|
8429
|
+
const { t: o } = de(), l = e, a = n, s = ye({
|
|
8430
8430
|
id: "",
|
|
8431
8431
|
jobDesc: "",
|
|
8432
8432
|
glueSource: "",
|
|
@@ -8636,7 +8636,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8636
8636
|
b.value && b.value.show($);
|
|
8637
8637
|
break;
|
|
8638
8638
|
case "jobinfo/start":
|
|
8639
|
-
|
|
8639
|
+
ve.confirm({
|
|
8640
8640
|
title: t("jobinfo.confirmStart"),
|
|
8641
8641
|
content: t("jobinfo.confirmStartContent", {
|
|
8642
8642
|
jobDesc: $.jobDesc
|
|
@@ -8653,7 +8653,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8653
8653
|
});
|
|
8654
8654
|
break;
|
|
8655
8655
|
case "jobinfo/stop":
|
|
8656
|
-
|
|
8656
|
+
ve.confirm({
|
|
8657
8657
|
title: t("jobinfo.confirmStop"),
|
|
8658
8658
|
content: t("jobinfo.confirmStopContent", {
|
|
8659
8659
|
jobDesc: $.jobDesc
|
|
@@ -8670,7 +8670,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8670
8670
|
});
|
|
8671
8671
|
break;
|
|
8672
8672
|
case "jobinfo/del":
|
|
8673
|
-
|
|
8673
|
+
ve.confirm({
|
|
8674
8674
|
title: t("jobinfo.confirmDelete"),
|
|
8675
8675
|
content: t("jobinfo.confirmDeleteContent", {
|
|
8676
8676
|
jobDesc: $.jobDesc
|
|
@@ -8719,7 +8719,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8719
8719
|
});
|
|
8720
8720
|
if (T.success && T.data) {
|
|
8721
8721
|
const E = T.data[0];
|
|
8722
|
-
|
|
8722
|
+
ve.info({
|
|
8723
8723
|
title: t("jobinfo.registerNodeInfo"),
|
|
8724
8724
|
content: `<div>
|
|
8725
8725
|
<strong>${t("jobinfo.appName")}:</strong>${E.appname}<br/>
|
|
@@ -8885,7 +8885,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8885
8885
|
fromLineNum: 0,
|
|
8886
8886
|
id: d
|
|
8887
8887
|
});
|
|
8888
|
-
h.success && h.data && (s.value = h.data.content?.logContentList || [], l("update:visible", !0),
|
|
8888
|
+
h.success && h.data && (s.value = h.data.content?.logContentList || [], l("update:visible", !0), he(() => {
|
|
8889
8889
|
p.value && (p.value.scrollTop = p.value.scrollHeight);
|
|
8890
8890
|
}));
|
|
8891
8891
|
} catch (h) {
|
|
@@ -8902,7 +8902,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
8902
8902
|
});
|
|
8903
8903
|
if (d.success && d.data) {
|
|
8904
8904
|
const h = d.data.content?.logContentList || [];
|
|
8905
|
-
s.value = s.value.concat(h),
|
|
8905
|
+
s.value = s.value.concat(h), he(() => {
|
|
8906
8906
|
p.value && (p.value.scrollTop = p.value.scrollHeight);
|
|
8907
8907
|
});
|
|
8908
8908
|
}
|
|
@@ -9061,7 +9061,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9061
9061
|
}), L = (M) => {
|
|
9062
9062
|
a.value = M.handleDdbz || "", l.value = !0;
|
|
9063
9063
|
}, V = (M) => {
|
|
9064
|
-
|
|
9064
|
+
ve.info({
|
|
9065
9065
|
title: t("joblog.handleMsgTitle"),
|
|
9066
9066
|
content: M || "",
|
|
9067
9067
|
width: 500
|
|
@@ -9210,7 +9210,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9210
9210
|
},
|
|
9211
9211
|
emits: ["update:visible", "success"],
|
|
9212
9212
|
setup(e, { expose: t, emit: n }) {
|
|
9213
|
-
const { t: o } = de(), l = e, a = n, s = C(null), r =
|
|
9213
|
+
const { t: o } = de(), l = e, a = n, s = C(null), r = ye({
|
|
9214
9214
|
appname: "",
|
|
9215
9215
|
title: "",
|
|
9216
9216
|
addressType: "0",
|
|
@@ -9441,7 +9441,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9441
9441
|
}
|
|
9442
9442
|
break;
|
|
9443
9443
|
case "jobgroup/del":
|
|
9444
|
-
|
|
9444
|
+
ve.confirm({
|
|
9445
9445
|
title: t("jobgroup.confirmDelete"),
|
|
9446
9446
|
content: t("jobgroup.confirmDeleteSingle", {
|
|
9447
9447
|
title: I.title
|
|
@@ -9755,7 +9755,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9755
9755
|
};
|
|
9756
9756
|
t({
|
|
9757
9757
|
addInit: async () => {
|
|
9758
|
-
l.value = !0, a.value = "add", p.setState({ schema: x }), p.resetForm(), p.setValues({ nCbtype: "0" }), await
|
|
9758
|
+
l.value = !0, a.value = "add", p.setState({ schema: x }), p.resetForm(), p.setValues({ nCbtype: "0" }), await he(), f("0");
|
|
9759
9759
|
},
|
|
9760
9760
|
editInit: async (y) => {
|
|
9761
9761
|
s.value = !0, a.value = "edit";
|
|
@@ -9766,7 +9766,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9766
9766
|
} catch (P) {
|
|
9767
9767
|
console.error("查询失败:", P), A.error(o("zdyxlk.queryFailed"));
|
|
9768
9768
|
}
|
|
9769
|
-
l.value = !0, await
|
|
9769
|
+
l.value = !0, await he(), p.setState({ schema: x }), p.resetForm(), k && (p.setValues(k, !1), p.updateSchema([{
|
|
9770
9770
|
fieldName: "cNum",
|
|
9771
9771
|
componentProps: { disabled: !0 }
|
|
9772
9772
|
}]), f(k.nCbtype)), s.value = !1;
|
|
@@ -9852,7 +9852,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9852
9852
|
A.warning(n("zdyxlk.selectDeleteRecords"));
|
|
9853
9853
|
return;
|
|
9854
9854
|
}
|
|
9855
|
-
|
|
9855
|
+
ve.confirm({
|
|
9856
9856
|
title: n("zdyxlk.confirmDelete"),
|
|
9857
9857
|
content: n("zdyxlk.confirmDeleteMultiple", {
|
|
9858
9858
|
count: R.length
|
|
@@ -9896,7 +9896,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
9896
9896
|
t.value.editInit(R);
|
|
9897
9897
|
break;
|
|
9898
9898
|
case "zdyxlk/del":
|
|
9899
|
-
|
|
9899
|
+
ve.confirm({
|
|
9900
9900
|
title: n("zdyxlk.confirmDelete"),
|
|
9901
9901
|
content: n("zdyxlk.confirmDeleteSingle", {
|
|
9902
9902
|
CTitle: R.CTitle
|
|
@@ -10093,7 +10093,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10093
10093
|
}), { addEditFormSchema: x } = qo({ t: o });
|
|
10094
10094
|
t({
|
|
10095
10095
|
addInit: async () => {
|
|
10096
|
-
l.value = !0, a.value = "add", p.setState({ schema: x }), p.resetForm(), await
|
|
10096
|
+
l.value = !0, a.value = "add", p.setState({ schema: x }), p.resetForm(), await he();
|
|
10097
10097
|
},
|
|
10098
10098
|
editInit: async (h) => {
|
|
10099
10099
|
s.value = !0, a.value = "edit";
|
|
@@ -10104,7 +10104,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10104
10104
|
} catch (k) {
|
|
10105
10105
|
console.error("查询失败:", k), A.error(o("assSendoa.queryFailed"));
|
|
10106
10106
|
}
|
|
10107
|
-
l.value = !0, await
|
|
10107
|
+
l.value = !0, await he(), p.setState({ schema: x }), p.resetForm(), y && p.setValues(y, !1), s.value = !1;
|
|
10108
10108
|
}
|
|
10109
10109
|
});
|
|
10110
10110
|
const u = async () => {
|
|
@@ -10183,7 +10183,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10183
10183
|
A.warning(n("assSendoa.selectDeleteRecords"));
|
|
10184
10184
|
return;
|
|
10185
10185
|
}
|
|
10186
|
-
|
|
10186
|
+
ve.confirm({
|
|
10187
10187
|
title: n("assSendoa.confirmDelete"),
|
|
10188
10188
|
content: n("assSendoa.confirmDeleteMultiple", {
|
|
10189
10189
|
count: R.length
|
|
@@ -10227,7 +10227,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10227
10227
|
t.value.editInit(R);
|
|
10228
10228
|
break;
|
|
10229
10229
|
case "assSendoa/del":
|
|
10230
|
-
|
|
10230
|
+
ve.confirm({
|
|
10231
10231
|
title: n("assSendoa.confirmDelete"),
|
|
10232
10232
|
content: n("assSendoa.confirmDeleteSingle", {
|
|
10233
10233
|
cModnumb: R.cModnumb
|
|
@@ -10450,7 +10450,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10450
10450
|
A.warning(t("ggcxtc.selectDeleteRecords"));
|
|
10451
10451
|
return;
|
|
10452
10452
|
}
|
|
10453
|
-
|
|
10453
|
+
ve.confirm({
|
|
10454
10454
|
title: t("ggcxtc.confirmDelete"),
|
|
10455
10455
|
content: t("ggcxtc.confirmDeleteMultiple", {
|
|
10456
10456
|
count: M.length
|
|
@@ -10500,7 +10500,7 @@ const Wi = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
|
|
|
10500
10500
|
a.value = M.cNum, l.value = !0;
|
|
10501
10501
|
break;
|
|
10502
10502
|
case "ggcxtc/del":
|
|
10503
|
-
|
|
10503
|
+
ve.confirm({
|
|
10504
10504
|
title: t("ggcxtc.confirmDelete"),
|
|
10505
10505
|
content: t("ggcxtc.confirmDeleteSingle", {
|
|
10506
10506
|
cTitle: M.cTitle
|
|
@@ -11312,7 +11312,7 @@ const gd = /* @__PURE__ */ X({
|
|
|
11312
11312
|
return;
|
|
11313
11313
|
}
|
|
11314
11314
|
const W = E[0];
|
|
11315
|
-
|
|
11315
|
+
ve.confirm({
|
|
11316
11316
|
title: t("common.confirm"),
|
|
11317
11317
|
content: t("otherPermissions.delConfirm"),
|
|
11318
11318
|
okText: t("common.confirm"),
|
|
@@ -11380,7 +11380,7 @@ const Cd = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pd
|
|
|
11380
11380
|
}, Ud = { class: "flex items-center gap-3" }, Bd = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, qd = { class: "flex items-center gap-3" }, Kd = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, Wd = { class: "flex items-center justify-between" }, Gd = { class: "text-sm text-[var(--color-text-1)]" }, Hd = { class: "text-xs text-[var(--color-text-4)] mt-0.5" }, Jd = { class: "shrink-0 p-2 bg-[var(--color-bg-2)] border-t border-[var(--color-border-1)]" }, Qd = { class: "flex justify-end" }, vf = /* @__PURE__ */ X({
|
|
11381
11381
|
__name: "SystemSetting",
|
|
11382
11382
|
setup(e) {
|
|
11383
|
-
const { t } = ft(), n = C(!1), o = C(!1), l =
|
|
11383
|
+
const { t } = ft(), n = C(!1), o = C(!1), l = ye({
|
|
11384
11384
|
initialPassword: "",
|
|
11385
11385
|
weakPasswords: [],
|
|
11386
11386
|
showSubMenuIcon: !0,
|
|
@@ -11926,7 +11926,7 @@ function Jo({
|
|
|
11926
11926
|
};
|
|
11927
11927
|
}
|
|
11928
11928
|
return V;
|
|
11929
|
-
}), k =
|
|
11929
|
+
}), k = ye({
|
|
11930
11930
|
id: "meta-grid",
|
|
11931
11931
|
columns: y(t),
|
|
11932
11932
|
data: [],
|
|
@@ -11981,8 +11981,8 @@ const om = /* @__PURE__ */ X({
|
|
|
11981
11981
|
tableEditRules: Go,
|
|
11982
11982
|
tableToolbarButtons: Ho
|
|
11983
11983
|
});
|
|
11984
|
-
ue(() => n.visible, (f) => {
|
|
11985
|
-
f && (a.resetForm(), a.setValues({
|
|
11984
|
+
ue(() => n.visible, async (f) => {
|
|
11985
|
+
f && (await he(), a.resetForm(), a.setValues({
|
|
11986
11986
|
parentName: n.parentName || "无"
|
|
11987
11987
|
}), r.reloadData([]));
|
|
11988
11988
|
});
|
|
@@ -12074,7 +12074,7 @@ function Qo({
|
|
|
12074
12074
|
const c = cn([]), u = C([]);
|
|
12075
12075
|
return t.forEach((d, h) => {
|
|
12076
12076
|
if (d.type === "grid" && d.gridConfig) {
|
|
12077
|
-
const y =
|
|
12077
|
+
const y = ye({
|
|
12078
12078
|
id: `grid-${h}`,
|
|
12079
12079
|
columns: d.gridConfig.columns,
|
|
12080
12080
|
data: [],
|
|
@@ -12141,7 +12141,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
12141
12141
|
});
|
|
12142
12142
|
ue(() => o.visible, async (u) => {
|
|
12143
12143
|
if (u && o.row) {
|
|
12144
|
-
await
|
|
12144
|
+
await he(), r.resetForm(), p.value[0].reloadData([]);
|
|
12145
12145
|
try {
|
|
12146
12146
|
const h = (await B.post("/core/authDict/editInit", {
|
|
12147
12147
|
authDict: {
|
|
@@ -12383,7 +12383,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
12383
12383
|
return;
|
|
12384
12384
|
}
|
|
12385
12385
|
const S = z[0];
|
|
12386
|
-
|
|
12386
|
+
ve.confirm({
|
|
12387
12387
|
title: "确认删除",
|
|
12388
12388
|
content: `确定要删除「${S.cName}」吗?`,
|
|
12389
12389
|
okText: "确定",
|
|
@@ -12649,8 +12649,8 @@ const nm = /* @__PURE__ */ X({
|
|
|
12649
12649
|
tableEditRules: Zo,
|
|
12650
12650
|
tableToolbarButtons: en
|
|
12651
12651
|
});
|
|
12652
|
-
ue(() => n.visible, (f) => {
|
|
12653
|
-
f && (a.resetForm(), a.setValues({
|
|
12652
|
+
ue(() => n.visible, async (f) => {
|
|
12653
|
+
f && (await he(), a.resetForm(), a.setValues({
|
|
12654
12654
|
parentName: n.parentName || "无"
|
|
12655
12655
|
}), r.reloadData([]));
|
|
12656
12656
|
});
|
|
@@ -12720,7 +12720,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
12720
12720
|
});
|
|
12721
12721
|
ue(() => o.visible, async (u) => {
|
|
12722
12722
|
if (u && o.row) {
|
|
12723
|
-
await
|
|
12723
|
+
await he(), r.resetForm(), p.value[0].reloadData([]);
|
|
12724
12724
|
try {
|
|
12725
12725
|
const h = (await B.post("/core/authDict/editInit", {
|
|
12726
12726
|
authDict: {
|
|
@@ -12959,7 +12959,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
12959
12959
|
return;
|
|
12960
12960
|
}
|
|
12961
12961
|
const S = z[0];
|
|
12962
|
-
|
|
12962
|
+
ve.confirm({
|
|
12963
12963
|
title: "确认删除",
|
|
12964
12964
|
content: `确定要删除「${S.cName}」吗?`,
|
|
12965
12965
|
okText: "确定",
|
|
@@ -13273,7 +13273,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13273
13273
|
}, f = async (h) => {
|
|
13274
13274
|
a.value = "edit";
|
|
13275
13275
|
const y = await B.post("/core/authUser/queryById", { authUser: { id: h.id } });
|
|
13276
|
-
l.value = !0, await
|
|
13276
|
+
l.value = !0, await he(), b.setState({ schema: p }), b.resetForm(), y.code === 200 && b.setValues({
|
|
13277
13277
|
...y.result,
|
|
13278
13278
|
nMainAccount: y.result.nMainAccount.toString(),
|
|
13279
13279
|
nOuterUser: y.result.nOuterUser.toString()
|
|
@@ -13399,7 +13399,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13399
13399
|
t({
|
|
13400
13400
|
openInit: async (w) => {
|
|
13401
13401
|
const O = await B.post("/core/authUser/queryUserRole", { authUser: { id: w.id } }), L = O.code === 200 ? O.result : [];
|
|
13402
|
-
a.value = !0, await
|
|
13402
|
+
a.value = !0, await he(), b.setState({ schema: p }), b.resetForm(), b.setValues({
|
|
13403
13403
|
cUsernumb: w.cUsernumb,
|
|
13404
13404
|
cUsername: w.cUsername
|
|
13405
13405
|
}), c.reloadData(L);
|
|
@@ -13504,7 +13504,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13504
13504
|
t({
|
|
13505
13505
|
openInit: async (h) => {
|
|
13506
13506
|
const y = await B.post("/core/authUser/queryMac", { cUsernumb: h.cUsernumb }), k = y.code === 200 ? y.result : [];
|
|
13507
|
-
y.code === 200 && (a.value = h), l.value = !0, await
|
|
13507
|
+
y.code === 200 && (a.value = h), l.value = !0, await he(), p.reloadData(k);
|
|
13508
13508
|
}
|
|
13509
13509
|
});
|
|
13510
13510
|
const f = async () => {
|
|
@@ -13694,7 +13694,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13694
13694
|
A.warning(s("common.selectOne"));
|
|
13695
13695
|
return;
|
|
13696
13696
|
}
|
|
13697
|
-
|
|
13697
|
+
ve.confirm({
|
|
13698
13698
|
title: s("common.prompt"),
|
|
13699
13699
|
content: `确定删除选中 ${N.length} 项吗?`,
|
|
13700
13700
|
onBeforeOk: async () => {
|
|
@@ -13717,7 +13717,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13717
13717
|
A.warning(s("common.selectOne"));
|
|
13718
13718
|
return;
|
|
13719
13719
|
}
|
|
13720
|
-
|
|
13720
|
+
ve.confirm({
|
|
13721
13721
|
title: s("common.prompt"),
|
|
13722
13722
|
content: s("user.resetPasswordTips", {
|
|
13723
13723
|
username: N[0].cUsername
|
|
@@ -13735,7 +13735,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13735
13735
|
A.warning(s("common.selectOne"));
|
|
13736
13736
|
return;
|
|
13737
13737
|
}
|
|
13738
|
-
|
|
13738
|
+
ve.confirm({
|
|
13739
13739
|
title: s("common.prompt"),
|
|
13740
13740
|
content: s("user.enableTips", {
|
|
13741
13741
|
username: N[0].cUsername
|
|
@@ -13754,7 +13754,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
13754
13754
|
A.warning(s("common.selectOne"));
|
|
13755
13755
|
return;
|
|
13756
13756
|
}
|
|
13757
|
-
|
|
13757
|
+
ve.confirm({
|
|
13758
13758
|
title: s("common.prompt"),
|
|
13759
13759
|
content: s("user.disableTips", {
|
|
13760
13760
|
username: N[0].cUsername
|
|
@@ -14031,7 +14031,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
14031
14031
|
__name: "RoleAdd",
|
|
14032
14032
|
emits: ["success"],
|
|
14033
14033
|
setup(e, { expose: t, emit: n }) {
|
|
14034
|
-
const { t: o } = de(), l = C(!1), a = C("add"), s = C(), r = C(), b = C(!1), p = n, x =
|
|
14034
|
+
const { t: o } = de(), l = C(!1), a = C("add"), s = C(), r = C(), b = C(!1), p = n, x = ye({
|
|
14035
14035
|
treeData: [],
|
|
14036
14036
|
defaultChecked: [],
|
|
14037
14037
|
expandedKeys: []
|
|
@@ -14177,11 +14177,11 @@ const nm = /* @__PURE__ */ X({
|
|
|
14177
14177
|
}, R = ($, N, T) => {
|
|
14178
14178
|
x.expandedKeys = $;
|
|
14179
14179
|
}, M = async () => {
|
|
14180
|
-
l.value = !0, a.value = "add", k.setState({ schema: P }), k.resetForm(), x.treeData = [], x.defaultChecked = [], x.treeData = [], await
|
|
14180
|
+
l.value = !0, a.value = "add", k.setState({ schema: P }), k.resetForm(), x.treeData = [], x.defaultChecked = [], x.treeData = [], await he(), s.value && s.value.toggleMaximize();
|
|
14181
14181
|
}, I = async ($) => {
|
|
14182
14182
|
b.value = !0, a.value = "edit";
|
|
14183
14183
|
const N = await B.post("/core/authRole/update_init", { authRole: { id: $.id } });
|
|
14184
|
-
if (l.value = !0, await
|
|
14184
|
+
if (l.value = !0, await he(), k.setState({ schema: P }), k.resetForm(), N.code === 200) {
|
|
14185
14185
|
k.setValues(N.result.role, !1), k.updateSchema([{
|
|
14186
14186
|
fieldName: "cRolenumb",
|
|
14187
14187
|
componentProps: { disabled: !0 }
|
|
@@ -14189,7 +14189,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
14189
14189
|
const T = N.result.treeList || [];
|
|
14190
14190
|
x.treeData = O(T), c(x.treeData), x.expandedKeys = [];
|
|
14191
14191
|
}
|
|
14192
|
-
await
|
|
14192
|
+
await he(), s.value && s.value.toggleMaximize(), b.value = !1;
|
|
14193
14193
|
};
|
|
14194
14194
|
t({
|
|
14195
14195
|
addInit: M,
|
|
@@ -14353,7 +14353,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
14353
14353
|
const V = await B.post("/core/authRole/findRoleUser", {
|
|
14354
14354
|
authRole: { id: L.id }
|
|
14355
14355
|
}), R = V.code === 200 ? V.result.authUserList || [] : [];
|
|
14356
|
-
r.value = JSON.parse(JSON.stringify(R)), a.value = !0, await
|
|
14356
|
+
r.value = JSON.parse(JSON.stringify(R)), a.value = !0, await he(), x.setState({ schema: f }), x.resetForm(), x.setValues({
|
|
14357
14357
|
cRolenumb: L.cRolenumb,
|
|
14358
14358
|
cRolename: L.cRolename
|
|
14359
14359
|
}), d.reloadData(R);
|
|
@@ -14486,7 +14486,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
14486
14486
|
A.warning(o("role.selectDeleteRecords"));
|
|
14487
14487
|
return;
|
|
14488
14488
|
}
|
|
14489
|
-
|
|
14489
|
+
ve.confirm({
|
|
14490
14490
|
title: o("common.prompt"),
|
|
14491
14491
|
content: o("role.deleteConfirm", {
|
|
14492
14492
|
count: R.length
|
|
@@ -14974,7 +14974,7 @@ function Ne(e) {
|
|
|
14974
14974
|
arrayToStringFields: f
|
|
14975
14975
|
});
|
|
14976
14976
|
j = $;
|
|
14977
|
-
const N =
|
|
14977
|
+
const N = ye({
|
|
14978
14978
|
id: "OperationLogQuery",
|
|
14979
14979
|
border: !0,
|
|
14980
14980
|
size: "mini",
|
|
@@ -15079,7 +15079,7 @@ function Ne(e) {
|
|
|
15079
15079
|
}
|
|
15080
15080
|
}), T = () => {
|
|
15081
15081
|
ne.commitProxy("query");
|
|
15082
|
-
}, E =
|
|
15082
|
+
}, E = ye({
|
|
15083
15083
|
visible: !1,
|
|
15084
15084
|
billValue: "",
|
|
15085
15085
|
entityTable: "",
|
|
@@ -15253,7 +15253,7 @@ function Pf(e) {
|
|
|
15253
15253
|
}
|
|
15254
15254
|
});
|
|
15255
15255
|
}
|
|
15256
|
-
const d = C(null), h = C([]), { toolbarButtonClick: y, ...k } = l.gridEvents || {}, P =
|
|
15256
|
+
const d = C(null), h = C([]), { toolbarButtonClick: y, ...k } = l.gridEvents || {}, P = ye({
|
|
15257
15257
|
id: "DualListGrid1",
|
|
15258
15258
|
border: !0,
|
|
15259
15259
|
size: "mini",
|
|
@@ -15307,7 +15307,7 @@ function Pf(e) {
|
|
|
15307
15307
|
}
|
|
15308
15308
|
}), w = C(
|
|
15309
15309
|
l.tableColumns.find((F) => [1, 2, 3].includes(F.params?.nBill)) || null
|
|
15310
|
-
), O =
|
|
15310
|
+
), O = ye({
|
|
15311
15311
|
visible: !1,
|
|
15312
15312
|
billValue: "",
|
|
15313
15313
|
entityTable: "",
|
|
@@ -15340,7 +15340,7 @@ function Pf(e) {
|
|
|
15340
15340
|
toolbarButtonClick: V,
|
|
15341
15341
|
...k
|
|
15342
15342
|
}
|
|
15343
|
-
}), I = C(null), j = C([]), { toolbarButtonClick: z, ...S } = a.gridEvents || {}, $ =
|
|
15343
|
+
}), I = C(null), j = C([]), { toolbarButtonClick: z, ...S } = a.gridEvents || {}, $ = ye({
|
|
15344
15344
|
id: "DualListGrid2",
|
|
15345
15345
|
border: !0,
|
|
15346
15346
|
size: "mini",
|
|
@@ -15607,7 +15607,7 @@ function Tf({
|
|
|
15607
15607
|
...P.customConfig,
|
|
15608
15608
|
visibleMethod: (I) => !(I.column.type === "checkbox" || I.column.type === "seq")
|
|
15609
15609
|
});
|
|
15610
|
-
const w =
|
|
15610
|
+
const w = ye(P);
|
|
15611
15611
|
ue(() => h.value, () => {
|
|
15612
15612
|
w.columns = k(e);
|
|
15613
15613
|
}, { deep: !0 });
|
|
@@ -15802,7 +15802,7 @@ const fp = /* @__PURE__ */ X({
|
|
|
15802
15802
|
}
|
|
15803
15803
|
});
|
|
15804
15804
|
ue(() => t.state.visible, async (w) => {
|
|
15805
|
-
w && (k(), await
|
|
15805
|
+
w && (k(), await he(), await f());
|
|
15806
15806
|
});
|
|
15807
15807
|
async function f() {
|
|
15808
15808
|
o.value = !0;
|