ss-component-new 1.3.667 → 1.3.668
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/MTLLoader-97ajvYTo.js +657 -0
- package/dist/URDFLoader-BTohsFFD.js +2299 -0
- package/dist/animationData-Bh1dENkM.js +83 -0
- package/dist/array-BeZlnHE5.js +1045 -0
- package/dist/clone-64Nh3RrP.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-DlIcb4df.js +29 -0
- package/dist/iconfont-DLildctL.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-11kpzK0A.js +209 -0
- package/dist/index-8ZSWGLlP.js +664 -0
- package/dist/index-B24zodK9.js +48 -0
- package/dist/index-BAILi3_p.js +627 -0
- package/dist/index-BEqKA-R8.js +342 -0
- package/dist/{index-BKK_dL6t.js → index-BHtNKL1L.js} +1 -1
- package/dist/index-BI0lhlHy.js +107 -0
- package/dist/index-BaGFPX8W.js +103 -0
- package/dist/index-BosPsk5k.js +83 -0
- package/dist/index-Byq7jT-a.js +470 -0
- package/dist/index-CDuL9GwS.js +8985 -0
- package/dist/index-CG1vGzHt.js +44 -0
- package/dist/index-CJySKIdc.js +61 -0
- package/dist/index-COgke2F-.js +119 -0
- package/dist/index-CRwB8jQA.js +572 -0
- package/dist/index-CUfQEUxH.js +873 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
- package/dist/index-ChtDRE_0.js +62 -0
- package/dist/index-ClXCn3x3.js +84 -0
- package/dist/index-CqjkyYQM.js +55 -0
- package/dist/index-CzGgc0w7.js +98 -0
- package/dist/index-CzMViO4H.js +28484 -0
- package/dist/index-D9fiFfMC.js +201 -0
- package/dist/index-DL9OWmfj.js +93 -0
- package/dist/index-DNzOZL27.js +1000 -0
- package/dist/index-DQHZjNCb.js +24423 -0
- package/dist/index-DSIS-l1N.js +93 -0
- package/dist/index-DTudxHP8.js +11815 -0
- package/dist/index-DU0QRffL.js +30 -0
- package/dist/index-DibaunZs.js +61957 -0
- package/dist/index-DkXSSUDS.js +447 -0
- package/dist/index-DlFmNKos.js +99 -0
- package/dist/index-DnRdT_Vp.js +78 -0
- package/dist/index-SOPMlMak.js +622 -0
- package/dist/index-aibiYft7.js +411 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CdPZBari.js +137703 -0
- package/dist/isString-h0UV2hrP.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-C7ijH7Xb.js +502 -0
- package/dist/menuIndex-CycdWV7s.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/request-DolpfyNJ.js +9047 -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-BQDoEUp8.js +1108 -0
- package/dist/threePreview-CIDX4oie.js +2259 -0
- package/dist/threeSceneView-C17oeWoh.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-C1NcTzgS.js +539 -0
- package/dist/threeTrackPathView-BvI1Y9Qf.js +620 -0
- package/dist/threeViewerHost-Cs8SXBpW.js +233 -0
- package/dist/urdfTree-Dkdd2JSt.js +254 -0
- package/dist/workpieceTreePanel-VMAn_xKW.js +559 -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/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -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-CDuL9GwS.js";
|
|
2
|
+
import { s as f } from "./request-DolpfyNJ.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,84 @@
|
|
|
1
|
+
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
+
import { s as b } from "./index-B24zodK9.js";
|
|
3
|
+
import { c as s } from "./index-CDuL9GwS.js";
|
|
4
|
+
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const A = (t, n, a) => {
|
|
6
|
+
var r, d, p, m;
|
|
7
|
+
let e = n;
|
|
8
|
+
e.title.text = (a == null ? void 0 : a.chartName) ?? "", e.xAxis.data = (r = s(t)) == null ? void 0 : r.map((i) => i.x), e.legend.data = (p = (d = s(t)) == null ? void 0 : d[0]) != null && p.y ? Object.keys(s(t)[0].y) : [];
|
|
9
|
+
let o = [];
|
|
10
|
+
return ((m = e.legend.data) == null ? void 0 : m.length) > 0 && s(e.legend.data).forEach((i) => {
|
|
11
|
+
var f;
|
|
12
|
+
const h = (f = s(t)) == null ? void 0 : f.map((l) => {
|
|
13
|
+
var u;
|
|
14
|
+
return (u = l == null ? void 0 : l.y) == null ? void 0 : u[i];
|
|
15
|
+
});
|
|
16
|
+
o.push({
|
|
17
|
+
name: i,
|
|
18
|
+
type: "line",
|
|
19
|
+
data: h
|
|
20
|
+
});
|
|
21
|
+
}), e.series = o, e;
|
|
22
|
+
}, c = [
|
|
23
|
+
{
|
|
24
|
+
key: "折线图",
|
|
25
|
+
value: {
|
|
26
|
+
title: {
|
|
27
|
+
text: "",
|
|
28
|
+
// 标题文本
|
|
29
|
+
left: "center",
|
|
30
|
+
// 水平居中
|
|
31
|
+
top: 25,
|
|
32
|
+
// 距离顶部距离
|
|
33
|
+
textStyle: {
|
|
34
|
+
// 文本样式
|
|
35
|
+
color: "#333",
|
|
36
|
+
fontSize: 18,
|
|
37
|
+
fontWeight: "bold"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
tooltip: {
|
|
41
|
+
trigger: "axis"
|
|
42
|
+
},
|
|
43
|
+
legend: {
|
|
44
|
+
data: []
|
|
45
|
+
},
|
|
46
|
+
grid: {
|
|
47
|
+
left: "6%",
|
|
48
|
+
right: "4%",
|
|
49
|
+
bottom: "3%",
|
|
50
|
+
containLabel: !0
|
|
51
|
+
},
|
|
52
|
+
xAxis: {
|
|
53
|
+
type: "category",
|
|
54
|
+
axisLabel: {
|
|
55
|
+
interval: 0
|
|
56
|
+
// 强制显示所有标签
|
|
57
|
+
},
|
|
58
|
+
data: []
|
|
59
|
+
},
|
|
60
|
+
yAxis: {
|
|
61
|
+
type: "value"
|
|
62
|
+
},
|
|
63
|
+
series: []
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
], v = { class: "eCharts" }, D = {
|
|
67
|
+
__name: "index",
|
|
68
|
+
props: {
|
|
69
|
+
eChartContents: Array
|
|
70
|
+
},
|
|
71
|
+
setup(t) {
|
|
72
|
+
const n = t, a = x({});
|
|
73
|
+
return _(() => {
|
|
74
|
+
var o;
|
|
75
|
+
const e = n == null ? void 0 : n.eChartContents;
|
|
76
|
+
a.value = A(s(e == null ? void 0 : e.compData), (o = c == null ? void 0 : c.find((r) => (r == null ? void 0 : r.key) === (e == null ? void 0 : e.name))) == null ? void 0 : o.value, e == null ? void 0 : e.extraContent);
|
|
77
|
+
}), (e, o) => (y(), g("div", v, [
|
|
78
|
+
C(b, { optionContents: a.value }, null, 8, ["optionContents"])
|
|
79
|
+
]));
|
|
80
|
+
}
|
|
81
|
+
}, N = /* @__PURE__ */ k(D, [["__scopeId", "data-v-0440fac3"]]);
|
|
82
|
+
export {
|
|
83
|
+
N as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { f as P, h as C, d as L, b, p as N, s as R, i as T } from "./index-CDuL9GwS.js";
|
|
2
|
+
import { E as k } from "./request-DolpfyNJ.js";
|
|
3
|
+
const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
4
|
+
var l, n, r, i, s, d, g, p, f, _, y, h, S, w;
|
|
5
|
+
let e = Object.values(c), t = await P({
|
|
6
|
+
userName: (l = e == null ? void 0 : e[0]) == null ? void 0 : l.trim(),
|
|
7
|
+
password: (n = e == null ? void 0 : e[1]) == null ? void 0 : n.trim()
|
|
8
|
+
});
|
|
9
|
+
if (((r = t == null ? void 0 : t.data) == null ? void 0 : r.status) === 200 && ((s = (i = t == null ? void 0 : t.data) == null ? void 0 : i.result) == null ? void 0 : s.length) <= 0 && (t = await C({
|
|
10
|
+
userName: (d = e == null ? void 0 : e[0]) == null ? void 0 : d.trim(),
|
|
11
|
+
password: (g = e == null ? void 0 : e[1]) == null ? void 0 : g.trim(),
|
|
12
|
+
path: "系统管理/用户管理",
|
|
13
|
+
platId: a
|
|
14
|
+
})), ((p = t == null ? void 0 : t.data) == null ? void 0 : p.status) === 200 && ((_ = (f = t == null ? void 0 : t.data) == null ? void 0 : f.result) == null ? void 0 : _.length) > 0) {
|
|
15
|
+
const o = ((h = (y = t == null ? void 0 : t.data) == null ? void 0 : y.result) == null ? void 0 : h.find((M) => D(M))) || ((w = (S = t == null ? void 0 : t.data) == null ? void 0 : S.result) == null ? void 0 : w[0]);
|
|
16
|
+
sessionStorage.setItem("systemKey", a && a !== "" ? a : o == null ? void 0 : o.plat_id);
|
|
17
|
+
let m = o;
|
|
18
|
+
return m.plat_id = m.plat_id ?? a, A.setLoginUserInfo(m), A.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
|
|
19
|
+
} else
|
|
20
|
+
return k.error("输入的密码错误,请重新输入"), !1;
|
|
21
|
+
}, K = b(N), { systemInfo: q, loginUserInfo: u } = R(K), O = async () => (sessionStorage.setItem("loginToken", "111"), !0), x = async () => (sessionStorage.setItem("magicToken", "123456"), !0), I = async (c) => {
|
|
22
|
+
var n, r, i;
|
|
23
|
+
let a = [E(c, (n = q.value) == null ? void 0 : n.plat_id), O(), x()];
|
|
24
|
+
const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
|
|
25
|
+
let l = [
|
|
26
|
+
{
|
|
27
|
+
id: "1",
|
|
28
|
+
request_method: "Post",
|
|
29
|
+
request_url: "/platform/getdata",
|
|
30
|
+
request_param: JSON.stringify({
|
|
31
|
+
userName: "hjj",
|
|
32
|
+
password: "1"
|
|
33
|
+
}),
|
|
34
|
+
request_result: "{}",
|
|
35
|
+
is_delete: !1,
|
|
36
|
+
request_table: "admin_user",
|
|
37
|
+
request_type: "login"
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
try {
|
|
41
|
+
const s = ((r = u == null ? void 0 : u.value) == null ? void 0 : r.plat_id) || ((i = q.value) == null ? void 0 : i.plat_id);
|
|
42
|
+
return await T({
|
|
43
|
+
platId: parseInt(s),
|
|
44
|
+
changeContents: [{
|
|
45
|
+
tableName: "log",
|
|
46
|
+
tableContents: l
|
|
47
|
+
}]
|
|
48
|
+
}), t;
|
|
49
|
+
} catch {
|
|
50
|
+
return t;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export {
|
|
54
|
+
I as l
|
|
55
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-CDuL9GwS.js";
|
|
3
|
+
import { V as M } from "./index-DibaunZs.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-CG1vGzHt.js";
|
|
5
|
+
import { g as w } from "./index-CJySKIdc.js";
|
|
6
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(I) {
|
|
10
|
+
const p = h(k), { menus: b } = x(p), r = C([]), f = async () => {
|
|
11
|
+
var o, l, t, a;
|
|
12
|
+
const e = await w({
|
|
13
|
+
key: {
|
|
14
|
+
type: "mainEquip",
|
|
15
|
+
systemKey: sessionStorage.getItem("systemKey")
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
if (((o = e == null ? void 0 : e.data) == null ? void 0 : o.type) === "success") {
|
|
19
|
+
let i = (t = (l = e == null ? void 0 : e.data) == null ? void 0 : l.result) == null ? void 0 : t.map((s) => s);
|
|
20
|
+
return i = (a = m(i)) == null ? void 0 : a.map((s) => {
|
|
21
|
+
var n;
|
|
22
|
+
const u = Object.values((n = s == null ? void 0 : s.value) == null ? void 0 : n.tableData);
|
|
23
|
+
return u.unshift({
|
|
24
|
+
id: s == null ? void 0 : s.id
|
|
25
|
+
}), u;
|
|
26
|
+
}), i;
|
|
27
|
+
} else
|
|
28
|
+
return [];
|
|
29
|
+
};
|
|
30
|
+
_(async () => {
|
|
31
|
+
var t;
|
|
32
|
+
const e = await f(), l = [
|
|
33
|
+
{
|
|
34
|
+
key: "header",
|
|
35
|
+
contents: [
|
|
36
|
+
{
|
|
37
|
+
label: "主菜单名称",
|
|
38
|
+
formType: "Select",
|
|
39
|
+
options: (t = m(b.value)) == null ? void 0 : t.map((a) => ({
|
|
40
|
+
label: a == null ? void 0 : a.title,
|
|
41
|
+
value: a == null ? void 0 : a.title
|
|
42
|
+
})),
|
|
43
|
+
prop: "主菜单名称"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "隐藏三维显示",
|
|
47
|
+
formType: "Switch",
|
|
48
|
+
value: !1,
|
|
49
|
+
prop: "隐藏三维显示"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "操作"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "extraButton",
|
|
58
|
+
contents: [
|
|
59
|
+
{
|
|
60
|
+
label: "新增"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: "rowButton",
|
|
66
|
+
contents: [
|
|
67
|
+
{
|
|
68
|
+
label: "查看"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: "编辑"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "删除"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
l.push({
|
|
80
|
+
key: "tableContents",
|
|
81
|
+
contents: e
|
|
82
|
+
}), r.value = l;
|
|
83
|
+
});
|
|
84
|
+
const d = (e) => {
|
|
85
|
+
(e == null ? void 0 : e.buttonName) === "新增" ? D(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "删除" ? T(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "编辑" && S(e == null ? void 0 : e.singleContent);
|
|
86
|
+
};
|
|
87
|
+
return (e, o) => (g(), c("div", N, [
|
|
88
|
+
v(M, {
|
|
89
|
+
itemData: r.value,
|
|
90
|
+
class: "table-content",
|
|
91
|
+
onChange: d
|
|
92
|
+
}, null, 8, ["itemData"])
|
|
93
|
+
]));
|
|
94
|
+
}
|
|
95
|
+
}), O = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
|
|
96
|
+
export {
|
|
97
|
+
O as default
|
|
98
|
+
};
|