ss-component-new 1.3.563 → 1.3.564
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-BHt3gl1t.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-B20mbUlb.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-CqUR7JfB.js → index-BqQwR3xP.js} +12 -12
- package/dist/{index-B4vWOeBB.js → index-C5-h4EBY.js} +57 -57
- package/dist/{index-DzcErKEr.js → index-C9ipl7sC.js} +1 -1
- package/dist/{index-DuJ9WKCv.js → index-C9v_0m4p.js} +8 -8
- package/dist/{index-DqXvOyIs.js → index-CAsfUZy_.js} +1019 -1007
- package/dist/{index-BscI3lbU.js → index-CD-fEp3O.js} +1 -1
- package/dist/index-CHZz2d2_.js +10878 -0
- package/dist/{index-CM0dsCmH.js → index-CN5qq6Ga.js} +5 -5
- package/dist/{index-CQD9tf3F.js → index-CPP2puHx.js} +52 -47
- 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-WuYxUSju.js → index-DQZtbBSC.js} +4 -4
- package/dist/{index-JEGEQ5Fv.js → index-Df0KuHNP.js} +23 -23
- package/dist/{index-CocPelja.js → index-DlLwBk_F.js} +4 -4
- package/dist/{index-ozCY5k35.js → index-DuZAeUJM.js} +3749 -3742
- package/dist/{index-BTNIP99h.js → index-Hp84GtE9.js} +2 -2
- package/dist/{index-Dixsgk6F.js → index-LZuYSmWn.js} +1 -1
- package/dist/{index-BqqPTE84.js → index-UU0T3Nnj.js} +4 -4
- package/dist/{index-CXYbhmjy.js → index-e952zxHt.js} +17 -17
- package/dist/{index-Fy4MrrOF.js → index-gEhibqHJ.js} +12 -12
- package/dist/{index-Dbz_tzDX.js → index-ubcfr4TX.js} +2 -2
- package/dist/{index-CmbwfCf8.js → index-vMlaLtm0.js} +5 -5
- 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-D1H3OevA.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-_mIRqr2P.js} +4 -4
- package/dist/{threePreview-C0Qa76wE.js → threePreview-DjT9c9Qi.js} +4 -4
- package/dist/{threeSceneView-5TQdJ_6H.js → threeSceneView-CPkifJJY.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-B3nro0df.js → threeSceneViewForCPMPIP-BIQeLP1S.js} +8 -8
- package/dist/{threeTrackPathView-CgXAax4G.js → threeTrackPathView-DhqBcl2i.js} +4 -4
- package/dist/{threeViewerHost-D1NEemYa.js → threeViewerHost-CXaEGUeN.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,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-UU0T3Nnj.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-D5i75e_t.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import { e as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-
|
|
5
|
+
import { e as E } from "./index-vMlaLtm0.js";
|
|
6
|
+
import "./index-BTGhoR2n.js";
|
|
7
|
+
import { b as N, s as U } from "./index-CAsfUZy_.js";
|
|
8
8
|
import "./request-B1c8BUkR.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -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,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,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { W as B } from "./index-
|
|
2
|
+
import { S as x } from "./index-CyIB3Vqy.js";
|
|
3
|
+
import { W as B } from "./index-DuZAeUJM.js";
|
|
4
4
|
import { s as F } from "./index-11kpzK0A.js";
|
|
5
|
-
import { b as y } from "./index-
|
|
6
|
-
import { u as S, p as I, s as N } from "./index-
|
|
5
|
+
import { b as y } from "./index-vMlaLtm0.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-CAsfUZy_.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "menu-module" }, M = {
|
|
9
9
|
class: "table-wrap",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as H, ref as u, computed as Ve, resolveComponent as n, createElementBlock as D, openBlock as k, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as A, createBlock as ue, reactive as De, Fragment as pe, renderList as xe, unref as c, createTextVNode as h, onMounted as it, watch as dt, withModifiers as ct, createCommentVNode as J } from "vue";
|
|
2
2
|
import { u as ut, h as pt, i as mt } from "./request-B1c8BUkR.js";
|
|
3
|
-
import { u as Se, o as _t, s as de, f as ce } from "./index-
|
|
4
|
-
import {
|
|
3
|
+
import { u as Se, o as _t, s as de, f as ce } from "./index-e952zxHt.js";
|
|
4
|
+
import { I as Le, J as ft, u as vt, p as gt } from "./index-CAsfUZy_.js";
|
|
5
5
|
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
7
|
-
import "./index-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-D5i75e_t.js";
|
|
7
|
+
import "./index-DuZAeUJM.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
9
|
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index-BTGhoR2n.js";
|
|
11
|
+
import "./index-UU0T3Nnj.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
import { c as me } from "./clone-
|
|
14
|
-
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */
|
|
13
|
+
import { c as me } from "./clone-DdC2BWJS.js";
|
|
14
|
+
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ H({
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
17
17
|
params: {},
|
|
@@ -65,7 +65,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
65
65
|
]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), Pt = /* @__PURE__ */ W(wt, [["__scopeId", "data-v-b7ce5c18"]]), Tt = { class: "param-wrapper" }, Et = { class: "param-body" }, Vt = { class: "role-form-wrapper" }, Dt = { class: "edit-footer" }, xt = { class: "footer-right" }, St = /* @__PURE__ */
|
|
68
|
+
}), Pt = /* @__PURE__ */ W(wt, [["__scopeId", "data-v-b7ce5c18"]]), Tt = { class: "param-wrapper" }, Et = { class: "param-body" }, Vt = { class: "role-form-wrapper" }, Dt = { class: "edit-footer" }, xt = { class: "footer-right" }, St = /* @__PURE__ */ H({
|
|
69
69
|
__name: "index",
|
|
70
70
|
props: {
|
|
71
71
|
params: {},
|
|
@@ -140,7 +140,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
140
140
|
_: 1
|
|
141
141
|
}, 8, ["visible"]));
|
|
142
142
|
}
|
|
143
|
-
}), Lt = /* @__PURE__ */ W(St, [["__scopeId", "data-v-875ed466"]]), $t = { class: "scope-management-wrapper" }, It = { class: "scope-management-body" }, Bt = { class: "scope-form-wrapper" }, Rt = { class: "edit-footer" }, At = { class: "footer-right" }, Nt = /* @__PURE__ */
|
|
143
|
+
}), Lt = /* @__PURE__ */ W(St, [["__scopeId", "data-v-875ed466"]]), $t = { class: "scope-management-wrapper" }, It = { class: "scope-management-body" }, Bt = { class: "scope-form-wrapper" }, Rt = { class: "edit-footer" }, At = { class: "footer-right" }, Nt = /* @__PURE__ */ H({
|
|
144
144
|
__name: "index",
|
|
145
145
|
emits: ["confirm"],
|
|
146
146
|
setup(U, { expose: $, emit: _ }) {
|
|
@@ -258,7 +258,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
258
258
|
}, 8, ["visible"]);
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
}), Ft = /* @__PURE__ */ W(Nt, [["__scopeId", "data-v-40d37c72"]]), zt = { class: "role-management" }, Ot = { class: "header" }, Ut = { class: "header-left" }, qt = { class: "query-wrapper" }, Mt = { class: "header-right" }, Kt = { class: "body" }, Gt = { class: "role-table-wrapper" }, Qt = { class: "operate-list" }, jt = ["onClick"],
|
|
261
|
+
}), Ft = /* @__PURE__ */ W(Nt, [["__scopeId", "data-v-40d37c72"]]), zt = { class: "role-management" }, Ot = { class: "header" }, Ut = { class: "header-left" }, qt = { class: "query-wrapper" }, Mt = { class: "header-right" }, Kt = { class: "body" }, Gt = { class: "role-table-wrapper" }, Qt = { class: "operate-list" }, jt = ["onClick"], Jt = { class: "pagination-wrapper" }, Ht = { class: "role-management-wrapper" }, Wt = { class: "role-management-body" }, Xt = { class: "role-form-wrapper" }, Yt = { class: "auth-tree-wrapper" }, Zt = { class: "node-content-wrapper" }, ea = { class: "node-label-wrapper" }, ta = { class: "node-label" }, aa = {
|
|
262
262
|
key: 0,
|
|
263
263
|
class: "status-tag"
|
|
264
264
|
}, oa = {
|
|
@@ -270,7 +270,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
270
270
|
}, la = {
|
|
271
271
|
key: 3,
|
|
272
272
|
class: "status-tag"
|
|
273
|
-
}, na = { class: "edit-footer" }, ra = { class: "footer-right" }, ia = /* @__PURE__ */
|
|
273
|
+
}, na = { class: "edit-footer" }, ra = { class: "footer-right" }, ia = /* @__PURE__ */ H({
|
|
274
274
|
__name: "index",
|
|
275
275
|
setup(U) {
|
|
276
276
|
const $ = {
|
|
@@ -367,7 +367,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
367
367
|
};
|
|
368
368
|
}), d.value.main_ids = a;
|
|
369
369
|
const { role_id: e } = d.value;
|
|
370
|
-
e ? await
|
|
370
|
+
e ? await Je() : await je(), ke();
|
|
371
371
|
}, Qe = async (a) => {
|
|
372
372
|
if (!V.value)
|
|
373
373
|
return;
|
|
@@ -375,9 +375,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
375
375
|
de.ENABLE.value === e ? a.status = de.DISABLED.value : a.status = de.ENABLE.value, await N(a), await R();
|
|
376
376
|
}, je = async () => {
|
|
377
377
|
await v(d.value), await R();
|
|
378
|
-
},
|
|
378
|
+
}, Je = async () => {
|
|
379
379
|
await N(d.value), await R();
|
|
380
|
-
},
|
|
380
|
+
}, He = async (a) => {
|
|
381
381
|
await E(a), await R();
|
|
382
382
|
}, We = async (a, e) => {
|
|
383
383
|
if (!V.value)
|
|
@@ -388,7 +388,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
388
388
|
return;
|
|
389
389
|
}
|
|
390
390
|
if (l === "delete") {
|
|
391
|
-
await
|
|
391
|
+
await He(p);
|
|
392
392
|
return;
|
|
393
393
|
}
|
|
394
394
|
}, Xe = async (a, e) => {
|
|
@@ -595,7 +595,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
595
595
|
_: 1
|
|
596
596
|
}, 8, ["data"])
|
|
597
597
|
]),
|
|
598
|
-
o("div",
|
|
598
|
+
o("div", Jt, [
|
|
599
599
|
e[12] || (e[12] = o("div", null, null, -1)),
|
|
600
600
|
t(lt, {
|
|
601
601
|
onSizeChange: Fe,
|
|
@@ -626,7 +626,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
626
626
|
appendToBody: !1
|
|
627
627
|
}, {
|
|
628
628
|
default: s(() => [
|
|
629
|
-
o("div",
|
|
629
|
+
o("div", Ht, [
|
|
630
630
|
e[17] || (e[17] = o("div", { class: "role-management-header" }, [
|
|
631
631
|
o("div", { class: "header-left" }),
|
|
632
632
|
o("div", { class: "header-right" })
|
|
@@ -767,7 +767,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
767
767
|
]),
|
|
768
768
|
_: 2
|
|
769
769
|
}, 1032, ["type", "onClick"])
|
|
770
|
-
])) :
|
|
770
|
+
])) : J("", !0),
|
|
771
771
|
i.isProperty && se(i) && ((ie = i.params) == null ? void 0 : ie.length) > 0 ? (k(), D("div", oa, [
|
|
772
772
|
t(O, {
|
|
773
773
|
class: "status-tag",
|
|
@@ -780,7 +780,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
780
780
|
_: 2,
|
|
781
781
|
__: [14]
|
|
782
782
|
}, 1032, ["onClick"])
|
|
783
|
-
])) :
|
|
783
|
+
])) : J("", !0),
|
|
784
784
|
i.isPropertyLeaf && se(i) && c($e)(i) ? (k(), D("div", sa, [
|
|
785
785
|
t(O, {
|
|
786
786
|
class: "status-tag",
|
|
@@ -793,7 +793,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
793
793
|
_: 2,
|
|
794
794
|
__: [15]
|
|
795
795
|
}, 1032, ["onClick"])
|
|
796
|
-
])) :
|
|
796
|
+
])) : J("", !0),
|
|
797
797
|
r.level == 1 && r.checked && !i.isProperty ? (k(), D("div", la, [
|
|
798
798
|
t(O, {
|
|
799
799
|
class: "status-tag",
|
|
@@ -806,7 +806,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
806
806
|
_: 2,
|
|
807
807
|
__: [16]
|
|
808
808
|
}, 1032, ["onClick"])
|
|
809
|
-
])) :
|
|
809
|
+
])) : J("", !0)
|
|
810
810
|
])
|
|
811
811
|
];
|
|
812
812
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as A, computed as c, onMounted as _ } from "vue";
|
|
2
2
|
import { useRouter as C } from "vue-router";
|
|
3
|
-
import { u as g, p as h,
|
|
3
|
+
import { u as g, p as h, w as R, c as b, k as S, o as E } from "./index-CAsfUZy_.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|
|
@@ -54,12 +54,12 @@ const l = {
|
|
|
54
54
|
_(async () => {
|
|
55
55
|
await f();
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const y = c(() => `content_${d.value}`), m = async (e) => ({
|
|
58
58
|
platId: o.value,
|
|
59
59
|
changeContents: [
|
|
60
60
|
{
|
|
61
61
|
tableContents: [e],
|
|
62
|
-
tableName:
|
|
62
|
+
tableName: y.value
|
|
63
63
|
}
|
|
64
64
|
]
|
|
65
65
|
}), I = (e) => {
|
|
@@ -67,7 +67,7 @@ const l = {
|
|
|
67
67
|
return t === l.ALLOW.value;
|
|
68
68
|
}, v = async (e) => {
|
|
69
69
|
const { id: t, password: a, allow_reset_password: n } = e;
|
|
70
|
-
return
|
|
70
|
+
return m({
|
|
71
71
|
id: t,
|
|
72
72
|
password: a,
|
|
73
73
|
allow_reset_password: n
|