xyvcard-settle 0.0.47 → 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-BQjgVD9D.mjs → history-BxhHHLWl.mjs} +1 -1
- package/dist/{history-DCwgJuDo.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-DUu1w36z.mjs → index-B4SCq7KH.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-BCg9UNFw.mjs} +24 -24
- package/dist/{index-BJDG5RJu.mjs → index-BbgmsRx0.mjs} +50 -49
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-Cr3j3TRH.mjs → index-C4pzKlKF.mjs} +2 -2
- package/dist/{index-ClDxB7Ty.mjs → index-CaBORY0Z.mjs} +38 -37
- package/dist/{index-BSjUBqhl.mjs → index-CfdbNSq8.mjs} +33 -33
- package/dist/{index-DYgHw7PE.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-B8Y2esGZ.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/{today-DawV1DzV.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-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-CBnBjp2N.mjs} +145 -113
- 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/constant.d.ts +1 -0
- package/package.json +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +0 -371
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as X, ref as
|
|
1
|
+
import { defineComponent as X, ref as M, onActivated as x, resolveComponent as p, resolveDirective as ee, createElementBlock as S, openBlock as v, createElementVNode as b, createVNode as t, withCtx as l, withKeys as c, unref as n, createBlock as k, createCommentVNode as I, withDirectives as R, vShow as te, createTextVNode as r, toDisplayString as i, isRef as z } from "vue";
|
|
2
2
|
import { useRoute as le, useRouter as ae } from "vue-router";
|
|
3
3
|
import { useI18n as ne } from "vue-i18n";
|
|
4
4
|
import { useUserStore as U, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
|
|
5
5
|
import { tokenExt as de } from "xyvcard-agent";
|
|
6
|
-
import { D as f } from "./index-
|
|
7
|
-
import { DateRange as
|
|
8
|
-
import { g as
|
|
9
|
-
import { g as
|
|
10
|
-
class
|
|
6
|
+
import { D as f, C as ue } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { DateRange as ie } from "xyvcard-insts";
|
|
8
|
+
import { g as me } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
import { g as pe } from "./merchant-D9rtENQd.mjs";
|
|
10
|
+
class ye {
|
|
11
11
|
getKey(T) {
|
|
12
12
|
return {
|
|
13
13
|
analysisTime: T.analysisTime,
|
|
@@ -24,22 +24,22 @@ class pe {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const fe = new ye(), be = { class: "app-container" }, Te = { class: "search-container" }, ve = { class: "total-num" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, we = ["onClick"], Re = /* @__PURE__ */ X({
|
|
28
28
|
__name: "index",
|
|
29
29
|
setup(B) {
|
|
30
30
|
const { t: T } = ne();
|
|
31
31
|
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
32
|
-
const N = le().query.tenant, E = ae(), s =
|
|
32
|
+
const N = le().query.tenant, E = ae(), s = M({
|
|
33
33
|
tokenExt: de.getTokenExt(U().user.tenant)
|
|
34
34
|
}), {
|
|
35
35
|
tableHooks: u,
|
|
36
|
-
multipleTableRef:
|
|
37
|
-
queryFormRef:
|
|
38
|
-
listLoading:
|
|
39
|
-
tableData:
|
|
40
|
-
total:
|
|
41
|
-
} = re(T,
|
|
42
|
-
let g = u.totalRecord, A =
|
|
36
|
+
multipleTableRef: P,
|
|
37
|
+
queryFormRef: Q,
|
|
38
|
+
listLoading: Y,
|
|
39
|
+
tableData: j,
|
|
40
|
+
total: w
|
|
41
|
+
} = re(T, fe, s);
|
|
42
|
+
let g = u.totalRecord, A = M([
|
|
43
43
|
// 序号
|
|
44
44
|
{
|
|
45
45
|
label: "settleTradeAnalysis.index",
|
|
@@ -142,12 +142,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
142
142
|
isColumn: !0
|
|
143
143
|
}
|
|
144
144
|
]);
|
|
145
|
-
function
|
|
145
|
+
function K(o) {
|
|
146
146
|
E.push({
|
|
147
147
|
path: "/payment/pay-trade",
|
|
148
148
|
query: {
|
|
149
149
|
merchantId: o.merchantId,
|
|
150
|
-
analysisTime: o.analysisTime
|
|
150
|
+
analysisTime: o.analysisTime,
|
|
151
|
+
tradeStatus: ue.PAY_SUCCESS
|
|
151
152
|
}
|
|
152
153
|
});
|
|
153
154
|
}
|
|
@@ -160,18 +161,18 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
160
161
|
return x(() => {
|
|
161
162
|
u.getList();
|
|
162
163
|
}), (o, e) => {
|
|
163
|
-
const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"),
|
|
164
|
-
return v(),
|
|
165
|
-
b("div",
|
|
164
|
+
const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"), _ = p("el-input"), C = p("el-row"), L = p("el-tree-select"), $ = p("el-button"), F = p("el-form"), O = p("jmash-column-select"), W = p("jmash-table"), Z = p("jmash-pagination"), G = p("el-card"), J = ee("hasPerm");
|
|
165
|
+
return v(), S("div", be, [
|
|
166
|
+
b("div", Te, [
|
|
166
167
|
t(F, {
|
|
167
168
|
ref_key: "queryFormRef",
|
|
168
|
-
ref:
|
|
169
|
+
ref: Q,
|
|
169
170
|
model: s.value,
|
|
170
171
|
inline: !0,
|
|
171
172
|
"label-width": "6em"
|
|
172
173
|
}, {
|
|
173
174
|
default: l(() => [
|
|
174
|
-
t(
|
|
175
|
+
t(C, null, {
|
|
175
176
|
default: l(() => [
|
|
176
177
|
t(d, { span: 6 }, {
|
|
177
178
|
default: l(() => [
|
|
@@ -226,7 +227,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
226
227
|
prop: "likeMerchantNo"
|
|
227
228
|
}, {
|
|
228
229
|
default: l(() => [
|
|
229
|
-
t(
|
|
230
|
+
t(_, {
|
|
230
231
|
modelValue: s.value.likeMerchantNo,
|
|
231
232
|
"onUpdate:modelValue": e[4] || (e[4] = (a) => s.value.likeMerchantNo = a),
|
|
232
233
|
placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
@@ -246,7 +247,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
246
247
|
prop: "termNo"
|
|
247
248
|
}, {
|
|
248
249
|
default: l(() => [
|
|
249
|
-
t(
|
|
250
|
+
t(_, {
|
|
250
251
|
modelValue: s.value.termNo,
|
|
251
252
|
"onUpdate:modelValue": e[6] || (e[6] = (a) => s.value.termNo = a),
|
|
252
253
|
placeholder: o.$t("settleTradeAnalysis.termNoRead"),
|
|
@@ -262,9 +263,9 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
262
263
|
]),
|
|
263
264
|
_: 1
|
|
264
265
|
}),
|
|
265
|
-
t(
|
|
266
|
+
t(C, null, {
|
|
266
267
|
default: l(() => {
|
|
267
|
-
var a,
|
|
268
|
+
var a, h;
|
|
268
269
|
return [
|
|
269
270
|
(a = n(N)) != null && a.includes("@") ? I("", !0) : (v(), k(d, {
|
|
270
271
|
key: 0,
|
|
@@ -345,7 +346,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
345
346
|
prop: "analysisTimeStart"
|
|
346
347
|
}, {
|
|
347
348
|
default: l(() => [
|
|
348
|
-
t(n(
|
|
349
|
+
t(n(ie), {
|
|
349
350
|
class: "!w-[203px]",
|
|
350
351
|
"start-time": s.value.analysisTimeStart,
|
|
351
352
|
"onUpdate:startTime": e[13] || (e[13] = (m) => s.value.analysisTimeStart = m),
|
|
@@ -360,13 +361,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
360
361
|
]),
|
|
361
362
|
_: 1
|
|
362
363
|
}, 8, ["label"]),
|
|
363
|
-
|
|
364
|
+
R(t(y, { prop: "analysisTimeEnd" }, null, 512), [
|
|
364
365
|
[te, !1]
|
|
365
366
|
])
|
|
366
367
|
]),
|
|
367
368
|
_: 1
|
|
368
369
|
}),
|
|
369
|
-
(
|
|
370
|
+
(h = n(N)) != null && h.includes("@") ? (v(), k(d, {
|
|
370
371
|
key: 1,
|
|
371
372
|
span: 6
|
|
372
373
|
}, {
|
|
@@ -400,7 +401,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
400
401
|
}),
|
|
401
402
|
_: 1
|
|
402
403
|
}),
|
|
403
|
-
t(
|
|
404
|
+
t(C, null, {
|
|
404
405
|
default: l(() => {
|
|
405
406
|
var a;
|
|
406
407
|
return [
|
|
@@ -413,7 +414,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
413
414
|
default: l(() => [
|
|
414
415
|
t($, {
|
|
415
416
|
type: "primary",
|
|
416
|
-
onClick: e[17] || (e[17] = (
|
|
417
|
+
onClick: e[17] || (e[17] = (h) => n(u).handleQuery())
|
|
417
418
|
}, {
|
|
418
419
|
default: l(() => [
|
|
419
420
|
r(i(o.$t("common.search")), 1)
|
|
@@ -421,7 +422,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
421
422
|
_: 1
|
|
422
423
|
}),
|
|
423
424
|
t($, {
|
|
424
|
-
onClick: e[18] || (e[18] = (
|
|
425
|
+
onClick: e[18] || (e[18] = (h) => n(u).resetQuery())
|
|
425
426
|
}, {
|
|
426
427
|
default: l(() => [
|
|
427
428
|
r(i(o.$t("common.reset")), 1)
|
|
@@ -448,7 +449,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
448
449
|
class: "table-container"
|
|
449
450
|
}, {
|
|
450
451
|
header: l(() => [
|
|
451
|
-
t(
|
|
452
|
+
t(C, null, {
|
|
452
453
|
default: l(() => [
|
|
453
454
|
t(d, {
|
|
454
455
|
span: 24,
|
|
@@ -468,10 +469,10 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
468
469
|
})
|
|
469
470
|
]),
|
|
470
471
|
footer: l(() => [
|
|
471
|
-
n(
|
|
472
|
+
n(w) > 0 ? (v(), k(Z, {
|
|
472
473
|
key: 0,
|
|
473
|
-
total: n(
|
|
474
|
-
"onUpdate:total": e[20] || (e[20] = (a) => z(
|
|
474
|
+
total: n(w),
|
|
475
|
+
"onUpdate:total": e[20] || (e[20] = (a) => z(w) ? w.value = a : null),
|
|
475
476
|
"current-page": s.value.curPage,
|
|
476
477
|
"onUpdate:currentPage": e[21] || (e[21] = (a) => s.value.curPage = a),
|
|
477
478
|
"page-size": s.value.pageSize,
|
|
@@ -480,13 +481,13 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
480
481
|
}, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
|
|
481
482
|
]),
|
|
482
483
|
default: l(() => [
|
|
483
|
-
b("div",
|
|
484
|
-
t(
|
|
484
|
+
b("div", ve, [
|
|
485
|
+
t(C, { gutter: 20 }, {
|
|
485
486
|
default: l(() => [
|
|
486
487
|
t(d, { span: 4 }, {
|
|
487
488
|
default: l(() => [
|
|
488
489
|
e[25] || (e[25] = r(" 订单数: ")),
|
|
489
|
-
b("span",
|
|
490
|
+
b("span", ce, i(n(g).totalOrderCount), 1),
|
|
490
491
|
e[26] || (e[26] = r(" 笔 "))
|
|
491
492
|
]),
|
|
492
493
|
_: 1
|
|
@@ -494,7 +495,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
494
495
|
t(d, { span: 4 }, {
|
|
495
496
|
default: l(() => [
|
|
496
497
|
e[27] || (e[27] = r(" 订单金额: ")),
|
|
497
|
-
b("span",
|
|
498
|
+
b("span", ge, i(n(g).totalOrderAmount), 1),
|
|
498
499
|
e[28] || (e[28] = r(" 元 "))
|
|
499
500
|
]),
|
|
500
501
|
_: 1
|
|
@@ -502,7 +503,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
502
503
|
t(d, { span: 4 }, {
|
|
503
504
|
default: l(() => [
|
|
504
505
|
e[29] || (e[29] = r(" 交易金额: ")),
|
|
505
|
-
b("span",
|
|
506
|
+
b("span", Ae, i(n(g).totalTradeAmount), 1),
|
|
506
507
|
e[30] || (e[30] = r(" 元 "))
|
|
507
508
|
]),
|
|
508
509
|
_: 1
|
|
@@ -510,7 +511,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
510
511
|
t(d, { span: 4 }, {
|
|
511
512
|
default: l(() => [
|
|
512
513
|
e[31] || (e[31] = r(" 优惠金额: ")),
|
|
513
|
-
b("span",
|
|
514
|
+
b("span", Ce, i(n(g).totalDiscountAmount), 1),
|
|
514
515
|
e[32] || (e[32] = r(" 元 "))
|
|
515
516
|
]),
|
|
516
517
|
_: 1
|
|
@@ -529,17 +530,17 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
529
530
|
]),
|
|
530
531
|
t(W, {
|
|
531
532
|
ref_key: "multipleTableRef",
|
|
532
|
-
ref:
|
|
533
|
+
ref: P,
|
|
533
534
|
isSelection: !1,
|
|
534
535
|
"row-key": "settleTradeAnalysisPk",
|
|
535
|
-
"list-loading": n(
|
|
536
|
-
data: n(
|
|
536
|
+
"list-loading": n(Y),
|
|
537
|
+
data: n(j),
|
|
537
538
|
"table-label": n(A),
|
|
538
539
|
onSelectionChange: q,
|
|
539
540
|
onSortChange: H
|
|
540
541
|
}, {
|
|
541
542
|
merchantId: l((a) => [
|
|
542
|
-
r(i(n(
|
|
543
|
+
r(i(n(pe)(a.data.row.merchantId)), 1)
|
|
543
544
|
]),
|
|
544
545
|
instsId: l((a) => [
|
|
545
546
|
r(i(n(f).instsBizDict.getValue(a.data.row.instsId)), 1)
|
|
@@ -548,12 +549,12 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
|
|
|
548
549
|
r(i(n(f).payModeBizDict.getEnumValue(a.data.row.payMode)), 1)
|
|
549
550
|
]),
|
|
550
551
|
agentCode: l((a) => [
|
|
551
|
-
r(i(n(
|
|
552
|
+
r(i(n(me)(a.data.row.agentCode)), 1)
|
|
552
553
|
]),
|
|
553
554
|
operation: l((a) => [
|
|
554
|
-
|
|
555
|
+
R((v(), S("span", {
|
|
555
556
|
class: "el-button-color",
|
|
556
|
-
onClick: (
|
|
557
|
+
onClick: (h) => K(a.data.row)
|
|
557
558
|
}, [
|
|
558
559
|
r(i(o.$t("settleTradeAnalysis.view")), 1)
|
|
559
560
|
], 8, we)), [
|
|
@@ -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
|
));
|
|
@@ -2701,7 +2701,7 @@ const Li = {
|
|
|
2701
2701
|
formatDate: Ci
|
|
2702
2702
|
};
|
|
2703
2703
|
}
|
|
2704
|
-
}, Ii = [], Hi = () => import("./index-C2M_dK36.mjs"), $i = () => 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 = [
|
|
2705
2705
|
{
|
|
2706
2706
|
path: "/redirect",
|
|
2707
2707
|
component: ze,
|
|
@@ -2778,7 +2778,7 @@ const Li = {
|
|
|
2778
2778
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2779
2779
|
});
|
|
2780
2780
|
Ts.value = Ei;
|
|
2781
|
-
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 = {
|
|
2782
2782
|
install(e) {
|
|
2783
2783
|
xs(Vi, 7), Ws(bs), e.use(Li);
|
|
2784
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
|
};
|