xyvcard-settle 0.0.40 → 0.0.42
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/{history-CKm40RN0.mjs → history-Bjxjxy_1.mjs} +1 -1
- package/dist/{history-Uv5wF8tp.mjs → history-CyGeajMX.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DzyW9ohx.mjs +378 -0
- package/dist/{history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs → history.vue_vue_type_script_setup_true_lang-dd7Qrf3A.mjs} +111 -127
- package/dist/index copy-BMOSe9EZ.mjs +287 -0
- package/dist/{index-GI8dQtIV.mjs → index-BA1OfmNb.mjs} +1 -1
- package/dist/{index-Ce1JIAp_.mjs → index-BMj5XmMX.mjs} +266 -282
- package/dist/{index-DISA5kjA.mjs → index-BpcmzxBU.mjs} +55 -53
- package/dist/{index-QIqV4ldo.mjs → index-C-A0Y3EK.mjs} +143 -159
- package/dist/index-C6Tt7EGW.mjs +726 -0
- package/dist/index-CGyzqfPx.mjs +541 -0
- package/dist/index-Csk-TNBj.mjs +313 -0
- package/dist/index-Doq8ZiUn.mjs +136 -0
- package/dist/{index-BAU8_bL5.mjs → index-DsTHP6ez.mjs} +66 -64
- package/dist/{index-BXr-5-X_.mjs → index-I-KFULpq.mjs} +426 -423
- package/dist/{index-BF180-Dc.mjs → index-vIbGxvHd.mjs} +2 -2
- package/dist/index-x556wvD_.mjs +588 -0
- package/dist/index.mjs +1 -1
- package/dist/pay-BK10dbR-.mjs +121 -0
- package/dist/payPal-C5Hhq3pQ.mjs +118 -0
- package/dist/qrcode-success-RhATc5cS.mjs +5 -0
- package/dist/style.css +1 -1
- package/dist/{today-BBWMuUFc.mjs → today-DYd5N03E.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-CmzDkIbs.mjs → today.vue_vue_type_script_setup_true_lang-D2JX696c.mjs} +8 -8
- package/dts/src/utils/timePlugin.d.ts +1 -0
- package/dts/src/views/payment/instsLogin/index copy.vue.d.ts +2 -0
- package/package.json +62 -62
- package/dist/history.vue_vue_type_script_setup_true_lang-Dj7A2_XH.mjs +0 -457
- package/dist/index-BOYpCJFd.mjs +0 -756
- package/dist/index-BS-eL0Z5.mjs +0 -238
- package/dist/index-CAOauGAU.mjs +0 -605
- package/dist/index-Che5xN0z.mjs +0 -603
- package/dist/index-Cqpx7sK8.mjs +0 -134
- package/dist/pay-ddopuD-7.mjs +0 -98
- package/dist/payPal-Bp_Ivr7P.mjs +0 -110
|
@@ -0,0 +1,313 @@
|
|
|
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 H, 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 { q as ce, _ as de } from "./qrcode-success-RhATc5cS.mjs";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
import { useRoute as me, useRouter as fe } from "vue-router";
|
|
6
|
+
import { vueMetaEnv as P, useAppStore as O, useUserStore as ve, netEncrypt as ge, getCaptchaApi as he, createLoginQrcode as _e } from "jmash-core";
|
|
7
|
+
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
function z(e) {
|
|
9
|
+
return Z() ? (ee(e), !0) : !1;
|
|
10
|
+
}
|
|
11
|
+
function W(e) {
|
|
12
|
+
return typeof e == "function" ? e() : U(e);
|
|
13
|
+
}
|
|
14
|
+
const we = typeof window < "u" && typeof document < "u";
|
|
15
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
16
|
+
const be = Object.prototype.toString, Ce = (e) => be.call(e) === "[object Object]", Ee = () => {
|
|
17
|
+
};
|
|
18
|
+
function Ie(e) {
|
|
19
|
+
return R();
|
|
20
|
+
}
|
|
21
|
+
function Te(e, n = !0, o) {
|
|
22
|
+
Ie() ? Q(e, o) : n ? e() : X(e);
|
|
23
|
+
}
|
|
24
|
+
function Se(e) {
|
|
25
|
+
var n;
|
|
26
|
+
const o = W(e);
|
|
27
|
+
return (n = o == null ? void 0 : o.$el) != null ? n : o;
|
|
28
|
+
}
|
|
29
|
+
const $ = we ? window : void 0;
|
|
30
|
+
function Ve(...e) {
|
|
31
|
+
let n, o, a, t;
|
|
32
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n = $) : [n, o, a, t] = e, !n)
|
|
33
|
+
return Ee;
|
|
34
|
+
Array.isArray(o) || (o = [o]), Array.isArray(a) || (a = [a]);
|
|
35
|
+
const c = [], s = () => {
|
|
36
|
+
c.forEach((f) => f()), c.length = 0;
|
|
37
|
+
}, d = (f, v, E, g) => (f.addEventListener(v, E, g), () => f.removeEventListener(v, E, g)), p = j(
|
|
38
|
+
() => [Se(n), W(t)],
|
|
39
|
+
([f, v]) => {
|
|
40
|
+
if (s(), !f)
|
|
41
|
+
return;
|
|
42
|
+
const E = Ce(v) ? { ...v } : v;
|
|
43
|
+
c.push(
|
|
44
|
+
...o.flatMap((g) => a.map((T) => d(f, g, T, E)))
|
|
45
|
+
);
|
|
46
|
+
},
|
|
47
|
+
{ immediate: !0, flush: "post" }
|
|
48
|
+
), _ = () => {
|
|
49
|
+
p(), s();
|
|
50
|
+
};
|
|
51
|
+
return z(_), _;
|
|
52
|
+
}
|
|
53
|
+
function ke() {
|
|
54
|
+
const e = m(!1), n = R();
|
|
55
|
+
return n && Q(() => {
|
|
56
|
+
e.value = !0;
|
|
57
|
+
}, n), e;
|
|
58
|
+
}
|
|
59
|
+
function qe(e) {
|
|
60
|
+
const n = ke();
|
|
61
|
+
return H(() => (n.value, !!e()));
|
|
62
|
+
}
|
|
63
|
+
function Pe(e, n = {}) {
|
|
64
|
+
const { window: o = $ } = n, a = qe(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
|
|
65
|
+
let t;
|
|
66
|
+
const c = m(!1), s = (_) => {
|
|
67
|
+
c.value = _.matches;
|
|
68
|
+
}, d = () => {
|
|
69
|
+
t && ("removeEventListener" in t ? t.removeEventListener("change", s) : t.removeListener(s));
|
|
70
|
+
}, p = B(() => {
|
|
71
|
+
a.value && (d(), t = o.matchMedia(W(e)), "addEventListener" in t ? t.addEventListener("change", s) : t.addListener(s), c.value = t.matches);
|
|
72
|
+
});
|
|
73
|
+
return z(() => {
|
|
74
|
+
p(), d(), t = void 0;
|
|
75
|
+
}), c;
|
|
76
|
+
}
|
|
77
|
+
function Ae(e = {}) {
|
|
78
|
+
const {
|
|
79
|
+
window: n = $,
|
|
80
|
+
initialWidth: o = Number.POSITIVE_INFINITY,
|
|
81
|
+
initialHeight: a = Number.POSITIVE_INFINITY,
|
|
82
|
+
listenOrientation: t = !0,
|
|
83
|
+
includeScrollbar: c = !0
|
|
84
|
+
} = e, s = m(o), d = m(a), p = () => {
|
|
85
|
+
n && (c ? (s.value = n.innerWidth, d.value = n.innerHeight) : (s.value = n.document.documentElement.clientWidth, d.value = n.document.documentElement.clientHeight));
|
|
86
|
+
};
|
|
87
|
+
if (p(), Te(p), Ve("resize", p, { passive: !0 }), t) {
|
|
88
|
+
const _ = Pe("(orientation: portrait)");
|
|
89
|
+
j(_, () => p());
|
|
90
|
+
}
|
|
91
|
+
return { width: s, height: d };
|
|
92
|
+
}
|
|
93
|
+
const Me = { class: "login-container" }, Le = { class: "login-top flex items-center" }, Oe = { class: "qrcode-container" }, We = ["src"], $e = { class: "flex justify-between items-center w-full" }, xe = ["src"], De = 992, Ne = /* @__PURE__ */ te({
|
|
94
|
+
__name: "index",
|
|
95
|
+
setup(e) {
|
|
96
|
+
const { t: n } = pe(), o = m(P.APP_ACTIVE), a = (r) => {
|
|
97
|
+
r.props.name === "user" ? (M(), g()) : L(), o.value = r.props.name;
|
|
98
|
+
}, t = m({
|
|
99
|
+
scope: "",
|
|
100
|
+
username: "",
|
|
101
|
+
password: ""
|
|
102
|
+
}), c = H(() => {
|
|
103
|
+
const r = O().language === "en" ? "Please enter " : "请输入";
|
|
104
|
+
return {
|
|
105
|
+
username: [
|
|
106
|
+
{
|
|
107
|
+
required: !0,
|
|
108
|
+
trigger: "blur",
|
|
109
|
+
message: `${r}${n("login.username")}`
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
password: [
|
|
113
|
+
{
|
|
114
|
+
required: !0,
|
|
115
|
+
trigger: "blur",
|
|
116
|
+
validator: (l, y, h) => {
|
|
117
|
+
y.length < 5 ? h(new Error("The password can not be less than 5 digits")) : h();
|
|
118
|
+
},
|
|
119
|
+
message: `${r}${n("login.password")}`
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
captchaCode: [
|
|
123
|
+
{
|
|
124
|
+
required: !0,
|
|
125
|
+
trigger: "blur",
|
|
126
|
+
message: `${r}${n("login.captchaCode")}`
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
};
|
|
130
|
+
}), s = m(!1), d = m(), p = me(), _ = fe(), f = ve(), v = () => {
|
|
131
|
+
var r;
|
|
132
|
+
(r = d.value) == null || r.validate((l) => {
|
|
133
|
+
l && (s.value = !0, f.login({ ...t.value, password: ge(t.value.password) }).then(() => {
|
|
134
|
+
const y = p.query, h = y.redirect ?? P.APP_REDIRECT, w = Object.keys(y).reduce(
|
|
135
|
+
(S, q) => (q !== "redirect" && (S[q] = y[q]), S),
|
|
136
|
+
{}
|
|
137
|
+
);
|
|
138
|
+
_.push({ path: h, query: w }), g();
|
|
139
|
+
}).catch(() => {
|
|
140
|
+
g();
|
|
141
|
+
}).finally(() => {
|
|
142
|
+
s.value = !1;
|
|
143
|
+
}));
|
|
144
|
+
});
|
|
145
|
+
}, E = m(""), g = () => {
|
|
146
|
+
he().then(({ data: r }) => {
|
|
147
|
+
t.value.captchaKey = r.captchaId, E.value = r.base64Image;
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
g();
|
|
151
|
+
let T = setInterval(x, 3e3);
|
|
152
|
+
const V = m({});
|
|
153
|
+
function L() {
|
|
154
|
+
console.log(P, "=> vueMetaEnv.APP_WECHAT_APPID"), _e().then(({ data: r }) => {
|
|
155
|
+
V.value = r, k.value = !1, K(), T = setInterval(x, 3e3);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
o.value === "qrCode" && L();
|
|
159
|
+
function x() {
|
|
160
|
+
V.value.ticket && f.loginByQrcode({ ticket: V.value.ticket }).then(() => {
|
|
161
|
+
M(), k.value = !1, V.value.qrcodeUrl = ce;
|
|
162
|
+
const r = p.query, l = r.redirect ?? P.APP_REDIRECT, y = Object.keys(r).reduce(
|
|
163
|
+
(h, w) => (w !== "redirect" && (h[w] = r[w]), h),
|
|
164
|
+
{}
|
|
165
|
+
);
|
|
166
|
+
_.push({ path: l, query: y });
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
let A = null;
|
|
170
|
+
const k = m(!1);
|
|
171
|
+
function M() {
|
|
172
|
+
T && (clearInterval(T), T = null), A && (clearTimeout(A), A = null);
|
|
173
|
+
}
|
|
174
|
+
function K() {
|
|
175
|
+
M(), A = setTimeout(() => {
|
|
176
|
+
M(), k.value = !0;
|
|
177
|
+
}, P.APP_TIMEOUT);
|
|
178
|
+
}
|
|
179
|
+
const D = O(), { width: F } = Ae();
|
|
180
|
+
return B(() => {
|
|
181
|
+
F.value < De ? D.toggleDevice("mobile") : D.toggleDevice("desktop");
|
|
182
|
+
}), (r, l) => {
|
|
183
|
+
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"), S = C("el-form-item"), q = C("el-button"), G = C("el-form"), Y = C("el-tabs"), J = C("el-card");
|
|
184
|
+
return oe(), ne("div", Me, [
|
|
185
|
+
u("div", Le, [
|
|
186
|
+
l[4] || (l[4] = u("img", {
|
|
187
|
+
src: de,
|
|
188
|
+
class: "logo-img",
|
|
189
|
+
alt: "logo"
|
|
190
|
+
}, null, -1)),
|
|
191
|
+
l[5] || (l[5] = u("span", { class: "ml-3" }, "筋斗云代理商服务平台", -1)),
|
|
192
|
+
i(y, { class: "ml-2 cursor-pointer language" })
|
|
193
|
+
]),
|
|
194
|
+
i(J, {
|
|
195
|
+
device: U(O)().device,
|
|
196
|
+
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
197
|
+
}, {
|
|
198
|
+
default: b(() => [
|
|
199
|
+
l[8] || (l[8] = u("div", { class: "login-container_title" }, "欢迎登录", -1)),
|
|
200
|
+
i(Y, {
|
|
201
|
+
modelValue: o.value,
|
|
202
|
+
"onUpdate:modelValue": l[3] || (l[3] = (I) => o.value = I),
|
|
203
|
+
class: "demo-tabs",
|
|
204
|
+
onTabClick: a
|
|
205
|
+
}, {
|
|
206
|
+
default: b(() => [
|
|
207
|
+
i(h, {
|
|
208
|
+
label: "扫码登录",
|
|
209
|
+
name: "qrCode"
|
|
210
|
+
}, {
|
|
211
|
+
default: b(() => [
|
|
212
|
+
u("div", Oe, [
|
|
213
|
+
u("img", {
|
|
214
|
+
src: V.value.qrcodeUrl,
|
|
215
|
+
style: le({ opacity: k.value ? 0.02 : 1 }),
|
|
216
|
+
alt: "二维码"
|
|
217
|
+
}, null, 12, We),
|
|
218
|
+
re(u("div", null, [
|
|
219
|
+
l[6] || (l[6] = u("div", null, "二维码已过期", -1)),
|
|
220
|
+
u("div", { onClick: L }, "点击刷新")
|
|
221
|
+
], 512), [
|
|
222
|
+
[se, k.value]
|
|
223
|
+
])
|
|
224
|
+
]),
|
|
225
|
+
l[7] || (l[7] = u("div", null, "微信扫一扫登录", -1))
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}),
|
|
229
|
+
i(h, {
|
|
230
|
+
label: "账号登录",
|
|
231
|
+
name: "user"
|
|
232
|
+
}, {
|
|
233
|
+
default: b(() => [
|
|
234
|
+
i(G, {
|
|
235
|
+
ref_key: "formRef",
|
|
236
|
+
ref: d,
|
|
237
|
+
model: t.value,
|
|
238
|
+
rules: c.value
|
|
239
|
+
}, {
|
|
240
|
+
default: b(() => [
|
|
241
|
+
i(S, { prop: "username" }, {
|
|
242
|
+
default: b(() => [
|
|
243
|
+
i(w, {
|
|
244
|
+
modelValue: t.value.username,
|
|
245
|
+
"onUpdate:modelValue": l[0] || (l[0] = (I) => t.value.username = I),
|
|
246
|
+
placeholder: r.$t("login.username")
|
|
247
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
}),
|
|
251
|
+
i(S, { prop: "password" }, {
|
|
252
|
+
default: b(() => [
|
|
253
|
+
i(w, {
|
|
254
|
+
modelValue: t.value.password,
|
|
255
|
+
"onUpdate:modelValue": l[1] || (l[1] = (I) => t.value.password = I),
|
|
256
|
+
placeholder: r.$t("login.password"),
|
|
257
|
+
type: "password",
|
|
258
|
+
"show-password": "",
|
|
259
|
+
onKeyup: N(v, ["enter"])
|
|
260
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}),
|
|
264
|
+
i(S, { prop: "captchaCode" }, {
|
|
265
|
+
default: b(() => [
|
|
266
|
+
u("div", $e, [
|
|
267
|
+
i(w, {
|
|
268
|
+
style: { width: "65%" },
|
|
269
|
+
modelValue: t.value.captchaCode,
|
|
270
|
+
"onUpdate:modelValue": l[2] || (l[2] = (I) => t.value.captchaCode = I),
|
|
271
|
+
placeholder: r.$t("login.captchaCode"),
|
|
272
|
+
onKeyup: N(v, ["enter"])
|
|
273
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
274
|
+
u("img", {
|
|
275
|
+
class: "flex-1 h-[40px] cursor-pointer ml-2",
|
|
276
|
+
src: E.value,
|
|
277
|
+
onClick: g,
|
|
278
|
+
alt: "验证码"
|
|
279
|
+
}, null, 8, xe)
|
|
280
|
+
])
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}),
|
|
284
|
+
i(q, {
|
|
285
|
+
loading: s.value,
|
|
286
|
+
type: "primary",
|
|
287
|
+
class: "w-full",
|
|
288
|
+
onClick: ae(v, ["prevent"])
|
|
289
|
+
}, {
|
|
290
|
+
default: b(() => [
|
|
291
|
+
ie(ue(r.$t("login.login")), 1)
|
|
292
|
+
]),
|
|
293
|
+
_: 1
|
|
294
|
+
}, 8, ["loading"])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["model", "rules"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
})
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
}, 8, ["modelValue"])
|
|
304
|
+
]),
|
|
305
|
+
_: 1
|
|
306
|
+
}, 8, ["device"])
|
|
307
|
+
]);
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
}), Ke = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-043d7737"]]);
|
|
311
|
+
export {
|
|
312
|
+
Ke as default
|
|
313
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { defineComponent as C, ref as c, resolveComponent as _, resolveDirective as D, createElementBlock as g, openBlock as p, createElementVNode as t, createVNode as l, withCtx as r, toDisplayString as o, withDirectives as T, createBlock as Y, createTextVNode as k } from "vue";
|
|
2
|
+
import { useRouter as w } from "vue-router";
|
|
3
|
+
import { T as H, m as v } from "./trend-C4uCFrLb.mjs";
|
|
4
|
+
import { t as M } from "./tokenExt-SHK5rrb5.mjs";
|
|
5
|
+
import { useUserStore as E } from "jmash-core";
|
|
6
|
+
import { h as x } from "./index-I-KFULpq.mjs";
|
|
7
|
+
import { C as f } from "./constant-CtDv38CM.mjs";
|
|
8
|
+
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const b = { class: "app" }, P = { class: "app-title" }, B = { class: "row-container" }, R = { class: "tatals" }, S = { class: "tatal" }, V = { class: "text" }, I = { class: "tatal" }, F = { class: "text" }, U = { class: "tatal" }, j = { class: "text" }, q = { class: "tatal" }, z = { class: "text" }, G = { class: "tatals" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "tatal" }, W = { class: "text" }, X = { class: "tatal" }, Z = { class: "text" }, $ = { class: "app-title-time" }, tt = { class: "chart-header" }, et = /* @__PURE__ */ C({
|
|
10
|
+
__name: "index",
|
|
11
|
+
setup(st) {
|
|
12
|
+
const i = w(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = c({}), n = c({});
|
|
13
|
+
(async () => {
|
|
14
|
+
try {
|
|
15
|
+
v.homePageAmount({
|
|
16
|
+
analysisTimeStart: m,
|
|
17
|
+
analysisTimeEnd: m
|
|
18
|
+
}).then((s) => {
|
|
19
|
+
n.value = {
|
|
20
|
+
orderCount: s.data.orderCount,
|
|
21
|
+
tradeAmount: s.data.tradeAmount,
|
|
22
|
+
feeAmt: s.data.feeAmt,
|
|
23
|
+
settleAmount: s.data.settleAmount
|
|
24
|
+
};
|
|
25
|
+
}), v.homePageAmount({
|
|
26
|
+
analysisTimeStart: u,
|
|
27
|
+
analysisTimeEnd: u
|
|
28
|
+
}).then((s) => {
|
|
29
|
+
a.value = {
|
|
30
|
+
orderCount: s.data.orderCount,
|
|
31
|
+
tradeAmount: s.data.tradeAmount,
|
|
32
|
+
feeAmt: s.data.feeAmt,
|
|
33
|
+
settleAmount: s.data.settleAmount
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
} catch (s) {
|
|
37
|
+
console.error("暂无数据", s);
|
|
38
|
+
}
|
|
39
|
+
})();
|
|
40
|
+
const h = () => {
|
|
41
|
+
const s = M.getCurrentRole(E().user.tenant);
|
|
42
|
+
[f.MCHT_CHAIN_HEAD, f.MCHT_CHAIN_BRANCH].includes(
|
|
43
|
+
s.storeType
|
|
44
|
+
) ? i.push({
|
|
45
|
+
path: "/payment/pay-trade"
|
|
46
|
+
}) : i.push({
|
|
47
|
+
path: "/payment/pay-trade-personal"
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
return (s, e) => {
|
|
51
|
+
const d = _("el-card"), y = _("el-button"), A = D("hasPerm");
|
|
52
|
+
return p(), g("div", null, [
|
|
53
|
+
t("div", b, [
|
|
54
|
+
t("div", P, [
|
|
55
|
+
t("div", B, [
|
|
56
|
+
l(d, { class: "card-never" }, {
|
|
57
|
+
default: r(() => [
|
|
58
|
+
e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
|
|
59
|
+
t("div", R, [
|
|
60
|
+
t("div", S, [
|
|
61
|
+
t("text", V, o(a.value.orderCount || 0), 1),
|
|
62
|
+
e[0] || (e[0] = t("text", null, "交易笔数", -1))
|
|
63
|
+
]),
|
|
64
|
+
t("div", I, [
|
|
65
|
+
t("text", F, o(a.value.tradeAmount || 0), 1),
|
|
66
|
+
e[1] || (e[1] = t("text", null, " 交易金额", -1))
|
|
67
|
+
]),
|
|
68
|
+
t("div", U, [
|
|
69
|
+
t("text", j, o(a.value.feeAmt || 0), 1),
|
|
70
|
+
e[2] || (e[2] = t("text", null, " 手续费", -1))
|
|
71
|
+
]),
|
|
72
|
+
t("div", q, [
|
|
73
|
+
t("text", z, o(a.value.settleAmount || "暂无结算"), 1),
|
|
74
|
+
e[3] || (e[3] = t("text", null, " 结算金额", -1))
|
|
75
|
+
])
|
|
76
|
+
])
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}),
|
|
80
|
+
l(d, { class: "card-never" }, {
|
|
81
|
+
default: r(() => [
|
|
82
|
+
e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
|
|
83
|
+
t("div", G, [
|
|
84
|
+
t("div", J, [
|
|
85
|
+
t("text", K, o(n.value.orderCount || 0), 1),
|
|
86
|
+
e[5] || (e[5] = t("text", null, "交易笔数", -1))
|
|
87
|
+
]),
|
|
88
|
+
t("div", L, [
|
|
89
|
+
t("text", O, o(n.value.tradeAmount || 0), 1),
|
|
90
|
+
e[6] || (e[6] = t("text", null, " 交易金额", -1))
|
|
91
|
+
]),
|
|
92
|
+
t("div", Q, [
|
|
93
|
+
t("text", W, o(n.value.feeAmt || 0), 1),
|
|
94
|
+
e[7] || (e[7] = t("text", null, " 手续费", -1))
|
|
95
|
+
]),
|
|
96
|
+
t("div", X, [
|
|
97
|
+
t("text", Z, o(n.value.settleAmount || "暂无结算"), 1),
|
|
98
|
+
e[8] || (e[8] = t("text", null, " 结算金额", -1))
|
|
99
|
+
])
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
})
|
|
104
|
+
])
|
|
105
|
+
])
|
|
106
|
+
]),
|
|
107
|
+
t("div", $, [
|
|
108
|
+
l(d, { class: "card-chart" }, {
|
|
109
|
+
default: r(() => [
|
|
110
|
+
t("div", tt, [
|
|
111
|
+
e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势 ", -1)),
|
|
112
|
+
T((p(), Y(y, {
|
|
113
|
+
type: "primary",
|
|
114
|
+
link: "",
|
|
115
|
+
onClick: h
|
|
116
|
+
}, {
|
|
117
|
+
default: r(() => e[10] || (e[10] = [
|
|
118
|
+
k(" 查看更多 ")
|
|
119
|
+
])),
|
|
120
|
+
_: 1
|
|
121
|
+
})), [
|
|
122
|
+
[A, ["payment:trade_analysis:view"]]
|
|
123
|
+
])
|
|
124
|
+
]),
|
|
125
|
+
l(H)
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})
|
|
129
|
+
])
|
|
130
|
+
]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}), ct = /* @__PURE__ */ N(et, [["__scopeId", "data-v-47f01433"]]);
|
|
134
|
+
export {
|
|
135
|
+
ct as default
|
|
136
|
+
};
|