hs-admin-ui 16.9.3 → 16.9.4
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-CQcvD_dZ.js → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BJmlGXwL.js} +41212 -41636
- package/dist/{components-DsVuYHOj.js → components-B52fnreL.js} +695 -695
- package/dist/element-plus-ui.mjs +10 -10
- package/dist/h5.mjs +39 -39
- package/dist/{index-Dz4wai8P.js → index-BkI5_xEf.js} +13 -13
- package/dist/index-C2uIeMvX.js +31601 -0
- package/dist/index-Dp4zeNDn.js +3095 -0
- package/dist/index.mjs +7099 -6645
- package/dist/style.css +1 -1
- package/dist/types/element-plus.d.ts +338 -1204
- 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 +184 -1
- package/dist/types/src/components/business/bcForm/useGuide.d.ts +551 -3
- package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +1 -1
- package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +184 -2
- package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +186 -2
- package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +5 -5
- package/dist/types/src/components/business/bcTable/utils/parseTable.d.ts +3 -3
- 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/showPopup/showPopup.vue.d.ts +1 -1
- package/dist/vxe-table-ui.mjs +8 -8
- package/package.json +1 -1
- package/dist/index-CIXY2Jmv.js +0 -31435
- package/dist/index-Daf_CLzJ.js +0 -2848
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, H as E, aR as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BJmlGXwL.js";
|
|
2
|
+
import { W as x, bu as N, bv as R, aw as i } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BJmlGXwL.js";
|
|
3
|
+
import "./index-Dp4zeNDn.js";
|
|
4
|
+
import { q as v } from "./index-C2uIeMvX.js";
|
|
5
5
|
import "vue";
|
|
6
|
-
import { i as T } from "./index-
|
|
6
|
+
import { i as T } from "./index-BkI5_xEf.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(v);
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
x as ElMessage,
|
|
12
|
+
N as ElMessageBox,
|
|
13
|
+
R as ElNotification,
|
|
14
14
|
T as Utils,
|
|
15
|
-
|
|
15
|
+
i 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-Dp4zeNDn.js";
|
|
2
|
+
import { defineComponent as B, shallowRef as X, reactive as O, computed as F, watch as J, resolveComponent as Z, resolveDirective as ee, withDirectives as ae, createElementBlock as M, openBlock as V, createElementVNode as p, createBlock as A, createCommentVNode as te, createVNode as n, unref as e, withCtx as d, createTextVNode as L, ref as x, onMounted as le, onUnmounted as ne, toDisplayString as N, Fragment as oe, renderList as re } from "vue";
|
|
3
|
+
import { by as T, H, Q as se, a3 as j, E as de, bE as ie, aP as v, bF as P, aj as ue, K as pe, R, aR as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BJmlGXwL.js";
|
|
4
|
+
const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ B({
|
|
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 = X(), o = O({
|
|
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 = F(() => o.fileList.map((u) => u.url));
|
|
33
|
+
J(
|
|
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 (H.isEmpty(m.headers))
|
|
47
|
+
return se({
|
|
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 = Z("el-image-viewer"), U = ee("loading");
|
|
66
|
+
return ae((V(), M("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(), A(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"])) : te("", !0),
|
|
119
|
+
n(e(T), {
|
|
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__ */ j(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__ */ B({
|
|
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 = O({
|
|
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 = O({
|
|
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 P.post(`${w.proxy}/pub/add_vip_info`, a), ue.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 P.get(`${w.proxy}/pub/get_list_vip_price_set?top_company_id=${i.topCompanyId}`)).data;
|
|
264
264
|
} catch {
|
|
265
|
-
|
|
265
|
+
R.error("获取默认会员等级失败");
|
|
266
266
|
}
|
|
267
267
|
}, C = async () => {
|
|
268
|
-
const r =
|
|
268
|
+
const r = pe();
|
|
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), $ = F(() => 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
|
+
R.warning("请先输入正确的手机号");
|
|
289
289
|
return;
|
|
290
290
|
}
|
|
291
291
|
g.value = !0;
|
|
292
292
|
try {
|
|
293
|
-
await
|
|
293
|
+
await P.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
|
+
}), R.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 le(() => {
|
|
312
312
|
C();
|
|
313
|
-
}),
|
|
313
|
+
}), ne(() => {
|
|
314
314
|
S();
|
|
315
|
-
}), (r, a) => (V(),
|
|
315
|
+
}), (r, a) => (V(), M("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(de), null, {
|
|
320
320
|
default: d(() => [
|
|
321
|
-
n(e(
|
|
321
|
+
n(e(ie))
|
|
322
322
|
]),
|
|
323
323
|
_: 1
|
|
324
324
|
}),
|
|
325
|
-
p("span", null,
|
|
325
|
+
p("span", null, N(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), M(oe, null, re(e(ve), (l) => (V(), A(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(N(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(T), {
|
|
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(N(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(T), {
|
|
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__ */ j(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
|
+
H.has(c, "_context.directives.loading") || c.directive("loading", ce.directive), c.use(Se);
|
|
523
523
|
}
|
|
524
524
|
export {
|
|
525
525
|
Oe as useHsAdminUi
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as v, X as F,
|
|
1
|
+
import { R as v, X as F, H as y, ax as P, J as L, eg as U, Q as S, eh as ne, ei as C, ej as h, aa as R, T as le, bD as re, ap as oe, ae as D, aj as se, br as ie, bs as ue, ek as ce, W as de, bu as fe, bv as ge, bq as me, el as pe, aT as ye, aS as be, em as he, en as ve, eo as _e, ep as xe, eq as we, er as De, es as Ce, et as Ee, eu as Se, am as Ae, Z as Te, L as Ne, ev as Be, ew as Fe, a4 as Pe, ex as Me, ey as je, ez as Ie, eA as Le, eB as Re, K as Oe, eC as Ye, eD as $e, eE as ke, eF as Ke, eG as Ue, eH as He, eI as qe, eJ as We, aw as Je, eK as ze, eL as Qe, ac as Ze, eM as Xe, eN as Ge, eO as Ve, eP as et, eQ as tt, V as at, al as nt, S as lt, eR as rt, eS as ot, an as st, eT as it, eU as ut, at as ct, eV as dt, eW as ft, eX as gt, eY as mt, eZ as pt, e_ as yt, e$ as bt, f0 as ht, f1 as vt, f2 as _t, f3 as xt, f4 as wt, f5 as Dt, f6 as Ct, f7 as Et, f8 as St, f9 as At, fa as Tt, fb as Nt, fc as Bt, fd as Ft, fe as Pt, ff as Mt, fg as jt, fh as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BJmlGXwL.js";
|
|
2
2
|
import { ref as Lt, onBeforeUnmount as Rt, nextTick as Ot } from "vue";
|
|
3
3
|
function Yt(t, e) {
|
|
4
4
|
const n = M(t), a = M(e);
|
|
@@ -256,7 +256,7 @@ function qt(t) {
|
|
|
256
256
|
}
|
|
257
257
|
function A(t, e) {
|
|
258
258
|
if (!t) return "";
|
|
259
|
-
let n = t.getDay(), a =
|
|
259
|
+
let n = t.getDay(), a = X(t), l = Math.floor((t.getMonth() + 3) / 3).toString();
|
|
260
260
|
const o = {
|
|
261
261
|
"Y+": t.getFullYear().toString(),
|
|
262
262
|
// 年
|
|
@@ -293,7 +293,7 @@ function A(t, e) {
|
|
|
293
293
|
}
|
|
294
294
|
return e;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function X(t) {
|
|
297
297
|
let e = new Date(t.getTime()), n = e.getDay() || 7;
|
|
298
298
|
e.setDate(e.getDate() - n + 1 + 5);
|
|
299
299
|
let a = new Date(e.getFullYear(), 0, 1), l = a.getDay(), o = 1;
|
|
@@ -322,11 +322,11 @@ function Jt(t) {
|
|
|
322
322
|
let e = new Date(t).getHours();
|
|
323
323
|
return e < 6 ? "凌晨好" : e < 9 ? "早上好" : e < 12 ? "上午好" : e < 14 ? "中午好" : e < 17 ? "下午好" : e < 19 ? "傍晚好" : e < 22 ? "晚上好" : "夜里好";
|
|
324
324
|
}
|
|
325
|
-
const zt = (t, e, n) => n ? `${n}%` : "-", Qt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd") : "-", Zt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd HH:MM:SS") : "-",
|
|
325
|
+
const zt = (t, e, n) => n ? `${n}%` : "-", Qt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd") : "-", Zt = (t, e, n) => n ? A(new Date(n), "YYYY-mm-dd HH:MM:SS") : "-", Xt = (t, e, n) => {
|
|
326
326
|
if (!n) return "-";
|
|
327
327
|
let a = 0;
|
|
328
328
|
return typeof t == "number" && (a = t), typeof n == "number" && (a = n), A(new Date(a * 1e3), "HH:MM:SS");
|
|
329
|
-
},
|
|
329
|
+
}, Gt = (t = "0", e = 4) => Number.parseFloat(t).toFixed(e), Vt = (t = "0") => Number.parseFloat(t).toFixed(2), ea = (t) => {
|
|
330
330
|
let e = t && t.toUpperCase();
|
|
331
331
|
const n = {
|
|
332
332
|
11: "北京",
|
|
@@ -817,7 +817,7 @@ const ma = (t, e, n) => {
|
|
|
817
817
|
const a = e.toLowerCase();
|
|
818
818
|
return t.filter((l) => n(l).some((r) => r && r.toLowerCase().includes(a)));
|
|
819
819
|
};
|
|
820
|
-
let
|
|
820
|
+
let G;
|
|
821
821
|
const pa = 60 * 1e3;
|
|
822
822
|
let $ = !1, j = !1, B;
|
|
823
823
|
const ya = /<script.*?src=["'](.*?)["'].*?><\/script>/g, k = /index-(.*?)\.js/g, V = async () => fetch("/index.html?timestep=" + Date.now()).then((t) => t.text()).then((t) => {
|
|
@@ -825,7 +825,7 @@ const ya = /<script.*?src=["'](.*?)["'].*?><\/script>/g, k = /index-(.*?)\.js/g,
|
|
|
825
825
|
const e = (n = t.match(ya)) == null ? void 0 : n.filter((l) => k.test(l));
|
|
826
826
|
return e && e.length > 0 ? y.get(((a = e[0]) == null ? void 0 : a.match(k)) || [], "0", "") : "";
|
|
827
827
|
}), ee = () => V().then((t) => {
|
|
828
|
-
t && t !=
|
|
828
|
+
t && t != G && !$ && ($ = !0, te(), se.confirm("系统版本更新了,是否立即刷新页面?", "提示", {
|
|
829
829
|
confirmButtonText: "立即刷新",
|
|
830
830
|
cancelButtonText: "稍后刷新",
|
|
831
831
|
type: "warning",
|
|
@@ -843,7 +843,7 @@ function te() {
|
|
|
843
843
|
}
|
|
844
844
|
async function ba() {
|
|
845
845
|
return V().then((t) => {
|
|
846
|
-
|
|
846
|
+
G = t, I(), document.addEventListener("visibilitychange", () => {
|
|
847
847
|
j = document.hidden, j ? te() : (ee(), I());
|
|
848
848
|
});
|
|
849
849
|
});
|
|
@@ -892,7 +892,7 @@ const K = (t) => {
|
|
|
892
892
|
convertCurrency: U,
|
|
893
893
|
copyText: Ht,
|
|
894
894
|
dataURLtoBlob: sa,
|
|
895
|
-
dateFormatHMS:
|
|
895
|
+
dateFormatHMS: Xt,
|
|
896
896
|
dateFormatYMD: Qt,
|
|
897
897
|
dateFormatYMDHMS: Zt,
|
|
898
898
|
decimalDigits: we,
|
|
@@ -926,7 +926,7 @@ const K = (t) => {
|
|
|
926
926
|
getTableDataType: Re,
|
|
927
927
|
getUrlBase64: kt,
|
|
928
928
|
getUrlParams: Oe,
|
|
929
|
-
getWeek:
|
|
929
|
+
getWeek: X,
|
|
930
930
|
globalComponentSize: Ye,
|
|
931
931
|
handleEmpty: $e,
|
|
932
932
|
handleOpenLink: ke,
|
|
@@ -943,8 +943,8 @@ const K = (t) => {
|
|
|
943
943
|
message: ze,
|
|
944
944
|
messageBox: Qe,
|
|
945
945
|
mittBus: Ze,
|
|
946
|
-
notification:
|
|
947
|
-
numberToChinese:
|
|
946
|
+
notification: Xe,
|
|
947
|
+
numberToChinese: Ge,
|
|
948
948
|
other: Ve,
|
|
949
949
|
percentFormat: zt,
|
|
950
950
|
popupPlugin: et,
|
|
@@ -955,7 +955,7 @@ const K = (t) => {
|
|
|
955
955
|
removeDuplicate: M,
|
|
956
956
|
request: S,
|
|
957
957
|
scale2Format: Vt,
|
|
958
|
-
scaleFormat:
|
|
958
|
+
scaleFormat: Gt,
|
|
959
959
|
sendMsg: z,
|
|
960
960
|
setColumnWidthConfig: nt,
|
|
961
961
|
setConfig: lt,
|