xyvcard-settle 0.0.35 → 0.0.36
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/constant-D4ZF_7dk.mjs +24 -0
- package/dist/{history-DppKTWsM.mjs → history-B-IkqJIh.mjs} +1 -1
- package/dist/{history-Dv2zWu7t.mjs → history-Bwh8KkP3.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs → history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs} +4 -3
- package/dist/{history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs → history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs} +4 -3
- package/dist/{index-B7xd6ock.mjs → index-2s-MEXAI.mjs} +2 -2
- package/dist/{index--ePSl3VP.mjs → index-7mx7BVcy.mjs} +163 -161
- package/dist/{index-CFBavxqo.mjs → index-BTklOG4u.mjs} +45 -42
- package/dist/{index-e2Wzbnr7.mjs → index-CIgkwH9Q.mjs} +18 -18
- package/dist/{index-CTi-ETJs.mjs → index-CkZwAxic.mjs} +5 -4
- package/dist/{index-B81N3bxj.mjs → index-CoFF2Ob7.mjs} +8 -8
- package/dist/{index-Zo3QX_fX.mjs → index-DALnGGtE.mjs} +2 -2
- package/dist/{index-B1T6GA_X.mjs → index-DIBoxi0R.mjs} +5 -4
- package/dist/{index-ydbomkpG.mjs → index-DcFBsML4.mjs} +8 -7
- package/dist/{index-DHS0CvTn.mjs → index-Dd8mEaP-.mjs} +5 -4
- package/dist/{index-BV7Yx1ZN.mjs → index-cRii9rLo.mjs} +4 -3
- package/dist/index-vAEKctTI.mjs +92 -0
- package/dist/index.mjs +1 -1
- package/dist/{pay-DabqR8eb.mjs → pay-B83bWp1o.mjs} +1 -1
- package/dist/{pay-CFNzmo6x.mjs → pay-Cbkrx0kF.mjs} +1 -1
- package/dist/{payPal-J41FJEQT.mjs → payPal-CSXQDwtc.mjs} +15 -14
- package/dist/{payPal-C7Ttt6mf.mjs → payPal-CxeWojgW.mjs} +7 -6
- package/dist/style.css +1 -1
- package/dist/{today-A4CUV61Z.mjs → today-D-CvVI4s.mjs} +1 -1
- package/dist/{today-zzTtFFaz.mjs → today-fC0tD5z6.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs → today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs → today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs} +26 -26
- package/dist/{trend-D8pStiQ5.mjs → trend-BrSUujKu.mjs} +1 -1
- package/dist/{trend-iT9IXU1F.mjs → trend-C4uCFrLb.mjs} +1 -1
- package/dts/src/constant.d.ts +2 -0
- package/package.json +2 -2
- package/dist/index-CxsNyMdg.mjs +0 -110
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { T
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { defineComponent as h, ref as _, resolveComponent as c, createElementBlock as y, openBlock as C, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, createTextVNode as g } from "vue";
|
|
2
|
+
import { useRouter as D } from "vue-router";
|
|
3
|
+
import { T, m as p } from "./trend-C4uCFrLb.mjs";
|
|
4
|
+
import { t as Y } from "./tokenExt-SHK5rrb5.mjs";
|
|
5
|
+
import { useUserStore as H } from "jmash-core";
|
|
6
|
+
import { h as x } from "./index-DcFBsML4.mjs";
|
|
7
|
+
import { C as f } from "./constant-D4ZF_7dk.mjs";
|
|
8
|
+
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
|
+
const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-container" }, N = { class: "tatals" }, w = { class: "tatal" }, R = { class: "text" }, S = { class: "tatal" }, V = { class: "text" }, B = { class: "tatal" }, I = { class: "text" }, P = { class: "tatal" }, F = { class: "text" }, U = { class: "tatals" }, j = { class: "tatal" }, q = { class: "text" }, z = { class: "tatal" }, G = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "app-title-time" }, W = { class: "chart-header" }, X = /* @__PURE__ */ h({
|
|
9
10
|
__name: "index",
|
|
10
|
-
setup(
|
|
11
|
-
const i =
|
|
11
|
+
setup(Z) {
|
|
12
|
+
const i = D(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
|
|
12
13
|
(async () => {
|
|
13
14
|
try {
|
|
14
15
|
p.homePageAmount({
|
|
@@ -37,37 +38,39 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
37
38
|
}
|
|
38
39
|
})();
|
|
39
40
|
const v = () => {
|
|
40
|
-
const s =
|
|
41
|
-
[
|
|
41
|
+
const s = Y.getCurrentRole(H().user.tenant);
|
|
42
|
+
[f.MCHT_CHAIN_HEAD, f.MCHT_CHAIN_BRANCH].includes(
|
|
43
|
+
s.storeType
|
|
44
|
+
) ? i.push({
|
|
42
45
|
path: "/payment/pay-trade"
|
|
43
46
|
}) : i.push({
|
|
44
47
|
path: "/payment/pay-trade-personal"
|
|
45
48
|
});
|
|
46
49
|
};
|
|
47
50
|
return (s, e) => {
|
|
48
|
-
const r = c("el-card"),
|
|
49
|
-
return
|
|
50
|
-
t("div",
|
|
51
|
-
t("div",
|
|
52
|
-
t("div",
|
|
51
|
+
const r = c("el-card"), A = c("el-button");
|
|
52
|
+
return C(), y("div", null, [
|
|
53
|
+
t("div", b, [
|
|
54
|
+
t("div", k, [
|
|
55
|
+
t("div", E, [
|
|
53
56
|
l(r, { class: "card-never" }, {
|
|
54
57
|
default: d(() => [
|
|
55
58
|
e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
|
|
56
|
-
t("div",
|
|
57
|
-
t("div",
|
|
58
|
-
t("text",
|
|
59
|
+
t("div", N, [
|
|
60
|
+
t("div", w, [
|
|
61
|
+
t("text", R, o(a.value.orderCount || 0), 1),
|
|
59
62
|
e[0] || (e[0] = t("text", null, "交易笔数", -1))
|
|
60
63
|
]),
|
|
61
|
-
t("div",
|
|
62
|
-
t("text",
|
|
64
|
+
t("div", S, [
|
|
65
|
+
t("text", V, o(a.value.tradeAmount || 0), 1),
|
|
63
66
|
e[1] || (e[1] = t("text", null, " 交易金额", -1))
|
|
64
67
|
]),
|
|
65
|
-
t("div",
|
|
66
|
-
t("text",
|
|
68
|
+
t("div", B, [
|
|
69
|
+
t("text", I, o(a.value.feeAmt || 0), 1),
|
|
67
70
|
e[2] || (e[2] = t("text", null, " 手续费", -1))
|
|
68
71
|
]),
|
|
69
|
-
t("div",
|
|
70
|
-
t("text",
|
|
72
|
+
t("div", P, [
|
|
73
|
+
t("text", F, o(a.value.settleAmount || "暂无结算"), 1),
|
|
71
74
|
e[3] || (e[3] = t("text", null, " 结算金额", -1))
|
|
72
75
|
])
|
|
73
76
|
])
|
|
@@ -77,21 +80,21 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
77
80
|
l(r, { class: "card-never" }, {
|
|
78
81
|
default: d(() => [
|
|
79
82
|
e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
|
|
80
|
-
t("div",
|
|
81
|
-
t("div",
|
|
82
|
-
t("text",
|
|
83
|
+
t("div", U, [
|
|
84
|
+
t("div", j, [
|
|
85
|
+
t("text", q, o(n.value.orderCount || 0), 1),
|
|
83
86
|
e[5] || (e[5] = t("text", null, "交易笔数", -1))
|
|
84
87
|
]),
|
|
85
|
-
t("div",
|
|
86
|
-
t("text",
|
|
88
|
+
t("div", z, [
|
|
89
|
+
t("text", G, o(n.value.tradeAmount || 0), 1),
|
|
87
90
|
e[6] || (e[6] = t("text", null, " 交易金额", -1))
|
|
88
91
|
]),
|
|
89
|
-
t("div",
|
|
90
|
-
t("text",
|
|
92
|
+
t("div", J, [
|
|
93
|
+
t("text", K, o(n.value.feeAmt || 0), 1),
|
|
91
94
|
e[7] || (e[7] = t("text", null, " 手续费", -1))
|
|
92
95
|
]),
|
|
93
|
-
t("div",
|
|
94
|
-
t("text",
|
|
96
|
+
t("div", L, [
|
|
97
|
+
t("text", O, o(n.value.settleAmount || "暂无结算"), 1),
|
|
95
98
|
e[8] || (e[8] = t("text", null, " 结算金额", -1))
|
|
96
99
|
])
|
|
97
100
|
])
|
|
@@ -101,23 +104,23 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
101
104
|
])
|
|
102
105
|
])
|
|
103
106
|
]),
|
|
104
|
-
t("div",
|
|
107
|
+
t("div", Q, [
|
|
105
108
|
l(r, { class: "card-chart" }, {
|
|
106
109
|
default: d(() => [
|
|
107
|
-
t("div",
|
|
110
|
+
t("div", W, [
|
|
108
111
|
e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势 ", -1)),
|
|
109
|
-
l(
|
|
112
|
+
l(A, {
|
|
110
113
|
type: "primary",
|
|
111
114
|
link: "",
|
|
112
115
|
onClick: v
|
|
113
116
|
}, {
|
|
114
117
|
default: d(() => e[10] || (e[10] = [
|
|
115
|
-
|
|
118
|
+
g(" 查看更多 ")
|
|
116
119
|
])),
|
|
117
120
|
_: 1
|
|
118
121
|
})
|
|
119
122
|
]),
|
|
120
|
-
l(
|
|
123
|
+
l(T)
|
|
121
124
|
]),
|
|
122
125
|
_: 1
|
|
123
126
|
})
|
|
@@ -125,7 +128,7 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
125
128
|
]);
|
|
126
129
|
};
|
|
127
130
|
}
|
|
128
|
-
}),
|
|
131
|
+
}), rt = /* @__PURE__ */ M(X, [["__scopeId", "data-v-aa61a81b"]]);
|
|
129
132
|
export {
|
|
130
|
-
|
|
133
|
+
rt as default
|
|
131
134
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
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 i, createTextVNode as _ } from "vue";
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-eUhFgNKx.mjs";
|
|
4
|
-
import E from "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import { C as E } from "./constant-D4ZF_7dk.mjs";
|
|
5
|
+
import S from "./pay-Cbkrx0kF.mjs";
|
|
6
|
+
import b from "./payPal-CSXQDwtc.mjs";
|
|
7
|
+
import N from "./trend-BrSUujKu.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({
|
|
10
10
|
__name: "index",
|
|
@@ -12,7 +12,7 @@ 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 = (a, t =
|
|
15
|
+
}), o = p({}), l = p([]), r = (a, t = E.RPC_FORMAT_DATA) => y.$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"),
|
|
@@ -47,11 +47,11 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
49
|
return (a, t) => {
|
|
50
|
-
const c = u("el-date-picker"),
|
|
50
|
+
const c = u("el-date-picker"), d = 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
|
-
s(
|
|
54
|
+
s(d, { 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)),
|
|
@@ -69,26 +69,26 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
69
69
|
]),
|
|
70
70
|
e("div", F, [
|
|
71
71
|
e("div", O, [
|
|
72
|
-
e("text", Q,
|
|
72
|
+
e("text", Q, i(o.value.orderCount || 0), 1),
|
|
73
73
|
t[2] || (t[2] = e("text", null, "交易笔数", -1))
|
|
74
74
|
]),
|
|
75
75
|
e("div", U, [
|
|
76
|
-
e("text", $,
|
|
76
|
+
e("text", $, i(o.value.tradeAmount || 0), 1),
|
|
77
77
|
t[3] || (t[3] = e("text", null, " 交易金额", -1))
|
|
78
78
|
]),
|
|
79
79
|
e("div", j, [
|
|
80
|
-
e("text", z,
|
|
80
|
+
e("text", z, i(o.value.feeAmt || 0), 1),
|
|
81
81
|
t[4] || (t[4] = e("text", null, " 手续费", -1))
|
|
82
82
|
]),
|
|
83
83
|
e("div", G, [
|
|
84
|
-
e("text", H,
|
|
84
|
+
e("text", H, i(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(d, { 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" })
|
|
@@ -97,20 +97,20 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
97
97
|
})
|
|
98
98
|
]),
|
|
99
99
|
e("div", J, [
|
|
100
|
-
s(
|
|
100
|
+
s(d, { 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(S)
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
109
|
})
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
e("div", K, [
|
|
113
|
-
s(
|
|
113
|
+
s(d, { class: "card-chart" }, {
|
|
114
114
|
default: n(() => [
|
|
115
115
|
e("div", L, [
|
|
116
116
|
t[9] || (t[9] = e("span", { class: "chart-title" }, [
|
|
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
128
128
|
_: 1
|
|
129
129
|
})
|
|
130
130
|
]),
|
|
131
|
-
s(
|
|
131
|
+
s(N)
|
|
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-7cec1d93"]]);
|
|
140
140
|
export {
|
|
141
141
|
rt as default
|
|
142
142
|
};
|
|
@@ -3,7 +3,8 @@ import { useRoute as ie, useRouter as me } from "vue-router";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { useUserStore as N, clearEmpty as ye, request as fe, useTableHooks as ce } from "jmash-core";
|
|
5
5
|
import { tokenExt as Q } from "xyvcard-agent";
|
|
6
|
-
import { D as f
|
|
6
|
+
import { D as f } from "./index-vAEKctTI.mjs";
|
|
7
|
+
import { C as Y } from "./constant-D4ZF_7dk.mjs";
|
|
7
8
|
class be {
|
|
8
9
|
getKey(T) {
|
|
9
10
|
return {
|
|
@@ -21,7 +22,7 @@ class be {
|
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"],
|
|
25
|
+
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"], Se = /* @__PURE__ */ oe({
|
|
25
26
|
__name: "index",
|
|
26
27
|
setup(j) {
|
|
27
28
|
const { t: T } = pe();
|
|
@@ -570,7 +571,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
570
571
|
}, [
|
|
571
572
|
r(i(a.$t("settleTradeAnalysis.view")), 1)
|
|
572
573
|
], 8, ke)), [
|
|
573
|
-
[ne, ["
|
|
574
|
+
[ne, ["payment:trade_analysis:view"]]
|
|
574
575
|
])
|
|
575
576
|
]),
|
|
576
577
|
_: 2
|
|
@@ -598,5 +599,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
598
599
|
}
|
|
599
600
|
});
|
|
600
601
|
export {
|
|
601
|
-
|
|
602
|
+
Se as default
|
|
602
603
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as g, ref as u, onMounted as C, getCurrentInstance as E, resolveComponent as f, createElementBlock as A, openBlock as $, createElementVNode as t, createVNode as a, withCtx as n, toDisplayString as o, createTextVNode as _ } from "vue";
|
|
2
2
|
import { useRouter as R } from "vue-router";
|
|
3
3
|
import { s as w } from "./index-D9OMutL6.mjs";
|
|
4
|
-
import { C as p } from "./
|
|
5
|
-
import P from "./pay-
|
|
6
|
-
import S from "./payPal-
|
|
4
|
+
import { C as p } from "./constant-D4ZF_7dk.mjs";
|
|
5
|
+
import P from "./pay-B83bWp1o.mjs";
|
|
6
|
+
import S from "./payPal-CxeWojgW.mjs";
|
|
7
7
|
import V from "./trend-3ibJo3lK.mjs";
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
8
|
+
import { _ as b } from "./sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs";
|
|
9
|
+
import { _ as I } from "./merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs";
|
|
10
10
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-container" }, B = { class: "title" }, q = { class: "tatals" }, Q = { class: "tatal" }, U = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "app-title pay-model" }, W = { class: "title taxt_time_laft" }, X = { class: "text_time" }, Z = { class: "title taxt_time_laft" }, tt = { class: "text_time" }, et = { class: "title taxt_time_laft" }, st = { class: "text_time" }, at = { class: "app-title-time" }, ot = { class: "chart-header" }, nt = { class: "chart-title" }, lt = { class: "text_time" }, it = /* @__PURE__ */ g({
|
|
12
12
|
__name: "index",
|
|
@@ -127,7 +127,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
|
|
|
127
127
|
e[8] || (e[8] = _(" 销售人员交易金额排名 ")),
|
|
128
128
|
t("span", tt, o(r.value), 1)
|
|
129
129
|
]),
|
|
130
|
-
a(
|
|
130
|
+
a(b)
|
|
131
131
|
]),
|
|
132
132
|
_: 1
|
|
133
133
|
}),
|
|
@@ -137,7 +137,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
|
|
|
137
137
|
e[9] || (e[9] = _(" 销售人员新增商户排名 ")),
|
|
138
138
|
t("span", st, o(r.value), 1)
|
|
139
139
|
]),
|
|
140
|
-
a(
|
|
140
|
+
a(I)
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
143
|
})
|
|
@@ -170,7 +170,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
|
|
|
170
170
|
]);
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
}), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-
|
|
173
|
+
}), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-179adefb"]]);
|
|
174
174
|
export {
|
|
175
175
|
Dt as default
|
|
176
176
|
};
|
|
@@ -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-zty-H-sg.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -3,7 +3,8 @@ import { useRoute as ie, useRouter as me } from "vue-router";
|
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import { useUserStore as R, clearEmpty as ye, request as fe, useTableHooks as ce } from "jmash-core";
|
|
5
5
|
import { tokenExt as Q } from "xyvcard-agent";
|
|
6
|
-
import { D as f
|
|
6
|
+
import { D as f } from "./index-vAEKctTI.mjs";
|
|
7
|
+
import { C as Y } from "./constant-D4ZF_7dk.mjs";
|
|
7
8
|
class be {
|
|
8
9
|
getKey(T) {
|
|
9
10
|
return {
|
|
@@ -21,7 +22,7 @@ class be {
|
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"],
|
|
25
|
+
const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"], ze = /* @__PURE__ */ oe({
|
|
25
26
|
__name: "index",
|
|
26
27
|
setup(j) {
|
|
27
28
|
const { t: T } = pe();
|
|
@@ -572,7 +573,7 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
|
|
|
572
573
|
}, [
|
|
573
574
|
r(i(a.$t("settleTradeAnalysis.view")), 1)
|
|
574
575
|
], 8, ke)), [
|
|
575
|
-
[ne, ["
|
|
576
|
+
[ne, ["payment:trade_analysis:view"]]
|
|
576
577
|
])
|
|
577
578
|
]),
|
|
578
579
|
_: 2
|
|
@@ -600,5 +601,5 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
|
|
|
600
601
|
}
|
|
601
602
|
});
|
|
602
603
|
export {
|
|
603
|
-
|
|
604
|
+
ze as default
|
|
604
605
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { deepMerge as vs, RedirectPage as Ss, Layout as ze, LoginPage as Ds, ProfilePage as Ys, Error401Page as Os, Error404Page as Ts, routerRef as xs, addViteMenus as bs, i18n as Ns } from "jmash-core";
|
|
2
2
|
import { createRouter as Ps, createWebHistory as Rs } from "vue-router";
|
|
3
3
|
import "xyvcard-agent";
|
|
4
|
+
import "xyvcard-merchant";
|
|
4
5
|
const Ws = {
|
|
5
6
|
// 交易流水
|
|
6
7
|
payTrade: {
|
|
@@ -2695,7 +2696,7 @@ const Li = {
|
|
|
2695
2696
|
}
|
|
2696
2697
|
};
|
|
2697
2698
|
}
|
|
2698
|
-
}, Ii = [],
|
|
2699
|
+
}, Ii = [], Zi = () => import("./index-C4I9aQCw.mjs"), Hi = () => import("./index-CIgkwH9Q.mjs"), $i = () => import("./index-CoFF2Ob7.mjs"), qi = () => import("./index-BTklOG4u.mjs"), Ui = [
|
|
2699
2700
|
{
|
|
2700
2701
|
path: "/redirect",
|
|
2701
2702
|
component: ze,
|
|
@@ -2710,6 +2711,7 @@ const Li = {
|
|
|
2710
2711
|
{
|
|
2711
2712
|
path: "/login",
|
|
2712
2713
|
component: Ds,
|
|
2714
|
+
// component: mchtLogin,
|
|
2713
2715
|
// component: agentloginPage,
|
|
2714
2716
|
meta: { hidden: !0 }
|
|
2715
2717
|
},
|
|
@@ -2770,17 +2772,16 @@ const Li = {
|
|
|
2770
2772
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2771
2773
|
});
|
|
2772
2774
|
xs.value = Ai;
|
|
2773
|
-
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2775
|
+
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-CoFF2Ob7.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-BENZD2R4.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-B83bWp1o.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-CxeWojgW.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-Cki0rZ6-.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-3ibJo3lK.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-CIgkwH9Q.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-Cbkrx0kF.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-CSXQDwtc.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-C4I9aQCw.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-BTklOG4u.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-cRii9rLo.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-7mx7BVcy.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-Dd8mEaP-.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-DIBoxi0R.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CkZwAxic.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-B-IkqJIh.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-DALnGGtE.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-fC0tD5z6.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-Bwh8KkP3.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-2s-MEXAI.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-D-CvVI4s.mjs") }), Bi = {
|
|
2774
2776
|
install(e) {
|
|
2775
2777
|
bs(Ei, 7), Fs(Ns), e.use(Li);
|
|
2776
2778
|
}
|
|
2777
2779
|
};
|
|
2778
2780
|
export {
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
+
$i as a,
|
|
2782
|
+
Zi as b,
|
|
2781
2783
|
l as h,
|
|
2782
|
-
|
|
2784
|
+
qi as m,
|
|
2783
2785
|
Hi as p,
|
|
2784
|
-
|
|
2785
|
-
qi as s
|
|
2786
|
+
Bi as s
|
|
2786
2787
|
};
|
|
@@ -2,8 +2,9 @@ import { defineComponent as J, getCurrentInstance as X, ref as h, resolveCompone
|
|
|
2
2
|
import { useI18n as ae } from "vue-i18n";
|
|
3
3
|
import { useRouter as ne } from "vue-router";
|
|
4
4
|
import { useUserStore as S, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
|
|
5
|
-
import {
|
|
5
|
+
import { C as M } from "./constant-D4ZF_7dk.mjs";
|
|
6
6
|
import { tokenExt as de } from "xyvcard-agent";
|
|
7
|
+
import { D as b } from "./index-vAEKctTI.mjs";
|
|
7
8
|
class ie {
|
|
8
9
|
getKey(p) {
|
|
9
10
|
return {
|
|
@@ -21,7 +22,7 @@ class ie {
|
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
|
-
const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"],
|
|
25
|
+
const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"], $e = /* @__PURE__ */ J({
|
|
25
26
|
__name: "index",
|
|
26
27
|
setup(I) {
|
|
27
28
|
const { t: p } = ae();
|
|
@@ -419,7 +420,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
419
420
|
}, [
|
|
420
421
|
d(m(l.$t("settleTradeAnalysis.view")), 1)
|
|
421
422
|
], 8, Te)), [
|
|
422
|
-
[G, ["
|
|
423
|
+
[G, ["payment:agent_analysis:view"]]
|
|
423
424
|
])
|
|
424
425
|
]),
|
|
425
426
|
_: 1
|
|
@@ -432,5 +433,5 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
432
433
|
}
|
|
433
434
|
});
|
|
434
435
|
export {
|
|
435
|
-
|
|
436
|
+
$e as default
|
|
436
437
|
};
|
|
@@ -2,7 +2,8 @@ import { defineComponent as te, getCurrentInstance as ae, ref as h, resolveCompo
|
|
|
2
2
|
import { useI18n as re } from "vue-i18n";
|
|
3
3
|
import { useRoute as ne } from "vue-router";
|
|
4
4
|
import { useUserStore as z, clearEmpty as de, request as se, useTableHooks as ue } from "jmash-core";
|
|
5
|
-
import { D as y
|
|
5
|
+
import { D as y } from "./index-vAEKctTI.mjs";
|
|
6
|
+
import { C as U } from "./constant-D4ZF_7dk.mjs";
|
|
6
7
|
import { tokenExt as Y } from "xyvcard-agent";
|
|
7
8
|
class pe {
|
|
8
9
|
getKey(m) {
|
|
@@ -20,7 +21,7 @@ class pe {
|
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
|
-
const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-container" }, fe = { class: "total-num" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" },
|
|
24
|
+
const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-container" }, fe = { class: "total-num" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, Re = /* @__PURE__ */ te({
|
|
24
25
|
__name: "index",
|
|
25
26
|
setup(E) {
|
|
26
27
|
y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
|
|
@@ -707,5 +708,5 @@ const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-cont
|
|
|
707
708
|
}
|
|
708
709
|
});
|
|
709
710
|
export {
|
|
710
|
-
|
|
711
|
+
Re as default
|
|
711
712
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var d = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
+
var n = (e, t, s) => d(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
+
import { BizLayDict as A, BizDict as l, EnumDict as c } from "jmash-core";
|
|
5
|
+
import { C as r } from "./constant-D4ZF_7dk.mjs";
|
|
6
|
+
import { infoApi as y } from "xyvcard-agent";
|
|
7
|
+
import { institutionApi as m } from "xyvcard-insts";
|
|
8
|
+
import { merchantsApi as T } from "xyvcard-merchant";
|
|
9
|
+
function o(e, t, s) {
|
|
10
|
+
return !Array.isArray(e) || e.length === 0 ? [] : e.map((i) => {
|
|
11
|
+
let a = [];
|
|
12
|
+
return Array.isArray(i.children) && i.children.length > 0 && (a = o(i.children, t, s)), {
|
|
13
|
+
value: i[s],
|
|
14
|
+
label: i[t],
|
|
15
|
+
parentId: i.parentId,
|
|
16
|
+
children: a
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
class D extends A {
|
|
21
|
+
// 实现 useValues 方法
|
|
22
|
+
useValues() {
|
|
23
|
+
return new Promise((t, s) => {
|
|
24
|
+
this.query.approved = r.AGENT_AGREE, this.query.hasApproved = !0, y.findList(this.query).then(({ data: h }) => {
|
|
25
|
+
this.values.length = 0, this.values.push(
|
|
26
|
+
...o(h.results, "agentAlias", "agentCode")
|
|
27
|
+
), t(this.values);
|
|
28
|
+
}).catch(s);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
class E extends l {
|
|
33
|
+
// 实现 useValues 方法
|
|
34
|
+
useValues() {
|
|
35
|
+
return new Promise((t, s) => {
|
|
36
|
+
m.findList(this.query).then(({ data: h }) => {
|
|
37
|
+
const i = h.results;
|
|
38
|
+
this.values.length = 0, this.values.push(
|
|
39
|
+
...i.map(
|
|
40
|
+
(a) => ({
|
|
41
|
+
key: a.instsId,
|
|
42
|
+
value: a.instsName
|
|
43
|
+
})
|
|
44
|
+
)
|
|
45
|
+
), t(this.values);
|
|
46
|
+
}).catch(s);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
class v extends l {
|
|
51
|
+
// 实现 useValues 方法
|
|
52
|
+
useValues() {
|
|
53
|
+
return new Promise((t, s) => {
|
|
54
|
+
T.findList(this.query).then(({ data: h }) => {
|
|
55
|
+
const i = h.results;
|
|
56
|
+
this.values.length = 0, this.values.push(
|
|
57
|
+
...i.map(
|
|
58
|
+
(a) => ({
|
|
59
|
+
key: a.merchantId,
|
|
60
|
+
value: a.merchantName
|
|
61
|
+
})
|
|
62
|
+
)
|
|
63
|
+
), t(this.values);
|
|
64
|
+
}).catch(s);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class u {
|
|
69
|
+
}
|
|
70
|
+
// 代理商
|
|
71
|
+
n(u, "agentBizDict", new D({})), // 落地机构
|
|
72
|
+
n(u, "instsBizDict", new E({})), // 商户名称
|
|
73
|
+
n(u, "merchantBizDict", new v({})), // 支付方式
|
|
74
|
+
n(u, "payModeBizDict", new c(
|
|
75
|
+
r.PAYMENT_DICT,
|
|
76
|
+
r.PAY_MODE
|
|
77
|
+
)), // 交易类型
|
|
78
|
+
n(u, "tradeTypeBizDict", new c(
|
|
79
|
+
r.PAYMENT_DICT,
|
|
80
|
+
r.TRADE_TYPE
|
|
81
|
+
)), // 订单状态
|
|
82
|
+
n(u, "orderStatusBizDict", new c(
|
|
83
|
+
r.PAYMENT_DICT,
|
|
84
|
+
r.ORDER_STATUS
|
|
85
|
+
)), // 交易状态
|
|
86
|
+
n(u, "tradeStatusBizDict", new c(
|
|
87
|
+
r.PAYMENT_DICT,
|
|
88
|
+
r.TRADE_STATUS
|
|
89
|
+
));
|
|
90
|
+
export {
|
|
91
|
+
u as D
|
|
92
|
+
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, ref as l, onMounted as f, onUnmounted as v, createElementBlock as h, openBlock as _ } from "vue";
|
|
2
2
|
import { s as y } from "./index-D9OMutL6.mjs";
|
|
3
3
|
import { i as z } from "./index--_Po9Tig.mjs";
|
|
4
|
-
import { D as i } from "./index-
|
|
4
|
+
import { D as i } from "./index-vAEKctTI.mjs";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const w = /* @__PURE__ */ p({
|
|
7
7
|
__name: "pay",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, ref as l, onMounted as f, onUnmounted as v, createElementBlock as h, openBlock as _ } from "vue";
|
|
2
2
|
import { i as y } from "./index--_Po9Tig.mjs";
|
|
3
|
-
import { D as o } from "./index-
|
|
3
|
+
import { D as o } from "./index-vAEKctTI.mjs";
|
|
4
4
|
import { s as z } from "./index-eUhFgNKx.mjs";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const x = /* @__PURE__ */ d({
|