xyvcard-settle 0.0.37 → 0.0.38
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-B33Q3ZQC.mjs → index--PbK07xd.mjs} +45 -42
- package/dist/{index-B7xd6ock.mjs → index-2s-MEXAI.mjs} +2 -2
- package/dist/{index-BFHiB7kP.mjs → index-7mx7BVcy.mjs} +163 -161
- 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-DHS0CvTn.mjs → index-Dd8mEaP-.mjs} +5 -4
- package/dist/{index-BV7Yx1ZN.mjs → index-cRii9rLo.mjs} +4 -3
- package/dist/{index-hDvYrxNX.mjs → index-jCpwk7yw.mjs} +7 -8
- 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 +1 -1
- package/dist/index-CxsNyMdg.mjs +0 -110
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
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
|
-
import "xyvcard-agent";
|
|
4
3
|
const Ws = {
|
|
5
4
|
// 交易流水
|
|
6
5
|
payTrade: {
|
|
@@ -2695,7 +2694,7 @@ const Li = {
|
|
|
2695
2694
|
}
|
|
2696
2695
|
};
|
|
2697
2696
|
}
|
|
2698
|
-
}, Ii = [],
|
|
2697
|
+
}, Ii = [], ji = () => import("./index-BS-eL0Z5.mjs"), Hi = () => import("./index-CIgkwH9Q.mjs"), zi = () => import("./index-CoFF2Ob7.mjs"), Zi = () => import("./index--PbK07xd.mjs"), Ui = [
|
|
2699
2698
|
{
|
|
2700
2699
|
path: "/redirect",
|
|
2701
2700
|
component: ze,
|
|
@@ -2710,6 +2709,7 @@ const Li = {
|
|
|
2710
2709
|
{
|
|
2711
2710
|
path: "/login",
|
|
2712
2711
|
component: Ds,
|
|
2712
|
+
// component: mchtLogin,
|
|
2713
2713
|
// component: agentloginPage,
|
|
2714
2714
|
meta: { hidden: !0 }
|
|
2715
2715
|
},
|
|
@@ -2770,17 +2770,16 @@ const Li = {
|
|
|
2770
2770
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2771
2771
|
});
|
|
2772
2772
|
xs.value = Ai;
|
|
2773
|
-
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2773
|
+
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-BS-eL0Z5.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index--PbK07xd.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") }), $i = {
|
|
2774
2774
|
install(e) {
|
|
2775
2775
|
bs(Ei, 7), Fs(Ns), e.use(Li);
|
|
2776
2776
|
}
|
|
2777
2777
|
};
|
|
2778
2778
|
export {
|
|
2779
|
-
|
|
2780
|
-
|
|
2779
|
+
zi as a,
|
|
2780
|
+
ji as b,
|
|
2781
2781
|
l as h,
|
|
2782
|
-
|
|
2782
|
+
Zi as m,
|
|
2783
2783
|
Hi as p,
|
|
2784
|
-
|
|
2785
|
-
qi as s
|
|
2784
|
+
$i as s
|
|
2786
2785
|
};
|
|
@@ -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({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as d, onMounted as c, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
|
|
2
2
|
import { i as w } from "./index--_Po9Tig.mjs";
|
|
3
3
|
import { s as g } from "./index-eUhFgNKx.mjs";
|
|
4
|
-
import { D as h
|
|
4
|
+
import { D as h } from "./index-vAEKctTI.mjs";
|
|
5
|
+
import { C as z } from "./constant-D4ZF_7dk.mjs";
|
|
5
6
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const b = /* @__PURE__ */
|
|
7
|
+
const b = /* @__PURE__ */ m({
|
|
7
8
|
__name: "payPal",
|
|
8
9
|
setup(L) {
|
|
9
10
|
const i = d();
|
|
@@ -24,8 +25,8 @@ const b = /* @__PURE__ */ c({
|
|
|
24
25
|
top: "middle",
|
|
25
26
|
data: n.value.map((e) => e.name),
|
|
26
27
|
formatter: (e) => {
|
|
27
|
-
const
|
|
28
|
-
return `${e} ${
|
|
28
|
+
const r = n.value.find((a) => a.name === e);
|
|
29
|
+
return `${e} ${r == null ? void 0 : r.value}%`;
|
|
29
30
|
},
|
|
30
31
|
textStyle: {
|
|
31
32
|
fontSize: 12
|
|
@@ -54,16 +55,16 @@ const b = /* @__PURE__ */ c({
|
|
|
54
55
|
}
|
|
55
56
|
]
|
|
56
57
|
}), p = async () => {
|
|
57
|
-
var e,
|
|
58
|
+
var e, r;
|
|
58
59
|
try {
|
|
59
|
-
const
|
|
60
|
-
if (!((
|
|
60
|
+
const a = await g.payModel();
|
|
61
|
+
if (!((r = (e = a.data) == null ? void 0 : e.results) != null && r.length))
|
|
61
62
|
throw new Error("暂无数据");
|
|
62
|
-
const s =
|
|
63
|
+
const s = a.data.results.reduce(
|
|
63
64
|
(o, l) => o + parseFloat(l.orderAmount || 0),
|
|
64
65
|
0
|
|
65
66
|
);
|
|
66
|
-
n.value =
|
|
67
|
+
n.value = a.data.results.map((o) => {
|
|
67
68
|
const l = h.payModeBizDict.getEnumValue(o.payMode) || o.payMode, f = s > 0 ? (parseFloat(o.orderAmount) / s * 100).toFixed(2) : 0;
|
|
68
69
|
return {
|
|
69
70
|
value: parseFloat(f),
|
|
@@ -87,7 +88,7 @@ const b = /* @__PURE__ */ c({
|
|
|
87
88
|
});
|
|
88
89
|
}
|
|
89
90
|
};
|
|
90
|
-
return
|
|
91
|
+
return c(async () => {
|
|
91
92
|
if (!i.value)
|
|
92
93
|
return;
|
|
93
94
|
t = w(i.value), t.showLoading(), await p(), t.hideLoading();
|
|
@@ -97,13 +98,13 @@ const b = /* @__PURE__ */ c({
|
|
|
97
98
|
window.addEventListener("resize", e), e();
|
|
98
99
|
}), v(() => {
|
|
99
100
|
window.removeEventListener("resize", () => t == null ? void 0 : t.resize()), t == null || t.dispose();
|
|
100
|
-
}), (e,
|
|
101
|
+
}), (e, r) => (_(), y("div", {
|
|
101
102
|
ref_key: "chartContainer",
|
|
102
103
|
ref: i,
|
|
103
104
|
class: "chart-container"
|
|
104
105
|
}, null, 512));
|
|
105
106
|
}
|
|
106
|
-
}),
|
|
107
|
+
}), D = /* @__PURE__ */ C(b, [["__scopeId", "data-v-920a5a5f"]]);
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
+
D as default
|
|
109
110
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as d, onMounted as c, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
|
|
2
2
|
import { i as b } from "./index--_Po9Tig.mjs";
|
|
3
3
|
import { s as g } from "./index-D9OMutL6.mjs";
|
|
4
|
-
import { D as h
|
|
4
|
+
import { D as h } from "./index-vAEKctTI.mjs";
|
|
5
|
+
import { C as w } from "./constant-D4ZF_7dk.mjs";
|
|
5
6
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const C = /* @__PURE__ */
|
|
7
|
+
const C = /* @__PURE__ */ m({
|
|
7
8
|
__name: "payPal",
|
|
8
9
|
setup(S) {
|
|
9
10
|
const i = d();
|
|
@@ -93,7 +94,7 @@ const C = /* @__PURE__ */ c({
|
|
|
93
94
|
});
|
|
94
95
|
}
|
|
95
96
|
};
|
|
96
|
-
return
|
|
97
|
+
return c(async () => {
|
|
97
98
|
if (!i.value) return;
|
|
98
99
|
e = b(i.value), e.showLoading(), await p(), e.hideLoading();
|
|
99
100
|
const t = () => e == null ? void 0 : e.resize();
|
|
@@ -106,7 +107,7 @@ const C = /* @__PURE__ */ c({
|
|
|
106
107
|
class: "chart-container"
|
|
107
108
|
}, null, 512));
|
|
108
109
|
}
|
|
109
|
-
}),
|
|
110
|
+
}), $ = /* @__PURE__ */ z(C, [["__scopeId", "data-v-15ebef5f"]]);
|
|
110
111
|
export {
|
|
111
|
-
|
|
112
|
+
$ as default
|
|
112
113
|
};
|