xyvcard-settle 0.0.21 → 0.0.22
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-BgXCgEWe.mjs → history-B8rLL6cg.mjs} +1 -1
- package/dist/{history-DtjmHKa9.mjs → history-DOq3Euuf.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs → history.vue_vue_type_script_setup_true_lang-BcoBU5uq.mjs} +187 -164
- package/dist/{history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs → history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs} +90 -81
- package/dist/{index-BPvCTpAw.mjs → index-0UYX9qoK.mjs} +58 -76
- package/dist/{index-A83m_bq9.mjs → index-BgQiV0cV.mjs} +2 -2
- package/dist/{index-mgS8Yk77.mjs → index-C3Kdmtt0.mjs} +2 -2
- package/dist/{index-DBd3Gkwy.mjs → index-CEE_6GTV.mjs} +1 -1
- package/dist/{index-Dk7c4clB.mjs → index-Cd659aKC.mjs} +1 -1
- package/dist/{index-AM0oEBSy.mjs → index-DEjceLAF.mjs} +1 -1
- package/dist/{index-B_A1F3k3.mjs → index-NM7NGo1Y.mjs} +1 -1
- package/dist/{index-D_DrLyqR.mjs → index-q_VWJKNr.mjs} +25 -24
- package/dist/index.mjs +15 -13
- package/dist/{today-D7Qw-W1d.mjs → today-CGeC5FRK.mjs} +1 -1
- package/dist/{today-DO4goI_2.mjs → today-CjR56HHC.mjs} +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-Cv8Zmnrj.mjs +333 -0
- package/dist/{today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs → today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs} +90 -81
- package/dts/src/constant.d.ts +1 -0
- package/dts/src/lang/settle/en.d.ts +89 -0
- package/dts/src/lang/settle/zh-cn.d.ts +2 -0
- package/package.json +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs +0 -309
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ne, getCurrentInstance as oe, ref as _, resolveComponent as m, resolveDirective as se, createElementBlock as U, openBlock as v, createElementVNode as T, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as I, createCommentVNode as M, createTextVNode as r, toDisplayString as p, createSlots as re, withDirectives as de, isRef as E } from "vue";
|
|
2
|
-
import { useUserStore as
|
|
2
|
+
import { useUserStore as N, clearEmpty as ue, request as ie, useTableHooks as pe } from "jmash-core";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import { D as
|
|
5
|
-
import { useRoute as ye, useRouter as
|
|
6
|
-
import { tokenExt as
|
|
4
|
+
import { D as f, C as P } from "./index-q_VWJKNr.mjs";
|
|
5
|
+
import { useRoute as ye, useRouter as fe } from "vue-router";
|
|
6
|
+
import { tokenExt as ce } from "xyvcard-agent";
|
|
7
7
|
class be {
|
|
8
8
|
getKey(b) {
|
|
9
9
|
return {
|
|
@@ -13,7 +13,7 @@ class be {
|
|
|
13
13
|
}
|
|
14
14
|
// 查询翻页信息支付交易汇总统计;
|
|
15
15
|
findPage(b) {
|
|
16
|
-
const S =
|
|
16
|
+
const S = N().user.tenant;
|
|
17
17
|
return ue(b), ie({
|
|
18
18
|
url: "/v1/settle/analysis/merchant/page/" + S,
|
|
19
19
|
method: "get",
|
|
@@ -21,27 +21,27 @@ class be {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" },
|
|
24
|
+
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, $e = { class: "blue_color" }, we = ["onClick"], Ne = /* @__PURE__ */ ne({
|
|
25
25
|
__name: "index",
|
|
26
26
|
setup(Q) {
|
|
27
27
|
const { t: b } = me();
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
console.log(
|
|
31
|
-
const { proxy: z } = oe(), j =
|
|
32
|
-
tokenExt:
|
|
28
|
+
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
29
|
+
const A = ye().query.tenant;
|
|
30
|
+
console.log(A, "=> tenant");
|
|
31
|
+
const { proxy: z } = oe(), j = fe(), s = _({
|
|
32
|
+
tokenExt: ce.getTokenExt(N().user.tenant)
|
|
33
33
|
}), {
|
|
34
34
|
tableHooks: i,
|
|
35
35
|
multipleTableRef: K,
|
|
36
36
|
queryFormRef: Y,
|
|
37
37
|
listLoading: q,
|
|
38
38
|
tableData: F,
|
|
39
|
-
total:
|
|
39
|
+
total: $
|
|
40
40
|
} = pe(b, Te, s);
|
|
41
|
-
let
|
|
42
|
-
const
|
|
41
|
+
let w = i.totalRecord;
|
|
42
|
+
const h = _([]);
|
|
43
43
|
function O(a) {
|
|
44
|
-
|
|
44
|
+
h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
|
|
45
45
|
a[0],
|
|
46
46
|
P.RPC_FORMAT_TIME
|
|
47
47
|
), s.value.analysisTimeEnd = z.$moment.formatDate(
|
|
@@ -51,7 +51,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
51
51
|
}
|
|
52
52
|
const L = _(
|
|
53
53
|
JSON.parse(
|
|
54
|
-
sessionStorage.getItem("SelectAgent:" +
|
|
54
|
+
sessionStorage.getItem("SelectAgent:" + N().user.tenant) || "{}"
|
|
55
55
|
)
|
|
56
56
|
);
|
|
57
57
|
let C = _([
|
|
@@ -80,24 +80,6 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
80
80
|
sortable: "custom",
|
|
81
81
|
isColumn: !0
|
|
82
82
|
},
|
|
83
|
-
// 终端号
|
|
84
|
-
{
|
|
85
|
-
label: "settleTradeAnalysis.termNo",
|
|
86
|
-
prop: "termNo",
|
|
87
|
-
width: "110",
|
|
88
|
-
sortable: "custom",
|
|
89
|
-
isColumn: !0
|
|
90
|
-
},
|
|
91
|
-
// 支付方式
|
|
92
|
-
{
|
|
93
|
-
label: "payTrade.payMode",
|
|
94
|
-
prop: "payMode",
|
|
95
|
-
slotName: "payMode",
|
|
96
|
-
columnType: "slot",
|
|
97
|
-
width: "110",
|
|
98
|
-
sortable: "custom",
|
|
99
|
-
isColumn: !0
|
|
100
|
-
},
|
|
101
83
|
// 交易笔数
|
|
102
84
|
{
|
|
103
85
|
label: "settleTradeAnalysis.orderCount",
|
|
@@ -176,7 +158,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
176
158
|
});
|
|
177
159
|
}
|
|
178
160
|
function B() {
|
|
179
|
-
|
|
161
|
+
h.value = [], i.resetQuery();
|
|
180
162
|
}
|
|
181
163
|
function W(a) {
|
|
182
164
|
i.selectionRows.value = a;
|
|
@@ -185,7 +167,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
185
167
|
i.handleSort(a.prop, a.order);
|
|
186
168
|
}
|
|
187
169
|
return i.getList(), (a, e) => {
|
|
188
|
-
const
|
|
170
|
+
const D = m("el-input"), c = m("el-form-item"), d = m("el-col"), R = m("jmash-select"), V = m("el-row"), G = m("el-tree-select"), X = m("el-date-picker"), k = m("el-button"), Z = m("el-form"), x = m("jmash-column-select"), ee = m("jmash-table"), te = m("jmash-pagination"), le = m("el-card"), ae = se("hasPerm");
|
|
189
171
|
return v(), U("div", ve, [
|
|
190
172
|
T("div", ge, [
|
|
191
173
|
l(Z, {
|
|
@@ -199,12 +181,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
199
181
|
default: t(() => [
|
|
200
182
|
l(d, { span: 6 }, {
|
|
201
183
|
default: t(() => [
|
|
202
|
-
l(
|
|
184
|
+
l(c, {
|
|
203
185
|
label: a.$t("settleTradeAnalysis.merchantId"),
|
|
204
186
|
prop: "merchantId"
|
|
205
187
|
}, {
|
|
206
188
|
default: t(() => [
|
|
207
|
-
l(
|
|
189
|
+
l(D, {
|
|
208
190
|
modelValue: s.value.merchantId,
|
|
209
191
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
|
|
210
192
|
placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
|
|
@@ -219,16 +201,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
219
201
|
}),
|
|
220
202
|
l(d, { span: 6 }, {
|
|
221
203
|
default: t(() => [
|
|
222
|
-
l(
|
|
204
|
+
l(c, {
|
|
223
205
|
label: a.$t("settleTradeAnalysis.payMode"),
|
|
224
206
|
prop: "payMode"
|
|
225
207
|
}, {
|
|
226
208
|
default: t(() => [
|
|
227
|
-
l(
|
|
209
|
+
l(R, {
|
|
228
210
|
modelValue: s.value.payMode,
|
|
229
211
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
|
|
230
212
|
placeholder: a.$t("settleTradeAnalysis.payModeRead"),
|
|
231
|
-
data: n(
|
|
213
|
+
data: n(f).payModeBizDict.values,
|
|
232
214
|
onKeyup: e[3] || (e[3] = g((o) => n(i).handleQuery(), ["enter"])),
|
|
233
215
|
class: "!w-[203px]",
|
|
234
216
|
filterable: "",
|
|
@@ -242,12 +224,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
242
224
|
}),
|
|
243
225
|
l(d, { span: 6 }, {
|
|
244
226
|
default: t(() => [
|
|
245
|
-
l(
|
|
227
|
+
l(c, {
|
|
246
228
|
label: a.$t("settleTradeAnalysis.likeMerchantNo"),
|
|
247
229
|
prop: "likeMerchantNo"
|
|
248
230
|
}, {
|
|
249
231
|
default: t(() => [
|
|
250
|
-
l(
|
|
232
|
+
l(D, {
|
|
251
233
|
modelValue: s.value.likeMerchantNo,
|
|
252
234
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
|
|
253
235
|
placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
@@ -262,12 +244,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
262
244
|
}),
|
|
263
245
|
l(d, { span: 6 }, {
|
|
264
246
|
default: t(() => [
|
|
265
|
-
l(
|
|
247
|
+
l(c, {
|
|
266
248
|
label: a.$t("settleTradeAnalysis.termNo"),
|
|
267
249
|
prop: "termNo"
|
|
268
250
|
}, {
|
|
269
251
|
default: t(() => [
|
|
270
|
-
l(
|
|
252
|
+
l(D, {
|
|
271
253
|
modelValue: s.value.termNo,
|
|
272
254
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
|
|
273
255
|
placeholder: a.$t("settleTradeAnalysis.termNoRead"),
|
|
@@ -287,12 +269,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
287
269
|
default: t(() => {
|
|
288
270
|
var o, u;
|
|
289
271
|
return [
|
|
290
|
-
(o = n(
|
|
272
|
+
(o = n(A)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
|
|
291
273
|
key: 0,
|
|
292
274
|
span: 6
|
|
293
275
|
}, {
|
|
294
276
|
default: t(() => [
|
|
295
|
-
l(
|
|
277
|
+
l(c, {
|
|
296
278
|
label: a.$t("settleTradeAnalysis.agentCode"),
|
|
297
279
|
prop: "agentCode"
|
|
298
280
|
}, {
|
|
@@ -300,7 +282,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
300
282
|
l(G, {
|
|
301
283
|
modelValue: s.value.agentCode,
|
|
302
284
|
"onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
|
|
303
|
-
data: n(
|
|
285
|
+
data: n(f).agentBizDict.values,
|
|
304
286
|
"node-key": "value",
|
|
305
287
|
filterable: "",
|
|
306
288
|
clearable: "",
|
|
@@ -315,16 +297,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
315
297
|
})),
|
|
316
298
|
l(d, { span: 6 }, {
|
|
317
299
|
default: t(() => [
|
|
318
|
-
l(
|
|
300
|
+
l(c, {
|
|
319
301
|
label: a.$t("settleTradeAnalysis.tradeType"),
|
|
320
302
|
prop: "tradeType"
|
|
321
303
|
}, {
|
|
322
304
|
default: t(() => [
|
|
323
|
-
l(
|
|
305
|
+
l(R, {
|
|
324
306
|
modelValue: s.value.tradeType,
|
|
325
307
|
"onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
|
|
326
308
|
placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
|
|
327
|
-
data: n(
|
|
309
|
+
data: n(f).tradeTypeBizDict.values,
|
|
328
310
|
onKeyup: e[10] || (e[10] = g((y) => n(i).handleQuery(), ["enter"])),
|
|
329
311
|
class: "!w-[203px]",
|
|
330
312
|
filterable: "",
|
|
@@ -338,16 +320,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
338
320
|
}),
|
|
339
321
|
l(d, { span: 6 }, {
|
|
340
322
|
default: t(() => [
|
|
341
|
-
l(
|
|
323
|
+
l(c, {
|
|
342
324
|
label: a.$t("settleTradeAnalysis.channelId"),
|
|
343
325
|
prop: "channelId"
|
|
344
326
|
}, {
|
|
345
327
|
default: t(() => [
|
|
346
|
-
l(
|
|
328
|
+
l(R, {
|
|
347
329
|
modelValue: s.value.channelId,
|
|
348
330
|
"onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
|
|
349
331
|
placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
|
|
350
|
-
data: n(
|
|
332
|
+
data: n(f).instsBizDict.values,
|
|
351
333
|
onKeyup: e[12] || (e[12] = g((y) => n(i).handleQuery(), ["enter"])),
|
|
352
334
|
class: "!w-[203px]",
|
|
353
335
|
filterable: "",
|
|
@@ -361,14 +343,14 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
361
343
|
}),
|
|
362
344
|
l(d, { span: 6 }, {
|
|
363
345
|
default: t(() => [
|
|
364
|
-
l(
|
|
346
|
+
l(c, {
|
|
365
347
|
label: a.$t("settleTradeAnalysis.createTime"),
|
|
366
348
|
prop: "analysisTimeStart"
|
|
367
349
|
}, {
|
|
368
350
|
default: t(() => [
|
|
369
351
|
l(X, {
|
|
370
|
-
modelValue:
|
|
371
|
-
"onUpdate:modelValue": e[13] || (e[13] = (y) =>
|
|
352
|
+
modelValue: h.value,
|
|
353
|
+
"onUpdate:modelValue": e[13] || (e[13] = (y) => h.value = y),
|
|
372
354
|
type: "daterange",
|
|
373
355
|
format: "YYYY-MM-DD",
|
|
374
356
|
"value-format": "YYYY-MM-DD",
|
|
@@ -384,12 +366,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
384
366
|
]),
|
|
385
367
|
_: 1
|
|
386
368
|
}),
|
|
387
|
-
(u = n(
|
|
369
|
+
(u = n(A)) != null && u.includes("@") ? (v(), I(d, {
|
|
388
370
|
key: 1,
|
|
389
371
|
span: 6
|
|
390
372
|
}, {
|
|
391
373
|
default: t(() => [
|
|
392
|
-
l(
|
|
374
|
+
l(c, { class: "search-btn" }, {
|
|
393
375
|
default: t(() => [
|
|
394
376
|
l(k, {
|
|
395
377
|
type: "primary",
|
|
@@ -422,12 +404,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
422
404
|
default: t(() => {
|
|
423
405
|
var o;
|
|
424
406
|
return [
|
|
425
|
-
(o = n(
|
|
407
|
+
(o = n(A)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
|
|
426
408
|
key: 0,
|
|
427
409
|
span: 24
|
|
428
410
|
}, {
|
|
429
411
|
default: t(() => [
|
|
430
|
-
l(
|
|
412
|
+
l(c, { class: "search-btn" }, {
|
|
431
413
|
default: t(() => [
|
|
432
414
|
l(k, {
|
|
433
415
|
type: "primary",
|
|
@@ -486,10 +468,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
486
468
|
})
|
|
487
469
|
]),
|
|
488
470
|
footer: t(() => [
|
|
489
|
-
n(
|
|
471
|
+
n($) > 0 ? (v(), I(te, {
|
|
490
472
|
key: 0,
|
|
491
|
-
total: n(
|
|
492
|
-
"onUpdate:total": e[19] || (e[19] = (o) => E(
|
|
473
|
+
total: n($),
|
|
474
|
+
"onUpdate:total": e[19] || (e[19] = (o) => E($) ? $.value = o : null),
|
|
493
475
|
"current-page": s.value.curPage,
|
|
494
476
|
"onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
|
|
495
477
|
"page-size": s.value.pageSize,
|
|
@@ -500,13 +482,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
500
482
|
default: t(() => {
|
|
501
483
|
var o;
|
|
502
484
|
return [
|
|
503
|
-
T("div",
|
|
485
|
+
T("div", Ae, [
|
|
504
486
|
l(V, { gutter: 20 }, {
|
|
505
487
|
default: t(() => [
|
|
506
488
|
l(d, { span: 6 }, {
|
|
507
489
|
default: t(() => [
|
|
508
490
|
e[24] || (e[24] = r(" 总交易笔数: ")),
|
|
509
|
-
T("span",
|
|
491
|
+
T("span", he, p(n(w).totalOrderCount), 1),
|
|
510
492
|
e[25] || (e[25] = r(" 笔 "))
|
|
511
493
|
]),
|
|
512
494
|
_: 1
|
|
@@ -514,7 +496,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
514
496
|
l(d, { span: 6 }, {
|
|
515
497
|
default: t(() => [
|
|
516
498
|
e[26] || (e[26] = r(" 总交易金额: ")),
|
|
517
|
-
T("span", Ce, p(n(
|
|
499
|
+
T("span", Ce, p(n(w).totalOrderAmount), 1),
|
|
518
500
|
e[27] || (e[27] = r(" 元 "))
|
|
519
501
|
]),
|
|
520
502
|
_: 1
|
|
@@ -522,7 +504,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
522
504
|
l(d, { span: 6 }, {
|
|
523
505
|
default: t(() => [
|
|
524
506
|
e[28] || (e[28] = r(" 手续费: ")),
|
|
525
|
-
T("span", Ve, p(n(
|
|
507
|
+
T("span", Ve, p(n(w).totalFeeAmt), 1),
|
|
526
508
|
e[29] || (e[29] = r(" 元 "))
|
|
527
509
|
]),
|
|
528
510
|
_: 1
|
|
@@ -530,7 +512,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
530
512
|
l(d, { span: 6 }, {
|
|
531
513
|
default: t(() => [
|
|
532
514
|
e[30] || (e[30] = r(" 结算金额: ")),
|
|
533
|
-
T("span",
|
|
515
|
+
T("span", $e, p(n(w).totalSettleAmount), 1),
|
|
534
516
|
e[31] || (e[31] = r(" 元 "))
|
|
535
517
|
]),
|
|
536
518
|
_: 1
|
|
@@ -551,13 +533,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
551
533
|
onSortChange: J
|
|
552
534
|
}, re({
|
|
553
535
|
merchantId: t((u) => [
|
|
554
|
-
r(p(n(
|
|
536
|
+
r(p(n(f).merchantBizDict.getValue(u.data.row.merchantId)), 1)
|
|
555
537
|
]),
|
|
556
538
|
instsId: t((u) => [
|
|
557
|
-
r(p(n(
|
|
539
|
+
r(p(n(f).instsBizDict.getValue(u.data.row.instsId)), 1)
|
|
558
540
|
]),
|
|
559
541
|
payMode: t((u) => [
|
|
560
|
-
r(p(n(
|
|
542
|
+
r(p(n(f).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
|
|
561
543
|
]),
|
|
562
544
|
operation: t((u) => [
|
|
563
545
|
de((v(), U("span", {
|
|
@@ -565,13 +547,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
565
547
|
onClick: (y) => H(u.data.row)
|
|
566
548
|
}, [
|
|
567
549
|
r(p(a.$t("settleTradeAnalysis.view")), 1)
|
|
568
|
-
], 8,
|
|
550
|
+
], 8, we)), [
|
|
569
551
|
[ae, ["settle:settle_trade_analysis:view"]]
|
|
570
552
|
])
|
|
571
553
|
]),
|
|
572
554
|
_: 2
|
|
573
555
|
}, [
|
|
574
|
-
(o = n(
|
|
556
|
+
(o = n(A)) != null && o.includes("@") ? {
|
|
575
557
|
name: "agentCode",
|
|
576
558
|
fn: t((u) => [
|
|
577
559
|
r(p(L.value.agentAlias), 1)
|
|
@@ -580,7 +562,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
580
562
|
} : {
|
|
581
563
|
name: "agentCode",
|
|
582
564
|
fn: t((u) => [
|
|
583
|
-
r(p(n(
|
|
565
|
+
r(p(n(f).agentBizDict.getValue(u.data.row.agentCode)), 1)
|
|
584
566
|
]),
|
|
585
567
|
key: "0"
|
|
586
568
|
}
|
|
@@ -594,5 +576,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
594
576
|
}
|
|
595
577
|
});
|
|
596
578
|
export {
|
|
597
|
-
|
|
579
|
+
Ne as default
|
|
598
580
|
};
|
|
@@ -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-BcoBU5uq.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-Cv8Zmnrj.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -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-CbfsFzBk.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs";
|
|
4
4
|
const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(C) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as R, openBlock as h, createElementVNode as f, createVNode as t, withCtx as l, unref as o, withKeys as V, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
|
|
2
2
|
import { useUserStore as M, clearEmpty as ae, request as ne, useTableHooks as oe } from "jmash-core";
|
|
3
3
|
import { useI18n as se } from "vue-i18n";
|
|
4
|
-
import { D as b, C as S } from "./index-
|
|
4
|
+
import { D as b, C as S } from "./index-q_VWJKNr.mjs";
|
|
5
5
|
import { useRouter as re } from "vue-router";
|
|
6
6
|
import { tokenExt as de } from "xyvcard-agent";
|
|
7
7
|
class ue {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ne, getCurrentInstance as oe, ref as _, resolveComponent as p, resolveDirective as se, createElementBlock as U, openBlock as v, createElementVNode as T, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as I, createCommentVNode as M, createTextVNode as r, toDisplayString as m, createSlots as re, withDirectives as de, isRef as E } from "vue";
|
|
2
2
|
import { useUserStore as R, clearEmpty as ue, request as ie, useTableHooks as me } from "jmash-core";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
|
-
import { D as c, C as P } from "./index-
|
|
4
|
+
import { D as c, C as P } from "./index-q_VWJKNr.mjs";
|
|
5
5
|
import { useRoute as ye, useRouter as ce } from "vue-router";
|
|
6
6
|
import { tokenExt as fe } from "xyvcard-agent";
|
|
7
7
|
class be {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as q, getCurrentInstance as ee, ref as k, resolveComponent as f, createElementBlock as ae, openBlock as N, createElementVNode as T, createVNode as a, withCtx as t, withKeys as v, unref as o, createBlock as D, createCommentVNode as B, createTextVNode as n, toDisplayString as i, isRef as _ } from "vue";
|
|
2
2
|
import { useUserStore as P, clearEmpty as te, request as le, useTableHooks as oe } from "jmash-core";
|
|
3
|
-
import { D as y, C as A } from "./index-
|
|
3
|
+
import { D as y, C as A } from "./index-q_VWJKNr.mjs";
|
|
4
4
|
import { useI18n as re } from "vue-i18n";
|
|
5
5
|
import { useRoute as de } from "vue-router";
|
|
6
6
|
import { tokenExt as ne } from "xyvcard-agent";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, getCurrentInstance as G, ref as N, resolveComponent as i, createElementBlock as J, openBlock as I, createElementVNode as f, createVNode as a, withCtx as l, withKeys as v, unref as o, createTextVNode as d, toDisplayString as p, createBlock as W, createCommentVNode as X, isRef as M } from "vue";
|
|
2
2
|
import { useUserStore as h, clearEmpty as Z, request as q, useTableHooks as ee } from "jmash-core";
|
|
3
|
-
import { D as y, C as R } from "./index-
|
|
3
|
+
import { D as y, C as R } from "./index-q_VWJKNr.mjs";
|
|
4
4
|
import { useI18n as te } from "vue-i18n";
|
|
5
5
|
import { useRoute as ae } from "vue-router";
|
|
6
6
|
import { tokenExt as le } from "xyvcard-agent";
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
2
|
var y = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
3
|
var a = (e, t, s) => y(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { BizLayDict as d, BizDict as
|
|
5
|
-
import { infoApi as
|
|
6
|
-
import { institutionApi as
|
|
7
|
-
import { merchantsApi as
|
|
4
|
+
import { BizLayDict as d, BizDict as l, EnumDict as h } from "jmash-core";
|
|
5
|
+
import { infoApi as A } from "xyvcard-agent";
|
|
6
|
+
import { institutionApi as E } from "xyvcard-insts";
|
|
7
|
+
import { merchantsApi as T } from "xyvcard-merchant";
|
|
8
|
+
class i {
|
|
9
|
+
}
|
|
10
|
+
//模块
|
|
11
|
+
a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
|
|
12
|
+
a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
|
|
13
|
+
a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
|
|
14
|
+
a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
|
|
15
|
+
a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus"), // 支付状态
|
|
16
|
+
a(i, "AGENT_AGREE", "AGENT_AGREE");
|
|
8
17
|
function o(e, t, s) {
|
|
9
18
|
return !Array.isArray(e) || e.length === 0 ? [] : e.map((r) => {
|
|
10
19
|
let c = [];
|
|
@@ -16,11 +25,11 @@ function o(e, t, s) {
|
|
|
16
25
|
};
|
|
17
26
|
});
|
|
18
27
|
}
|
|
19
|
-
class
|
|
28
|
+
class m extends d {
|
|
20
29
|
// 实现 useValues 方法
|
|
21
30
|
useValues() {
|
|
22
31
|
return new Promise((t, s) => {
|
|
23
|
-
|
|
32
|
+
this.query.approved = i.AGENT_AGREE, this.query.hasApproved = !0, A.findList(this.query).then(({ data: n }) => {
|
|
24
33
|
this.values.length = 0, this.values.push(
|
|
25
34
|
...o(n.results, "agentAlias", "agentCode")
|
|
26
35
|
), t(this.values);
|
|
@@ -28,11 +37,11 @@ class A extends d {
|
|
|
28
37
|
});
|
|
29
38
|
}
|
|
30
39
|
}
|
|
31
|
-
class
|
|
40
|
+
class D extends l {
|
|
32
41
|
// 实现 useValues 方法
|
|
33
42
|
useValues() {
|
|
34
43
|
return new Promise((t, s) => {
|
|
35
|
-
|
|
44
|
+
E.findList(this.query).then(({ data: n }) => {
|
|
36
45
|
console.log(n, "=> data2");
|
|
37
46
|
const r = n.results;
|
|
38
47
|
this.values.length = 0, this.values.push(
|
|
@@ -47,11 +56,11 @@ class E extends h {
|
|
|
47
56
|
});
|
|
48
57
|
}
|
|
49
58
|
}
|
|
50
|
-
class
|
|
59
|
+
class v extends l {
|
|
51
60
|
// 实现 useValues 方法
|
|
52
61
|
useValues() {
|
|
53
62
|
return new Promise((t, s) => {
|
|
54
|
-
|
|
63
|
+
T.findList(this.query).then(({ data: n }) => {
|
|
55
64
|
console.log(n, "=> data2");
|
|
56
65
|
const r = n.results;
|
|
57
66
|
this.values.length = 0, this.values.push(
|
|
@@ -66,29 +75,21 @@ class f extends h {
|
|
|
66
75
|
});
|
|
67
76
|
}
|
|
68
77
|
}
|
|
69
|
-
class i {
|
|
70
|
-
}
|
|
71
|
-
//模块
|
|
72
|
-
a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
|
|
73
|
-
a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
|
|
74
|
-
a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
|
|
75
|
-
a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
|
|
76
|
-
a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus");
|
|
77
78
|
class u {
|
|
78
79
|
}
|
|
79
80
|
// 代理商
|
|
80
|
-
a(u, "agentBizDict", new
|
|
81
|
-
a(u, "instsBizDict", new
|
|
82
|
-
a(u, "merchantBizDict", new
|
|
83
|
-
a(u, "payModeBizDict", new
|
|
81
|
+
a(u, "agentBizDict", new m({})), // 落地机构
|
|
82
|
+
a(u, "instsBizDict", new D({})), // 商户名称
|
|
83
|
+
a(u, "merchantBizDict", new v({})), // 支付方式
|
|
84
|
+
a(u, "payModeBizDict", new h(
|
|
84
85
|
i.PAYMENT_DICT,
|
|
85
86
|
i.PAY_MODE
|
|
86
87
|
)), // 交易类型
|
|
87
|
-
a(u, "tradeTypeBizDict", new
|
|
88
|
+
a(u, "tradeTypeBizDict", new h(
|
|
88
89
|
i.PAYMENT_DICT,
|
|
89
90
|
i.TRADE_TYPE
|
|
90
91
|
)), // 支付状态
|
|
91
|
-
a(u, "orderStatusBizDict", new
|
|
92
|
+
a(u, "orderStatusBizDict", new h(
|
|
92
93
|
i.PAYMENT_DICT,
|
|
93
94
|
i.ORDER_STATUS
|
|
94
95
|
));
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const Ds = {
|
|
|
14
14
|
tradeType: "交易类型",
|
|
15
15
|
tradeTypeRead: "请选择交易类型",
|
|
16
16
|
agentCode: "代理商",
|
|
17
|
-
likeMerchantNoRead: "
|
|
17
|
+
likeMerchantNoRead: "请输入连锁号",
|
|
18
18
|
createTime: "支付时间",
|
|
19
19
|
startCreateTime: "开始时间",
|
|
20
20
|
endCreateTime: "结束时间",
|
|
@@ -24,9 +24,9 @@ const Ds = {
|
|
|
24
24
|
payModeRead: "请选择支付方式",
|
|
25
25
|
commission: "手续费",
|
|
26
26
|
feeRatePct: "费率",
|
|
27
|
-
channelId: "
|
|
28
|
-
instsId: "
|
|
29
|
-
instsIdRead: "
|
|
27
|
+
channelId: "支付通道",
|
|
28
|
+
instsId: "支付通道",
|
|
29
|
+
instsIdRead: "请选择支付通道",
|
|
30
30
|
createTimes: "交易时间",
|
|
31
31
|
tradeAmount: "交易金额",
|
|
32
32
|
orderStatus: "支付状态",
|
|
@@ -38,8 +38,8 @@ const Ds = {
|
|
|
38
38
|
name: "支付交易汇总统计;",
|
|
39
39
|
index: "序号",
|
|
40
40
|
createTime: "交易时间",
|
|
41
|
-
channelId: "
|
|
42
|
-
channelIdRead: "
|
|
41
|
+
channelId: "支付通道",
|
|
42
|
+
channelIdRead: "请选择支付通道",
|
|
43
43
|
agentCode: "代理商名称",
|
|
44
44
|
agentCodeRead: "请输入代理商名称",
|
|
45
45
|
agentCodes: "代理商编号",
|
|
@@ -55,8 +55,8 @@ const Ds = {
|
|
|
55
55
|
likeMerchantNoRead: "请输入连锁号",
|
|
56
56
|
merchantId: "商户名称",
|
|
57
57
|
merchantIdRead: "请输入商户名称",
|
|
58
|
-
likeMerchantNos: "
|
|
59
|
-
likeMerchantNosRead: "
|
|
58
|
+
likeMerchantNos: "连锁号",
|
|
59
|
+
likeMerchantNosRead: "请输入连锁号",
|
|
60
60
|
termNo: "终端号",
|
|
61
61
|
termNoRead: "请输入终端号",
|
|
62
62
|
payMode: "支付方式",
|
|
@@ -70,14 +70,15 @@ const Ds = {
|
|
|
70
70
|
settleTradeReceipt: {
|
|
71
71
|
name: "划款信息查询-到账",
|
|
72
72
|
likeMerchantName: "商户名称",
|
|
73
|
-
likeMerchantNo: "
|
|
74
|
-
likeMerchantNoRead: "
|
|
73
|
+
likeMerchantNo: "连锁号",
|
|
74
|
+
likeMerchantNoRead: "请输入连锁号",
|
|
75
75
|
likeMerchantNameRead: "请输入商户名称",
|
|
76
76
|
createTime: "到账日期",
|
|
77
77
|
transferMoneyDateStart: "开始时间",
|
|
78
78
|
transferMoneyDateEnd: "结束时间",
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
transferMoneyDate: "划款日期",
|
|
80
|
+
agentCode: "代理商",
|
|
81
|
+
agentCodeRead: "请选择代理商",
|
|
81
82
|
channelId: "落地机构",
|
|
82
83
|
index: "序号",
|
|
83
84
|
merchantName: "商户注册名称",
|
|
@@ -85,6 +86,7 @@ const Ds = {
|
|
|
85
86
|
transferMoneyAmount: "划款金额",
|
|
86
87
|
feeAmt: "手续费",
|
|
87
88
|
transferMoneyStatus: "到账状态",
|
|
89
|
+
transferMoneyStatusName: "到账状态",
|
|
88
90
|
chnlRespMsg: "失败原因",
|
|
89
91
|
termNo: "终端号",
|
|
90
92
|
termNoRead: "请输入终端号"
|
|
@@ -2680,7 +2682,7 @@ const Ti = {
|
|
|
2680
2682
|
}
|
|
2681
2683
|
};
|
|
2682
2684
|
}
|
|
2683
|
-
}, xi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade-personal/index.vue": () => import("./index-
|
|
2685
|
+
}, xi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade-personal/index.vue": () => import("./index-NM7NGo1Y.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-DEjceLAF.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-CEE_6GTV.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Cd659aKC.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-0UYX9qoK.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-B8rLL6cg.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-C3Kdmtt0.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-CGeC5FRK.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-DOq3Euuf.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-BgQiV0cV.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CjR56HHC.mjs") }), Ni = {
|
|
2684
2686
|
install(e) {
|
|
2685
2687
|
ps(xi, 7), Ys(vs), e.use(Ti);
|
|
2686
2688
|
}
|