ss-component-new 1.3.658 → 1.3.660
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/_plugin-vue_export-helper-BZ_eTSzz.js +16638 -0
- package/dist/config.js +1 -1
- package/dist/{index-ChNfRlIP.js → index-BofWylNB.js} +42 -18
- package/dist/index-C5rFKP3J.js +1042 -0
- package/dist/index-CLw1Ncst.js +181 -0
- package/dist/index-Cz0F1nRr.js +8236 -0
- package/dist/index-p2dYw5GI.js +49 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +214 -67
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +785 -9
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/dist/MTLLoader-DI0avKtj.js +0 -657
- package/dist/URDFLoader-PUxvYFDe.js +0 -2304
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animationData-05aVUytq.js +0 -83
- package/dist/array-ZM04o_us.js +0 -1044
- package/dist/clone-Ddn1p6-1.js +0 -8
- package/dist/eleIcon-BWVKfp5t.js +0 -29
- package/dist/iconfont-BNdGaGPn.js +0 -1018
- package/dist/icons/svg/Update.svg +0 -1
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/uploadCopy.svg +0 -1
- package/dist/index-9ruiIh9Q.js +0 -30
- package/dist/index-BAenzdfB.js +0 -83
- package/dist/index-BDhIWgKn.js +0 -658
- package/dist/index-BFqUz4pN.js +0 -52
- package/dist/index-BIAWyba9.js +0 -2623
- package/dist/index-BKJ5SfU0.js +0 -98
- package/dist/index-BMr09Ruf.js +0 -107
- package/dist/index-BOGJMjxF.js +0 -117
- package/dist/index-BP1mKUQP.js +0 -627
- package/dist/index-BczRQX8N.js +0 -407
- package/dist/index-BnrvtCYj.js +0 -55
- package/dist/index-Bpr501oZ.js +0 -78
- package/dist/index-Bs7vFXNW.js +0 -93
- package/dist/index-BvbZiTVB.js +0 -342
- package/dist/index-Bvvz41NY.js +0 -44
- package/dist/index-C2YKgxwc.js +0 -61990
- package/dist/index-C9DBY1gg.js +0 -103
- package/dist/index-CFFbhR3G.js +0 -996
- package/dist/index-COr2mcbl.js +0 -48
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CXe4q28L.js +0 -447
- package/dist/index-CsxH-GEh.js +0 -24847
- package/dist/index-D-5v1Jx7.js +0 -93
- package/dist/index-D4LcEpQ7.js +0 -619
- package/dist/index-DGObzWyL.js +0 -8984
- package/dist/index-DJ59jXR0.js +0 -28483
- package/dist/index-DJrzqi4-.js +0 -209
- package/dist/index-D_kI6aHR.js +0 -98
- package/dist/index-Ddhx18T9.js +0 -864
- package/dist/index-Dr9Wt5nC.js +0 -84
- package/dist/index-Dwt0Wlg_.js +0 -201
- package/dist/index-EGwObkob.js +0 -468
- package/dist/index-WPJbEuld.js +0 -62
- package/dist/index-YVR3acYT.js +0 -61
- package/dist/index-dD-mKgue.js +0 -27
- package/dist/index-lHjuVdOp.js +0 -11773
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js +0 -137728
- package/dist/isString-CoCw_sp3.js +0 -8
- package/dist/localIcon-CoJHw5ss.js +0 -76
- package/dist/main-Bs7Y7gDm.js +0 -502
- package/dist/menuIndex-Dt0NyAyE.js +0 -159
- package/dist/request-DiogHwkN.js +0 -9465
- package/dist/threeModel-C3x2TmUN.js +0 -1108
- package/dist/threePreview-BHLSA5YS.js +0 -2259
- package/dist/threeSceneView-mfAIunaw.js +0 -1289
- package/dist/threeSceneViewForCPMPIP-DrnsTNPv.js +0 -538
- package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
- package/dist/threeViewerHost-DbJCLcbz.js +0 -233
- package/dist/urdfTree-IEJgkVzs.js +0 -254
- package/dist/workpieceTreePanel-aZV2ut3W.js +0 -555
- package/public/icons/svg/Update.svg +0 -1
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/uploadCopy.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { u as S, p as h, a as w, k as N, E as b, s as v, m as A } from "./_plugin-vue_export-helper-BZ_eTSzz.js";
|
|
2
|
+
const f = S(h), { isDefaultModel: M } = w(), P = async (c, s) => {
|
|
3
|
+
var u, o, r, i, a, d, g, p, y;
|
|
4
|
+
let t = Object.values(c), e = await N({
|
|
5
|
+
userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
|
|
6
|
+
password: (o = t == null ? void 0 : t[1]) == null ? void 0 : o.trim()
|
|
7
|
+
});
|
|
8
|
+
if (((r = e == null ? void 0 : e.data) == null ? void 0 : r.status) === 200 && ((a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.result) == null ? void 0 : a.length) > 0) {
|
|
9
|
+
const n = ((g = (d = e == null ? void 0 : e.data) == null ? void 0 : d.result) == null ? void 0 : g.find((q) => M(q))) || ((y = (p = e == null ? void 0 : e.data) == null ? void 0 : p.result) == null ? void 0 : y[0]);
|
|
10
|
+
sessionStorage.setItem("systemKey", s && s !== "" ? s : n == null ? void 0 : n.id);
|
|
11
|
+
let m = n;
|
|
12
|
+
return m.plat_id = m.id ?? s, f.setLoginUserInfo(m), f.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
|
|
13
|
+
} else
|
|
14
|
+
return b.error("输入的密码错误,请重新输入"), !1;
|
|
15
|
+
}, k = S(h), { systemInfo: _, loginUserInfo: l } = v(k), L = async () => (sessionStorage.setItem("loginToken", "111"), !0), T = async () => (sessionStorage.setItem("magicToken", "123456"), !0), D = async (c) => {
|
|
16
|
+
var o, r, i;
|
|
17
|
+
let s = [P(c, (o = _.value) == null ? void 0 : o.plat_id), L(), T()];
|
|
18
|
+
const t = await Promise.all(s), e = t == null ? void 0 : t.every((a) => a);
|
|
19
|
+
let u = [
|
|
20
|
+
{
|
|
21
|
+
id: "1",
|
|
22
|
+
request_method: "Post",
|
|
23
|
+
request_url: "/platform/getdata",
|
|
24
|
+
request_param: JSON.stringify({
|
|
25
|
+
userName: l.value.userName,
|
|
26
|
+
password: l.value.password
|
|
27
|
+
}),
|
|
28
|
+
request_result: "{}",
|
|
29
|
+
is_delete: !1,
|
|
30
|
+
request_table: "admin_user",
|
|
31
|
+
request_type: "login"
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
try {
|
|
35
|
+
const a = ((r = l == null ? void 0 : l.value) == null ? void 0 : r.plat_id) || ((i = _.value) == null ? void 0 : i.plat_id);
|
|
36
|
+
return await A({
|
|
37
|
+
platId: parseInt(a),
|
|
38
|
+
changeContents: [{
|
|
39
|
+
tableName: "log",
|
|
40
|
+
tableContents: u
|
|
41
|
+
}]
|
|
42
|
+
}), e;
|
|
43
|
+
} catch {
|
|
44
|
+
return e;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
D as l
|
|
49
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as c, resolveComponent as m,
|
|
1
|
+
import { defineComponent as u, ref as c, resolveComponent as m, createBlock as s, openBlock as y, withCtx as f, createTextVNode as g, toDisplayString as p } from "vue";
|
|
2
2
|
const B = /* @__PURE__ */ u({
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
@@ -35,7 +35,7 @@ const B = /* @__PURE__ */ u({
|
|
|
35
35
|
};
|
|
36
36
|
return (l, o) => {
|
|
37
37
|
const r = m("el-button");
|
|
38
|
-
return
|
|
38
|
+
return y(), s(r, {
|
|
39
39
|
type: e == null ? void 0 : e.buttonType,
|
|
40
40
|
id: e != null && e.emptyColor ? "" : "themeButton",
|
|
41
41
|
onClick: o[0] || (o[0] = (_) => d(t.value)),
|