ss-component-new 1.3.667 → 1.3.669
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-C2ENwU4B.js +657 -0
- package/dist/URDFLoader-D8HIcp6W.js +2304 -0
- package/dist/animationData-CDGBdGSq.js +83 -0
- package/dist/array-GeFGcNng.js +1044 -0
- package/dist/clone-epSiajPW.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-BWVKfp5t.js +29 -0
- package/dist/iconfont-DMYmzqd8.js +1018 -0
- package/dist/icons/svg/Update.svg +1 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/uploadCopy.svg +1 -0
- package/dist/index-3va3ENB8.js +201 -0
- package/dist/index-B4vESlof.js +78 -0
- package/dist/index-BFRbO6Ob.js +864 -0
- package/dist/index-BFqUz4pN.js +52 -0
- package/dist/index-BO_ie9cf.js +117 -0
- package/dist/index-BTcUmOL9.js +83 -0
- package/dist/index-Bd9AU0ks.js +93 -0
- package/dist/index-Bfe0Vmym.js +658 -0
- package/dist/index-BpGFvMaU.js +62 -0
- package/dist/index-Bto8e0_l.js +103 -0
- package/dist/index-Bvvz41NY.js +44 -0
- package/dist/index-CALpUVvi.js +2623 -0
- package/dist/index-CRusLwdZ.js +48 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CeVSdtF3.js +407 -0
- package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
- package/dist/index-CmRnsU1X.js +996 -0
- package/dist/index-CxGjXQS8.js +93 -0
- package/dist/index-DJrzqi4-.js +209 -0
- package/dist/index-DT2KzAmL.js +8988 -0
- package/dist/index-D_kI6aHR.js +98 -0
- package/dist/index-D_zqmWYW.js +627 -0
- package/dist/index-DgW-zPUZ.js +30 -0
- package/dist/index-DhllboDp.js +11773 -0
- package/dist/index-Di7_fN-l.js +61958 -0
- package/dist/index-DmuX4rYk.js +98 -0
- package/dist/index-DxEqN-_a.js +84 -0
- package/dist/index-FNOjQQWl.js +619 -0
- package/dist/index-GqaokPsw.js +342 -0
- package/dist/index-SjNcMhxZ.js +447 -0
- package/dist/index-XGieOXX9.js +55 -0
- package/dist/index-YVR3acYT.js +61 -0
- package/dist/index-b-1Cc3pU.js +28483 -0
- package/dist/index-bzdYGNwv.js +24879 -0
- package/dist/{index-BKK_dL6t.js → index-dD-mKgue.js} +3 -3
- package/dist/index-f22t3lGR.js +107 -0
- package/dist/index-hPoDGmt5.js +468 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js +137728 -0
- package/dist/isString-CoCw_sp3.js +8 -0
- package/dist/localIcon-CoJHw5ss.js +76 -0
- package/dist/main-B3uivmHw.js +502 -0
- package/dist/menuIndex-B7ZUahFp.js +159 -0
- package/dist/request-DiogHwkN.js +9465 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BZpdWtB3.js +1108 -0
- package/dist/threePreview-QZ-g7bqk.js +2259 -0
- package/dist/threeSceneView-DeXv560D.js +1289 -0
- package/dist/threeSceneViewForCPMPIP-CdhC-Jg4.js +538 -0
- package/dist/threeTrackPathView-Cpwcmet3.js +620 -0
- package/dist/threeViewerHost-OeJJtWw4.js +233 -0
- package/dist/urdfTree-oAPOm0qi.js +254 -0
- package/dist/workpieceTreePanel-RgJlR6GJ.js +555 -0
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/public/icons/svg/Update.svg +1 -0
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/uploadCopy.svg +1 -0
- package/dist/index-CCShKHTf.js +0 -50
- package/dist/index-CHLS51j8.js +0 -1044
- package/dist/index-Ccv8qbdo.js +0 -9091
- package/dist/index-D2V0zCQE.js +0 -195
- package/dist/index-DgjdKpj-.js +0 -182
- package/dist/menu-B8iV5Rhf.js +0 -5215
- package/dist/origin-B7bb-ZcE.js +0 -11428
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { s as h, b as l, p as w, A as F } from "./index-DT2KzAmL.js";
|
|
2
|
+
import { s as f } from "./request-DiogHwkN.js";
|
|
3
|
+
import { watch as p } from "vue";
|
|
4
|
+
const P = l(w), { systemUrl: s, extraUrl: o } = h(P);
|
|
5
|
+
let d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value, m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
|
|
6
|
+
p(
|
|
7
|
+
() => s.value,
|
|
8
|
+
() => {
|
|
9
|
+
d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value;
|
|
10
|
+
},
|
|
11
|
+
{ deep: !0, immediate: !0 }
|
|
12
|
+
);
|
|
13
|
+
p(
|
|
14
|
+
() => o.value,
|
|
15
|
+
() => {
|
|
16
|
+
m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
|
|
17
|
+
},
|
|
18
|
+
{ deep: !0, immediate: !0 }
|
|
19
|
+
);
|
|
20
|
+
function S(a) {
|
|
21
|
+
return f({
|
|
22
|
+
url: m + "/api/face/face-verify",
|
|
23
|
+
method: "post",
|
|
24
|
+
data: a
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function V(a) {
|
|
28
|
+
return f({
|
|
29
|
+
url: d + "/platform/updatedata_faceURL",
|
|
30
|
+
method: "post",
|
|
31
|
+
data: a
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
const b = () => {
|
|
35
|
+
const a = l(), { platId: v, userName: y, account: u, isSuperAdmin: g } = F(), c = async (t) => {
|
|
36
|
+
if (!t)
|
|
37
|
+
return;
|
|
38
|
+
const e = new FormData();
|
|
39
|
+
e.set("file", t);
|
|
40
|
+
const r = a.systemInfo.plat_id;
|
|
41
|
+
return e.set("systemKey", r), await S(e);
|
|
42
|
+
};
|
|
43
|
+
return { updateFacePhoto: async (t) => {
|
|
44
|
+
const e = a.loginUserInfo, { password: r } = e || {}, n = {
|
|
45
|
+
platId: v.value,
|
|
46
|
+
userName: y.value,
|
|
47
|
+
password: r,
|
|
48
|
+
faceURL: t
|
|
49
|
+
};
|
|
50
|
+
g.value && (n.platId = ""), await V(n);
|
|
51
|
+
}, initVerifySelf: async (t) => {
|
|
52
|
+
var i;
|
|
53
|
+
const e = await c(t), { account: r, password: n } = ((i = e == null ? void 0 : e.data) == null ? void 0 : i.data) || {};
|
|
54
|
+
if (!u)
|
|
55
|
+
return !1;
|
|
56
|
+
const I = a.loginUserInfo, { password: U } = I || {};
|
|
57
|
+
return r === u.value && n === U;
|
|
58
|
+
}, initVerify: async (t) => await c(t) };
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
b as u
|
|
62
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { computed as _, ref as A } from "vue";
|
|
2
|
+
import { a as I, g as M } from "./index-YVR3acYT.js";
|
|
3
|
+
import { E as N } from "./index-DT2KzAmL.js";
|
|
4
|
+
import { E as s } from "./request-DiogHwkN.js";
|
|
5
|
+
const K = A([]), T = _(() => [
|
|
6
|
+
{
|
|
7
|
+
key: "extraButton",
|
|
8
|
+
contents: [
|
|
9
|
+
{
|
|
10
|
+
label: "清空",
|
|
11
|
+
background: "#f56c6c",
|
|
12
|
+
color: "#ffffff"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
key: "rowButton",
|
|
18
|
+
contents: []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: "header",
|
|
22
|
+
contents: [
|
|
23
|
+
{
|
|
24
|
+
label: "账号",
|
|
25
|
+
prop: "account",
|
|
26
|
+
filterable: !0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "姓名",
|
|
30
|
+
prop: "userName",
|
|
31
|
+
filterable: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "时间",
|
|
35
|
+
prop: "timeStamp",
|
|
36
|
+
sortable: !0
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: "tableContents",
|
|
42
|
+
contents: K.value
|
|
43
|
+
}
|
|
44
|
+
]), j = (l, n, r) => {
|
|
45
|
+
l === "清空" && N.confirm("是否确认清空所有日志", "", {
|
|
46
|
+
confirmButtonText: "确认",
|
|
47
|
+
cancelButtonText: "取消",
|
|
48
|
+
type: "warning"
|
|
49
|
+
}).then(async () => {
|
|
50
|
+
var e, o;
|
|
51
|
+
try {
|
|
52
|
+
const a = await I({ ids: n });
|
|
53
|
+
((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200 ? (s.success("清空日志成功"), r(!0)) : (s.error(((o = a == null ? void 0 : a.data) == null ? void 0 : o.message) ?? "清空请求响应失败"), r(!1));
|
|
54
|
+
} catch {
|
|
55
|
+
s.error("清空操作处理失败"), r(!1);
|
|
56
|
+
}
|
|
57
|
+
}).catch(() => {
|
|
58
|
+
r(!1);
|
|
59
|
+
});
|
|
60
|
+
}, O = async (l = "login") => {
|
|
61
|
+
var n, r, e;
|
|
62
|
+
try {
|
|
63
|
+
const o = await M({
|
|
64
|
+
key: {
|
|
65
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
66
|
+
pageKey: "/log",
|
|
67
|
+
type: "system",
|
|
68
|
+
logType: l
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
if (((n = o == null ? void 0 : o.data) == null ? void 0 : n.code) === 200)
|
|
72
|
+
return (e = (r = o == null ? void 0 : o.data) == null ? void 0 : r.result) == null ? void 0 : e.map((a) => {
|
|
73
|
+
var t, u, c, p, f, d, y, g, v, b, S, h, w, B, D, x, E, k;
|
|
74
|
+
return l === "login" ? {
|
|
75
|
+
...(u = (t = a == null ? void 0 : a.value) == null ? void 0 : t.detail) == null ? void 0 : u.data,
|
|
76
|
+
timeStamp: (c = a == null ? void 0 : a.value) == null ? void 0 : c.timeStamp,
|
|
77
|
+
id: a == null ? void 0 : a.id,
|
|
78
|
+
type: (f = (p = a == null ? void 0 : a.value) == null ? void 0 : p.detail) == null ? void 0 : f.type
|
|
79
|
+
} : {
|
|
80
|
+
timeStamp: (d = a == null ? void 0 : a.value) == null ? void 0 : d.timeStamp,
|
|
81
|
+
account: (y = a == null ? void 0 : a.value) == null ? void 0 : y.account,
|
|
82
|
+
userName: (g = a == null ? void 0 : a.value) == null ? void 0 : g.userName,
|
|
83
|
+
module: typeof ((v = a == null ? void 0 : a.value) == null ? void 0 : v.module) == "string" ? (S = (b = a == null ? void 0 : a.value) == null ? void 0 : b.module) != null && S.startsWith("/") ? (w = (h = a == null ? void 0 : a.value) == null ? void 0 : h.module) == null ? void 0 : w.substring(1) : (B = a == null ? void 0 : a.value) == null ? void 0 : B.module : (x = (D = a == null ? void 0 : a.value) == null ? void 0 : D.module) == null ? void 0 : x.pageKey,
|
|
84
|
+
id: a == null ? void 0 : a.id,
|
|
85
|
+
type: (k = (E = a == null ? void 0 : a.value) == null ? void 0 : E.detail) == null ? void 0 : k.type
|
|
86
|
+
};
|
|
87
|
+
});
|
|
88
|
+
s.error("获取数据响应失败");
|
|
89
|
+
} catch (o) {
|
|
90
|
+
throw new Error("获取数据失败" + o);
|
|
91
|
+
}
|
|
92
|
+
}, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
93
|
+
__proto__: null,
|
|
94
|
+
clickButton: j,
|
|
95
|
+
getLogTableDataAsync: O,
|
|
96
|
+
pageData: T,
|
|
97
|
+
tableData: K
|
|
98
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
99
|
+
export {
|
|
100
|
+
W as S,
|
|
101
|
+
j as c,
|
|
102
|
+
O as g
|
|
103
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { c as t, d as y, u as d } from "./index-YVR3acYT.js";
|
|
2
|
+
import { ref as o } from "vue";
|
|
3
|
+
const m = (e) => {
|
|
4
|
+
const a = {};
|
|
5
|
+
for (let s in e)
|
|
6
|
+
s !== "id" && (a[s] = e[s]);
|
|
7
|
+
const i = a == null ? void 0 : a.主菜单名称;
|
|
8
|
+
t({
|
|
9
|
+
key: {
|
|
10
|
+
type: "mainEquip",
|
|
11
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
12
|
+
pageKey: i
|
|
13
|
+
},
|
|
14
|
+
value: {
|
|
15
|
+
tableData: a
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}, r = (e) => {
|
|
19
|
+
y({
|
|
20
|
+
id: e == null ? void 0 : e.id
|
|
21
|
+
});
|
|
22
|
+
}, u = (e) => {
|
|
23
|
+
const a = {};
|
|
24
|
+
for (let s in e)
|
|
25
|
+
s !== "id" && (a[s] = e[s]);
|
|
26
|
+
const i = a == null ? void 0 : a.主菜单名称;
|
|
27
|
+
d({
|
|
28
|
+
id: e == null ? void 0 : e.id,
|
|
29
|
+
key: {
|
|
30
|
+
type: "mainEquip",
|
|
31
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
32
|
+
pageKey: i
|
|
33
|
+
},
|
|
34
|
+
value: {
|
|
35
|
+
tableData: a
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
o([]);
|
|
40
|
+
export {
|
|
41
|
+
m as a,
|
|
42
|
+
r as d,
|
|
43
|
+
u as f
|
|
44
|
+
};
|