hs-admin-ui 16.9.2 → 16.9.3
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/{bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-ByEz_9_E.js → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js} +30185 -29228
- package/dist/{components-IEmDaz88.js → components-DsVuYHOj.js} +695 -695
- package/dist/element-plus-ui.mjs +10 -10
- package/dist/h5.mjs +39 -39
- package/dist/index-CIXY2Jmv.js +31435 -0
- package/dist/index-Daf_CLzJ.js +2848 -0
- package/dist/{index-Dp6xNYD5.js → index-Dz4wai8P.js} +13 -13
- package/dist/index.mjs +6634 -7088
- package/dist/style.css +1 -1
- package/dist/types/element-plus.d.ts +1204 -338
- package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +1 -184
- package/dist/types/src/components/business/bcForm/useGuide.d.ts +3 -551
- package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +2 -184
- package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +2 -186
- package/dist/types/src/components/business/bcTable/utils/parseTable.d.ts +3 -3
- package/dist/types/src/components/business/bcTable/utils/useBcTable.d.ts +76 -64
- package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +2 -2
- package/dist/types/src/utils/number.d.ts +1 -1
- package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +1 -1
- package/dist/vxe-table-ui.mjs +8 -8
- package/package.json +1 -1
- package/dist/index-CEphpvut.js +0 -3095
- package/dist/index-D1L5ekWB.js +0 -31584
package/dist/element-plus-ui.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { aT as r, bq as u, br as l, bs as m,
|
|
2
|
-
import { W as
|
|
3
|
-
import "./index-
|
|
4
|
-
import {
|
|
1
|
+
import { aT as r, bq as u, br as l, bs as m, _ as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js";
|
|
2
|
+
import { W as N, bu as R, bv as i, aw as s } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js";
|
|
3
|
+
import "./index-Daf_CLzJ.js";
|
|
4
|
+
import { t } from "./index-CIXY2Jmv.js";
|
|
5
5
|
import "vue";
|
|
6
|
-
import { i as T } from "./index-
|
|
6
|
+
import { i as T } from "./index-Dz4wai8P.js";
|
|
7
7
|
function b(a, e) {
|
|
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(
|
|
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(t);
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
N as ElMessage,
|
|
12
|
+
R as ElMessageBox,
|
|
13
|
+
i as ElNotification,
|
|
14
14
|
T as Utils,
|
|
15
|
-
|
|
15
|
+
s as mathTool,
|
|
16
16
|
b as useHsAdminUi
|
|
17
17
|
};
|
package/dist/h5.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as G, g as Y, E as K, a as f, f as Q, d as W } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */
|
|
1
|
+
import { h as G, g as Y, E as K, a as f, f as Q, d as W } from "./index-Daf_CLzJ.js";
|
|
2
|
+
import { by as O, _ as B, Q as X, a3 as F, E as J, bE as Z, aP as v, bF as N, aj as ee, K as ae, R as P, aR as te } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js";
|
|
3
|
+
import { defineComponent as A, shallowRef as le, reactive as M, computed as H, watch as ne, resolveComponent as oe, resolveDirective as re, withDirectives as se, createElementBlock as T, openBlock as V, createElementVNode as p, createBlock as j, createCommentVNode as de, createVNode as n, unref as e, withCtx as d, createTextVNode as L, ref as x, onMounted as ie, onUnmounted as ue, toDisplayString as R, Fragment as pe, renderList as ce } from "vue";
|
|
4
|
+
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ A({
|
|
5
5
|
__name: "Upload",
|
|
6
6
|
props: {
|
|
7
7
|
action: {
|
|
@@ -23,14 +23,14 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
23
23
|
},
|
|
24
24
|
emits: ["success"],
|
|
25
25
|
setup(c, { emit: _ }) {
|
|
26
|
-
const m = c, S = _, I =
|
|
26
|
+
const m = c, S = _, I = le(), o = M({
|
|
27
27
|
loading: !1,
|
|
28
28
|
preview: !1,
|
|
29
29
|
index: 0,
|
|
30
30
|
headers: m.headers,
|
|
31
31
|
fileList: []
|
|
32
|
-
}), g =
|
|
33
|
-
|
|
32
|
+
}), g = H(() => o.fileList.map((u) => u.url));
|
|
33
|
+
ne(
|
|
34
34
|
() => o.fileList.length,
|
|
35
35
|
(u) => {
|
|
36
36
|
setTimeout(() => {
|
|
@@ -43,8 +43,8 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
async function w() {
|
|
46
|
-
if (
|
|
47
|
-
return
|
|
46
|
+
if (B.isEmpty(m.headers))
|
|
47
|
+
return X({
|
|
48
48
|
url: `${window.location.origin}/${m.proxy}/pub_token/mobile_attach_push`
|
|
49
49
|
}).then((u) => {
|
|
50
50
|
o.headers = {
|
|
@@ -62,8 +62,8 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
62
62
|
o.loading = !1, S("success", { result: u, file: s, files: C });
|
|
63
63
|
}
|
|
64
64
|
return (u, s) => {
|
|
65
|
-
const C =
|
|
66
|
-
return
|
|
65
|
+
const C = oe("el-image-viewer"), U = re("loading");
|
|
66
|
+
return se((V(), T("div", me, [
|
|
67
67
|
p("div", ge, [
|
|
68
68
|
n(e(G), {
|
|
69
69
|
ref_key: "uploadRef",
|
|
@@ -109,14 +109,14 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
109
109
|
_: 1
|
|
110
110
|
}, 8, ["file-list", "action", "headers", "limit"])
|
|
111
111
|
]),
|
|
112
|
-
o.preview ? (V(),
|
|
112
|
+
o.preview ? (V(), j(C, {
|
|
113
113
|
key: 0,
|
|
114
114
|
"url-list": g.value,
|
|
115
115
|
"show-progress": "",
|
|
116
116
|
"initial-index": o.index,
|
|
117
117
|
onClose: s[1] || (s[1] = (E) => o.preview = !1)
|
|
118
|
-
}, null, 8, ["url-list", "initial-index"])) :
|
|
119
|
-
n(e(
|
|
118
|
+
}, null, 8, ["url-list", "initial-index"])) : de("", !0),
|
|
119
|
+
n(e(O), {
|
|
120
120
|
size: "large",
|
|
121
121
|
type: "primary",
|
|
122
122
|
onClick: i
|
|
@@ -131,7 +131,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
131
131
|
]);
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
}), he = /* @__PURE__ */
|
|
134
|
+
}), he = /* @__PURE__ */ F(fe, [["__scopeId", "data-v-e6f86e2e"]]), ve = [
|
|
135
135
|
{ label: "男", value: "男" },
|
|
136
136
|
{ label: "女", value: "女" }
|
|
137
137
|
], h = {
|
|
@@ -195,7 +195,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
195
195
|
idCard: [h.idCardPattern],
|
|
196
196
|
age: [h.agePattern],
|
|
197
197
|
captcha: [h.captcha, h.captchaLength]
|
|
198
|
-
}, 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__ */
|
|
198
|
+
}, 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__ */ A({
|
|
199
199
|
__name: "MemberRegister",
|
|
200
200
|
props: {
|
|
201
201
|
proxy: {
|
|
@@ -204,7 +204,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
setup(c) {
|
|
207
|
-
const { countdownText: _, isCountingDown: m, stopCountdown: S, sendSmsCode: I } = U(), o = x(), g = x(!1), w = c, t =
|
|
207
|
+
const { countdownText: _, isCountingDown: m, stopCountdown: S, sendSmsCode: I } = U(), o = x(), g = x(!1), w = c, t = M({
|
|
208
208
|
name: "",
|
|
209
209
|
gender: "男",
|
|
210
210
|
phone: "",
|
|
@@ -213,7 +213,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
213
213
|
address: "",
|
|
214
214
|
remark: "",
|
|
215
215
|
captcha: ""
|
|
216
|
-
}), i =
|
|
216
|
+
}), i = M({
|
|
217
217
|
topCompanyId: "",
|
|
218
218
|
companyId: "",
|
|
219
219
|
companyName: "",
|
|
@@ -244,7 +244,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
244
244
|
discount: i.discount
|
|
245
245
|
};
|
|
246
246
|
try {
|
|
247
|
-
await
|
|
247
|
+
await N.post(`${w.proxy}/pub/add_vip_info`, a), ee.alert("注册成功!", "提示", {
|
|
248
248
|
closeOnClickModal: !1,
|
|
249
249
|
// 禁止点击遮罩关闭
|
|
250
250
|
closeOnPressEscape: !1,
|
|
@@ -260,18 +260,18 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
260
260
|
}
|
|
261
261
|
}, s = async () => {
|
|
262
262
|
try {
|
|
263
|
-
return (await
|
|
263
|
+
return (await N.get(`${w.proxy}/pub/get_list_vip_price_set?top_company_id=${i.topCompanyId}`)).data;
|
|
264
264
|
} catch {
|
|
265
|
-
|
|
265
|
+
P.error("获取默认会员等级失败");
|
|
266
266
|
}
|
|
267
267
|
}, C = async () => {
|
|
268
|
-
const r =
|
|
268
|
+
const r = ae();
|
|
269
269
|
i.topCompanyId = r.top_company_id || "", i.companyId = r.company_id || "", i.companyName = r.company_name || "";
|
|
270
270
|
const a = await s();
|
|
271
271
|
i.defaultMemberType = (a == null ? void 0 : a.id) || "", i.discount = (a == null ? void 0 : a.discount) || 0;
|
|
272
272
|
};
|
|
273
273
|
function U() {
|
|
274
|
-
const r = x(0), a = x(null), l = 60, b = x(!1), $ =
|
|
274
|
+
const r = x(0), a = x(null), l = 60, b = x(!1), $ = H(() => r.value > 0 ? `${r.value}秒后重新发送` : "获取验证码"), z = () => {
|
|
275
275
|
r.value = l, b.value = !0, a.value = setInterval(() => {
|
|
276
276
|
r.value--, r.value <= 0 && q();
|
|
277
277
|
}, 1e3);
|
|
@@ -285,16 +285,16 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
285
285
|
sendSmsCode: async () => {
|
|
286
286
|
if (b.value || !o.value) return;
|
|
287
287
|
if (!await o.value.validateField("phone")) {
|
|
288
|
-
|
|
288
|
+
P.warning("请先输入正确的手机号");
|
|
289
289
|
return;
|
|
290
290
|
}
|
|
291
291
|
g.value = !0;
|
|
292
292
|
try {
|
|
293
|
-
await
|
|
293
|
+
await N.post(`${w.proxy}/pub/send_sms_vip_valid_code`, {
|
|
294
294
|
telephone: t.phone,
|
|
295
295
|
top_company_id: i.topCompanyId,
|
|
296
296
|
company_id: i.companyId
|
|
297
|
-
}),
|
|
297
|
+
}), P.success("验证码发送成功"), z();
|
|
298
298
|
} catch {
|
|
299
299
|
} finally {
|
|
300
300
|
g.value = !1;
|
|
@@ -308,21 +308,21 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
308
308
|
t.age = $.toString(), t.gender = Number(t.idCard.charAt(16)) % 2 === 0 ? "女" : "男";
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
return
|
|
311
|
+
return ie(() => {
|
|
312
312
|
C();
|
|
313
|
-
}),
|
|
313
|
+
}), ue(() => {
|
|
314
314
|
S();
|
|
315
|
-
}), (r, a) => (V(),
|
|
315
|
+
}), (r, a) => (V(), T("div", be, [
|
|
316
316
|
p("header", _e, [
|
|
317
317
|
a[8] || (a[8] = p("h1", { class: "page-title" }, "会员信息登记", -1)),
|
|
318
318
|
p("p", we, [
|
|
319
|
-
n(e(
|
|
319
|
+
n(e(J), null, {
|
|
320
320
|
default: d(() => [
|
|
321
|
-
n(e(
|
|
321
|
+
n(e(Z))
|
|
322
322
|
]),
|
|
323
323
|
_: 1
|
|
324
324
|
}),
|
|
325
|
-
p("span", null,
|
|
325
|
+
p("span", null, R(i.companyName), 1)
|
|
326
326
|
])
|
|
327
327
|
]),
|
|
328
328
|
p("main", Ce, [
|
|
@@ -396,13 +396,13 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
396
396
|
class: "gender-radio-group"
|
|
397
397
|
}, {
|
|
398
398
|
default: d(() => [
|
|
399
|
-
(V(!0),
|
|
399
|
+
(V(!0), T(pe, null, ce(e(ve), (l) => (V(), j(e(W), {
|
|
400
400
|
key: l.value,
|
|
401
401
|
value: l.value,
|
|
402
402
|
border: ""
|
|
403
403
|
}, {
|
|
404
404
|
default: d(() => [
|
|
405
|
-
L(
|
|
405
|
+
L(R(l.label), 1)
|
|
406
406
|
]),
|
|
407
407
|
_: 2
|
|
408
408
|
}, 1032, ["value"]))), 128))
|
|
@@ -470,7 +470,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
470
470
|
clearable: "",
|
|
471
471
|
class: "sms-code-input"
|
|
472
472
|
}, null, 8, ["modelValue", "placeholder", "maxlength"]),
|
|
473
|
-
n(e(
|
|
473
|
+
n(e(O), {
|
|
474
474
|
type: "primary",
|
|
475
475
|
disabled: e(m),
|
|
476
476
|
loading: g.value,
|
|
@@ -478,7 +478,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
478
478
|
onClick: e(I)
|
|
479
479
|
}, {
|
|
480
480
|
default: d(() => [
|
|
481
|
-
L(
|
|
481
|
+
L(R(e(_)), 1)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["disabled", "loading", "onClick"])
|
|
@@ -490,7 +490,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
490
490
|
_: 1
|
|
491
491
|
}, 8, ["model", "rules"]),
|
|
492
492
|
p("div", Ie, [
|
|
493
|
-
n(e(
|
|
493
|
+
n(e(O), {
|
|
494
494
|
type: "primary",
|
|
495
495
|
round: "",
|
|
496
496
|
class: "submit-btn",
|
|
@@ -510,7 +510,7 @@ const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" },
|
|
|
510
510
|
])
|
|
511
511
|
]));
|
|
512
512
|
}
|
|
513
|
-
}), ke = /* @__PURE__ */
|
|
513
|
+
}), ke = /* @__PURE__ */ F(Ee, [["__scopeId", "data-v-992af5c2"]]), Le = {
|
|
514
514
|
Upload: he,
|
|
515
515
|
MemberRegister: ke
|
|
516
516
|
};
|
|
@@ -519,7 +519,7 @@ function Se(c) {
|
|
|
519
519
|
c.component(`H${_}`, m);
|
|
520
520
|
}
|
|
521
521
|
function Oe(c) {
|
|
522
|
-
|
|
522
|
+
B.has(c, "_context.directives.loading") || c.directive("loading", te.directive), c.use(Se);
|
|
523
523
|
}
|
|
524
524
|
export {
|
|
525
525
|
Oe as useHsAdminUi
|