ss-component-new 1.3.695 → 1.3.697
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.js +1 -1
- package/dist/{index-BHtNKL1L.js → index-BKK_dL6t.js} +1 -1
- package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
- package/dist/index-D7JA6c9V.js +53058 -0
- package/dist/index-Dh-XsS5U.js +1044 -0
- package/dist/index-DpYqhPhA.js +182 -0
- package/dist/index-Q71ALCnS.js +213 -0
- package/dist/index-z0_YrIG2.js +50 -0
- package/dist/menu-BwJj321q.js +5217 -0
- package/dist/origin-eVVoOCRz.js +11430 -0
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +28 -64
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +1 -1
- package/package.json +8 -6
- package/public/config.js +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/MTLLoader-fu1majr7.js +0 -657
- package/dist/URDFLoader-DG491kO8.js +0 -2299
- package/dist/animationData-iKsXhBLL.js +0 -83
- package/dist/array-hv-iolw_.js +0 -1045
- package/dist/clone-j0I6jGJI.js +0 -8
- package/dist/eleIcon-qStmsM1q.js +0 -29
- package/dist/fileUtil-UOt_otFo.js +0 -20
- package/dist/iconfont-jwZTqjI3.js +0 -1018
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/method.svg +0 -1
- package/dist/index-11kpzK0A.js +0 -209
- package/dist/index-B-aFq64D.js +0 -93
- package/dist/index-B344yCJI.js +0 -107
- package/dist/index-B4vSRtvT.js +0 -1000
- package/dist/index-BFw9okkt.js +0 -63010
- package/dist/index-BPMcUKIT.js +0 -103
- package/dist/index-BUqAl9Ev.js +0 -20549
- package/dist/index-Bcr-OqeW.js +0 -62
- package/dist/index-BhKxwXKI.js +0 -83
- package/dist/index-BjlQhL90.js +0 -84
- package/dist/index-BsvmdFpW.js +0 -627
- package/dist/index-C4jPBVPP.js +0 -55
- package/dist/index-CDx4Yfw0.js +0 -25280
- package/dist/index-CFm8dPNq.js +0 -331
- package/dist/index-CJlI35A-.js +0 -48
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CWLgH0tL.js +0 -411
- package/dist/index-CWOXvFfD.js +0 -44
- package/dist/index-CeGa9pc6.js +0 -665
- package/dist/index-ClqA3eGZ.js +0 -28484
- package/dist/index-D-boFJIv.js +0 -873
- package/dist/index-D1pKtwPz.js +0 -119
- package/dist/index-DFOOD95R.js +0 -447
- package/dist/index-DKx2CTEL.js +0 -572
- package/dist/index-DNyQV8z1.js +0 -78
- package/dist/index-DUbSVaH3.js +0 -93
- package/dist/index-DUbk5m5P.js +0 -99
- package/dist/index-DZmXuPt5.js +0 -622
- package/dist/index-D_bmYgFA.js +0 -30
- package/dist/index-Dyn2r0VE.js +0 -470
- package/dist/index-YjBTGOkO.js +0 -61
- package/dist/index-bFrEKaq_.js +0 -8989
- package/dist/index-hMFaIKW2.js +0 -98
- package/dist/index-rlStojTL.js +0 -52
- package/dist/index-rr5LPnDh.js +0 -201
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-Ww36oycE.js +0 -137877
- package/dist/isString-0ZglyOfu.js +0 -8
- package/dist/localIcon-D5UoFBU5.js +0 -76
- package/dist/main-Cx8oyhHy.js +0 -502
- package/dist/menuIndex-CwBxge00.js +0 -159
- package/dist/request-1RPa2bBn.js +0 -9048
- package/dist/threeModel-D0Z3a4Jl.js +0 -1108
- package/dist/threePreview-CzIm7J7g.js +0 -2259
- package/dist/threeSceneView-BbuwnDk9.js +0 -1290
- package/dist/threeSceneViewForCPMPIP-B7EufZpB.js +0 -539
- package/dist/threeTrackPathView-B4DWtZ5_.js +0 -620
- package/dist/threeViewerHost-CDYOyVIs.js +0 -233
- package/dist/urdfTree-CNIS8SgN.js +0 -254
- package/dist/workpieceTreePanel-CMBs8GTw.js +0 -559
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/method.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{Update.svg → update.svg} +0 -0
package/dist/index-D1pKtwPz.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
-
import { S as x } from "./index-BsvmdFpW.js";
|
|
3
|
-
import { W as B } from "./index-BFw9okkt.js";
|
|
4
|
-
import { s as F } from "./index-11kpzK0A.js";
|
|
5
|
-
import { a as y } from "./index-CDx4Yfw0.js";
|
|
6
|
-
import { u as S, p as I, s as N } from "./index-bFrEKaq_.js";
|
|
7
|
-
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const E = { class: "menu-module" }, M = {
|
|
9
|
-
class: "table-wrap",
|
|
10
|
-
"element-loading-text": "加载中..."
|
|
11
|
-
}, O = { class: "module-dialog-default" }, V = /* @__PURE__ */ C({
|
|
12
|
-
__name: "index",
|
|
13
|
-
setup(P) {
|
|
14
|
-
const e = k({ ...x }), s = v(null), c = S(I), { configMenu: a } = N(c);
|
|
15
|
-
return D(() => {
|
|
16
|
-
var r;
|
|
17
|
-
e.formatFormData(a.value), b(() => {
|
|
18
|
-
var o, l;
|
|
19
|
-
(l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
|
|
20
|
-
}), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
|
|
21
|
-
}), (r, o) => {
|
|
22
|
-
const l = i("el-tree"), d = i("el-splitter-panel"), f = i("el-splitter"), g = i("el-button"), h = T("loading");
|
|
23
|
-
return u(), m("div", E, [
|
|
24
|
-
t(f, null, {
|
|
25
|
-
default: n(() => [
|
|
26
|
-
t(d, {
|
|
27
|
-
size: 208,
|
|
28
|
-
class: "tree-wrap",
|
|
29
|
-
min: 200
|
|
30
|
-
}, {
|
|
31
|
-
default: n(() => [
|
|
32
|
-
t(l, {
|
|
33
|
-
ref_key: "treeRef",
|
|
34
|
-
ref: s,
|
|
35
|
-
data: e.treeData,
|
|
36
|
-
"expand-on-click-node": !1,
|
|
37
|
-
"node-key": "path",
|
|
38
|
-
props: { children: "children", label: "label", path: "path" },
|
|
39
|
-
"highlight-current": "",
|
|
40
|
-
"default-expand-all": "",
|
|
41
|
-
"check-on-click-leaf": !1,
|
|
42
|
-
"check-strictly": "",
|
|
43
|
-
onNodeClick: e.clickNodeTrigger
|
|
44
|
-
}, null, 8, ["data", "onNodeClick"])
|
|
45
|
-
]),
|
|
46
|
-
_: 1
|
|
47
|
-
}),
|
|
48
|
-
t(d, { min: 500 }, {
|
|
49
|
-
default: n(() => [
|
|
50
|
-
w((u(), m("div", M, [
|
|
51
|
-
t(B, {
|
|
52
|
-
itemData: e.menuPageData,
|
|
53
|
-
changedContent: e.changedRow,
|
|
54
|
-
operatingForm: e.operatingForm,
|
|
55
|
-
onOnFormChange: e.changeTrigger,
|
|
56
|
-
onChange: e.handleItemDataChange,
|
|
57
|
-
onClickTrigger: e.clickTrigger,
|
|
58
|
-
onOnButtonClick: e.clickRowButton
|
|
59
|
-
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
60
|
-
])), [
|
|
61
|
-
[h, e.tableLoading]
|
|
62
|
-
])
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
})
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
t(F, {
|
|
70
|
-
class: "module-dialog",
|
|
71
|
-
title: e.dialogInfo.title,
|
|
72
|
-
visible: e.dialogInfo.show,
|
|
73
|
-
width: e.dialogInfo.width,
|
|
74
|
-
onBeforeDestroy: e.beforeDialogDestroy
|
|
75
|
-
}, {
|
|
76
|
-
default: n(() => [
|
|
77
|
-
p("div", O, [
|
|
78
|
-
t(y, {
|
|
79
|
-
rowContents: e.renderFormData,
|
|
80
|
-
isEnableWrap: !1,
|
|
81
|
-
isEdit: !0,
|
|
82
|
-
onChange: e.changeTrigger,
|
|
83
|
-
onClickTrigger: e.clickTrigger
|
|
84
|
-
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
85
|
-
])
|
|
86
|
-
]),
|
|
87
|
-
footer: n(() => [
|
|
88
|
-
p("div", null, [
|
|
89
|
-
t(g, {
|
|
90
|
-
onClick: e.beforeDialogDestroy,
|
|
91
|
-
id: "themeBorderButton"
|
|
92
|
-
}, {
|
|
93
|
-
default: n(() => o[0] || (o[0] = [
|
|
94
|
-
_("取消")
|
|
95
|
-
])),
|
|
96
|
-
_: 1,
|
|
97
|
-
__: [0]
|
|
98
|
-
}, 8, ["onClick"]),
|
|
99
|
-
t(g, {
|
|
100
|
-
id: "themeButton",
|
|
101
|
-
onClick: e.clickSubmitForm
|
|
102
|
-
}, {
|
|
103
|
-
default: n(() => o[1] || (o[1] = [
|
|
104
|
-
_(" 确认 ")
|
|
105
|
-
])),
|
|
106
|
-
_: 1,
|
|
107
|
-
__: [1]
|
|
108
|
-
}, 8, ["onClick"])
|
|
109
|
-
])
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
113
|
-
]);
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
}), G = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
|
|
117
|
-
export {
|
|
118
|
-
G as default
|
|
119
|
-
};
|
package/dist/index-DFOOD95R.js
DELETED
|
@@ -1,447 +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, e as fe, C as ve } from "./index-bFrEKaq_.js";
|
|
3
|
-
import { u as me, t as w } from "./index-DUbSVaH3.js";
|
|
4
|
-
import { _ as x } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
-
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
|
-
import { u as ge } from "./index-Bcr-OqeW.js";
|
|
7
|
-
import { E as K } from "./request-1RPa2bBn.js";
|
|
8
|
-
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { c as ye } from "./clone-j0I6jGJI.js";
|
|
10
|
-
const be = { class: "account-wrap" }, we = { class: "video-wrap" }, Re = /* @__PURE__ */ J({
|
|
11
|
-
__name: "index",
|
|
12
|
-
emits: ["startVerify", "completeVerify", "verifyResult"],
|
|
13
|
-
setup(X, { expose: O, emit: I }) {
|
|
14
|
-
const R = I, { initVerifySelf: M } = ge(), d = u(null), p = u(null);
|
|
15
|
-
let E = !1, C = null;
|
|
16
|
-
const n = async (s) => {
|
|
17
|
-
if (!s)
|
|
18
|
-
return;
|
|
19
|
-
const t = await M(s).finally(() => {
|
|
20
|
-
R("completeVerify");
|
|
21
|
-
});
|
|
22
|
-
R("verifyResult", t);
|
|
23
|
-
}, W = () => {
|
|
24
|
-
if (!p.value || !d.value)
|
|
25
|
-
return;
|
|
26
|
-
const s = p.value, t = s.getContext("2d"), b = d.value;
|
|
27
|
-
s.width = 200, s.height = 200;
|
|
28
|
-
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;
|
|
29
|
-
t == null || t.drawImage(b, 0, 0, S, k, D, f, U, N), s.toBlob(async (P) => {
|
|
30
|
-
if (P) {
|
|
31
|
-
const T = new File([P], "face.png", { type: "image/png" });
|
|
32
|
-
R("startVerify"), await n(T);
|
|
33
|
-
}
|
|
34
|
-
}, "image/png");
|
|
35
|
-
}, y = async () => {
|
|
36
|
-
if (!d.value || E)
|
|
37
|
-
return;
|
|
38
|
-
const s = d.value;
|
|
39
|
-
try {
|
|
40
|
-
if (C = await navigator.mediaDevices.getUserMedia({
|
|
41
|
-
video: { facingMode: "user" },
|
|
42
|
-
// 前置;后置用 'environment'
|
|
43
|
-
audio: !1
|
|
44
|
-
}), s) {
|
|
45
|
-
const t = s;
|
|
46
|
-
t.srcObject = C, E = !0;
|
|
47
|
-
}
|
|
48
|
-
} catch {
|
|
49
|
-
K.warning("摄像头启动失败");
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
function $(s) {
|
|
53
|
-
if (s && (s.getTracks().forEach((t) => t.stop()), d.value)) {
|
|
54
|
-
const t = d.value;
|
|
55
|
-
t.srcObject = null;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
const A = () => {
|
|
59
|
-
$(C), E = !1;
|
|
60
|
-
};
|
|
61
|
-
return le(() => {
|
|
62
|
-
A();
|
|
63
|
-
}), O({ initFaceRecognition: y, cleanup: A }), (s, t) => (F(), L("div", be, [
|
|
64
|
-
o("div", we, [
|
|
65
|
-
o("video", {
|
|
66
|
-
class: "face-video",
|
|
67
|
-
ref_key: "videoRef",
|
|
68
|
-
ref: d,
|
|
69
|
-
id: "v",
|
|
70
|
-
autoplay: "",
|
|
71
|
-
playsinline: ""
|
|
72
|
-
}, null, 512)
|
|
73
|
-
]),
|
|
74
|
-
o("div", {
|
|
75
|
-
class: "face-screenshot-wrapper",
|
|
76
|
-
onClick: W
|
|
77
|
-
}, [
|
|
78
|
-
te(s.$slots, "default", {}, () => [
|
|
79
|
-
t[0] || (t[0] = o("button", { class: "" }, "人脸识别", -1))
|
|
80
|
-
], !0)
|
|
81
|
-
]),
|
|
82
|
-
o("canvas", {
|
|
83
|
-
ref_key: "canvasRef",
|
|
84
|
-
ref: p,
|
|
85
|
-
id: "canvas"
|
|
86
|
-
}, null, 512)
|
|
87
|
-
]));
|
|
88
|
-
}
|
|
89
|
-
}), 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 = {
|
|
90
|
-
key: 1,
|
|
91
|
-
class: "downgrade-avatar"
|
|
92
|
-
}, 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({
|
|
93
|
-
__name: "index",
|
|
94
|
-
setup(X) {
|
|
95
|
-
const { isSuperAdmin: O, initEditForm: I, isAllowReplacePassword: R, initReplacePassword: M } = me(), d = ue(), { loginUserInfo: p } = pe(d), E = z(() => O.value ? "超级管理员" : "普通用户"), C = z(() => {
|
|
96
|
-
var r, e;
|
|
97
|
-
return ((e = (r = p.value) == null ? void 0 : r.account) == null ? void 0 : e.charAt(0)) || "";
|
|
98
|
-
}), n = u({}), W = () => {
|
|
99
|
-
n.value = ye(p.value) || {};
|
|
100
|
-
}, y = u(""), $ = async () => {
|
|
101
|
-
var m, _, V;
|
|
102
|
-
const r = (V = (_ = (m = p.value) == null ? void 0 : m.face_photo_url) == null ? void 0 : _[0]) == null ? void 0 : V.url;
|
|
103
|
-
if (!r)
|
|
104
|
-
return;
|
|
105
|
-
const e = await fe({
|
|
106
|
-
url: r
|
|
107
|
-
}), v = new Blob([e == null ? void 0 : e.data], { type: e == null ? void 0 : e.headers["content-type"] }), c = URL.createObjectURL(v);
|
|
108
|
-
y.value = c;
|
|
109
|
-
}, A = () => {
|
|
110
|
-
y.value && URL.revokeObjectURL(y.value);
|
|
111
|
-
};
|
|
112
|
-
se(() => {
|
|
113
|
-
W(), $();
|
|
114
|
-
}), ne(() => {
|
|
115
|
-
A();
|
|
116
|
-
});
|
|
117
|
-
const s = u(w.BASE.value), t = u(), b = u(!1), S = () => {
|
|
118
|
-
b.value = !0;
|
|
119
|
-
}, k = () => {
|
|
120
|
-
b.value = !1;
|
|
121
|
-
}, B = (r) => {
|
|
122
|
-
if (r) {
|
|
123
|
-
G();
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
K.error("验证失败");
|
|
127
|
-
}, U = (r) => {
|
|
128
|
-
t.value && (r === w.RESET_PASSWORD_BY_FACE_RECOGNITION.value ? t.value.initFaceRecognition() : t.value.cleanup());
|
|
129
|
-
}, N = (r) => {
|
|
130
|
-
const e = r.paneName;
|
|
131
|
-
U(e);
|
|
132
|
-
}, D = u(), f = u(I(p.value)), P = re({
|
|
133
|
-
password: [
|
|
134
|
-
{ required: !0, message: "请输入密码", trigger: "blur" }
|
|
135
|
-
]
|
|
136
|
-
}), T = u(!1), Z = () => {
|
|
137
|
-
T.value = !0;
|
|
138
|
-
}, j = () => {
|
|
139
|
-
T.value = !1;
|
|
140
|
-
}, G = () => {
|
|
141
|
-
f.value = I(p.value), Z();
|
|
142
|
-
}, ee = () => s.value === w.RESET_PASSWORD_BY_FACE_RECOGNITION.value ? !0 : !R(n.value), oe = async () => {
|
|
143
|
-
var v, c;
|
|
144
|
-
if (await ((c = (v = D.value) == null ? void 0 : v.validate) == null ? void 0 : c.call(v)), !ee())
|
|
145
|
-
return;
|
|
146
|
-
const e = ve.service({
|
|
147
|
-
lock: !0,
|
|
148
|
-
text: "Loading",
|
|
149
|
-
background: "rgba(0, 0, 0, 0.7)"
|
|
150
|
-
});
|
|
151
|
-
await M(f.value).finally(() => {
|
|
152
|
-
e.close();
|
|
153
|
-
}), n.value = {
|
|
154
|
-
...n.value,
|
|
155
|
-
...f.value
|
|
156
|
-
}, d.setLoginUserInfo(n.value), j();
|
|
157
|
-
};
|
|
158
|
-
return (r, e) => {
|
|
159
|
-
const v = g("el-avatar"), c = g("el-input"), m = g("el-form-item"), _ = g("el-col"), V = g("el-row"), Y = g("el-form"), q = g("el-tab-pane"), ae = g("el-tabs");
|
|
160
|
-
return F(), L(ie, null, [
|
|
161
|
-
o("div", he, [
|
|
162
|
-
e[7] || (e[7] = o("div", { class: "header" }, [
|
|
163
|
-
o("div", { class: "header-left" }),
|
|
164
|
-
o("div", { class: "header-right" })
|
|
165
|
-
], -1)),
|
|
166
|
-
o("div", Ee, [
|
|
167
|
-
o("div", Ce, [
|
|
168
|
-
o("div", Se, [
|
|
169
|
-
o("div", ke, [
|
|
170
|
-
a(v, {
|
|
171
|
-
fit: "cover",
|
|
172
|
-
size: 96,
|
|
173
|
-
ref: "avatarRef",
|
|
174
|
-
alt: "头像查找失败"
|
|
175
|
-
}, {
|
|
176
|
-
default: l(() => [
|
|
177
|
-
y.value ? (F(), L("img", {
|
|
178
|
-
key: 0,
|
|
179
|
-
class: "face-img",
|
|
180
|
-
src: y.value
|
|
181
|
-
}, null, 8, Te)) : (F(), L("div", Fe, H(C.value), 1))
|
|
182
|
-
]),
|
|
183
|
-
_: 1
|
|
184
|
-
}, 512)
|
|
185
|
-
]),
|
|
186
|
-
o("div", Oe, [
|
|
187
|
-
o("div", Ie, H(E.value), 1)
|
|
188
|
-
])
|
|
189
|
-
])
|
|
190
|
-
]),
|
|
191
|
-
e[6] || (e[6] = o("div", { class: "divide" }, null, -1)),
|
|
192
|
-
a(ae, {
|
|
193
|
-
class: "user-tabs",
|
|
194
|
-
modelValue: s.value,
|
|
195
|
-
"onUpdate:modelValue": e[4] || (e[4] = (i) => s.value = i),
|
|
196
|
-
onTabClick: N
|
|
197
|
-
}, {
|
|
198
|
-
default: l(() => [
|
|
199
|
-
a(q, {
|
|
200
|
-
label: h(w).BASE.label,
|
|
201
|
-
name: h(w).BASE.value
|
|
202
|
-
}, {
|
|
203
|
-
default: l(() => [
|
|
204
|
-
o("div", Ae, [
|
|
205
|
-
a(Y, {
|
|
206
|
-
class: "personal-form",
|
|
207
|
-
model: n.value
|
|
208
|
-
}, {
|
|
209
|
-
default: l(() => [
|
|
210
|
-
a(V, { gutter: 20 }, {
|
|
211
|
-
default: l(() => [
|
|
212
|
-
a(_, { span: 12 }, {
|
|
213
|
-
default: l(() => [
|
|
214
|
-
a(m, {
|
|
215
|
-
prop: "user_name",
|
|
216
|
-
label: "姓名",
|
|
217
|
-
"label-position": "top"
|
|
218
|
-
}, {
|
|
219
|
-
default: l(() => [
|
|
220
|
-
a(c, {
|
|
221
|
-
modelValue: n.value.user_name,
|
|
222
|
-
"onUpdate:modelValue": e[0] || (e[0] = (i) => n.value.user_name = i),
|
|
223
|
-
"aria-label": "姓名",
|
|
224
|
-
placeholder: "姓名",
|
|
225
|
-
readonly: ""
|
|
226
|
-
}, null, 8, ["modelValue"])
|
|
227
|
-
]),
|
|
228
|
-
_: 1
|
|
229
|
-
})
|
|
230
|
-
]),
|
|
231
|
-
_: 1
|
|
232
|
-
}),
|
|
233
|
-
a(_, { span: 12 }, {
|
|
234
|
-
default: l(() => [
|
|
235
|
-
a(m, {
|
|
236
|
-
prop: "employee_no",
|
|
237
|
-
label: "工号",
|
|
238
|
-
"label-position": "top"
|
|
239
|
-
}, {
|
|
240
|
-
default: l(() => [
|
|
241
|
-
a(c, {
|
|
242
|
-
modelValue: n.value.employee_no,
|
|
243
|
-
"onUpdate:modelValue": e[1] || (e[1] = (i) => n.value.employee_no = i),
|
|
244
|
-
"aria-label": "工号",
|
|
245
|
-
placeholder: "工号",
|
|
246
|
-
readonly: ""
|
|
247
|
-
}, null, 8, ["modelValue"])
|
|
248
|
-
]),
|
|
249
|
-
_: 1
|
|
250
|
-
})
|
|
251
|
-
]),
|
|
252
|
-
_: 1
|
|
253
|
-
})
|
|
254
|
-
]),
|
|
255
|
-
_: 1
|
|
256
|
-
}),
|
|
257
|
-
a(V, { gutter: 20 }, {
|
|
258
|
-
default: l(() => [
|
|
259
|
-
a(_, { span: 12 }, {
|
|
260
|
-
default: l(() => [
|
|
261
|
-
a(m, {
|
|
262
|
-
prop: "account",
|
|
263
|
-
label: "账号",
|
|
264
|
-
"label-position": "top"
|
|
265
|
-
}, {
|
|
266
|
-
default: l(() => [
|
|
267
|
-
a(c, {
|
|
268
|
-
modelValue: n.value.account,
|
|
269
|
-
"onUpdate:modelValue": e[2] || (e[2] = (i) => n.value.account = i),
|
|
270
|
-
"aria-label": "账号",
|
|
271
|
-
placeholder: "账号",
|
|
272
|
-
readonly: ""
|
|
273
|
-
}, null, 8, ["modelValue"])
|
|
274
|
-
]),
|
|
275
|
-
_: 1
|
|
276
|
-
})
|
|
277
|
-
]),
|
|
278
|
-
_: 1
|
|
279
|
-
}),
|
|
280
|
-
a(_, { span: 12 }, {
|
|
281
|
-
default: l(() => [
|
|
282
|
-
a(m, {
|
|
283
|
-
prop: "password",
|
|
284
|
-
label: "密码",
|
|
285
|
-
"label-position": "top"
|
|
286
|
-
}, {
|
|
287
|
-
default: l(() => [
|
|
288
|
-
o("div", Be, [
|
|
289
|
-
a(c, {
|
|
290
|
-
modelValue: n.value.password,
|
|
291
|
-
"onUpdate:modelValue": e[3] || (e[3] = (i) => n.value.password = i),
|
|
292
|
-
type: "password",
|
|
293
|
-
"show-password": "",
|
|
294
|
-
readonly: "",
|
|
295
|
-
"aria-label": "密码",
|
|
296
|
-
placeholder: "密码"
|
|
297
|
-
}, null, 8, ["modelValue"]),
|
|
298
|
-
!h(O) && h(R)(n.value) ? (F(), de(x, {
|
|
299
|
-
key: 0,
|
|
300
|
-
class: "replace-password",
|
|
301
|
-
emptyColor: !0,
|
|
302
|
-
onClickTrigger: G,
|
|
303
|
-
modelValue: "修改密码",
|
|
304
|
-
buttonType: "primary"
|
|
305
|
-
})) : ce("", !0)
|
|
306
|
-
])
|
|
307
|
-
]),
|
|
308
|
-
_: 1
|
|
309
|
-
})
|
|
310
|
-
]),
|
|
311
|
-
_: 1
|
|
312
|
-
})
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
})
|
|
316
|
-
]),
|
|
317
|
-
_: 1
|
|
318
|
-
}, 8, ["model"])
|
|
319
|
-
])
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
}, 8, ["label", "name"]),
|
|
323
|
-
a(q, {
|
|
324
|
-
label: h(w).RESET_PASSWORD_BY_FACE_RECOGNITION.label,
|
|
325
|
-
name: h(w).RESET_PASSWORD_BY_FACE_RECOGNITION.value
|
|
326
|
-
}, {
|
|
327
|
-
default: l(() => [
|
|
328
|
-
a(Ve, {
|
|
329
|
-
ref_key: "faceRecognitionRef",
|
|
330
|
-
ref: t,
|
|
331
|
-
onStartVerify: S,
|
|
332
|
-
onCompleteVerify: k,
|
|
333
|
-
onVerifyResult: B
|
|
334
|
-
}, {
|
|
335
|
-
default: l(() => [
|
|
336
|
-
a(x, {
|
|
337
|
-
class: "verify-button",
|
|
338
|
-
loading: b.value,
|
|
339
|
-
emptyColor: !0,
|
|
340
|
-
modelValue: "人脸识别",
|
|
341
|
-
buttonType: "primary"
|
|
342
|
-
}, null, 8, ["loading"])
|
|
343
|
-
]),
|
|
344
|
-
_: 1
|
|
345
|
-
}, 512)
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}, 8, ["label", "name"])
|
|
349
|
-
]),
|
|
350
|
-
_: 1
|
|
351
|
-
}, 8, ["modelValue"])
|
|
352
|
-
]),
|
|
353
|
-
e[8] || (e[8] = o("div", { class: "footer" }, [
|
|
354
|
-
o("div", { class: "footer-left" }),
|
|
355
|
-
o("div", { class: "footer-right" })
|
|
356
|
-
], -1))
|
|
357
|
-
]),
|
|
358
|
-
a(_e, {
|
|
359
|
-
class: "edit-dialog",
|
|
360
|
-
visible: T.value,
|
|
361
|
-
title: "用户信息",
|
|
362
|
-
onBeforeDestroy: j,
|
|
363
|
-
showClose: !0,
|
|
364
|
-
closeOnClickModal: !1,
|
|
365
|
-
closeOnPressEscape: !1,
|
|
366
|
-
modalClass: "role-edit-modal",
|
|
367
|
-
alignCenter: !0,
|
|
368
|
-
appendToBody: !1
|
|
369
|
-
}, {
|
|
370
|
-
default: l(() => [
|
|
371
|
-
o("div", Ue, [
|
|
372
|
-
e[9] || (e[9] = o("div", { class: "edit-header" }, [
|
|
373
|
-
o("div", { class: "header-left" }),
|
|
374
|
-
o("div", { class: "header-right" })
|
|
375
|
-
], -1)),
|
|
376
|
-
o("div", Ne, [
|
|
377
|
-
o("div", De, [
|
|
378
|
-
a(Y, {
|
|
379
|
-
class: "edit-form",
|
|
380
|
-
ref_key: "editFormRef",
|
|
381
|
-
ref: D,
|
|
382
|
-
model: f.value,
|
|
383
|
-
rules: P
|
|
384
|
-
}, {
|
|
385
|
-
default: l(() => [
|
|
386
|
-
a(V, { gutter: 20 }, {
|
|
387
|
-
default: l(() => [
|
|
388
|
-
a(_, { span: 12 }, {
|
|
389
|
-
default: l(() => [
|
|
390
|
-
a(m, {
|
|
391
|
-
prop: "password",
|
|
392
|
-
label: "密码",
|
|
393
|
-
"label-position": "top"
|
|
394
|
-
}, {
|
|
395
|
-
default: l(() => [
|
|
396
|
-
a(c, {
|
|
397
|
-
modelValue: f.value.password,
|
|
398
|
-
"onUpdate:modelValue": e[5] || (e[5] = (i) => f.value.password = i),
|
|
399
|
-
"aria-label": "密码",
|
|
400
|
-
placeholder: "密码"
|
|
401
|
-
}, null, 8, ["modelValue"])
|
|
402
|
-
]),
|
|
403
|
-
_: 1
|
|
404
|
-
})
|
|
405
|
-
]),
|
|
406
|
-
_: 1
|
|
407
|
-
})
|
|
408
|
-
]),
|
|
409
|
-
_: 1
|
|
410
|
-
})
|
|
411
|
-
]),
|
|
412
|
-
_: 1
|
|
413
|
-
}, 8, ["model", "rules"])
|
|
414
|
-
])
|
|
415
|
-
])
|
|
416
|
-
])
|
|
417
|
-
]),
|
|
418
|
-
footer: l(() => [
|
|
419
|
-
o("div", Pe, [
|
|
420
|
-
e[10] || (e[10] = o("div", { class: "footer-left" }, null, -1)),
|
|
421
|
-
o("div", xe, [
|
|
422
|
-
a(x, {
|
|
423
|
-
class: "cancel",
|
|
424
|
-
emptyColor: !0,
|
|
425
|
-
onClickTrigger: j,
|
|
426
|
-
modelValue: "取消",
|
|
427
|
-
buttonType: "info"
|
|
428
|
-
}),
|
|
429
|
-
a(x, {
|
|
430
|
-
class: "confirm",
|
|
431
|
-
emptyColor: !0,
|
|
432
|
-
onClickTrigger: oe,
|
|
433
|
-
modelValue: "确定",
|
|
434
|
-
buttonType: "primary"
|
|
435
|
-
})
|
|
436
|
-
])
|
|
437
|
-
])
|
|
438
|
-
]),
|
|
439
|
-
_: 1
|
|
440
|
-
}, 8, ["visible"])
|
|
441
|
-
], 64);
|
|
442
|
-
};
|
|
443
|
-
}
|
|
444
|
-
}), Je = /* @__PURE__ */ Q(Le, [["__scopeId", "data-v-e4017c10"]]);
|
|
445
|
-
export {
|
|
446
|
-
Je as default
|
|
447
|
-
};
|