ss-component-new 1.3.705 → 1.3.706
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-CkNZudBE.js +657 -0
- package/dist/URDFLoader-DIzEVzUD.js +2299 -0
- package/dist/animationData-DvL_4GZ5.js +83 -0
- package/dist/array-BMCHedyE.js +1045 -0
- package/dist/clone-Dp_gc9ll.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-BwY2qVoK.js +1030 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-B0H3C7WG.js +103 -0
- package/dist/index-B2vjWoEB.js +572 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BTOqgc1s.js +873 -0
- package/dist/index-BbyrFzEO.js +93 -0
- package/dist/index-BiD2svYY.js +30 -0
- package/dist/index-BiMfzzPV.js +98 -0
- package/dist/index-BooO2Bml.js +78 -0
- package/dist/index-Bw3sTXPI.js +8993 -0
- package/dist/index-BzUgGzuc.js +48 -0
- package/dist/index-C1pYY5Kg.js +470 -0
- package/dist/index-CCOqF2de.js +63158 -0
- package/dist/index-CGi0g-VN.js +627 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-Ch8te5LO.js +411 -0
- package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
- package/dist/index-CtE-JbIk.js +119 -0
- package/dist/index-Cwd12dIT.js +25317 -0
- package/dist/index-CydXQbtX.js +622 -0
- package/dist/index-DAJxL40d.js +55 -0
- package/dist/index-DBsEVMiM.js +201 -0
- package/dist/index-DCK25QtA.js +20578 -0
- package/dist/index-DG4hoOWt.js +665 -0
- package/dist/index-DOpUAJtb.js +107 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-DYhamWY7.js +93 -0
- package/dist/index-Ds6m_4JJ.js +28500 -0
- package/dist/index-DupTchhl.js +1000 -0
- package/dist/index-DyCq_odP.js +331 -0
- package/dist/index-GM47WPnp.js +83 -0
- package/dist/index-Ru-cNTPj.js +84 -0
- package/dist/index-UB_oCdlo.js +62 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-jbOjjV0j.js +447 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/{index-CPex-4gb.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js} +111538 -112656
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-BfygOrTN.js +502 -0
- package/dist/menuIndex-BB0uVPRX.js +159 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -8
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-CoJT33S1.js +1109 -0
- package/dist/threePreview-DUfFZQ5q.js +3091 -0
- package/dist/threeSceneView-B5sojPk9.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-Bgi4Klfy.js +539 -0
- package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
- package/dist/threeViewerHost--r-yJNpU.js +233 -0
- package/dist/urdfTree-VRms7Vm3.js +254 -0
- package/dist/workpieceTreePanel-DCSz_IDY.js +559 -0
- package/package.json +7 -10
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/dist/index-BCCtMBNM.js +0 -181
- package/dist/index-CUXLS1Ir.js +0 -50
- package/dist/index-CZYbAE5l.js +0 -1044
- package/dist/index-Ca2Zj4Is.js +0 -213
- package/dist/index-IoMa0kLh.js +0 -27
- package/dist/menu-BYmz2cKN.js +0 -5229
- package/dist/platform-C0GP6Nyp.js +0 -11490
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /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/{update.svg → Update.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,93 @@
|
|
|
1
|
+
import { ref as A, computed as c, onMounted as _ } from "vue";
|
|
2
|
+
import { useRouter as C } from "vue-router";
|
|
3
|
+
import { u as g, p as h, B as R, c as b, r as S, x as E } from "./index-Bw3sTXPI.js";
|
|
4
|
+
const l = {
|
|
5
|
+
ALLOW: {
|
|
6
|
+
value: "允许"
|
|
7
|
+
},
|
|
8
|
+
DENY: {
|
|
9
|
+
value: "不允许"
|
|
10
|
+
}
|
|
11
|
+
}, M = "系统管理/用户管理", N = "用户列表", D = {
|
|
12
|
+
title: "个人中心",
|
|
13
|
+
path: "/个人中心",
|
|
14
|
+
level: 1,
|
|
15
|
+
show: !0,
|
|
16
|
+
icon: "个人中心",
|
|
17
|
+
carryData: !0,
|
|
18
|
+
isPenultimate: !0,
|
|
19
|
+
isRouter: !0,
|
|
20
|
+
children: [],
|
|
21
|
+
childMenus: []
|
|
22
|
+
}, K = {
|
|
23
|
+
BASE: {
|
|
24
|
+
label: "基础信息",
|
|
25
|
+
value: "base"
|
|
26
|
+
},
|
|
27
|
+
RESET_PASSWORD_BY_FACE_RECOGNITION: {
|
|
28
|
+
label: "修改密码",
|
|
29
|
+
value: "reset-password-by-face-recognition"
|
|
30
|
+
}
|
|
31
|
+
}, T = () => {
|
|
32
|
+
const u = C(), s = g(h), { platId: o, isSuperAdmin: i } = R(), p = (e) => {
|
|
33
|
+
const { id: t } = e;
|
|
34
|
+
return {
|
|
35
|
+
id: t,
|
|
36
|
+
password: "",
|
|
37
|
+
allow_reset_password: l.DENY.value
|
|
38
|
+
};
|
|
39
|
+
}, r = A([]), d = c(() => {
|
|
40
|
+
var t, a;
|
|
41
|
+
const e = (a = (t = r.value) == null ? void 0 : t.find) == null ? void 0 : a.call(t, (n) => n.property_name === N);
|
|
42
|
+
return e == null ? void 0 : e.object_id;
|
|
43
|
+
}), w = async () => {
|
|
44
|
+
var a;
|
|
45
|
+
const e = {
|
|
46
|
+
pageName: M,
|
|
47
|
+
platId: o.value
|
|
48
|
+
}, t = await S(e);
|
|
49
|
+
return ((a = t == null ? void 0 : t.data) == null ? void 0 : a.result) || [];
|
|
50
|
+
}, f = async () => {
|
|
51
|
+
const e = await w();
|
|
52
|
+
r.value = e || [];
|
|
53
|
+
};
|
|
54
|
+
_(async () => {
|
|
55
|
+
await f();
|
|
56
|
+
});
|
|
57
|
+
const y = c(() => `content_${d.value}`), m = async (e) => ({
|
|
58
|
+
platId: o.value,
|
|
59
|
+
changeContents: [
|
|
60
|
+
{
|
|
61
|
+
tableContents: [e],
|
|
62
|
+
tableName: y.value
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}), I = (e) => {
|
|
66
|
+
const { allow_reset_password: t } = e;
|
|
67
|
+
return t === l.ALLOW.value;
|
|
68
|
+
}, v = async (e) => {
|
|
69
|
+
const { id: t, password: a, allow_reset_password: n } = e;
|
|
70
|
+
return m({
|
|
71
|
+
id: t,
|
|
72
|
+
password: a,
|
|
73
|
+
allow_reset_password: n
|
|
74
|
+
});
|
|
75
|
+
}, P = async (e) => {
|
|
76
|
+
const t = await v(e);
|
|
77
|
+
return await E(t);
|
|
78
|
+
};
|
|
79
|
+
return {
|
|
80
|
+
isSuperAdmin: i,
|
|
81
|
+
toPersonalCenter: () => {
|
|
82
|
+
const e = b(D);
|
|
83
|
+
s.setAsideMenus([e]), s.setActiveMenuPath(e == null ? void 0 : e.path), s.setActiveAsideMenu(e), u.push(e.path);
|
|
84
|
+
},
|
|
85
|
+
isAllowReplacePassword: I,
|
|
86
|
+
initReplacePassword: async (e) => await P(e),
|
|
87
|
+
initEditForm: p
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
K as t,
|
|
92
|
+
T as u
|
|
93
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
|
+
import { S as m } from "./index-B0H3C7WG.js";
|
|
3
|
+
import { W as _ } from "./index-CCOqF2de.js";
|
|
4
|
+
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
|
+
__name: "index",
|
|
7
|
+
setup(b) {
|
|
8
|
+
const t = c({ ...m });
|
|
9
|
+
s(async () => {
|
|
10
|
+
t.tableData = await t.getLogTableDataAsync();
|
|
11
|
+
});
|
|
12
|
+
const n = (o) => {
|
|
13
|
+
var e;
|
|
14
|
+
t.clickButton(o, (e = t.tableData) == null ? void 0 : e.map((a) => a.id), (a) => {
|
|
15
|
+
console.log("清空操作成功:", a), a && (t.tableData = []);
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
return (o, e) => (i(), r("div", f, [
|
|
19
|
+
p(_, {
|
|
20
|
+
itemData: t.pageData,
|
|
21
|
+
allowOperate: !1,
|
|
22
|
+
allowSelect: !1,
|
|
23
|
+
onOnButtonClick: n
|
|
24
|
+
}, null, 8, ["itemData"])
|
|
25
|
+
]));
|
|
26
|
+
}
|
|
27
|
+
}), B = /* @__PURE__ */ d(u, [["__scopeId", "data-v-b4bfde04"]]);
|
|
28
|
+
export {
|
|
29
|
+
B as default
|
|
30
|
+
};
|
|
@@ -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-Bw3sTXPI.js";
|
|
3
|
+
import { W as M } from "./index-CCOqF2de.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-CWOXvFfD.js";
|
|
5
|
+
import { g as w } from "./index-YjBTGOkO.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
|
+
}), R = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
|
|
96
|
+
export {
|
|
97
|
+
R as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { watch as n } from "vue";
|
|
2
|
+
import { s as o, b as p, p as u } from "./index-Bw3sTXPI.js";
|
|
3
|
+
import { s as r } from "./request-1RPa2bBn.js";
|
|
4
|
+
const m = p(u), { systemUrl: a } = o(m);
|
|
5
|
+
let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
|
|
6
|
+
n(
|
|
7
|
+
() => a.value,
|
|
8
|
+
() => {
|
|
9
|
+
e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
|
|
10
|
+
},
|
|
11
|
+
{ deep: !0, immediate: !0 }
|
|
12
|
+
);
|
|
13
|
+
function c(t) {
|
|
14
|
+
return r({
|
|
15
|
+
url: `${e}/platform/getdata_department_tree`,
|
|
16
|
+
method: "post",
|
|
17
|
+
data: t
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function g(t) {
|
|
21
|
+
return r({
|
|
22
|
+
url: `${e}/platform/getdata_department`,
|
|
23
|
+
method: "post",
|
|
24
|
+
data: t
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function h(t) {
|
|
28
|
+
return r({
|
|
29
|
+
url: `${e}/platform/createdata_department`,
|
|
30
|
+
method: "post",
|
|
31
|
+
data: t
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function y(t) {
|
|
35
|
+
return r({
|
|
36
|
+
url: `${e}/platform/updatedata_department`,
|
|
37
|
+
method: "post",
|
|
38
|
+
data: t
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function _(t) {
|
|
42
|
+
return r({
|
|
43
|
+
url: `${e}/platform/deletedata_department`,
|
|
44
|
+
method: "post",
|
|
45
|
+
data: t
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function v(t) {
|
|
49
|
+
return r({
|
|
50
|
+
url: `${e}/platform/getdata_department`,
|
|
51
|
+
method: "post",
|
|
52
|
+
data: t
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function s(t) {
|
|
56
|
+
return r({
|
|
57
|
+
url: `${e}/platform/getdata_department_type`,
|
|
58
|
+
method: "post",
|
|
59
|
+
data: t
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function l(t) {
|
|
63
|
+
return await s({
|
|
64
|
+
platId: t
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
async function $(t) {
|
|
68
|
+
return await l(t);
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
c as a,
|
|
72
|
+
g as b,
|
|
73
|
+
h as c,
|
|
74
|
+
_ as d,
|
|
75
|
+
$ as e,
|
|
76
|
+
v as g,
|
|
77
|
+
y as u
|
|
78
|
+
};
|