ss-component-new 1.2.36 → 1.2.38
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/config.js +2 -2
- package/dist/{index-BntUSUuQ.cjs → index-Dp6ZBesB.cjs} +1 -1
- package/dist/{index-DPLITXsJ.js → index-d6sIj10Q.js} +47 -47
- package/dist/ss-component.css +1 -1
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/public/config.js +2 -2
|
@@ -462,14 +462,14 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
462
462
|
}
|
|
463
463
|
VA.setAsideMenus(U), (j == null ? void 0 : j.value) === "未读" && (j.value = "已读", VA.setActiveMenuPath(Cn));
|
|
464
464
|
const X = P.value + eA + o.value, E = P.value;
|
|
465
|
-
await mt(X, X + eA + `updateLoading${((e = S.value) == null ? void 0 : e.account) || ((n = S.value) == null ? void 0 : n.账号)}`),
|
|
465
|
+
await mt(X, X + eA + `updateLoading${((e = S.value) == null ? void 0 : e.account) || ((n = S.value) == null ? void 0 : n.账号)}`), DA.setRouteToChildPath(E), VA.setActiveMenuPath(X + eA + `updateLoading${((C = S.value) == null ? void 0 : C.account) || ((l = S.value) == null ? void 0 : l.账号)}`), VA.setActiveTopMenuPath("消息中心"), console.log("444showItems.value", fe.value);
|
|
466
466
|
} catch (j) {
|
|
467
467
|
console.error("加载菜单或页面时出错:", j);
|
|
468
468
|
}
|
|
469
469
|
})(c);
|
|
470
470
|
}, $A = Hn(XA), { selectTitle: ZA } = IA($A), YA = B(!1), ae = B(), mA = B(null), GA = B(), yA = B(!1), vA = zt(XA), { blobUrls: q } = IA(vA), RA = B(), FA = B(!1), oe = B(!1), be = B(!1), Pe = B([]), pe = B(!1), Ce = B(null), Ae = B(), pA = B(!1), ee = B(!1), ve = B();
|
|
471
471
|
Ye("contentRef", Ce);
|
|
472
|
-
const
|
|
472
|
+
const DA = nn(XA), { isEdit: NA, routeToChildPath: ke } = IA(DA), Ee = aA, VA = tn(XA), { asideMenuLoading: Ke, importLoading: De, activeAsideMenu: xe, contentLoading: UA, platName: f, activeMenuPath: P } = IA(VA), Q = z, p = JA(() => xe.value.isRouter), AA = () => {
|
|
473
473
|
sessionStorage.clear(), window.location.reload();
|
|
474
474
|
}, b = (c) => {
|
|
475
475
|
if ((c == null ? void 0 : c.type) === "table") {
|
|
@@ -654,12 +654,12 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
654
654
|
});
|
|
655
655
|
}, oA = async () => {
|
|
656
656
|
await Bt();
|
|
657
|
-
}, zA = B(!1),
|
|
657
|
+
}, zA = B(!1), WA = B([]), ie = async () => {
|
|
658
658
|
zA.value = !0;
|
|
659
659
|
const c = await yt().finally(() => {
|
|
660
660
|
zA.value = !1;
|
|
661
661
|
});
|
|
662
|
-
|
|
662
|
+
WA.value = c;
|
|
663
663
|
}, Ie = async (c) => {
|
|
664
664
|
c && ie();
|
|
665
665
|
}, ce = async (c) => {
|
|
@@ -749,12 +749,12 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
749
749
|
} catch (E) {
|
|
750
750
|
re.error(E);
|
|
751
751
|
}
|
|
752
|
-
}, Ue = JA(() => St(wA.value, Jt.value)),
|
|
752
|
+
}, Ue = JA(() => St(wA.value, Jt.value)), KA = JA(() => {
|
|
753
753
|
var c, r, x, U;
|
|
754
754
|
return ((c = wA.value) == null ? void 0 : c.length) > 0 && ((r = wA.value) != null && r.every((e) => e == null ? void 0 : e.layout)) ? (U = (x = wA.value) == null ? void 0 : x[0]) == null ? void 0 : U.layout : "vertical";
|
|
755
755
|
}), We = JA(() => {
|
|
756
756
|
var c, r, x;
|
|
757
|
-
return ((c = wA.value) == null ? void 0 : c.length) > 0 && (
|
|
757
|
+
return ((c = wA.value) == null ? void 0 : c.length) > 0 && (KA == null ? void 0 : KA.value) === "horizontal" ? (x = (r = wA.value) == null ? void 0 : r[0]) == null ? void 0 : x.name : "";
|
|
758
758
|
});
|
|
759
759
|
return (c, r) => {
|
|
760
760
|
const x = PA("el-dialog"), U = PA("el-button"), e = PA("el-header"), n = PA("el-splitter-panel"), C = PA("el-splitter"), l = PA("el-container"), j = PA("el-tab-pane"), o = PA("el-tabs"), X = PA("el-aside"), E = PA("router-view"), T = PA("el-step"), O = PA("el-steps"), w = PA("el-image"), H = PA("el-main"), fA = dt("loading");
|
|
@@ -845,7 +845,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
845
845
|
]),
|
|
846
846
|
_: 1
|
|
847
847
|
}),
|
|
848
|
-
A(
|
|
848
|
+
A(NA) === "edit" ? (v(), sA(l, {
|
|
849
849
|
key: 0,
|
|
850
850
|
class: "model-operate"
|
|
851
851
|
}, {
|
|
@@ -921,7 +921,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
921
921
|
]),
|
|
922
922
|
_: 1
|
|
923
923
|
}, 512), [
|
|
924
|
-
[Xe, A(
|
|
924
|
+
[Xe, A(NA) === "edit"]
|
|
925
925
|
]),
|
|
926
926
|
MA((v(), sA(l, {
|
|
927
927
|
class: "client-container",
|
|
@@ -938,7 +938,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
938
938
|
u(cf, { mode: "horizontal" })
|
|
939
939
|
]),
|
|
940
940
|
g("div", Jf, [
|
|
941
|
-
Q != null && Q.showButton && A(
|
|
941
|
+
Q != null && Q.showButton && A(NA) === "view" ? (v(), sA(U, {
|
|
942
942
|
key: 0,
|
|
943
943
|
class: "system-default-button",
|
|
944
944
|
onClick: A(En)
|
|
@@ -960,7 +960,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
960
960
|
onVisibleChange: Ie
|
|
961
961
|
}, {
|
|
962
962
|
dropTitle: i(() => [
|
|
963
|
-
A(
|
|
963
|
+
A(NA) === "view" && z.platform === "client" ? (v(), sA(U, {
|
|
964
964
|
key: 0,
|
|
965
965
|
class: "system-default-button"
|
|
966
966
|
}, {
|
|
@@ -976,7 +976,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
976
976
|
]),
|
|
977
977
|
dropMenu: i(() => [
|
|
978
978
|
MA((v(), y("div", Lf, [
|
|
979
|
-
(v(!0), y(bA, null, SA(
|
|
979
|
+
(v(!0), y(bA, null, SA(WA.value, (k, h) => (v(), y("div", {
|
|
980
980
|
class: "task-item",
|
|
981
981
|
key: h,
|
|
982
982
|
title: k == null ? void 0 : k.name,
|
|
@@ -1191,7 +1191,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1191
1191
|
])) : N("", !0),
|
|
1192
1192
|
g("div", gl, [
|
|
1193
1193
|
p.value ? (v(), sA(E, { key: 0 })) : (v(), y("div", dl, [
|
|
1194
|
-
!A(Ze) && ((cA = A(ct)) == null ? void 0 : cA.length) === 0 ? (v(!0), y(bA, { key: 0 }, SA((lA = A(wA)) == null ? void 0 : lA.filter((s) => s.comp !== "FormTop"), (s, J) => {
|
|
1194
|
+
!A(Ze) && KA.value === "vertical" && ((cA = A(ct)) == null ? void 0 : cA.length) === 0 ? (v(!0), y(bA, { key: 0 }, SA((lA = A(wA)) == null ? void 0 : lA.filter((s) => s.comp !== "FormTop"), (s, J) => {
|
|
1195
1195
|
var ne, ue;
|
|
1196
1196
|
return v(), y("div", {
|
|
1197
1197
|
class: ye((ne = A(dn)) != null && ne.includes(s == null ? void 0 : s.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
@@ -1229,7 +1229,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1229
1229
|
}, null, 40, ["compNames", "compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "config", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger", "onClickMainKey"])) : N("", !0)
|
|
1230
1230
|
], 6);
|
|
1231
1231
|
}), 128)) : N("", !0),
|
|
1232
|
-
!A(Ze) &&
|
|
1232
|
+
!A(Ze) && KA.value === "vertical" && ((m = A(ct)) == null ? void 0 : m.length) > 0 ? (v(), sA(A(Rt), {
|
|
1233
1233
|
key: 1,
|
|
1234
1234
|
layout: Ue.value,
|
|
1235
1235
|
"onUpdate:layout": r[5] || (r[5] = (s) => Ue.value = s),
|
|
@@ -1264,7 +1264,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1264
1264
|
g("div", El, gA((Vn = s == null ? void 0 : s.component) == null ? void 0 : Vn.name), 1)
|
|
1265
1265
|
])) : N("", !0),
|
|
1266
1266
|
A(Ge) ? (v(), sA(Je(A(Le)((qn = s == null ? void 0 : s.component) == null ? void 0 : qn.comp)), {
|
|
1267
|
-
pageLayout:
|
|
1267
|
+
pageLayout: KA.value,
|
|
1268
1268
|
config: {
|
|
1269
1269
|
showIndex: (_n = A(wA)[J]) == null ? void 0 : _n.showIndex,
|
|
1270
1270
|
allowMove: ($n = A(wA)[J]) == null ? void 0 : $n.allowMove,
|
|
@@ -1300,7 +1300,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1300
1300
|
]),
|
|
1301
1301
|
_: 1
|
|
1302
1302
|
}, 8, ["layout", "row-height"])) : N("", !0),
|
|
1303
|
-
!A(Ze) &&
|
|
1303
|
+
!A(Ze) && KA.value === "horizontal" ? (v(), y("div", il, [
|
|
1304
1304
|
u(o, {
|
|
1305
1305
|
modelValue: We.value,
|
|
1306
1306
|
"onUpdate:modelValue": r[6] || (r[6] = (s) => We.value = s),
|
|
@@ -1324,7 +1324,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1324
1324
|
g("div", zl, gA(J.name), 1)
|
|
1325
1325
|
])) : N("", !0),
|
|
1326
1326
|
A(Ge) ? (v(), sA(Je(A(Le)(J.comp)), {
|
|
1327
|
-
pageLayout:
|
|
1327
|
+
pageLayout: KA.value,
|
|
1328
1328
|
compName: J.name,
|
|
1329
1329
|
compNames: A(cn),
|
|
1330
1330
|
isDevMode: z.showButton,
|
|
@@ -1425,7 +1425,7 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1425
1425
|
]))
|
|
1426
1426
|
])
|
|
1427
1427
|
])), [
|
|
1428
|
-
[fA, A(
|
|
1428
|
+
[fA, A(UA)]
|
|
1429
1429
|
]) : (Mn = A(P)) != null && Mn.includes("首页") ? (v(), y("div", Ol, [
|
|
1430
1430
|
u(w, {
|
|
1431
1431
|
src: A(Pf),
|
|
@@ -1457,13 +1457,13 @@ const cf = /* @__PURE__ */ de(Ht, [["render", vf], ["__scopeId", "data-v-0cbc421
|
|
|
1457
1457
|
]),
|
|
1458
1458
|
_: 3
|
|
1459
1459
|
})), [
|
|
1460
|
-
[Xe, A(
|
|
1460
|
+
[Xe, A(NA) === "view"],
|
|
1461
1461
|
[fA, A(De)]
|
|
1462
1462
|
])
|
|
1463
1463
|
], 64);
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
}), Hl = /* @__PURE__ */ de(jl, [["__scopeId", "data-v-
|
|
1466
|
+
}), Hl = /* @__PURE__ */ de(jl, [["__scopeId", "data-v-a9a2f67c"]]), wl = { class: "menu-tree" };
|
|
1467
1467
|
function bl(z, aA, t, L, D, Y) {
|
|
1468
1468
|
const a = PA("el-tree");
|
|
1469
1469
|
return v(), y("div", wl, [
|
|
@@ -1540,7 +1540,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
1540
1540
|
Ye("contentRef", ZA);
|
|
1541
1541
|
const GA = yn(), { loginUserInfo: yA } = IA(GA), vA = nn(XA), { isEdit: q, routeToChildPath: RA } = IA(vA), FA = aA, oe = tn(XA), { asideMenuLoading: be, importLoading: Pe, activeAsideMenu: pe, contentLoading: Ce, platName: Ae, activeMenuPath: pA } = IA(oe), ee = Ft(XA), { data: ve } = IA(ee);
|
|
1542
1542
|
Vt();
|
|
1543
|
-
const
|
|
1543
|
+
const DA = z, NA = JA(() => pe.value.isRouter), ke = () => {
|
|
1544
1544
|
sessionStorage.clear(), window.location.reload();
|
|
1545
1545
|
}, Ee = (e) => {
|
|
1546
1546
|
if ((e == null ? void 0 : e.type) === "table") {
|
|
@@ -1720,15 +1720,15 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
1720
1720
|
});
|
|
1721
1721
|
}, De = async () => {
|
|
1722
1722
|
await Bt();
|
|
1723
|
-
}, xe = B("数据管理"),
|
|
1723
|
+
}, xe = B("数据管理"), UA = B(!1), f = B({
|
|
1724
1724
|
x: 0,
|
|
1725
1725
|
y: 0
|
|
1726
1726
|
}), P = (e) => {
|
|
1727
1727
|
xe.value = e;
|
|
1728
1728
|
}, Q = (e) => {
|
|
1729
|
-
AA(),
|
|
1729
|
+
AA(), UA.value = e;
|
|
1730
1730
|
}, p = () => {
|
|
1731
|
-
Q(!(
|
|
1731
|
+
Q(!(UA != null && UA.value));
|
|
1732
1732
|
}, AA = () => {
|
|
1733
1733
|
f.value = {
|
|
1734
1734
|
x: 0,
|
|
@@ -1748,9 +1748,9 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
1748
1748
|
}, K = () => {
|
|
1749
1749
|
Q(!1);
|
|
1750
1750
|
};
|
|
1751
|
-
Ye("managementPageVisible",
|
|
1751
|
+
Ye("managementPageVisible", UA), Ye("setManagementPageTitle", P), Ye("setManagementPageVisible", Q);
|
|
1752
1752
|
let OA = 0, CA = 0, oA = 0, zA = 0;
|
|
1753
|
-
function
|
|
1753
|
+
function WA(e) {
|
|
1754
1754
|
OA = e.clientX, CA = e.clientY, oA = f.value.x, zA = f.value.y, document.addEventListener("mousemove", ie), document.addEventListener("mouseup", Ie);
|
|
1755
1755
|
}
|
|
1756
1756
|
function ie(e) {
|
|
@@ -1770,10 +1770,10 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
1770
1770
|
}, Ue = (e) => {
|
|
1771
1771
|
const n = e == null ? void 0 : e.label;
|
|
1772
1772
|
P(n), Q(!0);
|
|
1773
|
-
},
|
|
1774
|
-
|
|
1773
|
+
}, KA = B(!1), We = B([]), c = async () => {
|
|
1774
|
+
KA.value = !0;
|
|
1775
1775
|
const e = await yt().finally(() => {
|
|
1776
|
-
|
|
1776
|
+
KA.value = !1;
|
|
1777
1777
|
});
|
|
1778
1778
|
We.value = e;
|
|
1779
1779
|
}, r = async (e) => {
|
|
@@ -1943,8 +1943,8 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
1943
1943
|
"three-data": A(ve),
|
|
1944
1944
|
onGetAnimationData: VA,
|
|
1945
1945
|
windowConfig: z.windowConfig,
|
|
1946
|
-
showButton:
|
|
1947
|
-
platform:
|
|
1946
|
+
showButton: DA == null ? void 0 : DA.showButton,
|
|
1947
|
+
platform: DA == null ? void 0 : DA.platform
|
|
1948
1948
|
}, {
|
|
1949
1949
|
"management-menu": i(() => [
|
|
1950
1950
|
u(gt, {
|
|
@@ -2003,7 +2003,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2003
2003
|
]),
|
|
2004
2004
|
dropMenu: i(() => [
|
|
2005
2005
|
g("div", Wl, [
|
|
2006
|
-
|
|
2006
|
+
KA.value ? (v(), y("div", Ml, " 加载中 ")) : (v(!0), y(bA, { key: 1 }, SA(We.value, (O, w) => (v(), y("div", {
|
|
2007
2007
|
class: "task-item",
|
|
2008
2008
|
key: w,
|
|
2009
2009
|
title: O == null ? void 0 : O.name,
|
|
@@ -2035,7 +2035,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2035
2035
|
name: "yemian",
|
|
2036
2036
|
size: "24",
|
|
2037
2037
|
onClick: p,
|
|
2038
|
-
active:
|
|
2038
|
+
active: UA.value,
|
|
2039
2039
|
title: "数据管理"
|
|
2040
2040
|
}, null, 8, ["active"])
|
|
2041
2041
|
]),
|
|
@@ -2053,7 +2053,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2053
2053
|
}, [
|
|
2054
2054
|
g("div", {
|
|
2055
2055
|
class: "panel-header",
|
|
2056
|
-
onMousedown:
|
|
2056
|
+
onMousedown: WA
|
|
2057
2057
|
}, [
|
|
2058
2058
|
g("span", null, gA(xe.value), 1),
|
|
2059
2059
|
g("span", {
|
|
@@ -2083,8 +2083,8 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2083
2083
|
})
|
|
2084
2084
|
])) : N("", !0),
|
|
2085
2085
|
g("div", Fl, [
|
|
2086
|
-
|
|
2087
|
-
|
|
2086
|
+
NA.value ? (v(), sA(X, { key: 0 })) : N("", !0),
|
|
2087
|
+
NA.value ? N("", !0) : (v(!0), y(bA, { key: 1 }, SA((k = A(fe)) == null ? void 0 : k.filter((d) => d.comp !== "FormTop"), (d, G) => {
|
|
2088
2088
|
var cA;
|
|
2089
2089
|
return v(), y("div", {
|
|
2090
2090
|
class: "item-view-content",
|
|
@@ -2115,7 +2115,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2115
2115
|
}, null, 40, ["compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger"])) : N("", !0)
|
|
2116
2116
|
], 4);
|
|
2117
2117
|
}), 128)),
|
|
2118
|
-
!
|
|
2118
|
+
!NA.value && !((h = A(fe)) != null && h.find((d) => d.comp === "methodButton")) ? (v(), y("div", _l, [
|
|
2119
2119
|
U() ? (v(), sA(Oe, {
|
|
2120
2120
|
key: 0,
|
|
2121
2121
|
class: "calculator-content",
|
|
@@ -2136,7 +2136,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2136
2136
|
})
|
|
2137
2137
|
])
|
|
2138
2138
|
], 4), [
|
|
2139
|
-
[Xe,
|
|
2139
|
+
[Xe, UA.value]
|
|
2140
2140
|
]),
|
|
2141
2141
|
MA(g("div", $l, [
|
|
2142
2142
|
g("div", { class: "panel-header" }, [
|
|
@@ -2330,9 +2330,9 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2330
2330
|
}));
|
|
2331
2331
|
}));
|
|
2332
2332
|
}), P == null || P.forEach((K) => {
|
|
2333
|
-
var OA, CA, oA, zA,
|
|
2333
|
+
var OA, CA, oA, zA, WA, ie;
|
|
2334
2334
|
if ((K == null ? void 0 : K.comp) === "Table") {
|
|
2335
|
-
let Ie = [], ce = (oA = (CA = (OA = K == null ? void 0 : K.compData) == null ? void 0 : OA.find((rA) => (rA == null ? void 0 : rA.key) === "header")) == null ? void 0 : CA.contents) == null ? void 0 : oA.map((rA) => rA == null ? void 0 : rA.label), Be = (ie = (
|
|
2335
|
+
let Ie = [], ce = (oA = (CA = (OA = K == null ? void 0 : K.compData) == null ? void 0 : OA.find((rA) => (rA == null ? void 0 : rA.key) === "header")) == null ? void 0 : CA.contents) == null ? void 0 : oA.map((rA) => rA == null ? void 0 : rA.label), Be = (ie = (WA = (zA = K == null ? void 0 : K.compData) == null ? void 0 : zA.find((rA) => (rA == null ? void 0 : rA.key) === "tableContents")) == null ? void 0 : WA.contents) == null ? void 0 : ie.map((rA) => (rA = rA == null ? void 0 : rA.filter((qA) => !(qA != null && qA.id)), rA));
|
|
2336
2336
|
Be == null || Be.forEach((rA) => {
|
|
2337
2337
|
Ie.push(jn(rA, ce == null ? void 0 : ce.filter((qA) => qA !== "操作")));
|
|
2338
2338
|
}), f[K.name] = Ie, f[K.name + "Content"] = K;
|
|
@@ -2464,8 +2464,8 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2464
2464
|
});
|
|
2465
2465
|
if (((P = oA == null ? void 0 : oA.data) == null ? void 0 : P.code) === 200) {
|
|
2466
2466
|
const zA = (b = (AA = (p = (Q = oA == null ? void 0 : oA.data) == null ? void 0 : Q.result) == null ? void 0 : p[0]) == null ? void 0 : AA.key) == null ? void 0 : b.systemType;
|
|
2467
|
-
let
|
|
2468
|
-
zA === "制造系统" && (
|
|
2467
|
+
let WA = "browser";
|
|
2468
|
+
zA === "制造系统" && (WA = "client"), zA === "三维系统" && (WA = "three"), I.setPlatform(WA), I.setPlatName(((CA = (OA = (K = (R = oA == null ? void 0 : oA.data) == null ? void 0 : R.result) == null ? void 0 : K[0]) == null ? void 0 : OA.key) == null ? void 0 : CA.name) ?? "");
|
|
2469
2469
|
}
|
|
2470
2470
|
} catch (oA) {
|
|
2471
2471
|
return Promise.reject(oA);
|
|
@@ -2481,7 +2481,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2481
2481
|
}
|
|
2482
2482
|
oe(), Ae(vA.value.targetModel), pA(vA.value.targetModel);
|
|
2483
2483
|
}
|
|
2484
|
-
},
|
|
2484
|
+
}, DA = async () => {
|
|
2485
2485
|
var P, Q, p;
|
|
2486
2486
|
(P = nA == null ? void 0 : nA.value) == null || P.account, (Q = nA == null ? void 0 : nA.value) == null || Q.password;
|
|
2487
2487
|
const f = await te({
|
|
@@ -2490,8 +2490,8 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2490
2490
|
}
|
|
2491
2491
|
});
|
|
2492
2492
|
return (p = f == null ? void 0 : f.data) == null ? void 0 : p.result;
|
|
2493
|
-
},
|
|
2494
|
-
const f = await
|
|
2493
|
+
}, NA = async () => {
|
|
2494
|
+
const f = await DA();
|
|
2495
2495
|
return f == null ? void 0 : f.reduce((Q, p) => {
|
|
2496
2496
|
var R;
|
|
2497
2497
|
const AA = ((R = p == null ? void 0 : p.key) == null ? void 0 : R.systemKey) || -1, b = Number(AA);
|
|
@@ -2502,7 +2502,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2502
2502
|
Ae(f), pA(f), oe();
|
|
2503
2503
|
}, Ee = async () => {
|
|
2504
2504
|
var b, R, K;
|
|
2505
|
-
const f = await
|
|
2505
|
+
const f = await NA();
|
|
2506
2506
|
if (!f)
|
|
2507
2507
|
return;
|
|
2508
2508
|
const P = f + 1, Q = P.toString(), p = (b = nA == null ? void 0 : nA.value) == null ? void 0 : b.account, AA = (R = nA == null ? void 0 : nA.value) == null ? void 0 : R.password;
|
|
@@ -2562,7 +2562,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2562
2562
|
xA(() => $A.value, (f) => {
|
|
2563
2563
|
(t == null ? void 0 : t.oldSystemKey) === "" && (vA.value.targetModel = f, f || Ce());
|
|
2564
2564
|
}, { deep: !0, immediate: !0 });
|
|
2565
|
-
const
|
|
2565
|
+
const UA = async () => {
|
|
2566
2566
|
var P, Q, p, AA;
|
|
2567
2567
|
I.setImportLoading(!0);
|
|
2568
2568
|
const f = await te({
|
|
@@ -2668,7 +2668,7 @@ const Sl = /* @__PURE__ */ de(bt, [["render", ml], ["__scopeId", "data-v-94d06d5
|
|
|
2668
2668
|
__: [2]
|
|
2669
2669
|
}),
|
|
2670
2670
|
u(p, {
|
|
2671
|
-
onClick:
|
|
2671
|
+
onClick: UA,
|
|
2672
2672
|
style: { width: "100%", margin: "0" }
|
|
2673
2673
|
}, {
|
|
2674
2674
|
icon: i(() => [
|