ss-component-new 1.3.563 → 1.3.565
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-CGBryR1E.js → MTLLoader-CzBgQ2PB.js} +1 -1
- package/dist/{OrbitControls-BXMIO7W-.js → OrbitControls-CKplgYQ5.js} +1 -1
- package/dist/{URDFLoader-Dr4jg8N0.js → URDFLoader-VAzJU5p3.js} +2 -2
- package/dist/{animationData-MhAeGjwg.js → animationData-Biye7h-T.js} +3 -3
- package/dist/{array-C_LMUL0k.js → array-DZlvML1u.js} +3 -3
- package/dist/clone-DdC2BWJS.js +8 -0
- package/dist/{iconfont-B600Suu7.js → iconfont-BXvOP1dw.js} +2 -2
- package/dist/{index-CK7cCsms.js → index--epF8pgU.js} +1 -1
- package/dist/{index-Ckscg_Ap.js → index-3zRHcfgG.js} +2 -2
- package/dist/{index-RLUSh93k.js → index-9mEqPzNs.js} +3 -3
- package/dist/{index-Dd7U3v15.js → index-B-SP-xMk.js} +2 -2
- package/dist/{index-B-SRrjLA.js → index-BKtl5-0J.js} +4 -4
- package/dist/{index-D7gwD1pF.js → index-BTGhoR2n.js} +1 -1
- package/dist/{index-WuYxUSju.js → index-BUJ0zprF.js} +4 -4
- package/dist/{index-BTNIP99h.js → index-B_ehlpia.js} +2 -2
- package/dist/{index-DzcErKEr.js → index-Boyd681I.js} +1 -1
- package/dist/{index-CqUR7JfB.js → index-BqQwR3xP.js} +12 -12
- package/dist/{index-B4vWOeBB.js → index-C5-h4EBY.js} +57 -57
- package/dist/{index-DqXvOyIs.js → index-CAsfUZy_.js} +1019 -1007
- package/dist/{index-BscI3lbU.js → index-CD-fEp3O.js} +1 -1
- package/dist/{index-CmbwfCf8.js → index-CK7UgiG2.js} +5 -5
- package/dist/{index-CQD9tf3F.js → index-CPP2puHx.js} +52 -47
- package/dist/{index-DuJ9WKCv.js → index-CRlGTxp_.js} +8 -8
- package/dist/{index-Dbz_tzDX.js → index-CSet6qOm.js} +2 -2
- package/dist/{index-Ds-fktuI.js → index-C_c-cU3C.js} +1 -1
- package/dist/{index-B3osj0rP.js → index-Co7J3LRv.js} +1 -1
- package/dist/{index-Pmr9T_-J.js → index-CyIB3Vqy.js} +15 -15
- package/dist/{index-ozCY5k35.js → index-DKb_wl4P.js} +17929 -17909
- package/dist/{index-BqqPTE84.js → index-Db9Iuo5a.js} +4 -4
- package/dist/{index-CocPelja.js → index-DlLwBk_F.js} +4 -4
- package/dist/{index-JEGEQ5Fv.js → index-DohOujGH.js} +23 -23
- package/dist/index-DtJu3YiQ.js +10878 -0
- package/dist/{index-CM0dsCmH.js → index-FpiHWyGM.js} +5 -5
- package/dist/{index-Dixsgk6F.js → index-LZuYSmWn.js} +1 -1
- package/dist/{index-CXYbhmjy.js → index-e952zxHt.js} +17 -17
- package/dist/{index-Fy4MrrOF.js → index-gEhibqHJ.js} +12 -12
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-owNe4WWo.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-D5i75e_t.js} +3 -3
- package/dist/{main-DTJZkWIK.js → main-CquuKxq6.js} +4 -4
- package/dist/{menuIndex-VozC7XXB.js → menuIndex-BXR93rPv.js} +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-C4OH4Cwj.js → threeModel-C2EG04Hx.js} +4 -4
- package/dist/{threePreview-C0Qa76wE.js → threePreview-DjT9c9Qi.js} +4 -4
- package/dist/{threeSceneView-5TQdJ_6H.js → threeSceneView-CLwVtI37.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-B3nro0df.js → threeSceneViewForCPMPIP-jhAa66RA.js} +8 -8
- package/dist/{threeTrackPathView-CgXAax4G.js → threeTrackPathView-DhqBcl2i.js} +4 -4
- package/dist/{threeViewerHost-D1NEemYa.js → threeViewerHost-BgL9cIYE.js} +12 -12
- package/dist/{urdfTree-deGqEYEy.js → urdfTree-BbTYpPxw.js} +1 -1
- package/dist/{workpieceTreePanel-CfwCF5E7.js → workpieceTreePanel-BH7KPZPX.js} +4 -4
- package/package.json +1 -1
- package/dist/clone-ez7vwxnP.js +0 -8
- package/dist/index-BUYMbHGW.js +0 -10850
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as P,
|
|
1
|
+
import { f as P, h as C, d as L, b, p as N, s as R, i as T } from "./index-CAsfUZy_.js";
|
|
2
2
|
import { E as k } from "./request-B1c8BUkR.js";
|
|
3
3
|
const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
4
4
|
var l, n, r, i, s, d, g, p, f, _, y, h, S, w;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as R, resolveComponent as X, createBlock as W, openBlock as b, defineComponent as s0, computed as r2, watch as Q2, createElementBlock as P, createVNode as e2, withCtx as H, createElementVNode as a2, Fragment as D2, renderList as T2, withModifiers as Le, normalizeClass as _e, toDisplayString as G2, createSlots as le, renderSlot as M2, nextTick as G0, onMounted as Te, createTextVNode as z0, isRef as m9, isReactive as w9, toRaw as x9, createCommentVNode as J, onBeforeUnmount as X4, normalizeStyle as m0, resolveDynamicComponent as Bt, normalizeProps as b9, guardReactiveProps as _9, unref as q0, mergeProps as H1, reactive as o6, inject as x6, withDirectives as v3, vShow as b6, watchEffect as et, onUnmounted as Zt, resolveDirective as y9, h as qi, toRefs as S9 } from "vue";
|
|
2
|
-
import { a8 as C9, a9 as k9, g as D9, aa as O9, ab as M9, ac as T9, a5 as Yi, ad as z9, ae as P9, af as V9, ag as A9, ah as Fi, ai as Ki } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import { a8 as C9, a9 as k9, g as D9, aa as O9, ab as M9, ac as T9, a5 as Yi, ad as z9, ae as P9, af as V9, ag as A9, ah as Fi, ai as Ki } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-D5i75e_t.js";
|
|
3
3
|
import { _ as B2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { S as Ut } from "./index-BHtNKL1L.js";
|
|
5
5
|
import { r as s8, t as o8, R as E9, T as Xi, E as Fe, s as Q4, C as l8, p as Q6, m as B9, ca as L9, aM as H9, aN as G9, c9 as R9, b as N9 } from "./request-B1c8BUkR.js";
|
|
6
|
-
import { a as J4, p as Lt, s as It, u as Z4, c as Y0,
|
|
6
|
+
import { a as J4, p as Lt, s as It, u as Z4, c as Y0, ah as Ae, e as r8, aR as T3, j as $9, x as j9 } from "./index-CAsfUZy_.js";
|
|
7
7
|
import { _ as M0 } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
8
|
-
import { m as Qi, B as W9, Y as a8 } from "./index-
|
|
8
|
+
import { m as Qi, B as W9, Y as a8 } from "./index-BTGhoR2n.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as ei } from "./index-11kpzK0A.js";
|
|
11
|
-
import { T as Ji, a as U9 } from "./threeViewerHost-
|
|
12
|
-
import { A as I9 } from "./index-
|
|
11
|
+
import { T as Ji, a as U9 } from "./threeViewerHost-BgL9cIYE.js";
|
|
12
|
+
import { A as I9 } from "./index-LZuYSmWn.js";
|
|
13
13
|
var q9 = "[object Date]";
|
|
14
14
|
function Y9(n) {
|
|
15
15
|
return s8(n) && o8(n) == q9;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as W, ref as z, computed as N, watch as
|
|
2
|
-
import { b as J, p as h, s as v, d as Q, a as X, u as Y,
|
|
3
|
-
import { l as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as W, ref as z, computed as N, watch as y, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, createElementBlock as L, openBlock as w, createBlock as q } from "vue";
|
|
2
|
+
import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-CAsfUZy_.js";
|
|
3
|
+
import { l as ee } from "./index-CD-fEp3O.js";
|
|
4
|
+
import { useRouter as te } from "vue-router";
|
|
5
|
+
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
9
9
|
windowConfig: {
|
|
@@ -72,10 +72,10 @@ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
-
setup(
|
|
76
|
-
const A =
|
|
75
|
+
setup(m, { emit: _ }) {
|
|
76
|
+
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), f = Y(h), g = z(!0), { activeMenuPath: I } = v(f), e = m, o = _, j = N(() => {
|
|
77
77
|
var t, n;
|
|
78
|
-
return (e == null ? void 0 : e.showButton) || ((n = (t =
|
|
78
|
+
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
79
|
}), B = (t) => {
|
|
80
80
|
o("systemContent", t);
|
|
81
81
|
}, M = () => {
|
|
@@ -83,61 +83,66 @@ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
|
83
83
|
}, T = () => {
|
|
84
84
|
o("clearFileContent");
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
y(
|
|
87
87
|
() => e == null ? void 0 : e.menuFiles,
|
|
88
88
|
() => {
|
|
89
89
|
var t;
|
|
90
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 &&
|
|
90
|
+
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && f.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
91
91
|
},
|
|
92
92
|
{ deep: !0, immediate: !0 }
|
|
93
|
-
),
|
|
93
|
+
), y(
|
|
94
94
|
() => I.value,
|
|
95
|
-
() => {
|
|
95
|
+
async () => {
|
|
96
|
+
var n, a;
|
|
96
97
|
o("getMenuPathValue", I.value);
|
|
98
|
+
let t = await Z({
|
|
99
|
+
platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
|
|
100
|
+
});
|
|
101
|
+
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, f.setDataFiles(t);
|
|
97
102
|
},
|
|
98
103
|
{ deep: !0, immediate: !0 }
|
|
99
|
-
),
|
|
104
|
+
), y(
|
|
100
105
|
() => e == null ? void 0 : e.loginContent,
|
|
101
106
|
async () => {
|
|
102
|
-
var n,
|
|
107
|
+
var n, a, u, l;
|
|
103
108
|
g.value = !0;
|
|
104
109
|
let t = e == null ? void 0 : e.loginContent;
|
|
105
|
-
if (t != null && t.account && (t != null && t.password) && !
|
|
106
|
-
let
|
|
107
|
-
o("systemContent",
|
|
110
|
+
if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
|
|
111
|
+
let c = await p();
|
|
112
|
+
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync({
|
|
108
113
|
type: "登录",
|
|
109
114
|
data: {
|
|
110
|
-
account: ((n =
|
|
111
|
-
userName: ((
|
|
115
|
+
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
116
|
+
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
112
117
|
}
|
|
113
|
-
}, "/login", "login"),
|
|
118
|
+
}, "/login", "login"), f.setHasClickEditComp(!1);
|
|
114
119
|
}
|
|
115
120
|
g.value = !1, await V();
|
|
116
121
|
},
|
|
117
122
|
{ deep: !0, immediate: !0 }
|
|
118
123
|
);
|
|
119
|
-
const
|
|
124
|
+
const x = (t) => {
|
|
120
125
|
o("projectLogin", t);
|
|
121
|
-
},
|
|
126
|
+
}, K = () => {
|
|
122
127
|
o("projectLogin", "");
|
|
123
128
|
};
|
|
124
|
-
|
|
129
|
+
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
125
130
|
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
126
|
-
}, { immediate: !0 }),
|
|
131
|
+
}, { immediate: !0 }), y(
|
|
127
132
|
() => e == null ? void 0 : e.interfaceContent,
|
|
128
133
|
() => {
|
|
129
|
-
var
|
|
130
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((
|
|
131
|
-
let t = (
|
|
132
|
-
n = (
|
|
134
|
+
var a, u, l, c, r;
|
|
135
|
+
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
|
|
136
|
+
let t = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
137
|
+
n = (c = n == null ? void 0 : n.split("=")) == null ? void 0 : c[1], n = n == null ? void 0 : n.trim(), t = (r = t == null ? void 0 : t.split("=")) == null ? void 0 : r[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
|
|
133
138
|
},
|
|
134
139
|
{ immediate: !0, deep: !0 }
|
|
135
140
|
), k(async () => {
|
|
136
141
|
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
137
142
|
});
|
|
138
|
-
const
|
|
143
|
+
const R = () => {
|
|
139
144
|
o("buildContent");
|
|
140
|
-
},
|
|
145
|
+
}, U = () => {
|
|
141
146
|
o("setLoginInfo");
|
|
142
147
|
}, b = (t) => {
|
|
143
148
|
o("openThreeBuild", t);
|
|
@@ -148,20 +153,20 @@ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
|
148
153
|
}, P = (t) => {
|
|
149
154
|
o("executeWorkspace", t);
|
|
150
155
|
}, C = () => {
|
|
151
|
-
var
|
|
152
|
-
const t = e != null && e.windowConfig ? (
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
document.documentElement.style.fontSize = `${
|
|
156
|
+
var r, i, S;
|
|
157
|
+
const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
158
|
+
f.setSystemHeight(n);
|
|
159
|
+
const a = 1920, u = 16, l = t / a, c = u * l;
|
|
160
|
+
document.documentElement.style.fontSize = `${c}px`;
|
|
156
161
|
};
|
|
157
162
|
return k(() => {
|
|
158
163
|
C(), window.addEventListener("resize", C);
|
|
159
164
|
}), G(() => {
|
|
160
165
|
window.removeEventListener("resize", C);
|
|
161
166
|
}), (t, n) => {
|
|
162
|
-
const
|
|
167
|
+
const a = $("router-view");
|
|
163
168
|
return w(), L("div", null, [
|
|
164
|
-
g.value ? (w(), L("div",
|
|
169
|
+
g.value ? (w(), L("div", oe)) : (w(), q(a, {
|
|
165
170
|
key: 1,
|
|
166
171
|
mode: e == null ? void 0 : e.mode,
|
|
167
172
|
content: e == null ? void 0 : e.content,
|
|
@@ -169,17 +174,17 @@ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
|
169
174
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
170
175
|
showButton: j.value,
|
|
171
176
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
172
|
-
windowConfig:
|
|
173
|
-
systemInfo:
|
|
174
|
-
"old-systemKey":
|
|
175
|
-
onBuildContent:
|
|
176
|
-
onProjectLogin:
|
|
177
|
-
onClearLogin:
|
|
177
|
+
windowConfig: m.windowConfig,
|
|
178
|
+
systemInfo: m.systemInfo,
|
|
179
|
+
"old-systemKey": m.systemKey,
|
|
180
|
+
onBuildContent: R,
|
|
181
|
+
onProjectLogin: x,
|
|
182
|
+
onClearLogin: K,
|
|
178
183
|
onUpdateApiUrl: O,
|
|
179
184
|
onOpenThreeBuild: b,
|
|
180
|
-
pageKey:
|
|
185
|
+
pageKey: m.pageKey,
|
|
181
186
|
onThreeData: H,
|
|
182
|
-
onSetLoginInfo:
|
|
187
|
+
onSetLoginInfo: U,
|
|
183
188
|
loginContent: e == null ? void 0 : e.loginContent,
|
|
184
189
|
onUpdateVersion: M,
|
|
185
190
|
onClearFileContent: T,
|
|
@@ -191,7 +196,7 @@ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
|
191
196
|
]);
|
|
192
197
|
};
|
|
193
198
|
}
|
|
194
|
-
}), de = /* @__PURE__ */
|
|
199
|
+
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-9da2689f"]]);
|
|
195
200
|
export {
|
|
196
201
|
de as default
|
|
197
202
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineAsyncComponent as gt, computed as we, onMounted as Qe, resolveComponent as Q, createBlock as Le, openBlock as F, withCtx as q, resolveDynamicComponent as Xe, defineComponent as Ct, defineProps as kt, ref as O, watch as Ke, reactive as _t, nextTick as Dt, createElementBlock as K, Fragment as Be, createVNode as $, createCommentVNode as Te, normalizeStyle as It, toDisplayString as $e, createElementVNode as Me, renderList as ze, createTextVNode as xe } from "vue";
|
|
2
|
-
import { u as St, a as bt, p as Je, b as Tt, s as Ee, c as je, v as Fe } from "./index-
|
|
2
|
+
import { u as St, a as bt, p as Je, b as Tt, s as Ee, c as je, v as Fe } from "./index-CAsfUZy_.js";
|
|
3
3
|
import { S as Mt } from "./index-BHtNKL1L.js";
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-D5i75e_t.js";
|
|
5
5
|
import { I as wt } from "./request-B1c8BUkR.js";
|
|
6
6
|
import { s as ut } from "./index-11kpzK0A.js";
|
|
7
|
-
import { c as At } from "./index-
|
|
7
|
+
import { c as At } from "./index-CK7UgiG2.js";
|
|
8
8
|
import { useRouter as Bt } from "vue-router";
|
|
9
9
|
import { a as Et, e as Ft, f as Lt, g as Ut, h as jt } from "./index-ChNfRlIP.js";
|
|
10
10
|
import { g as qe, u as Pt, b as We, c as Ot, a as Rt } from "./index-YvUJL9Us.js";
|
|
11
|
-
import { g as Kt } from "./index-
|
|
12
|
-
import { f as $t } from "./menuIndex-
|
|
13
|
-
import { d as Ge, e as Ne, n as zt } from "./index-
|
|
14
|
-
import { u as xt } from "./index-
|
|
11
|
+
import { g as Kt } from "./index-DKb_wl4P.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-BXR93rPv.js";
|
|
13
|
+
import { d as Ge, e as Ne, n as zt } from "./index-BTGhoR2n.js";
|
|
14
|
+
import { u as xt } from "./index-e952zxHt.js";
|
|
15
15
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Ue = gt(() => import("./index-
|
|
16
|
+
const Ue = gt(() => import("./index-CK7UgiG2.js").then((i) => i.p));
|
|
17
17
|
Ue.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Ue);
|
|
19
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { W as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
2
|
+
import { W as m } from "./index-DKb_wl4P.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-Co7J3LRv.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch as n } from "vue";
|
|
2
|
-
import { s as o, b as p, p as u } from "./index-
|
|
2
|
+
import { s as o, b as p, p as u } from "./index-CAsfUZy_.js";
|
|
3
3
|
import { s as r } from "./request-B1c8BUkR.js";
|
|
4
4
|
const m = p(u), { systemUrl: a } = o(m);
|
|
5
5
|
let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
2
|
import { a as I, g as M } from "./index-YvUJL9Us.js";
|
|
3
|
-
import { E as N } from "./index-
|
|
3
|
+
import { E as N } from "./index-CAsfUZy_.js";
|
|
4
4
|
import { E as s } from "./request-B1c8BUkR.js";
|
|
5
5
|
const K = _([]), T = A(() => [
|
|
6
6
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as i, computed as _, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { c as J, s as be, u as he, a as Ce,
|
|
3
|
-
import { j as ke } from "./index-
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, j as Ie, p as U } from "./index-CAsfUZy_.js";
|
|
3
|
+
import { j as ke } from "./index-BTGhoR2n.js";
|
|
4
4
|
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-YvUJL9Us.js";
|
|
5
|
-
import { e as Se } from "./menuIndex-
|
|
5
|
+
import { e as Se } from "./menuIndex-BXR93rPv.js";
|
|
6
6
|
import { E as S } from "./request-B1c8BUkR.js";
|
|
7
7
|
const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
@@ -167,7 +167,7 @@ const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
167
167
|
key: "tableContents",
|
|
168
168
|
contents: G.value
|
|
169
169
|
}
|
|
170
|
-
]), L = i([]), I = i({}), De = i({}),
|
|
170
|
+
]), L = i([]), I = i({}), De = i({}), j = i([
|
|
171
171
|
// {
|
|
172
172
|
// label: "配置菜单:",
|
|
173
173
|
// prop: 'menu',
|
|
@@ -265,12 +265,12 @@ const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
265
265
|
],
|
|
266
266
|
value: !0
|
|
267
267
|
}
|
|
268
|
-
]),
|
|
268
|
+
]), x = (e) => {
|
|
269
269
|
var t;
|
|
270
|
-
L.value = e ? (t =
|
|
270
|
+
L.value = e ? (t = j.value) == null ? void 0 : t.map((l) => l.prop === "dialogConfig" || l.prop === "contentConfig" || l.prop === "trigger" ? l : {
|
|
271
271
|
...l,
|
|
272
272
|
value: e ? e[l == null ? void 0 : l.prop] : ""
|
|
273
|
-
}) :
|
|
273
|
+
}) : j.value;
|
|
274
274
|
}, Ne = i([
|
|
275
275
|
{
|
|
276
276
|
label: "查询"
|
|
@@ -340,10 +340,10 @@ const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
340
340
|
if (g.type = Ke(e), V.value = [], F.setSubmitCurStructure(!1), ne.setSelectTitle([]), h.value = J(t), g.type !== "delete") {
|
|
341
341
|
switch (g.type) {
|
|
342
342
|
case "create":
|
|
343
|
-
|
|
343
|
+
x(null), await C.setConfigMenu(null);
|
|
344
344
|
break;
|
|
345
345
|
case "update":
|
|
346
|
-
|
|
346
|
+
x(h.value), await C.setConfigMenu(h.value), console.log("clickRowButton", h.value);
|
|
347
347
|
break;
|
|
348
348
|
}
|
|
349
349
|
await B(), g.title = `【${g.type === "create" ? (l = b.value) == null ? void 0 : l.path : (u = h.value) == null ? void 0 : u.path}】菜单配置${e}`, g.show = !0;
|
|
@@ -358,7 +358,7 @@ const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPa
|
|
|
358
358
|
};
|
|
359
359
|
ye(() => de.value, async (e) => {
|
|
360
360
|
var t;
|
|
361
|
-
await B(), L.value = (t =
|
|
361
|
+
await B(), L.value = (t = j.value) == null ? void 0 : t.map((l) => l.prop === "dialogConfig" || l.prop === "contentConfig" || l.prop === "trigger" ? l.prop === "contentConfig" ? {
|
|
362
362
|
...l,
|
|
363
363
|
isFormColHidden: e
|
|
364
364
|
} : l : {
|
|
@@ -502,7 +502,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
502
502
|
return e.forEach((l) => {
|
|
503
503
|
t.set(l.id, l);
|
|
504
504
|
}), Array.from(t.values());
|
|
505
|
-
},
|
|
505
|
+
}, je = async (e, t) => {
|
|
506
506
|
var l, u, n, c, s, p, f;
|
|
507
507
|
try {
|
|
508
508
|
const r = e == null ? void 0 : e.filter((o) => (o == null ? void 0 : o.key) === "contentConfig"), y = e == null ? void 0 : e.filter((o) => (o == null ? void 0 : o.key) === "dialogConfig");
|
|
@@ -568,7 +568,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
568
568
|
id: s
|
|
569
569
|
}), t && s && S.success("响应成功"), H(b.value);
|
|
570
570
|
});
|
|
571
|
-
},
|
|
571
|
+
}, xe = async () => {
|
|
572
572
|
var l, u, n, c, s;
|
|
573
573
|
const e = JSON.parse(J(JSON.stringify(K.value)));
|
|
574
574
|
await B();
|
|
@@ -580,7 +580,7 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
580
580
|
rootNodePath: (c = (n = b.value) == null ? void 0 : n.rootNode) == null ? void 0 : c.path,
|
|
581
581
|
id: (s = h.value) == null ? void 0 : s.id
|
|
582
582
|
};
|
|
583
|
-
await
|
|
583
|
+
await je(e, t), I.value = {}, g.show = !1, await H(b.value);
|
|
584
584
|
}, _e = () => {
|
|
585
585
|
g.show = !1;
|
|
586
586
|
}, Je = {
|
|
@@ -606,10 +606,10 @@ const Ae = i(null), Ee = async (e, t) => {
|
|
|
606
606
|
changedRow: De,
|
|
607
607
|
clickNodeTrigger: Fe,
|
|
608
608
|
clickRowButton: Be,
|
|
609
|
-
clickSubmitForm:
|
|
609
|
+
clickSubmitForm: xe,
|
|
610
610
|
clickTrigger: Re,
|
|
611
611
|
dialogInfo: g,
|
|
612
|
-
formatFormData:
|
|
612
|
+
formatFormData: x,
|
|
613
613
|
getInitialSubStructure: fe,
|
|
614
614
|
getTableDataAsync: H,
|
|
615
615
|
handleItemDataChange: Pe,
|