xyvcard-settle 0.0.41 → 0.0.43
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-Djpk-wxw.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-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-Doq8ZiUn.mjs +136 -0
- package/dist/{index-BAU8_bL5.mjs → index-DsTHP6ez.mjs} +66 -64
- package/dist/{index-TLbN5F_1.mjs → index-I-KFULpq.mjs} +425 -422
- package/dist/{index-uB6SZpRm.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/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/package.json +3 -3
- package/dist/history.vue_vue_type_script_setup_true_lang-DuKstKV7.mjs +0 -458
- package/dist/index-BOYpCJFd.mjs +0 -756
- package/dist/index-CAOauGAU.mjs +0 -605
- package/dist/index-Che5xN0z.mjs +0 -603
- package/dist/index-RBvZYqWi.mjs +0 -134
- package/dist/pay-ddopuD-7.mjs +0 -98
- package/dist/payPal-Bp_Ivr7P.mjs +0 -110
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { s as
|
|
4
|
-
import { C as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { _ as
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as A, getCurrentInstance as T, ref as p, onMounted as P, resolveComponent as u, resolveDirective as V, createElementBlock as k, openBlock as D, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _, withDirectives as E, createBlock as S } from "vue";
|
|
2
|
+
import { useRouter as b } from "vue-router";
|
|
3
|
+
import { s as B } from "./index-eUhFgNKx.mjs";
|
|
4
|
+
import { C as N } from "./constant-CtDv38CM.mjs";
|
|
5
|
+
import R from "./pay-BK10dbR-.mjs";
|
|
6
|
+
import I from "./payPal-C5Hhq3pQ.mjs";
|
|
7
|
+
import q from "./trend-BrSUujKu.mjs";
|
|
8
|
+
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const O = { class: "app" }, Q = { class: "app-title" }, U = { class: "title" }, $ = { class: "tatals" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, W = { class: "text" }, X = { class: "app-title" }, Z = { class: "app-title-time" }, tt = { class: "chart-header" }, et = /* @__PURE__ */ A({
|
|
10
10
|
__name: "index",
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
11
|
+
setup(at) {
|
|
12
|
+
const y = b(), { proxy: x } = T(), c = p({
|
|
13
13
|
analysisTimeStart: "",
|
|
14
14
|
analysisTimeEnd: ""
|
|
15
|
-
}), o = p({}), l = p([]), r = (a, t =
|
|
15
|
+
}), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => x.$moment.formatDate(a, t), v = () => {
|
|
16
16
|
const a = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
|
|
17
17
|
t.setDate(a.getDate() - 6), l.value = [
|
|
18
18
|
r(t, "YYYY-MM-DD"),
|
|
19
19
|
r(a, "YYYY-MM-DD")
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
|
|
20
|
+
], h(t, a), f();
|
|
21
|
+
}, h = (a, t) => {
|
|
22
|
+
c.value = {
|
|
23
23
|
analysisTimeStart: r(a),
|
|
24
24
|
analysisTimeEnd: r(t)
|
|
25
25
|
};
|
|
26
26
|
}, f = async () => {
|
|
27
|
-
const a = await
|
|
27
|
+
const a = await B.homePageAmount(c.value);
|
|
28
28
|
o.value = a.data;
|
|
29
29
|
}, Y = (a) => {
|
|
30
30
|
if (!a || a.length !== 2) {
|
|
@@ -32,32 +32,32 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
34
|
l.value = a;
|
|
35
|
-
const [t,
|
|
36
|
-
|
|
35
|
+
const [t, m] = a;
|
|
36
|
+
c.value = {
|
|
37
37
|
analysisTimeStart: t,
|
|
38
|
-
analysisTimeEnd:
|
|
38
|
+
analysisTimeEnd: m
|
|
39
39
|
}, f();
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
P(() => {
|
|
42
42
|
v();
|
|
43
43
|
});
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const g = () => {
|
|
45
|
+
y.push({
|
|
46
46
|
path: "/payment/pay-trade"
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
49
|
return (a, t) => {
|
|
50
|
-
const
|
|
51
|
-
return
|
|
52
|
-
e("div",
|
|
53
|
-
e("div",
|
|
54
|
-
s(
|
|
50
|
+
const m = u("el-date-picker"), i = u("el-card"), C = u("el-button"), M = V("hasPerm");
|
|
51
|
+
return D(), k("div", null, [
|
|
52
|
+
e("div", O, [
|
|
53
|
+
e("div", Q, [
|
|
54
|
+
s(i, { class: "card-never" }, {
|
|
55
55
|
default: n(() => [
|
|
56
|
-
e("div",
|
|
56
|
+
e("div", U, [
|
|
57
57
|
t[1] || (t[1] = e("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
|
|
58
|
-
s(
|
|
58
|
+
s(m, {
|
|
59
59
|
modelValue: l.value,
|
|
60
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
60
|
+
"onUpdate:modelValue": t[0] || (t[0] = (w) => l.value = w),
|
|
61
61
|
type: "daterange",
|
|
62
62
|
"range-separator": "-",
|
|
63
63
|
"start-placeholder": "开始日期",
|
|
@@ -67,68 +67,70 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
67
67
|
onChange: Y
|
|
68
68
|
}, null, 8, ["modelValue"])
|
|
69
69
|
]),
|
|
70
|
-
e("div",
|
|
71
|
-
e("div",
|
|
72
|
-
e("text",
|
|
70
|
+
e("div", $, [
|
|
71
|
+
e("div", j, [
|
|
72
|
+
e("text", z, d(o.value.orderCount || 0), 1),
|
|
73
73
|
t[2] || (t[2] = e("text", null, "交易笔数", -1))
|
|
74
74
|
]),
|
|
75
|
-
e("div",
|
|
76
|
-
e("text",
|
|
75
|
+
e("div", G, [
|
|
76
|
+
e("text", H, d(o.value.tradeAmount || 0), 1),
|
|
77
77
|
t[3] || (t[3] = e("text", null, " 交易金额", -1))
|
|
78
78
|
]),
|
|
79
|
-
e("div",
|
|
80
|
-
e("text",
|
|
79
|
+
e("div", J, [
|
|
80
|
+
e("text", K, d(o.value.feeAmt || 0), 1),
|
|
81
81
|
t[4] || (t[4] = e("text", null, " 手续费", -1))
|
|
82
82
|
]),
|
|
83
|
-
e("div",
|
|
84
|
-
e("text",
|
|
83
|
+
e("div", L, [
|
|
84
|
+
e("text", W, d(o.value.settleAmount || 0), 1),
|
|
85
85
|
t[5] || (t[5] = e("text", null, " 结算金额", -1))
|
|
86
86
|
])
|
|
87
87
|
])
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
}),
|
|
91
|
-
s(
|
|
91
|
+
s(i, { class: "card-never card-paypal" }, {
|
|
92
92
|
default: n(() => [
|
|
93
93
|
t[6] || (t[6] = e("div", { class: "title" }, "近7日汇总-支付方式", -1)),
|
|
94
|
-
s(
|
|
94
|
+
s(I, { class: "pay" })
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
})
|
|
98
98
|
]),
|
|
99
|
-
e("div",
|
|
100
|
-
s(
|
|
99
|
+
e("div", X, [
|
|
100
|
+
s(i, { class: "card-number" }, {
|
|
101
101
|
default: n(() => [
|
|
102
102
|
t[7] || (t[7] = e("div", { class: "title" }, [
|
|
103
103
|
_(" 交易金额排名 "),
|
|
104
104
|
e("span", { style: { "font-weight": "normal" } }, "(近7日)")
|
|
105
105
|
], -1)),
|
|
106
|
-
s(
|
|
106
|
+
s(R)
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
109
|
})
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
|
-
e("div",
|
|
113
|
-
s(
|
|
112
|
+
e("div", Z, [
|
|
113
|
+
s(i, { class: "card-chart" }, {
|
|
114
114
|
default: n(() => [
|
|
115
|
-
e("div",
|
|
115
|
+
e("div", tt, [
|
|
116
116
|
t[9] || (t[9] = e("span", { class: "chart-title" }, [
|
|
117
117
|
_(" 交易金额趋势 "),
|
|
118
118
|
e("span", { style: { "font-weight": "normal" } }, " (近7日) ")
|
|
119
119
|
], -1)),
|
|
120
|
-
|
|
120
|
+
E((D(), S(C, {
|
|
121
121
|
type: "text",
|
|
122
122
|
class: "view-more",
|
|
123
|
-
onClick:
|
|
123
|
+
onClick: g
|
|
124
124
|
}, {
|
|
125
125
|
default: n(() => t[8] || (t[8] = [
|
|
126
126
|
_(" 查看更多 ")
|
|
127
127
|
])),
|
|
128
128
|
_: 1
|
|
129
|
-
})
|
|
129
|
+
})), [
|
|
130
|
+
[M, ["payment:trade_analysis:view"]]
|
|
131
|
+
])
|
|
130
132
|
]),
|
|
131
|
-
s(
|
|
133
|
+
s(q)
|
|
132
134
|
]),
|
|
133
135
|
_: 1
|
|
134
136
|
})
|
|
@@ -136,7 +138,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
136
138
|
]);
|
|
137
139
|
};
|
|
138
140
|
}
|
|
139
|
-
}),
|
|
141
|
+
}), mt = /* @__PURE__ */ F(et, [["__scopeId", "data-v-2a5a3050"]]);
|
|
140
142
|
export {
|
|
141
|
-
|
|
143
|
+
mt as default
|
|
142
144
|
};
|