ss-component-new 1.3.666 → 1.3.667
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-dD-mKgue.js → index-BKK_dL6t.js} +3 -3
- package/dist/{index-ChNfRlIP.js → index-BobGeNMx.js} +5 -5
- package/dist/index-CCShKHTf.js +50 -0
- package/dist/index-CHLS51j8.js +1044 -0
- package/dist/index-Ccv8qbdo.js +9091 -0
- package/dist/index-D2V0zCQE.js +195 -0
- package/dist/index-DgjdKpj-.js +182 -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/menu-B8iV5Rhf.js +5215 -0
- package/dist/origin-B7bb-ZcE.js +11428 -0
- package/dist/ss-component.css +2 -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 +4 -4
- package/public/config.js +1 -1
- package/dist/MTLLoader-DI0avKtj.js +0 -657
- package/dist/URDFLoader-PUxvYFDe.js +0 -2304
- package/dist/animationData-05aVUytq.js +0 -83
- package/dist/array-BHRYnJKv.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-7mFTFA3-.js +0 -107
- package/dist/index-BDhIWgKn.js +0 -658
- package/dist/index-BFqUz4pN.js +0 -52
- 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-BvbZiTVB.js +0 -342
- package/dist/index-Bvvz41NY.js +0 -44
- package/dist/index-C2M8MGB3.js +0 -83
- package/dist/index-C67QqPPT.js +0 -24865
- package/dist/index-C85-PeF1.js +0 -11773
- package/dist/index-C9DBY1gg.js +0 -103
- package/dist/index-CFFbhR3G.js +0 -996
- package/dist/index-COr2mcbl.js +0 -48
- package/dist/index-CQ8DCGnJ.js +0 -98
- package/dist/index-CV2cha0T.js +0 -864
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CXe4q28L.js +0 -447
- package/dist/index-CqNlqFQ5.js +0 -117
- package/dist/index-D-5v1Jx7.js +0 -93
- package/dist/index-D4LcEpQ7.js +0 -619
- package/dist/index-D9w3QWuY.js +0 -468
- 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-DhQcwkOc.js +0 -61958
- package/dist/index-DhULdX5n.js +0 -2623
- package/dist/index-Dibj25i7.js +0 -93
- package/dist/index-Dr9Wt5nC.js +0 -84
- package/dist/index-Dwt0Wlg_.js +0 -201
- package/dist/index-WPJbEuld.js +0 -62
- package/dist/index-YVR3acYT.js +0 -61
- package/dist/index-roQK_1xA.js +0 -30
- 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-Dlo2i9wB.js +0 -502
- package/dist/menuIndex-Dt0NyAyE.js +0 -159
- package/dist/request-DiogHwkN.js +0 -9465
- package/dist/threeModel-BfY7WDWB.js +0 -1108
- package/dist/threePreview-BHLSA5YS.js +0 -2259
- package/dist/threeSceneView-ZTUK-ls2.js +0 -1289
- package/dist/threeSceneViewForCPMPIP-DCG4eBvk.js +0 -538
- package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
- package/dist/threeViewerHost-BwblfmOC.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
package/dist/index-Dibj25i7.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, openBlock as u, createElementBlock as y, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-DhULdX5n.js";
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js";
|
|
4
|
-
import "./index-dD-mKgue.js";
|
|
5
|
-
import { f as E } from "./index-C67QqPPT.js";
|
|
6
|
-
import "./index-DJ59jXR0.js";
|
|
7
|
-
import { b as N, s as U } from "./index-DGObzWyL.js";
|
|
8
|
-
import "./request-DiogHwkN.js";
|
|
9
|
-
/* empty css */
|
|
10
|
-
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
12
|
-
__name: "index",
|
|
13
|
-
setup(G) {
|
|
14
|
-
const e = k({ ...I }), S = N(), { loginUserInfo: s } = U(S);
|
|
15
|
-
return D(() => {
|
|
16
|
-
var l;
|
|
17
|
-
e.getUserTableHeadersAsync(), e.refreshLoginUserInfoAsync((l = s == null ? void 0 : s.value) == null ? void 0 : l.id), x.value++;
|
|
18
|
-
}), (l, a) => {
|
|
19
|
-
var g, m, _, v, f, b, h;
|
|
20
|
-
const i = B("svg-icon"), c = T("loading");
|
|
21
|
-
return u(), y("div", z, [
|
|
22
|
-
t("div", F, [
|
|
23
|
-
t("div", H, [
|
|
24
|
-
t("div", K, [
|
|
25
|
-
p(o(w, {
|
|
26
|
-
size: 100,
|
|
27
|
-
disabled: e.uploadDisabled,
|
|
28
|
-
userInfo: n(s),
|
|
29
|
-
onSubmitImage: a[0] || (a[0] = (d) => e.submitImageAsync("avatarUrl", d))
|
|
30
|
-
}, null, 8, ["disabled", "userInfo"]), [
|
|
31
|
-
[c, e.avatarLoading]
|
|
32
|
-
])
|
|
33
|
-
])
|
|
34
|
-
]),
|
|
35
|
-
t("div", M, [
|
|
36
|
-
t("div", null, [
|
|
37
|
-
o(i, {
|
|
38
|
-
name: "userAccount",
|
|
39
|
-
style: { width: "15px", height: "15px" }
|
|
40
|
-
}),
|
|
41
|
-
t("span", null, r(((g = n(s)) == null ? void 0 : g.account) || (((m = n(s)) == null ? void 0 : m.姓名) ?? "未知")), 1)
|
|
42
|
-
]),
|
|
43
|
-
t("div", null, [
|
|
44
|
-
o(i, {
|
|
45
|
-
name: "role",
|
|
46
|
-
style: { width: "15px", height: "15px" }
|
|
47
|
-
}),
|
|
48
|
-
t("span", null, r(((_ = n(s)) == null ? void 0 : _.layer) === "superAdmin" ? "超级管理员" : ((v = n(s)) == null ? void 0 : v.角色名称) ?? "未知"), 1)
|
|
49
|
-
]),
|
|
50
|
-
t("div", null, [
|
|
51
|
-
o(i, {
|
|
52
|
-
name: "dept",
|
|
53
|
-
style: { width: "15px", height: "15px" }
|
|
54
|
-
}),
|
|
55
|
-
t("span", null, r(((f = n(s)) == null ? void 0 : f.部门名称) ?? "未知"), 1)
|
|
56
|
-
]),
|
|
57
|
-
t("div", null, [
|
|
58
|
-
o(i, {
|
|
59
|
-
name: "status",
|
|
60
|
-
style: { width: "15px", height: "15px" }
|
|
61
|
-
}),
|
|
62
|
-
t("span", null, r(((b = n(s)) == null ? void 0 : b.layer) === "superAdmin" ? "启用" : ((h = n(s)) == null ? void 0 : h.状态) ?? "未知"), 1)
|
|
63
|
-
])
|
|
64
|
-
]),
|
|
65
|
-
t("div", R, [
|
|
66
|
-
p(o(L, {
|
|
67
|
-
userInfo: n(s),
|
|
68
|
-
itemData: e.itemData,
|
|
69
|
-
onClickSignButton: e.clickSignButton,
|
|
70
|
-
onBeforeDestroy: e.beforeSignDestroy,
|
|
71
|
-
onClickSubmitSign: a[1] || (a[1] = (d) => e.submitImageAsync("signature", d))
|
|
72
|
-
}, null, 8, ["userInfo", "itemData", "onClickSignButton", "onBeforeDestroy"]), [
|
|
73
|
-
[c, e.signatureLoading]
|
|
74
|
-
])
|
|
75
|
-
])
|
|
76
|
-
]),
|
|
77
|
-
p((u(), y("div", j, [
|
|
78
|
-
(u(), A(E, {
|
|
79
|
-
key: n(x),
|
|
80
|
-
tabsContents: e.tabsContents,
|
|
81
|
-
onChangeTrigger: e.changeFormTrigger,
|
|
82
|
-
onClickTrigger: e.clickTabButton
|
|
83
|
-
}, null, 8, ["tabsContents", "onChangeTrigger", "onClickTrigger"]))
|
|
84
|
-
])), [
|
|
85
|
-
[c, e.loading]
|
|
86
|
-
])
|
|
87
|
-
]);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}), te = /* @__PURE__ */ V(q, [["__scopeId", "data-v-3bdf3f4b"]]);
|
|
91
|
-
export {
|
|
92
|
-
te as default
|
|
93
|
-
};
|
package/dist/index-Dr9Wt5nC.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { ref as x, onMounted as _, openBlock as g, createElementBlock as y, createVNode as C } from "vue";
|
|
2
|
-
import { s as b } from "./index-COr2mcbl.js";
|
|
3
|
-
import { c as s } from "./index-DGObzWyL.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) => (g(), y("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
|
-
};
|
package/dist/index-Dwt0Wlg_.js
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import { defineComponent as W, ref as z, computed as N, watch as y, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, openBlock as w, createElementBlock as L, createBlock as q } from "vue";
|
|
2
|
-
import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-DGObzWyL.js";
|
|
3
|
-
import { l as ee } from "./index-BnrvtCYj.js";
|
|
4
|
-
import { useRouter as te } from "vue-router";
|
|
5
|
-
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
7
|
-
__name: "index",
|
|
8
|
-
props: {
|
|
9
|
-
windowConfig: {
|
|
10
|
-
type: Object,
|
|
11
|
-
default: () => {
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
systemInfo: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default: () => {
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
systemKey: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: ""
|
|
22
|
-
},
|
|
23
|
-
pathContent: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: ""
|
|
26
|
-
},
|
|
27
|
-
mode: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: "view"
|
|
30
|
-
},
|
|
31
|
-
content: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: ""
|
|
34
|
-
},
|
|
35
|
-
jsonContents: {
|
|
36
|
-
type: Array,
|
|
37
|
-
default: () => []
|
|
38
|
-
},
|
|
39
|
-
showButton: {
|
|
40
|
-
type: Boolean,
|
|
41
|
-
default: !1
|
|
42
|
-
},
|
|
43
|
-
nodeDev: {
|
|
44
|
-
type: String,
|
|
45
|
-
default: ""
|
|
46
|
-
},
|
|
47
|
-
pageKey: {
|
|
48
|
-
type: String,
|
|
49
|
-
default: ""
|
|
50
|
-
},
|
|
51
|
-
interfaceContent: {
|
|
52
|
-
type: Array,
|
|
53
|
-
default: () => []
|
|
54
|
-
},
|
|
55
|
-
loginContent: {
|
|
56
|
-
type: Object,
|
|
57
|
-
default: () => {
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
menuFiles: {
|
|
61
|
-
type: Array,
|
|
62
|
-
default: () => []
|
|
63
|
-
},
|
|
64
|
-
workspaceHistoryData: {
|
|
65
|
-
type: Array,
|
|
66
|
-
default: () => []
|
|
67
|
-
},
|
|
68
|
-
// 用于打开/拣选工作区
|
|
69
|
-
workspaceInfo: {
|
|
70
|
-
type: Object,
|
|
71
|
-
default: () => []
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
-
setup(m, { emit: _ }) {
|
|
76
|
-
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), f = Y(h), g = z(!0), { activeMenuPath: I } = v(f), e = m, o = _, j = N(() => {
|
|
77
|
-
var t, n;
|
|
78
|
-
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
|
-
}), B = (t) => {
|
|
80
|
-
o("systemContent", t);
|
|
81
|
-
}, M = () => {
|
|
82
|
-
o("updateVersion");
|
|
83
|
-
}, T = () => {
|
|
84
|
-
o("clearFileContent");
|
|
85
|
-
};
|
|
86
|
-
y(
|
|
87
|
-
() => e == null ? void 0 : e.menuFiles,
|
|
88
|
-
() => {
|
|
89
|
-
var t;
|
|
90
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && f.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
91
|
-
},
|
|
92
|
-
{ deep: !0, immediate: !0 }
|
|
93
|
-
), y(
|
|
94
|
-
() => I.value,
|
|
95
|
-
async () => {
|
|
96
|
-
var n, a;
|
|
97
|
-
let t = await Z({
|
|
98
|
-
platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
|
|
99
|
-
});
|
|
100
|
-
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, f.setDataFiles(t), o("getMenuPathValue", I.value);
|
|
101
|
-
},
|
|
102
|
-
{ deep: !0, immediate: !0 }
|
|
103
|
-
), y(
|
|
104
|
-
() => e == null ? void 0 : e.loginContent,
|
|
105
|
-
async () => {
|
|
106
|
-
var n, a, u, l;
|
|
107
|
-
g.value = !0;
|
|
108
|
-
let t = e == null ? void 0 : e.loginContent;
|
|
109
|
-
if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
|
|
110
|
-
let c = await p();
|
|
111
|
-
o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync({
|
|
112
|
-
type: "登录",
|
|
113
|
-
data: {
|
|
114
|
-
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
115
|
-
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
116
|
-
}
|
|
117
|
-
}, "/login", "login"), f.setHasClickEditComp(!1);
|
|
118
|
-
}
|
|
119
|
-
g.value = !1, await V();
|
|
120
|
-
},
|
|
121
|
-
{ deep: !0, immediate: !0 }
|
|
122
|
-
);
|
|
123
|
-
const b = (t) => {
|
|
124
|
-
o("projectLogin", t);
|
|
125
|
-
}, x = () => {
|
|
126
|
-
o("projectLogin", "");
|
|
127
|
-
};
|
|
128
|
-
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
129
|
-
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
130
|
-
}, { immediate: !0 }), y(
|
|
131
|
-
() => e == null ? void 0 : e.interfaceContent,
|
|
132
|
-
() => {
|
|
133
|
-
var a, u, l, c, r;
|
|
134
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
|
|
135
|
-
let t = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
136
|
-
n = (c = n == null ? void 0 : n.split("=")) == null ? void 0 : c[1], n = n == null ? void 0 : n.trim(), t = (r = t == null ? void 0 : t.split("=")) == null ? void 0 : r[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
|
|
137
|
-
},
|
|
138
|
-
{ immediate: !0, deep: !0 }
|
|
139
|
-
), k(async () => {
|
|
140
|
-
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
141
|
-
});
|
|
142
|
-
const K = () => {
|
|
143
|
-
o("buildContent");
|
|
144
|
-
}, R = () => {
|
|
145
|
-
o("setLoginInfo");
|
|
146
|
-
}, U = (t) => {
|
|
147
|
-
o("openThreeBuild", t);
|
|
148
|
-
}, H = (t) => {
|
|
149
|
-
o("threeData", t);
|
|
150
|
-
}, O = (t) => {
|
|
151
|
-
o("updateApiUrl", t);
|
|
152
|
-
}, P = (t) => {
|
|
153
|
-
o("executeWorkspace", t);
|
|
154
|
-
}, C = () => {
|
|
155
|
-
var r, i, S;
|
|
156
|
-
const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
157
|
-
f.setSystemHeight(n);
|
|
158
|
-
const a = 1920, u = 16, l = t / a, c = u * l;
|
|
159
|
-
document.documentElement.style.fontSize = `${c}px`;
|
|
160
|
-
};
|
|
161
|
-
return k(() => {
|
|
162
|
-
C(), window.addEventListener("resize", C);
|
|
163
|
-
}), G(() => {
|
|
164
|
-
window.removeEventListener("resize", C);
|
|
165
|
-
}), (t, n) => {
|
|
166
|
-
const a = $("router-view");
|
|
167
|
-
return w(), L("div", null, [
|
|
168
|
-
g.value ? (w(), L("div", oe)) : (w(), q(a, {
|
|
169
|
-
key: 1,
|
|
170
|
-
mode: e == null ? void 0 : e.mode,
|
|
171
|
-
content: e == null ? void 0 : e.content,
|
|
172
|
-
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
173
|
-
pathContent: e == null ? void 0 : e.pathContent,
|
|
174
|
-
showButton: j.value,
|
|
175
|
-
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
176
|
-
windowConfig: m.windowConfig,
|
|
177
|
-
systemInfo: m.systemInfo,
|
|
178
|
-
"old-systemKey": m.systemKey,
|
|
179
|
-
onBuildContent: K,
|
|
180
|
-
onProjectLogin: b,
|
|
181
|
-
onClearLogin: x,
|
|
182
|
-
onUpdateApiUrl: O,
|
|
183
|
-
onOpenThreeBuild: U,
|
|
184
|
-
pageKey: m.pageKey,
|
|
185
|
-
onThreeData: H,
|
|
186
|
-
onSetLoginInfo: R,
|
|
187
|
-
loginContent: e == null ? void 0 : e.loginContent,
|
|
188
|
-
onUpdateVersion: M,
|
|
189
|
-
onClearFileContent: T,
|
|
190
|
-
onSystemContent: B,
|
|
191
|
-
onExecuteWorkspace: P,
|
|
192
|
-
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
193
|
-
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
194
|
-
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
195
|
-
]);
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-201a6b2b"]]);
|
|
199
|
-
export {
|
|
200
|
-
de as default
|
|
201
|
-
};
|
package/dist/index-WPJbEuld.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { s as h, b as l, p as w, A as F } from "./index-DGObzWyL.js";
|
|
2
|
-
import { s as f } from "./request-DiogHwkN.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
|
-
};
|
package/dist/index-YVR3acYT.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { s as a } from "./request-DiogHwkN.js";
|
|
2
|
-
function n(t) {
|
|
3
|
-
return a({
|
|
4
|
-
url: "/api/insofData/add",
|
|
5
|
-
method: "post",
|
|
6
|
-
data: t
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
function s(t) {
|
|
10
|
-
var e;
|
|
11
|
-
if (((e = Object.keys(t)) == null ? void 0 : e.length) !== 0)
|
|
12
|
-
return a({
|
|
13
|
-
url: "/api/insofData/get",
|
|
14
|
-
method: "post",
|
|
15
|
-
data: t
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function i(t) {
|
|
19
|
-
return a({
|
|
20
|
-
url: "/api/insofData/update",
|
|
21
|
-
method: "post",
|
|
22
|
-
data: t
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function r(t) {
|
|
26
|
-
return a({
|
|
27
|
-
url: "/api/insofData/delete",
|
|
28
|
-
method: "post",
|
|
29
|
-
data: t
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
function p(t) {
|
|
33
|
-
return a({
|
|
34
|
-
url: "/api/insofData/batchAdd",
|
|
35
|
-
method: "post",
|
|
36
|
-
data: t
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function u(t) {
|
|
40
|
-
return a({
|
|
41
|
-
url: "/api/insofData/batchDelete",
|
|
42
|
-
method: "post",
|
|
43
|
-
data: t
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
function f(t) {
|
|
47
|
-
return a({
|
|
48
|
-
url: "/api/insofData/batchUpdate",
|
|
49
|
-
method: "post",
|
|
50
|
-
data: t
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
u as a,
|
|
55
|
-
f as b,
|
|
56
|
-
n as c,
|
|
57
|
-
r as d,
|
|
58
|
-
p as e,
|
|
59
|
-
s as g,
|
|
60
|
-
i as u
|
|
61
|
-
};
|
package/dist/index-roQK_1xA.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, reactive as c, onMounted as s, openBlock as r, createElementBlock as i, createVNode as p } from "vue";
|
|
2
|
-
import { S as m } from "./index-C9DBY1gg.js";
|
|
3
|
-
import { V as _ } from "./index-DhQcwkOc.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) => (r(), i("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
|
-
};
|