ss-component-new 1.3.271 → 1.3.272
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/{index-whFeQHV7.js → index-DDKW9761.js} +12 -0
- package/dist/{index-BQZQfdF9.js → index-DVsmrcKc.js} +84 -83
- package/dist/{index-CAKmBDVW.cjs → index-DXRhTwcx.cjs} +1 -1
- package/dist/index-KVzeEg2l.cjs +1 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +2 -2
- package/package.json +1 -1
- package/dist/index-BJvaTjjk.cjs +0 -1
|
@@ -6848,28 +6848,37 @@ const Vt = (o, I = []) => {
|
|
|
6848
6848
|
// formType: "Input",
|
|
6849
6849
|
// align: "center"
|
|
6850
6850
|
// },
|
|
6851
|
+
{
|
|
6852
|
+
label: "relatedId",
|
|
6853
|
+
prop: "relatedId",
|
|
6854
|
+
formType: "Upload"
|
|
6855
|
+
},
|
|
6851
6856
|
{
|
|
6852
6857
|
label: "账号",
|
|
6853
6858
|
prop: "account",
|
|
6854
6859
|
formType: "Input",
|
|
6860
|
+
required: !0,
|
|
6855
6861
|
align: "center"
|
|
6856
6862
|
},
|
|
6857
6863
|
{
|
|
6858
6864
|
label: "密码",
|
|
6859
6865
|
prop: "password",
|
|
6860
6866
|
formType: "Input",
|
|
6867
|
+
required: !0,
|
|
6861
6868
|
align: "center"
|
|
6862
6869
|
},
|
|
6863
6870
|
{
|
|
6864
6871
|
label: "姓名",
|
|
6865
6872
|
prop: "user_name",
|
|
6866
6873
|
formType: "Input",
|
|
6874
|
+
required: !0,
|
|
6867
6875
|
align: "center"
|
|
6868
6876
|
},
|
|
6869
6877
|
{
|
|
6870
6878
|
label: "工号",
|
|
6871
6879
|
prop: "employee_no",
|
|
6872
6880
|
formType: "Input",
|
|
6881
|
+
required: !0,
|
|
6873
6882
|
align: "center"
|
|
6874
6883
|
},
|
|
6875
6884
|
{
|
|
@@ -6894,6 +6903,8 @@ const Vt = (o, I = []) => {
|
|
|
6894
6903
|
label: "重置密码",
|
|
6895
6904
|
prop: "allow_reset_password",
|
|
6896
6905
|
formType: "Select",
|
|
6906
|
+
required: !0,
|
|
6907
|
+
align: "center",
|
|
6897
6908
|
options: [
|
|
6898
6909
|
{
|
|
6899
6910
|
label: "允许",
|
|
@@ -6939,6 +6950,7 @@ const Vt = (o, I = []) => {
|
|
|
6939
6950
|
label: "状态",
|
|
6940
6951
|
prop: "status",
|
|
6941
6952
|
formType: "Select",
|
|
6953
|
+
required: !0,
|
|
6942
6954
|
options: [
|
|
6943
6955
|
{
|
|
6944
6956
|
label: "启用",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { createElementBlock as S, openBlock as E, createElementVNode as u, renderSlot as N, defineComponent as
|
|
1
|
+
import { createElementBlock as S, openBlock as E, createElementVNode as u, renderSlot as N, defineComponent as H, ref as $, resolveComponent as A, createVNode as v, withCtx as m, unref as q, reactive as Q, watch as P, onBeforeUnmount as Z, computed as ee, onMounted as te, createCommentVNode as ae, toDisplayString as F, createTextVNode as V } from "vue";
|
|
2
2
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import { b as
|
|
3
|
+
import { b as D, p as O, s as Y, l as oe, e as se, d as ne, u as ie, f as le, g as ce, v as re } from "./index-IV5ysLCM.js";
|
|
4
4
|
import "./index-DGqNLkIH.js";
|
|
5
|
-
import { v as
|
|
6
|
-
import { E as
|
|
7
|
-
import { useRouter as
|
|
8
|
-
const
|
|
9
|
-
function
|
|
10
|
-
return E(), S("div",
|
|
11
|
-
u("div",
|
|
5
|
+
import { v as de } from "./index-DS4J0rre.js";
|
|
6
|
+
import { E as j, s as ue } from "./request-B3-w_S8Z.js";
|
|
7
|
+
import { useRouter as me } from "vue-router";
|
|
8
|
+
const fe = {}, ge = { class: "left-wrap" }, pe = { class: "left-bg" };
|
|
9
|
+
function _e(h, f) {
|
|
10
|
+
return E(), S("div", ge, [
|
|
11
|
+
u("div", pe, [
|
|
12
12
|
N(h.$slots, "img", {}, void 0, !0)
|
|
13
13
|
])
|
|
14
14
|
]);
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const ve = /* @__PURE__ */ M(fe, [["render", _e], ["__scopeId", "data-v-9b7ee6c9"]]), x = {
|
|
17
17
|
ACCOUNT: "account",
|
|
18
18
|
FACE: "face"
|
|
19
|
-
},
|
|
19
|
+
}, be = { class: "right-wrap" }, he = { class: "tab-content" }, ye = { class: "tab-tips" }, Ce = { class: "tab-content" }, we = { class: "tab-tips" }, Le = /* @__PURE__ */ H({
|
|
20
20
|
__name: "index",
|
|
21
21
|
props: {
|
|
22
22
|
tabList: {
|
|
@@ -37,7 +37,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
37
37
|
};
|
|
38
38
|
return (a, i) => {
|
|
39
39
|
const s = A("el-button"), l = A("el-tab-pane"), g = A("el-tabs");
|
|
40
|
-
return E(), S("div",
|
|
40
|
+
return E(), S("div", be, [
|
|
41
41
|
v(g, {
|
|
42
42
|
modelValue: o.value,
|
|
43
43
|
"onUpdate:modelValue": i[0] || (i[0] = (r) => o.value = r),
|
|
@@ -46,13 +46,13 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
46
46
|
}, {
|
|
47
47
|
default: m(() => [
|
|
48
48
|
v(l, {
|
|
49
|
-
name:
|
|
49
|
+
name: q(x).ACCOUNT
|
|
50
50
|
}, {
|
|
51
51
|
label: m(() => [
|
|
52
52
|
N(a.$slots, "tabLabel1", {}, void 0, !0)
|
|
53
53
|
]),
|
|
54
54
|
default: m(() => [
|
|
55
|
-
u("div",
|
|
55
|
+
u("div", he, [
|
|
56
56
|
N(a.$slots, "tabContent1", {}, void 0, !0)
|
|
57
57
|
]),
|
|
58
58
|
u("div", {
|
|
@@ -66,23 +66,23 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
66
66
|
_: 3
|
|
67
67
|
}, 8, ["loading"])
|
|
68
68
|
]),
|
|
69
|
-
u("div",
|
|
69
|
+
u("div", ye, [
|
|
70
70
|
N(a.$slots, "tabTips1", {}, void 0, !0)
|
|
71
71
|
])
|
|
72
72
|
]),
|
|
73
73
|
_: 3
|
|
74
74
|
}, 8, ["name"]),
|
|
75
75
|
v(l, {
|
|
76
|
-
name:
|
|
76
|
+
name: q(x).FACE
|
|
77
77
|
}, {
|
|
78
78
|
label: m(() => [
|
|
79
79
|
N(a.$slots, "tabLabel2", {}, void 0, !0)
|
|
80
80
|
]),
|
|
81
81
|
default: m(() => [
|
|
82
|
-
u("div",
|
|
82
|
+
u("div", Ce, [
|
|
83
83
|
N(a.$slots, "tabContent2", {}, void 0, !0)
|
|
84
84
|
]),
|
|
85
|
-
u("div",
|
|
85
|
+
u("div", we, [
|
|
86
86
|
N(a.$slots, "tabTips2", {}, void 0, !0)
|
|
87
87
|
])
|
|
88
88
|
]),
|
|
@@ -94,7 +94,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
94
94
|
]);
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
}),
|
|
97
|
+
}), Te = /* @__PURE__ */ M(Le, [["__scopeId", "data-v-8b1962f0"]]), ke = { class: "account-wrap" }, Ne = /* @__PURE__ */ H({
|
|
98
98
|
__name: "index",
|
|
99
99
|
props: {
|
|
100
100
|
activeTabName: {
|
|
@@ -108,10 +108,10 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
108
108
|
},
|
|
109
109
|
emits: ["handleLoginFormChange"],
|
|
110
110
|
setup(h, { emit: f }) {
|
|
111
|
-
const o = h, e =
|
|
111
|
+
const o = h, e = Q({
|
|
112
112
|
account: "",
|
|
113
113
|
password: ""
|
|
114
|
-
}), y =
|
|
114
|
+
}), y = Q({
|
|
115
115
|
account: [
|
|
116
116
|
{ required: !0, message: "请输入账号", trigger: "blur" }
|
|
117
117
|
],
|
|
@@ -119,7 +119,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
119
119
|
{ required: !0, message: "请输入密码", trigger: "blur" }
|
|
120
120
|
]
|
|
121
121
|
}), C = $(null), a = f;
|
|
122
|
-
return
|
|
122
|
+
return P(() => o.isClickLogin, (i) => {
|
|
123
123
|
var s;
|
|
124
124
|
i && (o == null ? void 0 : o.activeTabName) === "account" && ((s = C.value) == null || s.validate((l) => {
|
|
125
125
|
var g;
|
|
@@ -129,12 +129,12 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
129
129
|
}));
|
|
130
130
|
}, {
|
|
131
131
|
immediate: !0
|
|
132
|
-
}),
|
|
132
|
+
}), P(() => o.activeTabName, (i) => {
|
|
133
133
|
var s;
|
|
134
134
|
i === "account" && ((s = C.value) == null || s.resetFields());
|
|
135
135
|
}), (i, s) => {
|
|
136
136
|
const l = A("svg-icon"), g = A("el-input"), r = A("el-form-item"), w = A("el-form");
|
|
137
|
-
return E(), S("div",
|
|
137
|
+
return E(), S("div", ke, [
|
|
138
138
|
v(w, {
|
|
139
139
|
model: e,
|
|
140
140
|
rules: y,
|
|
@@ -196,7 +196,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
196
196
|
]);
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
|
-
}),
|
|
199
|
+
}), $e = /* @__PURE__ */ M(Ne, [["__scopeId", "data-v-48037c0f"]]), Fe = { class: "account-wrap" }, Ae = { class: "video-wrap" }, Se = /* @__PURE__ */ H({
|
|
200
200
|
__name: "index",
|
|
201
201
|
props: {
|
|
202
202
|
systemKey: { default: "" },
|
|
@@ -205,7 +205,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
205
205
|
},
|
|
206
206
|
emits: ["handleLoginFormChange"],
|
|
207
207
|
setup(h, { emit: f }) {
|
|
208
|
-
const o = h, e = f, y =
|
|
208
|
+
const o = h, e = f, y = D(O), { systemInfo: C } = Y(y), a = $(null), i = $(null);
|
|
209
209
|
let s = !1, l = null;
|
|
210
210
|
const g = async (n) => {
|
|
211
211
|
if (!n)
|
|
@@ -214,9 +214,9 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
214
214
|
c.set("file", n);
|
|
215
215
|
const b = C.value.plat_id;
|
|
216
216
|
b && c.set("systemKey", b), console.log("Face Recognition", b);
|
|
217
|
-
const T = await
|
|
217
|
+
const T = await de(c), { data: t } = T || {}, { account: d, password: p, layer: _ } = (t == null ? void 0 : t.data) || {}, I = t == null ? void 0 : t.msg;
|
|
218
218
|
if (!d) {
|
|
219
|
-
|
|
219
|
+
j.warning(I || "识别失败,请重新识别!");
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
222
|
e("handleLoginFormChange", !0, {
|
|
@@ -228,10 +228,10 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
228
228
|
return;
|
|
229
229
|
const n = i.value, c = n.getContext("2d"), b = a.value;
|
|
230
230
|
n.width = 200, n.height = 200;
|
|
231
|
-
const T = b.videoWidth || 640, t = b.videoHeight || 480, d = Math.min(200 / T, 200 / t), p = T * d, _ = t * d,
|
|
232
|
-
c == null || c.drawImage(b, 0, 0, T, t,
|
|
233
|
-
if (
|
|
234
|
-
const K = new File([
|
|
231
|
+
const T = b.videoWidth || 640, t = b.videoHeight || 480, d = Math.min(200 / T, 200 / t), p = T * d, _ = t * d, I = (200 - p) / 2, B = (200 - _) / 2;
|
|
232
|
+
c == null || c.drawImage(b, 0, 0, T, t, I, B, p, _), n.toBlob((R) => {
|
|
233
|
+
if (R) {
|
|
234
|
+
const K = new File([R], "face.png", { type: "image/png" });
|
|
235
235
|
g(K);
|
|
236
236
|
}
|
|
237
237
|
}, "image/png");
|
|
@@ -249,7 +249,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
249
249
|
c.srcObject = l, s = !0;
|
|
250
250
|
}
|
|
251
251
|
} catch {
|
|
252
|
-
|
|
252
|
+
j.warning("摄像头启动失败");
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
255
|
function L(n) {
|
|
@@ -261,7 +261,7 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
261
261
|
const k = () => {
|
|
262
262
|
L(l), s = !1;
|
|
263
263
|
};
|
|
264
|
-
return
|
|
264
|
+
return P(() => o.activeTabName, (n) => {
|
|
265
265
|
if (n !== x.FACE) {
|
|
266
266
|
k();
|
|
267
267
|
return;
|
|
@@ -270,10 +270,10 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
270
270
|
w();
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
|
-
}),
|
|
273
|
+
}), Z(() => {
|
|
274
274
|
k();
|
|
275
|
-
}), (n, c) => (E(), S("div",
|
|
276
|
-
u("div",
|
|
275
|
+
}), (n, c) => (E(), S("div", Fe, [
|
|
276
|
+
u("div", Ae, [
|
|
277
277
|
u("video", {
|
|
278
278
|
class: "face-video",
|
|
279
279
|
ref_key: "videoRef",
|
|
@@ -294,9 +294,9 @@ const _e = /* @__PURE__ */ M(me, [["render", pe], ["__scopeId", "data-v-9b7ee6c9
|
|
|
294
294
|
}, null, 512)
|
|
295
295
|
]));
|
|
296
296
|
}
|
|
297
|
-
}),
|
|
298
|
-
function
|
|
299
|
-
return
|
|
297
|
+
}), Ee = /* @__PURE__ */ M(Se, [["__scopeId", "data-v-8b30c6df"]]);
|
|
298
|
+
function Ie() {
|
|
299
|
+
return ue({
|
|
300
300
|
url: "/api/sysAuth/login",
|
|
301
301
|
method: "post",
|
|
302
302
|
data: {
|
|
@@ -308,13 +308,13 @@ function Ee() {
|
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
310
|
}
|
|
311
|
-
const
|
|
311
|
+
const X = D(O), { isDefaultModel: Re } = ne(), Ve = async (h, f) => {
|
|
312
312
|
var y, C, a, i, s, l, g, r, w, L, k, n, c, b;
|
|
313
|
-
let o = Object.values(h), e = await
|
|
313
|
+
let o = Object.values(h), e = await oe({
|
|
314
314
|
userName: (y = o == null ? void 0 : o[0]) == null ? void 0 : y.trim(),
|
|
315
315
|
password: (C = o == null ? void 0 : o[1]) == null ? void 0 : C.trim()
|
|
316
316
|
});
|
|
317
|
-
if (((a = e == null ? void 0 : e.data) == null ? void 0 : a.status) === 200 && ((s = (i = e == null ? void 0 : e.data) == null ? void 0 : i.result) == null ? void 0 : s.length) <= 0 && (e = await
|
|
317
|
+
if (((a = e == null ? void 0 : e.data) == null ? void 0 : a.status) === 200 && ((s = (i = e == null ? void 0 : e.data) == null ? void 0 : i.result) == null ? void 0 : s.length) <= 0 && (e = await se({
|
|
318
318
|
userName: (l = o == null ? void 0 : o[0]) == null ? void 0 : l.trim(),
|
|
319
319
|
password: (g = o == null ? void 0 : o[1]) == null ? void 0 : g.trim(),
|
|
320
320
|
path: "系统管理/用户管理",
|
|
@@ -323,22 +323,22 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
323
323
|
const t = ((n = (k = e == null ? void 0 : e.data) == null ? void 0 : k.result) == null ? void 0 : n.find((p) => Re(p))) || ((b = (c = e == null ? void 0 : e.data) == null ? void 0 : c.result) == null ? void 0 : b[0]);
|
|
324
324
|
sessionStorage.setItem("systemKey", f && f !== "" ? f : t == null ? void 0 : t.plat_id);
|
|
325
325
|
let d = t;
|
|
326
|
-
return d.plat_id = d.plat_id ?? f,
|
|
326
|
+
return d.plat_id = d.plat_id ?? f, X.setLoginUserInfo(d), X.setSystemKey(f && f !== "" ? f : t == null ? void 0 : t.plat_id), !0;
|
|
327
327
|
} else
|
|
328
|
-
return
|
|
329
|
-
},
|
|
328
|
+
return j.error("输入的密码错误,请重新输入"), !1;
|
|
329
|
+
}, xe = { class: "login-wrap" }, Me = { class: "login-body" }, Be = { class: "login-body-item left" }, Ke = { class: "title" }, Ue = { class: "first-level" }, qe = {
|
|
330
330
|
key: 0,
|
|
331
331
|
class: "logo"
|
|
332
|
-
},
|
|
332
|
+
}, Oe = ["src"], je = { class: "english-name" }, He = { class: "login-body-item right" }, Pe = /* @__PURE__ */ H({
|
|
333
333
|
__name: "index",
|
|
334
334
|
props: {
|
|
335
335
|
oldSystemKey: {}
|
|
336
336
|
},
|
|
337
337
|
emits: ["change"],
|
|
338
338
|
setup(h, { emit: f }) {
|
|
339
|
-
const o =
|
|
339
|
+
const o = me(), e = ie(O), y = D(O), { systemKey: C, systemInfo: a, loginUserInfo: i } = Y(y), s = ee(() => {
|
|
340
340
|
var t;
|
|
341
|
-
return ((t = a.value) == null ? void 0 : t.logo) ||
|
|
341
|
+
return ((t = a.value) == null ? void 0 : t.logo) || le;
|
|
342
342
|
}), l = $({
|
|
343
343
|
// sysCTitle: 'INSOFWORKS',
|
|
344
344
|
sysCTitle: "",
|
|
@@ -369,22 +369,22 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
369
369
|
}, n = async () => {
|
|
370
370
|
var t, d, p;
|
|
371
371
|
try {
|
|
372
|
-
const _ = await
|
|
372
|
+
const _ = await Ie();
|
|
373
373
|
return ((t = _ == null ? void 0 : _.data) == null ? void 0 : t.code) === 200 ? (sessionStorage.setItem("loginToken", (p = (d = _.data) == null ? void 0 : d.result) == null ? void 0 : p.accessToken), !0) : !1;
|
|
374
374
|
} catch (_) {
|
|
375
|
-
|
|
375
|
+
j.error(_);
|
|
376
376
|
}
|
|
377
377
|
return !0;
|
|
378
378
|
}, c = async () => (sessionStorage.setItem("magicToken", "123456"), !0);
|
|
379
|
-
|
|
379
|
+
te(async () => {
|
|
380
380
|
await n();
|
|
381
381
|
});
|
|
382
382
|
const b = async (t) => {
|
|
383
|
-
var B,
|
|
383
|
+
var B, R, K, J, W, z, G;
|
|
384
384
|
w.value = !0;
|
|
385
385
|
let d = [Ve(t, (B = a.value) == null ? void 0 : B.plat_id), n(), c()];
|
|
386
|
-
const p = await Promise.all(d), _ = p == null ? void 0 : p.every((
|
|
387
|
-
let
|
|
386
|
+
const p = await Promise.all(d), _ = p == null ? void 0 : p.every((U) => U);
|
|
387
|
+
let I = [
|
|
388
388
|
{
|
|
389
389
|
id: "1",
|
|
390
390
|
request_method: "Post",
|
|
@@ -400,43 +400,44 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
400
400
|
}
|
|
401
401
|
];
|
|
402
402
|
try {
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
const U = ((R = i == null ? void 0 : i.value) == null ? void 0 : R.plat_id) || ((K = a.value) == null ? void 0 : K.plat_id);
|
|
404
|
+
await ce({
|
|
405
|
+
platId: parseInt(U),
|
|
405
406
|
changeContents: [{
|
|
406
407
|
tableName: "log",
|
|
407
|
-
tableContents:
|
|
408
|
+
tableContents: I
|
|
408
409
|
}]
|
|
409
410
|
});
|
|
410
411
|
} catch {
|
|
411
412
|
}
|
|
412
|
-
_ ? (await
|
|
413
|
+
_ ? (await re(), o.push("/"), y.setLogRecordAsync({
|
|
413
414
|
type: "登录",
|
|
414
415
|
data: {
|
|
415
|
-
account: ((
|
|
416
|
-
userName: ((
|
|
416
|
+
account: ((J = i.value) == null ? void 0 : J.account) ?? ((W = i.value) == null ? void 0 : W.账号),
|
|
417
|
+
userName: ((z = i.value) == null ? void 0 : z.姓名) || ((G = i.value) == null ? void 0 : G.userName) || "未知"
|
|
417
418
|
}
|
|
418
419
|
}, "/login", "login"), e.setHasClickEditComp(!1)) : w.value = !1;
|
|
419
420
|
}, T = (t) => {
|
|
420
421
|
g.value = t, r.value = !1, w.value = !1;
|
|
421
422
|
};
|
|
422
|
-
return (t, d) => (E(), S("div",
|
|
423
|
-
u("div",
|
|
424
|
-
u("div",
|
|
425
|
-
v(
|
|
423
|
+
return (t, d) => (E(), S("div", xe, [
|
|
424
|
+
u("div", Me, [
|
|
425
|
+
u("div", Be, [
|
|
426
|
+
v(ve, { class: "login-left-bg" }, {
|
|
426
427
|
img: m(() => {
|
|
427
428
|
var p, _;
|
|
428
429
|
return [
|
|
429
|
-
u("div",
|
|
430
|
-
u("div",
|
|
431
|
-
s.value ? (E(), S("div",
|
|
430
|
+
u("div", Ke, [
|
|
431
|
+
u("div", Ue, [
|
|
432
|
+
s.value ? (E(), S("div", qe, [
|
|
432
433
|
u("img", {
|
|
433
434
|
src: s.value,
|
|
434
435
|
alt: ""
|
|
435
|
-
}, null, 8,
|
|
436
|
-
])) :
|
|
437
|
-
u("div",
|
|
436
|
+
}, null, 8, Oe)
|
|
437
|
+
])) : ae("", !0),
|
|
438
|
+
u("div", je, F(((p = q(a)) == null ? void 0 : p.EnglishName) || "Insofworks"), 1)
|
|
438
439
|
]),
|
|
439
|
-
u("div", null, F(((_ =
|
|
440
|
+
u("div", null, F(((_ = q(a)) == null ? void 0 : _.chineseName) || "工业软件建模与开发系统"), 1)
|
|
440
441
|
]),
|
|
441
442
|
d[0] || (d[0] = u("div", { class: "divide-line" }, null, -1))
|
|
442
443
|
];
|
|
@@ -444,33 +445,33 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
444
445
|
_: 1
|
|
445
446
|
})
|
|
446
447
|
]),
|
|
447
|
-
u("div",
|
|
448
|
-
v(
|
|
448
|
+
u("div", He, [
|
|
449
|
+
v(Te, {
|
|
449
450
|
loading: w.value,
|
|
450
451
|
onClickLogin: L,
|
|
451
452
|
onHandleTabChange: T
|
|
452
453
|
}, {
|
|
453
454
|
title: m(() => [
|
|
454
|
-
|
|
455
|
+
V(F(l.value.loginTitle), 1)
|
|
455
456
|
]),
|
|
456
457
|
tabLabel1: m(() => [
|
|
457
|
-
|
|
458
|
+
V(F(l.value.tabs[0].name), 1)
|
|
458
459
|
]),
|
|
459
460
|
tabContent1: m(() => [
|
|
460
|
-
v(
|
|
461
|
+
v($e, {
|
|
461
462
|
activeTabName: g.value,
|
|
462
463
|
isClickLogin: r.value,
|
|
463
464
|
onHandleLoginFormChange: k
|
|
464
465
|
}, null, 8, ["activeTabName", "isClickLogin"])
|
|
465
466
|
]),
|
|
466
467
|
tabButton1: m(() => [
|
|
467
|
-
|
|
468
|
+
V(F(l.value.tabs[0].btnLabel), 1)
|
|
468
469
|
]),
|
|
469
470
|
tabLabel2: m(() => [
|
|
470
|
-
|
|
471
|
+
V(F(l.value.tabs[1].name), 1)
|
|
471
472
|
]),
|
|
472
473
|
tabContent2: m(() => [
|
|
473
|
-
v(
|
|
474
|
+
v(Ee, {
|
|
474
475
|
systemKey: t.oldSystemKey,
|
|
475
476
|
activeTabName: g.value,
|
|
476
477
|
isClickLogin: r.value,
|
|
@@ -478,7 +479,7 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
478
479
|
}, null, 8, ["systemKey", "activeTabName", "isClickLogin"])
|
|
479
480
|
]),
|
|
480
481
|
tabButton2: m(() => [
|
|
481
|
-
|
|
482
|
+
V(F(l.value.tabs[1].btnLabel), 1)
|
|
482
483
|
]),
|
|
483
484
|
_: 1
|
|
484
485
|
}, 8, ["loading"])
|
|
@@ -486,7 +487,7 @@ const Q = P(q), { isDefaultModel: Re } = se(), Ve = async (h, f) => {
|
|
|
486
487
|
])
|
|
487
488
|
]));
|
|
488
489
|
}
|
|
489
|
-
}),
|
|
490
|
+
}), Ye = /* @__PURE__ */ M(Pe, [["__scopeId", "data-v-037cd151"]]);
|
|
490
491
|
export {
|
|
491
|
-
|
|
492
|
+
Ye as default
|
|
492
493
|
};
|