ss-component-new 1.3.428 → 1.3.430
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-DBXJU4gy.js → MTLLoader-D7sNoLcK.js} +1 -1
- package/dist/{MTLLoader-C1qSZuWT.cjs → MTLLoader-p0GsbA2N.cjs} +1 -1
- package/dist/{OrbitControls-BFwyCnTH.cjs → OrbitControls-BhtVNiz9.cjs} +1 -1
- package/dist/{OrbitControls-BK6rha_f.js → OrbitControls-xsAEcOQ0.js} +1 -1
- package/dist/{URDFLoader-CTaB1j6-.cjs → URDFLoader-DAb823an.cjs} +1 -1
- package/dist/{URDFLoader-B4rOIDHb.js → URDFLoader-OhWW6Ghz.js} +2 -2
- package/dist/{animationData-DugoMERO.cjs → animationData-CM85S6tn.cjs} +1 -1
- package/dist/{animationData-Bfdz_yNt.js → animationData-CZHPgZ5e.js} +3 -3
- package/dist/{array-BOctoevY.cjs → array-0RI_MV-5.cjs} +1 -1
- package/dist/{array-CtInsg0G.js → array-DeAl78t6.js} +84 -84
- package/dist/{clone-r23wXuC7.js → clone-BDsG8VVj.js} +1 -1
- package/dist/clone-D92QCGo2.cjs +1 -0
- package/dist/{iconfont-C4b-8B6C.js → iconfont-C5j4Td3D.js} +2 -2
- package/dist/{iconfont-B8J8hnDJ.cjs → iconfont-DvB947R2.cjs} +1 -1
- package/dist/{index-1tRX531i.cjs → index-4SWc85gj.cjs} +1 -1
- package/dist/index-8V0NHmW6.cjs +1 -0
- package/dist/{index-x-HWwt4p.js → index-9Fw7ND1N.js} +11 -11
- package/dist/{index-DQdcA8b0.cjs → index-B6e2oM-P.cjs} +1 -1
- package/dist/{index-Bn4g3hXz.cjs → index-B9MP9Z_h.cjs} +1 -1
- package/dist/{index-C9LONCdW.js → index-BEyBnEnd.js} +5 -5
- package/dist/{index-BWtc895B.js → index-BF5SUWUn.js} +1 -1
- package/dist/{index-rGJF9UJ9.js → index-BK-oz1IK.js} +1908 -1929
- package/dist/{index-BDClkBzq.cjs → index-BTfuvT7M.cjs} +1 -1
- package/dist/{index-D38qJHp0.js → index-BTgKT-Kp.js} +21 -21
- package/dist/{index-HHT3da7j.cjs → index-BpYkNRvs.cjs} +12 -12
- package/dist/{index-DzN70K91.js → index-C-rFa3VT.js} +1229 -1203
- package/dist/{index-N0L2zoGC.cjs → index-C09sw7CL.cjs} +1 -1
- package/dist/{index-Bu5lDLj_.cjs → index-C3JpBKyN.cjs} +1 -1
- package/dist/{index-CZly4koJ.js → index-CFiyfU1X.js} +36 -36
- package/dist/{index-D3lXIyot.cjs → index-CGaJRFh6.cjs} +1 -1
- package/dist/{index-Dbv6QX4e.js → index-CGqnKnrd.js} +2 -2
- package/dist/{index-B7H-5M2Y.cjs → index-CIMnUwEB.cjs} +1 -1
- package/dist/{index-6RECQqV8.js → index-CKsprVNa.js} +1 -1
- package/dist/{index-DaiB_qqV.cjs → index-CLLeUa5o.cjs} +1 -1
- package/dist/index-CWzVeyId.cjs +2 -0
- package/dist/{index-DhD0tnVr.cjs → index-CZuPznao.cjs} +1 -1
- package/dist/{index-CdsqSTRI.js → index-Ca_pqbsS.js} +20 -20
- package/dist/{index-CTkNgtX3.cjs → index-Call_60N.cjs} +1 -1
- package/dist/{index-CKCe1GPP.cjs → index-CljHDtk8.cjs} +1 -1
- package/dist/{index-BBr25gXh.js → index-D1U0qzcp.js} +4 -4
- package/dist/{index-B0HOwfWc.cjs → index-DCfi_waU.cjs} +1 -1
- package/dist/{index-BtWec77G.cjs → index-DDAEpzaB.cjs} +1 -1
- package/dist/{index-Bi1DonQa.js → index-DDK5gDem.js} +12 -12
- package/dist/{index-BIbJs6Kp.cjs → index-DM4iU2Ab.cjs} +1 -1
- package/dist/{index-CdGqaqYM.js → index-DO5zum3x.js} +2 -2
- package/dist/{index-BK6-AVLE.js → index-DQ94pBGZ.js} +339 -330
- package/dist/{index-H2suIBRd.js → index-DSKIm3im.js} +4 -4
- package/dist/{index-DlXwTcJ9.js → index-DTllcl_O.js} +2 -2
- package/dist/{index-DvbvoiZG.js → index-DU2dKJOK.js} +15 -15
- package/dist/{index-CtLw-tqJ.js → index-DbPbr5TD.js} +9840 -9754
- package/dist/{index-Dk-xbMrl.js → index-DgTbfgjE.js} +18 -18
- package/dist/index-Digv4Fyh.cjs +1 -0
- package/dist/{index-ss_5hS2p.js → index-DkA3dv5l.js} +1 -1
- package/dist/{index-DAZMn3y_.js → index-Dn7UEQUd.js} +1 -1
- package/dist/{index-BfK0dq3V.cjs → index-DoorIpTj.cjs} +1 -1
- package/dist/{index-CNRHr3kT.cjs → index-DqmyyzfP.cjs} +1 -1
- package/dist/{index-CnsDmHXo.cjs → index-DxPKykuA.cjs} +1 -1
- package/dist/{index-jDRNGigR.js → index-Dxs-F0xJ.js} +8 -8
- package/dist/{index-mDUckx7n.cjs → index-DyCQbiMc.cjs} +1 -1
- package/dist/index-Dz_V4Aef.cjs +26 -0
- package/dist/{index-DpRkYDKO.cjs → index-IGuY2Qp9.cjs} +1 -1
- package/dist/{index-TDwSq2BF.js → index-Lhh-KMx5.js} +2 -2
- package/dist/{index-DAfCxuFU.js → index-RF5qQdBY.js} +1 -1
- package/dist/{index-CJijEg9W.js → index-ToiCtVRE.js} +7 -7
- package/dist/{index-NSrMRasA.cjs → index-XVjZTSe1.cjs} +1 -1
- package/dist/{index-CeXLp3RG.js → index-YzkBsOrM.js} +4 -4
- package/dist/{index-mpH7L8Rm.js → index-fH3hPSMI.js} +41 -39
- package/dist/{index-C772JVG0.cjs → index-fh5hS-5q.cjs} +1 -1
- package/dist/{index-qhLt4UGH.cjs → index-ilXWn4_Y.cjs} +1 -1
- package/dist/index-p9kkXcpR.js +10841 -0
- package/dist/{index-DyHFsX8U.js → index-sl2ZbrIv.js} +1 -1
- package/dist/index-xN3pvlzo.cjs +18 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Bk-thOPD.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BGyDDkYS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-EOt2_XRY.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BUMDcqtn.js} +3 -3
- package/dist/{main-Dyv9tK3q.cjs → main-2_nRO_Yd.cjs} +1 -1
- package/dist/{main-BazhXMmW.js → main-hbDYKA6O.js} +4 -4
- package/dist/{menuIndex-B8QQIas4.cjs → menuIndex-8KYc1zS9.cjs} +1 -1
- package/dist/{menuIndex-qnbpFYeU.js → menuIndex-CPrSvY9F.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +15 -15
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CKvba3tD.js → threeModel-C1V8R9PI.js} +45 -45
- package/dist/{threeModel-BWwXtPBu.cjs → threeModel-z-ti4e5E.cjs} +1 -1
- package/dist/{threePreview-GizvH53S.js → threePreview-BoiGO8RT.js} +4 -4
- package/dist/{threePreview-CbKggw3I.cjs → threePreview-Bs-m2IAX.cjs} +1 -1
- package/dist/{threeSceneView-D6UJzKUj.js → threeSceneView-BCuH_gVn.js} +11 -11
- package/dist/{threeSceneView-CJnJdw2X.cjs → threeSceneView-CTHpWmwg.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-hUnAkwBg.cjs → threeSceneViewForCPMPIP-CsDzXB39.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-NCyWbrvb.js → threeSceneViewForCPMPIP-Dyb60cS_.js} +8 -8
- package/dist/{threeTrackPathView-DSHB2LWA.js → threeTrackPathView-C7MWmsr9.js} +4 -4
- package/dist/{threeTrackPathView-ZqSjOtFS.cjs → threeTrackPathView-DL3Fx1XR.cjs} +1 -1
- package/dist/{threeViewerHost-BEEjkIf3.js → threeViewerHost-2yySAP_2.js} +3 -3
- package/dist/{threeViewerHost-D0oJ3S3c.cjs → threeViewerHost-Bk3vNumJ.cjs} +1 -1
- package/dist/{urdfTree-DnkBJIj6.cjs → urdfTree-B1vSZdxZ.cjs} +1 -1
- package/dist/{urdfTree-DEWAJ5kl.js → urdfTree-BwPn5sja.js} +1 -1
- package/dist/{workpieceTreePanel-XOSlhouq.js → workpieceTreePanel-DnVOjYQ2.js} +4 -4
- package/dist/{workpieceTreePanel-DzpjPYZ9.cjs → workpieceTreePanel-zPR2Z6wa.cjs} +1 -1
- package/package.json +1 -1
- package/dist/clone-t2ps0jmw.cjs +0 -1
- package/dist/index-BSeL_Eve.js +0 -10837
- package/dist/index-BeOgM-lp.cjs +0 -1
- package/dist/index-ClvA5-wg.cjs +0 -18
- package/dist/index-DAEMvwnX.cjs +0 -26
- package/dist/index-DUBEV33e.cjs +0 -2
- package/dist/index-DgpEgbFi.cjs +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as F, openBlock as L, 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, withDirectives as he, normalizeClass as ie, toDisplayString as S, 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
|
|
4
|
-
import { _ as
|
|
5
|
-
import { c as
|
|
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-BK-oz1IK.js";
|
|
4
|
+
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-XJsZ4h2T.js";
|
|
6
6
|
import "./JSEncrypt-B36c1iN5.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import { useRouter as
|
|
9
|
-
import { l as
|
|
10
|
-
const
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
import { u as De } from "./index-9Fw7ND1N.js";
|
|
8
|
+
import { useRouter as Fe } from "vue-router";
|
|
9
|
+
import { l as xe } from "./index-RF5qQdBY.js";
|
|
10
|
+
const Re = {}, Ne = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
11
|
+
function Ee(y, T) {
|
|
12
|
+
return L(), F("div", Ne, [
|
|
13
|
+
s("div", Se, [
|
|
14
|
+
E(y.$slots, "img", {}, void 0, !0)
|
|
15
15
|
])
|
|
16
16
|
]);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const Me = /* @__PURE__ */ H(Re, [["render", Ee], ["__scopeId", "data-v-9b7ee6c9"]]), Z = {
|
|
19
19
|
ACCOUNT: "account",
|
|
20
20
|
FACE: "face"
|
|
21
|
-
},
|
|
21
|
+
}, Be = { class: "right-wrap" }, Oe = { class: "tab-content" }, Pe = { class: "tab-tips" }, He = { class: "tab-content" }, je = { class: "tab-tips" }, Ke = /* @__PURE__ */ W({
|
|
22
22
|
__name: "index",
|
|
23
23
|
props: {
|
|
24
24
|
tabList: {
|
|
@@ -31,61 +31,61 @@ const Ee = /* @__PURE__ */ H(Fe, [["render", Se], ["__scopeId", "data-v-9b7ee6c9
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
emits: ["clickLogin", "handleTabChange"],
|
|
34
|
-
setup(y, { emit:
|
|
35
|
-
const m =
|
|
34
|
+
setup(y, { emit: T }) {
|
|
35
|
+
const m = _(Z.ACCOUNT), p = T, C = () => {
|
|
36
36
|
p("clickLogin", m.value);
|
|
37
37
|
}, e = (v) => {
|
|
38
38
|
p("handleTabChange", v);
|
|
39
39
|
};
|
|
40
40
|
return (v, k) => {
|
|
41
|
-
const f =
|
|
42
|
-
return
|
|
43
|
-
t(
|
|
41
|
+
const f = b("el-button"), U = b("el-tab-pane"), V = b("el-tabs");
|
|
42
|
+
return L(), F("div", Be, [
|
|
43
|
+
t(V, {
|
|
44
44
|
modelValue: m.value,
|
|
45
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
45
|
+
"onUpdate:modelValue": k[0] || (k[0] = (w) => m.value = w),
|
|
46
46
|
class: "right-tabs",
|
|
47
47
|
onTabChange: e
|
|
48
48
|
}, {
|
|
49
49
|
default: a(() => [
|
|
50
|
-
t(
|
|
51
|
-
name: P(
|
|
50
|
+
t(U, {
|
|
51
|
+
name: P(Z).ACCOUNT
|
|
52
52
|
}, {
|
|
53
53
|
label: a(() => [
|
|
54
|
-
|
|
54
|
+
E(v.$slots, "tabLabel1", {}, void 0, !0)
|
|
55
55
|
]),
|
|
56
56
|
default: a(() => [
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
s("div", Oe, [
|
|
58
|
+
E(v.$slots, "tabContent1", {}, void 0, !0)
|
|
59
59
|
]),
|
|
60
|
-
|
|
60
|
+
s("div", {
|
|
61
61
|
class: "tab-button special",
|
|
62
62
|
onClick: C
|
|
63
63
|
}, [
|
|
64
64
|
t(f, { loading: y.loading }, {
|
|
65
65
|
default: a(() => [
|
|
66
|
-
|
|
66
|
+
E(v.$slots, "tabButton1", {}, void 0, !0)
|
|
67
67
|
]),
|
|
68
68
|
_: 3
|
|
69
69
|
}, 8, ["loading"])
|
|
70
70
|
]),
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
s("div", Pe, [
|
|
72
|
+
E(v.$slots, "tabTips1", {}, void 0, !0)
|
|
73
73
|
])
|
|
74
74
|
]),
|
|
75
75
|
_: 3
|
|
76
76
|
}, 8, ["name"]),
|
|
77
|
-
t(
|
|
78
|
-
name: P(
|
|
77
|
+
t(U, {
|
|
78
|
+
name: P(Z).FACE
|
|
79
79
|
}, {
|
|
80
80
|
label: a(() => [
|
|
81
|
-
|
|
81
|
+
E(v.$slots, "tabLabel2", {}, void 0, !0)
|
|
82
82
|
]),
|
|
83
83
|
default: a(() => [
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
s("div", He, [
|
|
85
|
+
E(v.$slots, "tabContent2", {}, void 0, !0)
|
|
86
86
|
]),
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
s("div", je, [
|
|
88
|
+
E(v.$slots, "tabTips2", {}, void 0, !0)
|
|
89
89
|
])
|
|
90
90
|
]),
|
|
91
91
|
_: 3
|
|
@@ -96,15 +96,15 @@ const Ee = /* @__PURE__ */ H(Fe, [["render", Se], ["__scopeId", "data-v-9b7ee6c9
|
|
|
96
96
|
]);
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
}),
|
|
100
|
-
function
|
|
101
|
-
|
|
99
|
+
}), ze = /* @__PURE__ */ H(Ke, [["__scopeId", "data-v-8b1962f0"]]), Qe = /^[a-z][a-z0-9+.-]*:\/\//i, ue = (y) => Qe.test(y);
|
|
100
|
+
function We(y) {
|
|
101
|
+
ue(y) || (y = `http://${y}`);
|
|
102
102
|
try {
|
|
103
|
-
const
|
|
103
|
+
const T = new URL(y);
|
|
104
104
|
return {
|
|
105
|
-
host:
|
|
105
|
+
host: T.hostname,
|
|
106
106
|
// 域名:example.com
|
|
107
|
-
port:
|
|
107
|
+
port: T.port || null
|
|
108
108
|
// 端口:8080(默认端口返回空字符串,转为 null)
|
|
109
109
|
};
|
|
110
110
|
} catch {
|
|
@@ -114,79 +114,79 @@ function Qe(y) {
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
const
|
|
117
|
+
const Xe = () => ({ initUrlInfo: () => ({
|
|
118
118
|
host: null,
|
|
119
119
|
port: null
|
|
120
|
-
}), hasProtocol:
|
|
120
|
+
}), hasProtocol: ue, generateUrl: (m) => {
|
|
121
121
|
const { host: p, port: C } = m;
|
|
122
122
|
if (!p)
|
|
123
123
|
return null;
|
|
124
124
|
let e = `${p}`;
|
|
125
|
-
return
|
|
126
|
-
} }),
|
|
125
|
+
return ue(p) || (e = `http://${e}`), C && (e = `${e}:${C}`), e;
|
|
126
|
+
} }), Ge = { class: "body-wrapper" }, Je = { class: "api-form-wrapper" }, Ye = { class: "edit-footer" }, Ze = { class: "footer-right" }, et = /* @__PURE__ */ W({
|
|
127
127
|
__name: "index",
|
|
128
128
|
emits: ["updateApiUrl"],
|
|
129
|
-
setup(y, { expose:
|
|
130
|
-
const p = m, C =
|
|
129
|
+
setup(y, { expose: T, emit: m }) {
|
|
130
|
+
const p = m, C = ne(Q), { systemUrl: e } = se(C), { initUrlInfo: v, generateUrl: k } = Xe(), f = _(v()), U = _(), V = le({
|
|
131
131
|
host: [
|
|
132
132
|
{ required: !0, message: "请输入职位名称", trigger: "blur" }
|
|
133
133
|
]
|
|
134
|
-
}),
|
|
135
|
-
f.value =
|
|
134
|
+
}), w = G(() => e.value || "http://222.92.178.198:63002"), i = () => {
|
|
135
|
+
f.value = We(w.value);
|
|
136
136
|
};
|
|
137
137
|
me(() => {
|
|
138
138
|
i();
|
|
139
139
|
});
|
|
140
|
-
const o =
|
|
140
|
+
const o = _(!1), n = () => {
|
|
141
141
|
i(), o.value = !0;
|
|
142
142
|
}, r = () => {
|
|
143
143
|
o.value = !1;
|
|
144
|
-
},
|
|
144
|
+
}, u = () => {
|
|
145
145
|
r();
|
|
146
|
-
},
|
|
147
|
-
var
|
|
148
|
-
await ((
|
|
149
|
-
const
|
|
150
|
-
p("updateApiUrl",
|
|
146
|
+
}, A = async () => {
|
|
147
|
+
var d;
|
|
148
|
+
await ((d = U.value) == null ? void 0 : d.validate());
|
|
149
|
+
const h = k(f.value);
|
|
150
|
+
p("updateApiUrl", h), u();
|
|
151
151
|
};
|
|
152
|
-
return
|
|
153
|
-
openDialog:
|
|
154
|
-
handleClose:
|
|
155
|
-
}), (
|
|
156
|
-
const
|
|
157
|
-
return
|
|
152
|
+
return T({
|
|
153
|
+
openDialog: n,
|
|
154
|
+
handleClose: u
|
|
155
|
+
}), (h, d) => {
|
|
156
|
+
const x = b("el-input"), R = b("el-form-item"), M = b("el-col"), c = b("el-row"), $ = b("el-form"), N = b("el-dialog");
|
|
157
|
+
return L(), J(N, {
|
|
158
158
|
class: "api-form-dialog",
|
|
159
159
|
modelValue: o.value,
|
|
160
|
-
"onUpdate:modelValue":
|
|
161
|
-
"before-close":
|
|
160
|
+
"onUpdate:modelValue": d[2] || (d[2] = (I) => o.value = I),
|
|
161
|
+
"before-close": u,
|
|
162
162
|
"destroy-on-close": "",
|
|
163
163
|
"show-close": !1
|
|
164
164
|
}, {
|
|
165
|
-
header: a(() =>
|
|
165
|
+
header: a(() => d[3] || (d[3] = [])),
|
|
166
166
|
default: a(() => [
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
t(
|
|
167
|
+
s("div", Ge, [
|
|
168
|
+
s("div", Je, [
|
|
169
|
+
t($, {
|
|
170
170
|
class: "api-edit-form",
|
|
171
171
|
ref_key: "apiFormRef",
|
|
172
|
-
ref:
|
|
172
|
+
ref: U,
|
|
173
173
|
model: f.value,
|
|
174
|
-
rules:
|
|
174
|
+
rules: V
|
|
175
175
|
}, {
|
|
176
176
|
default: a(() => [
|
|
177
|
-
t(
|
|
177
|
+
t(c, { gutter: 20 }, {
|
|
178
178
|
default: a(() => [
|
|
179
|
-
t(
|
|
179
|
+
t(M, { span: 12 }, {
|
|
180
180
|
default: a(() => [
|
|
181
|
-
t(
|
|
181
|
+
t(R, {
|
|
182
182
|
prop: "host",
|
|
183
183
|
label: "主机名",
|
|
184
184
|
"label-position": "top"
|
|
185
185
|
}, {
|
|
186
186
|
default: a(() => [
|
|
187
|
-
t(
|
|
187
|
+
t(x, {
|
|
188
188
|
modelValue: f.value.host,
|
|
189
|
-
"onUpdate:modelValue":
|
|
189
|
+
"onUpdate:modelValue": d[0] || (d[0] = (I) => f.value.host = I),
|
|
190
190
|
"aria-label": "主机名",
|
|
191
191
|
placeholder: "主机名"
|
|
192
192
|
}, null, 8, ["modelValue"])
|
|
@@ -196,17 +196,17 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|
|
198
198
|
}),
|
|
199
|
-
t(
|
|
199
|
+
t(M, { span: 12 }, {
|
|
200
200
|
default: a(() => [
|
|
201
|
-
t(
|
|
201
|
+
t(R, {
|
|
202
202
|
prop: "port",
|
|
203
203
|
label: "端口",
|
|
204
204
|
"label-position": "top"
|
|
205
205
|
}, {
|
|
206
206
|
default: a(() => [
|
|
207
|
-
t(
|
|
207
|
+
t(x, {
|
|
208
208
|
modelValue: f.value.port,
|
|
209
|
-
"onUpdate:modelValue":
|
|
209
|
+
"onUpdate:modelValue": d[1] || (d[1] = (I) => f.value.port = I),
|
|
210
210
|
"aria-label": "端口",
|
|
211
211
|
placeholder: "端口"
|
|
212
212
|
}, null, 8, ["modelValue"])
|
|
@@ -226,20 +226,20 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
226
226
|
])
|
|
227
227
|
]),
|
|
228
228
|
footer: a(() => [
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
t(
|
|
229
|
+
s("div", Ye, [
|
|
230
|
+
d[4] || (d[4] = s("div", { class: "footer-left" }, null, -1)),
|
|
231
|
+
s("div", Ze, [
|
|
232
|
+
t(Y, {
|
|
233
233
|
class: "cancel",
|
|
234
234
|
emptyColor: !0,
|
|
235
|
-
onClickTrigger:
|
|
235
|
+
onClickTrigger: u,
|
|
236
236
|
modelValue: "取消",
|
|
237
237
|
buttonType: "info"
|
|
238
238
|
}),
|
|
239
|
-
t(
|
|
239
|
+
t(Y, {
|
|
240
240
|
class: "confirm",
|
|
241
241
|
emptyColor: !0,
|
|
242
|
-
onClickTrigger:
|
|
242
|
+
onClickTrigger: A,
|
|
243
243
|
modelValue: "确定",
|
|
244
244
|
buttonType: "primary"
|
|
245
245
|
})
|
|
@@ -250,19 +250,19 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
250
250
|
}, 8, ["modelValue"]);
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
}),
|
|
253
|
+
}), tt = /* @__PURE__ */ H(et, [["__scopeId", "data-v-20c1098b"]]), ot = { class: "dialog-header" }, at = { class: "dialog-subtitle" }, lt = {
|
|
254
254
|
key: 0,
|
|
255
255
|
class: "restart-panel"
|
|
256
|
-
}, st = { class: "restart-title" },
|
|
256
|
+
}, st = { class: "restart-title" }, nt = { class: "restart-subtitle" }, it = {
|
|
257
257
|
key: 1,
|
|
258
258
|
class: "dialog-body"
|
|
259
|
-
},
|
|
259
|
+
}, rt = { class: "db-type-selector" }, ct = { key: "sqlite" }, ut = { key: "pgsql" }, dt = {
|
|
260
260
|
key: 0,
|
|
261
261
|
class: "dialog-footer"
|
|
262
|
-
},
|
|
262
|
+
}, pt = 6e4, pe = 2e3, mt = /* @__PURE__ */ W({
|
|
263
263
|
__name: "index",
|
|
264
|
-
setup(y, { expose:
|
|
265
|
-
const m =
|
|
264
|
+
setup(y, { expose: T }) {
|
|
265
|
+
const m = ne(Q), { systemUrl: p } = se(m), C = G(() => p.value || "http://222.92.178.198:63002"), e = le({
|
|
266
266
|
databaseType: "sqlite",
|
|
267
267
|
sqliteDir: "sqlite-data",
|
|
268
268
|
user: "",
|
|
@@ -270,157 +270,157 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
270
270
|
database: "",
|
|
271
271
|
password: "",
|
|
272
272
|
port: "5432"
|
|
273
|
-
}), v =
|
|
273
|
+
}), v = G(() => e.databaseType === "sqlite" ? {
|
|
274
274
|
sqliteDir: [{ required: !0, message: "请输入数据库目录", trigger: "blur" }]
|
|
275
275
|
} : {
|
|
276
276
|
host: [{ required: !0, message: "请输入主机地址", trigger: "blur" }],
|
|
277
277
|
port: [{ required: !0, message: "请输入端口号", trigger: "blur" }],
|
|
278
278
|
database: [{ required: !0, message: "请输入数据库名", trigger: "blur" }],
|
|
279
279
|
user: [{ required: !0, message: "请输入用户名", trigger: "blur" }]
|
|
280
|
-
}), k =
|
|
280
|
+
}), k = _(null), f = _(!1), U = _(!1), V = _(!1), w = _(!1), i = _(0), o = _("running"), n = _(1);
|
|
281
281
|
let r = null;
|
|
282
|
-
const
|
|
283
|
-
let
|
|
284
|
-
const
|
|
282
|
+
const u = G(() => o.value === "success" ? "重启成功!" : o.value === "timeout" ? "连接超时" : "正在应用配置并等待服务重新启动中..."), A = G(() => o.value === "success" ? "服务已恢复,配置已生效" : o.value === "timeout" ? "超过最大等待时间,请手动检查服务状态" : "请稍后" + ".".repeat(n.value));
|
|
283
|
+
let h = null, d = null;
|
|
284
|
+
const x = () => {
|
|
285
285
|
r && (clearInterval(r), r = null);
|
|
286
|
-
},
|
|
287
|
-
|
|
288
|
-
},
|
|
286
|
+
}, R = () => {
|
|
287
|
+
h && (clearInterval(h), h = null), d && (clearInterval(d), d = null), x();
|
|
288
|
+
}, M = () => {
|
|
289
289
|
i.value = 0;
|
|
290
290
|
let g = 0;
|
|
291
|
-
|
|
291
|
+
h = setInterval(() => {
|
|
292
292
|
g += 100;
|
|
293
|
-
const
|
|
294
|
-
i.value = Math.min(parseFloat(
|
|
293
|
+
const l = 90 * (1 - Math.exp(-g / 8e3));
|
|
294
|
+
i.value = Math.min(parseFloat(l.toFixed(1)), 90);
|
|
295
295
|
}, 100);
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
}, c = () => {
|
|
297
|
+
n.value = 1, r = setInterval(() => {
|
|
298
|
+
n.value = n.value >= 3 ? 1 : n.value + 1;
|
|
299
299
|
}, 500);
|
|
300
|
-
},
|
|
301
|
-
|
|
300
|
+
}, $ = () => {
|
|
301
|
+
x();
|
|
302
302
|
const g = setInterval(() => {
|
|
303
303
|
i.value = Math.min(i.value + 3, 100), i.value >= 100 && (clearInterval(g), o.value = "success");
|
|
304
304
|
}, 30);
|
|
305
305
|
}, N = () => {
|
|
306
306
|
let g = 0;
|
|
307
|
-
|
|
308
|
-
if (g += pe, g >=
|
|
309
|
-
|
|
307
|
+
d = setInterval(async () => {
|
|
308
|
+
if (g += pe, g >= pt) {
|
|
309
|
+
R(), o.value = "timeout";
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
312
|
try {
|
|
313
|
-
const { data:
|
|
314
|
-
(
|
|
313
|
+
const { data: l } = await re.get(C.value + "/platform/config/db", { timeout: 3e3 });
|
|
314
|
+
(l == null ? void 0 : l.code) === 200 && (R(), $());
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}, pe);
|
|
318
|
-
},
|
|
318
|
+
}, I = async () => {
|
|
319
319
|
try {
|
|
320
|
-
|
|
321
|
-
const { data: g } = await
|
|
320
|
+
U.value = !0;
|
|
321
|
+
const { data: g } = await re.get(C.value + "/platform/config/db");
|
|
322
322
|
if ((g == null ? void 0 : g.code) === 200 && (g != null && g.data)) {
|
|
323
|
-
const
|
|
324
|
-
e.databaseType =
|
|
323
|
+
const l = g.data;
|
|
324
|
+
e.databaseType = l.databaseType === "pgsql" ? "pgsql" : "sqlite", e.sqliteDir = l.sqliteDir || "sqlite-data", e.user = l.user || "", e.host = l.host || "", e.database = l.database || "", e.password = l.password || "", e.port = String(l.port || 5432);
|
|
325
325
|
}
|
|
326
326
|
} catch {
|
|
327
327
|
} finally {
|
|
328
|
-
|
|
328
|
+
U.value = !1;
|
|
329
329
|
}
|
|
330
|
-
},
|
|
331
|
-
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
|
|
330
|
+
}, te = () => {
|
|
331
|
+
w.value = !1, o.value = "running", i.value = 0, n.value = 1, f.value = !0, I();
|
|
332
|
+
}, X = () => {
|
|
333
|
+
R(), f.value = !1;
|
|
334
|
+
}, j = () => X(), fe = (g) => {
|
|
335
|
+
w.value || g();
|
|
336
336
|
}, ve = async () => {
|
|
337
|
-
var g,
|
|
337
|
+
var g, l, K;
|
|
338
338
|
await ((g = k.value) == null ? void 0 : g.validate());
|
|
339
339
|
try {
|
|
340
|
-
|
|
341
|
-
const
|
|
342
|
-
e.databaseType === "sqlite" ?
|
|
343
|
-
} catch (
|
|
344
|
-
const B = ((
|
|
345
|
-
|
|
340
|
+
V.value = !0;
|
|
341
|
+
const D = { databaseType: e.databaseType };
|
|
342
|
+
e.databaseType === "sqlite" ? D.sqliteDir = e.sqliteDir.trim() : (D.user = e.user.trim(), D.host = e.host.trim(), D.database = e.database.trim(), D.password = e.password, D.port = Number(e.port)), await re.post(C.value + "/platform/config/db", D), w.value = !0, o.value = "running", M(), c(), setTimeout(N, 1e3);
|
|
343
|
+
} catch (D) {
|
|
344
|
+
const B = ((K = (l = D == null ? void 0 : D.response) == null ? void 0 : l.data) == null ? void 0 : K.message) || "保存失败,请重试";
|
|
345
|
+
ce.error(B);
|
|
346
346
|
} finally {
|
|
347
|
-
|
|
347
|
+
V.value = !1;
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
|
-
return
|
|
351
|
-
const
|
|
352
|
-
return
|
|
350
|
+
return T({ openDialog: te, handleClose: j }), (g, l) => {
|
|
351
|
+
const K = b("el-icon"), D = 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
|
+
return L(), J(_e, {
|
|
353
353
|
class: "db-config-dialog",
|
|
354
354
|
modelValue: f.value,
|
|
355
|
-
"onUpdate:modelValue":
|
|
355
|
+
"onUpdate:modelValue": l[8] || (l[8] = (q) => f.value = q),
|
|
356
356
|
"before-close": fe,
|
|
357
|
-
"close-on-click-modal": !
|
|
358
|
-
"close-on-press-escape": !
|
|
357
|
+
"close-on-click-modal": !w.value,
|
|
358
|
+
"close-on-press-escape": !w.value,
|
|
359
359
|
"destroy-on-close": "",
|
|
360
360
|
"show-close": !1,
|
|
361
361
|
width: "480px"
|
|
362
362
|
}, {
|
|
363
363
|
header: a(() => [
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
364
|
+
s("div", ot, [
|
|
365
|
+
l[9] || (l[9] = s("span", { class: "dialog-title" }, "数据库配置", -1)),
|
|
366
|
+
s("span", at, S(w.value ? "" : "修改后服务将自动重启"), 1)
|
|
367
367
|
])
|
|
368
368
|
]),
|
|
369
369
|
default: a(() => [
|
|
370
|
-
|
|
371
|
-
o.value !== "running" ? (
|
|
370
|
+
w.value ? (L(), F("div", lt, [
|
|
371
|
+
o.value !== "running" ? (L(), F("div", {
|
|
372
372
|
key: 0,
|
|
373
|
-
class:
|
|
373
|
+
class: ie(["restart-icon-wrap", { success: o.value === "success", error: o.value === "timeout" }])
|
|
374
374
|
}, [
|
|
375
|
-
o.value === "success" ? (
|
|
375
|
+
o.value === "success" ? (L(), J(K, {
|
|
376
376
|
key: 0,
|
|
377
377
|
class: "restart-icon"
|
|
378
378
|
}, {
|
|
379
379
|
default: a(() => [
|
|
380
|
-
t(P(
|
|
380
|
+
t(P(qe))
|
|
381
381
|
]),
|
|
382
382
|
_: 1
|
|
383
|
-
})) : (
|
|
383
|
+
})) : (L(), J(K, {
|
|
384
384
|
key: 1,
|
|
385
385
|
class: "restart-icon"
|
|
386
386
|
}, {
|
|
387
387
|
default: a(() => [
|
|
388
|
-
t(P(
|
|
388
|
+
t(P(Ae))
|
|
389
389
|
]),
|
|
390
390
|
_: 1
|
|
391
391
|
}))
|
|
392
|
-
], 2)) :
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
t(
|
|
392
|
+
], 2)) : ae("", !0),
|
|
393
|
+
s("div", st, S(u.value), 1),
|
|
394
|
+
s("div", nt, S(A.value), 1),
|
|
395
|
+
t(D, {
|
|
396
396
|
class: "restart-progress",
|
|
397
397
|
percentage: Math.round(i.value),
|
|
398
398
|
status: o.value === "success" ? "success" : o.value === "timeout" ? "exception" : "",
|
|
399
399
|
"stroke-width": 10
|
|
400
400
|
}, null, 8, ["percentage", "status"]),
|
|
401
|
-
o.value === "success" || o.value === "timeout" ? (
|
|
401
|
+
o.value === "success" || o.value === "timeout" ? (L(), J(Y, {
|
|
402
402
|
key: 1,
|
|
403
403
|
class: "restart-close-btn",
|
|
404
404
|
emptyColor: !0,
|
|
405
|
-
onClickTrigger:
|
|
405
|
+
onClickTrigger: X,
|
|
406
406
|
modelValue: o.value === "success" ? "确定" : "关闭",
|
|
407
407
|
buttonType: o.value === "success" ? "primary" : "info"
|
|
408
|
-
}, null, 8, ["modelValue", "buttonType"])) :
|
|
409
|
-
])) : he((
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
class:
|
|
413
|
-
onClick:
|
|
414
|
-
},
|
|
415
|
-
|
|
416
|
-
|
|
408
|
+
}, null, 8, ["modelValue", "buttonType"])) : ae("", !0)
|
|
409
|
+
])) : he((L(), F("div", it, [
|
|
410
|
+
s("div", rt, [
|
|
411
|
+
s("div", {
|
|
412
|
+
class: ie(["db-type-card", { active: e.databaseType === "sqlite" }]),
|
|
413
|
+
onClick: l[0] || (l[0] = (q) => e.databaseType = "sqlite")
|
|
414
|
+
}, l[10] || (l[10] = [
|
|
415
|
+
s("span", { class: "db-label" }, "SQLite", -1),
|
|
416
|
+
s("span", { class: "db-desc" }, "本地文件数据库", -1)
|
|
417
417
|
]), 2),
|
|
418
|
-
|
|
419
|
-
class:
|
|
420
|
-
onClick:
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
|
|
418
|
+
s("div", {
|
|
419
|
+
class: ie(["db-type-card", { active: e.databaseType === "pgsql" }]),
|
|
420
|
+
onClick: l[1] || (l[1] = (q) => e.databaseType = "pgsql")
|
|
421
|
+
}, l[11] || (l[11] = [
|
|
422
|
+
s("span", { class: "db-label" }, "PostgreSQL", -1),
|
|
423
|
+
s("span", { class: "db-desc" }, "远程关系型数据库", -1)
|
|
424
424
|
]), 2)
|
|
425
425
|
]),
|
|
426
426
|
t(ge, {
|
|
@@ -437,7 +437,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
437
437
|
mode: "out-in"
|
|
438
438
|
}, {
|
|
439
439
|
default: a(() => [
|
|
440
|
-
e.databaseType === "sqlite" ? (
|
|
440
|
+
e.databaseType === "sqlite" ? (L(), F("div", ct, [
|
|
441
441
|
t(z, {
|
|
442
442
|
label: "数据库目录",
|
|
443
443
|
prop: "sqliteDir"
|
|
@@ -445,29 +445,29 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
445
445
|
default: a(() => [
|
|
446
446
|
t(B, {
|
|
447
447
|
modelValue: e.sqliteDir,
|
|
448
|
-
"onUpdate:modelValue":
|
|
448
|
+
"onUpdate:modelValue": l[2] || (l[2] = (q) => e.sqliteDir = q),
|
|
449
449
|
placeholder: "例如:sqlite-data",
|
|
450
450
|
clearable: ""
|
|
451
451
|
}, {
|
|
452
452
|
prefix: a(() => [
|
|
453
|
-
t(
|
|
453
|
+
t(K, null, {
|
|
454
454
|
default: a(() => [
|
|
455
|
-
t(P(
|
|
455
|
+
t(P(Ie))
|
|
456
456
|
]),
|
|
457
457
|
_: 1
|
|
458
458
|
})
|
|
459
459
|
]),
|
|
460
460
|
_: 1
|
|
461
461
|
}, 8, ["modelValue"]),
|
|
462
|
-
|
|
462
|
+
l[12] || (l[12] = s("div", { class: "field-hint" }, "相对于后端 exe 所在目录的路径", -1))
|
|
463
463
|
]),
|
|
464
464
|
_: 1,
|
|
465
465
|
__: [12]
|
|
466
466
|
})
|
|
467
|
-
])) : (
|
|
467
|
+
])) : (L(), F("div", ut, [
|
|
468
468
|
t(de, { gutter: 16 }, {
|
|
469
469
|
default: a(() => [
|
|
470
|
-
t(
|
|
470
|
+
t(oe, { span: 16 }, {
|
|
471
471
|
default: a(() => [
|
|
472
472
|
t(z, {
|
|
473
473
|
label: "主机地址",
|
|
@@ -476,7 +476,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
476
476
|
default: a(() => [
|
|
477
477
|
t(B, {
|
|
478
478
|
modelValue: e.host,
|
|
479
|
-
"onUpdate:modelValue":
|
|
479
|
+
"onUpdate:modelValue": l[3] || (l[3] = (q) => e.host = q),
|
|
480
480
|
placeholder: "127.0.0.1",
|
|
481
481
|
clearable: ""
|
|
482
482
|
}, null, 8, ["modelValue"])
|
|
@@ -486,7 +486,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
486
486
|
]),
|
|
487
487
|
_: 1
|
|
488
488
|
}),
|
|
489
|
-
t(
|
|
489
|
+
t(oe, { span: 8 }, {
|
|
490
490
|
default: a(() => [
|
|
491
491
|
t(z, {
|
|
492
492
|
label: "端口",
|
|
@@ -495,7 +495,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
495
495
|
default: a(() => [
|
|
496
496
|
t(B, {
|
|
497
497
|
modelValue: e.port,
|
|
498
|
-
"onUpdate:modelValue":
|
|
498
|
+
"onUpdate:modelValue": l[4] || (l[4] = (q) => e.port = q),
|
|
499
499
|
placeholder: "5432",
|
|
500
500
|
clearable: ""
|
|
501
501
|
}, null, 8, ["modelValue"])
|
|
@@ -515,7 +515,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
515
515
|
default: a(() => [
|
|
516
516
|
t(B, {
|
|
517
517
|
modelValue: e.database,
|
|
518
|
-
"onUpdate:modelValue":
|
|
518
|
+
"onUpdate:modelValue": l[5] || (l[5] = (q) => e.database = q),
|
|
519
519
|
placeholder: "new_insofworks_admin",
|
|
520
520
|
clearable: ""
|
|
521
521
|
}, null, 8, ["modelValue"])
|
|
@@ -524,7 +524,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
524
524
|
}),
|
|
525
525
|
t(de, { gutter: 16 }, {
|
|
526
526
|
default: a(() => [
|
|
527
|
-
t(
|
|
527
|
+
t(oe, { span: 12 }, {
|
|
528
528
|
default: a(() => [
|
|
529
529
|
t(z, {
|
|
530
530
|
label: "用户名",
|
|
@@ -533,7 +533,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
533
533
|
default: a(() => [
|
|
534
534
|
t(B, {
|
|
535
535
|
modelValue: e.user,
|
|
536
|
-
"onUpdate:modelValue":
|
|
536
|
+
"onUpdate:modelValue": l[6] || (l[6] = (q) => e.user = q),
|
|
537
537
|
placeholder: "postgres",
|
|
538
538
|
clearable: ""
|
|
539
539
|
}, null, 8, ["modelValue"])
|
|
@@ -543,7 +543,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
543
543
|
]),
|
|
544
544
|
_: 1
|
|
545
545
|
}),
|
|
546
|
-
t(
|
|
546
|
+
t(oe, { span: 12 }, {
|
|
547
547
|
default: a(() => [
|
|
548
548
|
t(z, {
|
|
549
549
|
label: "密码",
|
|
@@ -552,7 +552,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
552
552
|
default: a(() => [
|
|
553
553
|
t(B, {
|
|
554
554
|
modelValue: e.password,
|
|
555
|
-
"onUpdate:modelValue":
|
|
555
|
+
"onUpdate:modelValue": l[7] || (l[7] = (q) => e.password = q),
|
|
556
556
|
type: "password",
|
|
557
557
|
"show-password": "",
|
|
558
558
|
clearable: ""
|
|
@@ -574,20 +574,20 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
574
574
|
_: 1
|
|
575
575
|
}, 8, ["model", "rules"])
|
|
576
576
|
])), [
|
|
577
|
-
[be,
|
|
577
|
+
[be, U.value]
|
|
578
578
|
])
|
|
579
579
|
]),
|
|
580
580
|
footer: a(() => [
|
|
581
|
-
|
|
582
|
-
t(
|
|
581
|
+
w.value ? ae("", !0) : (L(), F("div", dt, [
|
|
582
|
+
t(Y, {
|
|
583
583
|
emptyColor: !0,
|
|
584
|
-
onClickTrigger:
|
|
584
|
+
onClickTrigger: j,
|
|
585
585
|
modelValue: "取消",
|
|
586
586
|
buttonType: "info"
|
|
587
587
|
}),
|
|
588
|
-
t(
|
|
588
|
+
t(Y, {
|
|
589
589
|
emptyColor: !0,
|
|
590
|
-
loading:
|
|
590
|
+
loading: V.value,
|
|
591
591
|
onClickTrigger: ve,
|
|
592
592
|
modelValue: "保存并重启",
|
|
593
593
|
buttonType: "primary"
|
|
@@ -598,7 +598,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
598
598
|
}, 8, ["modelValue", "close-on-click-modal", "close-on-press-escape"]);
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
|
-
}),
|
|
601
|
+
}), ft = /* @__PURE__ */ H(mt, [["__scopeId", "data-v-01b4eb9b"]]), vt = { class: "account-wrap" }, gt = { class: "extra-operate" }, _t = /* @__PURE__ */ W({
|
|
602
602
|
__name: "index",
|
|
603
603
|
props: {
|
|
604
604
|
activeTabName: {
|
|
@@ -611,53 +611,53 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
613
|
emits: ["handleLoginFormChange", "updateApiUrl"],
|
|
614
|
-
setup(y, { emit:
|
|
615
|
-
const m = y, p =
|
|
614
|
+
setup(y, { emit: T }) {
|
|
615
|
+
const m = y, p = le({
|
|
616
616
|
account: "",
|
|
617
617
|
password: ""
|
|
618
|
-
}), C =
|
|
618
|
+
}), C = le({
|
|
619
619
|
account: [
|
|
620
620
|
{ required: !0, message: "请输入账号", trigger: "blur" }
|
|
621
621
|
],
|
|
622
622
|
password: [
|
|
623
623
|
{ required: !0, message: "请输入密码", trigger: "blur" }
|
|
624
624
|
]
|
|
625
|
-
}), e =
|
|
626
|
-
|
|
625
|
+
}), e = _(null), v = T;
|
|
626
|
+
ee(() => m.isClickLogin, (i) => {
|
|
627
627
|
var o;
|
|
628
|
-
i && (m == null ? void 0 : m.activeTabName) === "account" && ((o = e.value) == null || o.validate((
|
|
628
|
+
i && (m == null ? void 0 : m.activeTabName) === "account" && ((o = e.value) == null || o.validate((n) => {
|
|
629
629
|
var r;
|
|
630
|
-
for (let
|
|
631
|
-
p.hasOwnProperty(
|
|
632
|
-
v("handleLoginFormChange",
|
|
630
|
+
for (let u in p)
|
|
631
|
+
p.hasOwnProperty(u) && (p[u] = (r = p[u]) == null ? void 0 : r.trim());
|
|
632
|
+
v("handleLoginFormChange", n, n ? p : null);
|
|
633
633
|
}));
|
|
634
634
|
}, {
|
|
635
635
|
immediate: !0
|
|
636
|
-
}),
|
|
636
|
+
}), ee(() => m.activeTabName, (i) => {
|
|
637
637
|
var o;
|
|
638
638
|
i === "account" && ((o = e.value) == null || o.resetFields());
|
|
639
639
|
});
|
|
640
|
-
const k =
|
|
640
|
+
const k = _(), f = () => {
|
|
641
641
|
var i, o;
|
|
642
642
|
(o = (i = k.value) == null ? void 0 : i.openDialog) == null || o.call(i);
|
|
643
|
-
},
|
|
643
|
+
}, U = (i) => {
|
|
644
644
|
v("updateApiUrl", i);
|
|
645
|
-
},
|
|
645
|
+
}, V = _(), w = () => {
|
|
646
646
|
var i, o;
|
|
647
|
-
(o = (i =
|
|
647
|
+
(o = (i = V.value) == null ? void 0 : i.openDialog) == null || o.call(i);
|
|
648
648
|
};
|
|
649
649
|
return (i, o) => {
|
|
650
|
-
const
|
|
651
|
-
return
|
|
652
|
-
|
|
653
|
-
t(
|
|
650
|
+
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(), F(we, null, [
|
|
652
|
+
s("div", vt, [
|
|
653
|
+
t(A, {
|
|
654
654
|
model: p,
|
|
655
655
|
rules: C,
|
|
656
656
|
ref_key: "formRef",
|
|
657
657
|
ref: e
|
|
658
658
|
}, {
|
|
659
659
|
default: a(() => [
|
|
660
|
-
t(
|
|
660
|
+
t(u, {
|
|
661
661
|
label: "",
|
|
662
662
|
prop: "account"
|
|
663
663
|
}, {
|
|
@@ -665,12 +665,12 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
665
665
|
t(r, {
|
|
666
666
|
class: "account-input",
|
|
667
667
|
modelValue: p.account,
|
|
668
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
668
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => p.account = d),
|
|
669
669
|
placeholder: "请输入账号",
|
|
670
670
|
clearable: ""
|
|
671
671
|
}, {
|
|
672
672
|
prefix: a(() => [
|
|
673
|
-
t(
|
|
673
|
+
t(n, {
|
|
674
674
|
name: "account",
|
|
675
675
|
style: { width: "15px", height: "15px" }
|
|
676
676
|
})
|
|
@@ -680,7 +680,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
680
680
|
]),
|
|
681
681
|
_: 1
|
|
682
682
|
}),
|
|
683
|
-
t(
|
|
683
|
+
t(u, {
|
|
684
684
|
label: "",
|
|
685
685
|
prop: "password"
|
|
686
686
|
}, {
|
|
@@ -688,14 +688,14 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
688
688
|
t(r, {
|
|
689
689
|
class: "account-input",
|
|
690
690
|
modelValue: p.password,
|
|
691
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
691
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => p.password = d),
|
|
692
692
|
type: "password",
|
|
693
693
|
placeholder: "请输入密码",
|
|
694
694
|
"show-password": "",
|
|
695
695
|
clearable: ""
|
|
696
696
|
}, {
|
|
697
697
|
prefix: a(() => [
|
|
698
|
-
t(
|
|
698
|
+
t(n, {
|
|
699
699
|
name: "password",
|
|
700
700
|
style: { width: "15px", height: "15px" }
|
|
701
701
|
})
|
|
@@ -708,8 +708,8 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
708
708
|
]),
|
|
709
709
|
_: 1
|
|
710
710
|
}, 8, ["model", "rules"]),
|
|
711
|
-
|
|
712
|
-
t(
|
|
711
|
+
s("div", gt, [
|
|
712
|
+
t(h, {
|
|
713
713
|
class: "api-button",
|
|
714
714
|
type: "primary",
|
|
715
715
|
onClick: f
|
|
@@ -720,10 +720,10 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
720
720
|
_: 1,
|
|
721
721
|
__: [2]
|
|
722
722
|
}),
|
|
723
|
-
t(
|
|
723
|
+
t(h, {
|
|
724
724
|
class: "db-button",
|
|
725
725
|
type: "primary",
|
|
726
|
-
onClick:
|
|
726
|
+
onClick: w
|
|
727
727
|
}, {
|
|
728
728
|
default: a(() => o[3] || (o[3] = [
|
|
729
729
|
O("数据库配置")
|
|
@@ -733,19 +733,19 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
733
733
|
})
|
|
734
734
|
])
|
|
735
735
|
]),
|
|
736
|
-
t(
|
|
736
|
+
t(tt, {
|
|
737
737
|
ref_key: "apiFormDialogRef",
|
|
738
738
|
ref: k,
|
|
739
|
-
onUpdateApiUrl:
|
|
739
|
+
onUpdateApiUrl: U
|
|
740
740
|
}, null, 512),
|
|
741
|
-
t(
|
|
741
|
+
t(ft, {
|
|
742
742
|
ref_key: "dbConfigDialogRef",
|
|
743
|
-
ref:
|
|
743
|
+
ref: V
|
|
744
744
|
}, null, 512)
|
|
745
745
|
], 64);
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
|
-
}),
|
|
748
|
+
}), bt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-101a522a"]]), yt = { class: "account-wrap" }, ht = { class: "video-wrap" }, Ct = /* @__PURE__ */ W({
|
|
749
749
|
__name: "index",
|
|
750
750
|
props: {
|
|
751
751
|
systemKey: { default: "" },
|
|
@@ -753,54 +753,54 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
753
753
|
isClickLogin: { type: Boolean, default: !1 }
|
|
754
754
|
},
|
|
755
755
|
emits: ["handleLoginFormChange"],
|
|
756
|
-
setup(y, { emit:
|
|
757
|
-
const m = y, p =
|
|
758
|
-
|
|
759
|
-
const { initVerify: C } =
|
|
756
|
+
setup(y, { emit: T }) {
|
|
757
|
+
const m = y, p = T;
|
|
758
|
+
ne(Q);
|
|
759
|
+
const { initVerify: C } = De(), e = _(null), v = _(null);
|
|
760
760
|
let k = !1, f = null;
|
|
761
|
-
const
|
|
762
|
-
if (!
|
|
761
|
+
const U = async (n) => {
|
|
762
|
+
if (!n)
|
|
763
763
|
return;
|
|
764
|
-
const r = await C(
|
|
765
|
-
if (!
|
|
766
|
-
|
|
764
|
+
const r = await C(n), { data: u } = r || {}, { account: A, password: h } = (u == null ? void 0 : u.data) || {}, d = u == null ? void 0 : u.msg;
|
|
765
|
+
if (!A) {
|
|
766
|
+
ce.warning(d || "识别失败,请重新识别!");
|
|
767
767
|
return;
|
|
768
768
|
}
|
|
769
769
|
p("handleLoginFormChange", !0, {
|
|
770
|
-
account:
|
|
771
|
-
password:
|
|
770
|
+
account: A,
|
|
771
|
+
password: h
|
|
772
772
|
});
|
|
773
|
-
},
|
|
773
|
+
}, V = () => {
|
|
774
774
|
if (!v.value || !e.value)
|
|
775
775
|
return;
|
|
776
|
-
const
|
|
777
|
-
|
|
778
|
-
const
|
|
779
|
-
r == null || r.drawImage(
|
|
780
|
-
if (
|
|
781
|
-
const N = new File([
|
|
782
|
-
|
|
776
|
+
const n = v.value, r = n.getContext("2d"), u = e.value;
|
|
777
|
+
n.width = 200, n.height = 200;
|
|
778
|
+
const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h), x = A * d, R = h * d, M = (200 - x) / 2, c = (200 - R) / 2;
|
|
779
|
+
r == null || r.drawImage(u, 0, 0, A, h, M, c, x, R), n.toBlob(($) => {
|
|
780
|
+
if ($) {
|
|
781
|
+
const N = new File([$], "face.png", { type: "image/png" });
|
|
782
|
+
U(N);
|
|
783
783
|
}
|
|
784
784
|
}, "image/png");
|
|
785
|
-
},
|
|
785
|
+
}, w = async () => {
|
|
786
786
|
if (!e.value || k)
|
|
787
787
|
return;
|
|
788
|
-
const
|
|
788
|
+
const n = e.value;
|
|
789
789
|
try {
|
|
790
790
|
if (f = await navigator.mediaDevices.getUserMedia({
|
|
791
791
|
video: { facingMode: "user" },
|
|
792
792
|
// 前置;后置用 'environment'
|
|
793
793
|
audio: !1
|
|
794
|
-
}),
|
|
795
|
-
const r =
|
|
794
|
+
}), n) {
|
|
795
|
+
const r = n;
|
|
796
796
|
r.srcObject = f, k = !0;
|
|
797
797
|
}
|
|
798
798
|
} catch {
|
|
799
|
-
|
|
799
|
+
ce.warning("摄像头启动失败");
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
|
-
function i(
|
|
803
|
-
if (
|
|
802
|
+
function i(n) {
|
|
803
|
+
if (n && (n.getTracks().forEach((r) => r.stop()), e.value)) {
|
|
804
804
|
const r = e.value;
|
|
805
805
|
r.srcObject = null;
|
|
806
806
|
}
|
|
@@ -808,20 +808,20 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
808
808
|
const o = () => {
|
|
809
809
|
i(f), k = !1;
|
|
810
810
|
};
|
|
811
|
-
return
|
|
812
|
-
if (
|
|
811
|
+
return ee(() => m.activeTabName, (n) => {
|
|
812
|
+
if (n !== Z.FACE) {
|
|
813
813
|
o();
|
|
814
814
|
return;
|
|
815
815
|
}
|
|
816
|
-
if (
|
|
817
|
-
|
|
816
|
+
if (n === Z.FACE && !k) {
|
|
817
|
+
w();
|
|
818
818
|
return;
|
|
819
819
|
}
|
|
820
|
-
}),
|
|
820
|
+
}), Te(() => {
|
|
821
821
|
o();
|
|
822
|
-
}), (
|
|
823
|
-
|
|
824
|
-
|
|
822
|
+
}), (n, r) => (L(), F("div", yt, [
|
|
823
|
+
s("div", ht, [
|
|
824
|
+
s("video", {
|
|
825
825
|
class: "face-video",
|
|
826
826
|
ref_key: "videoRef",
|
|
827
827
|
ref: e,
|
|
@@ -830,34 +830,43 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
830
830
|
playsinline: ""
|
|
831
831
|
}, null, 512)
|
|
832
832
|
]),
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
E(n.$slots, "default", {}, () => [
|
|
834
|
+
s("button", {
|
|
835
835
|
class: "face-screenshot",
|
|
836
|
-
onClick:
|
|
836
|
+
onClick: V
|
|
837
837
|
}, "人脸识别")
|
|
838
838
|
], !0),
|
|
839
|
-
|
|
839
|
+
s("canvas", {
|
|
840
840
|
ref_key: "canvasRef",
|
|
841
841
|
ref: v,
|
|
842
842
|
id: "canvas"
|
|
843
843
|
}, null, 512)
|
|
844
844
|
]));
|
|
845
845
|
}
|
|
846
|
-
}),
|
|
846
|
+
}), 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
847
|
key: 0,
|
|
848
848
|
class: "logo"
|
|
849
|
-
},
|
|
849
|
+
}, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" }, Dt = /* @__PURE__ */ W({
|
|
850
850
|
__name: "index",
|
|
851
851
|
props: {
|
|
852
852
|
oldSystemKey: {},
|
|
853
853
|
loginContent: {}
|
|
854
854
|
},
|
|
855
855
|
emits: ["change", "projectLogin", "updateApiUrl", "systemContent"],
|
|
856
|
-
setup(y, { emit:
|
|
857
|
-
const m = y, p =
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
856
|
+
setup(y, { emit: T }) {
|
|
857
|
+
const m = y, p = Fe(), 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
|
+
const $ = await Le({
|
|
859
|
+
url: c
|
|
860
|
+
});
|
|
861
|
+
return URL.createObjectURL($ == null ? void 0 : $.data);
|
|
862
|
+
}, i = _("");
|
|
863
|
+
ee(() => {
|
|
864
|
+
var c;
|
|
865
|
+
return (c = U.value) == null ? void 0 : c.logo;
|
|
866
|
+
}, async (c) => {
|
|
867
|
+
c ? i.value = await w(c) : i.value = Ve;
|
|
868
|
+
}, { immediate: !0 });
|
|
869
|
+
const o = _({
|
|
861
870
|
// sysCTitle: 'INSOFWORKS',
|
|
862
871
|
sysCTitle: "",
|
|
863
872
|
sysETitle: "",
|
|
@@ -880,104 +889,104 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
880
889
|
tips: "温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"
|
|
881
890
|
}
|
|
882
891
|
]
|
|
883
|
-
}),
|
|
884
|
-
|
|
885
|
-
},
|
|
886
|
-
|
|
887
|
-
},
|
|
892
|
+
}), n = _("account"), r = _(!1), u = _(!1), A = () => {
|
|
893
|
+
r.value = !0;
|
|
894
|
+
}, h = (c, $) => {
|
|
895
|
+
r.value = !1, c && x($);
|
|
896
|
+
}, d = async () => (sessionStorage.setItem("loginToken", "111"), !0);
|
|
888
897
|
me(async () => {
|
|
889
|
-
await
|
|
898
|
+
await d();
|
|
890
899
|
});
|
|
891
|
-
const
|
|
892
|
-
var
|
|
893
|
-
if (
|
|
894
|
-
C("projectLogin",
|
|
895
|
-
let
|
|
896
|
-
C("systemContent",
|
|
900
|
+
const x = async (c) => {
|
|
901
|
+
var N, I, te, X;
|
|
902
|
+
if (u.value = !0, await xe(c)) {
|
|
903
|
+
C("projectLogin", c);
|
|
904
|
+
let j = await $e();
|
|
905
|
+
C("systemContent", j == null ? void 0 : j.allMenuContents), p.push("/"), f.setLogRecordAsync({
|
|
897
906
|
type: "登录",
|
|
898
907
|
data: {
|
|
899
|
-
account: ((
|
|
900
|
-
userName: ((
|
|
908
|
+
account: ((N = V.value) == null ? void 0 : N.account) ?? ((I = V.value) == null ? void 0 : I.账号),
|
|
909
|
+
userName: ((te = V.value) == null ? void 0 : te.姓名) || ((X = V.value) == null ? void 0 : X.userName) || "未知"
|
|
901
910
|
}
|
|
902
911
|
}, "/login", "login"), e.setHasClickEditComp(!1);
|
|
903
912
|
} else
|
|
904
|
-
|
|
905
|
-
|
|
913
|
+
u.value = !1;
|
|
914
|
+
u.value = !1;
|
|
906
915
|
};
|
|
907
|
-
|
|
916
|
+
ee(
|
|
908
917
|
() => m == null ? void 0 : m.loginContent,
|
|
909
918
|
() => {
|
|
910
|
-
let
|
|
911
|
-
|
|
919
|
+
let c = m == null ? void 0 : m.loginContent;
|
|
920
|
+
c != null && c.account && (c != null && c.password) && !k.value && x(c);
|
|
912
921
|
},
|
|
913
922
|
{ deep: !0, immediate: !0 }
|
|
914
923
|
);
|
|
915
|
-
const R = (
|
|
916
|
-
|
|
917
|
-
},
|
|
918
|
-
C("updateApiUrl",
|
|
924
|
+
const R = (c) => {
|
|
925
|
+
n.value = c, r.value = !1, u.value = !1;
|
|
926
|
+
}, M = (c) => {
|
|
927
|
+
C("updateApiUrl", c);
|
|
919
928
|
};
|
|
920
|
-
return (
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
t(
|
|
929
|
+
return (c, $) => (L(), F("div", Tt, [
|
|
930
|
+
s("div", kt, [
|
|
931
|
+
s("div", Ut, [
|
|
932
|
+
t(Me, { class: "login-left-bg" }, {
|
|
924
933
|
img: a(() => {
|
|
925
|
-
var
|
|
934
|
+
var N, I;
|
|
926
935
|
return [
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
src:
|
|
936
|
+
s("div", Vt, [
|
|
937
|
+
s("div", Lt, [
|
|
938
|
+
i.value ? (L(), F("div", $t, [
|
|
939
|
+
s("img", {
|
|
940
|
+
src: i.value,
|
|
932
941
|
alt: ""
|
|
933
|
-
}, null, 8,
|
|
934
|
-
])) :
|
|
935
|
-
|
|
942
|
+
}, null, 8, qt)
|
|
943
|
+
])) : ae("", !0),
|
|
944
|
+
s("div", At, S(((N = P(U)) == null ? void 0 : N.EnglishName) || "Insofworks"), 1)
|
|
936
945
|
]),
|
|
937
|
-
|
|
946
|
+
s("div", null, S(((I = P(U)) == null ? void 0 : I.chineseName) || "工业软件建模与开发系统"), 1)
|
|
938
947
|
]),
|
|
939
|
-
|
|
948
|
+
$[0] || ($[0] = s("div", { class: "divide-line" }, null, -1))
|
|
940
949
|
];
|
|
941
950
|
}),
|
|
942
951
|
_: 1
|
|
943
952
|
})
|
|
944
953
|
]),
|
|
945
|
-
|
|
946
|
-
t(
|
|
947
|
-
loading:
|
|
948
|
-
onClickLogin:
|
|
954
|
+
s("div", It, [
|
|
955
|
+
t(ze, {
|
|
956
|
+
loading: u.value,
|
|
957
|
+
onClickLogin: A,
|
|
949
958
|
onHandleTabChange: R
|
|
950
959
|
}, {
|
|
951
960
|
title: a(() => [
|
|
952
|
-
O(
|
|
961
|
+
O(S(o.value.loginTitle), 1)
|
|
953
962
|
]),
|
|
954
963
|
tabLabel1: a(() => [
|
|
955
|
-
O(
|
|
964
|
+
O(S(o.value.tabs[0].name), 1)
|
|
956
965
|
]),
|
|
957
966
|
tabContent1: a(() => [
|
|
958
|
-
t(
|
|
959
|
-
activeTabName:
|
|
960
|
-
isClickLogin:
|
|
961
|
-
onHandleLoginFormChange:
|
|
962
|
-
onUpdateApiUrl:
|
|
967
|
+
t(bt, {
|
|
968
|
+
activeTabName: n.value,
|
|
969
|
+
isClickLogin: r.value,
|
|
970
|
+
onHandleLoginFormChange: h,
|
|
971
|
+
onUpdateApiUrl: M
|
|
963
972
|
}, null, 8, ["activeTabName", "isClickLogin"])
|
|
964
973
|
]),
|
|
965
974
|
tabButton1: a(() => [
|
|
966
|
-
O(
|
|
975
|
+
O(S(o.value.tabs[0].btnLabel), 1)
|
|
967
976
|
]),
|
|
968
977
|
tabLabel2: a(() => [
|
|
969
|
-
O(
|
|
978
|
+
O(S(o.value.tabs[1].name), 1)
|
|
970
979
|
]),
|
|
971
980
|
tabContent2: a(() => [
|
|
972
|
-
t(
|
|
973
|
-
systemKey:
|
|
974
|
-
activeTabName:
|
|
975
|
-
isClickLogin:
|
|
976
|
-
onHandleLoginFormChange:
|
|
981
|
+
t(wt, {
|
|
982
|
+
systemKey: c.oldSystemKey,
|
|
983
|
+
activeTabName: n.value,
|
|
984
|
+
isClickLogin: r.value,
|
|
985
|
+
onHandleLoginFormChange: h
|
|
977
986
|
}, null, 8, ["systemKey", "activeTabName", "isClickLogin"])
|
|
978
987
|
]),
|
|
979
988
|
tabButton2: a(() => [
|
|
980
|
-
O(
|
|
989
|
+
O(S(o.value.tabs[1].btnLabel), 1)
|
|
981
990
|
]),
|
|
982
991
|
_: 1
|
|
983
992
|
}, 8, ["loading"])
|
|
@@ -985,7 +994,7 @@ const We = () => ({ initUrlInfo: () => ({
|
|
|
985
994
|
])
|
|
986
995
|
]));
|
|
987
996
|
}
|
|
988
|
-
}),
|
|
997
|
+
}), Pt = /* @__PURE__ */ H(Dt, [["__scopeId", "data-v-43bcd58d"]]);
|
|
989
998
|
export {
|
|
990
|
-
|
|
999
|
+
Pt as default
|
|
991
1000
|
};
|