xyvcard-settle 0.0.46 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{history-DCwgJuDo.mjs → history-BxhHHLWl.mjs} +1 -1
- package/dist/{history-DwIGzL72.mjs → history-DV6dRTjD.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-DW21qIII.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-NWz9Rtma.mjs +403 -0
- package/dist/{index-yQjjxDcA.mjs → index-1jun1BI_.mjs} +1 -1
- package/dist/index-B4SCq7KH.mjs +33 -0
- package/dist/{index-d-nHEHMj.mjs → index-BCg9UNFw.mjs} +76 -70
- package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-BOrI7JtW.mjs → index-C2M_dK36.mjs} +51 -51
- package/dist/{index-BpX-ZCaL.mjs → index-C4pzKlKF.mjs} +3 -2
- package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
- package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
- package/dist/{index-UPAK9M6D.mjs → index-CgbOnDFk.mjs} +1 -1
- package/dist/{index-DSAnrTJ1.mjs → index-CiDstsD9.mjs} +1 -1
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B65gCM1w.mjs → index-D4jXgbZE.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
- package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-CLfowatL.mjs → today-CryQp8d6.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-raAsbnbG.mjs} +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs +374 -0
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-CyItbZLa.mjs} +1 -1
- package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +1 -0
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +62 -62
- package/dist/history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs +0 -365
- package/dist/index-B8Y2esGZ.mjs +0 -49
- package/dist/today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs +0 -308
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var l = (a, s, i) => s in a ? p(a, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[s] = i;
|
|
3
3
|
var e = (a, s, i) => l(a, typeof s != "symbol" ? s + "" : s, i);
|
|
4
|
-
import { BizLayDict as y, BizDict as E, EnumDict as
|
|
4
|
+
import { BizLayDict as y, BizDict as E, EnumDict as n } from "jmash-core";
|
|
5
5
|
import { infoApi as D } from "xyvcard-agent";
|
|
6
|
-
import { institutionApi as
|
|
7
|
-
import { merchantsApi as
|
|
6
|
+
import { institutionApi as _ } from "xyvcard-insts";
|
|
7
|
+
import { merchantsApi as d } from "xyvcard-merchant";
|
|
8
8
|
class t {
|
|
9
9
|
}
|
|
10
10
|
//模块
|
|
@@ -22,7 +22,8 @@ e(t, "PAYMENT_COLORS", {
|
|
|
22
22
|
UQRCODEPAY: "#F8A3A3",
|
|
23
23
|
BALANCE: "#FBD564",
|
|
24
24
|
NUCSPAY: "#C36433"
|
|
25
|
-
}), e(t, "MCHT_CHAIN_HEAD", "MCHT_CHAIN_HEAD"), e(t, "MCHT_CHAIN_BRANCH", "MCHT_CHAIN_BRANCH")
|
|
25
|
+
}), e(t, "MCHT_CHAIN_HEAD", "MCHT_CHAIN_HEAD"), e(t, "MCHT_CHAIN_BRANCH", "MCHT_CHAIN_BRANCH"), // 交易状态 成功
|
|
26
|
+
e(t, "PAY_SUCCESS", "PAY_SUCCESS");
|
|
26
27
|
function h(a, s, i) {
|
|
27
28
|
return !Array.isArray(a) || a.length === 0 ? [] : a.map((r) => {
|
|
28
29
|
let A = [];
|
|
@@ -38,20 +39,20 @@ class T extends y {
|
|
|
38
39
|
// 实现 useValues 方法
|
|
39
40
|
useValues() {
|
|
40
41
|
return new Promise((s, i) => {
|
|
41
|
-
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, D.findList(this.query).then(({ data:
|
|
42
|
+
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, D.findList(this.query).then(({ data: u }) => {
|
|
42
43
|
this.values.length = 0, this.values.push(
|
|
43
|
-
...h(
|
|
44
|
+
...h(u.results, "agentAlias", "agentCode")
|
|
44
45
|
), s(this.values);
|
|
45
46
|
}).catch(i);
|
|
46
47
|
});
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
|
-
class
|
|
50
|
+
class P extends E {
|
|
50
51
|
// 实现 useValues 方法
|
|
51
52
|
useValues() {
|
|
52
53
|
return new Promise((s, i) => {
|
|
53
|
-
|
|
54
|
-
const r =
|
|
54
|
+
_.findList(this.query).then(({ data: u }) => {
|
|
55
|
+
const r = u.results;
|
|
55
56
|
this.values.length = 0, this.values.push(
|
|
56
57
|
...r.map(
|
|
57
58
|
(A) => ({
|
|
@@ -64,12 +65,12 @@ class m extends E {
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
class
|
|
68
|
+
class m extends E {
|
|
68
69
|
// 实现 useValues 方法
|
|
69
70
|
useValues() {
|
|
70
71
|
return new Promise((s, i) => {
|
|
71
|
-
|
|
72
|
-
const r =
|
|
72
|
+
d.findList(this.query).then(({ data: u }) => {
|
|
73
|
+
const r = u.results;
|
|
73
74
|
this.values.length = 0, this.values.push(
|
|
74
75
|
...r.map(
|
|
75
76
|
(A) => ({
|
|
@@ -89,21 +90,21 @@ e(c, "agentBizDict", new T({})), // 审核通过的代理商
|
|
|
89
90
|
e(c, "agentAgreeBizDict", new T({
|
|
90
91
|
approved: t.AGENT_AGREE
|
|
91
92
|
})), // 落地机构
|
|
92
|
-
e(c, "instsBizDict", new
|
|
93
|
-
e(c, "merchantBizDict", new
|
|
94
|
-
e(c, "payModeBizDict", new
|
|
93
|
+
e(c, "instsBizDict", new P({})), // 商户名称
|
|
94
|
+
e(c, "merchantBizDict", new m({})), // 支付方式
|
|
95
|
+
e(c, "payModeBizDict", new n(
|
|
95
96
|
t.PAYMENT_DICT,
|
|
96
97
|
t.PAY_MODE
|
|
97
98
|
)), // 交易类型
|
|
98
|
-
e(c, "tradeTypeBizDict", new
|
|
99
|
+
e(c, "tradeTypeBizDict", new n(
|
|
99
100
|
t.PAYMENT_DICT,
|
|
100
101
|
t.TRADE_TYPE
|
|
101
102
|
)), // 订单状态
|
|
102
|
-
e(c, "orderStatusBizDict", new
|
|
103
|
+
e(c, "orderStatusBizDict", new n(
|
|
103
104
|
t.PAYMENT_DICT,
|
|
104
105
|
t.ORDER_STATUS
|
|
105
106
|
)), // 交易状态
|
|
106
|
-
e(c, "tradeStatusBizDict", new
|
|
107
|
+
e(c, "tradeStatusBizDict", new n(
|
|
107
108
|
t.PAYMENT_DICT,
|
|
108
109
|
t.TRADE_STATUS
|
|
109
110
|
));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { onMounted as Q, nextTick as X, getCurrentInstance as R, unref as U, getCurrentScope as Z, onScopeDispose as ee, ref as m, watch as j, watchEffect as B, computed as
|
|
1
|
+
import { onMounted as Q, nextTick as X, getCurrentInstance as R, unref as U, getCurrentScope as Z, onScopeDispose as ee, ref as m, watch as j, watchEffect as B, computed as z, defineComponent as te, resolveComponent as C, createElementBlock as ne, openBlock as oe, createElementVNode as u, createVNode as i, withCtx as b, withDirectives as re, normalizeStyle as le, vShow as se, withKeys as N, withModifiers as ae, createTextVNode as ie, toDisplayString as ue } from "vue";
|
|
2
2
|
import { q as ce, _ as de } from "./qrcode-success-RhATc5cS.mjs";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
import { useRoute as me, useRouter as fe } from "vue-router";
|
|
6
|
-
import { vueMetaEnv as
|
|
6
|
+
import { vueMetaEnv as M, useAppStore as O, useUserStore as ve, netEncrypt as ge, getCaptchaApi as he, createLoginQrcode as _e } from "jmash-core";
|
|
7
7
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
-
function
|
|
8
|
+
function H(e) {
|
|
9
9
|
return Z() ? (ee(e), !0) : !1;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function $(e) {
|
|
12
12
|
return typeof e == "function" ? e() : U(e);
|
|
13
13
|
}
|
|
14
14
|
const we = typeof window < "u" && typeof document < "u";
|
|
@@ -18,37 +18,37 @@ const be = Object.prototype.toString, Ce = (e) => be.call(e) === "[object Object
|
|
|
18
18
|
function Ie(e) {
|
|
19
19
|
return R();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Se(e, n = !0, o) {
|
|
22
22
|
Ie() ? Q(e, o) : n ? e() : X(e);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Te(e) {
|
|
25
25
|
var n;
|
|
26
|
-
const o =
|
|
26
|
+
const o = $(e);
|
|
27
27
|
return (n = o == null ? void 0 : o.$el) != null ? n : o;
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const x = we ? window : void 0;
|
|
30
30
|
function Ve(...e) {
|
|
31
31
|
let n, o, a, t;
|
|
32
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n =
|
|
32
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n = x) : [n, o, a, t] = e, !n)
|
|
33
33
|
return Ee;
|
|
34
34
|
Array.isArray(o) || (o = [o]), Array.isArray(a) || (a = [a]);
|
|
35
35
|
const c = [], s = () => {
|
|
36
36
|
c.forEach((f) => f()), c.length = 0;
|
|
37
37
|
}, d = (f, v, E, g) => (f.addEventListener(v, E, g), () => f.removeEventListener(v, E, g)), p = j(
|
|
38
|
-
() => [
|
|
38
|
+
() => [Te(n), $(t)],
|
|
39
39
|
([f, v]) => {
|
|
40
40
|
if (s(), !f)
|
|
41
41
|
return;
|
|
42
42
|
const E = Ce(v) ? { ...v } : v;
|
|
43
43
|
c.push(
|
|
44
|
-
...o.flatMap((g) => a.map((
|
|
44
|
+
...o.flatMap((g) => a.map((S) => d(f, g, S, E)))
|
|
45
45
|
);
|
|
46
46
|
},
|
|
47
47
|
{ immediate: !0, flush: "post" }
|
|
48
48
|
), _ = () => {
|
|
49
49
|
p(), s();
|
|
50
50
|
};
|
|
51
|
-
return
|
|
51
|
+
return H(_), _;
|
|
52
52
|
}
|
|
53
53
|
function ke() {
|
|
54
54
|
const e = m(!1), n = R();
|
|
@@ -58,25 +58,25 @@ function ke() {
|
|
|
58
58
|
}
|
|
59
59
|
function qe(e) {
|
|
60
60
|
const n = ke();
|
|
61
|
-
return
|
|
61
|
+
return z(() => (n.value, !!e()));
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
const { window: o =
|
|
63
|
+
function Ae(e, n = {}) {
|
|
64
|
+
const { window: o = x } = n, a = qe(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
|
|
65
65
|
let t;
|
|
66
66
|
const c = m(!1), s = (_) => {
|
|
67
67
|
c.value = _.matches;
|
|
68
68
|
}, d = () => {
|
|
69
69
|
t && ("removeEventListener" in t ? t.removeEventListener("change", s) : t.removeListener(s));
|
|
70
70
|
}, p = B(() => {
|
|
71
|
-
a.value && (d(), t = o.matchMedia(
|
|
71
|
+
a.value && (d(), t = o.matchMedia($(e)), "addEventListener" in t ? t.addEventListener("change", s) : t.addListener(s), c.value = t.matches);
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return H(() => {
|
|
74
74
|
p(), d(), t = void 0;
|
|
75
75
|
}), c;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Le(e = {}) {
|
|
78
78
|
const {
|
|
79
|
-
window: n =
|
|
79
|
+
window: n = x,
|
|
80
80
|
initialWidth: o = Number.POSITIVE_INFINITY,
|
|
81
81
|
initialHeight: a = Number.POSITIVE_INFINITY,
|
|
82
82
|
listenOrientation: t = !0,
|
|
@@ -84,22 +84,22 @@ function Ae(e = {}) {
|
|
|
84
84
|
} = e, s = m(o), d = m(a), p = () => {
|
|
85
85
|
n && (c ? (s.value = n.innerWidth, d.value = n.innerHeight) : (s.value = n.document.documentElement.clientWidth, d.value = n.document.documentElement.clientHeight));
|
|
86
86
|
};
|
|
87
|
-
if (p(),
|
|
88
|
-
const _ =
|
|
87
|
+
if (p(), Se(p), Ve("resize", p, { passive: !0 }), t) {
|
|
88
|
+
const _ = Ae("(orientation: portrait)");
|
|
89
89
|
j(_, () => p());
|
|
90
90
|
}
|
|
91
91
|
return { width: s, height: d };
|
|
92
92
|
}
|
|
93
|
-
const Me = { class: "login-container" },
|
|
93
|
+
const Me = { class: "login-container" }, Pe = { class: "login-top flex items-center" }, Oe = { class: "qrcode-container" }, $e = ["src"], xe = { class: "flex justify-between items-center w-full" }, We = ["src"], De = 992, Ne = /* @__PURE__ */ te({
|
|
94
94
|
__name: "index",
|
|
95
95
|
setup(e) {
|
|
96
|
-
const { t: n } = pe(), o = m(
|
|
97
|
-
r.props.name === "user" ? (
|
|
96
|
+
const { t: n } = pe(), o = m(M.APP_ACTIVE), a = (r) => {
|
|
97
|
+
r.props.name === "user" ? (L(), g()) : P(), o.value = r.props.name;
|
|
98
98
|
}, t = m({
|
|
99
99
|
scope: "",
|
|
100
100
|
username: "",
|
|
101
101
|
password: ""
|
|
102
|
-
}), c =
|
|
102
|
+
}), c = z(() => {
|
|
103
103
|
const r = O().language === "en" ? "Please enter " : "请输入";
|
|
104
104
|
return {
|
|
105
105
|
username: [
|
|
@@ -131,8 +131,8 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
131
131
|
var r;
|
|
132
132
|
(r = d.value) == null || r.validate((l) => {
|
|
133
133
|
l && (s.value = !0, f.login({ ...t.value, password: ge(t.value.password) }).then(() => {
|
|
134
|
-
const y = p.query, h = y.redirect ??
|
|
135
|
-
(
|
|
134
|
+
const y = p.query, h = y.redirect ?? M.APP_REDIRECT, w = Object.keys(y).reduce(
|
|
135
|
+
(T, q) => (q !== "redirect" && (T[q] = y[q]), T),
|
|
136
136
|
{}
|
|
137
137
|
);
|
|
138
138
|
_.push({ path: h, query: w }), g();
|
|
@@ -148,18 +148,18 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
148
148
|
});
|
|
149
149
|
};
|
|
150
150
|
g();
|
|
151
|
-
let
|
|
151
|
+
let S = setInterval(W, 3e3);
|
|
152
152
|
const V = m({});
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
V.value = r, k.value = !1, K(),
|
|
153
|
+
function P() {
|
|
154
|
+
_e().then(({ data: r }) => {
|
|
155
|
+
V.value = r, k.value = !1, K(), S = setInterval(W, 3e3);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
o.value === "qrCode" &&
|
|
159
|
-
function
|
|
158
|
+
o.value === "qrCode" && P();
|
|
159
|
+
function W() {
|
|
160
160
|
V.value.ticket && f.loginByQrcode({ ticket: V.value.ticket }).then(() => {
|
|
161
|
-
|
|
162
|
-
const r = p.query, l = r.redirect ??
|
|
161
|
+
L(), k.value = !1, V.value.qrcodeUrl = ce;
|
|
162
|
+
const r = p.query, l = r.redirect ?? M.APP_REDIRECT, y = Object.keys(r).reduce(
|
|
163
163
|
(h, w) => (w !== "redirect" && (h[w] = r[w]), h),
|
|
164
164
|
{}
|
|
165
165
|
);
|
|
@@ -168,21 +168,21 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
168
168
|
}
|
|
169
169
|
let A = null;
|
|
170
170
|
const k = m(!1);
|
|
171
|
-
function
|
|
172
|
-
|
|
171
|
+
function L() {
|
|
172
|
+
S && (clearInterval(S), S = null), A && (clearTimeout(A), A = null);
|
|
173
173
|
}
|
|
174
174
|
function K() {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
},
|
|
175
|
+
L(), A = setTimeout(() => {
|
|
176
|
+
L(), k.value = !0;
|
|
177
|
+
}, M.APP_TIMEOUT);
|
|
178
178
|
}
|
|
179
|
-
const D = O(), { width: F } =
|
|
179
|
+
const D = O(), { width: F } = Le();
|
|
180
180
|
return B(() => {
|
|
181
181
|
F.value < De ? D.toggleDevice("mobile") : D.toggleDevice("desktop");
|
|
182
182
|
}), (r, l) => {
|
|
183
|
-
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"),
|
|
183
|
+
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"), T = C("el-form-item"), q = C("el-button"), G = C("el-form"), Y = C("el-tabs"), J = C("el-card");
|
|
184
184
|
return oe(), ne("div", Me, [
|
|
185
|
-
u("div",
|
|
185
|
+
u("div", Pe, [
|
|
186
186
|
l[4] || (l[4] = u("img", {
|
|
187
187
|
src: de,
|
|
188
188
|
class: "logo-img",
|
|
@@ -214,10 +214,10 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
214
214
|
src: V.value.qrcodeUrl,
|
|
215
215
|
style: le({ opacity: k.value ? 0.02 : 1 }),
|
|
216
216
|
alt: "二维码"
|
|
217
|
-
}, null, 12,
|
|
217
|
+
}, null, 12, $e),
|
|
218
218
|
re(u("div", null, [
|
|
219
219
|
l[6] || (l[6] = u("div", null, "二维码已过期", -1)),
|
|
220
|
-
u("div", { onClick:
|
|
220
|
+
u("div", { onClick: P }, "点击刷新")
|
|
221
221
|
], 512), [
|
|
222
222
|
[se, k.value]
|
|
223
223
|
])
|
|
@@ -238,7 +238,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
238
238
|
rules: c.value
|
|
239
239
|
}, {
|
|
240
240
|
default: b(() => [
|
|
241
|
-
i(
|
|
241
|
+
i(T, { prop: "username" }, {
|
|
242
242
|
default: b(() => [
|
|
243
243
|
i(w, {
|
|
244
244
|
modelValue: t.value.username,
|
|
@@ -248,7 +248,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
248
248
|
]),
|
|
249
249
|
_: 1
|
|
250
250
|
}),
|
|
251
|
-
i(
|
|
251
|
+
i(T, { prop: "password" }, {
|
|
252
252
|
default: b(() => [
|
|
253
253
|
i(w, {
|
|
254
254
|
modelValue: t.value.password,
|
|
@@ -261,9 +261,9 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
263
263
|
}),
|
|
264
|
-
i(
|
|
264
|
+
i(T, { prop: "captchaCode" }, {
|
|
265
265
|
default: b(() => [
|
|
266
|
-
u("div",
|
|
266
|
+
u("div", xe, [
|
|
267
267
|
i(w, {
|
|
268
268
|
style: { width: "65%" },
|
|
269
269
|
modelValue: t.value.captchaCode,
|
|
@@ -276,7 +276,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
276
276
|
src: E.value,
|
|
277
277
|
onClick: g,
|
|
278
278
|
alt: "验证码"
|
|
279
|
-
}, null, 8,
|
|
279
|
+
}, null, 8, We)
|
|
280
280
|
])
|
|
281
281
|
]),
|
|
282
282
|
_: 1
|
|
@@ -307,7 +307,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
307
307
|
]);
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
}), Ke = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-
|
|
310
|
+
}), Ke = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-b8d707bf"]]);
|
|
311
311
|
export {
|
|
312
312
|
Ke as default
|
|
313
313
|
};
|
|
@@ -92,6 +92,7 @@ const Rs = {
|
|
|
92
92
|
likeMerchantNoRead: "请输入连锁号",
|
|
93
93
|
likeMerchantNameRead: "请输入商户名称",
|
|
94
94
|
createTime: "到账日期",
|
|
95
|
+
createTimeRead: "请选择到账日期",
|
|
95
96
|
transferMoneyDateStart: "开始时间",
|
|
96
97
|
transferMoneyDateEnd: "结束时间",
|
|
97
98
|
transferMoneyDate: "划款时间",
|
|
@@ -2700,7 +2701,7 @@ const Li = {
|
|
|
2700
2701
|
formatDate: Ci
|
|
2701
2702
|
};
|
|
2702
2703
|
}
|
|
2703
|
-
}, Ii = [], Hi = () => import("./index-
|
|
2704
|
+
}, Ii = [], Hi = () => import("./index-C2M_dK36.mjs"), $i = () => import("./index-Cwhi9rvj.mjs"), Ui = () => import("./index-DcQ0Bjxl.mjs"), qi = () => import("./index-CgbOnDFk.mjs"), Ai = [
|
|
2704
2705
|
{
|
|
2705
2706
|
path: "/redirect",
|
|
2706
2707
|
component: ze,
|
|
@@ -2777,7 +2778,7 @@ const Li = {
|
|
|
2777
2778
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2778
2779
|
});
|
|
2779
2780
|
Ts.value = Ei;
|
|
2780
|
-
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2781
|
+
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-DcQ0Bjxl.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-u4dNCa0T.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-fu3fGrJB.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BxEHOKHE.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-CuEqsPD7.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-XEzpdsLj.mjs"), "./views/payment/history-pay-trade/index.vue": () => import("./index-CfdbNSq8.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-Cwhi9rvj.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-CZR9oAkw.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-FS5kDoPy.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index copy.vue": () => import("./index copy-BMOSe9EZ.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-C2M_dK36.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-CgbOnDFk.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-1jun1BI_.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-BCg9UNFw.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-CaBORY0Z.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-CiDstsD9.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-BbgmsRx0.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DV6dRTjD.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-D4jXgbZE.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-raAsbnbG.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-BxhHHLWl.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-B4SCq7KH.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CryQp8d6.mjs") }), Bi = {
|
|
2781
2782
|
install(e) {
|
|
2782
2783
|
xs(Vi, 7), Ws(bs), e.use(Li);
|
|
2783
2784
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as F, ref as k, onActivated as O, resolveComponent as r, resolveDirective as W, createElementBlock as V, openBlock as A, createElementVNode as f, createVNode as t, withCtx as a, unref as o, withKeys as _, withDirectives as
|
|
1
|
+
import { defineComponent as F, ref as k, onActivated as O, resolveComponent as r, resolveDirective as W, createElementBlock as V, openBlock as A, createElementVNode as f, createVNode as t, withCtx as a, unref as o, withKeys as _, withDirectives as S, vShow as Z, createTextVNode as d, toDisplayString as m, createBlock as x, createCommentVNode as G, isRef as $ } from "vue";
|
|
2
2
|
import { useI18n as J } from "vue-i18n";
|
|
3
3
|
import { useRouter as X } from "vue-router";
|
|
4
|
-
import { useUserStore as
|
|
4
|
+
import { useUserStore as N, clearEmpty as ee, request as te, useTableHooks as le } from "jmash-core";
|
|
5
5
|
import { tokenExt as ae } from "xyvcard-agent";
|
|
6
|
-
import { D as v } from "./index-
|
|
7
|
-
import { DateRange as
|
|
8
|
-
import { g as
|
|
9
|
-
class
|
|
6
|
+
import { D as v, C as ne } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { DateRange as oe } from "xyvcard-insts";
|
|
8
|
+
import { g as se } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
class re {
|
|
10
10
|
getKey(p) {
|
|
11
11
|
return {
|
|
12
12
|
analysisTime: p.analysisTime,
|
|
@@ -15,7 +15,7 @@ class se {
|
|
|
15
15
|
}
|
|
16
16
|
// 查询翻页信息支付交易汇总统计;
|
|
17
17
|
findPage(p) {
|
|
18
|
-
const C =
|
|
18
|
+
const C = N().user.tenant;
|
|
19
19
|
return ee(p), te({
|
|
20
20
|
url: "/v1/settle/analysis/agent/page/" + C,
|
|
21
21
|
method: "get",
|
|
@@ -23,21 +23,21 @@ class se {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const de = new re(), ie = { class: "app-container" }, ue = { class: "search-container" }, me = { class: "total-num" }, pe = { class: "blue_color" }, ye = { class: "blue_color" }, fe = { class: "blue_color" }, ge = { class: "blue_color" }, be = ["onClick"], Ve = /* @__PURE__ */ F({
|
|
27
27
|
__name: "index",
|
|
28
28
|
setup(D) {
|
|
29
29
|
const { t: p } = J();
|
|
30
30
|
v.agentBizDict.useValues(), v.instsBizDict.useValues();
|
|
31
31
|
const C = X(), s = k({
|
|
32
|
-
tokenExt: ae.getTokenExt(
|
|
32
|
+
tokenExt: ae.getTokenExt(N().user.tenant)
|
|
33
33
|
}), {
|
|
34
34
|
tableHooks: u,
|
|
35
35
|
multipleTableRef: R,
|
|
36
36
|
queryFormRef: U,
|
|
37
37
|
listLoading: E,
|
|
38
|
-
tableData:
|
|
38
|
+
tableData: P,
|
|
39
39
|
total: b
|
|
40
|
-
} = le(p,
|
|
40
|
+
} = le(p, de, s);
|
|
41
41
|
let T = u.totalRecord, g = k([
|
|
42
42
|
// 序号
|
|
43
43
|
{
|
|
@@ -119,27 +119,28 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
119
119
|
isColumn: !0
|
|
120
120
|
}
|
|
121
121
|
]);
|
|
122
|
-
function
|
|
122
|
+
function z(n) {
|
|
123
123
|
C.push({
|
|
124
124
|
path: "/payment/pay-trade",
|
|
125
125
|
query: {
|
|
126
126
|
agentCode: n.agentCode,
|
|
127
|
-
analysisTime: n.analysisTime
|
|
127
|
+
analysisTime: n.analysisTime,
|
|
128
|
+
tradeStatus: ne.PAY_SUCCESS
|
|
128
129
|
}
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
|
-
function
|
|
132
|
+
function I(n) {
|
|
132
133
|
u.selectionRows.value = n;
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
+
function M(n) {
|
|
135
136
|
u.handleSort(n.prop, n.order);
|
|
136
137
|
}
|
|
137
138
|
return O(() => {
|
|
138
139
|
u.getList();
|
|
139
140
|
}), (n, e) => {
|
|
140
|
-
const
|
|
141
|
-
return A(), V("div",
|
|
142
|
-
f("div",
|
|
141
|
+
const Y = r("el-tree-select"), y = r("el-form-item"), i = r("el-col"), w = r("el-input"), j = r("jmash-select"), c = r("el-row"), h = r("el-button"), B = r("el-form"), K = r("jmash-column-select"), Q = r("jmash-table"), q = r("jmash-pagination"), H = r("el-card"), L = W("hasPerm");
|
|
142
|
+
return A(), V("div", ie, [
|
|
143
|
+
f("div", ue, [
|
|
143
144
|
t(B, {
|
|
144
145
|
ref_key: "queryFormRef",
|
|
145
146
|
ref: U,
|
|
@@ -157,7 +158,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
157
158
|
prop: "agentCode"
|
|
158
159
|
}, {
|
|
159
160
|
default: a(() => [
|
|
160
|
-
t(
|
|
161
|
+
t(Y, {
|
|
161
162
|
modelValue: s.value.agentCode,
|
|
162
163
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.agentCode = l),
|
|
163
164
|
data: o(v).agentBizDict.values,
|
|
@@ -200,7 +201,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
200
201
|
prop: "instsId"
|
|
201
202
|
}, {
|
|
202
203
|
default: a(() => [
|
|
203
|
-
t(
|
|
204
|
+
t(j, {
|
|
204
205
|
modelValue: s.value.instsId,
|
|
205
206
|
"onUpdate:modelValue": e[3] || (e[3] = (l) => s.value.instsId = l),
|
|
206
207
|
placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
|
|
@@ -248,7 +249,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
248
249
|
prop: "analysisTimeStart"
|
|
249
250
|
}, {
|
|
250
251
|
default: a(() => [
|
|
251
|
-
t(o(
|
|
252
|
+
t(o(oe), {
|
|
252
253
|
"start-time": s.value.analysisTimeStart,
|
|
253
254
|
"onUpdate:startTime": e[7] || (e[7] = (l) => s.value.analysisTimeStart = l),
|
|
254
255
|
"end-time": s.value.analysisTimeEnd,
|
|
@@ -262,7 +263,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
262
263
|
]),
|
|
263
264
|
_: 1
|
|
264
265
|
}, 8, ["label"]),
|
|
265
|
-
|
|
266
|
+
S(t(y, { prop: "analysisTimeEnd" }, null, 512), [
|
|
266
267
|
[Z, !1]
|
|
267
268
|
])
|
|
268
269
|
]),
|
|
@@ -317,7 +318,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
317
318
|
default: a(() => [
|
|
318
319
|
t(K, {
|
|
319
320
|
modelValue: o(g),
|
|
320
|
-
"onUpdate:modelValue": e[11] || (e[11] = (l) =>
|
|
321
|
+
"onUpdate:modelValue": e[11] || (e[11] = (l) => $(g) ? g.value = l : g = l),
|
|
321
322
|
"label-name": "settle/settle-trade-analysis"
|
|
322
323
|
}, null, 8, ["modelValue"])
|
|
323
324
|
]),
|
|
@@ -331,7 +332,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
331
332
|
o(b) > 0 ? (A(), x(q, {
|
|
332
333
|
key: 0,
|
|
333
334
|
total: o(b),
|
|
334
|
-
"onUpdate:total": e[12] || (e[12] = (l) =>
|
|
335
|
+
"onUpdate:total": e[12] || (e[12] = (l) => $(b) ? b.value = l : null),
|
|
335
336
|
"current-page": s.value.curPage,
|
|
336
337
|
"onUpdate:currentPage": e[13] || (e[13] = (l) => s.value.curPage = l),
|
|
337
338
|
"page-size": s.value.pageSize,
|
|
@@ -340,13 +341,13 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
340
341
|
}, null, 8, ["total", "current-page", "page-size"])) : G("", !0)
|
|
341
342
|
]),
|
|
342
343
|
default: a(() => [
|
|
343
|
-
f("div",
|
|
344
|
+
f("div", me, [
|
|
344
345
|
t(c, { gutter: 20 }, {
|
|
345
346
|
default: a(() => [
|
|
346
347
|
t(i, { span: 5 }, {
|
|
347
348
|
default: a(() => [
|
|
348
349
|
e[17] || (e[17] = d(" 订单笔数: ")),
|
|
349
|
-
f("span",
|
|
350
|
+
f("span", pe, m(o(T).totalOrderCount), 1),
|
|
350
351
|
e[18] || (e[18] = d(" 笔 "))
|
|
351
352
|
]),
|
|
352
353
|
_: 1
|
|
@@ -354,7 +355,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
354
355
|
t(i, { span: 5 }, {
|
|
355
356
|
default: a(() => [
|
|
356
357
|
e[19] || (e[19] = d(" 订单金额: ")),
|
|
357
|
-
f("span",
|
|
358
|
+
f("span", ye, m(o(T).totalOrderAmount), 1),
|
|
358
359
|
e[20] || (e[20] = d(" 元 "))
|
|
359
360
|
]),
|
|
360
361
|
_: 1
|
|
@@ -362,7 +363,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
362
363
|
t(i, { span: 5 }, {
|
|
363
364
|
default: a(() => [
|
|
364
365
|
e[21] || (e[21] = d(" 交易金额: ")),
|
|
365
|
-
f("span",
|
|
366
|
+
f("span", fe, m(o(T).totalTradeAmount), 1),
|
|
366
367
|
e[22] || (e[22] = d(" 元 "))
|
|
367
368
|
]),
|
|
368
369
|
_: 1
|
|
@@ -370,7 +371,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
370
371
|
t(i, { span: 5 }, {
|
|
371
372
|
default: a(() => [
|
|
372
373
|
e[23] || (e[23] = d(" 手续费: ")),
|
|
373
|
-
f("span",
|
|
374
|
+
f("span", ge, m(o(T).totalFeeAmt), 1),
|
|
374
375
|
e[24] || (e[24] = d(" 元 "))
|
|
375
376
|
]),
|
|
376
377
|
_: 1
|
|
@@ -385,21 +386,21 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
385
386
|
"row-key": "settleTradeAnalysisPk",
|
|
386
387
|
isSelection: !1,
|
|
387
388
|
"list-loading": o(E),
|
|
388
|
-
data: o(
|
|
389
|
+
data: o(P),
|
|
389
390
|
"table-label": o(g),
|
|
390
|
-
onSelectionChange:
|
|
391
|
-
onSortChange:
|
|
391
|
+
onSelectionChange: I,
|
|
392
|
+
onSortChange: M
|
|
392
393
|
}, {
|
|
393
394
|
agentName: a((l) => [
|
|
394
|
-
d(m(o(
|
|
395
|
+
d(m(o(se)(l.data.row.agentCode)), 1)
|
|
395
396
|
]),
|
|
396
397
|
operation: a((l) => [
|
|
397
|
-
|
|
398
|
+
S((A(), V("span", {
|
|
398
399
|
class: "el-button-color",
|
|
399
|
-
onClick: (
|
|
400
|
+
onClick: (Te) => z(l.data.row)
|
|
400
401
|
}, [
|
|
401
402
|
d(m(n.$t("settleTradeAnalysis.view")), 1)
|
|
402
|
-
], 8,
|
|
403
|
+
], 8, be)), [
|
|
403
404
|
[L, ["payment:agent_analysis:view"]]
|
|
404
405
|
])
|
|
405
406
|
]),
|
|
@@ -413,5 +414,5 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
413
414
|
}
|
|
414
415
|
});
|
|
415
416
|
export {
|
|
416
|
-
|
|
417
|
+
Ve as default
|
|
417
418
|
};
|