ss-component-new 1.3.286 → 1.3.288
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-Bsogql70.cjs → MTLLoader-CdxYhBAE.cjs} +1 -1
- package/dist/{MTLLoader-CdsFGQF-.js → MTLLoader-RsaYZtZ_.js} +1 -1
- package/dist/{OrbitControls-DWoCUvy4.cjs → OrbitControls-BNTHZN2P.cjs} +1 -1
- package/dist/{OrbitControls-C2_UxiUE.js → OrbitControls-D4mDZcDl.js} +1 -1
- package/dist/{URDFLoader-BsZKAKIo.cjs → URDFLoader-B56WRl4z.cjs} +1 -1
- package/dist/{URDFLoader-Dz9DW7vE.js → URDFLoader-BPNyxykV.js} +2 -2
- package/dist/{animationData-DnGVHraX.js → animationData-D4Q3av_t.js} +3 -3
- package/dist/{animationData-oN-nuDkg.cjs → animationData-DiyxzUT8.cjs} +1 -1
- package/dist/{array-BkvdBkjB.cjs → array-DHHdihdS.cjs} +1 -1
- package/dist/{array-MoA3Ri4g.js → array-jbOhhf4v.js} +4 -4
- package/dist/{clone-fE05POOC.js → clone-BrrxU6_J.js} +1 -1
- package/dist/clone-Dn6v3xp6.cjs +1 -0
- package/dist/{dayjs.min-D4NpYk_n.cjs → dayjs.min-DRU3LNcy.cjs} +1 -1
- package/dist/{dayjs.min-Dnlx1ZBx.js → dayjs.min-Dx_LN6Bu.js} +1 -1
- package/dist/{iconfont-DOzv_3Zg.js → iconfont-DkmQztG1.js} +2 -2
- package/dist/{iconfont-Dmx62o41.cjs → iconfont-Dq-DsQsx.cjs} +1 -1
- package/dist/{index-C2WU_Ec1.js → index--PidpjSy.js} +2 -2
- package/dist/{index-sIKBEcpI.js → index--ZVD8xbU.js} +16 -26
- package/dist/{index-BYz3b7aZ.js → index-1rE9nGn_.js} +2 -2
- package/dist/{index-2xd8WpWE.js → index-B6b9Lr8M.js} +3 -3
- package/dist/{index-B4tCIr_z.cjs → index-BOHy6XZd.cjs} +1 -1
- package/dist/index-BVOdzNfr.js +9371 -0
- package/dist/{index-DyzZBKOp.cjs → index-BbZoRc6B.cjs} +1 -1
- package/dist/index-BdyYMxx4.cjs +1 -0
- package/dist/{index-BZ-4my22.cjs → index-Big-I9pF.cjs} +1 -1
- package/dist/index-BlAISTfa.cjs +1 -0
- package/dist/index-Bs0qreV1.cjs +1 -0
- package/dist/{index-Xa-cp7US.js → index-C-z63B9f.js} +9 -9
- package/dist/{index-B-U8MdmI.cjs → index-C0A0y_84.cjs} +1 -1
- package/dist/{index-DsoXkrYI.js → index-C1dVsNLG.js} +1 -1
- package/dist/{index-D1z8j4eV.js → index-C7-Idrnv.js} +1 -1
- package/dist/{index-CkgTi0gb.js → index-C9smrIfQ.js} +6 -6
- package/dist/{index-jkznII6r.cjs → index-CAcP6bx_.cjs} +1 -1
- package/dist/{index-BsOgskIp.js → index-CF4yVz1d.js} +2 -2
- package/dist/{index-CTwVZFcK.cjs → index-CQcXApCn.cjs} +1 -1
- package/dist/{index-BFrBIvIE.js → index-CTtBV5bC.js} +2 -2
- package/dist/{index-BECHZzKg.cjs → index-CUJ_cdPT.cjs} +1 -1
- package/dist/{index-BQDdBzrY.js → index-CV8QlXGI.js} +1 -1
- package/dist/{index-Yj1Oc3ZA.cjs → index-CXgZFuTt.cjs} +1 -1
- package/dist/{index-Dqh2QdZw.js → index-Cbb4eaBp.js} +3 -3
- package/dist/{index-_15_kR9u.cjs → index-CdrBTtcu.cjs} +1 -1
- package/dist/{index-C4-xNXhM.js → index-Cg7Mpfpj.js} +1 -1
- package/dist/{index-Cm9kN1Xu.cjs → index-CiZrZ3Xv.cjs} +1 -1
- package/dist/index-CliKgPns.cjs +1 -0
- package/dist/{index-BeOgfY4E.js → index-Cml5XnKL.js} +6 -6
- package/dist/{index-BRNEBbrZ.cjs → index-CuHxF23O.cjs} +1 -1
- package/dist/index-Cxv5DW4K.cjs +2 -0
- package/dist/{index-CU99CuPT.cjs → index-D1NTpDPS.cjs} +1 -1
- package/dist/{index-C4MvqsS3.js → index-D21dwfqO.js} +1 -1
- package/dist/{index-sE0VWxJ7.cjs → index-D3Lvzu_0.cjs} +1 -1
- package/dist/{index-BhPO2DCU.cjs → index-DAwnZFmG.cjs} +1 -1
- package/dist/{index-DO-1hTj2.cjs → index-DLN6R2tJ.cjs} +1 -1
- package/dist/{index-CnTP5O4m.js → index-DSOG6EEa.js} +4 -4
- package/dist/{index-DGBPHiex.cjs → index-DTiolIgS.cjs} +1 -1
- package/dist/index-DTsHI5xQ.js +30 -0
- package/dist/{index-0KXR_hwR.cjs → index-DUAnjHxe.cjs} +1 -1
- package/dist/{index-CAZZzLQo.cjs → index-DXWN-UJr.cjs} +1 -1
- package/dist/{index-Dz6vpfgy.js → index-DXjgumn5.js} +3 -3
- package/dist/{index-B6ql3Xm0.js → index-Df8bxCwR.js} +29 -29
- package/dist/{index-CJc4ev1k.cjs → index-Dm_u-SjZ.cjs} +1 -1
- package/dist/index-Drj3FBfd.js +1058 -0
- package/dist/{index-FA5lLYx0.js → index-H_NM-ZF-.js} +2 -2
- package/dist/{index-CbGFrsD8.cjs → index-NnqT8oEL.cjs} +1 -1
- package/dist/{index-Baf8WN5y.js → index-QG4F5kTH.js} +2 -2
- package/dist/{index-3-c8Ohjp.js → index-RSaGZhb3.js} +2 -2
- package/dist/{index-DLQ3bwtv.cjs → index-WTaP_KDd.cjs} +1 -1
- package/dist/index-cFt1QbzL.js +308 -0
- package/dist/{index-BHelG7C7.js → index-csCFl4vZ.js} +7531 -7517
- package/dist/index-gFBtUdzh.js +494 -0
- package/dist/{index-V_-cMWsl.cjs → index-mHmXlK2R.cjs} +1 -1
- package/dist/{index-DiBR8QS7.js → index-tjDz6s0y.js} +1 -1
- package/dist/{index-BIZJ7GKJ.js → index-uBjJS7MI.js} +4 -4
- package/dist/index-uSfvbTe3.cjs +25 -0
- package/dist/index-vbxWL2yo.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-B6Se_JzC.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DBQ_-V1_.js} +1850 -1845
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C9SIThm3.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DpyDtD61.cjs} +62 -62
- package/dist/{main-CBC6ubO_.cjs → main-CJWCDw-y.cjs} +1 -1
- package/dist/{main-C7oFJi1Q.js → main-DQB2eKuh.js} +4 -4
- package/dist/{menu-BxHhjSbR.js → menu-CtG1loFf.js} +109 -113
- package/dist/{menu-Dl3Jfk-c.cjs → menu-Hdw0L-Y2.cjs} +6 -6
- package/dist/{menuIndex-C9SCNvTX.js → menuIndex-DmS5cMwB.js} +1 -1
- package/dist/{menuIndex-_ho29ItI.cjs → menuIndex-DqY0uteo.cjs} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-NJj9qUh_.js → threeModel-BV7PfpCu.js} +4 -4
- package/dist/{threeModel-BzGOMEcf.cjs → threeModel-BY867mnV.cjs} +1 -1
- package/dist/{threePreview-B5IIrseu.js → threePreview-BwElOyqr.js} +4 -4
- package/dist/{threePreview-CAyxqtke.cjs → threePreview-CWRtmSvh.cjs} +1 -1
- package/dist/{threeSceneView-nFy-ZMDh.js → threeSceneView-BytYkSfT.js} +14 -14
- package/dist/{threeSceneView-DmyZ6JVk.cjs → threeSceneView-ff0CsUxF.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-5AFgwENl.js → threeSceneViewForCPMPIP-Bp2-YrZL.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-CagUxEZ7.cjs → threeSceneViewForCPMPIP-DDWR6FSl.cjs} +1 -1
- package/dist/{threeTrackPathView-DzteP02y.js → threeTrackPathView-BckFDqUs.js} +4 -4
- package/dist/{threeTrackPathView-Dmry9hlD.cjs → threeTrackPathView-CamXHHnK.cjs} +1 -1
- package/dist/{threeViewerHost-B5IEEj6S.js → threeViewerHost-5ThpQYP3.js} +3 -3
- package/dist/{threeViewerHost-Dtrx4MAi.cjs → threeViewerHost-Cuo7oQGW.cjs} +1 -1
- package/dist/{urdfTree-DwRiqRR9.js → urdfTree-B6GL3kgV.js} +1 -1
- package/dist/{urdfTree-C62b4s3t.cjs → urdfTree-DDQw6tEb.cjs} +1 -1
- package/dist/{workpieceTreePanel-5IQMEHLR.cjs → workpieceTreePanel-B6AVU13A.cjs} +1 -1
- package/dist/{workpieceTreePanel-B-ueTwVy.js → workpieceTreePanel-BvO881iH.js} +4 -4
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/clone-BeaG_uby.cjs +0 -1
- package/dist/index-A3W3n1yI.js +0 -9393
- package/dist/index-B0Ay1p_8.cjs +0 -1
- package/dist/index-Bq07pl6z.js +0 -55
- package/dist/index-CTJIAikw.cjs +0 -1
- package/dist/index-CdbYspWB.js +0 -494
- package/dist/index-D7ANep-L.cjs +0 -1
- package/dist/index-DEUqbjst.js +0 -448
- package/dist/index-DLHRv2Jb.cjs +0 -25
- package/dist/index-DRfDSXeI.js +0 -875
- package/dist/index-QYUIqsbh.cjs +0 -1
- package/dist/index-cHplSoU4.cjs +0 -2
- package/dist/index-uzigFRcN.cjs +0 -1
package/dist/index-DEUqbjst.js
DELETED
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
import { defineComponent as J, ref as u, onBeforeUnmount as le, createElementBlock as L, openBlock as F, createElementVNode as o, renderSlot as te, computed as z, onMounted as se, onUnmounted as ne, reactive as re, resolveComponent as g, Fragment as ie, createVNode as a, withCtx as l, toDisplayString as H, unref as h, createBlock as de, createCommentVNode as ce } from "vue";
|
|
2
|
-
import { b as ue, s as pe, h as fe } from "./menu-BxHhjSbR.js";
|
|
3
|
-
import { u as me, t as w } from "./index-sIKBEcpI.js";
|
|
4
|
-
import { _ as x } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
-
import { s as ve } from "./index-CnjGqJZS.js";
|
|
6
|
-
import { u as _e } from "./index-Bq07pl6z.js";
|
|
7
|
-
import { E as K } from "./request-CoGtW0Ux.js";
|
|
8
|
-
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { c as ge } from "./clone-fE05POOC.js";
|
|
10
|
-
import { E as ye } from "./index-C81Qb0f2.js";
|
|
11
|
-
const be = { class: "account-wrap" }, we = { class: "video-wrap" }, Re = /* @__PURE__ */ J({
|
|
12
|
-
__name: "index",
|
|
13
|
-
emits: ["startVerify", "completeVerify", "verifyResult"],
|
|
14
|
-
setup(X, { expose: O, emit: I }) {
|
|
15
|
-
const R = I, { initVerifySelf: M } = _e(), d = u(null), p = u(null);
|
|
16
|
-
let E = !1, C = null;
|
|
17
|
-
const n = async (s) => {
|
|
18
|
-
if (!s)
|
|
19
|
-
return;
|
|
20
|
-
const t = await M(s).finally(() => {
|
|
21
|
-
R("completeVerify");
|
|
22
|
-
});
|
|
23
|
-
R("verifyResult", t);
|
|
24
|
-
}, W = () => {
|
|
25
|
-
if (!p.value || !d.value)
|
|
26
|
-
return;
|
|
27
|
-
const s = p.value, t = s.getContext("2d"), b = d.value;
|
|
28
|
-
s.width = 200, s.height = 200;
|
|
29
|
-
const S = b.videoWidth || 640, k = b.videoHeight || 480, B = Math.min(200 / S, 200 / k), U = S * B, N = k * B, D = (200 - U) / 2, f = (200 - N) / 2;
|
|
30
|
-
t == null || t.drawImage(b, 0, 0, S, k, D, f, U, N), s.toBlob(async (P) => {
|
|
31
|
-
if (P) {
|
|
32
|
-
const T = new File([P], "face.png", { type: "image/png" });
|
|
33
|
-
R("startVerify"), await n(T);
|
|
34
|
-
}
|
|
35
|
-
}, "image/png");
|
|
36
|
-
}, y = async () => {
|
|
37
|
-
if (!d.value || E)
|
|
38
|
-
return;
|
|
39
|
-
const s = d.value;
|
|
40
|
-
try {
|
|
41
|
-
if (C = await navigator.mediaDevices.getUserMedia({
|
|
42
|
-
video: { facingMode: "user" },
|
|
43
|
-
// 前置;后置用 'environment'
|
|
44
|
-
audio: !1
|
|
45
|
-
}), s) {
|
|
46
|
-
const t = s;
|
|
47
|
-
t.srcObject = C, E = !0;
|
|
48
|
-
}
|
|
49
|
-
} catch {
|
|
50
|
-
K.warning("摄像头启动失败");
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
function $(s) {
|
|
54
|
-
if (s && (s.getTracks().forEach((t) => t.stop()), d.value)) {
|
|
55
|
-
const t = d.value;
|
|
56
|
-
t.srcObject = null;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
const A = () => {
|
|
60
|
-
$(C), E = !1;
|
|
61
|
-
};
|
|
62
|
-
return le(() => {
|
|
63
|
-
A();
|
|
64
|
-
}), O({ initFaceRecognition: y, cleanup: A }), (s, t) => (F(), L("div", be, [
|
|
65
|
-
o("div", we, [
|
|
66
|
-
o("video", {
|
|
67
|
-
class: "face-video",
|
|
68
|
-
ref_key: "videoRef",
|
|
69
|
-
ref: d,
|
|
70
|
-
id: "v",
|
|
71
|
-
autoplay: "",
|
|
72
|
-
playsinline: ""
|
|
73
|
-
}, null, 512)
|
|
74
|
-
]),
|
|
75
|
-
o("div", {
|
|
76
|
-
class: "face-screenshot-wrapper",
|
|
77
|
-
onClick: W
|
|
78
|
-
}, [
|
|
79
|
-
te(s.$slots, "default", {}, () => [
|
|
80
|
-
t[0] || (t[0] = o("button", { class: "" }, "人脸识别", -1))
|
|
81
|
-
], !0)
|
|
82
|
-
]),
|
|
83
|
-
o("canvas", {
|
|
84
|
-
ref_key: "canvasRef",
|
|
85
|
-
ref: p,
|
|
86
|
-
id: "canvas"
|
|
87
|
-
}, null, 512)
|
|
88
|
-
]));
|
|
89
|
-
}
|
|
90
|
-
}), Ve = /* @__PURE__ */ Q(Re, [["__scopeId", "data-v-d48749db"]]), he = { class: "personal-center" }, Ee = { class: "body" }, Ce = { class: "body-left" }, Se = { class: "personal-profile" }, ke = { class: "avatar" }, Te = ["src"], Fe = {
|
|
91
|
-
key: 1,
|
|
92
|
-
class: "downgrade-avatar"
|
|
93
|
-
}, Oe = { class: "base-info" }, Ie = { class: "permission" }, Ae = { class: "personal-form-wrapper" }, Be = { class: "password-input-wrapper" }, Ue = { class: "edit-wrapper" }, Ne = { class: "edit-body" }, De = { class: "edit-form-wrapper" }, Pe = { class: "edit-footer" }, xe = { class: "footer-right" }, Le = /* @__PURE__ */ J({
|
|
94
|
-
__name: "index",
|
|
95
|
-
setup(X) {
|
|
96
|
-
const { isSuperAdmin: O, initEditForm: I, isAllowReplacePassword: R, initReplacePassword: M } = me(), d = ue(), { loginUserInfo: p } = pe(d), E = z(() => O.value ? "超级管理员" : "普通用户"), C = z(() => {
|
|
97
|
-
var r, e;
|
|
98
|
-
return ((e = (r = p.value) == null ? void 0 : r.account) == null ? void 0 : e.charAt(0)) || "";
|
|
99
|
-
}), n = u({}), W = () => {
|
|
100
|
-
n.value = ge(p.value) || {};
|
|
101
|
-
}, y = u(""), $ = async () => {
|
|
102
|
-
var v, _, V;
|
|
103
|
-
const r = (V = (_ = (v = p.value) == null ? void 0 : v.face_photo_url) == null ? void 0 : _[0]) == null ? void 0 : V.url;
|
|
104
|
-
if (!r)
|
|
105
|
-
return;
|
|
106
|
-
const e = await fe({
|
|
107
|
-
url: r
|
|
108
|
-
}), m = new Blob([e == null ? void 0 : e.data], { type: e == null ? void 0 : e.headers["content-type"] }), c = URL.createObjectURL(m);
|
|
109
|
-
y.value = c;
|
|
110
|
-
}, A = () => {
|
|
111
|
-
y.value && URL.revokeObjectURL(y.value);
|
|
112
|
-
};
|
|
113
|
-
se(() => {
|
|
114
|
-
W(), $();
|
|
115
|
-
}), ne(() => {
|
|
116
|
-
A();
|
|
117
|
-
});
|
|
118
|
-
const s = u(w.BASE.value), t = u(), b = u(!1), S = () => {
|
|
119
|
-
b.value = !0;
|
|
120
|
-
}, k = () => {
|
|
121
|
-
b.value = !1;
|
|
122
|
-
}, B = (r) => {
|
|
123
|
-
if (r) {
|
|
124
|
-
G();
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
K.error("验证失败");
|
|
128
|
-
}, U = (r) => {
|
|
129
|
-
t.value && (r === w.RESET_PASSWORD_BY_FACE_RECOGNITION.value ? t.value.initFaceRecognition() : t.value.cleanup());
|
|
130
|
-
}, N = (r) => {
|
|
131
|
-
const e = r.paneName;
|
|
132
|
-
U(e);
|
|
133
|
-
}, D = u(), f = u(I(p.value)), P = re({
|
|
134
|
-
password: [
|
|
135
|
-
{ required: !0, message: "请输入密码", trigger: "blur" }
|
|
136
|
-
]
|
|
137
|
-
}), T = u(!1), Z = () => {
|
|
138
|
-
T.value = !0;
|
|
139
|
-
}, j = () => {
|
|
140
|
-
T.value = !1;
|
|
141
|
-
}, G = () => {
|
|
142
|
-
f.value = I(p.value), Z();
|
|
143
|
-
}, ee = () => s.value === w.RESET_PASSWORD_BY_FACE_RECOGNITION.value ? !0 : !R(n.value), oe = async () => {
|
|
144
|
-
var m, c;
|
|
145
|
-
if (await ((c = (m = D.value) == null ? void 0 : m.validate) == null ? void 0 : c.call(m)), !ee())
|
|
146
|
-
return;
|
|
147
|
-
const e = ye.service({
|
|
148
|
-
lock: !0,
|
|
149
|
-
text: "Loading",
|
|
150
|
-
background: "rgba(0, 0, 0, 0.7)"
|
|
151
|
-
});
|
|
152
|
-
await M(f.value).finally(() => {
|
|
153
|
-
e.close();
|
|
154
|
-
}), n.value = {
|
|
155
|
-
...n.value,
|
|
156
|
-
...f.value
|
|
157
|
-
}, d.setLoginUserInfo(n.value), j();
|
|
158
|
-
};
|
|
159
|
-
return (r, e) => {
|
|
160
|
-
const m = g("el-avatar"), c = g("el-input"), v = g("el-form-item"), _ = g("el-col"), V = g("el-row"), Y = g("el-form"), q = g("el-tab-pane"), ae = g("el-tabs");
|
|
161
|
-
return F(), L(ie, null, [
|
|
162
|
-
o("div", he, [
|
|
163
|
-
e[7] || (e[7] = o("div", { class: "header" }, [
|
|
164
|
-
o("div", { class: "header-left" }),
|
|
165
|
-
o("div", { class: "header-right" })
|
|
166
|
-
], -1)),
|
|
167
|
-
o("div", Ee, [
|
|
168
|
-
o("div", Ce, [
|
|
169
|
-
o("div", Se, [
|
|
170
|
-
o("div", ke, [
|
|
171
|
-
a(m, {
|
|
172
|
-
fit: "cover",
|
|
173
|
-
size: 96,
|
|
174
|
-
ref: "avatarRef",
|
|
175
|
-
alt: "头像查找失败"
|
|
176
|
-
}, {
|
|
177
|
-
default: l(() => [
|
|
178
|
-
y.value ? (F(), L("img", {
|
|
179
|
-
key: 0,
|
|
180
|
-
class: "face-img",
|
|
181
|
-
src: y.value
|
|
182
|
-
}, null, 8, Te)) : (F(), L("div", Fe, H(C.value), 1))
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 512)
|
|
186
|
-
]),
|
|
187
|
-
o("div", Oe, [
|
|
188
|
-
o("div", Ie, H(E.value), 1)
|
|
189
|
-
])
|
|
190
|
-
])
|
|
191
|
-
]),
|
|
192
|
-
e[6] || (e[6] = o("div", { class: "divide" }, null, -1)),
|
|
193
|
-
a(ae, {
|
|
194
|
-
class: "user-tabs",
|
|
195
|
-
modelValue: s.value,
|
|
196
|
-
"onUpdate:modelValue": e[4] || (e[4] = (i) => s.value = i),
|
|
197
|
-
onTabClick: N
|
|
198
|
-
}, {
|
|
199
|
-
default: l(() => [
|
|
200
|
-
a(q, {
|
|
201
|
-
label: h(w).BASE.label,
|
|
202
|
-
name: h(w).BASE.value
|
|
203
|
-
}, {
|
|
204
|
-
default: l(() => [
|
|
205
|
-
o("div", Ae, [
|
|
206
|
-
a(Y, {
|
|
207
|
-
class: "personal-form",
|
|
208
|
-
model: n.value
|
|
209
|
-
}, {
|
|
210
|
-
default: l(() => [
|
|
211
|
-
a(V, { gutter: 20 }, {
|
|
212
|
-
default: l(() => [
|
|
213
|
-
a(_, { span: 12 }, {
|
|
214
|
-
default: l(() => [
|
|
215
|
-
a(v, {
|
|
216
|
-
prop: "user_name",
|
|
217
|
-
label: "姓名",
|
|
218
|
-
"label-position": "top"
|
|
219
|
-
}, {
|
|
220
|
-
default: l(() => [
|
|
221
|
-
a(c, {
|
|
222
|
-
modelValue: n.value.user_name,
|
|
223
|
-
"onUpdate:modelValue": e[0] || (e[0] = (i) => n.value.user_name = i),
|
|
224
|
-
"aria-label": "姓名",
|
|
225
|
-
placeholder: "姓名",
|
|
226
|
-
readonly: ""
|
|
227
|
-
}, null, 8, ["modelValue"])
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
})
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
}),
|
|
234
|
-
a(_, { span: 12 }, {
|
|
235
|
-
default: l(() => [
|
|
236
|
-
a(v, {
|
|
237
|
-
prop: "employee_no",
|
|
238
|
-
label: "工号",
|
|
239
|
-
"label-position": "top"
|
|
240
|
-
}, {
|
|
241
|
-
default: l(() => [
|
|
242
|
-
a(c, {
|
|
243
|
-
modelValue: n.value.employee_no,
|
|
244
|
-
"onUpdate:modelValue": e[1] || (e[1] = (i) => n.value.employee_no = i),
|
|
245
|
-
"aria-label": "工号",
|
|
246
|
-
placeholder: "工号",
|
|
247
|
-
readonly: ""
|
|
248
|
-
}, null, 8, ["modelValue"])
|
|
249
|
-
]),
|
|
250
|
-
_: 1
|
|
251
|
-
})
|
|
252
|
-
]),
|
|
253
|
-
_: 1
|
|
254
|
-
})
|
|
255
|
-
]),
|
|
256
|
-
_: 1
|
|
257
|
-
}),
|
|
258
|
-
a(V, { gutter: 20 }, {
|
|
259
|
-
default: l(() => [
|
|
260
|
-
a(_, { span: 12 }, {
|
|
261
|
-
default: l(() => [
|
|
262
|
-
a(v, {
|
|
263
|
-
prop: "account",
|
|
264
|
-
label: "账号",
|
|
265
|
-
"label-position": "top"
|
|
266
|
-
}, {
|
|
267
|
-
default: l(() => [
|
|
268
|
-
a(c, {
|
|
269
|
-
modelValue: n.value.account,
|
|
270
|
-
"onUpdate:modelValue": e[2] || (e[2] = (i) => n.value.account = i),
|
|
271
|
-
"aria-label": "账号",
|
|
272
|
-
placeholder: "账号",
|
|
273
|
-
readonly: ""
|
|
274
|
-
}, null, 8, ["modelValue"])
|
|
275
|
-
]),
|
|
276
|
-
_: 1
|
|
277
|
-
})
|
|
278
|
-
]),
|
|
279
|
-
_: 1
|
|
280
|
-
}),
|
|
281
|
-
a(_, { span: 12 }, {
|
|
282
|
-
default: l(() => [
|
|
283
|
-
a(v, {
|
|
284
|
-
prop: "password",
|
|
285
|
-
label: "密码",
|
|
286
|
-
"label-position": "top"
|
|
287
|
-
}, {
|
|
288
|
-
default: l(() => [
|
|
289
|
-
o("div", Be, [
|
|
290
|
-
a(c, {
|
|
291
|
-
modelValue: n.value.password,
|
|
292
|
-
"onUpdate:modelValue": e[3] || (e[3] = (i) => n.value.password = i),
|
|
293
|
-
type: "password",
|
|
294
|
-
"show-password": "",
|
|
295
|
-
readonly: "",
|
|
296
|
-
"aria-label": "密码",
|
|
297
|
-
placeholder: "密码"
|
|
298
|
-
}, null, 8, ["modelValue"]),
|
|
299
|
-
!h(O) && h(R)(n.value) ? (F(), de(x, {
|
|
300
|
-
key: 0,
|
|
301
|
-
class: "replace-password",
|
|
302
|
-
emptyColor: !0,
|
|
303
|
-
onClickTrigger: G,
|
|
304
|
-
modelValue: "修改密码",
|
|
305
|
-
buttonType: "primary"
|
|
306
|
-
})) : ce("", !0)
|
|
307
|
-
])
|
|
308
|
-
]),
|
|
309
|
-
_: 1
|
|
310
|
-
})
|
|
311
|
-
]),
|
|
312
|
-
_: 1
|
|
313
|
-
})
|
|
314
|
-
]),
|
|
315
|
-
_: 1
|
|
316
|
-
})
|
|
317
|
-
]),
|
|
318
|
-
_: 1
|
|
319
|
-
}, 8, ["model"])
|
|
320
|
-
])
|
|
321
|
-
]),
|
|
322
|
-
_: 1
|
|
323
|
-
}, 8, ["label", "name"]),
|
|
324
|
-
a(q, {
|
|
325
|
-
label: h(w).RESET_PASSWORD_BY_FACE_RECOGNITION.label,
|
|
326
|
-
name: h(w).RESET_PASSWORD_BY_FACE_RECOGNITION.value
|
|
327
|
-
}, {
|
|
328
|
-
default: l(() => [
|
|
329
|
-
a(Ve, {
|
|
330
|
-
ref_key: "faceRecognitionRef",
|
|
331
|
-
ref: t,
|
|
332
|
-
onStartVerify: S,
|
|
333
|
-
onCompleteVerify: k,
|
|
334
|
-
onVerifyResult: B
|
|
335
|
-
}, {
|
|
336
|
-
default: l(() => [
|
|
337
|
-
a(x, {
|
|
338
|
-
class: "verify-button",
|
|
339
|
-
loading: b.value,
|
|
340
|
-
emptyColor: !0,
|
|
341
|
-
modelValue: "人脸识别",
|
|
342
|
-
buttonType: "primary"
|
|
343
|
-
}, null, 8, ["loading"])
|
|
344
|
-
]),
|
|
345
|
-
_: 1
|
|
346
|
-
}, 512)
|
|
347
|
-
]),
|
|
348
|
-
_: 1
|
|
349
|
-
}, 8, ["label", "name"])
|
|
350
|
-
]),
|
|
351
|
-
_: 1
|
|
352
|
-
}, 8, ["modelValue"])
|
|
353
|
-
]),
|
|
354
|
-
e[8] || (e[8] = o("div", { class: "footer" }, [
|
|
355
|
-
o("div", { class: "footer-left" }),
|
|
356
|
-
o("div", { class: "footer-right" })
|
|
357
|
-
], -1))
|
|
358
|
-
]),
|
|
359
|
-
a(ve, {
|
|
360
|
-
class: "edit-dialog",
|
|
361
|
-
visible: T.value,
|
|
362
|
-
title: "用户信息",
|
|
363
|
-
onBeforeDestroy: j,
|
|
364
|
-
showClose: !0,
|
|
365
|
-
closeOnClickModal: !1,
|
|
366
|
-
closeOnPressEscape: !1,
|
|
367
|
-
modalClass: "role-edit-modal",
|
|
368
|
-
alignCenter: !0,
|
|
369
|
-
appendToBody: !1
|
|
370
|
-
}, {
|
|
371
|
-
default: l(() => [
|
|
372
|
-
o("div", Ue, [
|
|
373
|
-
e[9] || (e[9] = o("div", { class: "edit-header" }, [
|
|
374
|
-
o("div", { class: "header-left" }),
|
|
375
|
-
o("div", { class: "header-right" })
|
|
376
|
-
], -1)),
|
|
377
|
-
o("div", Ne, [
|
|
378
|
-
o("div", De, [
|
|
379
|
-
a(Y, {
|
|
380
|
-
class: "edit-form",
|
|
381
|
-
ref_key: "editFormRef",
|
|
382
|
-
ref: D,
|
|
383
|
-
model: f.value,
|
|
384
|
-
rules: P
|
|
385
|
-
}, {
|
|
386
|
-
default: l(() => [
|
|
387
|
-
a(V, { gutter: 20 }, {
|
|
388
|
-
default: l(() => [
|
|
389
|
-
a(_, { span: 12 }, {
|
|
390
|
-
default: l(() => [
|
|
391
|
-
a(v, {
|
|
392
|
-
prop: "password",
|
|
393
|
-
label: "密码",
|
|
394
|
-
"label-position": "top"
|
|
395
|
-
}, {
|
|
396
|
-
default: l(() => [
|
|
397
|
-
a(c, {
|
|
398
|
-
modelValue: f.value.password,
|
|
399
|
-
"onUpdate:modelValue": e[5] || (e[5] = (i) => f.value.password = i),
|
|
400
|
-
"aria-label": "密码",
|
|
401
|
-
placeholder: "密码"
|
|
402
|
-
}, null, 8, ["modelValue"])
|
|
403
|
-
]),
|
|
404
|
-
_: 1
|
|
405
|
-
})
|
|
406
|
-
]),
|
|
407
|
-
_: 1
|
|
408
|
-
})
|
|
409
|
-
]),
|
|
410
|
-
_: 1
|
|
411
|
-
})
|
|
412
|
-
]),
|
|
413
|
-
_: 1
|
|
414
|
-
}, 8, ["model", "rules"])
|
|
415
|
-
])
|
|
416
|
-
])
|
|
417
|
-
])
|
|
418
|
-
]),
|
|
419
|
-
footer: l(() => [
|
|
420
|
-
o("div", Pe, [
|
|
421
|
-
e[10] || (e[10] = o("div", { class: "footer-left" }, null, -1)),
|
|
422
|
-
o("div", xe, [
|
|
423
|
-
a(x, {
|
|
424
|
-
class: "cancel",
|
|
425
|
-
emptyColor: !0,
|
|
426
|
-
onClickTrigger: j,
|
|
427
|
-
modelValue: "取消",
|
|
428
|
-
buttonType: "info"
|
|
429
|
-
}),
|
|
430
|
-
a(x, {
|
|
431
|
-
class: "confirm",
|
|
432
|
-
emptyColor: !0,
|
|
433
|
-
onClickTrigger: oe,
|
|
434
|
-
modelValue: "确定",
|
|
435
|
-
buttonType: "primary"
|
|
436
|
-
})
|
|
437
|
-
])
|
|
438
|
-
])
|
|
439
|
-
]),
|
|
440
|
-
_: 1
|
|
441
|
-
}, 8, ["visible"])
|
|
442
|
-
], 64);
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
}), Ke = /* @__PURE__ */ Q(Le, [["__scopeId", "data-v-e4017c10"]]);
|
|
446
|
-
export {
|
|
447
|
-
Ke as default
|
|
448
|
-
};
|