ss-component-new 1.3.606 → 1.3.608
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/{MTLLoader-BL2uYkTJ.js → MTLLoader-B6ottYFV.js} +2 -2
- package/dist/{OrbitControls-Zyj23qrC.js → OrbitControls-BFVKU7s-.js} +1 -1
- package/dist/{URDFLoader-CRx5L75v.js → URDFLoader-CH-7Pzmq.js} +589 -584
- package/dist/{animationData-CJQE6_nu.js → animationData-F0z3GN7j.js} +3 -3
- package/dist/{array-BkavaXXQ.js → array-Clho0aNm.js} +13 -14
- package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
- package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
- package/dist/{iconfont-BnmSp7qc.js → iconfont-BJYdStg5.js} +4 -4
- package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
- package/dist/{index-DIC1IjU6.js → index-B1pggnuk.js} +60 -62
- package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
- package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
- package/dist/{index-ClbVbnpS.js → index-B4xzD-6v.js} +18 -20
- package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-Bdlw5PXG.js → index-BPpFNODf.js} +5 -5
- package/dist/{index-C5QKOpfx.js → index-BWPIkFPn.js} +9227 -8773
- package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
- package/dist/{index-BG89B83e.js → index-Bqqhe316.js} +148 -157
- package/dist/{index-B0M1YCUY.js → index-BvtOLltL.js} +7 -7
- package/dist/{index-DsdWSuDi.js → index-BvyM6d06.js} +482 -483
- package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
- package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
- package/dist/{index-C31Pm35-.js → index-CQHLe7l6.js} +573 -608
- package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
- package/dist/{index-CTicGWoS.js → index-CXqqIuf-.js} +3 -3
- package/dist/{index-D9xMYIes.js → index-CYjsE5Gs.js} +3 -3
- package/dist/index-CjNWVVhm.js +2623 -0
- package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
- package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
- package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
- package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-DADd4cmS.js → index-DK9-eF24.js} +21851 -21873
- package/dist/{index-BUqviBFi.js → index-DcPtyCDm.js} +29 -35
- package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
- package/dist/{index-B4-GD2HP.js → index-DpdwR2O0.js} +3 -3
- package/dist/{index-BOqo9XDw.js → index-S5AsqKOU.js} +6 -6
- package/dist/{index-BA1kJZth.js → index-aTEfnfYn.js} +36 -40
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-UC3celFR.js → index-gAcMQttx.js} +8 -8
- package/dist/{index-DkumSU1-.js → index-hg0CdgKe.js} +4 -4
- package/dist/{index-CC5AxngM.js → index-meZOiovI.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js} +27760 -27735
- package/dist/isString-Dxm3W5iX.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-CmzE3HuC.js → main-cZ53HaDl.js} +9 -9
- package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
- package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/svgIcon-4m2zaZkj.js +42 -0
- package/dist/{threeModel-DDlWUHsN.js → threeModel-D5dzjyJO.js} +174 -174
- package/dist/{threePreview-CVO6XMIe.js → threePreview-CpcrqmFS.js} +13 -13
- package/dist/{threeSceneView-BQXSPHMu.js → threeSceneView-BbM1FFcc.js} +24 -25
- package/dist/{threeSceneViewForCPMPIP-BYUnvSDz.js → threeSceneViewForCPMPIP-4bANk0sU.js} +17 -18
- package/dist/{threeTrackPathView-7_x3jeap.js → threeTrackPathView-Bw6e-quT.js} +8 -8
- package/dist/{threeViewerHost-DTWrmIQy.js → threeViewerHost-BMUhfp_Z.js} +4 -4
- package/dist/{urdfTree-D0Iom75E.js → urdfTree-DU02c_91.js} +9 -9
- package/dist/{workpieceTreePanel-DEEMKY1v.js → workpieceTreePanel-XH9mYAT2.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-iD7cVTqr.js +0 -572
- package/dist/isString-BlNsHiyU.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/svgIcon-4u4PW7Is.js +0 -42
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { watch as ze, ref as v, computed as qe, defineComponent as Ue, onMounted as Ae, reactive as Fe, resolveComponent as p,
|
|
2
|
-
import { s as G, u as Ge, h as Qe } from "./request-
|
|
3
|
-
import { k as de, w as Oe } from "./index-
|
|
4
|
-
import { s as je, b as He, p as Ie, w as Je, E as Ke, F as be, k as We, c as Xe, u as Ye } from "./index-
|
|
5
|
-
import { f as Ze, i as et, e as tt, a as ot } from "./index-
|
|
6
|
-
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { s as at } from "./index-
|
|
1
|
+
import { watch as ze, ref as v, computed as qe, defineComponent as Ue, onMounted as Ae, reactive as Fe, resolveComponent as p, openBlock as ue, createElementBlock as pe, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as C, toDisplayString as we, Fragment as $e, renderList as Re, withModifiers as Me } from "vue";
|
|
2
|
+
import { s as G, u as Ge, h as Qe } from "./request-BfrhYBTM.js";
|
|
3
|
+
import { k as de, w as Oe } from "./index-BvyM6d06.js";
|
|
4
|
+
import { s as je, b as He, p as Ie, w as Je, E as Ke, F as be, k as We, c as Xe, u as Ye } from "./index-B8NQAdR4.js";
|
|
5
|
+
import { f as Ze, i as et, e as tt, a as ot } from "./index-CYjsE5Gs.js";
|
|
6
|
+
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
7
|
+
import { s as at } from "./index-DJrzqi4-.js";
|
|
8
8
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const st = He(Ie), { systemUrl: D } = je(st);
|
|
10
10
|
let B = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
|
|
@@ -345,7 +345,7 @@ const pt = [
|
|
|
345
345
|
return (s, o) => {
|
|
346
346
|
var ge, _e, ve, ye;
|
|
347
347
|
const m = p("el-input"), g = p("el-button"), k = p("el-icon"), le = p("el-dropdown-item"), Ee = p("el-dropdown-menu"), ke = p("el-dropdown"), x = p("el-table-column"), xe = p("el-tag"), Be = p("el-table"), Te = p("el-pagination"), ie = p("el-form-item"), re = p("el-col"), fe = p("el-row"), Ve = p("el-input-number"), Ne = p("el-form");
|
|
348
|
-
return
|
|
348
|
+
return ue(), pe("div", ct, [
|
|
349
349
|
i("div", mt, [
|
|
350
350
|
i("div", ft, [
|
|
351
351
|
i("div", gt, [
|
|
@@ -359,22 +359,20 @@ const pt = [
|
|
|
359
359
|
type: "primary",
|
|
360
360
|
onClick: b
|
|
361
361
|
}, {
|
|
362
|
-
default: l(() => o[5] || (o[5] = [
|
|
363
|
-
C("查询")
|
|
364
|
-
])),
|
|
365
|
-
_: 1
|
|
366
|
-
__: [5]
|
|
362
|
+
default: l(() => [...o[5] || (o[5] = [
|
|
363
|
+
C("查询", -1)
|
|
364
|
+
])]),
|
|
365
|
+
_: 1
|
|
367
366
|
}),
|
|
368
367
|
a(g, {
|
|
369
368
|
type: "primary",
|
|
370
369
|
plain: "",
|
|
371
370
|
onClick: te
|
|
372
371
|
}, {
|
|
373
|
-
default: l(() => o[6] || (o[6] = [
|
|
374
|
-
C("重置")
|
|
375
|
-
])),
|
|
376
|
-
_: 1
|
|
377
|
-
__: [6]
|
|
372
|
+
default: l(() => [...o[6] || (o[6] = [
|
|
373
|
+
C("重置", -1)
|
|
374
|
+
])]),
|
|
375
|
+
_: 1
|
|
378
376
|
})
|
|
379
377
|
])
|
|
380
378
|
]),
|
|
@@ -384,7 +382,7 @@ const pt = [
|
|
|
384
382
|
onClick: Ce
|
|
385
383
|
}, {
|
|
386
384
|
default: l(() => [
|
|
387
|
-
o[7] || (o[7] = C(" 导入 ")),
|
|
385
|
+
o[7] || (o[7] = C(" 导入 ", -1)),
|
|
388
386
|
a(k, { class: "el-icon--right" }, {
|
|
389
387
|
default: l(() => [
|
|
390
388
|
a(f(Ge))
|
|
@@ -392,26 +390,23 @@ const pt = [
|
|
|
392
390
|
_: 1
|
|
393
391
|
})
|
|
394
392
|
]),
|
|
395
|
-
_: 1
|
|
396
|
-
__: [7]
|
|
393
|
+
_: 1
|
|
397
394
|
}),
|
|
398
395
|
a(ke, null, {
|
|
399
396
|
dropdown: l(() => [
|
|
400
397
|
a(Ee, null, {
|
|
401
398
|
default: l(() => [
|
|
402
399
|
a(le, { onClick: Le }, {
|
|
403
|
-
default: l(() => o[9] || (o[9] = [
|
|
404
|
-
C("导出模板")
|
|
405
|
-
])),
|
|
406
|
-
_: 1
|
|
407
|
-
__: [9]
|
|
400
|
+
default: l(() => [...o[9] || (o[9] = [
|
|
401
|
+
C("导出模板", -1)
|
|
402
|
+
])]),
|
|
403
|
+
_: 1
|
|
408
404
|
}),
|
|
409
405
|
a(le, { onClick: Se }, {
|
|
410
|
-
default: l(() => o[10] || (o[10] = [
|
|
411
|
-
C("导出数据")
|
|
412
|
-
])),
|
|
413
|
-
_: 1
|
|
414
|
-
__: [10]
|
|
406
|
+
default: l(() => [...o[10] || (o[10] = [
|
|
407
|
+
C("导出数据", -1)
|
|
408
|
+
])]),
|
|
409
|
+
_: 1
|
|
415
410
|
})
|
|
416
411
|
]),
|
|
417
412
|
_: 1
|
|
@@ -420,7 +415,7 @@ const pt = [
|
|
|
420
415
|
default: l(() => [
|
|
421
416
|
a(g, { type: "primary" }, {
|
|
422
417
|
default: l(() => [
|
|
423
|
-
o[8] || (o[8] = C(" 导出 ")),
|
|
418
|
+
o[8] || (o[8] = C(" 导出 ", -1)),
|
|
424
419
|
a(k, { class: "el-icon--right" }, {
|
|
425
420
|
default: l(() => [
|
|
426
421
|
a(f(Qe))
|
|
@@ -428,8 +423,7 @@ const pt = [
|
|
|
428
423
|
_: 1
|
|
429
424
|
})
|
|
430
425
|
]),
|
|
431
|
-
_: 1
|
|
432
|
-
__: [8]
|
|
426
|
+
_: 1
|
|
433
427
|
})
|
|
434
428
|
]),
|
|
435
429
|
_: 1
|
|
@@ -495,7 +489,7 @@ const pt = [
|
|
|
495
489
|
}, {
|
|
496
490
|
default: l((c) => [
|
|
497
491
|
i("div", bt, [
|
|
498
|
-
(
|
|
492
|
+
(ue(!0), pe($e, null, Re(f(pt), (M) => (ue(), pe("div", {
|
|
499
493
|
class: "operate-item",
|
|
500
494
|
key: M.value,
|
|
501
495
|
onClick: Me((kt) => oe(M, c), ["stop"])
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock as L, createElementBlock as D, createElementVNode as s, renderSlot as E, defineComponent as W, ref as _, resolveComponent as b, createVNode as t, withCtx as a, unref as P, reactive as le, computed as G, onMounted as me, createBlock as J, resolveDirective as ye, createCommentVNode as ae, normalizeClass as ie, toDisplayString as S, withDirectives as he, Transition as Ce, watch as ee, Fragment as we, createTextVNode as O, onBeforeUnmount as Te } from "vue";
|
|
2
2
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-
|
|
4
|
-
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { l as xe } from "./index-BXh02EAd.js";
|
|
3
|
+
import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-B8NQAdR4.js";
|
|
4
|
+
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
5
|
+
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-BfrhYBTM.js";
|
|
6
|
+
import { u as xe } from "./index-CT1LWsrT.js";
|
|
7
|
+
import { useRouter as De } from "vue-router";
|
|
8
|
+
import { l as Fe } from "./index-B2LYEScO.js";
|
|
10
9
|
const Re = {}, Ne = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
11
10
|
function Ee(y, T) {
|
|
12
|
-
return L(),
|
|
11
|
+
return L(), D("div", Ne, [
|
|
13
12
|
s("div", Se, [
|
|
14
13
|
E(y.$slots, "img", {}, void 0, !0)
|
|
15
14
|
])
|
|
@@ -39,7 +38,7 @@ const Me = /* @__PURE__ */ H(Re, [["render", Ee], ["__scopeId", "data-v-9b7ee6c9
|
|
|
39
38
|
};
|
|
40
39
|
return (v, k) => {
|
|
41
40
|
const f = b("el-button"), U = b("el-tab-pane"), V = b("el-tabs");
|
|
42
|
-
return L(),
|
|
41
|
+
return L(), D("div", Be, [
|
|
43
42
|
t(V, {
|
|
44
43
|
modelValue: m.value,
|
|
45
44
|
"onUpdate:modelValue": k[0] || (k[0] = (w) => m.value = w),
|
|
@@ -153,7 +152,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
153
152
|
openDialog: n,
|
|
154
153
|
handleClose: u
|
|
155
154
|
}), (h, d) => {
|
|
156
|
-
const
|
|
155
|
+
const F = b("el-input"), R = b("el-form-item"), M = b("el-col"), c = b("el-row"), $ = b("el-form"), N = b("el-dialog");
|
|
157
156
|
return L(), J(N, {
|
|
158
157
|
class: "api-form-dialog",
|
|
159
158
|
modelValue: o.value,
|
|
@@ -162,7 +161,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
162
161
|
"destroy-on-close": "",
|
|
163
162
|
"show-close": !1
|
|
164
163
|
}, {
|
|
165
|
-
header: a(() => d[3] || (d[3] = [])),
|
|
164
|
+
header: a(() => [...d[3] || (d[3] = [])]),
|
|
166
165
|
default: a(() => [
|
|
167
166
|
s("div", Ge, [
|
|
168
167
|
s("div", Je, [
|
|
@@ -184,7 +183,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
184
183
|
"label-position": "top"
|
|
185
184
|
}, {
|
|
186
185
|
default: a(() => [
|
|
187
|
-
t(
|
|
186
|
+
t(F, {
|
|
188
187
|
modelValue: f.value.host,
|
|
189
188
|
"onUpdate:modelValue": d[0] || (d[0] = (I) => f.value.host = I),
|
|
190
189
|
"aria-label": "主机名",
|
|
@@ -204,7 +203,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
204
203
|
"label-position": "top"
|
|
205
204
|
}, {
|
|
206
205
|
default: a(() => [
|
|
207
|
-
t(
|
|
206
|
+
t(F, {
|
|
208
207
|
modelValue: f.value.port,
|
|
209
208
|
"onUpdate:modelValue": d[1] || (d[1] = (I) => f.value.port = I),
|
|
210
209
|
"aria-label": "端口",
|
|
@@ -281,10 +280,10 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
281
280
|
let r = null;
|
|
282
281
|
const u = G(() => o.value === "success" ? "重启成功!" : o.value === "timeout" ? "连接超时" : "正在应用配置并等待服务重新启动中..."), A = G(() => o.value === "success" ? "服务已恢复,配置已生效" : o.value === "timeout" ? "超过最大等待时间,请手动检查服务状态" : "请稍后" + ".".repeat(n.value));
|
|
283
282
|
let h = null, d = null;
|
|
284
|
-
const
|
|
283
|
+
const F = () => {
|
|
285
284
|
r && (clearInterval(r), r = null);
|
|
286
285
|
}, R = () => {
|
|
287
|
-
h && (clearInterval(h), h = null), d && (clearInterval(d), d = null),
|
|
286
|
+
h && (clearInterval(h), h = null), d && (clearInterval(d), d = null), F();
|
|
288
287
|
}, M = () => {
|
|
289
288
|
i.value = 0;
|
|
290
289
|
let g = 0;
|
|
@@ -298,7 +297,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
298
297
|
n.value = n.value >= 3 ? 1 : n.value + 1;
|
|
299
298
|
}, 500);
|
|
300
299
|
}, $ = () => {
|
|
301
|
-
|
|
300
|
+
F();
|
|
302
301
|
const g = setInterval(() => {
|
|
303
302
|
i.value = Math.min(i.value + 3, 100), i.value >= 100 && (clearInterval(g), o.value = "success");
|
|
304
303
|
}, 30);
|
|
@@ -338,17 +337,17 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
338
337
|
await ((g = k.value) == null ? void 0 : g.validate());
|
|
339
338
|
try {
|
|
340
339
|
V.value = !0;
|
|
341
|
-
const
|
|
342
|
-
e.databaseType === "sqlite" ?
|
|
343
|
-
} catch (
|
|
344
|
-
const B = ((K = (l =
|
|
340
|
+
const x = { databaseType: e.databaseType };
|
|
341
|
+
e.databaseType === "sqlite" ? x.sqliteDir = e.sqliteDir.trim() : (x.user = e.user.trim(), x.host = e.host.trim(), x.database = e.database.trim(), x.password = e.password, x.port = Number(e.port)), await re.post(C.value + "/platform/config/db", x), w.value = !0, o.value = "running", M(), c(), setTimeout(N, 1e3);
|
|
342
|
+
} catch (x) {
|
|
343
|
+
const B = ((K = (l = x == null ? void 0 : x.response) == null ? void 0 : l.data) == null ? void 0 : K.message) || "保存失败,请重试";
|
|
345
344
|
ce.error(B);
|
|
346
345
|
} finally {
|
|
347
346
|
V.value = !1;
|
|
348
347
|
}
|
|
349
348
|
};
|
|
350
349
|
return T({ openDialog: te, handleClose: j }), (g, l) => {
|
|
351
|
-
const K = b("el-icon"),
|
|
350
|
+
const K = b("el-icon"), x = b("el-progress"), B = b("el-input"), z = b("el-form-item"), oe = b("el-col"), de = b("el-row"), ge = b("el-form"), _e = b("el-dialog"), be = ye("loading");
|
|
352
351
|
return L(), J(_e, {
|
|
353
352
|
class: "db-config-dialog",
|
|
354
353
|
modelValue: f.value,
|
|
@@ -367,8 +366,8 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
367
366
|
])
|
|
368
367
|
]),
|
|
369
368
|
default: a(() => [
|
|
370
|
-
w.value ? (L(),
|
|
371
|
-
o.value !== "running" ? (L(),
|
|
369
|
+
w.value ? (L(), D("div", lt, [
|
|
370
|
+
o.value !== "running" ? (L(), D("div", {
|
|
372
371
|
key: 0,
|
|
373
372
|
class: ie(["restart-icon-wrap", { success: o.value === "success", error: o.value === "timeout" }])
|
|
374
373
|
}, [
|
|
@@ -392,7 +391,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
392
391
|
], 2)) : ae("", !0),
|
|
393
392
|
s("div", st, S(u.value), 1),
|
|
394
393
|
s("div", nt, S(A.value), 1),
|
|
395
|
-
t(
|
|
394
|
+
t(x, {
|
|
396
395
|
class: "restart-progress",
|
|
397
396
|
percentage: Math.round(i.value),
|
|
398
397
|
status: o.value === "success" ? "success" : o.value === "timeout" ? "exception" : "",
|
|
@@ -406,22 +405,22 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
406
405
|
modelValue: o.value === "success" ? "确定" : "关闭",
|
|
407
406
|
buttonType: o.value === "success" ? "primary" : "info"
|
|
408
407
|
}, null, 8, ["modelValue", "buttonType"])) : ae("", !0)
|
|
409
|
-
])) : he((L(),
|
|
408
|
+
])) : he((L(), D("div", it, [
|
|
410
409
|
s("div", rt, [
|
|
411
410
|
s("div", {
|
|
412
411
|
class: ie(["db-type-card", { active: e.databaseType === "sqlite" }]),
|
|
413
412
|
onClick: l[0] || (l[0] = (q) => e.databaseType = "sqlite")
|
|
414
|
-
}, l[10] || (l[10] = [
|
|
413
|
+
}, [...l[10] || (l[10] = [
|
|
415
414
|
s("span", { class: "db-label" }, "SQLite", -1),
|
|
416
415
|
s("span", { class: "db-desc" }, "本地文件数据库", -1)
|
|
417
|
-
]), 2),
|
|
416
|
+
])], 2),
|
|
418
417
|
s("div", {
|
|
419
418
|
class: ie(["db-type-card", { active: e.databaseType === "pgsql" }]),
|
|
420
419
|
onClick: l[1] || (l[1] = (q) => e.databaseType = "pgsql")
|
|
421
|
-
}, l[11] || (l[11] = [
|
|
420
|
+
}, [...l[11] || (l[11] = [
|
|
422
421
|
s("span", { class: "db-label" }, "PostgreSQL", -1),
|
|
423
422
|
s("span", { class: "db-desc" }, "远程关系型数据库", -1)
|
|
424
|
-
]), 2)
|
|
423
|
+
])], 2)
|
|
425
424
|
]),
|
|
426
425
|
t(ge, {
|
|
427
426
|
ref_key: "formRef",
|
|
@@ -437,7 +436,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
437
436
|
mode: "out-in"
|
|
438
437
|
}, {
|
|
439
438
|
default: a(() => [
|
|
440
|
-
e.databaseType === "sqlite" ? (L(),
|
|
439
|
+
e.databaseType === "sqlite" ? (L(), D("div", ct, [
|
|
441
440
|
t(z, {
|
|
442
441
|
label: "数据库目录",
|
|
443
442
|
prop: "sqliteDir"
|
|
@@ -461,10 +460,9 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
461
460
|
}, 8, ["modelValue"]),
|
|
462
461
|
l[12] || (l[12] = s("div", { class: "field-hint" }, "相对于后端 exe 所在目录的路径", -1))
|
|
463
462
|
]),
|
|
464
|
-
_: 1
|
|
465
|
-
__: [12]
|
|
463
|
+
_: 1
|
|
466
464
|
})
|
|
467
|
-
])) : (L(),
|
|
465
|
+
])) : (L(), D("div", ut, [
|
|
468
466
|
t(de, { gutter: 16 }, {
|
|
469
467
|
default: a(() => [
|
|
470
468
|
t(oe, { span: 16 }, {
|
|
@@ -578,7 +576,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
578
576
|
])
|
|
579
577
|
]),
|
|
580
578
|
footer: a(() => [
|
|
581
|
-
w.value ? ae("", !0) : (L(),
|
|
579
|
+
w.value ? ae("", !0) : (L(), D("div", dt, [
|
|
582
580
|
t(Y, {
|
|
583
581
|
emptyColor: !0,
|
|
584
582
|
onClickTrigger: j,
|
|
@@ -648,7 +646,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
648
646
|
};
|
|
649
647
|
return (i, o) => {
|
|
650
648
|
const n = b("svg-icon"), r = b("el-input"), u = b("el-form-item"), A = b("el-form"), h = b("el-link");
|
|
651
|
-
return L(),
|
|
649
|
+
return L(), D(we, null, [
|
|
652
650
|
s("div", vt, [
|
|
653
651
|
t(A, {
|
|
654
652
|
model: p,
|
|
@@ -714,22 +712,20 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
714
712
|
type: "primary",
|
|
715
713
|
onClick: f
|
|
716
714
|
}, {
|
|
717
|
-
default: a(() => o[2] || (o[2] = [
|
|
718
|
-
O("接口地址")
|
|
719
|
-
])),
|
|
720
|
-
_: 1
|
|
721
|
-
__: [2]
|
|
715
|
+
default: a(() => [...o[2] || (o[2] = [
|
|
716
|
+
O("接口地址", -1)
|
|
717
|
+
])]),
|
|
718
|
+
_: 1
|
|
722
719
|
}),
|
|
723
720
|
t(h, {
|
|
724
721
|
class: "db-button",
|
|
725
722
|
type: "primary",
|
|
726
723
|
onClick: w
|
|
727
724
|
}, {
|
|
728
|
-
default: a(() => o[3] || (o[3] = [
|
|
729
|
-
O("数据库配置")
|
|
730
|
-
])),
|
|
731
|
-
_: 1
|
|
732
|
-
__: [3]
|
|
725
|
+
default: a(() => [...o[3] || (o[3] = [
|
|
726
|
+
O("数据库配置", -1)
|
|
727
|
+
])]),
|
|
728
|
+
_: 1
|
|
733
729
|
})
|
|
734
730
|
])
|
|
735
731
|
]),
|
|
@@ -756,7 +752,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
756
752
|
setup(y, { emit: T }) {
|
|
757
753
|
const m = y, p = T;
|
|
758
754
|
ne(Q);
|
|
759
|
-
const { initVerify: C } =
|
|
755
|
+
const { initVerify: C } = xe(), e = _(null), v = _(null);
|
|
760
756
|
let k = !1, f = null;
|
|
761
757
|
const U = async (n) => {
|
|
762
758
|
if (!n)
|
|
@@ -775,8 +771,8 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
775
771
|
return;
|
|
776
772
|
const n = v.value, r = n.getContext("2d"), u = e.value;
|
|
777
773
|
n.width = 200, n.height = 200;
|
|
778
|
-
const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h),
|
|
779
|
-
r == null || r.drawImage(u, 0, 0, A, h, M, c,
|
|
774
|
+
const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h), F = A * d, R = h * d, M = (200 - F) / 2, c = (200 - R) / 2;
|
|
775
|
+
r == null || r.drawImage(u, 0, 0, A, h, M, c, F, R), n.toBlob(($) => {
|
|
780
776
|
if ($) {
|
|
781
777
|
const N = new File([$], "face.png", { type: "image/png" });
|
|
782
778
|
U(N);
|
|
@@ -819,7 +815,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
819
815
|
}
|
|
820
816
|
}), Te(() => {
|
|
821
817
|
o();
|
|
822
|
-
}), (n, r) => (L(),
|
|
818
|
+
}), (n, r) => (L(), D("div", yt, [
|
|
823
819
|
s("div", ht, [
|
|
824
820
|
s("video", {
|
|
825
821
|
class: "face-video",
|
|
@@ -846,7 +842,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
846
842
|
}), wt = /* @__PURE__ */ H(Ct, [["__scopeId", "data-v-b64bc91c"]]), Tt = { class: "login-wrap" }, kt = { class: "login-body" }, Ut = { class: "login-body-item left" }, Vt = { class: "title" }, Lt = { class: "first-level" }, $t = {
|
|
847
843
|
key: 0,
|
|
848
844
|
class: "logo"
|
|
849
|
-
}, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" },
|
|
845
|
+
}, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" }, xt = /* @__PURE__ */ W({
|
|
850
846
|
__name: "index",
|
|
851
847
|
props: {
|
|
852
848
|
oldSystemKey: {},
|
|
@@ -854,7 +850,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
854
850
|
},
|
|
855
851
|
emits: ["change", "projectLogin", "updateApiUrl", "systemContent"],
|
|
856
852
|
setup(y, { emit: T }) {
|
|
857
|
-
const m = y, p =
|
|
853
|
+
const m = y, p = De(), C = T, e = ke(Q), v = Ue(Q), { refreshLogin: k } = se(v), f = ne(Q), { systemInfo: U, loginUserInfo: V } = se(f), w = async (c) => {
|
|
858
854
|
const $ = await Le({
|
|
859
855
|
url: c
|
|
860
856
|
});
|
|
@@ -892,14 +888,14 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
892
888
|
}), n = _("account"), r = _(!1), u = _(!1), A = () => {
|
|
893
889
|
r.value = !0;
|
|
894
890
|
}, h = (c, $) => {
|
|
895
|
-
r.value = !1, c &&
|
|
891
|
+
r.value = !1, c && F($);
|
|
896
892
|
}, d = async () => (sessionStorage.setItem("loginToken", "111"), !0);
|
|
897
893
|
me(async () => {
|
|
898
894
|
await d();
|
|
899
895
|
});
|
|
900
|
-
const
|
|
896
|
+
const F = async (c) => {
|
|
901
897
|
var N, I, te, X;
|
|
902
|
-
if (u.value = !0, await
|
|
898
|
+
if (u.value = !0, await Fe(c)) {
|
|
903
899
|
C("projectLogin", c);
|
|
904
900
|
let j = await $e();
|
|
905
901
|
C("systemContent", j == null ? void 0 : j.allMenuContents), p.push("/"), f.setLogRecordAsync({
|
|
@@ -917,7 +913,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
917
913
|
() => m == null ? void 0 : m.loginContent,
|
|
918
914
|
() => {
|
|
919
915
|
let c = m == null ? void 0 : m.loginContent;
|
|
920
|
-
c != null && c.account && (c != null && c.password) && !k.value &&
|
|
916
|
+
c != null && c.account && (c != null && c.password) && !k.value && F(c);
|
|
921
917
|
},
|
|
922
918
|
{ deep: !0, immediate: !0 }
|
|
923
919
|
);
|
|
@@ -926,7 +922,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
926
922
|
}, M = (c) => {
|
|
927
923
|
C("updateApiUrl", c);
|
|
928
924
|
};
|
|
929
|
-
return (c, $) => (L(),
|
|
925
|
+
return (c, $) => (L(), D("div", Tt, [
|
|
930
926
|
s("div", kt, [
|
|
931
927
|
s("div", Ut, [
|
|
932
928
|
t(Me, { class: "login-left-bg" }, {
|
|
@@ -935,7 +931,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
935
931
|
return [
|
|
936
932
|
s("div", Vt, [
|
|
937
933
|
s("div", Lt, [
|
|
938
|
-
i.value ? (L(),
|
|
934
|
+
i.value ? (L(), D("div", $t, [
|
|
939
935
|
s("img", {
|
|
940
936
|
src: i.value,
|
|
941
937
|
alt: ""
|
|
@@ -979,7 +975,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
979
975
|
]),
|
|
980
976
|
tabContent2: a(() => [
|
|
981
977
|
t(wt, {
|
|
982
|
-
systemKey:
|
|
978
|
+
systemKey: y.oldSystemKey,
|
|
983
979
|
activeTabName: n.value,
|
|
984
980
|
isClickLogin: r.value,
|
|
985
981
|
onHandleLoginFormChange: h
|
|
@@ -994,7 +990,7 @@ const Xe = () => ({ initUrlInfo: () => ({
|
|
|
994
990
|
])
|
|
995
991
|
]));
|
|
996
992
|
}
|
|
997
|
-
}),
|
|
993
|
+
}), Ot = /* @__PURE__ */ H(xt, [["__scopeId", "data-v-43bcd58d"]]);
|
|
998
994
|
export {
|
|
999
|
-
|
|
995
|
+
Ot as default
|
|
1000
996
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as l, defineComponent as m,
|
|
2
|
-
import { W as C } from "./index-
|
|
1
|
+
import { ref as l, defineComponent as m, openBlock as f, createElementBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
+
import { W as C } from "./index-DK9-eF24.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|
|
@@ -84,7 +84,7 @@ const b = () => {
|
|
|
84
84
|
handleItemDataChange: c,
|
|
85
85
|
clickRowButton: s
|
|
86
86
|
} = b();
|
|
87
|
-
return (d, n) => (
|
|
87
|
+
return (d, n) => (f(), p("div", h, [
|
|
88
88
|
n[0] || (n[0] = e("div", { class: "header" }, null, -1)),
|
|
89
89
|
e("div", k, [
|
|
90
90
|
u(C, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as y, ref as C, onMounted as _,
|
|
2
|
-
import { u as h, p as k, s as x, c as m } from "./index-
|
|
3
|
-
import { W as M } from "./index-
|
|
4
|
-
import { a as D, d as T, f as S } from "./index-
|
|
5
|
-
import { g as w } from "./index-
|
|
1
|
+
import { defineComponent as y, ref as C, onMounted as _, openBlock as c, createElementBlock as g, createVNode as v } from "vue";
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { W as M } from "./index-DK9-eF24.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-DCY5J8nu.js";
|
|
5
|
+
import { g as w } from "./index-B4NcYIuS.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
8
8
|
__name: "index",
|
|
@@ -84,7 +84,7 @@ const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
|
84
84
|
const d = (e) => {
|
|
85
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
86
|
};
|
|
87
|
-
return (e, o) => (
|
|
87
|
+
return (e, o) => (c(), g("div", N, [
|
|
88
88
|
v(M, {
|
|
89
89
|
itemData: r.value,
|
|
90
90
|
class: "table-content",
|