xyvcard-settle 0.0.37 → 0.0.39
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-CtDv38CM.mjs +24 -0
- package/dist/{history-DppKTWsM.mjs → history-CKm40RN0.mjs} +1 -1
- package/dist/{history-Dv2zWu7t.mjs → history-Uv5wF8tp.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs → history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs} +4 -3
- package/dist/{history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs → history.vue_vue_type_script_setup_true_lang-Dj7A2_XH.mjs} +101 -98
- package/dist/{index-B81N3bxj.mjs → index-BAU8_bL5.mjs} +4 -4
- package/dist/{index-B7xd6ock.mjs → index-BF180-Dc.mjs} +2 -2
- package/dist/{index-BFHiB7kP.mjs → index-BOYpCJFd.mjs} +204 -194
- package/dist/{index-hDvYrxNX.mjs → index-BXr-5-X_.mjs} +12 -12
- package/dist/{index-B1T6GA_X.mjs → index-CAOauGAU.mjs} +5 -4
- package/dist/{index-BV7Yx1ZN.mjs → index-Ce1JIAp_.mjs} +4 -3
- package/dist/{index-CTi-ETJs.mjs → index-Che5xN0z.mjs} +5 -4
- package/dist/{index-B33Q3ZQC.mjs → index-Cqpx7sK8.mjs} +45 -42
- package/dist/{index-e2Wzbnr7.mjs → index-DISA5kjA.mjs} +18 -18
- package/dist/{index-Zo3QX_fX.mjs → index-GI8dQtIV.mjs} +2 -2
- package/dist/{index-DHS0CvTn.mjs → index-QIqV4ldo.mjs} +5 -4
- package/dist/index-V8g7-RWq.mjs +95 -0
- package/dist/index.mjs +1 -1
- package/dist/{pay-DabqR8eb.mjs → pay-D04R69xf.mjs} +1 -1
- package/dist/{pay-CFNzmo6x.mjs → pay-ddopuD-7.mjs} +1 -1
- package/dist/{payPal-C7Ttt6mf.mjs → payPal-Bfu4en0b.mjs} +7 -6
- package/dist/{payPal-J41FJEQT.mjs → payPal-Bp_Ivr7P.mjs} +15 -14
- package/dist/style.css +1 -1
- package/dist/{today-A4CUV61Z.mjs → today-BBWMuUFc.mjs} +1 -1
- package/dist/{today-zzTtFFaz.mjs → today-DFnsrdAZ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs → today.vue_vue_type_script_setup_true_lang-Cf3MjsXi.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs → today.vue_vue_type_script_setup_true_lang-CmzDkIbs.mjs} +72 -71
- package/dist/{trend-D8pStiQ5.mjs → trend-BrSUujKu.mjs} +1 -1
- package/dist/{trend-iT9IXU1F.mjs → trend-C4uCFrLb.mjs} +1 -1
- package/dts/src/api/settle/index.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-receipt/types.d.ts +1 -0
- package/dts/src/constant.d.ts +3 -1
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +4 -4
- package/dist/index-CxsNyMdg.mjs +0 -110
|
@@ -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: {
|
|
@@ -39,7 +38,8 @@ const Ws = {
|
|
|
39
38
|
tradeStatusRead: "请选择交易状态",
|
|
40
39
|
tradeNo: "交易流水号",
|
|
41
40
|
refundReason: "退款原因",
|
|
42
|
-
description: "收款备注"
|
|
41
|
+
description: "收款备注",
|
|
42
|
+
qrcodeNo: "码牌编号"
|
|
43
43
|
},
|
|
44
44
|
// 支付交易商户/代理商汇总统计;
|
|
45
45
|
settleTradeAnalysis: {
|
|
@@ -90,7 +90,7 @@ const Ws = {
|
|
|
90
90
|
createTime: "到账日期",
|
|
91
91
|
transferMoneyDateStart: "开始时间",
|
|
92
92
|
transferMoneyDateEnd: "结束时间",
|
|
93
|
-
transferMoneyDate: "
|
|
93
|
+
transferMoneyDate: "划款时间",
|
|
94
94
|
agentCode: "代理商编号",
|
|
95
95
|
agentName: "代理商名称",
|
|
96
96
|
agentCodeRead: "请选择代理商",
|
|
@@ -2695,7 +2695,7 @@ const Li = {
|
|
|
2695
2695
|
}
|
|
2696
2696
|
};
|
|
2697
2697
|
}
|
|
2698
|
-
}, Ii = [],
|
|
2698
|
+
}, Ii = [], ji = () => import("./index-BS-eL0Z5.mjs"), zi = () => import("./index-DISA5kjA.mjs"), Hi = () => import("./index-BAU8_bL5.mjs"), Zi = () => import("./index-Cqpx7sK8.mjs"), Ui = [
|
|
2699
2699
|
{
|
|
2700
2700
|
path: "/redirect",
|
|
2701
2701
|
component: ze,
|
|
@@ -2710,6 +2710,7 @@ const Li = {
|
|
|
2710
2710
|
{
|
|
2711
2711
|
path: "/login",
|
|
2712
2712
|
component: Ds,
|
|
2713
|
+
// component: mchtLogin,
|
|
2713
2714
|
// component: agentloginPage,
|
|
2714
2715
|
meta: { hidden: !0 }
|
|
2715
2716
|
},
|
|
@@ -2737,8 +2738,8 @@ const Li = {
|
|
|
2737
2738
|
path: "/dashboard",
|
|
2738
2739
|
// component: DashboardPage,
|
|
2739
2740
|
// component: merchantHomePage,
|
|
2740
|
-
// component: agentHomePage,
|
|
2741
2741
|
component: Hi,
|
|
2742
|
+
// component: pintaiHomePage,
|
|
2742
2743
|
name: "Dashboard",
|
|
2743
2744
|
// 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致
|
|
2744
2745
|
// https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
|
|
@@ -2770,17 +2771,16 @@ const Li = {
|
|
|
2770
2771
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2771
2772
|
});
|
|
2772
2773
|
xs.value = Ai;
|
|
2773
|
-
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2774
|
+
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-BAU8_bL5.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-BENZD2R4.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-D04R69xf.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-Bfu4en0b.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-DISA5kjA.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-ddopuD-7.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-Bp_Ivr7P.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-Cqpx7sK8.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-Ce1JIAp_.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-BOYpCJFd.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-QIqV4ldo.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-CAOauGAU.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-Che5xN0z.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-CKm40RN0.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-GI8dQtIV.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-DFnsrdAZ.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-Uv5wF8tp.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-BF180-Dc.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-BBWMuUFc.mjs") }), $i = {
|
|
2774
2775
|
install(e) {
|
|
2775
2776
|
bs(Ei, 7), Fs(Ns), e.use(Li);
|
|
2776
2777
|
}
|
|
2777
2778
|
};
|
|
2778
2779
|
export {
|
|
2779
|
-
|
|
2780
|
-
|
|
2780
|
+
Hi as a,
|
|
2781
|
+
ji as b,
|
|
2781
2782
|
l as h,
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
qi as s
|
|
2783
|
+
Zi as m,
|
|
2784
|
+
zi as p,
|
|
2785
|
+
$i as s
|
|
2786
2786
|
};
|
|
@@ -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-V8g7-RWq.mjs";
|
|
7
|
+
import { C as Y } from "./constant-CtDv38CM.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,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-V8g7-RWq.mjs";
|
|
6
|
+
import { C as U } from "./constant-CtDv38CM.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
|
};
|
|
@@ -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-V8g7-RWq.mjs";
|
|
7
|
+
import { C as Y } from "./constant-CtDv38CM.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,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-BXr-5-X_.mjs";
|
|
7
|
+
import { C as f } from "./constant-CtDv38CM.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-CtDv38CM.mjs";
|
|
5
|
+
import S from "./pay-ddopuD-7.mjs";
|
|
6
|
+
import b from "./payPal-Bp_Ivr7P.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
|
};
|
|
@@ -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-BlBHinps.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-Cf3MjsXi.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -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-CtDv38CM.mjs";
|
|
6
6
|
import { tokenExt as de } from "xyvcard-agent";
|
|
7
|
+
import { D as b } from "./index-V8g7-RWq.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
|
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
|
+
var d = (e, t, s) => t in e ? A(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
+
var r = (e, t, s) => d(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
+
import { BizLayDict as y, BizDict as o, EnumDict as h } from "jmash-core";
|
|
5
|
+
import { C as a } from "./constant-CtDv38CM.mjs";
|
|
6
|
+
import { infoApi as m } from "xyvcard-agent";
|
|
7
|
+
import { institutionApi as E } from "xyvcard-insts";
|
|
8
|
+
import { merchantsApi as T } from "xyvcard-merchant";
|
|
9
|
+
function p(e, t, s) {
|
|
10
|
+
return !Array.isArray(e) || e.length === 0 ? [] : e.map((i) => {
|
|
11
|
+
let n = [];
|
|
12
|
+
return Array.isArray(i.children) && i.children.length > 0 && (n = p(i.children, t, s)), {
|
|
13
|
+
value: i[s],
|
|
14
|
+
label: i[t],
|
|
15
|
+
parentId: i.parentId,
|
|
16
|
+
children: n
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
class l extends y {
|
|
21
|
+
// 实现 useValues 方法
|
|
22
|
+
useValues() {
|
|
23
|
+
return new Promise((t, s) => {
|
|
24
|
+
this.query.approved = a.AGENT_AGREE, this.query.hasApproved = !0, m.findList(this.query).then(({ data: c }) => {
|
|
25
|
+
this.values.length = 0, this.values.push(
|
|
26
|
+
...p(c.results, "agentAlias", "agentCode")
|
|
27
|
+
), t(this.values);
|
|
28
|
+
}).catch(s);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
class D extends o {
|
|
33
|
+
// 实现 useValues 方法
|
|
34
|
+
useValues() {
|
|
35
|
+
return new Promise((t, s) => {
|
|
36
|
+
E.findList(this.query).then(({ data: c }) => {
|
|
37
|
+
const i = c.results;
|
|
38
|
+
this.values.length = 0, this.values.push(
|
|
39
|
+
...i.map(
|
|
40
|
+
(n) => ({
|
|
41
|
+
key: n.instsId,
|
|
42
|
+
value: n.instsName
|
|
43
|
+
})
|
|
44
|
+
)
|
|
45
|
+
), t(this.values);
|
|
46
|
+
}).catch(s);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
class v extends o {
|
|
51
|
+
// 实现 useValues 方法
|
|
52
|
+
useValues() {
|
|
53
|
+
return new Promise((t, s) => {
|
|
54
|
+
T.findList(this.query).then(({ data: c }) => {
|
|
55
|
+
const i = c.results;
|
|
56
|
+
this.values.length = 0, this.values.push(
|
|
57
|
+
...i.map(
|
|
58
|
+
(n) => ({
|
|
59
|
+
key: n.merchantId,
|
|
60
|
+
value: n.merchantName
|
|
61
|
+
})
|
|
62
|
+
)
|
|
63
|
+
), t(this.values);
|
|
64
|
+
}).catch(s);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class u {
|
|
69
|
+
}
|
|
70
|
+
// 代理商
|
|
71
|
+
r(u, "agentBizDict", new l({})), // 审核通过的代理商
|
|
72
|
+
r(u, "agentAgreeBizDict", new l({
|
|
73
|
+
approved: a.AGENT_AGREE
|
|
74
|
+
})), // 落地机构
|
|
75
|
+
r(u, "instsBizDict", new D({})), // 商户名称
|
|
76
|
+
r(u, "merchantBizDict", new v({})), // 支付方式
|
|
77
|
+
r(u, "payModeBizDict", new h(
|
|
78
|
+
a.PAYMENT_DICT,
|
|
79
|
+
a.PAY_MODE
|
|
80
|
+
)), // 交易类型
|
|
81
|
+
r(u, "tradeTypeBizDict", new h(
|
|
82
|
+
a.PAYMENT_DICT,
|
|
83
|
+
a.TRADE_TYPE
|
|
84
|
+
)), // 订单状态
|
|
85
|
+
r(u, "orderStatusBizDict", new h(
|
|
86
|
+
a.PAYMENT_DICT,
|
|
87
|
+
a.ORDER_STATUS
|
|
88
|
+
)), // 交易状态
|
|
89
|
+
r(u, "tradeStatusBizDict", new h(
|
|
90
|
+
a.PAYMENT_DICT,
|
|
91
|
+
a.TRADE_STATUS
|
|
92
|
+
));
|
|
93
|
+
export {
|
|
94
|
+
u as D
|
|
95
|
+
};
|
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-V8g7-RWq.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-V8g7-RWq.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({
|