ss-component-new 1.3.701 → 1.3.702
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/config.js +1 -1
- package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
- package/dist/index-BZ6XZp4O.js +182 -0
- package/dist/index-DMqUY4yR.js +27 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D9DRZPyb.js → index-DXYV8CAc.js} +112065 -110832
- package/dist/index-Dad_IdSm.js +213 -0
- package/dist/index-Nxu5ivW5.js +1044 -0
- package/dist/index-T_MmKXF1.js +50 -0
- package/dist/menu-BYmz2cKN.js +5229 -0
- package/dist/platform-C9131Sg-.js +11490 -0
- package/dist/ss-component.css +8 -8
- package/dist/ss-component.js +28 -64
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +1 -1
- package/package.json +8 -6
- package/public/config.js +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/MTLLoader-DC5Di-ql.js +0 -657
- package/dist/URDFLoader-BqfNCQLH.js +0 -2299
- package/dist/animationData-BNQm3jIu.js +0 -83
- package/dist/array-BXz16Xf3.js +0 -1045
- package/dist/clone-Dp_gc9ll.js +0 -8
- package/dist/eleIcon-qStmsM1q.js +0 -29
- package/dist/fileUtil-UOt_otFo.js +0 -20
- package/dist/iconfont-B2Moc_Mi.js +0 -1026
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/method.svg +0 -1
- package/dist/index-11kpzK0A.js +0 -209
- package/dist/index-B0H3C7WG.js +0 -103
- package/dist/index-B3OyTnhN.js +0 -119
- package/dist/index-BHtNKL1L.js +0 -27
- package/dist/index-Bbwy0rRx.js +0 -411
- package/dist/index-BbyrFzEO.js +0 -93
- package/dist/index-Bk_HGMFV.js +0 -20578
- package/dist/index-BooO2Bml.js +0 -78
- package/dist/index-BpgixwCC.js +0 -83
- package/dist/index-Bw3sTXPI.js +0 -8993
- package/dist/index-Bz8vSCfN.js +0 -84
- package/dist/index-CAm10a_p.js +0 -107
- package/dist/index-CGVmScXF.js +0 -470
- package/dist/index-CGi0g-VN.js +0 -627
- package/dist/index-CTD1ZbEQ.js +0 -873
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CWOXvFfD.js +0 -44
- package/dist/index-Ch_Lf81f.js +0 -63004
- package/dist/index-CjsQSzV6.js +0 -572
- package/dist/index-Ck_oTi7E.js +0 -25297
- package/dist/index-CydXQbtX.js +0 -622
- package/dist/index-DAJxL40d.js +0 -55
- package/dist/index-DBsEVMiM.js +0 -201
- package/dist/index-DG4hoOWt.js +0 -665
- package/dist/index-DUbk5m5P.js +0 -99
- package/dist/index-Ds6m_4JJ.js +0 -28500
- package/dist/index-DupTchhl.js +0 -1000
- package/dist/index-DyCq_odP.js +0 -331
- package/dist/index-DynGQqC3.js +0 -93
- package/dist/index-UB_oCdlo.js +0 -62
- package/dist/index-YjBTGOkO.js +0 -61
- package/dist/index-ib1DMe8v.js +0 -98
- package/dist/index-jbOjjV0j.js +0 -447
- package/dist/index-ke-XsSa7.js +0 -30
- package/dist/index-lPVVum78.js +0 -48
- package/dist/index-rlStojTL.js +0 -52
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/isString-0ZglyOfu.js +0 -8
- package/dist/localIcon-D5UoFBU5.js +0 -76
- package/dist/main-1uytY6Nj.js +0 -502
- package/dist/menuIndex-BB0uVPRX.js +0 -159
- package/dist/request-1RPa2bBn.js +0 -9048
- package/dist/threeModel-BEmaHjYZ.js +0 -1109
- package/dist/threePreview-D7ncVQLV.js +0 -2810
- package/dist/threeSceneView-ClvW-1FZ.js +0 -1290
- package/dist/threeSceneViewForCPMPIP-D7zwZFBW.js +0 -539
- package/dist/threeTrackPathView-VySiazeH.js +0 -620
- package/dist/threeViewerHost-sD-GHVTI.js +0 -233
- package/dist/urdfTree-B-7DfE39.js +0 -254
- package/dist/workpieceTreePanel-DB06G34P.js +0 -559
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/method.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/dist/icons/svg/{Update.svg → update.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
- /package/public/icons/svg/{Update.svg → update.svg} +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { e as w, h as N, u as S, E as b, i as v } from "./platform-C9131Sg-.js";
|
|
2
|
+
import { p as h, s as A } from "./menu-BYmz2cKN.js";
|
|
3
|
+
const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
|
|
4
|
+
var u, o, r, i, a, d, g, p, f;
|
|
5
|
+
let t = Object.values(m), e = await w({
|
|
6
|
+
userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
|
|
7
|
+
password: (o = t == null ? void 0 : t[1]) == null ? void 0 : o.trim()
|
|
8
|
+
});
|
|
9
|
+
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) {
|
|
10
|
+
const n = ((g = (d = e == null ? void 0 : e.data) == null ? void 0 : d.result) == null ? void 0 : g.find((q) => M(q))) || ((f = (p = e == null ? void 0 : e.data) == null ? void 0 : p.result) == null ? void 0 : f[0]);
|
|
11
|
+
sessionStorage.setItem("systemKey", s && s !== "" ? s : n == null ? void 0 : n.id);
|
|
12
|
+
let c = n;
|
|
13
|
+
return c.plat_id = c.id ?? s, y.setLoginUserInfo(c), y.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
|
|
14
|
+
} else
|
|
15
|
+
return b.error("输入的密码错误,请重新输入"), !1;
|
|
16
|
+
}, L = S(h), { systemInfo: _, loginUserInfo: l } = A(L), T = async () => (sessionStorage.setItem("loginToken", "111"), !0), j = async () => (sessionStorage.setItem("magicToken", "123456"), !0), E = async (m) => {
|
|
17
|
+
var o, r, i;
|
|
18
|
+
let s = [P(m, (o = _.value) == null ? void 0 : o.plat_id), T(), j()];
|
|
19
|
+
const t = await Promise.all(s), e = t == null ? void 0 : t.every((a) => a);
|
|
20
|
+
let u = [
|
|
21
|
+
{
|
|
22
|
+
id: "1",
|
|
23
|
+
request_method: "Post",
|
|
24
|
+
request_url: "/platform/getdata",
|
|
25
|
+
request_param: JSON.stringify({
|
|
26
|
+
userName: l.value.userName,
|
|
27
|
+
password: l.value.password
|
|
28
|
+
}),
|
|
29
|
+
request_result: "{}",
|
|
30
|
+
is_delete: !1,
|
|
31
|
+
request_table: "admin_user",
|
|
32
|
+
request_type: "login"
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
try {
|
|
36
|
+
const a = ((r = l == null ? void 0 : l.value) == null ? void 0 : r.plat_id) || ((i = _.value) == null ? void 0 : i.plat_id);
|
|
37
|
+
return await v({
|
|
38
|
+
platId: parseInt(a),
|
|
39
|
+
changeContents: [{
|
|
40
|
+
tableName: "log",
|
|
41
|
+
tableContents: u
|
|
42
|
+
}]
|
|
43
|
+
}), e;
|
|
44
|
+
} catch {
|
|
45
|
+
return e;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
E as l
|
|
50
|
+
};
|