@sunny-base-web/effects 0.8.92 → 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/effects.css +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +169 -169
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
-
import { i18n as oo, useI18n as ft, loadLocaleMessages as wn, $t as
|
|
5
|
+
import { i18n as oo, useI18n as ft, loadLocaleMessages as wn, $t as Re } from "@sunny-base-web/locales";
|
|
6
6
|
import Ae from "axios";
|
|
7
7
|
export * from "axios";
|
|
8
8
|
import nt from "qs";
|
|
@@ -1191,14 +1191,14 @@ function ko(e, t) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
1193
|
const Do = /* @__PURE__ */ Symbol("EFFECTS_CONFIG");
|
|
1194
|
-
let
|
|
1195
|
-
const Jp = (e) => (
|
|
1194
|
+
let Pe = {};
|
|
1195
|
+
const Jp = (e) => (Pe = { ...e }, {
|
|
1196
1196
|
install(t) {
|
|
1197
1197
|
t.provide(Do, e);
|
|
1198
1198
|
}
|
|
1199
1199
|
}), zo = () => To(Do, {});
|
|
1200
1200
|
function _o(e) {
|
|
1201
|
-
const t = new pn(), n =
|
|
1201
|
+
const t = new pn(), n = Pe.publicKey || "";
|
|
1202
1202
|
return t.setPublicKey(n), t.encrypt(e);
|
|
1203
1203
|
}
|
|
1204
1204
|
const Ks = ({
|
|
@@ -1547,11 +1547,11 @@ function sa(e, t) {
|
|
|
1547
1547
|
A.warning(b || "登录已过期,请重新登录");
|
|
1548
1548
|
const p = Ie(), x = no(), f = Kt();
|
|
1549
1549
|
p.setAccessToken(null), await x.logout(), f.tabs = [], f.cachedTabs = /* @__PURE__ */ new Set();
|
|
1550
|
-
const c = window.location.hash.slice(1) || "/", u =
|
|
1550
|
+
const c = window.location.hash.slice(1) || "/", u = Pe.app?.loginPath || "/auth/login", d = c !== u ? `${u}?redirect=${encodeURIComponent(c)}` : u;
|
|
1551
1551
|
window.location.hash = d;
|
|
1552
1552
|
return;
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1554
|
+
Pe.onBusinessError ? await Pe.onBusinessError(r, b) : A.error(b || "操作失败");
|
|
1555
1555
|
}
|
|
1556
1556
|
async function a() {
|
|
1557
1557
|
const r = Ie(), p = (await na()).data;
|
|
@@ -1563,7 +1563,7 @@ function sa(e, t) {
|
|
|
1563
1563
|
return n.addRequestInterceptor({
|
|
1564
1564
|
fulfilled: async (r) => {
|
|
1565
1565
|
let b = null;
|
|
1566
|
-
return
|
|
1566
|
+
return Pe.cookieTokenKey && (b = gn(Pe.cookieTokenKey)), console.log("addRequestInterceptor"), console.log("globalConfig.cookieTokenKey" + Pe.cookieTokenKey), b || (b = Ie().accessToken), r.headers.Authorization = s(b), r.headers["Accept-Language"] = Pe.locale, Pe.apiPrefix && (r.baseURL = Pe.apiPrefix), r;
|
|
1567
1567
|
}
|
|
1568
1568
|
}), n.addResponseInterceptor(
|
|
1569
1569
|
Hs({
|
|
@@ -1582,7 +1582,7 @@ function sa(e, t) {
|
|
|
1582
1582
|
client: n,
|
|
1583
1583
|
doReAuthenticate: o,
|
|
1584
1584
|
doRefreshToken: a,
|
|
1585
|
-
enableRefreshToken:
|
|
1585
|
+
enableRefreshToken: Pe.enableRefreshToken ?? !1,
|
|
1586
1586
|
// 是否启用自动刷新 Token
|
|
1587
1587
|
formatToken: s
|
|
1588
1588
|
})
|
|
@@ -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: "",
|
|
@@ -1630,8 +1630,8 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1630
1630
|
}, L = () => {
|
|
1631
1631
|
const K = document.querySelector(".d-01"), F = document.querySelector(".d-02");
|
|
1632
1632
|
!K || !F || (window.onresize = () => {
|
|
1633
|
-
const Z = document.body.clientWidth, oe = document.body.clientHeight, te = 26 / (1366 / 657),
|
|
1634
|
-
K.style.transform = `rotate(${
|
|
1633
|
+
const Z = document.body.clientWidth, oe = document.body.clientHeight, te = 26 / (1366 / 657), se = Z / oe * te;
|
|
1634
|
+
K.style.transform = `rotate(${se}deg)`, F.style.transform = `rotate(${se}deg)`;
|
|
1635
1635
|
}, setInterval(() => {
|
|
1636
1636
|
K.style.transition = ".6s", K.style.left = "22.3%", K.style.top = "98%", F.style.transition = ".6s", F.style.left = "95.3%", F.style.top = "-18%", setTimeout(() => {
|
|
1637
1637
|
K.style.transition = "0s", K.style.opacity = "0", F.style.transition = "0s", F.style.opacity = "0";
|
|
@@ -1669,16 +1669,16 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1669
1669
|
const K = new Promise((Z, oe) => {
|
|
1670
1670
|
Ae.post("http://127.0.0.1:19101").then((te) => {
|
|
1671
1671
|
console.log("1", te);
|
|
1672
|
-
const
|
|
1673
|
-
Z([
|
|
1672
|
+
const se = te.data;
|
|
1673
|
+
Z([se]);
|
|
1674
1674
|
}).catch((te) => {
|
|
1675
1675
|
oe(te);
|
|
1676
1676
|
});
|
|
1677
1677
|
}), F = new Promise((Z, oe) => {
|
|
1678
1678
|
Ae.post("http://127.0.0.1:29101").then((te) => {
|
|
1679
1679
|
console.log("2", te);
|
|
1680
|
-
const
|
|
1681
|
-
Z([
|
|
1680
|
+
const se = te.data;
|
|
1681
|
+
Z([se]);
|
|
1682
1682
|
}).catch((te) => {
|
|
1683
1683
|
oe(te);
|
|
1684
1684
|
});
|
|
@@ -1707,69 +1707,69 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1707
1707
|
} else
|
|
1708
1708
|
j("NetworkAdapter." + K + ".PhysicalAddress"), p.value.push(K), r.macAddress = p.value.join(",");
|
|
1709
1709
|
}, S = () => {
|
|
1710
|
-
const K = new Promise((te,
|
|
1710
|
+
const K = new Promise((te, se) => {
|
|
1711
1711
|
Ae.get("http://localhost:19101/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
|
|
1712
1712
|
const me = Y.data;
|
|
1713
1713
|
if (M() === "mac")
|
|
1714
1714
|
te(me);
|
|
1715
1715
|
else if (me.Code == 0) {
|
|
1716
|
-
const ke = me.Win32_NetworkAdapter.map((
|
|
1716
|
+
const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
|
|
1717
1717
|
te(ke);
|
|
1718
1718
|
} else
|
|
1719
|
-
|
|
1719
|
+
se(Y);
|
|
1720
1720
|
}).catch((Y) => {
|
|
1721
|
-
|
|
1721
|
+
se(Y);
|
|
1722
1722
|
});
|
|
1723
|
-
}), F = new Promise((te,
|
|
1723
|
+
}), F = new Promise((te, se) => {
|
|
1724
1724
|
Ae.get("http://localhost:29101/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
|
|
1725
1725
|
const me = Y.data;
|
|
1726
1726
|
if (M() === "mac")
|
|
1727
1727
|
te(me);
|
|
1728
1728
|
else if (me.Code == 0) {
|
|
1729
|
-
const ke = me.Win32_NetworkAdapter.map((
|
|
1729
|
+
const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
|
|
1730
1730
|
te(ke);
|
|
1731
1731
|
} else
|
|
1732
|
-
|
|
1732
|
+
se(Y);
|
|
1733
1733
|
}).catch((Y) => {
|
|
1734
|
-
|
|
1734
|
+
se(Y);
|
|
1735
1735
|
});
|
|
1736
|
-
}), Z = new Promise((te,
|
|
1736
|
+
}), Z = new Promise((te, se) => {
|
|
1737
1737
|
Ae.get("https://localhost:19102/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
|
|
1738
1738
|
const me = Y.data;
|
|
1739
1739
|
if (M() === "mac")
|
|
1740
1740
|
te(me);
|
|
1741
1741
|
else if (me.Code == 0) {
|
|
1742
|
-
const ke = me.Win32_NetworkAdapter.map((
|
|
1742
|
+
const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
|
|
1743
1743
|
te(ke);
|
|
1744
1744
|
} else
|
|
1745
|
-
|
|
1745
|
+
se(Y);
|
|
1746
1746
|
}).catch((Y) => {
|
|
1747
|
-
|
|
1747
|
+
se(Y);
|
|
1748
1748
|
});
|
|
1749
|
-
}), oe = new Promise((te,
|
|
1749
|
+
}), oe = new Promise((te, se) => {
|
|
1750
1750
|
Ae.get("https://localhost:29102/getmac?select=c2VsZWN0ICogZnJvbSBXaW4zMl9OZXR3b3JrQWRhcHRlcg==").then((Y) => {
|
|
1751
1751
|
const me = Y.data;
|
|
1752
1752
|
if (M() === "mac")
|
|
1753
1753
|
te(me);
|
|
1754
1754
|
else if (me.Code == 0) {
|
|
1755
|
-
const ke = me.Win32_NetworkAdapter.map((
|
|
1755
|
+
const ke = me.Win32_NetworkAdapter.map((ae) => ae.MACAddress).filter((ae) => !!ae);
|
|
1756
1756
|
te(ke);
|
|
1757
1757
|
} else
|
|
1758
|
-
|
|
1758
|
+
se(Y);
|
|
1759
1759
|
}).catch((Y) => {
|
|
1760
|
-
|
|
1760
|
+
se(Y);
|
|
1761
1761
|
});
|
|
1762
1762
|
});
|
|
1763
1763
|
Promise.any([K, F, Z, oe]).then((te) => {
|
|
1764
1764
|
p.value = te, r.macAddress = te.join(",");
|
|
1765
1765
|
}).catch(() => {
|
|
1766
1766
|
let te;
|
|
1767
|
-
const
|
|
1767
|
+
const se = setInterval(() => {
|
|
1768
1768
|
try {
|
|
1769
1769
|
te = ko();
|
|
1770
1770
|
} catch {
|
|
1771
1771
|
}
|
|
1772
|
-
te && (j("NetworkAdapter.Count"), clearInterval(
|
|
1772
|
+
te && (j("NetworkAdapter.Count"), clearInterval(se));
|
|
1773
1773
|
}, 500);
|
|
1774
1774
|
});
|
|
1775
1775
|
}, $ = async () => {
|
|
@@ -1791,16 +1791,16 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1791
1791
|
}, N = Ie(), T = async () => {
|
|
1792
1792
|
f.value = !0;
|
|
1793
1793
|
try {
|
|
1794
|
-
const { username: K, password: F, macAddress: Z, cVerificationCode: oe, systemSign: te } = r,
|
|
1794
|
+
const { username: K, password: F, macAddress: Z, cVerificationCode: oe, systemSign: te } = r, se = await aa({
|
|
1795
1795
|
username: K.trim(),
|
|
1796
1796
|
password: _o(F) || "",
|
|
1797
1797
|
macAddress: Z,
|
|
1798
1798
|
cVerificationCode: oe,
|
|
1799
1799
|
systemSign: te && _o(te) || ""
|
|
1800
1800
|
});
|
|
1801
|
-
if (
|
|
1802
|
-
const Y =
|
|
1803
|
-
N.setAccessToken(Y),
|
|
1801
|
+
if (console.log("Login response:", se), console.log("globalConfig.cookieTokenKey", Pe.cookieTokenKey), se.code === 0 || se.success) {
|
|
1802
|
+
const Y = se.result?.token || se.result;
|
|
1803
|
+
N.setAccessToken(Y), Pe.cookieTokenKey && vn(Pe.cookieTokenKey, Y), n("login", se.result);
|
|
1804
1804
|
}
|
|
1805
1805
|
} catch (K) {
|
|
1806
1806
|
console.error(K);
|
|
@@ -1831,7 +1831,7 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1831
1831
|
}), Bt(() => {
|
|
1832
1832
|
document.removeEventListener("click", ne);
|
|
1833
1833
|
}), (K, F) => {
|
|
1834
|
-
const Z = D("a-input"), oe = D("a-form-item"), te = D("a-input-password"),
|
|
1834
|
+
const Z = D("a-input"), oe = D("a-form-item"), te = D("a-input-password"), se = D("a-option"), Y = D("a-select"), me = D("a-button"), ke = D("a-form");
|
|
1835
1835
|
return _(), U("div", ia, [
|
|
1836
1836
|
g("div", {
|
|
1837
1837
|
class: "bg-01",
|
|
@@ -1882,11 +1882,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1882
1882
|
default: v(() => [
|
|
1883
1883
|
i(Z, {
|
|
1884
1884
|
modelValue: r.username,
|
|
1885
|
-
"onUpdate:modelValue": F[0] || (F[0] = (
|
|
1885
|
+
"onUpdate:modelValue": F[0] || (F[0] = (ae) => r.username = ae),
|
|
1886
1886
|
tabindex: "1",
|
|
1887
1887
|
placeholder: K.$t("请输入账号"),
|
|
1888
|
-
onFocus: F[1] || (F[1] = (
|
|
1889
|
-
onBlur: F[2] || (F[2] = (
|
|
1888
|
+
onFocus: F[1] || (F[1] = (ae) => c.value = 0),
|
|
1889
|
+
onBlur: F[2] || (F[2] = (ae) => c.value = -1),
|
|
1890
1890
|
"allow-clear": ""
|
|
1891
1891
|
}, {
|
|
1892
1892
|
prefix: v(() => [
|
|
@@ -1911,11 +1911,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1911
1911
|
ref_key: "pwdInputRef",
|
|
1912
1912
|
ref: s,
|
|
1913
1913
|
modelValue: r.password,
|
|
1914
|
-
"onUpdate:modelValue": F[3] || (F[3] = (
|
|
1914
|
+
"onUpdate:modelValue": F[3] || (F[3] = (ae) => r.password = ae),
|
|
1915
1915
|
tabindex: "2",
|
|
1916
1916
|
placeholder: K.$t("请输入密码"),
|
|
1917
|
-
onFocus: F[4] || (F[4] = (
|
|
1918
|
-
onBlur: F[5] || (F[5] = (
|
|
1917
|
+
onFocus: F[4] || (F[4] = (ae) => c.value = 1),
|
|
1918
|
+
onBlur: F[5] || (F[5] = (ae) => c.value = -1),
|
|
1919
1919
|
"allow-clear": ""
|
|
1920
1920
|
}, {
|
|
1921
1921
|
prefix: v(() => [
|
|
@@ -1934,12 +1934,12 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1934
1934
|
default: v(() => [
|
|
1935
1935
|
i(Y, {
|
|
1936
1936
|
modelValue: k.value,
|
|
1937
|
-
"onUpdate:modelValue": F[6] || (F[6] = (
|
|
1937
|
+
"onUpdate:modelValue": F[6] || (F[6] = (ae) => k.value = ae),
|
|
1938
1938
|
placeholder: K.$t("请选择语言"),
|
|
1939
1939
|
style: { width: "100%" },
|
|
1940
1940
|
onChange: O,
|
|
1941
|
-
onFocus: F[7] || (F[7] = (
|
|
1942
|
-
onBlur: F[8] || (F[8] = (
|
|
1941
|
+
onFocus: F[7] || (F[7] = (ae) => c.value = 2),
|
|
1942
|
+
onBlur: F[8] || (F[8] = (ae) => c.value = -1)
|
|
1943
1943
|
}, {
|
|
1944
1944
|
prefix: v(() => [
|
|
1945
1945
|
g("div", {
|
|
@@ -1949,10 +1949,10 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1949
1949
|
], 2)
|
|
1950
1950
|
]),
|
|
1951
1951
|
default: v(() => [
|
|
1952
|
-
(_(!0), U(le, null, re(x.value, (
|
|
1953
|
-
key:
|
|
1954
|
-
label:
|
|
1955
|
-
value:
|
|
1952
|
+
(_(!0), U(le, null, re(x.value, (ae) => (_(), J(se, {
|
|
1953
|
+
key: ae.id,
|
|
1954
|
+
label: ae.cName,
|
|
1955
|
+
value: ae.cXuhao
|
|
1956
1956
|
}, null, 8, ["label", "value"]))), 128))
|
|
1957
1957
|
]),
|
|
1958
1958
|
_: 1
|
|
@@ -1967,11 +1967,11 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
1967
1967
|
default: v(() => [
|
|
1968
1968
|
i(Z, {
|
|
1969
1969
|
modelValue: r.macAddress,
|
|
1970
|
-
"onUpdate:modelValue": F[9] || (F[9] = (
|
|
1970
|
+
"onUpdate:modelValue": F[9] || (F[9] = (ae) => r.macAddress = ae),
|
|
1971
1971
|
readonly: "",
|
|
1972
1972
|
placeholder: K.$t("MAC地址"),
|
|
1973
|
-
onFocus: F[10] || (F[10] = (
|
|
1974
|
-
onBlur: F[11] || (F[11] = (
|
|
1973
|
+
onFocus: F[10] || (F[10] = (ae) => c.value = 3),
|
|
1974
|
+
onBlur: F[11] || (F[11] = (ae) => c.value = -1)
|
|
1975
1975
|
}, {
|
|
1976
1976
|
prefix: v(() => [
|
|
1977
1977
|
g("div", {
|
|
@@ -2053,7 +2053,7 @@ const ia = { class: "login-container" }, ca = ["src"], ua = ["src"], da = { clas
|
|
|
2053
2053
|
for (const [o, l] of t)
|
|
2054
2054
|
n[o] = l;
|
|
2055
2055
|
return n;
|
|
2056
|
-
}, Zp = /* @__PURE__ */ xe(ka, [["__scopeId", "data-v-
|
|
2056
|
+
}, Zp = /* @__PURE__ */ xe(ka, [["__scopeId", "data-v-d589f167"]]);
|
|
2057
2057
|
async function _a(e) {
|
|
2058
2058
|
return B.post("/core/authResource/findMenuAll", e);
|
|
2059
2059
|
}
|
|
@@ -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: []
|
|
@@ -14150,7 +14150,7 @@ const nm = /* @__PURE__ */ X({
|
|
|
14150
14150
|
const ne = (F, Z) => {
|
|
14151
14151
|
for (const oe of F)
|
|
14152
14152
|
if (oe.children) {
|
|
14153
|
-
if (oe.children.some((
|
|
14153
|
+
if (oe.children.some((se) => se.id === Z))
|
|
14154
14154
|
return oe;
|
|
14155
14155
|
const te = ne(oe.children, Z);
|
|
14156
14156
|
if (te)
|
|
@@ -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",
|
|
@@ -15072,14 +15072,14 @@ function Ne(e) {
|
|
|
15072
15072
|
ajax: {
|
|
15073
15073
|
// sorts: [{ field: string, order: 'asc' | 'desc' }] 列配置需开启 sortable: true
|
|
15074
15074
|
query: async ({ page: Y, sorts: me }, ke) => {
|
|
15075
|
-
const
|
|
15076
|
-
return a({ page: Y, formValues:
|
|
15075
|
+
const ae = await $.getValues();
|
|
15076
|
+
return a({ page: Y, formValues: ae, filterValues: ke, sorts: me });
|
|
15077
15077
|
}
|
|
15078
15078
|
}
|
|
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: "",
|
|
@@ -15088,7 +15088,7 @@ function Ne(e) {
|
|
|
15088
15088
|
}), W = (Y) => {
|
|
15089
15089
|
const me = Y.$grid.getCheckboxRecords();
|
|
15090
15090
|
if (me.length !== 1) {
|
|
15091
|
-
A.warning(
|
|
15091
|
+
A.warning(Re("common.selectOne"));
|
|
15092
15092
|
return;
|
|
15093
15093
|
}
|
|
15094
15094
|
const ke = me[0];
|
|
@@ -15157,7 +15157,7 @@ function Ne(e) {
|
|
|
15157
15157
|
}
|
|
15158
15158
|
const oe = C([]), te = C(
|
|
15159
15159
|
n.find((Y) => [1, 2, 3].includes(Y.params?.nBill)) || null
|
|
15160
|
-
),
|
|
15160
|
+
), se = async () => {
|
|
15161
15161
|
if (!L) {
|
|
15162
15162
|
console.warn("[useList] 未配置 cModnumb,跳过资源获取");
|
|
15163
15163
|
return;
|
|
@@ -15167,16 +15167,16 @@ function Ne(e) {
|
|
|
15167
15167
|
if (Y.code === 200 && Y.result) {
|
|
15168
15168
|
const { resButtonList: me } = Yt(Y.result);
|
|
15169
15169
|
oe.value = me?.searchTable || [];
|
|
15170
|
-
const ke = oe.value.filter((
|
|
15170
|
+
const ke = oe.value.filter((ae) => !ae.cSubArea);
|
|
15171
15171
|
te.value && ke.push({
|
|
15172
|
-
label:
|
|
15172
|
+
label: Re("common.queryBusinessHistory"),
|
|
15173
15173
|
handle: "operationLog/FindBusiness",
|
|
15174
15174
|
icon: "sunnyfont baseicon-record",
|
|
15175
15175
|
order: "",
|
|
15176
15176
|
loading: !1,
|
|
15177
15177
|
size: "mini",
|
|
15178
15178
|
billColumn: te.value,
|
|
15179
|
-
name:
|
|
15179
|
+
name: Re("common.queryBusinessHistory"),
|
|
15180
15180
|
code: "operationLog/FindBusiness",
|
|
15181
15181
|
params: JSON.stringify({ billColumn: te.value })
|
|
15182
15182
|
}), ke.length > 0 && (N.toolbarConfig = {
|
|
@@ -15189,7 +15189,7 @@ function Ne(e) {
|
|
|
15189
15189
|
}
|
|
15190
15190
|
};
|
|
15191
15191
|
return Te(() => {
|
|
15192
|
-
|
|
15192
|
+
se();
|
|
15193
15193
|
}), {
|
|
15194
15194
|
QueryForm: S,
|
|
15195
15195
|
formApi: $,
|
|
@@ -15206,7 +15206,7 @@ function Ne(e) {
|
|
|
15206
15206
|
businessResumeState: E,
|
|
15207
15207
|
handleSearchPlanSearch: K,
|
|
15208
15208
|
handleDefaultPlanLoaded: F,
|
|
15209
|
-
fetchResourceConfig:
|
|
15209
|
+
fetchResourceConfig: se
|
|
15210
15210
|
};
|
|
15211
15211
|
}
|
|
15212
15212
|
function Pf(e) {
|
|
@@ -15223,7 +15223,7 @@ function Pf(e) {
|
|
|
15223
15223
|
let Z;
|
|
15224
15224
|
const { enhancedSchema: oe } = Ze(F, {
|
|
15225
15225
|
onAutoSelect: (Y) => et(Y, Z)
|
|
15226
|
-
}), [te,
|
|
15226
|
+
}), [te, se] = Oe({
|
|
15227
15227
|
layout: "vertical",
|
|
15228
15228
|
size: "mini",
|
|
15229
15229
|
gridProps: { xGap: 8, yGap: 8, collapsedRows: 1 },
|
|
@@ -15239,7 +15239,7 @@ function Pf(e) {
|
|
|
15239
15239
|
fieldMappingTime: o.fieldMappingTime,
|
|
15240
15240
|
arrayToStringFields: o.arrayToStringFields
|
|
15241
15241
|
});
|
|
15242
|
-
Z =
|
|
15242
|
+
Z = se, c = te, u = se, u.setState({
|
|
15243
15243
|
handleSubmit: async () => {
|
|
15244
15244
|
f.value = !0;
|
|
15245
15245
|
try {
|
|
@@ -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: "",
|
|
@@ -15316,7 +15316,7 @@ function Pf(e) {
|
|
|
15316
15316
|
}), L = (F) => {
|
|
15317
15317
|
const Z = F.$grid.getCheckboxRecords();
|
|
15318
15318
|
if (Z.length !== 1) {
|
|
15319
|
-
A.warning(
|
|
15319
|
+
A.warning(Re("common.selectOne"));
|
|
15320
15320
|
return;
|
|
15321
15321
|
}
|
|
15322
15322
|
const oe = Z[0];
|
|
@@ -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",
|
|
@@ -15386,8 +15386,8 @@ function Pf(e) {
|
|
|
15386
15386
|
response: { result: "result.records", total: "result.total" },
|
|
15387
15387
|
ajax: {
|
|
15388
15388
|
query: async ({ page: F, sorts: Z }, oe) => {
|
|
15389
|
-
const te = u ? await u.getValues() : {},
|
|
15390
|
-
return a.queryFunction({ page: F, formValues: te, filterValues: oe, sorts: Z, masterRow:
|
|
15389
|
+
const te = u ? await u.getValues() : {}, se = d.value;
|
|
15390
|
+
return a.queryFunction({ page: F, formValues: te, filterValues: oe, sorts: Z, masterRow: se });
|
|
15391
15391
|
}
|
|
15392
15392
|
}
|
|
15393
15393
|
}
|
|
@@ -15450,14 +15450,14 @@ function Pf(e) {
|
|
|
15450
15450
|
if (F.code === 200 && F.result) {
|
|
15451
15451
|
const { resButtonList: Z } = Yt(F.result), oe = Z?.searchTable1 || [], te = Z?.searchTable2 || [];
|
|
15452
15452
|
ee.value = [...oe, ...te], w.value && oe.push({
|
|
15453
|
-
label:
|
|
15453
|
+
label: Re("common.queryBusinessHistory"),
|
|
15454
15454
|
handle: "operationLog/FindBusiness",
|
|
15455
15455
|
icon: "sunnyfont baseicon-record",
|
|
15456
15456
|
order: "",
|
|
15457
15457
|
loading: !1,
|
|
15458
15458
|
size: "mini",
|
|
15459
15459
|
billColumn: w.value,
|
|
15460
|
-
name:
|
|
15460
|
+
name: Re("common.queryBusinessHistory"),
|
|
15461
15461
|
code: "operationLog/FindBusiness",
|
|
15462
15462
|
params: JSON.stringify({ billColumn: w.value })
|
|
15463
15463
|
}), oe.length > 0 && (P.toolbarConfig = {
|
|
@@ -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 });
|
|
@@ -15754,13 +15754,13 @@ const fp = /* @__PURE__ */ X({
|
|
|
15754
15754
|
},
|
|
15755
15755
|
setup(e) {
|
|
15756
15756
|
const t = e, n = C([]), o = C(!1), l = H(() => [
|
|
15757
|
-
{ field: "cDanju", title:
|
|
15758
|
-
{ field: "cDongzuo", title:
|
|
15759
|
-
{ field: "cModname", title:
|
|
15760
|
-
{ field: "cUsername", title:
|
|
15761
|
-
{ field: "dCreate", title:
|
|
15762
|
-
{ field: "cMethod", title:
|
|
15763
|
-
{ field: "cUrl", title:
|
|
15757
|
+
{ field: "cDanju", title: Re("common.businessHistory.billNo"), minWidth: 100 },
|
|
15758
|
+
{ field: "cDongzuo", title: Re("common.businessHistory.action"), minWidth: 80 },
|
|
15759
|
+
{ field: "cModname", title: Re("common.businessHistory.moduleName"), minWidth: 100 },
|
|
15760
|
+
{ field: "cUsername", title: Re("common.businessHistory.operator"), minWidth: 80 },
|
|
15761
|
+
{ field: "dCreate", title: Re("common.businessHistory.operationTime"), minWidth: 150 },
|
|
15762
|
+
{ field: "cMethod", title: Re("common.businessHistory.interfaceMethod"), minWidth: 120 },
|
|
15763
|
+
{ field: "cUrl", title: Re("common.businessHistory.interfaceUrl"), minWidth: 150 }
|
|
15764
15764
|
]), a = C([]), s = C(""), r = C(!1), b = H(() => a.value.find((w) => w.cName === s.value)), p = H(() => {
|
|
15765
15765
|
const w = b.value;
|
|
15766
15766
|
if (!w) return [];
|
|
@@ -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;
|
|
@@ -15860,7 +15860,7 @@ const fp = /* @__PURE__ */ X({
|
|
|
15860
15860
|
return _(), J(I, {
|
|
15861
15861
|
class: "business-resume-modal",
|
|
15862
15862
|
visible: e.state.visible,
|
|
15863
|
-
title: m(
|
|
15863
|
+
title: m(Re)("common.businessHistory.title"),
|
|
15864
15864
|
width: "1000px",
|
|
15865
15865
|
footer: !1,
|
|
15866
15866
|
"mask-closable": !0,
|
|
@@ -16094,7 +16094,7 @@ export {
|
|
|
16094
16094
|
Qt as getOtherPermissionsConfig,
|
|
16095
16095
|
Xt as getRoleConfig,
|
|
16096
16096
|
la as getSlideVerificationCode,
|
|
16097
|
-
|
|
16097
|
+
Pe as globalConfig,
|
|
16098
16098
|
rp as initButtonItem,
|
|
16099
16099
|
ip as initFormItem,
|
|
16100
16100
|
Yt as initResourceConstructor,
|