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.
Files changed (85) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-CkNZudBE.js +657 -0
  3. package/dist/URDFLoader-DIzEVzUD.js +2299 -0
  4. package/dist/animationData-DvL_4GZ5.js +83 -0
  5. package/dist/array-BMCHedyE.js +1045 -0
  6. package/dist/clone-Dp_gc9ll.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-qStmsM1q.js +29 -0
  9. package/dist/fileUtil-UOt_otFo.js +20 -0
  10. package/dist/iconfont-BwY2qVoK.js +1030 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/method.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-B0H3C7WG.js +103 -0
  15. package/dist/index-B2vjWoEB.js +572 -0
  16. package/dist/index-BHtNKL1L.js +27 -0
  17. package/dist/index-BTOqgc1s.js +873 -0
  18. package/dist/index-BbyrFzEO.js +93 -0
  19. package/dist/index-BiD2svYY.js +30 -0
  20. package/dist/index-BiMfzzPV.js +98 -0
  21. package/dist/index-BooO2Bml.js +78 -0
  22. package/dist/index-Bw3sTXPI.js +8993 -0
  23. package/dist/index-BzUgGzuc.js +48 -0
  24. package/dist/index-C1pYY5Kg.js +470 -0
  25. package/dist/index-CCOqF2de.js +63158 -0
  26. package/dist/index-CGi0g-VN.js +627 -0
  27. package/dist/index-CV_jQDcg.js +9 -0
  28. package/dist/index-CWOXvFfD.js +44 -0
  29. package/dist/index-Ch8te5LO.js +411 -0
  30. package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
  31. package/dist/index-CtE-JbIk.js +119 -0
  32. package/dist/index-Cwd12dIT.js +25317 -0
  33. package/dist/index-CydXQbtX.js +622 -0
  34. package/dist/index-DAJxL40d.js +55 -0
  35. package/dist/index-DBsEVMiM.js +201 -0
  36. package/dist/index-DCK25QtA.js +20578 -0
  37. package/dist/index-DG4hoOWt.js +665 -0
  38. package/dist/index-DOpUAJtb.js +107 -0
  39. package/dist/index-DUbk5m5P.js +99 -0
  40. package/dist/index-DYhamWY7.js +93 -0
  41. package/dist/index-Ds6m_4JJ.js +28500 -0
  42. package/dist/index-DupTchhl.js +1000 -0
  43. package/dist/index-DyCq_odP.js +331 -0
  44. package/dist/index-GM47WPnp.js +83 -0
  45. package/dist/index-Ru-cNTPj.js +84 -0
  46. package/dist/index-UB_oCdlo.js +62 -0
  47. package/dist/index-YjBTGOkO.js +61 -0
  48. package/dist/index-jbOjjV0j.js +447 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/{index-CPex-4gb.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js} +111538 -112656
  52. package/dist/isString-0ZglyOfu.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-BfygOrTN.js +502 -0
  55. package/dist/menuIndex-BB0uVPRX.js +159 -0
  56. package/dist/request-1RPa2bBn.js +9048 -0
  57. package/dist/ss-component.css +8 -8
  58. package/dist/ss-component.js +64 -28
  59. package/dist/ss-component2.js +75 -15
  60. package/dist/ss-component3.js +1 -1
  61. package/dist/threeModel-CoJT33S1.js +1109 -0
  62. package/dist/threePreview-DUfFZQ5q.js +3091 -0
  63. package/dist/threeSceneView-B5sojPk9.js +1290 -0
  64. package/dist/threeSceneViewForCPMPIP-Bgi4Klfy.js +539 -0
  65. package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
  66. package/dist/threeViewerHost--r-yJNpU.js +233 -0
  67. package/dist/urdfTree-VRms7Vm3.js +254 -0
  68. package/dist/workpieceTreePanel-DCSz_IDY.js +559 -0
  69. package/package.json +7 -10
  70. package/public/config.js +1 -1
  71. package/public/icons/svg/functionList.svg +1 -0
  72. package/public/icons/svg/method.svg +1 -0
  73. package/dist/index-BCCtMBNM.js +0 -181
  74. package/dist/index-CUXLS1Ir.js +0 -50
  75. package/dist/index-CZYbAE5l.js +0 -1044
  76. package/dist/index-Ca2Zj4Is.js +0 -213
  77. package/dist/index-IoMa0kLh.js +0 -27
  78. package/dist/menu-BYmz2cKN.js +0 -5229
  79. package/dist/platform-C0GP6Nyp.js +0 -11490
  80. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  81. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  82. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  83. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  84. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  85. /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
+ };