hs-admin-ui 17.2.0 → 17.2.2
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-DFJ6u6xZ.js → bcIcon-CvOc0Hco.js} +1 -1
- package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-Bj9qTYzH.js → bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-CEIF4C5E.js} +6373 -6353
- package/dist/{components-BPRbF0py.js → components-lL8hACv3.js} +1 -1
- package/dist/element-plus-ui.mjs +5 -5
- package/dist/h5.mjs +225 -208
- package/dist/{index-MdkQpTY8.js → index-B8U2y1zY.js} +1 -1
- package/dist/{index-Fr4g6rfB.js → index-BnSUQzIk.js} +2 -2
- package/dist/{index-VffOJuMe.js → index-CUgkMch8.js} +1 -1
- package/dist/{index-BJqR_M1r.js → index-WwUkzEdf.js} +7 -7
- package/dist/index.mjs +6 -6
- package/dist/{setting-CVeK-sA7.js → setting-DNQUEWy6.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{table-DgfYivlb.js → table-fJKEZxHb.js} +2 -2
- package/dist/vxe-table-ui.mjs +4 -4
- package/package.json +1 -1
package/dist/h5.mjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { K as
|
|
4
|
-
const
|
|
1
|
+
import { j as X, b as J, i as Q, E as Z, a as h, h as ee, f as ae } from "./index-B8U2y1zY.js";
|
|
2
|
+
import { defineComponent as z, computed as S, ref as I, shallowRef as te, reactive as A, watch as le, resolveDirective as ne, withDirectives as oe, createElementBlock as F, openBlock as L, createElementVNode as p, createBlock as G, createCommentVNode as re, createVNode as n, unref as a, withCtx as i, createTextVNode as P, onMounted as se, onUnmounted as ie, toDisplayString as O, Fragment as de, renderList as ue } from "vue";
|
|
3
|
+
import { K as Y, H as N, b9 as j, S as T, aj as K, M as H, a3 as W, E as pe, bf as ce, aP as _, bg as q, aR as me } from "./bcVisual.vue_vue_type_style_index_0_scoped_a917535e_lang-CEIF4C5E.js";
|
|
4
|
+
const fe = {
|
|
5
|
+
class: "upload-wrapper",
|
|
6
|
+
"element-loading-text": "上传中..."
|
|
7
|
+
}, ge = { class: "upload-wrapper-inner" }, he = /* @__PURE__ */ z({
|
|
5
8
|
__name: "Upload",
|
|
6
9
|
props: {
|
|
7
10
|
action: {
|
|
@@ -38,103 +41,117 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
38
41
|
}
|
|
39
42
|
},
|
|
40
43
|
emits: ["success"],
|
|
41
|
-
setup(
|
|
42
|
-
const c =
|
|
44
|
+
setup(u, { emit: E }) {
|
|
45
|
+
const c = u, x = Y(), k = S(() => x.limit || c.limit), m = S(() => {
|
|
46
|
+
var e;
|
|
47
|
+
return ((e = x.proxy) == null ? void 0 : e.replace("/", "")) || c.proxy.replace("/", "");
|
|
48
|
+
}), f = S(() => N.pick(x, ["company_id"])), v = I(!1), l = E, d = te(), s = A({
|
|
43
49
|
loading: !1,
|
|
44
50
|
preview: !1,
|
|
45
51
|
index: 0,
|
|
46
52
|
headers: c.headers,
|
|
47
53
|
fileList: []
|
|
48
|
-
}),
|
|
49
|
-
|
|
50
|
-
() =>
|
|
54
|
+
}), R = S(() => s.fileList.map((e) => e.url));
|
|
55
|
+
le(
|
|
56
|
+
() => s.fileList.length,
|
|
51
57
|
(e) => {
|
|
52
58
|
setTimeout(() => {
|
|
53
|
-
const
|
|
54
|
-
|
|
59
|
+
const o = document.querySelector(".upload-wrapper .el-upload--picture-card");
|
|
60
|
+
o && (o.style.display = e >= k.value && e > 0 ? "none" : "inline-flex");
|
|
55
61
|
}, 100);
|
|
56
62
|
},
|
|
57
63
|
{
|
|
58
64
|
immediate: !0
|
|
59
65
|
}
|
|
60
66
|
);
|
|
61
|
-
function
|
|
62
|
-
return
|
|
67
|
+
function D() {
|
|
68
|
+
return H({
|
|
63
69
|
url: `${window.location.origin}/${m.value}/sys/get_pub_token`
|
|
64
70
|
}).then((e) => `Bearer ${e == null ? void 0 : e.data}`);
|
|
65
71
|
}
|
|
66
|
-
async function
|
|
67
|
-
if (
|
|
68
|
-
return
|
|
69
|
-
|
|
72
|
+
async function B() {
|
|
73
|
+
if (N.isEmpty(c.headers))
|
|
74
|
+
return D().then((e) => {
|
|
75
|
+
s.headers = {
|
|
70
76
|
Authorization: e
|
|
71
77
|
};
|
|
72
78
|
});
|
|
73
79
|
}
|
|
74
|
-
function
|
|
75
|
-
|
|
80
|
+
function M(e) {
|
|
81
|
+
s.index = s.fileList.findIndex((o) => o.url === e.url), s.preview = !0;
|
|
76
82
|
}
|
|
77
|
-
let
|
|
78
|
-
async function
|
|
79
|
-
|
|
83
|
+
let C = [];
|
|
84
|
+
async function r() {
|
|
85
|
+
if (!v.value) {
|
|
86
|
+
if (!s.fileList.length)
|
|
87
|
+
return T.warning("请上传图片");
|
|
88
|
+
K.confirm("图片上传成功后页面会禁用,是否确定上传图片?", "提示", {
|
|
89
|
+
confirmButtonText: "确定",
|
|
90
|
+
cancelButtonText: "取消",
|
|
91
|
+
type: "warning"
|
|
92
|
+
}).then(() => {
|
|
93
|
+
s.loading = !0, C = [], d.value.submit();
|
|
94
|
+
});
|
|
95
|
+
}
|
|
80
96
|
}
|
|
81
|
-
async function
|
|
82
|
-
if (e.data &&
|
|
97
|
+
async function t(e, o, b) {
|
|
98
|
+
if (e.data && C.push(...e.data), C.length < s.fileList.length)
|
|
83
99
|
return;
|
|
84
|
-
const
|
|
85
|
-
extname:
|
|
86
|
-
id:
|
|
87
|
-
name:
|
|
88
|
-
path:
|
|
89
|
-
url: c.ossUrl +
|
|
100
|
+
const g = C.map((V) => ({
|
|
101
|
+
extname: V.suffix.replace(".", ""),
|
|
102
|
+
id: V.id,
|
|
103
|
+
name: V.name,
|
|
104
|
+
path: V.path,
|
|
105
|
+
url: c.ossUrl + V.path
|
|
90
106
|
}));
|
|
91
|
-
if (
|
|
107
|
+
if (s.loading = !1, !g.length)
|
|
92
108
|
return;
|
|
93
|
-
const
|
|
94
|
-
|
|
109
|
+
const U = await D();
|
|
110
|
+
H({
|
|
95
111
|
url: `${window.location.origin}/${m.value}/pub_token/mobile_attach_push`,
|
|
96
112
|
method: "post",
|
|
97
113
|
headers: {
|
|
98
|
-
Authorization:
|
|
114
|
+
Authorization: U
|
|
99
115
|
},
|
|
100
116
|
data: {
|
|
101
|
-
attach_paths:
|
|
102
|
-
|
|
117
|
+
attach_paths: g,
|
|
118
|
+
...N.pick(x, ["company_id", "user_id"])
|
|
103
119
|
}
|
|
104
120
|
}).then(() => {
|
|
105
|
-
|
|
121
|
+
v.value = !0, l("success", { result: g, file: o, files: b });
|
|
106
122
|
});
|
|
107
123
|
}
|
|
108
|
-
return (e,
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
|
|
124
|
+
return (e, o) => {
|
|
125
|
+
const b = ne("loading");
|
|
126
|
+
return oe((L(), F("div", fe, [
|
|
127
|
+
p("div", ge, [
|
|
128
|
+
n(a(X), {
|
|
113
129
|
ref_key: "uploadRef",
|
|
114
|
-
ref:
|
|
115
|
-
"file-list":
|
|
116
|
-
"onUpdate:fileList":
|
|
117
|
-
"list-type":
|
|
118
|
-
accept:
|
|
119
|
-
name:
|
|
120
|
-
data:
|
|
121
|
-
action: m.value +
|
|
122
|
-
headers:
|
|
123
|
-
limit:
|
|
124
|
-
multiple:
|
|
130
|
+
ref: d,
|
|
131
|
+
"file-list": s.fileList,
|
|
132
|
+
"onUpdate:fileList": o[0] || (o[0] = (g) => s.fileList = g),
|
|
133
|
+
"list-type": u.listType,
|
|
134
|
+
accept: u.accept,
|
|
135
|
+
name: u.name,
|
|
136
|
+
data: f.value,
|
|
137
|
+
action: m.value + u.action,
|
|
138
|
+
headers: s.headers,
|
|
139
|
+
limit: k.value,
|
|
140
|
+
multiple: k.value > 1,
|
|
125
141
|
"auto-upload": !1,
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
142
|
+
disabled: v.value,
|
|
143
|
+
"on-preview": M,
|
|
144
|
+
"before-upload": B,
|
|
145
|
+
"on-success": t
|
|
129
146
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
147
|
+
default: i(() => [...o[2] || (o[2] = [
|
|
148
|
+
p("svg", {
|
|
132
149
|
width: "34",
|
|
133
150
|
height: "34",
|
|
134
151
|
viewBox: "0 0 100 100",
|
|
135
152
|
xmlns: "http://www.w3.org/2000/svg"
|
|
136
153
|
}, [
|
|
137
|
-
|
|
154
|
+
p("rect", {
|
|
138
155
|
x: "45",
|
|
139
156
|
y: "20",
|
|
140
157
|
width: "10",
|
|
@@ -142,7 +159,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
142
159
|
rx: "2",
|
|
143
160
|
fill: "#1677ff"
|
|
144
161
|
}),
|
|
145
|
-
|
|
162
|
+
p("rect", {
|
|
146
163
|
x: "20",
|
|
147
164
|
y: "45",
|
|
148
165
|
width: "60",
|
|
@@ -153,31 +170,31 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
153
170
|
], -1)
|
|
154
171
|
])]),
|
|
155
172
|
_: 1
|
|
156
|
-
}, 8, ["file-list", "list-type", "accept", "name", "data", "action", "headers", "limit", "multiple"])
|
|
173
|
+
}, 8, ["file-list", "list-type", "accept", "name", "data", "action", "headers", "limit", "multiple", "disabled"])
|
|
157
174
|
]),
|
|
158
|
-
|
|
175
|
+
s.preview ? (L(), G(a(J), {
|
|
159
176
|
key: 0,
|
|
160
|
-
"url-list":
|
|
177
|
+
"url-list": R.value,
|
|
161
178
|
"show-progress": "",
|
|
162
|
-
"initial-index":
|
|
163
|
-
onClose:
|
|
164
|
-
}, null, 8, ["url-list", "initial-index"])) :
|
|
165
|
-
|
|
179
|
+
"initial-index": s.index,
|
|
180
|
+
onClose: o[1] || (o[1] = (g) => s.preview = !1)
|
|
181
|
+
}, null, 8, ["url-list", "initial-index"])) : re("", !0),
|
|
182
|
+
n(a(j), {
|
|
166
183
|
size: "large",
|
|
167
184
|
type: "primary",
|
|
168
|
-
onClick:
|
|
185
|
+
onClick: r
|
|
169
186
|
}, {
|
|
170
|
-
default:
|
|
171
|
-
|
|
187
|
+
default: i(() => [...o[3] || (o[3] = [
|
|
188
|
+
P("上传", -1)
|
|
172
189
|
])]),
|
|
173
190
|
_: 1
|
|
174
191
|
})
|
|
175
192
|
])), [
|
|
176
|
-
[
|
|
193
|
+
[b, s.loading]
|
|
177
194
|
]);
|
|
178
195
|
};
|
|
179
196
|
}
|
|
180
|
-
}),
|
|
197
|
+
}), ye = /* @__PURE__ */ W(he, [["__scopeId", "data-v-afb445b6"]]), ve = [
|
|
181
198
|
{ label: "男", value: "男" },
|
|
182
199
|
{ label: "女", value: "女" }
|
|
183
200
|
], y = {
|
|
@@ -222,7 +239,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
222
239
|
message: "验证码为6位",
|
|
223
240
|
trigger: "blur"
|
|
224
241
|
}
|
|
225
|
-
},
|
|
242
|
+
}, w = {
|
|
226
243
|
name: "请输入姓名",
|
|
227
244
|
phone: "请输入手机号",
|
|
228
245
|
idCard: "请输入身份证号",
|
|
@@ -230,18 +247,18 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
230
247
|
address: "请输入地址",
|
|
231
248
|
remark: "请输入备注",
|
|
232
249
|
captcha: "请输入验证码"
|
|
233
|
-
},
|
|
250
|
+
}, $ = {
|
|
234
251
|
phone: 11,
|
|
235
252
|
idCard: 18,
|
|
236
253
|
age: 3,
|
|
237
254
|
captcha: 6
|
|
238
|
-
},
|
|
255
|
+
}, be = {
|
|
239
256
|
name: [y.name, y.nameLength],
|
|
240
257
|
phone: [y.phone, y.phonePattern],
|
|
241
258
|
idCard: [y.idCardPattern],
|
|
242
259
|
age: [y.agePattern],
|
|
243
260
|
captcha: [y.captcha, y.captchaLength]
|
|
244
|
-
},
|
|
261
|
+
}, _e = { class: "member-register-page" }, we = { class: "page-header" }, xe = { class: "page-subtitle" }, Ce = { class: "form-container" }, Ve = { class: "form-content" }, Ie = { class: "sms-code-wrapper" }, Ee = { class: "submit-area" }, ke = /* @__PURE__ */ z({
|
|
245
262
|
__name: "MemberRegister",
|
|
246
263
|
props: {
|
|
247
264
|
proxy: {
|
|
@@ -249,8 +266,8 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
249
266
|
required: !1
|
|
250
267
|
}
|
|
251
268
|
},
|
|
252
|
-
setup(
|
|
253
|
-
const { countdownText:
|
|
269
|
+
setup(u) {
|
|
270
|
+
const { countdownText: E, isCountingDown: c, stopCountdown: x, sendSmsCode: k } = M(), m = I(), f = I(!1), v = u, l = A({
|
|
254
271
|
name: "",
|
|
255
272
|
gender: "男",
|
|
256
273
|
phone: "",
|
|
@@ -259,13 +276,13 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
259
276
|
address: "",
|
|
260
277
|
remark: "",
|
|
261
278
|
captcha: ""
|
|
262
|
-
}),
|
|
279
|
+
}), d = A({
|
|
263
280
|
topCompanyId: "",
|
|
264
281
|
companyId: "",
|
|
265
282
|
companyName: "",
|
|
266
283
|
defaultMemberType: "",
|
|
267
284
|
discount: 0
|
|
268
|
-
}),
|
|
285
|
+
}), s = async () => {
|
|
269
286
|
if (!m.value)
|
|
270
287
|
return !1;
|
|
271
288
|
try {
|
|
@@ -273,11 +290,11 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
273
290
|
} catch {
|
|
274
291
|
return !1;
|
|
275
292
|
}
|
|
276
|
-
},
|
|
277
|
-
if (!await
|
|
293
|
+
}, R = async () => {
|
|
294
|
+
if (!await s())
|
|
278
295
|
return;
|
|
279
|
-
|
|
280
|
-
const
|
|
296
|
+
f.value = !0;
|
|
297
|
+
const t = {
|
|
281
298
|
vip_name: l.name,
|
|
282
299
|
sex: l.gender,
|
|
283
300
|
telephone: l.phone,
|
|
@@ -286,13 +303,13 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
286
303
|
address: l.address,
|
|
287
304
|
remark: l.remark,
|
|
288
305
|
valid_code: l.captcha,
|
|
289
|
-
vip_type:
|
|
290
|
-
top_company_id:
|
|
291
|
-
company_id:
|
|
292
|
-
discount:
|
|
306
|
+
vip_type: d.defaultMemberType,
|
|
307
|
+
top_company_id: d.topCompanyId,
|
|
308
|
+
company_id: d.companyId,
|
|
309
|
+
discount: d.discount
|
|
293
310
|
};
|
|
294
311
|
try {
|
|
295
|
-
await
|
|
312
|
+
await q.post(`${v.proxy}/pub/add_vip_info`, t), K.alert("注册成功!", "提示", {
|
|
296
313
|
closeOnClickModal: !1,
|
|
297
314
|
// 禁止点击遮罩关闭
|
|
298
315
|
closeOnPressEscape: !1,
|
|
@@ -304,154 +321,154 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
304
321
|
});
|
|
305
322
|
} catch {
|
|
306
323
|
} finally {
|
|
307
|
-
|
|
324
|
+
f.value = !1;
|
|
308
325
|
}
|
|
309
|
-
},
|
|
326
|
+
}, D = async () => {
|
|
310
327
|
try {
|
|
311
|
-
return (await
|
|
328
|
+
return (await q.get(`${v.proxy}/pub/get_list_vip_price_set?top_company_id=${d.topCompanyId}`)).data;
|
|
312
329
|
} catch {
|
|
313
|
-
|
|
330
|
+
T.error("获取默认会员等级失败");
|
|
314
331
|
}
|
|
315
|
-
},
|
|
316
|
-
const r =
|
|
317
|
-
|
|
318
|
-
const
|
|
319
|
-
|
|
332
|
+
}, B = async () => {
|
|
333
|
+
const r = Y();
|
|
334
|
+
d.topCompanyId = r.top_company_id || "", d.companyId = r.company_id || "", d.companyName = r.company_name || "";
|
|
335
|
+
const t = await D();
|
|
336
|
+
d.defaultMemberType = (t == null ? void 0 : t.id) || "", d.discount = (t == null ? void 0 : t.discount) || 0;
|
|
320
337
|
};
|
|
321
|
-
function
|
|
322
|
-
const r = I(0),
|
|
323
|
-
r.value =
|
|
324
|
-
r.value--, r.value <= 0 &&
|
|
338
|
+
function M() {
|
|
339
|
+
const r = I(0), t = I(null), e = 60, o = I(!1), b = S(() => r.value > 0 ? `${r.value}秒后重新发送` : "获取验证码"), g = () => {
|
|
340
|
+
r.value = e, o.value = !0, t.value = setInterval(() => {
|
|
341
|
+
r.value--, r.value <= 0 && U();
|
|
325
342
|
}, 1e3);
|
|
326
|
-
},
|
|
327
|
-
|
|
343
|
+
}, U = () => {
|
|
344
|
+
t.value && (clearInterval(t.value), t.value = null), r.value = 0, o.value = !1;
|
|
328
345
|
};
|
|
329
346
|
return {
|
|
330
|
-
countdownText:
|
|
331
|
-
isCountingDown:
|
|
332
|
-
stopCountdown:
|
|
347
|
+
countdownText: b,
|
|
348
|
+
isCountingDown: o,
|
|
349
|
+
stopCountdown: U,
|
|
333
350
|
sendSmsCode: async () => {
|
|
334
|
-
if (
|
|
351
|
+
if (o.value || !m.value)
|
|
335
352
|
return;
|
|
336
353
|
if (!await m.value.validateField("phone")) {
|
|
337
|
-
|
|
354
|
+
T.warning("请先输入正确的手机号");
|
|
338
355
|
return;
|
|
339
356
|
}
|
|
340
|
-
|
|
357
|
+
f.value = !0;
|
|
341
358
|
try {
|
|
342
|
-
await
|
|
359
|
+
await q.post(`${v.proxy}/pub/send_sms_vip_valid_code`, {
|
|
343
360
|
telephone: l.phone,
|
|
344
|
-
top_company_id:
|
|
345
|
-
company_id:
|
|
346
|
-
}),
|
|
361
|
+
top_company_id: d.topCompanyId,
|
|
362
|
+
company_id: d.companyId
|
|
363
|
+
}), T.success("验证码发送成功"), g();
|
|
347
364
|
} catch {
|
|
348
365
|
} finally {
|
|
349
|
-
|
|
366
|
+
f.value = !1;
|
|
350
367
|
}
|
|
351
368
|
}
|
|
352
369
|
};
|
|
353
370
|
}
|
|
354
|
-
function
|
|
371
|
+
function C() {
|
|
355
372
|
if (l.idCard.length === 18) {
|
|
356
|
-
const r = l.idCard.substring(6, 14),
|
|
357
|
-
l.age =
|
|
373
|
+
const r = l.idCard.substring(6, 14), t = parseInt(r.substring(0, 4)), e = parseInt(r.substring(4, 6)), o = parseInt(r.substring(6, 8)), b = (/* @__PURE__ */ new Date()).getFullYear() - t - ((/* @__PURE__ */ new Date()).getMonth() + 1 < e || (/* @__PURE__ */ new Date()).getMonth() + 1 === e && (/* @__PURE__ */ new Date()).getDate() < o ? 1 : 0);
|
|
374
|
+
l.age = b.toString(), l.gender = Number(l.idCard.charAt(16)) % 2 === 0 ? "女" : "男";
|
|
358
375
|
}
|
|
359
376
|
}
|
|
360
|
-
return
|
|
361
|
-
|
|
362
|
-
}),
|
|
363
|
-
|
|
364
|
-
}), (r,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
default:
|
|
370
|
-
|
|
377
|
+
return se(() => {
|
|
378
|
+
B();
|
|
379
|
+
}), ie(() => {
|
|
380
|
+
x();
|
|
381
|
+
}), (r, t) => (L(), F("div", _e, [
|
|
382
|
+
p("header", we, [
|
|
383
|
+
t[8] || (t[8] = p("h1", { class: "page-title" }, "会员信息登记", -1)),
|
|
384
|
+
p("p", xe, [
|
|
385
|
+
n(a(pe), null, {
|
|
386
|
+
default: i(() => [
|
|
387
|
+
n(a(ce))
|
|
371
388
|
]),
|
|
372
389
|
_: 1
|
|
373
390
|
}),
|
|
374
|
-
|
|
391
|
+
p("span", null, O(d.companyName), 1)
|
|
375
392
|
])
|
|
376
393
|
]),
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
default:
|
|
380
|
-
|
|
381
|
-
|
|
394
|
+
p("main", Ce, [
|
|
395
|
+
n(a(Q), { class: "form-scroll" }, {
|
|
396
|
+
default: i(() => [
|
|
397
|
+
p("div", Ve, [
|
|
398
|
+
n(a(Z), {
|
|
382
399
|
ref_key: "formRef",
|
|
383
400
|
ref: m,
|
|
384
401
|
model: l,
|
|
385
|
-
rules: a(
|
|
402
|
+
rules: a(be),
|
|
386
403
|
"label-position": "left",
|
|
387
404
|
"label-width": "70px",
|
|
388
405
|
class: "member-form"
|
|
389
406
|
}, {
|
|
390
|
-
default:
|
|
391
|
-
|
|
407
|
+
default: i(() => [
|
|
408
|
+
n(a(h), {
|
|
392
409
|
label: "姓名",
|
|
393
410
|
prop: "name"
|
|
394
411
|
}, {
|
|
395
|
-
default:
|
|
396
|
-
|
|
412
|
+
default: i(() => [
|
|
413
|
+
n(a(_), {
|
|
397
414
|
modelValue: l.name,
|
|
398
|
-
"onUpdate:modelValue":
|
|
399
|
-
placeholder: a(
|
|
415
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => l.name = e),
|
|
416
|
+
placeholder: a(w).name,
|
|
400
417
|
clearable: ""
|
|
401
418
|
}, null, 8, ["modelValue", "placeholder"])
|
|
402
419
|
]),
|
|
403
420
|
_: 1
|
|
404
421
|
}),
|
|
405
|
-
|
|
422
|
+
n(a(h), {
|
|
406
423
|
label: "手机号",
|
|
407
424
|
prop: "phone"
|
|
408
425
|
}, {
|
|
409
|
-
default:
|
|
410
|
-
|
|
426
|
+
default: i(() => [
|
|
427
|
+
n(a(_), {
|
|
411
428
|
modelValue: l.phone,
|
|
412
|
-
"onUpdate:modelValue":
|
|
429
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => l.phone = e),
|
|
413
430
|
type: "tel",
|
|
414
|
-
placeholder: a(
|
|
415
|
-
maxlength: a(
|
|
431
|
+
placeholder: a(w).phone,
|
|
432
|
+
maxlength: a($).phone,
|
|
416
433
|
clearable: ""
|
|
417
434
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
418
435
|
]),
|
|
419
436
|
_: 1
|
|
420
437
|
}),
|
|
421
|
-
|
|
438
|
+
n(a(h), {
|
|
422
439
|
label: "身份证号",
|
|
423
440
|
prop: "idCard"
|
|
424
441
|
}, {
|
|
425
|
-
default:
|
|
426
|
-
|
|
442
|
+
default: i(() => [
|
|
443
|
+
n(a(_), {
|
|
427
444
|
modelValue: l.idCard,
|
|
428
|
-
"onUpdate:modelValue":
|
|
429
|
-
onInput:
|
|
430
|
-
placeholder: a(
|
|
431
|
-
maxlength: a(
|
|
445
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => l.idCard = e),
|
|
446
|
+
onInput: C,
|
|
447
|
+
placeholder: a(w).idCard,
|
|
448
|
+
maxlength: a($).idCard,
|
|
432
449
|
clearable: ""
|
|
433
450
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
434
451
|
]),
|
|
435
452
|
_: 1
|
|
436
453
|
}),
|
|
437
|
-
|
|
454
|
+
n(a(h), {
|
|
438
455
|
label: "性别",
|
|
439
456
|
prop: "gender"
|
|
440
457
|
}, {
|
|
441
|
-
default:
|
|
442
|
-
|
|
458
|
+
default: i(() => [
|
|
459
|
+
n(a(ee), {
|
|
443
460
|
modelValue: l.gender,
|
|
444
|
-
"onUpdate:modelValue":
|
|
461
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => l.gender = e),
|
|
445
462
|
class: "gender-radio-group"
|
|
446
463
|
}, {
|
|
447
|
-
default:
|
|
448
|
-
(
|
|
449
|
-
key:
|
|
450
|
-
value:
|
|
464
|
+
default: i(() => [
|
|
465
|
+
(L(!0), F(de, null, ue(a(ve), (e) => (L(), G(a(ae), {
|
|
466
|
+
key: e.value,
|
|
467
|
+
value: e.value,
|
|
451
468
|
border: ""
|
|
452
469
|
}, {
|
|
453
|
-
default:
|
|
454
|
-
|
|
470
|
+
default: i(() => [
|
|
471
|
+
P(O(e.label), 1)
|
|
455
472
|
]),
|
|
456
473
|
_: 2
|
|
457
474
|
}, 1032, ["value"]))), 128))
|
|
@@ -461,73 +478,73 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
461
478
|
]),
|
|
462
479
|
_: 1
|
|
463
480
|
}),
|
|
464
|
-
|
|
481
|
+
n(a(h), {
|
|
465
482
|
label: "年龄",
|
|
466
483
|
prop: "age"
|
|
467
484
|
}, {
|
|
468
|
-
default:
|
|
469
|
-
|
|
485
|
+
default: i(() => [
|
|
486
|
+
n(a(_), {
|
|
470
487
|
type: "number",
|
|
471
488
|
modelValue: l.age,
|
|
472
|
-
"onUpdate:modelValue":
|
|
473
|
-
placeholder: a(
|
|
474
|
-
maxlength: a(
|
|
489
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => l.age = e),
|
|
490
|
+
placeholder: a(w).age,
|
|
491
|
+
maxlength: a($).age,
|
|
475
492
|
clearable: ""
|
|
476
493
|
}, null, 8, ["modelValue", "placeholder", "maxlength"])
|
|
477
494
|
]),
|
|
478
495
|
_: 1
|
|
479
496
|
}),
|
|
480
|
-
|
|
497
|
+
n(a(h), {
|
|
481
498
|
label: "地址",
|
|
482
499
|
prop: "address"
|
|
483
500
|
}, {
|
|
484
|
-
default:
|
|
485
|
-
|
|
501
|
+
default: i(() => [
|
|
502
|
+
n(a(_), {
|
|
486
503
|
modelValue: l.address,
|
|
487
|
-
"onUpdate:modelValue":
|
|
488
|
-
placeholder: a(
|
|
504
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => l.address = e),
|
|
505
|
+
placeholder: a(w).address,
|
|
489
506
|
clearable: ""
|
|
490
507
|
}, null, 8, ["modelValue", "placeholder"])
|
|
491
508
|
]),
|
|
492
509
|
_: 1
|
|
493
510
|
}),
|
|
494
|
-
|
|
511
|
+
n(a(h), {
|
|
495
512
|
label: "备注",
|
|
496
513
|
prop: "remark"
|
|
497
514
|
}, {
|
|
498
|
-
default:
|
|
499
|
-
|
|
515
|
+
default: i(() => [
|
|
516
|
+
n(a(_), {
|
|
500
517
|
modelValue: l.remark,
|
|
501
|
-
"onUpdate:modelValue":
|
|
502
|
-
placeholder: a(
|
|
518
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => l.remark = e),
|
|
519
|
+
placeholder: a(w).remark,
|
|
503
520
|
clearable: ""
|
|
504
521
|
}, null, 8, ["modelValue", "placeholder"])
|
|
505
522
|
]),
|
|
506
523
|
_: 1
|
|
507
524
|
}),
|
|
508
|
-
|
|
525
|
+
n(a(h), {
|
|
509
526
|
label: "验证码",
|
|
510
527
|
prop: "captcha"
|
|
511
528
|
}, {
|
|
512
|
-
default:
|
|
513
|
-
|
|
514
|
-
|
|
529
|
+
default: i(() => [
|
|
530
|
+
p("div", Ie, [
|
|
531
|
+
n(a(_), {
|
|
515
532
|
modelValue: l.captcha,
|
|
516
|
-
"onUpdate:modelValue":
|
|
517
|
-
placeholder: a(
|
|
518
|
-
maxlength: a(
|
|
533
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => l.captcha = e),
|
|
534
|
+
placeholder: a(w).captcha,
|
|
535
|
+
maxlength: a($).captcha,
|
|
519
536
|
clearable: "",
|
|
520
537
|
class: "sms-code-input"
|
|
521
538
|
}, null, 8, ["modelValue", "placeholder", "maxlength"]),
|
|
522
|
-
|
|
539
|
+
n(a(j), {
|
|
523
540
|
type: "primary",
|
|
524
541
|
disabled: a(c),
|
|
525
|
-
loading:
|
|
542
|
+
loading: f.value,
|
|
526
543
|
class: "sms-code-btn",
|
|
527
|
-
onClick: a(
|
|
544
|
+
onClick: a(k)
|
|
528
545
|
}, {
|
|
529
|
-
default:
|
|
530
|
-
|
|
546
|
+
default: i(() => [
|
|
547
|
+
P(O(a(E)), 1)
|
|
531
548
|
]),
|
|
532
549
|
_: 1
|
|
533
550
|
}, 8, ["disabled", "loading", "onClick"])
|
|
@@ -538,16 +555,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
538
555
|
]),
|
|
539
556
|
_: 1
|
|
540
557
|
}, 8, ["model", "rules"]),
|
|
541
|
-
|
|
542
|
-
|
|
558
|
+
p("div", Ee, [
|
|
559
|
+
n(a(j), {
|
|
543
560
|
type: "primary",
|
|
544
561
|
round: "",
|
|
545
562
|
class: "submit-btn",
|
|
546
|
-
loading:
|
|
547
|
-
onClick:
|
|
563
|
+
loading: f.value,
|
|
564
|
+
onClick: R
|
|
548
565
|
}, {
|
|
549
|
-
default:
|
|
550
|
-
|
|
566
|
+
default: i(() => [...t[9] || (t[9] = [
|
|
567
|
+
P(" 提交 ", -1)
|
|
551
568
|
])]),
|
|
552
569
|
_: 1
|
|
553
570
|
}, 8, ["loading"])
|
|
@@ -559,17 +576,17 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
559
576
|
])
|
|
560
577
|
]));
|
|
561
578
|
}
|
|
562
|
-
}),
|
|
563
|
-
Upload:
|
|
564
|
-
MemberRegister:
|
|
579
|
+
}), Se = /* @__PURE__ */ W(ke, [["__scopeId", "data-v-992af5c2"]]), Le = {
|
|
580
|
+
Upload: ye,
|
|
581
|
+
MemberRegister: Se
|
|
565
582
|
};
|
|
566
|
-
function
|
|
567
|
-
for (const [
|
|
568
|
-
|
|
583
|
+
function De(u) {
|
|
584
|
+
for (const [E, c] of Object.entries(Le))
|
|
585
|
+
u.component(`H${E}`, c);
|
|
569
586
|
}
|
|
570
|
-
function
|
|
571
|
-
|
|
587
|
+
function Re(u) {
|
|
588
|
+
N.has(u, "_context.directives.loading") || u.directive("loading", me.directive), u.use(De);
|
|
572
589
|
}
|
|
573
590
|
export {
|
|
574
|
-
|
|
591
|
+
Re as useHsAdminUi
|
|
575
592
|
};
|