xyvcard-settle 0.0.47 → 0.0.49
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-CMyJKuis.mjs} +1 -1
- package/dist/{history-DCwgJuDo.mjs → history-DWaN_Nrb.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs +404 -0
- package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs} +96 -95
- package/dist/{index-BJDG5RJu.mjs → index-BeU6u9hH.mjs} +87 -85
- package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
- package/dist/{index-DSAnrTJ1.mjs → index-BmSUfSfV.mjs} +77 -76
- package/dist/{index-BSjUBqhl.mjs → index-C6IvQBy0.mjs} +99 -98
- package/dist/{index-yQjjxDcA.mjs → index-CVrtwq6W.mjs} +62 -61
- package/dist/{index-ClDxB7Ty.mjs → index-Cw3Bhtc2.mjs} +75 -73
- package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
- package/dist/{index-B8Y2esGZ.mjs → index-D8LRYlta.mjs} +2 -2
- package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
- package/dist/{index-DYgHw7PE.mjs → index-Ds4E1nsC.mjs} +1 -1
- package/dist/{index-Cr3j3TRH.mjs → index-IYVODwmA.mjs} +2 -2
- package/dist/{index-uat4MVcq.mjs → index-LT7qO1_c.mjs} +75 -74
- package/dist/{index-DUu1w36z.mjs → index-ZwyAUTzX.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-BU8dRQhE.mjs} +1 -1
- package/dist/{today-eDeS0zsk.mjs → today-DO4wIwlZ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs} +51 -50
- package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs} +147 -114
- 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
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { D as y } from "./index-
|
|
6
|
-
import { g as
|
|
7
|
-
import { tokenExt as
|
|
8
|
-
import { DateRange as
|
|
9
|
-
import { g as
|
|
10
|
-
class
|
|
1
|
+
import { defineComponent as X, getCurrentInstance as Z, ref as R, onActivated as x, resolveComponent as f, resolveDirective as q, createElementBlock as ee, openBlock as N, createElementVNode as T, createVNode as t, withCtx as a, withKeys as v, unref as l, createBlock as $, createCommentVNode as z, withDirectives as B, vShow as te, createTextVNode as n, toDisplayString as u, isRef as A } from "vue";
|
|
2
|
+
import { useI18n as ae } from "vue-i18n";
|
|
3
|
+
import { useRoute as le } from "vue-router";
|
|
4
|
+
import { useUserStore as U, clearEmpty as oe, request as re, useTableHooks as de } from "jmash-core";
|
|
5
|
+
import { D as y } from "./index-BgbsFf1D.mjs";
|
|
6
|
+
import { g as ne } from "./agent-R-Ml-XTA.mjs";
|
|
7
|
+
import { tokenExt as se } from "xyvcard-agent";
|
|
8
|
+
import { DateRange as ue } from "xyvcard-insts";
|
|
9
|
+
import { g as pe } from "./merchant-D9rtENQd.mjs";
|
|
10
|
+
class me {
|
|
11
11
|
getKey(p) {
|
|
12
12
|
return {
|
|
13
13
|
billId: p.billId
|
|
@@ -15,31 +15,31 @@ class ue {
|
|
|
15
15
|
}
|
|
16
16
|
// 查询翻页信息支付订单
|
|
17
17
|
findPage(p) {
|
|
18
|
-
const D =
|
|
19
|
-
return p && (p.hasOrderStatus = p.orderStatus !== void 0, p.hasBillsStatus = p.billsStatus !== void 0, p.hasTradeType = p.tradeType !== void 0, p.hasPayMode = p.payMode !== void 0, p.hasTradeStatus = p.tradeStatus !== void 0),
|
|
18
|
+
const D = U().user.tenant;
|
|
19
|
+
return p && (p.hasOrderStatus = p.orderStatus !== void 0, p.hasBillsStatus = p.billsStatus !== void 0, p.hasTradeType = p.tradeType !== void 0, p.hasPayMode = p.payMode !== void 0, p.hasTradeStatus = p.tradeStatus !== void 0), oe(p), re({
|
|
20
20
|
url: "/v1/payment/trade/my/page/" + D,
|
|
21
21
|
method: "get",
|
|
22
22
|
params: p
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const ie = new me(), ye = { class: "app-container" }, be = { class: "search-container" }, fe = { class: "total-num" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, we = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, Ne = { class: "blue_color" }, Se = { class: "blue_color" }, Be = /* @__PURE__ */ X({
|
|
27
27
|
__name: "index",
|
|
28
|
-
setup(
|
|
28
|
+
setup(P) {
|
|
29
29
|
y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
|
|
30
|
-
const { t: p } =
|
|
30
|
+
const { t: p } = ae(), { proxy: D } = Z(), I = le(), M = I.query.tenant, r = R({
|
|
31
31
|
agentCode: I.query.agentCode,
|
|
32
32
|
merchantId: I.query.merchantId,
|
|
33
|
-
tokenExt:
|
|
33
|
+
tokenExt: se.getTokenExt(U().user.tenant)
|
|
34
34
|
}), {
|
|
35
35
|
tableHooks: m,
|
|
36
|
-
multipleTableRef:
|
|
37
|
-
queryFormRef:
|
|
38
|
-
listLoading:
|
|
39
|
-
tableData:
|
|
40
|
-
total:
|
|
41
|
-
} =
|
|
42
|
-
let g = m.totalRecord,
|
|
36
|
+
multipleTableRef: Y,
|
|
37
|
+
queryFormRef: K,
|
|
38
|
+
listLoading: Q,
|
|
39
|
+
tableData: _,
|
|
40
|
+
total: c
|
|
41
|
+
} = de(p, ie, r);
|
|
42
|
+
let g = m.totalRecord, S = R([
|
|
43
43
|
// 序号
|
|
44
44
|
{
|
|
45
45
|
label: "payTrade.index",
|
|
@@ -192,15 +192,15 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
192
192
|
function j(d) {
|
|
193
193
|
m.handleSort(d.prop, d.order);
|
|
194
194
|
}
|
|
195
|
-
return
|
|
195
|
+
return x(() => {
|
|
196
196
|
m.getList();
|
|
197
197
|
}), (d, e) => {
|
|
198
|
-
const k = f("el-input"), b = f("el-form-item"), s = f("el-col"), C = f("jmash-select"), V = f("el-row"),
|
|
199
|
-
return
|
|
200
|
-
T("div",
|
|
201
|
-
t(
|
|
198
|
+
const k = f("el-input"), b = f("el-form-item"), s = f("el-col"), C = f("jmash-select"), V = f("el-row"), H = f("el-tree-select"), h = f("el-button"), L = f("el-form"), O = f("jmash-column-select"), F = f("jmash-table"), W = f("jmash-pagination"), G = f("el-card"), J = q("loading");
|
|
199
|
+
return N(), ee("div", ye, [
|
|
200
|
+
T("div", be, [
|
|
201
|
+
t(L, {
|
|
202
202
|
ref_key: "queryFormRef",
|
|
203
|
-
ref:
|
|
203
|
+
ref: K,
|
|
204
204
|
model: r.value,
|
|
205
205
|
inline: !0,
|
|
206
206
|
"label-width": "6em"
|
|
@@ -367,7 +367,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
367
367
|
]),
|
|
368
368
|
_: 1
|
|
369
369
|
}),
|
|
370
|
-
(o = l(M)) != null && o.includes("@") ? (
|
|
370
|
+
(o = l(M)) != null && o.includes("@") ? (N(), $(s, {
|
|
371
371
|
key: 1,
|
|
372
372
|
span: 6
|
|
373
373
|
}, {
|
|
@@ -392,7 +392,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
392
392
|
}, 8, ["label"])
|
|
393
393
|
]),
|
|
394
394
|
_: 1
|
|
395
|
-
})) : (
|
|
395
|
+
})) : (N(), $(s, {
|
|
396
396
|
key: 0,
|
|
397
397
|
span: 6
|
|
398
398
|
}, {
|
|
@@ -401,7 +401,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
401
401
|
label: d.$t("settleTradeAnalysis.agentCode")
|
|
402
402
|
}, {
|
|
403
403
|
default: a(() => [
|
|
404
|
-
t(
|
|
404
|
+
t(H, {
|
|
405
405
|
modelValue: r.value.agentCode,
|
|
406
406
|
"onUpdate:modelValue": e[14] || (e[14] = (i) => r.value.agentCode = i),
|
|
407
407
|
data: l(y).agentBizDict.values,
|
|
@@ -425,7 +425,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
425
425
|
default: a(() => {
|
|
426
426
|
var o, i;
|
|
427
427
|
return [
|
|
428
|
-
(o = l(M)) != null && o.includes("@") ? z("", !0) : (
|
|
428
|
+
(o = l(M)) != null && o.includes("@") ? z("", !0) : (N(), $(s, {
|
|
429
429
|
key: 0,
|
|
430
430
|
span: 6
|
|
431
431
|
}, {
|
|
@@ -458,7 +458,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
458
458
|
prop: "startCreateTime"
|
|
459
459
|
}, {
|
|
460
460
|
default: a(() => [
|
|
461
|
-
t(l(
|
|
461
|
+
t(l(ue), {
|
|
462
462
|
"start-time": r.value.startCreateTime,
|
|
463
463
|
"onUpdate:startTime": e[19] || (e[19] = (w) => r.value.startCreateTime = w),
|
|
464
464
|
"end-time": r.value.endCreateTime,
|
|
@@ -472,8 +472,8 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
472
472
|
]),
|
|
473
473
|
_: 1
|
|
474
474
|
}, 8, ["label"]),
|
|
475
|
-
|
|
476
|
-
[
|
|
475
|
+
B(t(b, { prop: "endCreateTime" }, null, 512), [
|
|
476
|
+
[te, !1]
|
|
477
477
|
])
|
|
478
478
|
]),
|
|
479
479
|
_: 1
|
|
@@ -516,7 +516,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
516
516
|
}, 8, ["model"]),
|
|
517
517
|
e[28] || (e[28] = T("div", { class: "clear" }, null, -1))
|
|
518
518
|
]),
|
|
519
|
-
t(
|
|
519
|
+
t(G, {
|
|
520
520
|
shadow: "never",
|
|
521
521
|
class: "table-container"
|
|
522
522
|
}, {
|
|
@@ -528,9 +528,9 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
528
528
|
class: "container-float"
|
|
529
529
|
}, {
|
|
530
530
|
default: a(() => [
|
|
531
|
-
t(
|
|
532
|
-
modelValue: l(
|
|
533
|
-
"onUpdate:modelValue": e[23] || (e[23] = (o) =>
|
|
531
|
+
t(O, {
|
|
532
|
+
modelValue: l(S),
|
|
533
|
+
"onUpdate:modelValue": e[23] || (e[23] = (o) => A(S) ? S.value = o : S = o),
|
|
534
534
|
"label-name": "settle/settle-trade-analysis"
|
|
535
535
|
}, null, 8, ["modelValue"])
|
|
536
536
|
]),
|
|
@@ -541,10 +541,10 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
541
541
|
})
|
|
542
542
|
]),
|
|
543
543
|
footer: a(() => [
|
|
544
|
-
l(
|
|
544
|
+
l(c) > 0 ? (N(), $(W, {
|
|
545
545
|
key: 0,
|
|
546
|
-
total: l(
|
|
547
|
-
"onUpdate:total": e[24] || (e[24] = (o) =>
|
|
546
|
+
total: l(c),
|
|
547
|
+
"onUpdate:total": e[24] || (e[24] = (o) => A(c) ? c.value = o : null),
|
|
548
548
|
"current-page": r.value.curPage,
|
|
549
549
|
"onUpdate:currentPage": e[25] || (e[25] = (o) => r.value.curPage = o),
|
|
550
550
|
"page-size": r.value.pageSize,
|
|
@@ -553,13 +553,13 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
553
553
|
}, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
|
|
554
554
|
]),
|
|
555
555
|
default: a(() => [
|
|
556
|
-
T("div",
|
|
556
|
+
T("div", fe, [
|
|
557
557
|
t(V, { gutter: 20 }, {
|
|
558
558
|
default: a(() => [
|
|
559
559
|
t(s, { span: 5 }, {
|
|
560
560
|
default: a(() => [
|
|
561
561
|
e[29] || (e[29] = n(" 订单笔数: ")),
|
|
562
|
-
T("span",
|
|
562
|
+
T("span", Te, u(l(g).totalSize), 1),
|
|
563
563
|
e[30] || (e[30] = n(" 笔 "))
|
|
564
564
|
]),
|
|
565
565
|
_: 1
|
|
@@ -567,7 +567,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
567
567
|
t(s, { span: 5 }, {
|
|
568
568
|
default: a(() => [
|
|
569
569
|
e[31] || (e[31] = n(" 订单金额: ")),
|
|
570
|
-
T("span",
|
|
570
|
+
T("span", ve, u(l(g).totalAmount), 1),
|
|
571
571
|
e[32] || (e[32] = n(" 元 "))
|
|
572
572
|
]),
|
|
573
573
|
_: 1
|
|
@@ -575,7 +575,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
575
575
|
t(s, { span: 5 }, {
|
|
576
576
|
default: a(() => [
|
|
577
577
|
e[33] || (e[33] = n(" 优惠金额: ")),
|
|
578
|
-
T("span",
|
|
578
|
+
T("span", ge, u(l(g).discountAmount), 1),
|
|
579
579
|
e[34] || (e[34] = n(" 元 "))
|
|
580
580
|
]),
|
|
581
581
|
_: 1
|
|
@@ -583,7 +583,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
583
583
|
t(s, { span: 5 }, {
|
|
584
584
|
default: a(() => [
|
|
585
585
|
e[35] || (e[35] = n(" 交易金额: ")),
|
|
586
|
-
T("span",
|
|
586
|
+
T("span", we, u(l(g).tradeAmount), 1),
|
|
587
587
|
e[36] || (e[36] = n(" 元 "))
|
|
588
588
|
]),
|
|
589
589
|
_: 1
|
|
@@ -599,7 +599,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
599
599
|
t(s, { span: 5 }, {
|
|
600
600
|
default: a(() => [
|
|
601
601
|
e[37] || (e[37] = n(" 收款笔数: ")),
|
|
602
|
-
T("span",
|
|
602
|
+
T("span", Ce, u(l(g).paidOrder), 1),
|
|
603
603
|
e[38] || (e[38] = n(" 笔 "))
|
|
604
604
|
]),
|
|
605
605
|
_: 1
|
|
@@ -607,7 +607,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
607
607
|
t(s, { span: 5 }, {
|
|
608
608
|
default: a(() => [
|
|
609
609
|
e[39] || (e[39] = n(" 收款金额: ")),
|
|
610
|
-
T("span",
|
|
610
|
+
T("span", Ve, u(l(g).paidAmount), 1),
|
|
611
611
|
e[40] || (e[40] = n(" 元 "))
|
|
612
612
|
]),
|
|
613
613
|
_: 1
|
|
@@ -615,7 +615,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
615
615
|
t(s, { span: 5 }, {
|
|
616
616
|
default: a(() => [
|
|
617
617
|
e[41] || (e[41] = n(" 退款笔数: ")),
|
|
618
|
-
T("span",
|
|
618
|
+
T("span", Ne, u(l(g).refundOrder), 1),
|
|
619
619
|
e[42] || (e[42] = n(" 笔 "))
|
|
620
620
|
]),
|
|
621
621
|
_: 1
|
|
@@ -623,7 +623,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
623
623
|
t(s, { span: 5 }, {
|
|
624
624
|
default: a(() => [
|
|
625
625
|
e[43] || (e[43] = n(" 退款金额: ")),
|
|
626
|
-
T("span",
|
|
626
|
+
T("span", Se, u(l(g).refundAmount), 1),
|
|
627
627
|
e[44] || (e[44] = n(" 元 "))
|
|
628
628
|
]),
|
|
629
629
|
_: 1
|
|
@@ -632,14 +632,13 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
632
632
|
_: 1
|
|
633
633
|
})
|
|
634
634
|
]),
|
|
635
|
-
|
|
635
|
+
B((N(), $(F, {
|
|
636
636
|
ref_key: "multipleTableRef",
|
|
637
|
-
ref:
|
|
637
|
+
ref: Y,
|
|
638
638
|
"row-key": "payTradePk",
|
|
639
639
|
isSelection: !1,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
"table-label": l(N),
|
|
640
|
+
data: l(_),
|
|
641
|
+
"table-label": l(S),
|
|
643
642
|
onSelectionChange: E,
|
|
644
643
|
onSortChange: j
|
|
645
644
|
}, {
|
|
@@ -659,7 +658,7 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
659
658
|
n(u(l(y).payModeBizDict.getEnumValue(o.data.row.payMode)), 1)
|
|
660
659
|
]),
|
|
661
660
|
merchantId: a((o) => [
|
|
662
|
-
n(u(l(
|
|
661
|
+
n(u(l(pe)(o.data.row.merchantId)), 1)
|
|
663
662
|
]),
|
|
664
663
|
createTime: a((o) => [
|
|
665
664
|
n(u(l(D).$moment.formatDate(
|
|
@@ -668,10 +667,12 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
668
667
|
)), 1)
|
|
669
668
|
]),
|
|
670
669
|
agentCode: a((o) => [
|
|
671
|
-
n(u(l(
|
|
670
|
+
n(u(l(ne)(o.data.row.agentCode)), 1)
|
|
672
671
|
]),
|
|
673
672
|
_: 1
|
|
674
|
-
}, 8, ["
|
|
673
|
+
}, 8, ["data", "table-label"])), [
|
|
674
|
+
[J, l(Q)]
|
|
675
|
+
])
|
|
675
676
|
]),
|
|
676
677
|
_: 1
|
|
677
678
|
})
|
|
@@ -680,5 +681,5 @@ const pe = new ue(), me = { class: "app-container" }, ie = { class: "search-cont
|
|
|
680
681
|
}
|
|
681
682
|
});
|
|
682
683
|
export {
|
|
683
|
-
|
|
684
|
+
Be as default
|
|
684
685
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useRouter as
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { tokenExt as
|
|
6
|
-
import { D as
|
|
7
|
-
import { DateRange as
|
|
8
|
-
import { g as
|
|
9
|
-
class
|
|
1
|
+
import { defineComponent as Z, ref as V, onActivated as x, resolveComponent as r, resolveDirective as S, createElementBlock as $, openBlock as v, createElementVNode as f, createVNode as t, withCtx as a, unref as o, withKeys as A, withDirectives as w, vShow as G, createTextVNode as d, toDisplayString as m, createBlock as N, createCommentVNode as J, isRef as D } from "vue";
|
|
2
|
+
import { useI18n as X } from "vue-i18n";
|
|
3
|
+
import { useRouter as ee } from "vue-router";
|
|
4
|
+
import { useUserStore as R, clearEmpty as te, request as le, useTableHooks as ae } from "jmash-core";
|
|
5
|
+
import { tokenExt as ne } from "xyvcard-agent";
|
|
6
|
+
import { D as C, C as oe } from "./index-BgbsFf1D.mjs";
|
|
7
|
+
import { DateRange as se } from "xyvcard-insts";
|
|
8
|
+
import { g as re } from "./agent-R-Ml-XTA.mjs";
|
|
9
|
+
class de {
|
|
10
10
|
getKey(p) {
|
|
11
11
|
return {
|
|
12
12
|
analysisTime: p.analysisTime,
|
|
@@ -15,30 +15,30 @@ class se {
|
|
|
15
15
|
}
|
|
16
16
|
// 查询翻页信息支付交易汇总统计;
|
|
17
17
|
findPage(p) {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
20
|
-
url: "/v1/settle/analysis/agent/page/" +
|
|
18
|
+
const _ = R().user.tenant;
|
|
19
|
+
return te(p), le({
|
|
20
|
+
url: "/v1/settle/analysis/agent/page/" + _,
|
|
21
21
|
method: "get",
|
|
22
22
|
params: p
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const ie = new de(), ue = { class: "app-container" }, me = { class: "search-container" }, pe = { class: "total-num" }, ye = { class: "blue_color" }, fe = { class: "blue_color" }, ge = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"], Se = /* @__PURE__ */ Z({
|
|
27
27
|
__name: "index",
|
|
28
|
-
setup(
|
|
29
|
-
const { t: p } =
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
tokenExt:
|
|
28
|
+
setup(U) {
|
|
29
|
+
const { t: p } = X();
|
|
30
|
+
C.agentBizDict.useValues(), C.instsBizDict.useValues();
|
|
31
|
+
const _ = ee(), s = V({
|
|
32
|
+
tokenExt: ne.getTokenExt(R().user.tenant)
|
|
33
33
|
}), {
|
|
34
34
|
tableHooks: u,
|
|
35
|
-
multipleTableRef:
|
|
36
|
-
queryFormRef:
|
|
37
|
-
listLoading:
|
|
38
|
-
tableData:
|
|
35
|
+
multipleTableRef: E,
|
|
36
|
+
queryFormRef: P,
|
|
37
|
+
listLoading: z,
|
|
38
|
+
tableData: I,
|
|
39
39
|
total: b
|
|
40
|
-
} =
|
|
41
|
-
let T = u.totalRecord, g =
|
|
40
|
+
} = ae(p, ie, s);
|
|
41
|
+
let T = u.totalRecord, g = V([
|
|
42
42
|
// 序号
|
|
43
43
|
{
|
|
44
44
|
label: "序号",
|
|
@@ -119,30 +119,31 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
119
119
|
isColumn: !0
|
|
120
120
|
}
|
|
121
121
|
]);
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function M(n) {
|
|
123
|
+
_.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: oe.PAY_SUCCESS
|
|
128
129
|
}
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
|
-
function
|
|
132
|
+
function Y(n) {
|
|
132
133
|
u.selectionRows.value = n;
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
+
function j(n) {
|
|
135
136
|
u.handleSort(n.prop, n.order);
|
|
136
137
|
}
|
|
137
|
-
return
|
|
138
|
+
return x(() => {
|
|
138
139
|
u.getList();
|
|
139
140
|
}), (n, e) => {
|
|
140
|
-
const
|
|
141
|
-
return
|
|
142
|
-
f("div",
|
|
143
|
-
t(
|
|
141
|
+
const B = r("el-tree-select"), y = r("el-form-item"), i = r("el-col"), h = r("el-input"), K = r("jmash-select"), c = r("el-row"), k = r("el-button"), Q = r("el-form"), q = r("jmash-column-select"), H = r("jmash-table"), L = r("jmash-pagination"), F = r("el-card"), O = S("hasPerm"), W = S("loading");
|
|
142
|
+
return v(), $("div", ue, [
|
|
143
|
+
f("div", me, [
|
|
144
|
+
t(Q, {
|
|
144
145
|
ref_key: "queryFormRef",
|
|
145
|
-
ref:
|
|
146
|
+
ref: P,
|
|
146
147
|
model: s.value,
|
|
147
148
|
inline: !0,
|
|
148
149
|
"label-width": "6em"
|
|
@@ -157,10 +158,10 @@ 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(B, {
|
|
161
162
|
modelValue: s.value.agentCode,
|
|
162
163
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.agentCode = l),
|
|
163
|
-
data: o(
|
|
164
|
+
data: o(C).agentBizDict.values,
|
|
164
165
|
"node-key": "value",
|
|
165
166
|
filterable: "",
|
|
166
167
|
clearable: "",
|
|
@@ -180,11 +181,11 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
180
181
|
prop: "agentCode"
|
|
181
182
|
}, {
|
|
182
183
|
default: a(() => [
|
|
183
|
-
t(
|
|
184
|
+
t(h, {
|
|
184
185
|
modelValue: s.value.agentCode,
|
|
185
186
|
"onUpdate:modelValue": e[1] || (e[1] = (l) => s.value.agentCode = l),
|
|
186
187
|
placeholder: n.$t("settleTradeAnalysis.agentCodesRead"),
|
|
187
|
-
onKeyup: e[2] || (e[2] =
|
|
188
|
+
onKeyup: e[2] || (e[2] = A((l) => o(u).handleQuery(), ["enter"])),
|
|
188
189
|
class: "!w-[203px]"
|
|
189
190
|
}, null, 8, ["modelValue", "placeholder"])
|
|
190
191
|
]),
|
|
@@ -200,12 +201,12 @@ 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(K, {
|
|
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"),
|
|
207
|
-
data: o(
|
|
208
|
-
onKeyup: e[4] || (e[4] =
|
|
208
|
+
data: o(C).instsBizDict.values,
|
|
209
|
+
onKeyup: e[4] || (e[4] = A((l) => o(u).handleQuery(), ["enter"])),
|
|
209
210
|
class: "!w-[203px]",
|
|
210
211
|
filterable: "",
|
|
211
212
|
clearable: ""
|
|
@@ -223,11 +224,11 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
223
224
|
prop: "likeMerchantNo"
|
|
224
225
|
}, {
|
|
225
226
|
default: a(() => [
|
|
226
|
-
t(
|
|
227
|
+
t(h, {
|
|
227
228
|
modelValue: s.value.likeMerchantNo,
|
|
228
229
|
"onUpdate:modelValue": e[5] || (e[5] = (l) => s.value.likeMerchantNo = l),
|
|
229
230
|
placeholder: n.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
230
|
-
onKeyup: e[6] || (e[6] =
|
|
231
|
+
onKeyup: e[6] || (e[6] = A((l) => o(u).handleQuery(), ["enter"])),
|
|
231
232
|
class: "!w-[203px]"
|
|
232
233
|
}, null, 8, ["modelValue", "placeholder"])
|
|
233
234
|
]),
|
|
@@ -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(se), {
|
|
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,8 +263,8 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
262
263
|
]),
|
|
263
264
|
_: 1
|
|
264
265
|
}, 8, ["label"]),
|
|
265
|
-
|
|
266
|
-
[
|
|
266
|
+
w(t(y, { prop: "analysisTimeEnd" }, null, 512), [
|
|
267
|
+
[G, !1]
|
|
267
268
|
])
|
|
268
269
|
]),
|
|
269
270
|
_: 1
|
|
@@ -272,7 +273,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
272
273
|
default: a(() => [
|
|
273
274
|
t(y, { class: "search-btn" }, {
|
|
274
275
|
default: a(() => [
|
|
275
|
-
t(
|
|
276
|
+
t(k, {
|
|
276
277
|
type: "primary",
|
|
277
278
|
onClick: e[9] || (e[9] = (l) => o(u).handleQuery())
|
|
278
279
|
}, {
|
|
@@ -281,7 +282,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
281
282
|
]),
|
|
282
283
|
_: 1
|
|
283
284
|
}),
|
|
284
|
-
t(
|
|
285
|
+
t(k, {
|
|
285
286
|
onClick: e[10] || (e[10] = (l) => o(u).resetQuery())
|
|
286
287
|
}, {
|
|
287
288
|
default: a(() => [
|
|
@@ -303,7 +304,7 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
303
304
|
}, 8, ["model"]),
|
|
304
305
|
e[16] || (e[16] = f("div", { class: "clear" }, null, -1))
|
|
305
306
|
]),
|
|
306
|
-
t(
|
|
307
|
+
t(F, {
|
|
307
308
|
shadow: "never",
|
|
308
309
|
class: "table-container"
|
|
309
310
|
}, {
|
|
@@ -315,9 +316,9 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
315
316
|
class: "container-float"
|
|
316
317
|
}, {
|
|
317
318
|
default: a(() => [
|
|
318
|
-
t(
|
|
319
|
+
t(q, {
|
|
319
320
|
modelValue: o(g),
|
|
320
|
-
"onUpdate:modelValue": e[11] || (e[11] = (l) =>
|
|
321
|
+
"onUpdate:modelValue": e[11] || (e[11] = (l) => D(g) ? g.value = l : g = l),
|
|
321
322
|
"label-name": "settle/settle-trade-analysis"
|
|
322
323
|
}, null, 8, ["modelValue"])
|
|
323
324
|
]),
|
|
@@ -328,25 +329,25 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
328
329
|
})
|
|
329
330
|
]),
|
|
330
331
|
footer: a(() => [
|
|
331
|
-
o(b) > 0 ? (
|
|
332
|
+
o(b) > 0 ? (v(), N(L, {
|
|
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) => D(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,
|
|
338
339
|
"onUpdate:pageSize": e[14] || (e[14] = (l) => s.value.pageSize = l),
|
|
339
340
|
onPagination: e[15] || (e[15] = (l) => o(u).getList())
|
|
340
|
-
}, null, 8, ["total", "current-page", "page-size"])) :
|
|
341
|
+
}, null, 8, ["total", "current-page", "page-size"])) : J("", !0)
|
|
341
342
|
]),
|
|
342
343
|
default: a(() => [
|
|
343
|
-
f("div",
|
|
344
|
+
f("div", pe, [
|
|
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", ye, 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", fe, 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", ge, 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", be, m(o(T).totalFeeAmt), 1),
|
|
374
375
|
e[24] || (e[24] = d(" 元 "))
|
|
375
376
|
]),
|
|
376
377
|
_: 1
|
|
@@ -379,32 +380,33 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
379
380
|
_: 1
|
|
380
381
|
})
|
|
381
382
|
]),
|
|
382
|
-
|
|
383
|
+
w((v(), N(H, {
|
|
383
384
|
ref_key: "multipleTableRef",
|
|
384
|
-
ref:
|
|
385
|
+
ref: E,
|
|
385
386
|
"row-key": "settleTradeAnalysisPk",
|
|
386
387
|
isSelection: !1,
|
|
387
|
-
|
|
388
|
-
data: o(z),
|
|
388
|
+
data: o(I),
|
|
389
389
|
"table-label": o(g),
|
|
390
|
-
onSelectionChange:
|
|
391
|
-
onSortChange:
|
|
390
|
+
onSelectionChange: Y,
|
|
391
|
+
onSortChange: j
|
|
392
392
|
}, {
|
|
393
393
|
agentName: a((l) => [
|
|
394
|
-
d(m(o(
|
|
394
|
+
d(m(o(re)(l.data.row.agentCode)), 1)
|
|
395
395
|
]),
|
|
396
396
|
operation: a((l) => [
|
|
397
|
-
|
|
397
|
+
w((v(), $("span", {
|
|
398
398
|
class: "el-button-color",
|
|
399
|
-
onClick: (
|
|
399
|
+
onClick: (ce) => M(l.data.row)
|
|
400
400
|
}, [
|
|
401
401
|
d(m(n.$t("settleTradeAnalysis.view")), 1)
|
|
402
|
-
], 8,
|
|
403
|
-
[
|
|
402
|
+
], 8, Te)), [
|
|
403
|
+
[O, ["payment:agent_analysis:view"]]
|
|
404
404
|
])
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
|
-
}, 8, ["
|
|
407
|
+
}, 8, ["data", "table-label"])), [
|
|
408
|
+
[W, o(z)]
|
|
409
|
+
])
|
|
408
410
|
]),
|
|
409
411
|
_: 1
|
|
410
412
|
})
|
|
@@ -413,5 +415,5 @@ const re = new se(), de = { class: "app-container" }, ie = { class: "search-cont
|
|
|
413
415
|
}
|
|
414
416
|
});
|
|
415
417
|
export {
|
|
416
|
-
|
|
418
|
+
Se as default
|
|
417
419
|
};
|