xyvcard-settle 0.0.7 → 0.0.8

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.
Files changed (34) hide show
  1. package/dist/{config-wQ_OqPiM-D_DSDX29.mjs → config-wQ_OqPiM-Dfqa4-ut.mjs} +2 -2
  2. package/dist/{free-BUp-oFkV-hf7oJVVa-_syylrMt.mjs → free-BUp-oFkV-hf7oJVVa-CV9Mc_v7.mjs} +1 -1
  3. package/dist/{free-DaGOIXVI-Bb-SlkPZ.mjs → free-DaGOIXVI-BQWYVYKX.mjs} +1 -1
  4. package/dist/{history-C2MSYQA8.mjs → history-CTtxpb4f.mjs} +1 -1
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-BNj-dUdv.mjs → history.vue_vue_type_script_setup_true_lang-B3YBJYm_.mjs} +68 -66
  6. package/dist/{index-BKtOSSkB-DTgIBJsv-CiC1zuYq.mjs → index-BKtOSSkB-DTgIBJsv-cslrwwdq.mjs} +1 -1
  7. package/dist/{index-D_PaDsRZ.mjs → index-Bewj-2-m.mjs} +2 -2
  8. package/dist/{index-2oXIND_I.mjs → index-BlXn6smp.mjs} +255 -249
  9. package/dist/{index-BtIY2iCq-Dy38CeP1.mjs → index-BtIY2iCq-x-RqpW3Y.mjs} +1 -1
  10. package/dist/{index-CDeebkyi.mjs → index-BwCHsBZH.mjs} +1 -1
  11. package/dist/{index-C0VdCZ5o-Cj3CPOKI-BakzZLjt.mjs → index-C0VdCZ5o-Cj3CPOKI-Bwb-yN8L.mjs} +1 -1
  12. package/dist/index-CpvDwpiR.mjs +554 -0
  13. package/dist/{index-D67oeGwS-BMK_fCjM.mjs → index-D67oeGwS-BMFS752D.mjs} +2 -2
  14. package/dist/{index-Bud2OQwM.mjs → index-DY4QrfnW.mjs} +1313 -1300
  15. package/dist/{index-DgfUBpY9-ClqJG41Q.mjs → index-DgfUBpY9-C0zRoh0e.mjs} +1 -1
  16. package/dist/{index-DofyIGY_-DHmYxbmt.mjs → index-DofyIGY_-CpvRj3fo.mjs} +3 -3
  17. package/dist/index.mjs +1 -1
  18. package/dist/{info-B2A1hZLs-DP-Ibt6p.mjs → info-B2A1hZLs-CFOBNXvF.mjs} +2 -2
  19. package/dist/{info-B9D5Y0O1-Cp3rNtuc-D75xzydt.mjs → info-B9D5Y0O1-Cp3rNtuc-hHwLUHFi.mjs} +2 -2
  20. package/dist/{info-BInFHgyd-PYcXlLEK.mjs → info-BInFHgyd-BJR7IDDv.mjs} +2 -2
  21. package/dist/{info-C_UgKHAd-D2Cuu1T3.mjs → info-C_UgKHAd-BZKHWwe2.mjs} +2 -2
  22. package/dist/{info-Crc5gYV2-WRe4uI3Q-C7Z95P-W.mjs → info-Crc5gYV2-WRe4uI3Q-C1-U6cHg.mjs} +2 -2
  23. package/dist/{info-Dnfa8_ww-B52LEaJI-BowiZkjr.mjs → info-Dnfa8_ww-B52LEaJI-DvHuXfOp.mjs} +1 -1
  24. package/dist/{info-DzkZlnCT-vArcpPHL-V-z3lo_P.mjs → info-DzkZlnCT-vArcpPHL-BS_7GYB8.mjs} +1 -1
  25. package/dist/{info-JTzVjKGk-BJmhl7H_.mjs → info-JTzVjKGk-DiN9zsW1.mjs} +1 -1
  26. package/dist/{info-lj2PfyWO-CCvF3EZb.mjs → info-lj2PfyWO-BkFO5HiO.mjs} +1 -1
  27. package/dist/{product-BJX8VysN-yuGatG8z.mjs → product-BJX8VysN-7rvsebSa.mjs} +1 -1
  28. package/dist/{product-B_wmSyz3-CSnDX200-DQxAdOH-.mjs → product-B_wmSyz3-CSnDX200-DQ_3kMfH.mjs} +1 -1
  29. package/dist/{today-CQbu6CAF.mjs → today-C5Va5XHn.mjs} +1 -1
  30. package/dist/{today.vue_vue_type_script_setup_true_lang-CrSyGBiK.mjs → today.vue_vue_type_script_setup_true_lang-ZrXadN6o.mjs} +5 -4
  31. package/dts/src/api/settle/dict.d.ts +3 -0
  32. package/dts/src/api/settle/index.d.ts +2 -1
  33. package/package.json +1 -1
  34. package/dist/index-D0DoF8eV.mjs +0 -522
@@ -1,522 +0,0 @@
1
- import { defineComponent as J, getCurrentInstance as X, ref as _, resolveComponent as i, resolveDirective as Z, createElementBlock as k, openBlock as $, createElementVNode as c, createVNode as t, withCtx as a, withKeys as b, unref as n, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
2
- import { useUserStore as ae, clearEmpty as oe, request as ne, useTableHooks as se } from "jmash-core";
3
- import { useI18n as re } from "vue-i18n";
4
- import { D as p, C as M } from "./index-Bud2OQwM.mjs";
5
- import { useRouter as de } from "vue-router";
6
- class ue {
7
- getKey(f) {
8
- return {
9
- analysisTime: f.analysisTime,
10
- channelId: f.channelId
11
- };
12
- }
13
- // 查询翻页信息支付交易汇总统计;
14
- findPage(f) {
15
- const h = ae().user.tenant;
16
- return oe(f), ne({
17
- url: "/v1/settle/analysis/merchant/page/" + h,
18
- method: "get",
19
- params: f
20
- });
21
- }
22
- }
23
- const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, ye = { class: "total-num" }, fe = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = ["onClick"], _e = /* @__PURE__ */ J({
24
- __name: "index",
25
- setup(N) {
26
- const { t: f } = re();
27
- p.agentBizDict.useValues(), p.instsBizDict.useValues(), p.merchantBizDict.useValues();
28
- const { proxy: h } = X(), R = de(), S = localStorage.getItem("tokenExt"), s = _({
29
- tokenExt: S ?? ""
30
- }), {
31
- tableHooks: u,
32
- multipleTableRef: z,
33
- queryFormRef: B,
34
- listLoading: U,
35
- tableData: E,
36
- total: A
37
- } = se(f, ie, s);
38
- let C = u.totalRecord;
39
- const T = _([]);
40
- function P(o) {
41
- T.value = o, T.value.length === 2 && (s.value.analysisTimeStart = h.$moment.formatDate(
42
- o[0],
43
- M.RPC_FORMAT_TIME
44
- ), s.value.analysisTimeEnd = h.$moment.formatDate(
45
- o[1],
46
- M.RPC_FORMAT_TIME
47
- ));
48
- }
49
- let v = _([
50
- // 序号
51
- {
52
- label: "settleTradeAnalysis.index",
53
- type: "index",
54
- width: "60",
55
- sortable: "custom",
56
- isColumn: !0
57
- },
58
- // 代理商名称
59
- {
60
- label: "settleTradeAnalysis.agentCode",
61
- prop: "agentCode",
62
- slotName: "agentCode",
63
- columnType: "slot",
64
- minWidth: "200",
65
- sortable: "custom",
66
- isColumn: !0
67
- },
68
- // 商户名称
69
- {
70
- label: "settleTradeAnalysis.merchantId",
71
- prop: "merchantId",
72
- slotName: "merchantId",
73
- columnType: "slot",
74
- minWidth: "350",
75
- sortable: "custom",
76
- isColumn: !0
77
- },
78
- // 终端号
79
- {
80
- label: "settleTradeAnalysis.termNo",
81
- prop: "termNo",
82
- width: "110",
83
- sortable: "custom",
84
- isColumn: !0
85
- },
86
- // 商户号
87
- {
88
- label: "settleTradeAnalysis.likeMerchantNos",
89
- prop: "merchantNo",
90
- width: "150",
91
- sortable: "custom",
92
- isColumn: !0
93
- },
94
- // 交易笔数
95
- {
96
- label: "settleTradeAnalysis.orderCount",
97
- prop: "orderCount",
98
- width: "110",
99
- sortable: "custom",
100
- isColumn: !0
101
- },
102
- // 交易总额
103
- {
104
- label: "settleTradeAnalysis.orderAmount",
105
- prop: "orderAmount",
106
- width: "110",
107
- sortable: "custom",
108
- isColumn: !0
109
- },
110
- // 结算金额
111
- {
112
- label: "settleTradeAnalysis.settleAmount",
113
- prop: "settleAmount",
114
- width: "110",
115
- sortable: "custom",
116
- isColumn: !0
117
- },
118
- // 手续费
119
- {
120
- label: "settleTradeAnalysis.feeAmt",
121
- prop: "feeAmt",
122
- width: "100",
123
- sortable: "custom",
124
- isColumn: !0
125
- },
126
- // 交易时间
127
- {
128
- label: "settleTradeAnalysis.analysisTime",
129
- prop: "analysisTime",
130
- width: "110",
131
- sortable: "custom",
132
- isColumn: !0
133
- },
134
- // 渠道
135
- {
136
- label: "payTrade.instsId",
137
- prop: "instsId",
138
- slotName: "instsId",
139
- columnType: "slot",
140
- width: "150",
141
- sortable: "custom",
142
- isColumn: !0
143
- },
144
- {
145
- label: "common.operate",
146
- width: "100",
147
- slotName: "operation",
148
- columnType: "slot",
149
- fixed: "right",
150
- isColumn: !0
151
- }
152
- ]);
153
- function Q(o) {
154
- R.push({
155
- path: "/payment/pay-trade",
156
- query: {
157
- merchantId: o.merchantId
158
- }
159
- });
160
- }
161
- function j() {
162
- T.value = [], u.resetQuery();
163
- }
164
- function K(o) {
165
- u.selectionRows.value = o;
166
- }
167
- function Y(o) {
168
- u.handleSort(o.prop, o.order);
169
- }
170
- return u.getList(), (o, e) => {
171
- const V = i("el-input"), y = i("el-form-item"), r = i("el-col"), w = i("jmash-select"), g = i("el-row"), F = i("el-tree-select"), q = i("el-date-picker"), I = i("el-button"), L = i("el-form"), O = i("jmash-column-select"), H = i("jmash-table"), W = i("jmash-pagination"), x = i("el-card"), G = Z("hasPerm");
172
- return $(), k("div", me, [
173
- c("div", pe, [
174
- t(L, {
175
- ref_key: "queryFormRef",
176
- ref: B,
177
- model: s.value,
178
- inline: !0
179
- }, {
180
- default: a(() => [
181
- t(g, null, {
182
- default: a(() => [
183
- t(r, { span: 6 }, {
184
- default: a(() => [
185
- t(y, {
186
- label: o.$t("settleTradeAnalysis.merchantId"),
187
- prop: "merchantId"
188
- }, {
189
- default: a(() => [
190
- t(V, {
191
- modelValue: s.value.merchantId,
192
- "onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.merchantId = l),
193
- placeholder: o.$t("settleTradeAnalysis.merchantIdRead"),
194
- onKeyup: e[1] || (e[1] = b((l) => n(u).handleQuery(), ["enter"])),
195
- class: "!w-[203px]"
196
- }, null, 8, ["modelValue", "placeholder"])
197
- ]),
198
- _: 1
199
- }, 8, ["label"])
200
- ]),
201
- _: 1
202
- }),
203
- t(r, { span: 6 }, {
204
- default: a(() => [
205
- t(y, {
206
- label: o.$t("settleTradeAnalysis.payMode"),
207
- prop: "payMode"
208
- }, {
209
- default: a(() => [
210
- t(w, {
211
- modelValue: s.value.payMode,
212
- "onUpdate:modelValue": e[2] || (e[2] = (l) => s.value.payMode = l),
213
- placeholder: o.$t("settleTradeAnalysis.payModeRead"),
214
- data: n(p).payModeBizDict.values,
215
- onKeyup: e[3] || (e[3] = b((l) => n(u).handleQuery(), ["enter"])),
216
- class: "!w-[203px]",
217
- filterable: "",
218
- clearable: ""
219
- }, null, 8, ["modelValue", "placeholder", "data"])
220
- ]),
221
- _: 1
222
- }, 8, ["label"])
223
- ]),
224
- _: 1
225
- }),
226
- t(r, { span: 6 }, {
227
- default: a(() => [
228
- t(y, {
229
- label: o.$t("settleTradeAnalysis.likeMerchantNo"),
230
- prop: "likeMerchantNo"
231
- }, {
232
- default: a(() => [
233
- t(V, {
234
- modelValue: s.value.likeMerchantNo,
235
- "onUpdate:modelValue": e[4] || (e[4] = (l) => s.value.likeMerchantNo = l),
236
- placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
237
- onKeyup: e[5] || (e[5] = b((l) => n(u).handleQuery(), ["enter"])),
238
- class: "!w-[203px]"
239
- }, null, 8, ["modelValue", "placeholder"])
240
- ]),
241
- _: 1
242
- }, 8, ["label"])
243
- ]),
244
- _: 1
245
- }),
246
- t(r, { span: 6 }, {
247
- default: a(() => [
248
- t(y, {
249
- label: o.$t("settleTradeAnalysis.termNo"),
250
- prop: "termNo"
251
- }, {
252
- default: a(() => [
253
- t(V, {
254
- modelValue: s.value.termNo,
255
- "onUpdate:modelValue": e[6] || (e[6] = (l) => s.value.termNo = l),
256
- placeholder: o.$t("settleTradeAnalysis.termNoRead"),
257
- onKeyup: e[7] || (e[7] = b((l) => n(u).handleQuery(), ["enter"])),
258
- class: "!w-[203px]"
259
- }, null, 8, ["modelValue", "placeholder"])
260
- ]),
261
- _: 1
262
- }, 8, ["label"])
263
- ]),
264
- _: 1
265
- })
266
- ]),
267
- _: 1
268
- }),
269
- t(g, null, {
270
- default: a(() => [
271
- t(r, { span: 6 }, {
272
- default: a(() => [
273
- t(y, {
274
- label: o.$t("settleTradeAnalysis.agentCode"),
275
- prop: "agentCode"
276
- }, {
277
- default: a(() => [
278
- t(F, {
279
- modelValue: s.value.agentCode,
280
- "onUpdate:modelValue": e[8] || (e[8] = (l) => s.value.agentCode = l),
281
- data: n(p).agentBizDict.values,
282
- "node-key": "value",
283
- filterable: "",
284
- clearable: "",
285
- placeholder: o.$t("settleTradeAnalysis.agentCodeRead"),
286
- class: "!w-[203px]"
287
- }, null, 8, ["modelValue", "data", "placeholder"])
288
- ]),
289
- _: 1
290
- }, 8, ["label"])
291
- ]),
292
- _: 1
293
- }),
294
- t(r, { span: 6 }, {
295
- default: a(() => [
296
- t(y, {
297
- label: o.$t("settleTradeAnalysis.tradeType"),
298
- prop: "tradeType"
299
- }, {
300
- default: a(() => [
301
- t(w, {
302
- modelValue: s.value.tradeType,
303
- "onUpdate:modelValue": e[9] || (e[9] = (l) => s.value.tradeType = l),
304
- placeholder: o.$t("settleTradeAnalysis.tradeTypeRead"),
305
- data: n(p).tradeTypeBizDict.values,
306
- onKeyup: e[10] || (e[10] = b((l) => n(u).handleQuery(), ["enter"])),
307
- class: "!w-[203px]",
308
- filterable: "",
309
- clearable: ""
310
- }, null, 8, ["modelValue", "placeholder", "data"])
311
- ]),
312
- _: 1
313
- }, 8, ["label"])
314
- ]),
315
- _: 1
316
- }),
317
- t(r, { span: 6 }, {
318
- default: a(() => [
319
- t(y, {
320
- label: o.$t("settleTradeAnalysis.channelId"),
321
- prop: "channelId"
322
- }, {
323
- default: a(() => [
324
- t(w, {
325
- modelValue: s.value.channelId,
326
- "onUpdate:modelValue": e[11] || (e[11] = (l) => s.value.channelId = l),
327
- placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
328
- data: n(p).instsBizDict.values,
329
- onKeyup: e[12] || (e[12] = b((l) => n(u).handleQuery(), ["enter"])),
330
- class: "!w-[203px]",
331
- filterable: "",
332
- clearable: ""
333
- }, null, 8, ["modelValue", "placeholder", "data"])
334
- ]),
335
- _: 1
336
- }, 8, ["label"])
337
- ]),
338
- _: 1
339
- }),
340
- t(r, { span: 6 }, {
341
- default: a(() => [
342
- t(y, {
343
- label: o.$t("settleTradeAnalysis.createTime"),
344
- prop: "analysisTimeStart"
345
- }, {
346
- default: a(() => [
347
- t(q, {
348
- modelValue: T.value,
349
- "onUpdate:modelValue": e[13] || (e[13] = (l) => T.value = l),
350
- type: "daterange",
351
- format: "YYYY-MM-DD",
352
- "value-format": "YYYY-MM-DD",
353
- "range-separator": "-",
354
- "start-placeholder": o.$t("settleTradeAnalysis.analysisTimeStart"),
355
- "end-placeholder": o.$t("settleTradeAnalysis.analysisTimeEnd"),
356
- onChange: P,
357
- style: { width: "280px" }
358
- }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
359
- ]),
360
- _: 1
361
- }, 8, ["label"])
362
- ]),
363
- _: 1
364
- })
365
- ]),
366
- _: 1
367
- }),
368
- t(g, null, {
369
- default: a(() => [
370
- t(r, { span: 24 }, {
371
- default: a(() => [
372
- t(y, { class: "search-btn" }, {
373
- default: a(() => [
374
- t(I, {
375
- type: "primary",
376
- onClick: e[14] || (e[14] = (l) => n(u).handleQuery())
377
- }, {
378
- default: a(() => [
379
- d(m(o.$t("common.search")), 1)
380
- ]),
381
- _: 1
382
- }),
383
- t(I, {
384
- onClick: e[15] || (e[15] = (l) => j())
385
- }, {
386
- default: a(() => [
387
- d(m(o.$t("common.reset")), 1)
388
- ]),
389
- _: 1
390
- })
391
- ]),
392
- _: 1
393
- })
394
- ]),
395
- _: 1
396
- })
397
- ]),
398
- _: 1
399
- })
400
- ]),
401
- _: 1
402
- }, 8, ["model"]),
403
- e[21] || (e[21] = c("div", { class: "clear" }, null, -1))
404
- ]),
405
- t(x, {
406
- shadow: "never",
407
- class: "table-container"
408
- }, {
409
- header: a(() => [
410
- t(g, null, {
411
- default: a(() => [
412
- t(r, {
413
- span: 24,
414
- class: "container-float"
415
- }, {
416
- default: a(() => [
417
- t(O, {
418
- modelValue: n(v),
419
- "onUpdate:modelValue": e[16] || (e[16] = (l) => D(v) ? v.value = l : v = l),
420
- "label-name": "settle/settle-trade-analysis"
421
- }, null, 8, ["modelValue"])
422
- ]),
423
- _: 1
424
- })
425
- ]),
426
- _: 1
427
- })
428
- ]),
429
- footer: a(() => [
430
- n(A) > 0 ? ($(), te(W, {
431
- key: 0,
432
- total: n(A),
433
- "onUpdate:total": e[17] || (e[17] = (l) => D(A) ? A.value = l : null),
434
- "current-page": s.value.curPage,
435
- "onUpdate:currentPage": e[18] || (e[18] = (l) => s.value.curPage = l),
436
- "page-size": s.value.pageSize,
437
- "onUpdate:pageSize": e[19] || (e[19] = (l) => s.value.pageSize = l),
438
- onPagination: e[20] || (e[20] = (l) => n(u).getList())
439
- }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
440
- ]),
441
- default: a(() => [
442
- c("div", ye, [
443
- t(g, { gutter: 20 }, {
444
- default: a(() => [
445
- t(r, { span: 6 }, {
446
- default: a(() => [
447
- e[22] || (e[22] = d(" 总交易笔数: ")),
448
- c("span", fe, m(n(C).totalOrderCount), 1),
449
- e[23] || (e[23] = d(" 笔 "))
450
- ]),
451
- _: 1
452
- }),
453
- t(r, { span: 6 }, {
454
- default: a(() => [
455
- e[24] || (e[24] = d(" 总交易金额: ")),
456
- c("span", ce, m(n(C).totalOrderAmount), 1),
457
- e[25] || (e[25] = d(" 元 "))
458
- ]),
459
- _: 1
460
- }),
461
- t(r, { span: 6 }, {
462
- default: a(() => [
463
- e[26] || (e[26] = d(" 手续费: ")),
464
- c("span", be, m(n(C).totalFeeAmt), 1),
465
- e[27] || (e[27] = d(" 元 "))
466
- ]),
467
- _: 1
468
- }),
469
- t(r, { span: 6 }, {
470
- default: a(() => [
471
- e[28] || (e[28] = d(" 结算金额: ")),
472
- c("span", Te, m(n(C).totalSettleAmount), 1),
473
- e[29] || (e[29] = d(" 元 "))
474
- ]),
475
- _: 1
476
- })
477
- ]),
478
- _: 1
479
- })
480
- ]),
481
- t(H, {
482
- ref_key: "multipleTableRef",
483
- ref: z,
484
- isSelection: !1,
485
- "row-key": "settleTradeAnalysisPk",
486
- "list-loading": n(U),
487
- data: n(E),
488
- "table-label": n(v),
489
- onSelectionChange: K,
490
- onSortChange: Y
491
- }, {
492
- merchantId: a((l) => [
493
- d(m(n(p).merchantBizDict.getValue(l.data.row.merchantId)), 1)
494
- ]),
495
- instsId: a((l) => [
496
- d(m(n(p).instsBizDict.getValue(l.data.row.instsId)), 1)
497
- ]),
498
- agentCode: a((l) => [
499
- d(m(n(p).agentBizDict.getValue(l.data.row.agentCode)), 1)
500
- ]),
501
- operation: a((l) => [
502
- ee(($(), k("span", {
503
- class: "el-button-color",
504
- onClick: (ge) => Q(l.data.row)
505
- }, [
506
- d(m(o.$t("settleTradeAnalysis.view")), 1)
507
- ], 8, ve)), [
508
- [G, ["settle:settle_trade_analysis:view"]]
509
- ])
510
- ]),
511
- _: 1
512
- }, 8, ["list-loading", "data", "table-label"])
513
- ]),
514
- _: 1
515
- })
516
- ]);
517
- };
518
- }
519
- });
520
- export {
521
- _e as default
522
- };