ss-component-new 1.2.331 → 1.2.333
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/{MTLLoader-wwr1B193.cjs → MTLLoader-C9zwOo5R.cjs} +1 -1
- package/dist/{MTLLoader-Cp2efv7h.js → MTLLoader-DEhuJ8cA.js} +1 -1
- package/dist/{OrbitControls-Dk0u7TVO.cjs → OrbitControls-CrWBKSTk.cjs} +1 -1
- package/dist/{OrbitControls-RSLz2S0b.js → OrbitControls-hKxTuAne.js} +1 -1
- package/dist/{URDFLoader-CkO4RJLO.cjs → URDFLoader-BHqq00po.cjs} +1 -1
- package/dist/{URDFLoader-BpUMfsF6.js → URDFLoader-BU46gp7K.js} +2 -2
- package/dist/{animationData-C7ciTI7m.js → animationData-BbL90xGU.js} +2 -2
- package/dist/{animationData-BoxVqycf.cjs → animationData-BpQQZnbj.cjs} +1 -1
- package/dist/array-CbS69fPx.cjs +1 -0
- package/dist/{array-CVIR-i--.js → array-g-BzIhKE.js} +12 -12
- package/dist/{iconfont-C2QDZzSl.js → iconfont-gpkjnIRx.js} +2 -2
- package/dist/{iconfont-TZ8GIkZM.cjs → iconfont-m2r8ESph.cjs} +1 -1
- package/dist/{index-Bp1PEp0W.js → index-1ax1erqY.js} +5 -5
- package/dist/{index-DfZf-0j4.js → index-4cqyGWUU.js} +2 -2
- package/dist/{index-BFxYIpIU.js → index-95RC0SB0.js} +8 -9
- package/dist/{index-Bog5kQji.js → index-B0lFT37d.js} +1 -1
- package/dist/{index-081NeEuV.cjs → index-B4XQbv4q.cjs} +1 -1
- package/dist/index-BDGC3yIw.cjs +42 -0
- package/dist/index-BGP7aEbi.cjs +1 -0
- package/dist/{index-CiO2uT4E.cjs → index-BHaaYQfC.cjs} +12 -12
- package/dist/{index-CkO99t26.cjs → index-BQTrub6X.cjs} +1 -1
- package/dist/{index-BGmdJ8Zg.js → index-BS0-LNeC.js} +7 -7
- package/dist/{index-Bos1deWK.cjs → index-BV6P_J2D.cjs} +1 -1
- package/dist/{index-DPeOjfU1.cjs → index-BWIBX9Sl.cjs} +1 -1
- package/dist/index-BfeqiijR.cjs +1 -0
- package/dist/{index-CzKMGoa-.js → index-Bh66WJwb.js} +15 -15
- package/dist/{index-DRvE5S23.js → index-BqjG1Y2Y.js} +16 -17
- package/dist/{index-BWBPdata.cjs → index-C6K5EORF.cjs} +1 -1
- package/dist/index-C9a63MeW.cjs +13 -0
- package/dist/index-CEhfRVcG.cjs +1 -0
- package/dist/index-CErvylUA.cjs +1 -0
- package/dist/{index-DkIWU9Bu.js → index-CGefc7Ak.js} +769 -766
- package/dist/{index-uN57qZre.cjs → index-CHxsrbXy.cjs} +1 -1
- package/dist/{index-B2GT4T1e.cjs → index-CIybeMPI.cjs} +1 -1
- package/dist/index-CKgsrRZt.js +10442 -0
- package/dist/{index-i5Ue_JoA.cjs → index-CKwnphQR.cjs} +1 -1
- package/dist/{index-C2_KHquo.js → index-CM-E1W8F.js} +7 -7
- package/dist/{index-DEF6SrBV.js → index-CUNUX64A.js} +4 -4
- package/dist/{index-BGB8AN7S.js → index-CXx07mqc.js} +38 -38
- package/dist/{index-X2bwtZbV.js → index-CbJ39TR9.js} +14 -14
- package/dist/index-Cbp2cz1D.cjs +1 -0
- package/dist/index-CdqgG6z_.cjs +1 -0
- package/dist/{index-B_SWTmBD.cjs → index-Cexe1_nR.cjs} +1 -1
- package/dist/{index-DdBe7pKL.cjs → index-Cgt2DO86.cjs} +1 -1
- package/dist/{index-DHf9fOS7.js → index-Ch1TDVys.js} +18 -18
- package/dist/{index-DkEJVaAX.js → index-ChKY9Q_c.js} +8 -8
- package/dist/index-Cp8dl8Y4.cjs +1 -0
- package/dist/{index-CkUnZ2se.cjs → index-CzrqxMQq.cjs} +1 -1
- package/dist/{index-DSt_Eqwk.js → index-D-v_mH2L.js} +326 -326
- package/dist/{index-D3oj5RSK.js → index-D7Ejivyg.js} +12 -12
- package/dist/{index-DU4iimmS.cjs → index-D7p_01Bm.cjs} +1 -1
- package/dist/{index-u30t7l7e.js → index-DAw-JFPy.js} +4 -4
- package/dist/{index-DVf8au0C.cjs → index-DJMikZ6m.cjs} +1 -1
- package/dist/{index-Dw0CPCgX.js → index-DJv0U7ep.js} +8 -8
- package/dist/index-DL-scY6_.js +8211 -0
- package/dist/index-DRjfXii0.cjs +1 -0
- package/dist/{index-Z8iuWbfd.js → index-DhBrMxH5.js} +2 -2
- package/dist/index-DjOAHJHD.cjs +11 -0
- package/dist/{index-CY36YclZ.js → index-DkGjjjvX.js} +51 -51
- package/dist/{index-TdIk51gx.js → index-Du5EVvZy.js} +1 -1
- package/dist/{index-BqAHAwh3.js → index-FTgRHaEc.js} +2 -2
- package/dist/{index-CF2oTbnv.js → index-HoGtZJB5.js} +2 -2
- package/dist/{index-CRhbl-Xs.cjs → index-L3o91yA1.cjs} +1 -1
- package/dist/{index-H-RrS-FV.js → index-N7UyY0Cn.js} +8 -9
- package/dist/{index-BAnu2IcW.js → index-OmrdMljT.js} +36 -37
- package/dist/{index-DKKKZSMe.cjs → index-V1en5J1m.cjs} +1 -1
- package/dist/index-cGDJIpua.cjs +11 -0
- package/dist/{index-CDseWBxW.js → index-ihdYLrfi.js} +13 -13
- package/dist/{index-Bg3lrziJ.js → index-mhd92owW.js} +1 -1
- package/dist/index-xkAnmSfa.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BDXu7acs.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BYcd0jgi.cjs} +147 -147
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXs-wWd7.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUjt37hI.js} +14 -14
- package/dist/index.vue_vue_type_style_index_1_lang-D3aPbrch.cjs +3 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-BzNe13gn.js → index.vue_vue_type_style_index_1_lang-D4T1pSpg.js} +8 -8
- package/dist/{isString-DDsphIfV.cjs → isString-BM0aTbV9.cjs} +1 -1
- package/dist/{isString-D0BsYbM3.js → isString-DkWdJm3P.js} +1 -1
- package/dist/main-BAe55yT4.cjs +11 -0
- package/dist/{main-BEgGvauC.js → main-DLYiVNbO.js} +9 -10
- package/dist/{menuIndex-BLcswWB-.js → menuIndex-4B2w4mPA.js} +1 -1
- package/dist/{menuIndex-bwSbtzjl.cjs → menuIndex-CJYZx11j.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CsoaXy4U.cjs → threeModel-5zOGJMgA.cjs} +1 -1
- package/dist/{threeModel-o-U3qE_Y.js → threeModel-CGM-saVm.js} +6 -6
- package/dist/{threePreview-B9pRhKDM.js → threePreview-BRK8_lKV.js} +7 -6
- package/dist/threePreview-BkKC0IgX.cjs +1 -0
- package/dist/{threeSceneView-DRPX8OYV.js → threeSceneView-5V5smS73.js} +53 -53
- package/dist/{threeSceneView-DN8Xyzfv.cjs → threeSceneView-BCQKeoTk.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BCTxqfOq.cjs → threeSceneViewForCPMPIP-DVqwxUS8.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-B_SeEcU9.js → threeSceneViewForCPMPIP-DqG9ZYEL.js} +15 -15
- package/dist/threeTrackPathView-BrBEbTGo.cjs +1 -0
- package/dist/{threeTrackPathView-C-bjSsJM.js → threeTrackPathView-CBKRfkly.js} +8 -7
- package/dist/{threeViewerHost-irhPdb16.js → threeViewerHost-CTAXJC99.js} +10 -11
- package/dist/threeViewerHost-QHAFlASe.cjs +1 -0
- package/dist/{urdfTree-5g-HLyvW.js → urdfTree-DAM1Wv4K.js} +1 -1
- package/dist/{urdfTree-S5yUGyZL.cjs → urdfTree-DNQtn8Y5.cjs} +1 -1
- package/dist/{workpieceTreePanel-BaLWAZDy.js → workpieceTreePanel-B8WM9_Wb.js} +4 -4
- package/dist/{workpieceTreePanel-hlLH8y_h.cjs → workpieceTreePanel-DKMsi2D-.cjs} +1 -1
- package/package.json +1 -1
- package/dist/array-Bi-wunyk.cjs +0 -1
- package/dist/index-BEqVDCR5.cjs +0 -1
- package/dist/index-BVMFNtUY.cjs +0 -11
- package/dist/index-BV_kcZph.js +0 -12765
- package/dist/index-Bc85VROV.cjs +0 -32
- package/dist/index-BhpB-M-v.cjs +0 -13
- package/dist/index-BxQs7JCB.cjs +0 -1
- package/dist/index-CQ5cuVUq.cjs +0 -1
- package/dist/index-CjrO5PEa.cjs +0 -1
- package/dist/index-CoaLtkUJ.cjs +0 -1
- package/dist/index-Df5Gg8qa.cjs +0 -1
- package/dist/index-DmDnw4T-.cjs +0 -1
- package/dist/index-UbLqf_y6.cjs +0 -1
- package/dist/index-cx0rUqLg.js +0 -5929
- package/dist/index-k04UdLA7.cjs +0 -1
- package/dist/index-pSTYzLRc.cjs +0 -21
- package/dist/index.vue_vue_type_style_index_1_lang-OiQttjIF.cjs +0 -3
- package/dist/main-BDV5VAB6.cjs +0 -11
- package/dist/threePreview-CGRM7OHr.cjs +0 -1
- package/dist/threeTrackPathView-Dkc-x5Po.cjs +0 -1
- package/dist/threeViewerHost-e0FA2tJj.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import { u as Me } from "./index
|
|
5
|
-
import { a as Se } from "./menuIndex-
|
|
6
|
-
const F =
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, p as U, h as Ie } from "./index-CKgsrRZt.js";
|
|
3
|
+
import { u as ke } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CUjt37hI.js";
|
|
4
|
+
import { g as $, E as S, f as ae, u as oe, n as Te, d as Me } from "./index-DL-scY6_.js";
|
|
5
|
+
import { a as Se } from "./menuIndex-4B2w4mPA.js";
|
|
6
|
+
const F = Ce(U), ne = ke(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = j(() => {
|
|
7
7
|
var e, t;
|
|
8
8
|
return [
|
|
9
9
|
{
|
|
@@ -57,7 +57,7 @@ const F = he(U), ne = Me(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
key: "tableContents",
|
|
60
|
-
contents: (t = (e =
|
|
60
|
+
contents: (t = (e = J(ue.value)) == null ? void 0 : e.map((l) => ({
|
|
61
61
|
...l,
|
|
62
62
|
menuType: "系统菜单"
|
|
63
63
|
}))) == null ? void 0 : t.filter((l) => l.title !== "系统管理" && l.title !== "平台管理")
|
|
@@ -297,7 +297,7 @@ const F = he(U), ne = Me(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
297
297
|
return (e = re(ue.value)) == null ? void 0 : e.filter((t) => t.title !== "系统管理" && t.title !== "平台管理");
|
|
298
298
|
}), fe = async (e) => {
|
|
299
299
|
var l, u, n, c;
|
|
300
|
-
const t = await
|
|
300
|
+
const t = await $({
|
|
301
301
|
key: {
|
|
302
302
|
type: "subStructure",
|
|
303
303
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -336,7 +336,7 @@ const F = he(U), ne = Me(U), C = be(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
336
336
|
}, Be = async (e, t) => {
|
|
337
337
|
var l, u;
|
|
338
338
|
if (!b.value) return S.warning("请先选择菜单");
|
|
339
|
-
if (g.type = Ke(e), V.value = [], F.setSubmitCurStructure(!1), ne.setSelectTitle([]), h.value =
|
|
339
|
+
if (g.type = Ke(e), V.value = [], F.setSubmitCurStructure(!1), ne.setSelectTitle([]), h.value = J(t), g.type !== "delete") {
|
|
340
340
|
switch (g.type) {
|
|
341
341
|
case "create":
|
|
342
342
|
_(null), await C.setConfigMenu(null);
|
|
@@ -378,7 +378,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
378
378
|
const l = (y = (r = e == null ? void 0 : e.structureIds) == null ? void 0 : r.filter((a) => (a == null ? void 0 : a.key) === t)) == null ? void 0 : y.map((a) => a == null ? void 0 : a.id);
|
|
379
379
|
let u = l == null ? void 0 : l.map((a) => {
|
|
380
380
|
if (a)
|
|
381
|
-
return
|
|
381
|
+
return $({ id: a });
|
|
382
382
|
});
|
|
383
383
|
const n = await Promise.all(u), c = n == null ? void 0 : n.every((a) => {
|
|
384
384
|
var d;
|
|
@@ -414,11 +414,11 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
414
414
|
} : g.type === "update" && (u = R.value), await C.setConfigMenu(u), ne.setSelectTitle(l), F.setIsEdit("edit");
|
|
415
415
|
}, H = async (e) => {
|
|
416
416
|
var l, u, n, c, s, p;
|
|
417
|
-
const t = await
|
|
417
|
+
const t = await $({
|
|
418
418
|
key: {
|
|
419
419
|
type: "menuConfigData",
|
|
420
420
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
421
|
-
pageKey:
|
|
421
|
+
pageKey: q.value + "/" + (e == null ? void 0 : e.path),
|
|
422
422
|
tableId: ""
|
|
423
423
|
}
|
|
424
424
|
});
|
|
@@ -436,7 +436,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
436
436
|
t === "create" ? (r = {
|
|
437
437
|
key: {
|
|
438
438
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
439
|
-
pageKey:
|
|
439
|
+
pageKey: q.value + "/" + ((u = b.value) == null ? void 0 : u.path),
|
|
440
440
|
type: "structure",
|
|
441
441
|
rootNodePath: (c = (n = b.value) == null ? void 0 : n.rootNode) == null ? void 0 : c.path,
|
|
442
442
|
structureBelong: l,
|
|
@@ -462,7 +462,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
462
462
|
}
|
|
463
463
|
}, y = oe) : t === "delete" && (r = {
|
|
464
464
|
id: e
|
|
465
|
-
}, y =
|
|
465
|
+
}, y = Te);
|
|
466
466
|
const a = await y(r);
|
|
467
467
|
if (((s = a == null ? void 0 : a.data) == null ? void 0 : s.code) !== 200)
|
|
468
468
|
throw S.error("保存响应失败"), new Error("保存响应失败");
|
|
@@ -541,7 +541,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
541
541
|
key: {
|
|
542
542
|
type: "menuConfigData",
|
|
543
543
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
544
|
-
pageKey:
|
|
544
|
+
pageKey: q.value + "/" + ((n = b.value) == null ? void 0 : n.path),
|
|
545
545
|
tableId: "",
|
|
546
546
|
rootNodePath: e == null ? void 0 : e.rootNodePath
|
|
547
547
|
},
|
|
@@ -561,7 +561,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
561
561
|
}
|
|
562
562
|
}, u = oe) : t === "delete" && (l = {
|
|
563
563
|
ids: [e.id, ...(c = e == null ? void 0 : e.structureIds) == null ? void 0 : c.map((s) => s.id)]
|
|
564
|
-
}, u =
|
|
564
|
+
}, u = Me), Ie(u, l, t).then((s) => {
|
|
565
565
|
t === "create" && G.value.push({
|
|
566
566
|
...e,
|
|
567
567
|
id: s
|
|
@@ -569,7 +569,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
569
569
|
});
|
|
570
570
|
}, _e = async () => {
|
|
571
571
|
var l, u, n, c, s;
|
|
572
|
-
const e = JSON.parse(
|
|
572
|
+
const e = JSON.parse(J(JSON.stringify(K.value)));
|
|
573
573
|
await B();
|
|
574
574
|
const t = g.type === "create" ? {
|
|
575
575
|
...R.value,
|
|
@@ -582,7 +582,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
582
582
|
await xe(e, t), I.value = {}, g.show = !1, await H(b.value);
|
|
583
583
|
}, je = () => {
|
|
584
584
|
g.show = !1;
|
|
585
|
-
},
|
|
585
|
+
}, Je = {
|
|
586
586
|
comp: "Group",
|
|
587
587
|
name: "/平台管理/菜单管理",
|
|
588
588
|
compData: [
|
|
@@ -618,7 +618,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
618
618
|
pageData: se,
|
|
619
619
|
renderFormData: L,
|
|
620
620
|
tableLoading: z,
|
|
621
|
-
tempMenuPageData:
|
|
621
|
+
tempMenuPageData: Je,
|
|
622
622
|
treeData: pe
|
|
623
623
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
624
624
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createElementBlock as V, openBlock as x, createElementVNode as g, renderSlot as N, defineComponent as O, ref as $, resolveComponent as S, createVNode as v, withCtx as f, unref as A, reactive as q, watch as D, onBeforeUnmount as G, onMounted as J, toDisplayString as I, createTextVNode as K } from "vue";
|
|
2
2
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { b as j, p as H, d as Q, s as X } from "./index-CKgsrRZt.js";
|
|
4
|
+
import { s as z, E as U, a as Y } from "./index-DL-scY6_.js";
|
|
5
5
|
import { useRouter as Z } from "vue-router";
|
|
6
|
-
import { l as ee, v as te } from "./index-
|
|
6
|
+
import { l as ee, v as te } from "./index-BS0-LNeC.js";
|
|
7
7
|
const ae = {}, oe = { class: "left-wrap" }, ne = { class: "left-bg" };
|
|
8
8
|
function se(h, _) {
|
|
9
9
|
return x(), V("div", oe, [
|
|
@@ -212,12 +212,12 @@ const _e = { class: "account-wrap" }, he = { class: "video-wrap" }, ye = /* @__P
|
|
|
212
212
|
},
|
|
213
213
|
emits: ["handleLoginFormChange"],
|
|
214
214
|
setup(h, { emit: _ }) {
|
|
215
|
-
const e = h, s = _, w = H
|
|
215
|
+
const e = h, s = _, w = j(H), i = $(null), o = $(null);
|
|
216
216
|
let c = !1, n = null;
|
|
217
217
|
const r = async (a, d) => {
|
|
218
218
|
const { privateKey: T } = await w.getModelSecretAsync();
|
|
219
219
|
let t = a;
|
|
220
|
-
return d !== "superAdmin" && (t =
|
|
220
|
+
return d !== "superAdmin" && (t = Q(a, T)), t;
|
|
221
221
|
}, m = async (a) => {
|
|
222
222
|
if (!a)
|
|
223
223
|
return;
|
|
@@ -318,7 +318,7 @@ function we() {
|
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
const W = H
|
|
321
|
+
const W = j(H), Le = async (h) => {
|
|
322
322
|
var s, w, i, o, c, n, r, m, b, L, y, F, a;
|
|
323
323
|
let _ = Object.values(h), e = await ee({
|
|
324
324
|
userName: (s = _ == null ? void 0 : _[0]) == null ? void 0 : s.trim(),
|
|
@@ -332,7 +332,7 @@ const W = H(j), Le = async (h) => {
|
|
|
332
332
|
},
|
|
333
333
|
emits: ["change"],
|
|
334
334
|
setup(h, { emit: _ }) {
|
|
335
|
-
const e = Z(), s = H
|
|
335
|
+
const e = Z(), s = j(H), { systemKey: w, systemInfo: i, loginUserInfo: o } = X(s), c = $({
|
|
336
336
|
// sysCTitle: 'INSOFWORKS',
|
|
337
337
|
sysCTitle: "",
|
|
338
338
|
sysETitle: "",
|
|
@@ -370,7 +370,7 @@ const W = H(j), Le = async (h) => {
|
|
|
370
370
|
}, F = async () => {
|
|
371
371
|
var t, u, p;
|
|
372
372
|
try {
|
|
373
|
-
const l = await
|
|
373
|
+
const l = await Y.post("http://139.196.154.85:20024/api/sysAuth/login", {
|
|
374
374
|
account: "superadmin",
|
|
375
375
|
password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
|
|
376
376
|
codeId: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),c=require("./index-BDGC3yIw.cjs"),S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),I=n.defineComponent({__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData","setLoginInfo"],setup(o,{emit:f}){const d=c.useLoginState(c.pinia),{loginUserInfo:m}=c.storeToRefs(d),e=o,s=f,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{d.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{d.setSystemInfo(t)},{immediate:!0});const r=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},a=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,u=16,C=t/i,v=u*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{a(),window.addEventListener("resize",a)}),n.onUnmounted(()=>{window.removeEventListener("resize",a)}),(t,i)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:r,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}}),B=S._export_sfc(I,[["__scopeId","data-v-c30cedf1"]]);exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./index-
|
|
1
|
+
"use strict";const p=require("./index-BDGC3yIw.cjs"),A=require("vue"),f=require("./index-DjOAHJHD.cjs");function j(e){return f.axios.post("http://222.92.178.198:63002/platform/create",e)}function x(e){return f.axios.post("http://222.92.178.198:63002/platform/get",e)}function y(e){return f.axios.post("http://222.92.178.198:63002/platform/getPage",e)}function D(e){return f.axios.post("http://222.92.178.198:63002/platform/delete",e)}const b=e=>{var s,i;if(Array.isArray(Object.keys(e))&&((s=Object.keys(e))==null?void 0:s.length)>0){let u=[];return(i=Object.entries(e))==null||i.forEach(([c,a])=>{var n,t;let r=[];if(r.push(c),((n=Object.keys(a))==null?void 0:n.length)>0){let o=[];(t=b(a))==null||t.forEach(l=>{o.push(l)}),o==null||o.forEach(l=>{r.push(l)})}u.push(r)}),u}},P=(e,s)=>{var u;let i=s;return Array.isArray(Object.keys(e))&&((u=Object.entries(e))==null||u.forEach(([c,a])=>{let r=[c];if(typeof a=="object"&&a!==null){let n=b(a);n==null||n.forEach(t=>{r.push(t)})}i.push(r)})),i},E=e=>{const s={};return e.forEach(u=>{const c=u.split("/");let a=s;c.forEach(r=>{a[r]||(a[r]={}),a=a[r]})}),P(s,[])},m=A.ref(!1),g=A.ref(!1),S=p.useLoginState(p.pinia),{loginUserInfo:h}=p.storeToRefs(S),d=p.useMenuState(),v=async()=>{var s,i,u,c,a,r;let e=await y({platId:parseInt((s=h==null?void 0:h.value)==null?void 0:s.plat_id),pageName:"menu"});if(((u=(i=e==null?void 0:e.data)==null?void 0:i.result)==null?void 0:u.length)>0){let n=(r=(a=(c=e==null?void 0:e.data)==null?void 0:c.result)==null?void 0:a.filter(t=>{var o,l;return((l=t==null?void 0:t.object_name)==null?void 0:l[((o=t==null?void 0:t.object_name)==null?void 0:o.length)-1])!=="/"&&(t==null?void 0:t.is_show)}))==null?void 0:r.map(t=>{var o;return(o=t==null?void 0:t.object_name)==null?void 0:o.replaceAll("**^","/")});n=[...new Set(n)],n=E(n),d.setRawMenus(n??[]),m.value=!0,g.value=!0}return{menuExist:m.value,structureExist:g.value}};exports.createPlatFormDataApi=j;exports.deletePageDataApi=D;exports.getPageDataApi=y;exports.loginPlatFormDataApi=x;exports.menuArray=E;exports.verifyStructureDataToStore=v;
|