xyvcard-settle 0.0.53 → 0.0.54
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/assets/09fcc36c527efda6.jpg +0 -0
- package/dist/assets/1ceaa63ddb015361.jpg +0 -0
- package/dist/assets/228d0bfe534e0e61.png +0 -0
- package/dist/assets/6e48b3e20382148c.png +0 -0
- package/dist/assets/7537a7335bb17b22.png +0 -0
- package/dist/assets/78ba92e6c076bd07.png +0 -0
- package/dist/index-B3iittmi.mjs +314 -0
- package/dist/{index-DTjubk-_.mjs → index-BDT7flgB.mjs} +12 -13
- package/dist/{index-Dg9k1LtW.mjs → index-BDwh8ZqC.mjs} +5 -7
- package/dist/{index-DcQ0Bjxl.mjs → index-CBP-bSbm.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{merchant-u4dNCa0T.mjs → merchant-D3ctdb_L.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-CvB7L7G7.mjs → merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs} +20 -18
- package/dist/{sale-CuEqsPD7.mjs → sale-CNyGetJm.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-DXUIMGjh.mjs → sale.vue_vue_type_script_setup_true_lang-DqhuAJM2.mjs} +22 -20
- package/dist/style.css +1 -1
- package/package.json +63 -62
- package/dist/index-B8QmvLNr.mjs +0 -313
- package/dist/three-BE8B3lbG.mjs +0 -6
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { onMounted as Q, nextTick as X, getCurrentInstance as R, unref as U, getCurrentScope as Z, onScopeDispose as ee, ref as m, watch as j, watchEffect as B, computed as z, defineComponent as te, resolveComponent as C, createElementBlock as ne, openBlock as oe, createElementVNode as u, createVNode as i, withCtx as b, withDirectives as re, normalizeStyle as le, vShow as se, withKeys as N, withModifiers as ae, createTextVNode as ie, toDisplayString as ue } from "vue";
|
|
2
|
+
import ce from "./assets/6e48b3e20382148c.png";
|
|
3
|
+
import { useI18n as de } from "vue-i18n";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
import { useRoute as pe, useRouter as me } from "vue-router";
|
|
6
|
+
import { vueMetaEnv as M, useAppStore as O, useUserStore as fe, netEncrypt as ve, getCaptchaApi as ge, createLoginQrcode as he } from "jmash-core";
|
|
7
|
+
import _e from "./assets/09fcc36c527efda6.jpg";
|
|
8
|
+
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
function H(e) {
|
|
10
|
+
return Z() ? (ee(e), !0) : !1;
|
|
11
|
+
}
|
|
12
|
+
function $(e) {
|
|
13
|
+
return typeof e == "function" ? e() : U(e);
|
|
14
|
+
}
|
|
15
|
+
const we = typeof window < "u" && typeof document < "u";
|
|
16
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
17
|
+
const be = Object.prototype.toString, Ce = (e) => be.call(e) === "[object Object]", Ee = () => {
|
|
18
|
+
};
|
|
19
|
+
function Ie(e) {
|
|
20
|
+
return R();
|
|
21
|
+
}
|
|
22
|
+
function Se(e, n = !0, o) {
|
|
23
|
+
Ie() ? Q(e, o) : n ? e() : X(e);
|
|
24
|
+
}
|
|
25
|
+
function Te(e) {
|
|
26
|
+
var n;
|
|
27
|
+
const o = $(e);
|
|
28
|
+
return (n = o == null ? void 0 : o.$el) != null ? n : o;
|
|
29
|
+
}
|
|
30
|
+
const x = we ? window : void 0;
|
|
31
|
+
function Ve(...e) {
|
|
32
|
+
let n, o, a, t;
|
|
33
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n = x) : [n, o, a, t] = e, !n)
|
|
34
|
+
return Ee;
|
|
35
|
+
Array.isArray(o) || (o = [o]), Array.isArray(a) || (a = [a]);
|
|
36
|
+
const c = [], s = () => {
|
|
37
|
+
c.forEach((f) => f()), c.length = 0;
|
|
38
|
+
}, d = (f, v, E, g) => (f.addEventListener(v, E, g), () => f.removeEventListener(v, E, g)), p = j(
|
|
39
|
+
() => [Te(n), $(t)],
|
|
40
|
+
([f, v]) => {
|
|
41
|
+
if (s(), !f)
|
|
42
|
+
return;
|
|
43
|
+
const E = Ce(v) ? { ...v } : v;
|
|
44
|
+
c.push(
|
|
45
|
+
...o.flatMap((g) => a.map((S) => d(f, g, S, E)))
|
|
46
|
+
);
|
|
47
|
+
},
|
|
48
|
+
{ immediate: !0, flush: "post" }
|
|
49
|
+
), _ = () => {
|
|
50
|
+
p(), s();
|
|
51
|
+
};
|
|
52
|
+
return H(_), _;
|
|
53
|
+
}
|
|
54
|
+
function ke() {
|
|
55
|
+
const e = m(!1), n = R();
|
|
56
|
+
return n && Q(() => {
|
|
57
|
+
e.value = !0;
|
|
58
|
+
}, n), e;
|
|
59
|
+
}
|
|
60
|
+
function qe(e) {
|
|
61
|
+
const n = ke();
|
|
62
|
+
return z(() => (n.value, !!e()));
|
|
63
|
+
}
|
|
64
|
+
function Ae(e, n = {}) {
|
|
65
|
+
const { window: o = x } = n, a = qe(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
|
|
66
|
+
let t;
|
|
67
|
+
const c = m(!1), s = (_) => {
|
|
68
|
+
c.value = _.matches;
|
|
69
|
+
}, d = () => {
|
|
70
|
+
t && ("removeEventListener" in t ? t.removeEventListener("change", s) : t.removeListener(s));
|
|
71
|
+
}, p = B(() => {
|
|
72
|
+
a.value && (d(), t = o.matchMedia($(e)), "addEventListener" in t ? t.addEventListener("change", s) : t.addListener(s), c.value = t.matches);
|
|
73
|
+
});
|
|
74
|
+
return H(() => {
|
|
75
|
+
p(), d(), t = void 0;
|
|
76
|
+
}), c;
|
|
77
|
+
}
|
|
78
|
+
function Le(e = {}) {
|
|
79
|
+
const {
|
|
80
|
+
window: n = x,
|
|
81
|
+
initialWidth: o = Number.POSITIVE_INFINITY,
|
|
82
|
+
initialHeight: a = Number.POSITIVE_INFINITY,
|
|
83
|
+
listenOrientation: t = !0,
|
|
84
|
+
includeScrollbar: c = !0
|
|
85
|
+
} = e, s = m(o), d = m(a), p = () => {
|
|
86
|
+
n && (c ? (s.value = n.innerWidth, d.value = n.innerHeight) : (s.value = n.document.documentElement.clientWidth, d.value = n.document.documentElement.clientHeight));
|
|
87
|
+
};
|
|
88
|
+
if (p(), Se(p), Ve("resize", p, { passive: !0 }), t) {
|
|
89
|
+
const _ = Ae("(orientation: portrait)");
|
|
90
|
+
j(_, () => p());
|
|
91
|
+
}
|
|
92
|
+
return { width: s, height: d };
|
|
93
|
+
}
|
|
94
|
+
const Me = { class: "login-container" }, Pe = { class: "login-top flex items-center" }, Oe = { class: "qrcode-container" }, $e = ["src"], xe = { class: "flex justify-between items-center w-full" }, We = ["src"], De = 992, Ne = /* @__PURE__ */ te({
|
|
95
|
+
__name: "index",
|
|
96
|
+
setup(e) {
|
|
97
|
+
const { t: n } = de(), o = m(M.APP_ACTIVE), a = (r) => {
|
|
98
|
+
r.props.name === "user" ? (L(), g()) : P(), o.value = r.props.name;
|
|
99
|
+
}, t = m({
|
|
100
|
+
scope: "",
|
|
101
|
+
username: "",
|
|
102
|
+
password: ""
|
|
103
|
+
}), c = z(() => {
|
|
104
|
+
const r = O().language === "en" ? "Please enter " : "请输入";
|
|
105
|
+
return {
|
|
106
|
+
username: [
|
|
107
|
+
{
|
|
108
|
+
required: !0,
|
|
109
|
+
trigger: "blur",
|
|
110
|
+
message: `${r}${n("login.username")}`
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
password: [
|
|
114
|
+
{
|
|
115
|
+
required: !0,
|
|
116
|
+
trigger: "blur",
|
|
117
|
+
validator: (l, y, h) => {
|
|
118
|
+
y.length < 5 ? h(new Error("The password can not be less than 5 digits")) : h();
|
|
119
|
+
},
|
|
120
|
+
message: `${r}${n("login.password")}`
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
captchaCode: [
|
|
124
|
+
{
|
|
125
|
+
required: !0,
|
|
126
|
+
trigger: "blur",
|
|
127
|
+
message: `${r}${n("login.captchaCode")}`
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
};
|
|
131
|
+
}), s = m(!1), d = m(), p = pe(), _ = me(), f = fe(), v = () => {
|
|
132
|
+
var r;
|
|
133
|
+
(r = d.value) == null || r.validate((l) => {
|
|
134
|
+
l && (s.value = !0, f.login({ ...t.value, password: ve(t.value.password) }).then(() => {
|
|
135
|
+
const y = p.query, h = y.redirect ?? M.APP_REDIRECT, w = Object.keys(y).reduce(
|
|
136
|
+
(T, q) => (q !== "redirect" && (T[q] = y[q]), T),
|
|
137
|
+
{}
|
|
138
|
+
);
|
|
139
|
+
_.push({ path: h, query: w }), g();
|
|
140
|
+
}).catch(() => {
|
|
141
|
+
g();
|
|
142
|
+
}).finally(() => {
|
|
143
|
+
s.value = !1;
|
|
144
|
+
}));
|
|
145
|
+
});
|
|
146
|
+
}, E = m(""), g = () => {
|
|
147
|
+
ge().then(({ data: r }) => {
|
|
148
|
+
t.value.captchaKey = r.captchaId, E.value = r.base64Image;
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
g();
|
|
152
|
+
let S = setInterval(W, 3e3);
|
|
153
|
+
const V = m({});
|
|
154
|
+
function P() {
|
|
155
|
+
he().then(({ data: r }) => {
|
|
156
|
+
V.value = r, k.value = !1, K(), S = setInterval(W, 3e3);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
o.value === "qrCode" && P();
|
|
160
|
+
function W() {
|
|
161
|
+
V.value.ticket && f.loginByQrcode({ ticket: V.value.ticket }).then(() => {
|
|
162
|
+
L(), k.value = !1, V.value.qrcodeUrl = _e;
|
|
163
|
+
const r = p.query, l = r.redirect ?? M.APP_REDIRECT, y = Object.keys(r).reduce(
|
|
164
|
+
(h, w) => (w !== "redirect" && (h[w] = r[w]), h),
|
|
165
|
+
{}
|
|
166
|
+
);
|
|
167
|
+
_.push({ path: l, query: y });
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
let A = null;
|
|
171
|
+
const k = m(!1);
|
|
172
|
+
function L() {
|
|
173
|
+
S && (clearInterval(S), S = null), A && (clearTimeout(A), A = null);
|
|
174
|
+
}
|
|
175
|
+
function K() {
|
|
176
|
+
L(), A = setTimeout(() => {
|
|
177
|
+
L(), k.value = !0;
|
|
178
|
+
}, M.APP_TIMEOUT);
|
|
179
|
+
}
|
|
180
|
+
const D = O(), { width: F } = Le();
|
|
181
|
+
return B(() => {
|
|
182
|
+
F.value < De ? D.toggleDevice("mobile") : D.toggleDevice("desktop");
|
|
183
|
+
}), (r, l) => {
|
|
184
|
+
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"), T = C("el-form-item"), q = C("el-button"), G = C("el-form"), Y = C("el-tabs"), J = C("el-card");
|
|
185
|
+
return oe(), ne("div", Me, [
|
|
186
|
+
u("div", Pe, [
|
|
187
|
+
l[4] || (l[4] = u("img", {
|
|
188
|
+
src: ce,
|
|
189
|
+
class: "logo-img",
|
|
190
|
+
alt: "logo"
|
|
191
|
+
}, null, -1)),
|
|
192
|
+
l[5] || (l[5] = u("span", { class: "ml-3" }, "筋斗云管理平台", -1)),
|
|
193
|
+
i(y, { class: "ml-2 cursor-pointer language" })
|
|
194
|
+
]),
|
|
195
|
+
i(J, {
|
|
196
|
+
device: U(O)().device,
|
|
197
|
+
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
198
|
+
}, {
|
|
199
|
+
default: b(() => [
|
|
200
|
+
l[8] || (l[8] = u("div", { class: "login-container_title" }, "欢迎登录", -1)),
|
|
201
|
+
i(Y, {
|
|
202
|
+
modelValue: o.value,
|
|
203
|
+
"onUpdate:modelValue": l[3] || (l[3] = (I) => o.value = I),
|
|
204
|
+
class: "demo-tabs",
|
|
205
|
+
onTabClick: a
|
|
206
|
+
}, {
|
|
207
|
+
default: b(() => [
|
|
208
|
+
i(h, {
|
|
209
|
+
label: "扫码登录",
|
|
210
|
+
name: "qrCode"
|
|
211
|
+
}, {
|
|
212
|
+
default: b(() => [
|
|
213
|
+
u("div", Oe, [
|
|
214
|
+
u("img", {
|
|
215
|
+
src: V.value.qrcodeUrl,
|
|
216
|
+
style: le({ opacity: k.value ? 0.02 : 1 }),
|
|
217
|
+
alt: "二维码"
|
|
218
|
+
}, null, 12, $e),
|
|
219
|
+
re(u("div", null, [
|
|
220
|
+
l[6] || (l[6] = u("div", null, "二维码已过期", -1)),
|
|
221
|
+
u("div", { onClick: P }, "点击刷新")
|
|
222
|
+
], 512), [
|
|
223
|
+
[se, k.value]
|
|
224
|
+
])
|
|
225
|
+
]),
|
|
226
|
+
l[7] || (l[7] = u("div", null, "微信扫一扫登录", -1))
|
|
227
|
+
]),
|
|
228
|
+
_: 1
|
|
229
|
+
}),
|
|
230
|
+
i(h, {
|
|
231
|
+
label: "账号登录",
|
|
232
|
+
name: "user"
|
|
233
|
+
}, {
|
|
234
|
+
default: b(() => [
|
|
235
|
+
i(G, {
|
|
236
|
+
ref_key: "formRef",
|
|
237
|
+
ref: d,
|
|
238
|
+
model: t.value,
|
|
239
|
+
rules: c.value
|
|
240
|
+
}, {
|
|
241
|
+
default: b(() => [
|
|
242
|
+
i(T, { prop: "username" }, {
|
|
243
|
+
default: b(() => [
|
|
244
|
+
i(w, {
|
|
245
|
+
modelValue: t.value.username,
|
|
246
|
+
"onUpdate:modelValue": l[0] || (l[0] = (I) => t.value.username = I),
|
|
247
|
+
placeholder: r.$t("login.username")
|
|
248
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
249
|
+
]),
|
|
250
|
+
_: 1
|
|
251
|
+
}),
|
|
252
|
+
i(T, { prop: "password" }, {
|
|
253
|
+
default: b(() => [
|
|
254
|
+
i(w, {
|
|
255
|
+
modelValue: t.value.password,
|
|
256
|
+
"onUpdate:modelValue": l[1] || (l[1] = (I) => t.value.password = I),
|
|
257
|
+
placeholder: r.$t("login.password"),
|
|
258
|
+
type: "password",
|
|
259
|
+
"show-password": "",
|
|
260
|
+
onKeyup: N(v, ["enter"])
|
|
261
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
262
|
+
]),
|
|
263
|
+
_: 1
|
|
264
|
+
}),
|
|
265
|
+
i(T, { prop: "captchaCode" }, {
|
|
266
|
+
default: b(() => [
|
|
267
|
+
u("div", xe, [
|
|
268
|
+
i(w, {
|
|
269
|
+
style: { width: "65%" },
|
|
270
|
+
modelValue: t.value.captchaCode,
|
|
271
|
+
"onUpdate:modelValue": l[2] || (l[2] = (I) => t.value.captchaCode = I),
|
|
272
|
+
placeholder: r.$t("login.captchaCode"),
|
|
273
|
+
onKeyup: N(v, ["enter"])
|
|
274
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
275
|
+
u("img", {
|
|
276
|
+
class: "flex-1 h-[40px] cursor-pointer ml-2",
|
|
277
|
+
src: E.value,
|
|
278
|
+
onClick: g,
|
|
279
|
+
alt: "验证码"
|
|
280
|
+
}, null, 8, We)
|
|
281
|
+
])
|
|
282
|
+
]),
|
|
283
|
+
_: 1
|
|
284
|
+
}),
|
|
285
|
+
i(q, {
|
|
286
|
+
loading: s.value,
|
|
287
|
+
type: "primary",
|
|
288
|
+
class: "w-full",
|
|
289
|
+
onClick: ae(v, ["prevent"])
|
|
290
|
+
}, {
|
|
291
|
+
default: b(() => [
|
|
292
|
+
ie(ue(r.$t("login.login")), 1)
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
}, 8, ["loading"])
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["model", "rules"])
|
|
299
|
+
]),
|
|
300
|
+
_: 1
|
|
301
|
+
})
|
|
302
|
+
]),
|
|
303
|
+
_: 1
|
|
304
|
+
}, 8, ["modelValue"])
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
}, 8, ["device"])
|
|
308
|
+
]);
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
}), Fe = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-f656b148"]]);
|
|
312
|
+
export {
|
|
313
|
+
Fe as default
|
|
314
|
+
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as A, ref as u, resolveComponent as c, resolveDirective as D, createElementBlock as g, openBlock as _, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, withDirectives as C, createBlock as Y, createTextVNode as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { T, m as
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
1
|
+
import { defineComponent as A, ref as u, resolveComponent as c, resolveDirective as D, createElementBlock as g, openBlock as _, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, withDirectives as C, createBlock as Y, createTextVNode as w } from "vue";
|
|
2
|
+
import { useRouter as T } from "vue-router";
|
|
3
|
+
import { T as k, m as v } from "./trend-C4uCFrLb.mjs";
|
|
4
|
+
import { h as p } from "./index-BDwh8ZqC.mjs";
|
|
5
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
6
|
const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-container" }, V = { class: "tatals" }, B = { class: "tatal" }, N = { class: "text" }, S = { class: "tatal" }, F = { class: "text" }, H = { class: "tatal" }, I = { class: "text" }, R = { class: "tatal" }, j = { class: "text" }, q = { class: "tatals" }, z = { class: "tatal" }, G = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "tatal" }, U = { class: "text" }, W = { class: "app-title-time" }, X = { class: "chart-header" }, Z = /* @__PURE__ */ A({
|
|
8
7
|
__name: "index",
|
|
9
8
|
setup($) {
|
|
10
|
-
const x =
|
|
9
|
+
const x = T(), i = p().format("YYYY-MM-DD"), m = p().subtract(1, "days").format("YYYY-MM-DD"), a = u({}), n = u({});
|
|
11
10
|
(async () => {
|
|
12
11
|
try {
|
|
13
|
-
|
|
12
|
+
v.homePageAmount({
|
|
14
13
|
analysisTimeStart: i,
|
|
15
14
|
analysisTimeEnd: i
|
|
16
15
|
}).then((s) => {
|
|
@@ -20,7 +19,7 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
20
19
|
feeAmt: s.data.feeAmt,
|
|
21
20
|
settleAmount: s.data.settleAmount
|
|
22
21
|
};
|
|
23
|
-
}),
|
|
22
|
+
}), v.homePageAmount({
|
|
24
23
|
analysisTimeStart: m,
|
|
25
24
|
analysisTimeEnd: m
|
|
26
25
|
}).then((s) => {
|
|
@@ -108,14 +107,14 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
108
107
|
onClick: f
|
|
109
108
|
}, {
|
|
110
109
|
default: d(() => e[10] || (e[10] = [
|
|
111
|
-
|
|
110
|
+
w(" 查看更多 ")
|
|
112
111
|
])),
|
|
113
112
|
_: 1
|
|
114
113
|
})), [
|
|
115
114
|
[y, ["payment:trade_analysis:view"]]
|
|
116
115
|
])
|
|
117
116
|
]),
|
|
118
|
-
l(
|
|
117
|
+
l(k)
|
|
119
118
|
]),
|
|
120
119
|
_: 1
|
|
121
120
|
})
|
|
@@ -123,7 +122,7 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
123
122
|
]);
|
|
124
123
|
};
|
|
125
124
|
}
|
|
126
|
-
}),
|
|
125
|
+
}), lt = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-6f52d4ae"]]);
|
|
127
126
|
export {
|
|
128
|
-
|
|
127
|
+
lt as default
|
|
129
128
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { deepMerge as vs, RedirectPage as Ss, Layout as ze, ProfilePage as Ds, Error401Page as Ys, Error404Page as Os, routerRef as Ts, addViteMenus as xs, i18n as bs } from "jmash-core";
|
|
2
2
|
import { createRouter as Ns, createWebHistory as Ps } from "vue-router";
|
|
3
|
-
import "xyvcard-merchant";
|
|
4
|
-
import "xyvcard-agent";
|
|
5
3
|
const Rs = {
|
|
6
4
|
// 交易流水
|
|
7
5
|
payTrade: {
|
|
@@ -2701,7 +2699,7 @@ const Li = {
|
|
|
2701
2699
|
formatDate: Ci
|
|
2702
2700
|
};
|
|
2703
2701
|
}
|
|
2704
|
-
}, Ii = [], Hi = () => import("./index-
|
|
2702
|
+
}, Ii = [], Hi = () => import("./index-B3iittmi.mjs"), zi = () => import("./index-Cwhi9rvj.mjs"), Ui = () => import("./index-CBP-bSbm.mjs"), Zi = () => import("./index-BDT7flgB.mjs"), Ai = [
|
|
2705
2703
|
{
|
|
2706
2704
|
path: "/redirect",
|
|
2707
2705
|
component: ze,
|
|
@@ -2778,7 +2776,7 @@ const Li = {
|
|
|
2778
2776
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2779
2777
|
});
|
|
2780
2778
|
Ts.value = Ei;
|
|
2781
|
-
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2779
|
+
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-CBP-bSbm.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-D3ctdb_L.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-fu3fGrJB.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BxEHOKHE.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-CNyGetJm.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-XEzpdsLj.mjs"), "./views/payment/history-pay-trade/index.vue": () => import("./index-C6IvQBy0.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-Cwhi9rvj.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-CZR9oAkw.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-FS5kDoPy.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-B3iittmi.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-BDT7flgB.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-CVrtwq6W.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-LT7qO1_c.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-Cw3Bhtc2.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-BmSUfSfV.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-BeU6u9hH.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DWaN_Nrb.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-D8LRYlta.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-BU8dRQhE.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-CMyJKuis.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-ZwyAUTzX.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-DO4wIwlZ.mjs") }), $i = {
|
|
2782
2780
|
install(e) {
|
|
2783
2781
|
xs(Vi, 7), Ws(bs), e.use(Li);
|
|
2784
2782
|
}
|
|
@@ -2787,7 +2785,7 @@ export {
|
|
|
2787
2785
|
Ui as a,
|
|
2788
2786
|
Hi as b,
|
|
2789
2787
|
l as h,
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2788
|
+
Zi as m,
|
|
2789
|
+
zi as p,
|
|
2790
|
+
$i as s
|
|
2793
2791
|
};
|
|
@@ -5,8 +5,8 @@ import { C as u } from "./index-BgbsFf1D.mjs";
|
|
|
5
5
|
import I from "./pay-fu3fGrJB.mjs";
|
|
6
6
|
import b from "./payPal-BxEHOKHE.mjs";
|
|
7
7
|
import F from "./trend-XEzpdsLj.mjs";
|
|
8
|
-
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-DqhuAJM2.mjs";
|
|
9
|
+
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs";
|
|
10
10
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const q = { class: "app" }, Q = { class: "app-title" }, U = { class: "row-container" }, j = { class: "title" }, z = { class: "tatals" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, W = { class: "text" }, X = { class: "tatal" }, Z = { class: "text" }, tt = { class: "app-title pay-model" }, et = { class: "title taxt_time_laft" }, st = { class: "text_time" }, at = { class: "title taxt_time_laft" }, ot = { class: "text_time" }, nt = { class: "app-title-time" }, lt = { class: "chart-header" }, it = { class: "chart-title" }, rt = { class: "text_time" }, dt = /* @__PURE__ */ E({
|
|
12
12
|
__name: "index",
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { defineComponent as d, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as d, ref as f, resolveComponent as i, createBlock as u, openBlock as r, withCtx as t, createVNode as s, createElementBlock as a, toDisplayString as m, createElementVNode as l, createCommentVNode as h, unref as k, createTextVNode as y } from "vue";
|
|
2
|
+
import g from "./assets/78ba92e6c076bd07.png";
|
|
3
|
+
import N from "./assets/228d0bfe534e0e61.png";
|
|
4
|
+
import b from "./assets/7537a7335bb17b22.png";
|
|
3
5
|
import { tokenExt as x } from "xyvcard-agent";
|
|
4
6
|
import { s as B } from "./index-CGc-CaEO.mjs";
|
|
5
7
|
import { useUserStore as E } from "jmash-core";
|
|
@@ -10,61 +12,61 @@ const C = {
|
|
|
10
12
|
alt: "第一名"
|
|
11
13
|
}, V = {
|
|
12
14
|
key: 1,
|
|
13
|
-
src:
|
|
15
|
+
src: N,
|
|
14
16
|
alt: "第二名"
|
|
15
17
|
}, v = {
|
|
16
18
|
key: 2,
|
|
17
|
-
src:
|
|
19
|
+
src: b,
|
|
18
20
|
alt: "第三名"
|
|
19
|
-
}, D = { key: 3 }, M = { key: 0 },
|
|
21
|
+
}, D = { key: 3 }, M = { key: 0 }, H = /* @__PURE__ */ d({
|
|
20
22
|
__name: "merchant",
|
|
21
23
|
setup(S) {
|
|
22
|
-
const p =
|
|
24
|
+
const p = f([]);
|
|
23
25
|
return B.newMerchant({ tokenExt: x.getTokenExt(E().user.tenant) }).then((_) => {
|
|
24
26
|
p.value = _.data.agentMerchantNumModel;
|
|
25
27
|
}), (_, o) => {
|
|
26
|
-
const
|
|
27
|
-
return
|
|
28
|
+
const n = i("el-table-column"), c = i("el-table");
|
|
29
|
+
return r(), u(c, {
|
|
28
30
|
style: { width: "100%" },
|
|
29
31
|
"show-header": !0,
|
|
30
32
|
"empty-text": "暂无数据",
|
|
31
33
|
data: p.value
|
|
32
34
|
}, {
|
|
33
35
|
default: t(() => [
|
|
34
|
-
n
|
|
36
|
+
s(n, {
|
|
35
37
|
label: "排名",
|
|
36
38
|
width: "100"
|
|
37
39
|
}, {
|
|
38
40
|
header: t(() => o[0] || (o[0] = [
|
|
39
|
-
|
|
41
|
+
l("span", { style: { color: "#f5782d" } }, "排名", -1)
|
|
40
42
|
])),
|
|
41
43
|
default: t(({ $index: e }) => [
|
|
42
|
-
e === 0 ? (
|
|
44
|
+
e === 0 ? (r(), a("img", C)) : e === 1 ? (r(), a("img", V)) : e === 2 ? (r(), a("img", v)) : (r(), a("span", D, m(e + 1), 1))
|
|
43
45
|
]),
|
|
44
46
|
_: 1
|
|
45
47
|
}),
|
|
46
|
-
n
|
|
48
|
+
s(n, {
|
|
47
49
|
prop: "salesName",
|
|
48
50
|
label: "销售人员"
|
|
49
51
|
}, {
|
|
50
52
|
header: t(() => o[1] || (o[1] = [
|
|
51
|
-
|
|
53
|
+
l("span", { style: { color: "#f5782d" } }, "销售人员", -1)
|
|
52
54
|
])),
|
|
53
55
|
default: t(({ row: e }) => [
|
|
54
|
-
e.marketBy ? (
|
|
56
|
+
e.marketBy ? (r(), a("span", M, m(k(w)(e.marketBy)), 1)) : h("", !0)
|
|
55
57
|
]),
|
|
56
58
|
_: 1
|
|
57
59
|
}),
|
|
58
|
-
n
|
|
60
|
+
s(n, {
|
|
59
61
|
prop: "amount",
|
|
60
62
|
label: "交易金额",
|
|
61
63
|
align: "right"
|
|
62
64
|
}, {
|
|
63
65
|
header: t(() => o[2] || (o[2] = [
|
|
64
|
-
|
|
66
|
+
l("span", { style: { color: "#f5782d" } }, "商户", -1)
|
|
65
67
|
])),
|
|
66
68
|
default: t(({ row: e }) => [
|
|
67
|
-
y(
|
|
69
|
+
y(m(e.merchantNum) + "家", 1)
|
|
68
70
|
]),
|
|
69
71
|
_: 1
|
|
70
72
|
})
|
|
@@ -75,5 +77,5 @@ const C = {
|
|
|
75
77
|
}
|
|
76
78
|
});
|
|
77
79
|
export {
|
|
78
|
-
|
|
80
|
+
H as _
|
|
79
81
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { defineComponent as c, ref as u, resolveComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as c, ref as u, resolveComponent as i, createBlock as f, openBlock as r, withCtx as t, createVNode as l, createElementBlock as a, toDisplayString as m, createElementVNode as n, createCommentVNode as y, unref as h, createTextVNode as k } from "vue";
|
|
2
|
+
import b from "./assets/78ba92e6c076bd07.png";
|
|
3
|
+
import g from "./assets/228d0bfe534e0e61.png";
|
|
4
|
+
import N from "./assets/7537a7335bb17b22.png";
|
|
3
5
|
import { getUserDisplayName as B } from "xyvcard-merchant";
|
|
4
6
|
import { s as C } from "./index-CGc-CaEO.mjs";
|
|
5
7
|
const V = {
|
|
@@ -14,55 +16,55 @@ const V = {
|
|
|
14
16
|
key: 2,
|
|
15
17
|
src: N,
|
|
16
18
|
alt: "第三名"
|
|
17
|
-
}, A = { key: 3 }, D = { key: 0 },
|
|
19
|
+
}, A = { key: 3 }, D = { key: 0 }, z = /* @__PURE__ */ c({
|
|
18
20
|
__name: "sale",
|
|
19
21
|
setup(x) {
|
|
20
|
-
const
|
|
21
|
-
return C.salesAmount({}).then((
|
|
22
|
-
|
|
23
|
-
}), (
|
|
24
|
-
const
|
|
25
|
-
return
|
|
22
|
+
const p = u([]);
|
|
23
|
+
return C.salesAmount({}).then((_) => {
|
|
24
|
+
p.value = _.data.results;
|
|
25
|
+
}), (_, o) => {
|
|
26
|
+
const s = i("el-table-column"), d = i("el-table");
|
|
27
|
+
return r(), f(d, {
|
|
26
28
|
style: { width: "100%" },
|
|
27
29
|
"show-header": !0,
|
|
28
30
|
"empty-text": "暂无数据",
|
|
29
|
-
data:
|
|
31
|
+
data: p.value
|
|
30
32
|
}, {
|
|
31
33
|
default: t(() => [
|
|
32
|
-
|
|
34
|
+
l(s, {
|
|
33
35
|
label: "排名",
|
|
34
36
|
width: "100"
|
|
35
37
|
}, {
|
|
36
38
|
header: t(() => o[0] || (o[0] = [
|
|
37
|
-
|
|
39
|
+
n("span", { style: { color: "#f5782d" } }, "排名", -1)
|
|
38
40
|
])),
|
|
39
41
|
default: t(({ $index: e }) => [
|
|
40
|
-
e === 0 ? (
|
|
42
|
+
e === 0 ? (r(), a("img", V)) : e === 1 ? (r(), a("img", v)) : e === 2 ? (r(), a("img", w)) : (r(), a("span", A, m(e + 1), 1))
|
|
41
43
|
]),
|
|
42
44
|
_: 1
|
|
43
45
|
}),
|
|
44
|
-
|
|
46
|
+
l(s, {
|
|
45
47
|
prop: "salesName",
|
|
46
48
|
label: "销售人员"
|
|
47
49
|
}, {
|
|
48
50
|
header: t(() => o[1] || (o[1] = [
|
|
49
|
-
|
|
51
|
+
n("span", { style: { color: "#f5782d" } }, "销售人员", -1)
|
|
50
52
|
])),
|
|
51
53
|
default: t(({ row: e }) => [
|
|
52
|
-
e.marketBy ? (
|
|
54
|
+
e.marketBy ? (r(), a("span", D, m(h(B)(e.marketBy)), 1)) : y("", !0)
|
|
53
55
|
]),
|
|
54
56
|
_: 1
|
|
55
57
|
}),
|
|
56
|
-
|
|
58
|
+
l(s, {
|
|
57
59
|
prop: "amount",
|
|
58
60
|
label: "交易金额",
|
|
59
61
|
align: "right"
|
|
60
62
|
}, {
|
|
61
63
|
header: t(() => o[2] || (o[2] = [
|
|
62
|
-
|
|
64
|
+
n("span", { style: { color: "#f5782d" } }, "交易金额", -1)
|
|
63
65
|
])),
|
|
64
66
|
default: t(({ row: e }) => [
|
|
65
|
-
k(
|
|
67
|
+
k(m(e.orderAmount) + "元 ", 1)
|
|
66
68
|
]),
|
|
67
69
|
_: 1
|
|
68
70
|
})
|
|
@@ -73,5 +75,5 @@ const V = {
|
|
|
73
75
|
}
|
|
74
76
|
});
|
|
75
77
|
export {
|
|
76
|
-
|
|
78
|
+
z as _
|
|
77
79
|
};
|