xyvcard-settle 0.0.32 → 0.0.34
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-B7h6umTa.mjs → history-BC3TB9eA.mjs} +1 -1
- package/dist/{history-DJpkp996.mjs → history-BUclRbel.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-Cd1HTqlw.mjs +355 -0
- package/dist/{history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs → history.vue_vue_type_script_setup_true_lang-Ckmyrwct.mjs} +185 -165
- package/dist/{index-C7SyVjkv.mjs → index-B81N3bxj.mjs} +8 -8
- package/dist/{index-CjnGDPpK.mjs → index-BzQRjJke.mjs} +1 -1
- package/dist/index-C4I9aQCw.mjs +238 -0
- package/dist/{index-D0TmvQVF.mjs → index-C7mTT8UR.mjs} +144 -124
- package/dist/{index-BMu6LbUO.mjs → index-CL6yVyGz.mjs} +283 -263
- package/dist/index-CZpZionn.mjs +449 -0
- package/dist/{index-DzwVe4IZ.mjs → index-CgthiwpC.mjs} +126 -106
- package/dist/{index-BUFIww-v.mjs → index-Cjw03ApZ.mjs} +419 -418
- package/dist/{index-zsIaZMNT.mjs → index-D9OMutL6.mjs} +2 -1
- package/dist/{index-C2xcDRi4.mjs → index-DcOxpuPI.mjs} +2 -2
- package/dist/{index-DTKuEs0C.mjs → index-GU7-SzuX.mjs} +45 -45
- package/dist/{index-BeWMoc5O.mjs → index-e2Wzbnr7.mjs} +28 -28
- package/dist/{index-DO9NFUT1.mjs → index-ziENx26r.mjs} +287 -266
- package/dist/index.mjs +1 -1
- package/dist/{merchant-DgUIa-Xb.mjs → merchant-BENZD2R4.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.mjs → merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs} +1 -1
- package/dist/{pay-ChPqdw_2.mjs → pay-DabqR8eb.mjs} +1 -1
- package/dist/{payPal-BaaqnTEd.mjs → payPal-C7Ttt6mf.mjs} +1 -1
- package/dist/{sale-DRffAw0b.mjs → sale-Cki0rZ6-.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs → sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-BCH2VB3u.mjs → today-zzTtFFaz.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.mjs → today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs} +28 -28
- package/dist/{trend-DMpZSOlJ.mjs → trend-3ibJo3lK.mjs} +1 -1
- package/dts/src/api/settle/agent-settle/types.d.ts +1 -1
- package/dts/src/api/settle/insts-settle/types.d.ts +1 -1
- package/dts/src/api/settle/mcht-homePage/types.d.ts +1 -1
- package/package.json +11 -11
- package/dist/history.vue_vue_type_script_setup_true_lang-fBUUTlwi.mjs +0 -335
- package/dist/index-DsIwC6AS.mjs +0 -238
- package/dist/index-DwKRJ0NX.mjs +0 -429
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, ref as p, resolveComponent as s, createElementBlock as i, openBlock as d, createElementVNode as u, createVNode as e, withCtx as n } from "vue";
|
|
2
|
-
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Ckmyrwct.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import { defineComponent as A, ref as
|
|
1
|
+
import { defineComponent as A, ref as _, resolveComponent as c, createElementBlock as h, openBlock as y, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, createTextVNode as C } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { T as D, m as p } from "./trend-iT9IXU1F.mjs";
|
|
4
|
-
import { h as x } from "./index-
|
|
4
|
+
import { h as x } from "./index-Cjw03ApZ.mjs";
|
|
5
5
|
import { t as T } from "./tokenExt-SHK5rrb5.mjs";
|
|
6
6
|
import { useUserStore as Y } from "jmash-core";
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
7
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-container" }, E = { class: "tatals" }, N = { class: "tatal" }, w = { class: "text" }, R = { class: "tatal" }, S = { class: "text" }, V = { class: "tatal" }, B = { class: "text" }, I = { class: "tatal" }, P = { class: "text" }, F = { class: "tatals" }, U = { class: "tatal" }, j = { class: "text" }, q = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, J = { class: "text" }, K = { class: "tatal" }, L = { class: "text" }, O = { class: "app-title-time" }, Q = { class: "chart-header" }, W = /* @__PURE__ */ A({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(X) {
|
|
11
|
-
const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a =
|
|
11
|
+
const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
|
|
12
12
|
(async () => {
|
|
13
13
|
try {
|
|
14
14
|
p.homePageAmount({
|
|
15
15
|
analysisTimeStart: m,
|
|
16
16
|
analysisTimeEnd: m
|
|
17
|
-
}).then((
|
|
17
|
+
}).then((s) => {
|
|
18
18
|
n.value = {
|
|
19
|
-
orderCount:
|
|
20
|
-
|
|
21
|
-
feeAmt:
|
|
22
|
-
settleAmount:
|
|
19
|
+
orderCount: s.data.orderCount,
|
|
20
|
+
tradeAmount: s.data.tradeAmount,
|
|
21
|
+
feeAmt: s.data.feeAmt,
|
|
22
|
+
settleAmount: s.data.settleAmount
|
|
23
23
|
};
|
|
24
24
|
}), p.homePageAmount({
|
|
25
25
|
analysisTimeStart: u,
|
|
26
26
|
analysisTimeEnd: u
|
|
27
|
-
}).then((
|
|
27
|
+
}).then((s) => {
|
|
28
28
|
a.value = {
|
|
29
|
-
orderCount:
|
|
30
|
-
|
|
31
|
-
feeAmt:
|
|
32
|
-
settleAmount:
|
|
29
|
+
orderCount: s.data.orderCount,
|
|
30
|
+
tradeAmount: s.data.tradeAmount,
|
|
31
|
+
feeAmt: s.data.feeAmt,
|
|
32
|
+
settleAmount: s.data.settleAmount
|
|
33
33
|
};
|
|
34
34
|
});
|
|
35
|
-
} catch (
|
|
36
|
-
console.error("暂无数据",
|
|
35
|
+
} catch (s) {
|
|
36
|
+
console.error("暂无数据", s);
|
|
37
37
|
}
|
|
38
38
|
})();
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(
|
|
39
|
+
const v = () => {
|
|
40
|
+
const s = T.getCurrentRole(Y().user.tenant);
|
|
41
|
+
["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(s.storeType) ? i.push({
|
|
42
42
|
path: "/payment/pay-trade"
|
|
43
43
|
}) : i.push({
|
|
44
44
|
path: "/payment/pay-trade-personal"
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
return (
|
|
48
|
-
const
|
|
47
|
+
return (s, e) => {
|
|
48
|
+
const r = c("el-card"), f = c("el-button");
|
|
49
49
|
return y(), h("div", null, [
|
|
50
|
-
t("div",
|
|
51
|
-
t("div",
|
|
52
|
-
t("div",
|
|
53
|
-
l(
|
|
54
|
-
default:
|
|
50
|
+
t("div", H, [
|
|
51
|
+
t("div", M, [
|
|
52
|
+
t("div", k, [
|
|
53
|
+
l(r, { class: "card-never" }, {
|
|
54
|
+
default: d(() => [
|
|
55
55
|
e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
|
|
56
|
-
t("div",
|
|
57
|
-
t("div",
|
|
58
|
-
t("text", w,
|
|
56
|
+
t("div", E, [
|
|
57
|
+
t("div", N, [
|
|
58
|
+
t("text", w, o(a.value.orderCount || 0), 1),
|
|
59
59
|
e[0] || (e[0] = t("text", null, "交易笔数", -1))
|
|
60
60
|
]),
|
|
61
61
|
t("div", R, [
|
|
62
|
-
t("text", S,
|
|
62
|
+
t("text", S, o(a.value.tradeAmount || 0), 1),
|
|
63
63
|
e[1] || (e[1] = t("text", null, " 交易金额", -1))
|
|
64
64
|
]),
|
|
65
65
|
t("div", V, [
|
|
66
|
-
t("text", B,
|
|
66
|
+
t("text", B, o(a.value.feeAmt || 0), 1),
|
|
67
67
|
e[2] || (e[2] = t("text", null, " 手续费", -1))
|
|
68
68
|
]),
|
|
69
69
|
t("div", I, [
|
|
70
|
-
t("text", P,
|
|
70
|
+
t("text", P, o(a.value.settleAmount || "暂无结算"), 1),
|
|
71
71
|
e[3] || (e[3] = t("text", null, " 结算金额", -1))
|
|
72
72
|
])
|
|
73
73
|
])
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
76
|
}),
|
|
77
|
-
l(
|
|
78
|
-
default:
|
|
77
|
+
l(r, { class: "card-never" }, {
|
|
78
|
+
default: d(() => [
|
|
79
79
|
e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
|
|
80
80
|
t("div", F, [
|
|
81
81
|
t("div", U, [
|
|
82
|
-
t("text", j,
|
|
82
|
+
t("text", j, o(n.value.orderCount || 0), 1),
|
|
83
83
|
e[5] || (e[5] = t("text", null, "交易笔数", -1))
|
|
84
84
|
]),
|
|
85
85
|
t("div", q, [
|
|
86
|
-
t("text", z,
|
|
86
|
+
t("text", z, o(n.value.tradeAmount || 0), 1),
|
|
87
87
|
e[6] || (e[6] = t("text", null, " 交易金额", -1))
|
|
88
88
|
]),
|
|
89
89
|
t("div", G, [
|
|
90
|
-
t("text", J,
|
|
90
|
+
t("text", J, o(n.value.feeAmt || 0), 1),
|
|
91
91
|
e[7] || (e[7] = t("text", null, " 手续费", -1))
|
|
92
92
|
]),
|
|
93
93
|
t("div", K, [
|
|
94
|
-
t("text", L,
|
|
94
|
+
t("text", L, o(n.value.settleAmount || "暂无结算"), 1),
|
|
95
95
|
e[8] || (e[8] = t("text", null, " 结算金额", -1))
|
|
96
96
|
])
|
|
97
97
|
])
|
|
@@ -102,16 +102,16 @@ const M = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
|
|
|
102
102
|
])
|
|
103
103
|
]),
|
|
104
104
|
t("div", O, [
|
|
105
|
-
l(
|
|
106
|
-
default:
|
|
105
|
+
l(r, { class: "card-chart" }, {
|
|
106
|
+
default: d(() => [
|
|
107
107
|
t("div", Q, [
|
|
108
108
|
e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势 ", -1)),
|
|
109
|
-
l(
|
|
109
|
+
l(f, {
|
|
110
110
|
type: "primary",
|
|
111
111
|
link: "",
|
|
112
|
-
onClick:
|
|
112
|
+
onClick: v
|
|
113
113
|
}, {
|
|
114
|
-
default:
|
|
114
|
+
default: d(() => e[10] || (e[10] = [
|
|
115
115
|
C(" 查看更多 ")
|
|
116
116
|
])),
|
|
117
117
|
_: 1
|
|
@@ -125,7 +125,7 @@ const M = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
|
|
|
125
125
|
]);
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
}), lt = /* @__PURE__ */
|
|
128
|
+
}), lt = /* @__PURE__ */ b(W, [["__scopeId", "data-v-7b7b80a2"]]);
|
|
129
129
|
export {
|
|
130
130
|
lt as default
|
|
131
131
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as
|
|
1
|
+
import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-eUhFgNKx.mjs";
|
|
4
4
|
import E from "./pay-CFNzmo6x.mjs";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import b from "./payPal-J41FJEQT.mjs";
|
|
6
|
+
import S from "./trend-D8pStiQ5.mjs";
|
|
7
7
|
import { C as N } from "./index-CxsNyMdg.mjs";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" }, F = { class: "tatals" }, O = { class: "tatal" }, Q = { class: "text" }, U = { class: "tatal" }, $ = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "app-title" }, K = { class: "app-title-time" }, L = { class: "chart-header" }, W = /* @__PURE__ */ M({
|
|
@@ -12,27 +12,27 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
12
12
|
const D = V(), { proxy: y } = A(), m = p({
|
|
13
13
|
analysisTimeStart: "",
|
|
14
14
|
analysisTimeEnd: ""
|
|
15
|
-
}), o = p({}), l = p([]), r = (
|
|
16
|
-
const
|
|
17
|
-
t.setDate(
|
|
15
|
+
}), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
|
|
16
|
+
const a = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
|
|
17
|
+
t.setDate(a.getDate() - 6), l.value = [
|
|
18
18
|
r(t, "YYYY-MM-DD"),
|
|
19
|
-
r(
|
|
20
|
-
], x(t,
|
|
21
|
-
}, x = (
|
|
19
|
+
r(a, "YYYY-MM-DD")
|
|
20
|
+
], x(t, a), f();
|
|
21
|
+
}, x = (a, t) => {
|
|
22
22
|
m.value = {
|
|
23
|
-
analysisTimeStart: r(
|
|
23
|
+
analysisTimeStart: r(a),
|
|
24
24
|
analysisTimeEnd: r(t)
|
|
25
25
|
};
|
|
26
26
|
}, f = async () => {
|
|
27
|
-
const
|
|
28
|
-
o.value =
|
|
29
|
-
}, Y = (
|
|
30
|
-
if (!
|
|
27
|
+
const a = await k.homePageAmount(m.value);
|
|
28
|
+
o.value = a.data;
|
|
29
|
+
}, Y = (a) => {
|
|
30
|
+
if (!a || a.length !== 2) {
|
|
31
31
|
v();
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
l.value =
|
|
35
|
-
const [t, c] =
|
|
34
|
+
l.value = a;
|
|
35
|
+
const [t, c] = a;
|
|
36
36
|
m.value = {
|
|
37
37
|
analysisTimeStart: t,
|
|
38
38
|
analysisTimeEnd: c
|
|
@@ -46,16 +46,16 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
46
46
|
path: "/payment/pay-trade"
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
-
return (
|
|
49
|
+
return (a, t) => {
|
|
50
50
|
const c = u("el-date-picker"), i = u("el-card"), g = u("el-button");
|
|
51
51
|
return P(), w("div", null, [
|
|
52
52
|
e("div", B, [
|
|
53
53
|
e("div", I, [
|
|
54
|
-
|
|
54
|
+
s(i, { class: "card-never" }, {
|
|
55
55
|
default: n(() => [
|
|
56
56
|
e("div", q, [
|
|
57
57
|
t[1] || (t[1] = e("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
|
|
58
|
-
|
|
58
|
+
s(c, {
|
|
59
59
|
modelValue: l.value,
|
|
60
60
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => l.value = C),
|
|
61
61
|
type: "daterange",
|
|
@@ -73,7 +73,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
73
73
|
t[2] || (t[2] = e("text", null, "交易笔数", -1))
|
|
74
74
|
]),
|
|
75
75
|
e("div", U, [
|
|
76
|
-
e("text", $, d(o.value.
|
|
76
|
+
e("text", $, d(o.value.tradeAmount || 0), 1),
|
|
77
77
|
t[3] || (t[3] = e("text", null, " 交易金额", -1))
|
|
78
78
|
]),
|
|
79
79
|
e("div", j, [
|
|
@@ -88,36 +88,36 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
}),
|
|
91
|
-
|
|
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
|
-
|
|
94
|
+
s(b, { class: "pay" })
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
})
|
|
98
98
|
]),
|
|
99
99
|
e("div", J, [
|
|
100
|
-
|
|
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
|
-
|
|
106
|
+
s(E)
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
109
|
})
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
e("div", K, [
|
|
113
|
-
|
|
113
|
+
s(i, { class: "card-chart" }, {
|
|
114
114
|
default: n(() => [
|
|
115
115
|
e("div", L, [
|
|
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
|
+
s(g, {
|
|
121
121
|
type: "text",
|
|
122
122
|
class: "view-more",
|
|
123
123
|
onClick: h
|
|
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
128
128
|
_: 1
|
|
129
129
|
})
|
|
130
130
|
]),
|
|
131
|
-
|
|
131
|
+
s(S)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
})
|
|
@@ -136,7 +136,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
136
136
|
]);
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
}), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-
|
|
139
|
+
}), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-910b68c5"]]);
|
|
140
140
|
export {
|
|
141
141
|
rt as default
|
|
142
142
|
};
|