xyvcard-settle 0.0.59 → 0.0.61
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/README.md +51 -51
- package/dist/edit-D0635Imi.mjs +2380 -0
- package/dist/{history-CMyJKuis.mjs → history-DBJ96wTy.mjs} +1 -1
- package/dist/{history-DWaN_Nrb.mjs → history-DP2PrihT.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs → history.vue_vue_type_script_setup_true_lang-BpqhFvtw.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs → history.vue_vue_type_script_setup_true_lang-C0U-Mbw7.mjs} +1 -1
- package/dist/{index-BmSUfSfV.mjs → index--3GxwqRg.mjs} +1 -1
- package/dist/{index-D8LRYlta.mjs → index-AGXPqhIY.mjs} +2 -2
- package/dist/index-B6onKQNI.mjs +541 -0
- package/dist/{index-ZwyAUTzX.mjs → index-B795kuFN.mjs} +2 -2
- package/dist/index-Ba3LERWA.mjs +3299 -0
- package/dist/index-D9cpTKuL.mjs +191 -0
- package/dist/{index-B3iittmi.mjs → index-DB6GmhZC.mjs} +1 -1
- package/dist/{index-CG7CL4Bt.mjs → index-DLdAfnbH.mjs} +276 -202
- package/dist/{index-D09KMqNV.mjs → index-DLtvBola.mjs} +1 -1
- package/dist/{index-C7UKRE6H.mjs → index-DYYyAnPj.mjs} +3 -3
- package/dist/{index-BeU6u9hH.mjs → index-DZ3HFHlD.mjs} +1 -1
- package/dist/{index-CMCuahPr.mjs → index-DrDoe7pZ.mjs} +1 -1
- package/dist/{index-CVEOIlcb.mjs → index-DwGlQPu2.mjs} +9 -9
- package/dist/{index-UpMheR8A.mjs → index-qm-1XteZ.mjs} +5 -5
- package/dist/{index-D6IsNjl5.mjs → index-yUhbTFeV.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/info-Bb_ZJw6v.mjs +4 -0
- package/dist/{pay-D5948kuF.mjs → pay-14RdzHFn.mjs} +5 -5
- package/dist/{pay-DE3hsH6b.mjs → pay-vKmygRqh.mjs} +5 -5
- package/dist/{payPal-FS5kDoPy.mjs → payPal-CwDtT5wL.mjs} +6 -6
- package/dist/{payPal-BxEHOKHE.mjs → payPal-ZyDyTFRK.mjs} +8 -8
- package/dist/style.css +1 -1
- package/dist/{today-BU8dRQhE.mjs → today-BGTwzr1R.mjs} +1 -1
- package/dist/{today-DO4wIwlZ.mjs → today-Gddygvr9.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs → today.vue_vue_type_script_setup_true_lang-CA42HAfJ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs → today.vue_vue_type_script_setup_true_lang-DSmPGKSf.mjs} +1 -1
- package/dist/{trend-DCJoR00O.mjs → trend-BLV9su_P.mjs} +1 -1
- package/dist/{trend-D__Df_wF.mjs → trend-D5C46t4B.mjs} +1 -1
- package/dist/{trend-CD-Orlre.mjs → trend-f1RTvIBC.mjs} +1 -1
- package/dts/src/api/settle/dict.d.ts +9 -0
- package/dts/src/api/settle/index.d.ts +11 -2
- package/dts/src/api/settle/mcht-profit/index.d.ts +9 -0
- package/dts/src/api/settle/mcht-profit/type.d.ts +34 -0
- package/dts/src/api/settle/pay-bank-trade-record/index.d.ts +19 -0
- package/dts/src/api/settle/pay-bank-trade-record/types.d.ts +135 -0
- package/dts/src/constant.d.ts +27 -0
- package/dts/src/lang/settle/zh-cn.d.ts +48 -0
- package/dts/src/views/payment/merchant-profit/index.vue.d.ts +2 -0
- package/dts/src/views/payment/pay-bank-trade-record/edit.vue.d.ts +28 -0
- package/dts/src/views/payment/pay-bank-trade-record/index.vue.d.ts +2 -0
- package/dts/src/views/payment/pay-trade/info.vue.d.ts +2 -0
- package/package.json +63 -63
- package/dist/index-BgJmjmTJ.mjs +0 -2795
- package/dist/index-BgbsFf1D.mjs +0 -114
|
@@ -3,7 +3,7 @@ import { useI18n as x } from "vue-i18n";
|
|
|
3
3
|
import { useRouter as ee } from "vue-router";
|
|
4
4
|
import { useUserStore as R, clearEmpty as te, request as le, useTableHooks as ae } from "jmash-core";
|
|
5
5
|
import { tokenExt as oe } from "xyvcard-agent";
|
|
6
|
-
import { D as A, C as ne } from "./index-
|
|
6
|
+
import { D as A, C as ne } from "./index-Ba3LERWA.mjs";
|
|
7
7
|
import { DateRange as se } from "xyvcard-insts";
|
|
8
8
|
import { g as re } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class de {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as A, ref as u, resolveComponent as c, resolveDirective as D, createElementBlock as g, openBlock as _, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, withDirectives as C, createBlock as Y, createTextVNode as w } from "vue";
|
|
2
2
|
import { useRouter as T } from "vue-router";
|
|
3
|
-
import { T as k, m as v } from "./trend-
|
|
4
|
-
import { h as p } from "./index-
|
|
3
|
+
import { T as k, m as v } from "./trend-BLV9su_P.mjs";
|
|
4
|
+
import { h as p } from "./index-Ba3LERWA.mjs";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-container" }, V = { class: "tatals" }, B = { class: "tatal" }, N = { class: "text" }, S = { class: "tatal" }, F = { class: "text" }, H = { class: "tatal" }, I = { class: "text" }, R = { class: "tatal" }, j = { class: "text" }, q = { class: "tatals" }, z = { class: "tatal" }, G = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "tatal" }, U = { class: "text" }, W = { class: "app-title-time" }, X = { class: "chart-header" }, Z = /* @__PURE__ */ A({
|
|
7
7
|
__name: "index",
|
|
@@ -122,7 +122,7 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
122
122
|
]);
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
}), lt = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-
|
|
125
|
+
}), lt = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-7157dc97"]]);
|
|
126
126
|
export {
|
|
127
127
|
lt as default
|
|
128
128
|
};
|
|
@@ -3,7 +3,7 @@ import { useRoute as ae, useRouter as ne } from "vue-router";
|
|
|
3
3
|
import { useI18n as oe } from "vue-i18n";
|
|
4
4
|
import { useUserStore as B, clearEmpty as se, request as re, useTableHooks as de } from "jmash-core";
|
|
5
5
|
import { tokenExt as ue } from "xyvcard-agent";
|
|
6
|
-
import { D as f, C as ie } from "./index-
|
|
6
|
+
import { D as f, C as ie } from "./index-Ba3LERWA.mjs";
|
|
7
7
|
import { DateRange as me } from "xyvcard-insts";
|
|
8
8
|
import { g as pe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
import { g as ye } from "./merchant-D9rtENQd.mjs";
|
|
@@ -3,7 +3,7 @@ import { useI18n as le } from "vue-i18n";
|
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
4
|
import { useUserStore as K, clearEmpty as re, request as de, useTableHooks as ne } from "jmash-core";
|
|
5
5
|
import { tokenExt as se } from "xyvcard-agent";
|
|
6
|
-
import { D as m } from "./index-
|
|
6
|
+
import { D as m } from "./index-Ba3LERWA.mjs";
|
|
7
7
|
import { g as ue } from "./merchant-D9rtENQd.mjs";
|
|
8
8
|
import { g as pe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
import { DateRange as ie } from "xyvcard-insts";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as A, getCurrentInstance as T, ref as p, onMounted as P, resolveComponent as u, resolveDirective as V, createElementBlock as k, openBlock as D, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _, withDirectives as E, createBlock as
|
|
2
|
-
import { useRouter as
|
|
1
|
+
import { defineComponent as A, getCurrentInstance as T, ref as p, onMounted as P, resolveComponent as u, resolveDirective as V, createElementBlock as k, openBlock as D, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _, withDirectives as E, createBlock as b } from "vue";
|
|
2
|
+
import { useRouter as S } from "vue-router";
|
|
3
3
|
import { s as B } from "./index-eUhFgNKx.mjs";
|
|
4
|
-
import { C as N } from "./index-
|
|
5
|
-
import R from "./pay-
|
|
6
|
-
import I from "./payPal-
|
|
7
|
-
import q from "./trend-
|
|
4
|
+
import { C as N } from "./index-Ba3LERWA.mjs";
|
|
5
|
+
import R from "./pay-14RdzHFn.mjs";
|
|
6
|
+
import I from "./payPal-CwDtT5wL.mjs";
|
|
7
|
+
import q from "./trend-f1RTvIBC.mjs";
|
|
8
8
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const O = { class: "app" }, Q = { class: "app-title" }, U = { class: "title" }, $ = { class: "tatals" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, W = { class: "text" }, X = { class: "app-title" }, Z = { class: "app-title-time" }, tt = { class: "chart-header" }, et = /* @__PURE__ */ A({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(at) {
|
|
12
|
-
const y =
|
|
12
|
+
const y = S(), { proxy: x } = T(), c = p({
|
|
13
13
|
analysisTimeStart: "",
|
|
14
14
|
analysisTimeEnd: ""
|
|
15
15
|
}), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => x.$moment.formatDate(a, t), v = () => {
|
|
@@ -117,7 +117,7 @@ const O = { class: "app" }, Q = { class: "app-title" }, U = { class: "title" },
|
|
|
117
117
|
_(" 交易金额趋势 "),
|
|
118
118
|
e("span", { style: { "font-weight": "normal" } }, " (近7日) ")
|
|
119
119
|
], -1)),
|
|
120
|
-
E((D(),
|
|
120
|
+
E((D(), b(C, {
|
|
121
121
|
type: "text",
|
|
122
122
|
class: "view-more",
|
|
123
123
|
onClick: g
|
|
@@ -138,7 +138,7 @@ const O = { class: "app" }, Q = { class: "app-title" }, U = { class: "title" },
|
|
|
138
138
|
]);
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
}), mt = /* @__PURE__ */ F(et, [["__scopeId", "data-v-
|
|
141
|
+
}), mt = /* @__PURE__ */ F(et, [["__scopeId", "data-v-e814348b"]]);
|
|
142
142
|
export {
|
|
143
143
|
mt as default
|
|
144
144
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as E, ref as p, onMounted as A, getCurrentInstance as w, resolveComponent as v, resolveDirective as P, createElementBlock as $, openBlock as y, createElementVNode as t, createVNode as a, withCtx as o, toDisplayString as n, createTextVNode as m, withDirectives as R, createBlock as S } from "vue";
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-CGc-CaEO.mjs";
|
|
4
|
-
import { C as u } from "./index-
|
|
5
|
-
import I from "./pay-
|
|
6
|
-
import b from "./payPal-
|
|
7
|
-
import F from "./trend-
|
|
4
|
+
import { C as u } from "./index-Ba3LERWA.mjs";
|
|
5
|
+
import I from "./pay-vKmygRqh.mjs";
|
|
6
|
+
import b from "./payPal-ZyDyTFRK.mjs";
|
|
7
|
+
import F from "./trend-D5C46t4B.mjs";
|
|
8
8
|
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-b-hBu610.mjs";
|
|
9
9
|
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs";
|
|
10
10
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
@@ -172,7 +172,7 @@ const q = { class: "app" }, Q = { class: "app-title" }, U = { class: "row-contai
|
|
|
172
172
|
]);
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
}), Mt = /* @__PURE__ */ N(dt, [["__scopeId", "data-v-
|
|
175
|
+
}), Mt = /* @__PURE__ */ N(dt, [["__scopeId", "data-v-fc177392"]]);
|
|
176
176
|
export {
|
|
177
177
|
Mt as default
|
|
178
178
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Z, getCurrentInstance as x, ref as z, onActivated as
|
|
|
2
2
|
import { useI18n as le } from "vue-i18n";
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
4
|
import { useUserStore as P, clearEmpty as re, request as de, useTableHooks as ne } from "jmash-core";
|
|
5
|
-
import { D as b } from "./index-
|
|
5
|
+
import { D as b } from "./index-Ba3LERWA.mjs";
|
|
6
6
|
import { g as se } from "./agent-R-Ml-XTA.mjs";
|
|
7
7
|
import { tokenExt as ue } from "xyvcard-agent";
|
|
8
8
|
import { DateRange as pe } from "xyvcard-insts";
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as v, ref as m, onMounted as y, onUnmounted as h, createElementBlock as x, openBlock as _ } from "vue";
|
|
2
2
|
import { i as g } from "./index--_Po9Tig.mjs";
|
|
3
|
-
import { s as
|
|
4
|
-
import { merchantsApi as
|
|
3
|
+
import { s as b } from "./index-eUhFgNKx.mjs";
|
|
4
|
+
import { merchantsApi as w } from "xyvcard-merchant";
|
|
5
5
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const z = /* @__PURE__ */ v({
|
|
7
7
|
__name: "pay",
|
|
@@ -76,13 +76,13 @@ const z = /* @__PURE__ */ v({
|
|
|
76
76
|
e.setOption(s);
|
|
77
77
|
}, f = async () => {
|
|
78
78
|
try {
|
|
79
|
-
const r = u(), n = await
|
|
79
|
+
const r = u(), n = await b.orderAmount({
|
|
80
80
|
analysisTimeStart: r.analysisTimeStart,
|
|
81
81
|
analysisTimeEnd: r.analysisTimeEnd
|
|
82
82
|
});
|
|
83
83
|
for (let t = 0; t < n.data.results.length; t++)
|
|
84
84
|
if (n.data.results[t].merchantId && n.data.results[t].tradeAmount) {
|
|
85
|
-
const { data: s } = await
|
|
85
|
+
const { data: s } = await w.findBusinessName({
|
|
86
86
|
merchantId: n.data.results[t].merchantId
|
|
87
87
|
});
|
|
88
88
|
i.value.push({
|
|
@@ -120,7 +120,7 @@ const z = /* @__PURE__ */ v({
|
|
|
120
120
|
class: "chart-container"
|
|
121
121
|
}, null, 512));
|
|
122
122
|
}
|
|
123
|
-
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-
|
|
123
|
+
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-b91fa540"]]);
|
|
124
124
|
export {
|
|
125
125
|
M as default
|
|
126
126
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref as l, onMounted as p, onUnmounted as f, createElementBlock as v, openBlock as h } from "vue";
|
|
2
2
|
import { s as _ } from "./index-CGc-CaEO.mjs";
|
|
3
3
|
import { i as y } from "./index--_Po9Tig.mjs";
|
|
4
4
|
import { merchantsApi as b } from "xyvcard-merchant";
|
|
5
5
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const x = /* @__PURE__ */
|
|
6
|
+
const x = /* @__PURE__ */ m({
|
|
7
7
|
__name: "pay",
|
|
8
8
|
setup(g) {
|
|
9
9
|
const r = l();
|
|
@@ -66,7 +66,7 @@ const x = /* @__PURE__ */ d({
|
|
|
66
66
|
]
|
|
67
67
|
};
|
|
68
68
|
t.setOption(a);
|
|
69
|
-
},
|
|
69
|
+
}, d = async () => {
|
|
70
70
|
try {
|
|
71
71
|
const a = await _.orderAmount({});
|
|
72
72
|
for (let e = 0; e < a.data.results.length; e++)
|
|
@@ -89,7 +89,7 @@ const x = /* @__PURE__ */ d({
|
|
|
89
89
|
t && t.resize();
|
|
90
90
|
};
|
|
91
91
|
return p(() => {
|
|
92
|
-
c(),
|
|
92
|
+
c(), d(), window.addEventListener("resize", i), r.value && (s = new ResizeObserver(() => {
|
|
93
93
|
t && t.resize();
|
|
94
94
|
}), s.observe(r.value));
|
|
95
95
|
}), f(() => {
|
|
@@ -100,7 +100,7 @@ const x = /* @__PURE__ */ d({
|
|
|
100
100
|
class: "chart-container"
|
|
101
101
|
}, null, 512));
|
|
102
102
|
}
|
|
103
|
-
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-
|
|
103
|
+
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-06edd8f4"]]);
|
|
104
104
|
export {
|
|
105
105
|
$ as default
|
|
106
106
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as u, onMounted as g, onBeforeUnmount as v, createElementBlock as _, openBlock as w } from "vue";
|
|
2
2
|
import { i as h } from "./index--_Po9Tig.mjs";
|
|
3
3
|
import { s as D } from "./index-eUhFgNKx.mjs";
|
|
4
|
-
import { D as S, C as E } from "./index-
|
|
4
|
+
import { D as S, C as E } from "./index-Ba3LERWA.mjs";
|
|
5
5
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const C = /* @__PURE__ */ y({
|
|
7
7
|
__name: "payPal",
|
|
@@ -16,7 +16,7 @@ const C = /* @__PURE__ */ y({
|
|
|
16
16
|
analysisTimeStart: o(a),
|
|
17
17
|
analysisTimeEnd: o(e)
|
|
18
18
|
};
|
|
19
|
-
},
|
|
19
|
+
}, m = () => ({
|
|
20
20
|
tooltip: {
|
|
21
21
|
trigger: "item",
|
|
22
22
|
position: function(e) {
|
|
@@ -60,7 +60,7 @@ const C = /* @__PURE__ */ y({
|
|
|
60
60
|
data: s.value
|
|
61
61
|
}
|
|
62
62
|
]
|
|
63
|
-
}),
|
|
63
|
+
}), c = async () => {
|
|
64
64
|
var e, a;
|
|
65
65
|
try {
|
|
66
66
|
const o = p(), r = await D.payModel({
|
|
@@ -84,7 +84,7 @@ const C = /* @__PURE__ */ y({
|
|
|
84
84
|
color: E.PAYMENT_COLORS[n.payMode]
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
}), t == null || t.setOption(
|
|
87
|
+
}), t == null || t.setOption(m());
|
|
88
88
|
} catch {
|
|
89
89
|
t == null || t.setOption({
|
|
90
90
|
title: {
|
|
@@ -98,7 +98,7 @@ const C = /* @__PURE__ */ y({
|
|
|
98
98
|
return g(async () => {
|
|
99
99
|
if (!i.value)
|
|
100
100
|
return;
|
|
101
|
-
t = h(i.value), t.showLoading(), await
|
|
101
|
+
t = h(i.value), t.showLoading(), await c(), t.hideLoading();
|
|
102
102
|
const e = () => {
|
|
103
103
|
t == null || t.resize();
|
|
104
104
|
};
|
|
@@ -111,7 +111,7 @@ const C = /* @__PURE__ */ y({
|
|
|
111
111
|
class: "chart-container"
|
|
112
112
|
}, null, 512));
|
|
113
113
|
}
|
|
114
|
-
}), A = /* @__PURE__ */ z(C, [["__scopeId", "data-v-
|
|
114
|
+
}), A = /* @__PURE__ */ z(C, [["__scopeId", "data-v-63ca614a"]]);
|
|
115
115
|
export {
|
|
116
116
|
A as default
|
|
117
117
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, ref as d, onMounted as m, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
|
|
2
|
-
import { i as
|
|
3
|
-
import { s as
|
|
4
|
-
import { D as
|
|
2
|
+
import { i as g } from "./index--_Po9Tig.mjs";
|
|
3
|
+
import { s as h } from "./index-CGc-CaEO.mjs";
|
|
4
|
+
import { D as w, C as b } from "./index-Ba3LERWA.mjs";
|
|
5
5
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const C = /* @__PURE__ */ c({
|
|
7
7
|
__name: "payPal",
|
|
@@ -61,7 +61,7 @@ const C = /* @__PURE__ */ c({
|
|
|
61
61
|
}), p = async () => {
|
|
62
62
|
var t, a;
|
|
63
63
|
try {
|
|
64
|
-
const n = await
|
|
64
|
+
const n = await h.payModel({});
|
|
65
65
|
if (!((a = (t = n.data) == null ? void 0 : t.results) != null && a.length))
|
|
66
66
|
throw new Error("暂无数据");
|
|
67
67
|
const s = n.data.results.reduce(
|
|
@@ -69,14 +69,14 @@ const C = /* @__PURE__ */ c({
|
|
|
69
69
|
0
|
|
70
70
|
);
|
|
71
71
|
r.value = n.data.results.map((o) => {
|
|
72
|
-
const l =
|
|
72
|
+
const l = w.payModeBizDict.getEnumValue(o.payMode) || o.payMode, f = s > 0 ? (parseFloat(o.orderAmount) / s * 100).toFixed(0) : 0;
|
|
73
73
|
return {
|
|
74
74
|
value: parseFloat(f),
|
|
75
75
|
name: l,
|
|
76
76
|
amount: parseFloat(o.orderAmount),
|
|
77
77
|
count: o.orderCount,
|
|
78
78
|
itemStyle: {
|
|
79
|
-
color:
|
|
79
|
+
color: b.PAYMENT_COLORS[o.payMode]
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
}), r.value.length > 3 && (r.value = r.value.sort((o, l) => l.value - o.value).slice(0, 3)), e == null || e.setOption(u());
|
|
@@ -95,7 +95,7 @@ const C = /* @__PURE__ */ c({
|
|
|
95
95
|
};
|
|
96
96
|
return m(async () => {
|
|
97
97
|
if (!i.value) return;
|
|
98
|
-
e =
|
|
98
|
+
e = g(i.value), e.showLoading(), await p(), e.hideLoading();
|
|
99
99
|
const t = () => e == null ? void 0 : e.resize();
|
|
100
100
|
window.addEventListener("resize", t);
|
|
101
101
|
}), v(() => {
|
|
@@ -106,7 +106,7 @@ const C = /* @__PURE__ */ c({
|
|
|
106
106
|
class: "chart-container"
|
|
107
107
|
}, null, 512));
|
|
108
108
|
}
|
|
109
|
-
}), O = /* @__PURE__ */ z(C, [["__scopeId", "data-v-
|
|
109
|
+
}), O = /* @__PURE__ */ z(C, [["__scopeId", "data-v-7e5f6c8c"]]);
|
|
110
110
|
export {
|
|
111
111
|
O as default
|
|
112
112
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.login-container[data-v-
|
|
1
|
+
@charset "UTF-8";.login-container[data-v-63cb2a9b]{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:url(./assets/1ceaa63ddb015361.jpg) no-repeat;background-size:100% 100%;overflow:hidden}.login-container_title[data-v-63cb2a9b]{font-weight:600;font-size:21px;color:#103a7d;text-align:center;line-height:40px}.login-top[data-v-63cb2a9b]{position:fixed;left:0;right:0;top:0;padding:10px 30px;box-sizing:border-box;background-color:#09237166;font-weight:600;font-size:17px;color:#fff}.login-top img[data-v-63cb2a9b]{width:45px;height:45px}.login-top .ml-3[data-v-63cb2a9b]{margin-left:10px;margin-right:auto}.qrcode-container[data-v-63cb2a9b]{width:220px;height:220px;position:relative}.qrcode-container img[data-v-63cb2a9b]{width:100%;height:100%}.qrcode-container>div[data-v-63cb2a9b]{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.qrcode-container>div[data-v-63cb2a9b] :last-child{cursor:pointer;color:var(--el-color-primary);margin-left:10px}[data-v-63cb2a9b] .el-tabs__item.is-active,[data-v-63cb2a9b] .el-tabs__item:hover{color:#103a7d}[data-v-63cb2a9b] .el-tabs__active-bar{background-color:#103a7d}[data-v-63cb2a9b] #pane-qrCode{display:flex;align-items:center;justify-content:center;flex-direction:column}[data-v-63cb2a9b] #pane-qrCode img{width:220px;height:220px}[data-v-63cb2a9b] .el-card__body{height:380px;padding:20px;background-color:#fff}[data-v-63cb2a9b] .el-card[device=desktop]{margin-right:150px;margin-left:auto}[data-v-63cb2a9b] .el-input .el-input__inner{--el-input-inner-height: 40px;box-shadow:inset 0 0 0 40px #fff!important}[data-v-63cb2a9b] .el-button{height:40px}.chart-container[data-v-b91fa540]{width:100%;height:400px;padding-bottom:60px}.chart-container[data-v-63ca614a]{width:100%;height:240px}.chart-container[data-v-22efd8c4]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-e814348b]{display:flex;justify-content:space-between;align-items:center;padding-top:10px;padding-left:10px;padding-right:10px}.app-title-time[data-v-e814348b]{padding-top:10px;padding-left:10px;padding-right:10px}.app-title[data-v-e814348b]{width:50%}.card-number[data-v-e814348b]{margin-left:10px;margin-top:-8px;height:410px}.card-never[data-v-e814348b]{height:200px;margin-bottom:10px}.tatal[data-v-e814348b]{display:flex;flex-direction:column;align-items:center}.title[data-v-e814348b]{margin-bottom:10%;font-size:16px;font-weight:700}.text[data-v-e814348b]{font-size:25px;font-weight:700}.tatals[data-v-e814348b]{display:flex;justify-content:space-around}.card-paypal[data-v-e814348b]{position:relative}.card-paypal .pay[data-v-e814348b]{position:absolute;top:-9%;left:-8%}.app[data-v-e814348b]{display:flex;justify-content:space-between}.card-never[data-v-e814348b]{width:100%}.title[data-v-e814348b]{display:flex;align-items:center;margin-bottom:50px}.title>span[data-v-e814348b]{min-width:100px;margin-right:15px!important}.title .el-date-editor[data-v-e814348b]{flex:1;min-width:200px}@media (max-width: 768px){.title>span[data-v-e814348b]{margin-bottom:10px}.title .el-date-editor[data-v-e814348b]{width:100%}.tatals[data-v-e814348b]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.tatals[data-v-e814348b]{grid-template-columns:1fr}.tatals .tatal[data-v-e814348b]{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}.tatals .tatal .text[data-v-e814348b]{margin-right:15px}}.chart-header[data-v-e814348b]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-e814348b]{font-size:16px;font-weight:700;color:#333}.chart-container[data-v-06edd8f4]{width:100%;height:400px;padding-bottom:60px}.chart-container[data-v-7e5f6c8c]{width:100%;height:215px}.chart-container[data-v-f119757d]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-fc177392]{display:flex;flex-direction:column;padding:10px}.row-container[data-v-fc177392]{display:flex;gap:10px;margin-bottom:10px}.card-never[data-v-fc177392]{width:100%}.title[data-v-fc177392]{display:flex;align-items:center;margin-bottom:50px}.title .el-date-editor[data-v-fc177392]{flex:1;min-width:200px}.card-paypal[data-v-fc177392]{position:relative}.card-paypal .pay[data-v-fc177392]{position:absolute;top:-8%;left:-10%}.card-number[data-v-fc177392]{height:410px}.card-number .taxt_time_laft[data-v-fc177392]{display:flex;justify-content:space-between}.title[data-v-fc177392]{margin-bottom:8%;font-size:16px;font-weight:700}.title .text_time[data-v-fc177392]{font-size:13px;font-weight:400!important}.tatal[data-v-fc177392]{display:flex;flex-direction:column;align-items:center}.text[data-v-fc177392]{font-size:25px;font-weight:700}.tatals[data-v-fc177392]{display:flex;justify-content:space-around}.app-title[data-v-fc177392]{width:100%}.app-title-time[data-v-fc177392]{padding:10px}.chart-header[data-v-fc177392]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-fc177392]{font-size:16px;font-weight:700;color:#333}.chart-title .text_time[data-v-fc177392]{font-size:13px;font-weight:400!important}.pay-model[data-v-fc177392]{display:flex;gap:10px;width:100%}.pay-model .card-number[data-v-fc177392]{flex:1;min-width:0;height:410px}@media (max-width: 992px){.pay-model[data-v-fc177392]{flex-wrap:wrap}.pay-model .card-number[data-v-fc177392]{flex:0 0 calc(50% - 10px)}.pay-model .card-number[data-v-fc177392]:last-child:nth-child(odd){flex:0 0 100%}}@media (max-width: 768px){.pay-model .card-number[data-v-fc177392]{flex:0 0 100%}}.chart-container[data-v-1fee0c11]{width:100%;height:100%;background:#fff;padding:15px;box-sizing:border-box;position:relative}.app[data-v-7157dc97]{display:flex;flex-direction:column;padding:10px}.row-container[data-v-7157dc97]{display:flex;gap:10px;margin-bottom:10px}.card-never[data-v-7157dc97]{width:100%}.title[data-v-7157dc97]{margin-bottom:8%;font-size:16px;font-weight:700}.title .text_time[data-v-7157dc97]{font-size:13px;font-weight:400!important}.tatal[data-v-7157dc97]{display:flex;flex-direction:column;align-items:center}.text[data-v-7157dc97]{font-size:25px;font-weight:700}.tatals[data-v-7157dc97]{display:flex;justify-content:space-around;padding-top:40px;padding-bottom:20px}.app-title[data-v-7157dc97]{width:100%}.app-title-time[data-v-7157dc97]{padding:10px}.chart-header[data-v-7157dc97]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chart-title[data-v-7157dc97]{font-size:16px;font-weight:700;color:#333}.position-center[data-v-73c0ca17]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-73c0ca17]{position:absolute;right:0;top:0;margin-top:8px}.total-num{margin-left:0!important;margin-right:0!important;text-align:center}
|
|
@@ -3,7 +3,7 @@ import { useI18n as Z } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as k, clearEmpty as ee, request as te, useTableHooks as le } from "jmash-core";
|
|
4
4
|
import { tokenExt as ae } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as ne } from "xyvcard-merchant";
|
|
6
|
-
import { D as f } from "./index-
|
|
6
|
+
import { D as f } from "./index-Ba3LERWA.mjs";
|
|
7
7
|
import { g as oe } from "./agent-R-Ml-XTA.mjs";
|
|
8
8
|
class re {
|
|
9
9
|
getKey(d) {
|
|
@@ -3,7 +3,7 @@ import { useI18n as oe } from "vue-i18n";
|
|
|
3
3
|
import { useRouter as re } from "vue-router";
|
|
4
4
|
import { useUserStore as $, clearEmpty as se, request as me, useTableHooks as ue } from "jmash-core";
|
|
5
5
|
import { channelApi as de } from "xyvcard-merchant";
|
|
6
|
-
import { D as c, C as D } from "./index-
|
|
6
|
+
import { D as c, C as D } from "./index-Ba3LERWA.mjs";
|
|
7
7
|
import { tokenExt as ie } from "xyvcard-agent";
|
|
8
8
|
import { g as pe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class ce {
|
|
@@ -189,7 +189,7 @@ const A = new E(), $ = { class: "chart-container" }, z = /* @__PURE__ */ _({
|
|
|
189
189
|
}, null, 512)
|
|
190
190
|
]));
|
|
191
191
|
}
|
|
192
|
-
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-
|
|
192
|
+
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-1fee0c11"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
193
193
|
__proto__: null,
|
|
194
194
|
default: F
|
|
195
195
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -166,7 +166,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
|
166
166
|
}, null, 512)
|
|
167
167
|
]));
|
|
168
168
|
}
|
|
169
|
-
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-
|
|
169
|
+
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-f119757d"]]);
|
|
170
170
|
export {
|
|
171
171
|
F as default
|
|
172
172
|
};
|
|
@@ -165,7 +165,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
|
165
165
|
}, null, 512)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-
|
|
168
|
+
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-22efd8c4"]]);
|
|
169
169
|
export {
|
|
170
170
|
F as default
|
|
171
171
|
};
|
|
@@ -8,3 +8,12 @@ export declare class InststBizDict extends BizDict {
|
|
|
8
8
|
export declare class MerchantBizDict extends BizDict {
|
|
9
9
|
useValues(): Promise<Entry[]>;
|
|
10
10
|
}
|
|
11
|
+
export declare class MerchantNoBizDict extends BizDict {
|
|
12
|
+
useValues(): Promise<Entry[]>;
|
|
13
|
+
}
|
|
14
|
+
export declare class OrderNoBizDict extends BizDict {
|
|
15
|
+
useValues(): Promise<Entry[]>;
|
|
16
|
+
}
|
|
17
|
+
export declare class InstsIdBizDict extends BizDict {
|
|
18
|
+
useValues(): Promise<Entry[]>;
|
|
19
|
+
}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { EnumDict } from "jmash-core";
|
|
2
|
-
import { agentBizDict, InststBizDict, MerchantBizDict } from "./dict";
|
|
1
|
+
import { CustomBizDict, EnumDict } from "jmash-core";
|
|
2
|
+
import { agentBizDict, InstsIdBizDict, InststBizDict, MerchantBizDict, MerchantNoBizDict, OrderNoBizDict } from "./dict";
|
|
3
3
|
export declare class Dict {
|
|
4
4
|
static readonly agentBizDict: agentBizDict;
|
|
5
5
|
static readonly agentAgreeBizDict: agentBizDict;
|
|
6
6
|
static readonly instsBizDict: InststBizDict;
|
|
7
|
+
static readonly instsIdBizDict: InstsIdBizDict;
|
|
7
8
|
static readonly merchantBizDict: MerchantBizDict;
|
|
8
9
|
static readonly payModeBizDict: EnumDict;
|
|
9
10
|
static readonly tradeTypeBizDict: EnumDict;
|
|
10
11
|
static readonly orderStatusBizDict: EnumDict;
|
|
11
12
|
static readonly tradeStatusBizDict: EnumDict;
|
|
13
|
+
static readonly profitTypeEnum: EnumDict;
|
|
14
|
+
static readonly relationTypeEnum: EnumDict;
|
|
15
|
+
static readonly profitWayEnum: EnumDict;
|
|
16
|
+
static readonly statusEnum: CustomBizDict;
|
|
17
|
+
static readonly tradeProfitTypeEnum: EnumDict;
|
|
18
|
+
static readonly merchantNoBizDict: MerchantNoBizDict;
|
|
19
|
+
static readonly orderNoBizDict: OrderNoBizDict;
|
|
20
|
+
static readonly isBindOrderDict: CustomBizDict;
|
|
12
21
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { ProfitApi, ProfitKey, ProfitList, ProfitModel, ProfitPage, ProfitReq } from "./type";
|
|
3
|
+
declare class ProfitApiImpl implements ProfitApi {
|
|
4
|
+
getKey(model: ProfitModel): ProfitKey;
|
|
5
|
+
findPage(query?: ProfitReq): AxiosPromise<ProfitPage>;
|
|
6
|
+
findList(query: ProfitReq): AxiosPromise<ProfitList>;
|
|
7
|
+
}
|
|
8
|
+
declare const profitApi: ProfitApiImpl;
|
|
9
|
+
export { profitApi };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { EntityApi, EntityKey, EntityList, EntityModel, EntityPage, EntityReq, EntityTotal } from "jmash-core";
|
|
2
|
+
export interface ProfitApi extends EntityApi {
|
|
3
|
+
}
|
|
4
|
+
export interface ProfitReq extends EntityReq {
|
|
5
|
+
orderId?: string;
|
|
6
|
+
streamNo?: string;
|
|
7
|
+
tokenExt?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ProfitModel extends EntityModel {
|
|
10
|
+
profitMchtId?: string;
|
|
11
|
+
merchantId?: string;
|
|
12
|
+
profitType?: string;
|
|
13
|
+
relationType?: string;
|
|
14
|
+
receiverName?: string;
|
|
15
|
+
profitWay?: string;
|
|
16
|
+
profitScale?: string;
|
|
17
|
+
wechatAccount?: string;
|
|
18
|
+
alipayAccount?: string;
|
|
19
|
+
status?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ProfitList extends EntityList {
|
|
22
|
+
results: Array<ProfitModel>;
|
|
23
|
+
}
|
|
24
|
+
export interface ProfitKey extends EntityKey {
|
|
25
|
+
tenant?: string;
|
|
26
|
+
profitMchtId?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ProfitPage extends EntityPage {
|
|
29
|
+
results: Array<ProfitModel>;
|
|
30
|
+
subTotalDto: ProfitModelTotal;
|
|
31
|
+
totalDto: ProfitModelTotal;
|
|
32
|
+
}
|
|
33
|
+
export interface ProfitModelTotal extends EntityTotal {
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { AxiosPromise } from "axios";
|
|
2
|
+
import type { BankTradeRecordApi, BankTradeRecordReq, BankTradeRecordModel, BankTradeRecordPage, BankTradeRecordList, BankTradeRecordKey, BankTradeRecordCreateReq, BankTradeRecordUpdateReq, BankTradeRecordExportReq, BankTradeRecordImportReq } from "./types";
|
|
3
|
+
declare class BankTradeRecordApiImpl implements BankTradeRecordApi {
|
|
4
|
+
getKey(model: BankTradeRecordModel): BankTradeRecordKey;
|
|
5
|
+
findPage(query?: BankTradeRecordReq): AxiosPromise<BankTradeRecordPage>;
|
|
6
|
+
findList(query?: BankTradeRecordReq): AxiosPromise<BankTradeRecordList>;
|
|
7
|
+
findById(query: BankTradeRecordKey): AxiosPromise<BankTradeRecordModel>;
|
|
8
|
+
create(data: BankTradeRecordCreateReq): AxiosPromise<BankTradeRecordModel>;
|
|
9
|
+
update(data: BankTradeRecordUpdateReq): AxiosPromise<BankTradeRecordModel>;
|
|
10
|
+
move(key: BankTradeRecordKey, up: boolean): AxiosPromise<boolean>;
|
|
11
|
+
enable(key: BankTradeRecordKey, enable: boolean): AxiosPromise<boolean>;
|
|
12
|
+
delete(query: BankTradeRecordKey): AxiosPromise<BankTradeRecordModel>;
|
|
13
|
+
downloadTemplate(): AxiosPromise;
|
|
14
|
+
importExcel(data: BankTradeRecordImportReq): AxiosPromise<string>;
|
|
15
|
+
exportExcel(queryParams: BankTradeRecordExportReq): AxiosPromise;
|
|
16
|
+
exportPdf(queryParams: BankTradeRecordExportReq): AxiosPromise;
|
|
17
|
+
}
|
|
18
|
+
declare const bankTradeRecordApi: BankTradeRecordApiImpl;
|
|
19
|
+
export { bankTradeRecordApi };
|