xyvcard-settle 0.0.26 → 0.0.28
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-B-gHLBwh.mjs → history-CLKzeQgr.mjs} +1 -1
- package/dist/{history-BLctAU0P.mjs → history-LA5ydGD3.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs → history.vue_vue_type_script_setup_true_lang-DKpNnK16.mjs} +60 -64
- package/dist/{history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs → history.vue_vue_type_script_setup_true_lang-DNAKjj2K.mjs} +59 -63
- package/dist/index-4G9bFkRU.mjs +734 -0
- package/dist/{index-AgzuDVOr.mjs → index-BD3X5Rti.mjs} +68 -68
- package/dist/{index-CNAVEXHD.mjs → index-BedZ4YBW.mjs} +2 -2
- package/dist/{index-BocAk8pD.mjs → index-CIqcivMU.mjs} +7 -7
- package/dist/{index-YgHkUquv.mjs → index-COYrjW5J.mjs} +49 -48
- package/dist/index-Cq9GZCQ5.mjs +704 -0
- package/dist/{index-CU32So4f.mjs → index-DQrFDOBc.mjs} +6 -3
- package/dist/{index-C2vMy8ik.mjs → index-Dbi92nov.mjs} +61 -64
- package/dist/{index-CE3y-0QV.mjs → index-DxgbREbu.mjs} +15 -15
- package/dist/{index-DJtiZFc1.mjs → index-YVLogsg5.mjs} +33 -33
- package/dist/{index-Cg3fVoEi.mjs → index-ciHpwp7j.mjs} +2 -2
- package/dist/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-r_ikFBLS.mjs → today-B95MJ59w.mjs} +1 -1
- package/dist/{today-t0-6m3Qr.mjs → today-BQqb8yMf.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs → today.vue_vue_type_script_setup_true_lang-C0qp5E2L.mjs} +70 -74
- package/dist/{today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs → today.vue_vue_type_script_setup_true_lang-ChWYCSDh.mjs} +47 -51
- package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -1
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
- package/dts/src/lang/settle/zh-cn.d.ts +2 -0
- package/package.json +2 -2
- package/dist/index-P-8jwHYX.mjs +0 -690
- package/dist/index-dcnBl8Xl.mjs +0 -690
|
@@ -36,7 +36,9 @@ const Rs = {
|
|
|
36
36
|
tradeStatus: "交易状态",
|
|
37
37
|
orderStatusRead: "请选择订单状态",
|
|
38
38
|
tradeStatusRead: "请选择交易状态",
|
|
39
|
-
tradeNo: "交易流水号"
|
|
39
|
+
tradeNo: "交易流水号",
|
|
40
|
+
refundReason: "退款原因",
|
|
41
|
+
description: "收款备注"
|
|
40
42
|
},
|
|
41
43
|
// 支付交易商户/代理商汇总统计;
|
|
42
44
|
settleTradeAnalysis: {
|
|
@@ -2692,7 +2694,7 @@ const Ci = {
|
|
|
2692
2694
|
}
|
|
2693
2695
|
};
|
|
2694
2696
|
}
|
|
2695
|
-
}, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"), Hi = () => import("./index-
|
|
2697
|
+
}, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"), Hi = () => import("./index-YVLogsg5.mjs"), ji = () => import("./index-CIqcivMU.mjs"), zi = () => import("./index-DxgbREbu.mjs"), Ui = [
|
|
2696
2698
|
{
|
|
2697
2699
|
path: "/redirect",
|
|
2698
2700
|
component: ze,
|
|
@@ -2767,7 +2769,7 @@ const Ci = {
|
|
|
2767
2769
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2768
2770
|
});
|
|
2769
2771
|
Ts.value = Ai;
|
|
2770
|
-
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-
|
|
2772
|
+
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-CIqcivMU.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-DLx9AYoM.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-C08cbM_l.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-D2I3WIqV.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-BR1khQTm.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-pbYAF-aS.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-YVLogsg5.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-DW3Una4C.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-nXPX-3pm.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-D8pStiQ5.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-DsIwC6AS.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-DxgbREbu.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-BOA_Pwtn.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-Cq9GZCQ5.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-4G9bFkRU.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-COYrjW5J.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-BD3X5Rti.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-Dbi92nov.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-CLKzeQgr.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-ciHpwp7j.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-B95MJ59w.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-LA5ydGD3.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-BedZ4YBW.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-BQqb8yMf.mjs") }), Zi = {
|
|
2771
2773
|
install(e) {
|
|
2772
2774
|
xs(Ei, 7), Ws(bs), e.use(Ci);
|
|
2773
2775
|
}
|
|
@@ -2778,5 +2780,6 @@ export {
|
|
|
2778
2780
|
l as h,
|
|
2779
2781
|
zi as m,
|
|
2780
2782
|
Hi as p,
|
|
2783
|
+
Ai as r,
|
|
2781
2784
|
Zi as s
|
|
2782
2785
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useUserStore as
|
|
5
|
-
import { tokenExt as
|
|
6
|
-
import { D as f, C as
|
|
1
|
+
import { defineComponent as oe, getCurrentInstance as se, ref as I, resolveComponent as p, resolveDirective as re, createElementBlock as E, openBlock as v, createElementVNode as b, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as D, createCommentVNode as M, createTextVNode as r, toDisplayString as i, createSlots as de, withDirectives as ue, isRef as U } from "vue";
|
|
2
|
+
import { useRoute as ie, useRouter as me } from "vue-router";
|
|
3
|
+
import { useI18n as pe } from "vue-i18n";
|
|
4
|
+
import { useUserStore as R, clearEmpty as ye, request as fe, useTableHooks as ce } from "jmash-core";
|
|
5
|
+
import { tokenExt as P } from "xyvcard-agent";
|
|
6
|
+
import { D as f, C as Q } from "./index-CpuvJ4Tw.mjs";
|
|
7
7
|
class be {
|
|
8
8
|
getKey(T) {
|
|
9
9
|
return {
|
|
@@ -13,45 +13,41 @@ class be {
|
|
|
13
13
|
}
|
|
14
14
|
// 查询翻页信息支付交易汇总统计;
|
|
15
15
|
findPage(T) {
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
url: "/v1/settle/analysis/merchant/page/" +
|
|
16
|
+
const N = R().user.tenant;
|
|
17
|
+
return ye(T), fe({
|
|
18
|
+
url: "/v1/settle/analysis/merchant/page/" + N,
|
|
19
19
|
method: "get",
|
|
20
20
|
params: T
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" },
|
|
24
|
+
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, _e = ["onClick"], ze = /* @__PURE__ */ oe({
|
|
25
25
|
__name: "index",
|
|
26
|
-
setup(
|
|
27
|
-
const { t: T } =
|
|
26
|
+
setup(j) {
|
|
27
|
+
const { t: T } = pe();
|
|
28
28
|
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
29
|
-
const w =
|
|
30
|
-
tokenExt:
|
|
29
|
+
const w = ie().query.tenant, { proxy: z } = se(), K = me(), s = I({
|
|
30
|
+
tokenExt: P.getTokenExt(R().user.tenant)
|
|
31
31
|
}), {
|
|
32
32
|
tableHooks: m,
|
|
33
|
-
multipleTableRef:
|
|
34
|
-
queryFormRef:
|
|
35
|
-
listLoading:
|
|
36
|
-
tableData:
|
|
33
|
+
multipleTableRef: Y,
|
|
34
|
+
queryFormRef: q,
|
|
35
|
+
listLoading: F,
|
|
36
|
+
tableData: L,
|
|
37
37
|
total: $
|
|
38
|
-
} =
|
|
38
|
+
} = ce(T, Te, s);
|
|
39
39
|
let A = m.totalRecord;
|
|
40
40
|
const C = I([]);
|
|
41
41
|
function O(a) {
|
|
42
|
-
C.value = a, C.value.length === 2 && (s.value.analysisTimeStart =
|
|
42
|
+
C.value = a, C.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
|
|
43
43
|
a[0],
|
|
44
|
-
|
|
45
|
-
), s.value.analysisTimeEnd =
|
|
44
|
+
Q.RPC_FORMAT_TIME
|
|
45
|
+
), s.value.analysisTimeEnd = z.$moment.formatDate(
|
|
46
46
|
a[1],
|
|
47
|
-
|
|
47
|
+
Q.RPC_FORMAT_TIME
|
|
48
48
|
));
|
|
49
49
|
}
|
|
50
|
-
const
|
|
51
|
-
JSON.parse(
|
|
52
|
-
sessionStorage.getItem("SelectAgent:" + N().user.tenant) || "{}"
|
|
53
|
-
)
|
|
54
|
-
);
|
|
50
|
+
const H = I(P.getCurrentRole(R().user.tenant));
|
|
55
51
|
let h = I([
|
|
56
52
|
// 序号
|
|
57
53
|
{
|
|
@@ -155,30 +151,31 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
155
151
|
isColumn: !0
|
|
156
152
|
}
|
|
157
153
|
]);
|
|
158
|
-
function
|
|
159
|
-
|
|
154
|
+
function W(a) {
|
|
155
|
+
K.push({
|
|
160
156
|
path: "/payment/pay-trade",
|
|
161
157
|
query: {
|
|
162
|
-
merchantId: a.merchantId
|
|
158
|
+
merchantId: a.merchantId,
|
|
159
|
+
analysisTime: a.analysisTime
|
|
163
160
|
}
|
|
164
161
|
});
|
|
165
162
|
}
|
|
166
|
-
function
|
|
167
|
-
C.value = [], s.value.analysisTimeStart = "", s.value.analysisTimeEnd = "", m.resetQuery();
|
|
163
|
+
function S() {
|
|
164
|
+
C.value = [], s.value.analysisTimeStart = "", s.value.analysisTimeEnd = "", s.value.merchantId = "", m.resetQuery();
|
|
168
165
|
}
|
|
169
|
-
function
|
|
166
|
+
function G(a) {
|
|
170
167
|
m.selectionRows.value = a;
|
|
171
168
|
}
|
|
172
169
|
function J(a) {
|
|
173
170
|
m.handleSort(a.prop, a.order);
|
|
174
171
|
}
|
|
175
172
|
return m.getList(), (a, e) => {
|
|
176
|
-
const
|
|
173
|
+
const _ = p("jmash-select"), c = p("el-form-item"), d = p("el-col"), B = p("el-input"), V = p("el-row"), X = p("el-tree-select"), Z = p("el-date-picker"), k = p("el-button"), x = p("el-form"), ee = p("jmash-column-select"), te = p("jmash-table"), le = p("jmash-pagination"), ae = p("el-card"), ne = re("hasPerm");
|
|
177
174
|
return v(), E("div", ve, [
|
|
178
175
|
b("div", ge, [
|
|
179
|
-
l(
|
|
176
|
+
l(x, {
|
|
180
177
|
ref_key: "queryFormRef",
|
|
181
|
-
ref:
|
|
178
|
+
ref: q,
|
|
182
179
|
model: s.value,
|
|
183
180
|
inline: !0,
|
|
184
181
|
"label-width": "6em"
|
|
@@ -193,7 +190,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
193
190
|
prop: "version"
|
|
194
191
|
}, {
|
|
195
192
|
default: t(() => [
|
|
196
|
-
l(
|
|
193
|
+
l(_, {
|
|
197
194
|
modelValue: s.value.merchantId,
|
|
198
195
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
|
|
199
196
|
placeholder: a.$t("payTrade.merchantIdRead"),
|
|
@@ -216,7 +213,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
216
213
|
prop: "payMode"
|
|
217
214
|
}, {
|
|
218
215
|
default: t(() => [
|
|
219
|
-
l(
|
|
216
|
+
l(_, {
|
|
220
217
|
modelValue: s.value.payMode,
|
|
221
218
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
|
|
222
219
|
placeholder: a.$t("settleTradeAnalysis.payModeRead"),
|
|
@@ -289,7 +286,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
289
286
|
prop: "agentCode"
|
|
290
287
|
}, {
|
|
291
288
|
default: t(() => [
|
|
292
|
-
l(
|
|
289
|
+
l(X, {
|
|
293
290
|
modelValue: s.value.agentCode,
|
|
294
291
|
"onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
|
|
295
292
|
data: n(f).agentBizDict.values,
|
|
@@ -312,7 +309,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
312
309
|
prop: "tradeType"
|
|
313
310
|
}, {
|
|
314
311
|
default: t(() => [
|
|
315
|
-
l(
|
|
312
|
+
l(_, {
|
|
316
313
|
modelValue: s.value.tradeType,
|
|
317
314
|
"onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
|
|
318
315
|
placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
|
|
@@ -335,7 +332,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
335
332
|
prop: "instsId"
|
|
336
333
|
}, {
|
|
337
334
|
default: t(() => [
|
|
338
|
-
l(
|
|
335
|
+
l(_, {
|
|
339
336
|
modelValue: s.value.instsId,
|
|
340
337
|
"onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.instsId = y),
|
|
341
338
|
placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
|
|
@@ -358,7 +355,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
358
355
|
prop: "analysisTimeStart"
|
|
359
356
|
}, {
|
|
360
357
|
default: t(() => [
|
|
361
|
-
l(
|
|
358
|
+
l(Z, {
|
|
362
359
|
modelValue: C.value,
|
|
363
360
|
"onUpdate:modelValue": e[13] || (e[13] = (y) => C.value = y),
|
|
364
361
|
type: "daterange",
|
|
@@ -383,7 +380,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
383
380
|
default: t(() => [
|
|
384
381
|
l(c, { class: "search-btn" }, {
|
|
385
382
|
default: t(() => [
|
|
386
|
-
l(
|
|
383
|
+
l(k, {
|
|
387
384
|
type: "primary",
|
|
388
385
|
onClick: e[14] || (e[14] = (y) => n(m).handleQuery())
|
|
389
386
|
}, {
|
|
@@ -392,8 +389,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
392
389
|
]),
|
|
393
390
|
_: 1
|
|
394
391
|
}),
|
|
395
|
-
l(
|
|
396
|
-
onClick: e[15] || (e[15] = (y) =>
|
|
392
|
+
l(k, {
|
|
393
|
+
onClick: e[15] || (e[15] = (y) => S())
|
|
397
394
|
}, {
|
|
398
395
|
default: t(() => [
|
|
399
396
|
r(i(a.$t("common.reset")), 1)
|
|
@@ -421,7 +418,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
421
418
|
default: t(() => [
|
|
422
419
|
l(c, { class: "search-btn" }, {
|
|
423
420
|
default: t(() => [
|
|
424
|
-
l(
|
|
421
|
+
l(k, {
|
|
425
422
|
type: "primary",
|
|
426
423
|
onClick: e[16] || (e[16] = (u) => n(m).handleQuery())
|
|
427
424
|
}, {
|
|
@@ -430,8 +427,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
430
427
|
]),
|
|
431
428
|
_: 1
|
|
432
429
|
}),
|
|
433
|
-
l(
|
|
434
|
-
onClick: e[17] || (e[17] = (u) =>
|
|
430
|
+
l(k, {
|
|
431
|
+
onClick: e[17] || (e[17] = (u) => S())
|
|
435
432
|
}, {
|
|
436
433
|
default: t(() => [
|
|
437
434
|
r(i(a.$t("common.reset")), 1)
|
|
@@ -453,7 +450,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
453
450
|
}, 8, ["model"]),
|
|
454
451
|
e[23] || (e[23] = b("div", { class: "clear" }, null, -1))
|
|
455
452
|
]),
|
|
456
|
-
l(
|
|
453
|
+
l(ae, {
|
|
457
454
|
shadow: "never",
|
|
458
455
|
class: "table-container"
|
|
459
456
|
}, {
|
|
@@ -465,7 +462,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
465
462
|
class: "container-float"
|
|
466
463
|
}, {
|
|
467
464
|
default: t(() => [
|
|
468
|
-
l(
|
|
465
|
+
l(ee, {
|
|
469
466
|
modelValue: n(h),
|
|
470
467
|
"onUpdate:modelValue": e[18] || (e[18] = (o) => U(h) ? h.value = o : h = o),
|
|
471
468
|
"label-name": "settle/settle-trade-analysis"
|
|
@@ -478,7 +475,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
478
475
|
})
|
|
479
476
|
]),
|
|
480
477
|
footer: t(() => [
|
|
481
|
-
n($) > 0 ? (v(), D(
|
|
478
|
+
n($) > 0 ? (v(), D(le, {
|
|
482
479
|
key: 0,
|
|
483
480
|
total: n($),
|
|
484
481
|
"onUpdate:total": e[19] || (e[19] = (o) => U($) ? $.value = o : null),
|
|
@@ -539,17 +536,17 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
539
536
|
_: 1
|
|
540
537
|
})
|
|
541
538
|
]),
|
|
542
|
-
l(
|
|
539
|
+
l(te, {
|
|
543
540
|
ref_key: "multipleTableRef",
|
|
544
|
-
ref:
|
|
541
|
+
ref: Y,
|
|
545
542
|
isSelection: !1,
|
|
546
543
|
"row-key": "settleTradeAnalysisPk",
|
|
547
|
-
"list-loading": n(
|
|
548
|
-
data: n(
|
|
544
|
+
"list-loading": n(F),
|
|
545
|
+
data: n(L),
|
|
549
546
|
"table-label": n(h),
|
|
550
|
-
onSelectionChange:
|
|
547
|
+
onSelectionChange: G,
|
|
551
548
|
onSortChange: J
|
|
552
|
-
},
|
|
549
|
+
}, de({
|
|
553
550
|
merchantId: t((u) => [
|
|
554
551
|
r(i(n(f).merchantBizDict.getValue(u.data.row.merchantId)), 1)
|
|
555
552
|
]),
|
|
@@ -560,13 +557,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
560
557
|
r(i(n(f).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
|
|
561
558
|
]),
|
|
562
559
|
operation: t((u) => [
|
|
563
|
-
|
|
560
|
+
ue((v(), E("span", {
|
|
564
561
|
class: "el-button-color",
|
|
565
|
-
onClick: (y) =>
|
|
562
|
+
onClick: (y) => W(u.data.row)
|
|
566
563
|
}, [
|
|
567
564
|
r(i(a.$t("settleTradeAnalysis.view")), 1)
|
|
568
|
-
], 8,
|
|
569
|
-
[
|
|
565
|
+
], 8, _e)), [
|
|
566
|
+
[ne, ["settle:settle_trade_analysis:view"]]
|
|
570
567
|
])
|
|
571
568
|
]),
|
|
572
569
|
_: 2
|
|
@@ -574,7 +571,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
574
571
|
(o = n(w)) != null && o.includes("@") ? {
|
|
575
572
|
name: "agentCode",
|
|
576
573
|
fn: t((u) => [
|
|
577
|
-
r(i(
|
|
574
|
+
r(i(H.value._rawValue.agentAlias), 1)
|
|
578
575
|
]),
|
|
579
576
|
key: "1"
|
|
580
577
|
} : {
|
|
@@ -594,5 +591,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
594
591
|
}
|
|
595
592
|
});
|
|
596
593
|
export {
|
|
597
|
-
|
|
594
|
+
ze as default
|
|
598
595
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as A, ref as
|
|
1
|
+
import { defineComponent as A, ref as _, resolveComponent as c, createElementBlock as h, openBlock as y, createElementVNode as t, createVNode as l, withCtx as r, toDisplayString as s, createTextVNode as C } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { T as D, m as p } from "./trend-BOA_Pwtn.mjs";
|
|
4
|
-
import { h as x } from "./index-
|
|
4
|
+
import { h as x } from "./index-DQrFDOBc.mjs";
|
|
5
5
|
import { t as T } from "./tokenExt-SHK5rrb5.mjs";
|
|
6
|
-
import { useUserStore as
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
6
|
+
import { useUserStore as Y } from "jmash-core";
|
|
7
|
+
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
const M = { class: "app" }, b = { class: "app-title" }, k = { class: "row-container" }, E = { class: "tatals" }, N = { class: "tatal" }, w = { class: "text" }, R = { class: "tatal" }, S = { class: "text" }, V = { class: "tatal" }, B = { class: "text" }, I = { class: "tatal" }, P = { class: "text" }, F = { class: "tatals" }, U = { class: "tatal" }, j = { class: "text" }, q = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, J = { class: "text" }, K = { class: "tatal" }, L = { class: "text" }, O = { class: "app-title-time" }, Q = { class: "chart-header" }, W = /* @__PURE__ */ A({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(X) {
|
|
11
|
-
const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a =
|
|
11
|
+
const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
|
|
12
12
|
(async () => {
|
|
13
13
|
try {
|
|
14
14
|
p.homePageAmount({
|
|
@@ -36,8 +36,8 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
36
36
|
console.error("获取数据失败:", o);
|
|
37
37
|
}
|
|
38
38
|
})();
|
|
39
|
-
const
|
|
40
|
-
const o = T.getCurrentRole(
|
|
39
|
+
const v = () => {
|
|
40
|
+
const o = T.getCurrentRole(Y().user.tenant);
|
|
41
41
|
["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(o.storeType) ? i.push({
|
|
42
42
|
path: "/payment/pay-trade"
|
|
43
43
|
}) : i.push({
|
|
@@ -45,10 +45,10 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
return (o, e) => {
|
|
48
|
-
const d =
|
|
48
|
+
const d = c("el-card"), f = c("el-button");
|
|
49
49
|
return y(), h("div", null, [
|
|
50
|
-
t("div",
|
|
51
|
-
t("div",
|
|
50
|
+
t("div", M, [
|
|
51
|
+
t("div", b, [
|
|
52
52
|
t("div", k, [
|
|
53
53
|
l(d, { class: "card-never" }, {
|
|
54
54
|
default: r(() => [
|
|
@@ -92,7 +92,7 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
92
92
|
]),
|
|
93
93
|
t("div", K, [
|
|
94
94
|
t("text", L, s(n.value.settleAmount || "暂无结算"), 1),
|
|
95
|
-
e[8] || (e[8] = t("text", null, "
|
|
95
|
+
e[8] || (e[8] = t("text", null, " 结算金额", -1))
|
|
96
96
|
])
|
|
97
97
|
])
|
|
98
98
|
]),
|
|
@@ -106,10 +106,10 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
106
106
|
default: r(() => [
|
|
107
107
|
t("div", Q, [
|
|
108
108
|
e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势 ", -1)),
|
|
109
|
-
l(
|
|
109
|
+
l(f, {
|
|
110
110
|
type: "primary",
|
|
111
111
|
link: "",
|
|
112
|
-
onClick:
|
|
112
|
+
onClick: v
|
|
113
113
|
}, {
|
|
114
114
|
default: r(() => e[10] || (e[10] = [
|
|
115
115
|
C(" 查看更多 ")
|
|
@@ -125,7 +125,7 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
|
|
|
125
125
|
]);
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
}), lt = /* @__PURE__ */
|
|
128
|
+
}), lt = /* @__PURE__ */ H(W, [["__scopeId", "data-v-93732abd"]]);
|
|
129
129
|
export {
|
|
130
130
|
lt as default
|
|
131
131
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as
|
|
1
|
+
import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as a, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-eUhFgNKx.mjs";
|
|
4
4
|
import E from "./pay-DW3Una4C.mjs";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import S from "./payPal-nXPX-3pm.mjs";
|
|
6
|
+
import b from "./trend-D8pStiQ5.mjs";
|
|
7
7
|
import { C as N } from "./index-CpuvJ4Tw.mjs";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" }, F = { class: "tatals" }, O = { class: "tatal" }, Q = { class: "text" }, U = { class: "tatal" }, $ = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "app-title" }, K = { class: "app-title-time" }, L = { class: "chart-header" }, W = /* @__PURE__ */ M({
|
|
@@ -12,27 +12,27 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
12
12
|
const D = V(), { proxy: y } = A(), m = p({
|
|
13
13
|
analysisTimeStart: "",
|
|
14
14
|
analysisTimeEnd: ""
|
|
15
|
-
}), o = p({}), l = p([]), r = (
|
|
16
|
-
const
|
|
17
|
-
t.setDate(
|
|
15
|
+
}), o = p({}), l = p([]), r = (s, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(s, t), v = () => {
|
|
16
|
+
const s = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
|
|
17
|
+
t.setDate(s.getDate() - 6), l.value = [
|
|
18
18
|
r(t, "YYYY-MM-DD"),
|
|
19
|
-
r(
|
|
20
|
-
], x(t,
|
|
21
|
-
}, x = (
|
|
19
|
+
r(s, "YYYY-MM-DD")
|
|
20
|
+
], x(t, s), f();
|
|
21
|
+
}, x = (s, t) => {
|
|
22
22
|
m.value = {
|
|
23
|
-
analysisTimeStart: r(
|
|
23
|
+
analysisTimeStart: r(s),
|
|
24
24
|
analysisTimeEnd: r(t)
|
|
25
25
|
};
|
|
26
26
|
}, f = async () => {
|
|
27
|
-
const
|
|
28
|
-
o.value =
|
|
29
|
-
}, Y = (
|
|
30
|
-
if (!
|
|
27
|
+
const s = await k.homePageAmount(m.value);
|
|
28
|
+
o.value = s.data;
|
|
29
|
+
}, Y = (s) => {
|
|
30
|
+
if (!s || s.length !== 2) {
|
|
31
31
|
v();
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
l.value =
|
|
35
|
-
const [t, c] =
|
|
34
|
+
l.value = s;
|
|
35
|
+
const [t, c] = s;
|
|
36
36
|
m.value = {
|
|
37
37
|
analysisTimeStart: t,
|
|
38
38
|
analysisTimeEnd: c
|
|
@@ -46,16 +46,16 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
46
46
|
path: "/payment/pay-trade"
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
-
return (
|
|
50
|
-
const c = u("el-date-picker"),
|
|
49
|
+
return (s, t) => {
|
|
50
|
+
const c = u("el-date-picker"), i = u("el-card"), g = u("el-button");
|
|
51
51
|
return P(), w("div", null, [
|
|
52
52
|
e("div", B, [
|
|
53
53
|
e("div", I, [
|
|
54
|
-
|
|
54
|
+
a(i, { class: "card-never" }, {
|
|
55
55
|
default: n(() => [
|
|
56
56
|
e("div", q, [
|
|
57
57
|
t[1] || (t[1] = e("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
|
|
58
|
-
|
|
58
|
+
a(c, {
|
|
59
59
|
modelValue: l.value,
|
|
60
60
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => l.value = C),
|
|
61
61
|
type: "daterange",
|
|
@@ -69,55 +69,55 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
69
69
|
]),
|
|
70
70
|
e("div", F, [
|
|
71
71
|
e("div", O, [
|
|
72
|
-
e("text", Q,
|
|
72
|
+
e("text", Q, d(o.value.orderCount || 0), 1),
|
|
73
73
|
t[2] || (t[2] = e("text", null, "交易笔数", -1))
|
|
74
74
|
]),
|
|
75
75
|
e("div", U, [
|
|
76
|
-
e("text", $,
|
|
76
|
+
e("text", $, d(o.value.orderAmount || 0), 1),
|
|
77
77
|
t[3] || (t[3] = e("text", null, " 交易金额", -1))
|
|
78
78
|
]),
|
|
79
79
|
e("div", j, [
|
|
80
|
-
e("text", z,
|
|
80
|
+
e("text", z, d(o.value.feeAmt || 0), 1),
|
|
81
81
|
t[4] || (t[4] = e("text", null, " 手续费", -1))
|
|
82
82
|
]),
|
|
83
83
|
e("div", G, [
|
|
84
|
-
e("text", H,
|
|
85
|
-
t[5] || (t[5] = e("text", null, "
|
|
84
|
+
e("text", H, d(o.value.settleAmount || 0), 1),
|
|
85
|
+
t[5] || (t[5] = e("text", null, " 结算金额", -1))
|
|
86
86
|
])
|
|
87
87
|
])
|
|
88
88
|
]),
|
|
89
89
|
_: 1
|
|
90
90
|
}),
|
|
91
|
-
|
|
91
|
+
a(i, { class: "card-never card-paypal" }, {
|
|
92
92
|
default: n(() => [
|
|
93
93
|
t[6] || (t[6] = e("div", { class: "title" }, "近7日汇总-支付方式", -1)),
|
|
94
|
-
|
|
94
|
+
a(S, { class: "pay" })
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
})
|
|
98
98
|
]),
|
|
99
99
|
e("div", J, [
|
|
100
|
-
|
|
100
|
+
a(i, { class: "card-number" }, {
|
|
101
101
|
default: n(() => [
|
|
102
102
|
t[7] || (t[7] = e("div", { class: "title" }, [
|
|
103
103
|
_(" 交易金额排名 "),
|
|
104
104
|
e("span", { style: { "font-weight": "normal" } }, "(近7日)")
|
|
105
105
|
], -1)),
|
|
106
|
-
|
|
106
|
+
a(E)
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
109
|
})
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
e("div", K, [
|
|
113
|
-
|
|
113
|
+
a(i, { class: "card-chart" }, {
|
|
114
114
|
default: n(() => [
|
|
115
115
|
e("div", L, [
|
|
116
116
|
t[9] || (t[9] = e("span", { class: "chart-title" }, [
|
|
117
117
|
_(" 交易金额趋势 "),
|
|
118
118
|
e("span", { style: { "font-weight": "normal" } }, " (近7日) ")
|
|
119
119
|
], -1)),
|
|
120
|
-
|
|
120
|
+
a(g, {
|
|
121
121
|
type: "text",
|
|
122
122
|
class: "view-more",
|
|
123
123
|
onClick: h
|
|
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
128
128
|
_: 1
|
|
129
129
|
})
|
|
130
130
|
]),
|
|
131
|
-
|
|
131
|
+
a(b)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
})
|
|
@@ -136,7 +136,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
|
|
|
136
136
|
]);
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
}), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-
|
|
139
|
+
}), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-173566e6"]]);
|
|
140
140
|
export {
|
|
141
141
|
rt as default
|
|
142
142
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, ref as p, resolveComponent as s, createElementBlock as i, openBlock as d, createElementVNode as u, createVNode as e, withCtx as n } from "vue";
|
|
2
|
-
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DNAKjj2K.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-ChWYCSDh.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
package/dist/index.mjs
CHANGED