hs-admin-ui 17.1.9 → 17.2.0
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/{bcIcon-CxnRT-My.js → bcIcon-DFJ6u6xZ.js} +1 -1
- package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-hn7VbZYW.js → bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js} +6341 -6345
- package/dist/{components-CbhIjmjo.js → components-BPRbF0py.js} +1 -1
- package/dist/element-plus-ui.mjs +5 -5
- package/dist/h5.mjs +134 -134
- package/dist/{index-CaEp_m5b.js → index-BJqR_M1r.js} +15 -15
- package/dist/{index-DbPr0xld.js → index-Fr4g6rfB.js} +9235 -9691
- package/dist/index-MdkQpTY8.js +3560 -0
- package/dist/{index-DYKpZSxQ.js → index-VffOJuMe.js} +1 -1
- package/dist/index.mjs +168 -168
- package/dist/{setting-8ZiesJf4.js → setting-CVeK-sA7.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{table-_Gu_oDHm.js → table-DgfYivlb.js} +2 -2
- package/dist/vxe-table-ui.mjs +4 -4
- package/package.json +1 -1
- package/dist/index--fQX542M.js +0 -3101
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b7 as ge, dR as i, dS as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
1
|
+
import { b7 as ge, dR as i, dS as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js";
|
|
2
2
|
import { watch as Dt, reactive as wl, nextTick as fe, h as g, defineComponent as Ko, ref as je, inject as Lo, createCommentVNode as lt, onMounted as Jl, onUnmounted as en, provide as Ql, TransitionGroup as Bn, computed as Pe, Teleport as Xi, onActivated as ic, onDeactivated as ac, onBeforeUnmount as cc, resolveComponent as dc } from "vue";
|
|
3
3
|
function vt(e) {
|
|
4
4
|
return e && e.enabled !== !1;
|
package/dist/element-plus-ui.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { aT as r, b1 as u, b2 as l, b3 as m, H as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
2
|
-
import { W as N, b5 as R, b6 as i, aw as s } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-
|
|
3
|
-
import "./index
|
|
4
|
-
import {
|
|
1
|
+
import { aT as r, b1 as u, b2 as l, b3 as m, H as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js";
|
|
2
|
+
import { W as N, b5 as R, b6 as i, aw as s } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js";
|
|
3
|
+
import "./index-MdkQpTY8.js";
|
|
4
|
+
import { p as d } from "./index-Fr4g6rfB.js";
|
|
5
5
|
import "vue";
|
|
6
|
-
import { i as T } from "./index-
|
|
6
|
+
import { i as T } from "./index-VffOJuMe.js";
|
|
7
7
|
function b(a, e) {
|
|
8
8
|
r.value = e == null ? void 0 : e.NEXT_NAME, u.value = e == null ? void 0 : e.IS_DEV, l.value = e == null ? void 0 : e.currentRoute, m.value = e == null ? void 0 : e.currentRouter, E.has(a, "_context.directives.loading") || a.directive("loading", c.directive), a.use(d);
|
|
9
9
|
}
|
package/dist/h5.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { K as G, H as
|
|
4
|
-
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */
|
|
1
|
+
import { j as K, b as W, i as X, E as J, a as h, h as Q, f as Z } from "./index-MdkQpTY8.js";
|
|
2
|
+
import { defineComponent as H, computed as E, shallowRef as ee, reactive as q, watch as ae, resolveDirective as te, withDirectives as le, createElementBlock as A, openBlock as k, createElementVNode as d, createBlock as z, createCommentVNode as ne, createVNode as o, unref as a, withCtx as s, createTextVNode as U, ref as I, onMounted as oe, onUnmounted as re, toDisplayString as M, Fragment as se, renderList as ie } from "vue";
|
|
3
|
+
import { K as G, H as $, b9 as F, M as j, a3 as Y, E as de, bf as ue, aP as v, bg as O, aj as pe, S as B, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js";
|
|
4
|
+
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ H({
|
|
5
5
|
__name: "Upload",
|
|
6
6
|
props: {
|
|
7
7
|
action: {
|
|
@@ -38,96 +38,96 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["success"],
|
|
41
|
-
setup(i, { emit:
|
|
42
|
-
const
|
|
41
|
+
setup(i, { emit: C }) {
|
|
42
|
+
const c = i, _ = G(), x = E(() => _.limit || c.limit), m = E(() => _.proxy.replace("/", "") || c.proxy.replace("/", "")), g = E(() => $.pick(_, ["company_id"])), V = C, l = ee(), n = q({
|
|
43
43
|
loading: !1,
|
|
44
44
|
preview: !1,
|
|
45
45
|
index: 0,
|
|
46
|
-
headers:
|
|
46
|
+
headers: c.headers,
|
|
47
47
|
fileList: []
|
|
48
|
-
}),
|
|
49
|
-
|
|
48
|
+
}), D = E(() => n.fileList.map((e) => e.url));
|
|
49
|
+
ae(
|
|
50
50
|
() => n.fileList.length,
|
|
51
51
|
(e) => {
|
|
52
52
|
setTimeout(() => {
|
|
53
|
-
const
|
|
54
|
-
|
|
53
|
+
const t = document.querySelector(".upload-wrapper .el-upload--picture-card");
|
|
54
|
+
t && (t.style.display = e >= x.value && e > 0 ? "none" : "inline-flex");
|
|
55
55
|
}, 100);
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
immediate: !0
|
|
59
59
|
}
|
|
60
60
|
);
|
|
61
|
-
function
|
|
62
|
-
return
|
|
63
|
-
url: `${window.location.origin}/${
|
|
61
|
+
function S() {
|
|
62
|
+
return j({
|
|
63
|
+
url: `${window.location.origin}/${m.value}/sys/get_pub_token`
|
|
64
64
|
}).then((e) => `Bearer ${e == null ? void 0 : e.data}`);
|
|
65
65
|
}
|
|
66
|
-
async function
|
|
67
|
-
if (
|
|
68
|
-
return
|
|
66
|
+
async function P() {
|
|
67
|
+
if ($.isEmpty(c.headers))
|
|
68
|
+
return S().then((e) => {
|
|
69
69
|
n.headers = {
|
|
70
70
|
Authorization: e
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
n.index = n.fileList.findIndex((
|
|
74
|
+
function N(e) {
|
|
75
|
+
n.index = n.fileList.findIndex((t) => t.url === e.url), n.preview = !0;
|
|
76
76
|
}
|
|
77
77
|
let w = [];
|
|
78
|
-
async function
|
|
78
|
+
async function R() {
|
|
79
79
|
n.loading = !0, w = [], l.value.submit();
|
|
80
80
|
}
|
|
81
|
-
async function r(e,
|
|
81
|
+
async function r(e, t, u) {
|
|
82
82
|
if (e.data && w.push(...e.data), w.length < n.fileList.length)
|
|
83
83
|
return;
|
|
84
|
-
const
|
|
84
|
+
const p = w.map((f) => ({
|
|
85
85
|
extname: f.suffix.replace(".", ""),
|
|
86
86
|
id: f.id,
|
|
87
87
|
name: f.name,
|
|
88
88
|
path: f.path,
|
|
89
|
-
url:
|
|
89
|
+
url: c.ossUrl + f.path
|
|
90
90
|
}));
|
|
91
|
-
if (n.loading = !1, !
|
|
91
|
+
if (n.loading = !1, !p.length)
|
|
92
92
|
return;
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
url: `${window.location.origin}/${
|
|
93
|
+
const T = await S();
|
|
94
|
+
j({
|
|
95
|
+
url: `${window.location.origin}/${m.value}/pub_token/mobile_attach_push`,
|
|
96
96
|
method: "post",
|
|
97
97
|
headers: {
|
|
98
|
-
Authorization:
|
|
98
|
+
Authorization: T
|
|
99
99
|
},
|
|
100
100
|
data: {
|
|
101
|
-
attach_paths:
|
|
102
|
-
|
|
101
|
+
attach_paths: p,
|
|
102
|
+
...$.pick(_, ["company_id", "user_id"])
|
|
103
103
|
}
|
|
104
104
|
}).then(() => {
|
|
105
|
-
n.fileList = [],
|
|
105
|
+
n.fileList = [], V("success", { result: p, file: t, files: u });
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
return (e,
|
|
109
|
-
const u =
|
|
110
|
-
return le((
|
|
108
|
+
return (e, t) => {
|
|
109
|
+
const u = te("loading");
|
|
110
|
+
return le((k(), A("div", me, [
|
|
111
111
|
d("div", ge, [
|
|
112
|
-
o(
|
|
112
|
+
o(a(K), {
|
|
113
113
|
ref_key: "uploadRef",
|
|
114
114
|
ref: l,
|
|
115
115
|
"file-list": n.fileList,
|
|
116
|
-
"onUpdate:fileList":
|
|
116
|
+
"onUpdate:fileList": t[0] || (t[0] = (p) => n.fileList = p),
|
|
117
117
|
"list-type": i.listType,
|
|
118
118
|
accept: i.accept,
|
|
119
119
|
name: i.name,
|
|
120
120
|
data: g.value,
|
|
121
|
-
action:
|
|
121
|
+
action: m.value + i.action,
|
|
122
122
|
headers: n.headers,
|
|
123
|
-
limit:
|
|
124
|
-
multiple:
|
|
123
|
+
limit: x.value,
|
|
124
|
+
multiple: x.value > 1,
|
|
125
125
|
"auto-upload": !1,
|
|
126
|
-
"on-preview":
|
|
127
|
-
"before-upload":
|
|
126
|
+
"on-preview": N,
|
|
127
|
+
"before-upload": P,
|
|
128
128
|
"on-success": r
|
|
129
129
|
}, {
|
|
130
|
-
default: s(() => [...
|
|
130
|
+
default: s(() => [...t[2] || (t[2] = [
|
|
131
131
|
d("svg", {
|
|
132
132
|
width: "34",
|
|
133
133
|
height: "34",
|
|
@@ -155,29 +155,29 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
155
155
|
_: 1
|
|
156
156
|
}, 8, ["file-list", "list-type", "accept", "name", "data", "action", "headers", "limit", "multiple"])
|
|
157
157
|
]),
|
|
158
|
-
n.preview ? (
|
|
158
|
+
n.preview ? (k(), z(a(W), {
|
|
159
159
|
key: 0,
|
|
160
|
-
"url-list":
|
|
160
|
+
"url-list": D.value,
|
|
161
161
|
"show-progress": "",
|
|
162
162
|
"initial-index": n.index,
|
|
163
|
-
onClose:
|
|
163
|
+
onClose: t[1] || (t[1] = (p) => n.preview = !1)
|
|
164
164
|
}, null, 8, ["url-list", "initial-index"])) : ne("", !0),
|
|
165
|
-
o(
|
|
165
|
+
o(a(F), {
|
|
166
166
|
size: "large",
|
|
167
167
|
type: "primary",
|
|
168
|
-
onClick:
|
|
168
|
+
onClick: R
|
|
169
169
|
}, {
|
|
170
|
-
default: s(() => [...
|
|
171
|
-
|
|
170
|
+
default: s(() => [...t[3] || (t[3] = [
|
|
171
|
+
U("上传", -1)
|
|
172
172
|
])]),
|
|
173
173
|
_: 1
|
|
174
174
|
})
|
|
175
175
|
])), [
|
|
176
|
-
[
|
|
176
|
+
[u, n.loading]
|
|
177
177
|
]);
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
}), he = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-
|
|
180
|
+
}), he = /* @__PURE__ */ Y(fe, [["__scopeId", "data-v-01ea424d"]]), ye = [
|
|
181
181
|
{ label: "男", value: "男" },
|
|
182
182
|
{ label: "女", value: "女" }
|
|
183
183
|
], y = {
|
|
@@ -230,7 +230,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
230
230
|
address: "请输入地址",
|
|
231
231
|
remark: "请输入备注",
|
|
232
232
|
captcha: "请输入验证码"
|
|
233
|
-
},
|
|
233
|
+
}, L = {
|
|
234
234
|
phone: 11,
|
|
235
235
|
idCard: 18,
|
|
236
236
|
age: 3,
|
|
@@ -241,7 +241,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
241
241
|
idCard: [y.idCardPattern],
|
|
242
242
|
age: [y.agePattern],
|
|
243
243
|
captcha: [y.captcha, y.captchaLength]
|
|
244
|
-
}, be = { class: "member-register-page" }, _e = { class: "page-header" }, we = { class: "page-subtitle" }, Ce = { class: "form-container" }, xe = { class: "form-content" }, Ve = { class: "sms-code-wrapper" }, Ie = { class: "submit-area" },
|
|
244
|
+
}, be = { class: "member-register-page" }, _e = { class: "page-header" }, we = { class: "page-subtitle" }, Ce = { class: "form-container" }, xe = { class: "form-content" }, Ve = { class: "sms-code-wrapper" }, Ie = { class: "submit-area" }, Ee = /* @__PURE__ */ H({
|
|
245
245
|
__name: "MemberRegister",
|
|
246
246
|
props: {
|
|
247
247
|
proxy: {
|
|
@@ -250,7 +250,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
setup(i) {
|
|
253
|
-
const { countdownText:
|
|
253
|
+
const { countdownText: C, isCountingDown: c, stopCountdown: _, sendSmsCode: x } = w(), m = I(), g = I(!1), V = i, l = q({
|
|
254
254
|
name: "",
|
|
255
255
|
gender: "男",
|
|
256
256
|
phone: "",
|
|
@@ -265,16 +265,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
265
265
|
companyName: "",
|
|
266
266
|
defaultMemberType: "",
|
|
267
267
|
discount: 0
|
|
268
|
-
}),
|
|
269
|
-
if (!
|
|
268
|
+
}), D = async () => {
|
|
269
|
+
if (!m.value)
|
|
270
270
|
return !1;
|
|
271
271
|
try {
|
|
272
|
-
return await
|
|
272
|
+
return await m.value.validate();
|
|
273
273
|
} catch {
|
|
274
274
|
return !1;
|
|
275
275
|
}
|
|
276
|
-
},
|
|
277
|
-
if (!await
|
|
276
|
+
}, S = async () => {
|
|
277
|
+
if (!await D())
|
|
278
278
|
return;
|
|
279
279
|
g.value = !0;
|
|
280
280
|
const e = {
|
|
@@ -292,7 +292,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
292
292
|
discount: n.discount
|
|
293
293
|
};
|
|
294
294
|
try {
|
|
295
|
-
await O.post(`${
|
|
295
|
+
await O.post(`${V.proxy}/pub/add_vip_info`, e), pe.alert("注册成功!", "提示", {
|
|
296
296
|
closeOnClickModal: !1,
|
|
297
297
|
// 禁止点击遮罩关闭
|
|
298
298
|
closeOnPressEscape: !1,
|
|
@@ -306,44 +306,44 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
306
306
|
} finally {
|
|
307
307
|
g.value = !1;
|
|
308
308
|
}
|
|
309
|
-
},
|
|
309
|
+
}, P = async () => {
|
|
310
310
|
try {
|
|
311
|
-
return (await O.get(`${
|
|
311
|
+
return (await O.get(`${V.proxy}/pub/get_list_vip_price_set?top_company_id=${n.topCompanyId}`)).data;
|
|
312
312
|
} catch {
|
|
313
313
|
B.error("获取默认会员等级失败");
|
|
314
314
|
}
|
|
315
|
-
},
|
|
315
|
+
}, N = async () => {
|
|
316
316
|
const r = G();
|
|
317
317
|
n.topCompanyId = r.top_company_id || "", n.companyId = r.company_id || "", n.companyName = r.company_name || "";
|
|
318
|
-
const e = await
|
|
318
|
+
const e = await P();
|
|
319
319
|
n.defaultMemberType = (e == null ? void 0 : e.id) || "", n.discount = (e == null ? void 0 : e.discount) || 0;
|
|
320
320
|
};
|
|
321
321
|
function w() {
|
|
322
|
-
const r =
|
|
323
|
-
r.value =
|
|
322
|
+
const r = I(0), e = I(null), t = 60, u = I(!1), p = E(() => r.value > 0 ? `${r.value}秒后重新发送` : "获取验证码"), T = () => {
|
|
323
|
+
r.value = t, u.value = !0, e.value = setInterval(() => {
|
|
324
324
|
r.value--, r.value <= 0 && f();
|
|
325
325
|
}, 1e3);
|
|
326
326
|
}, f = () => {
|
|
327
327
|
e.value && (clearInterval(e.value), e.value = null), r.value = 0, u.value = !1;
|
|
328
328
|
};
|
|
329
329
|
return {
|
|
330
|
-
countdownText:
|
|
330
|
+
countdownText: p,
|
|
331
331
|
isCountingDown: u,
|
|
332
332
|
stopCountdown: f,
|
|
333
333
|
sendSmsCode: async () => {
|
|
334
|
-
if (u.value || !
|
|
334
|
+
if (u.value || !m.value)
|
|
335
335
|
return;
|
|
336
|
-
if (!await
|
|
336
|
+
if (!await m.value.validateField("phone")) {
|
|
337
337
|
B.warning("请先输入正确的手机号");
|
|
338
338
|
return;
|
|
339
339
|
}
|
|
340
340
|
g.value = !0;
|
|
341
341
|
try {
|
|
342
|
-
await O.post(`${
|
|
342
|
+
await O.post(`${V.proxy}/pub/send_sms_vip_valid_code`, {
|
|
343
343
|
telephone: l.phone,
|
|
344
344
|
top_company_id: n.topCompanyId,
|
|
345
345
|
company_id: n.companyId
|
|
346
|
-
}), B.success("验证码发送成功"),
|
|
346
|
+
}), B.success("验证码发送成功"), T();
|
|
347
347
|
} catch {
|
|
348
348
|
} finally {
|
|
349
349
|
g.value = !1;
|
|
@@ -351,23 +351,23 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
351
351
|
}
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function R() {
|
|
355
355
|
if (l.idCard.length === 18) {
|
|
356
|
-
const r = l.idCard.substring(6, 14), e = parseInt(r.substring(0, 4)),
|
|
357
|
-
l.age =
|
|
356
|
+
const r = l.idCard.substring(6, 14), e = parseInt(r.substring(0, 4)), t = parseInt(r.substring(4, 6)), u = parseInt(r.substring(6, 8)), p = (/* @__PURE__ */ new Date()).getFullYear() - e - ((/* @__PURE__ */ new Date()).getMonth() + 1 < t || (/* @__PURE__ */ new Date()).getMonth() + 1 === t && (/* @__PURE__ */ new Date()).getDate() < u ? 1 : 0);
|
|
357
|
+
l.age = p.toString(), l.gender = Number(l.idCard.charAt(16)) % 2 === 0 ? "女" : "男";
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
return oe(() => {
|
|
361
|
-
|
|
361
|
+
N();
|
|
362
362
|
}), re(() => {
|
|
363
363
|
_();
|
|
364
|
-
}), (r, e) => (
|
|
364
|
+
}), (r, e) => (k(), A("div", be, [
|
|
365
365
|
d("header", _e, [
|
|
366
366
|
e[8] || (e[8] = d("h1", { class: "page-title" }, "会员信息登记", -1)),
|
|
367
367
|
d("p", we, [
|
|
368
|
-
o(
|
|
368
|
+
o(a(de), null, {
|
|
369
369
|
default: s(() => [
|
|
370
|
-
o(
|
|
370
|
+
o(a(ue))
|
|
371
371
|
]),
|
|
372
372
|
_: 1
|
|
373
373
|
}),
|
|
@@ -375,83 +375,83 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
375
375
|
])
|
|
376
376
|
]),
|
|
377
377
|
d("main", Ce, [
|
|
378
|
-
o(
|
|
378
|
+
o(a(X), { class: "form-scroll" }, {
|
|
379
379
|
default: s(() => [
|
|
380
380
|
d("div", xe, [
|
|
381
|
-
o(
|
|
381
|
+
o(a(J), {
|
|
382
382
|
ref_key: "formRef",
|
|
383
|
-
ref:
|
|
383
|
+
ref: m,
|
|
384
384
|
model: l,
|
|
385
|
-
rules:
|
|
385
|
+
rules: a(ve),
|
|
386
386
|
"label-position": "left",
|
|
387
387
|
"label-width": "70px",
|
|
388
388
|
class: "member-form"
|
|
389
389
|
}, {
|
|
390
390
|
default: s(() => [
|
|
391
|
-
o(
|
|
391
|
+
o(a(h), {
|
|
392
392
|
label: "姓名",
|
|
393
393
|
prop: "name"
|
|
394
394
|
}, {
|
|
395
395
|
default: s(() => [
|
|
396
|
-
o(
|
|
396
|
+
o(a(v), {
|
|
397
397
|
modelValue: l.name,
|
|
398
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
399
|
-
placeholder:
|
|
398
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => l.name = t),
|
|
399
|
+
placeholder: a(b).name,
|
|
400
400
|
clearable: ""
|
|
401
401
|
}, null, 8, ["modelValue", "placeholder"])
|
|
402
402
|
]),
|
|
403
403
|
_: 1
|
|
404
404
|
}),
|
|
405
|
-
o(
|
|
405
|
+
o(a(h), {
|
|
406
406
|
label: "手机号",
|
|
407
407
|
prop: "phone"
|
|
408
408
|
}, {
|
|
409
409
|
default: s(() => [
|
|
410
|
-
o(
|
|
410
|
+
o(a(v), {
|
|
411
411
|
modelValue: l.phone,
|
|
412
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
412
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => l.phone = t),
|
|
413
413
|
type: "tel",
|
|
414
|
-
placeholder:
|
|
415
|
-
maxlength:
|
|
414
|
+
placeholder: a(b).phone,
|
|
415
|
+
maxlength: a(L).phone,
|
|
416
416
|
clearable: ""
|
|
417
417
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
418
418
|
]),
|
|
419
419
|
_: 1
|
|
420
420
|
}),
|
|
421
|
-
o(
|
|
421
|
+
o(a(h), {
|
|
422
422
|
label: "身份证号",
|
|
423
423
|
prop: "idCard"
|
|
424
424
|
}, {
|
|
425
425
|
default: s(() => [
|
|
426
|
-
o(
|
|
426
|
+
o(a(v), {
|
|
427
427
|
modelValue: l.idCard,
|
|
428
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
429
|
-
onInput:
|
|
430
|
-
placeholder:
|
|
431
|
-
maxlength:
|
|
428
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => l.idCard = t),
|
|
429
|
+
onInput: R,
|
|
430
|
+
placeholder: a(b).idCard,
|
|
431
|
+
maxlength: a(L).idCard,
|
|
432
432
|
clearable: ""
|
|
433
433
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
434
434
|
]),
|
|
435
435
|
_: 1
|
|
436
436
|
}),
|
|
437
|
-
o(
|
|
437
|
+
o(a(h), {
|
|
438
438
|
label: "性别",
|
|
439
439
|
prop: "gender"
|
|
440
440
|
}, {
|
|
441
441
|
default: s(() => [
|
|
442
|
-
o(
|
|
442
|
+
o(a(Q), {
|
|
443
443
|
modelValue: l.gender,
|
|
444
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
444
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => l.gender = t),
|
|
445
445
|
class: "gender-radio-group"
|
|
446
446
|
}, {
|
|
447
447
|
default: s(() => [
|
|
448
|
-
(
|
|
449
|
-
key:
|
|
450
|
-
value:
|
|
448
|
+
(k(!0), A(se, null, ie(a(ye), (t) => (k(), z(a(Z), {
|
|
449
|
+
key: t.value,
|
|
450
|
+
value: t.value,
|
|
451
451
|
border: ""
|
|
452
452
|
}, {
|
|
453
453
|
default: s(() => [
|
|
454
|
-
|
|
454
|
+
U(M(t.label), 1)
|
|
455
455
|
]),
|
|
456
456
|
_: 2
|
|
457
457
|
}, 1032, ["value"]))), 128))
|
|
@@ -461,73 +461,73 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
461
461
|
]),
|
|
462
462
|
_: 1
|
|
463
463
|
}),
|
|
464
|
-
o(
|
|
464
|
+
o(a(h), {
|
|
465
465
|
label: "年龄",
|
|
466
466
|
prop: "age"
|
|
467
467
|
}, {
|
|
468
468
|
default: s(() => [
|
|
469
|
-
o(
|
|
469
|
+
o(a(v), {
|
|
470
470
|
type: "number",
|
|
471
471
|
modelValue: l.age,
|
|
472
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
473
|
-
placeholder:
|
|
474
|
-
maxlength:
|
|
472
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => l.age = t),
|
|
473
|
+
placeholder: a(b).age,
|
|
474
|
+
maxlength: a(L).age,
|
|
475
475
|
clearable: ""
|
|
476
476
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
477
477
|
]),
|
|
478
478
|
_: 1
|
|
479
479
|
}),
|
|
480
|
-
o(
|
|
480
|
+
o(a(h), {
|
|
481
481
|
label: "地址",
|
|
482
482
|
prop: "address"
|
|
483
483
|
}, {
|
|
484
484
|
default: s(() => [
|
|
485
|
-
o(
|
|
485
|
+
o(a(v), {
|
|
486
486
|
modelValue: l.address,
|
|
487
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
488
|
-
placeholder:
|
|
487
|
+
"onUpdate:modelValue": e[5] || (e[5] = (t) => l.address = t),
|
|
488
|
+
placeholder: a(b).address,
|
|
489
489
|
clearable: ""
|
|
490
490
|
}, null, 8, ["modelValue", "placeholder"])
|
|
491
491
|
]),
|
|
492
492
|
_: 1
|
|
493
493
|
}),
|
|
494
|
-
o(
|
|
494
|
+
o(a(h), {
|
|
495
495
|
label: "备注",
|
|
496
496
|
prop: "remark"
|
|
497
497
|
}, {
|
|
498
498
|
default: s(() => [
|
|
499
|
-
o(
|
|
499
|
+
o(a(v), {
|
|
500
500
|
modelValue: l.remark,
|
|
501
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
502
|
-
placeholder:
|
|
501
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => l.remark = t),
|
|
502
|
+
placeholder: a(b).remark,
|
|
503
503
|
clearable: ""
|
|
504
504
|
}, null, 8, ["modelValue", "placeholder"])
|
|
505
505
|
]),
|
|
506
506
|
_: 1
|
|
507
507
|
}),
|
|
508
|
-
o(
|
|
508
|
+
o(a(h), {
|
|
509
509
|
label: "验证码",
|
|
510
510
|
prop: "captcha"
|
|
511
511
|
}, {
|
|
512
512
|
default: s(() => [
|
|
513
513
|
d("div", Ve, [
|
|
514
|
-
o(
|
|
514
|
+
o(a(v), {
|
|
515
515
|
modelValue: l.captcha,
|
|
516
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
517
|
-
placeholder:
|
|
518
|
-
maxlength:
|
|
516
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => l.captcha = t),
|
|
517
|
+
placeholder: a(b).captcha,
|
|
518
|
+
maxlength: a(L).captcha,
|
|
519
519
|
clearable: "",
|
|
520
520
|
class: "sms-code-input"
|
|
521
521
|
}, null, 8, ["modelValue", "placeholder", "maxlength"]),
|
|
522
|
-
o(
|
|
522
|
+
o(a(F), {
|
|
523
523
|
type: "primary",
|
|
524
|
-
disabled:
|
|
524
|
+
disabled: a(c),
|
|
525
525
|
loading: g.value,
|
|
526
526
|
class: "sms-code-btn",
|
|
527
|
-
onClick:
|
|
527
|
+
onClick: a(x)
|
|
528
528
|
}, {
|
|
529
529
|
default: s(() => [
|
|
530
|
-
|
|
530
|
+
U(M(a(C)), 1)
|
|
531
531
|
]),
|
|
532
532
|
_: 1
|
|
533
533
|
}, 8, ["disabled", "loading", "onClick"])
|
|
@@ -539,15 +539,15 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
539
539
|
_: 1
|
|
540
540
|
}, 8, ["model", "rules"]),
|
|
541
541
|
d("div", Ie, [
|
|
542
|
-
o(
|
|
542
|
+
o(a(F), {
|
|
543
543
|
type: "primary",
|
|
544
544
|
round: "",
|
|
545
545
|
class: "submit-btn",
|
|
546
546
|
loading: g.value,
|
|
547
|
-
onClick:
|
|
547
|
+
onClick: S
|
|
548
548
|
}, {
|
|
549
549
|
default: s(() => [...e[9] || (e[9] = [
|
|
550
|
-
|
|
550
|
+
U(" 提交 ", -1)
|
|
551
551
|
])]),
|
|
552
552
|
_: 1
|
|
553
553
|
}, 8, ["loading"])
|
|
@@ -559,16 +559,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
559
559
|
])
|
|
560
560
|
]));
|
|
561
561
|
}
|
|
562
|
-
}),
|
|
562
|
+
}), ke = /* @__PURE__ */ Y(Ee, [["__scopeId", "data-v-992af5c2"]]), Se = {
|
|
563
563
|
Upload: he,
|
|
564
|
-
MemberRegister:
|
|
564
|
+
MemberRegister: ke
|
|
565
565
|
};
|
|
566
566
|
function Le(i) {
|
|
567
|
-
for (const [
|
|
568
|
-
i.component(`H${
|
|
567
|
+
for (const [C, c] of Object.entries(Se))
|
|
568
|
+
i.component(`H${C}`, c);
|
|
569
569
|
}
|
|
570
570
|
function Te(i) {
|
|
571
|
-
|
|
571
|
+
$.has(i, "_context.directives.loading") || i.directive("loading", ce.directive), i.use(Le);
|
|
572
572
|
}
|
|
573
573
|
export {
|
|
574
574
|
Te as useHsAdminUi
|