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.
Files changed (27) hide show
  1. package/dist/{history-BQjgVD9D.mjs → history-CMyJKuis.mjs} +1 -1
  2. package/dist/{history-DCwgJuDo.mjs → history-DWaN_Nrb.mjs} +1 -1
  3. package/dist/history.vue_vue_type_script_setup_true_lang-CN1lANPU.mjs +404 -0
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs → history.vue_vue_type_script_setup_true_lang-D58mkVIs.mjs} +96 -95
  5. package/dist/{index-BJDG5RJu.mjs → index-BeU6u9hH.mjs} +87 -85
  6. package/dist/{index-yz18Lhpm.mjs → index-BgbsFf1D.mjs} +19 -18
  7. package/dist/{index-DSAnrTJ1.mjs → index-BmSUfSfV.mjs} +77 -76
  8. package/dist/{index-BSjUBqhl.mjs → index-C6IvQBy0.mjs} +99 -98
  9. package/dist/{index-yQjjxDcA.mjs → index-CVrtwq6W.mjs} +62 -61
  10. package/dist/{index-ClDxB7Ty.mjs → index-Cw3Bhtc2.mjs} +75 -73
  11. package/dist/{index-CWRtxckQ.mjs → index-Cwhi9rvj.mjs} +2 -2
  12. package/dist/{index-B8Y2esGZ.mjs → index-D8LRYlta.mjs} +2 -2
  13. package/dist/{index-DcjjaDUk.mjs → index-DcQ0Bjxl.mjs} +2 -2
  14. package/dist/{index-DYgHw7PE.mjs → index-Ds4E1nsC.mjs} +1 -1
  15. package/dist/{index-Cr3j3TRH.mjs → index-IYVODwmA.mjs} +2 -2
  16. package/dist/{index-uat4MVcq.mjs → index-LT7qO1_c.mjs} +75 -74
  17. package/dist/{index-DUu1w36z.mjs → index-ZwyAUTzX.mjs} +2 -2
  18. package/dist/index.mjs +1 -1
  19. package/dist/{payPal-Cm1ZmJdL.mjs → payPal-BxEHOKHE.mjs} +1 -1
  20. package/dist/{payPal-3RoPmLkF.mjs → payPal-FS5kDoPy.mjs} +1 -1
  21. package/dist/{today-DawV1DzV.mjs → today-BU8dRQhE.mjs} +1 -1
  22. package/dist/{today-eDeS0zsk.mjs → today-DO4wIwlZ.mjs} +1 -1
  23. package/dist/{today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs → today.vue_vue_type_script_setup_true_lang-D4qdtIMP.mjs} +51 -50
  24. package/dist/{today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs → today.vue_vue_type_script_setup_true_lang-DjOblIO6.mjs} +147 -114
  25. package/dts/src/constant.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +0 -371
@@ -1,13 +1,13 @@
1
- import { defineComponent as Z, ref as M, onActivated as x, resolveComponent as m, resolveDirective as ee, createElementBlock as N, openBlock as w, createElementVNode as b, createVNode as t, withCtx as l, createBlock as _, createCommentVNode as R, withKeys as T, unref as a, withDirectives as S, vShow as te, createTextVNode as d, toDisplayString as p, isRef as z } from "vue";
2
- import { useRoute as le, useRouter as ae } from "vue-router";
3
- import { useI18n as oe } from "vue-i18n";
4
- import { useUserStore as U, clearEmpty as ne, request as se, useTableHooks as re } from "jmash-core";
5
- import { tokenExt as de } from "xyvcard-agent";
6
- import { D as f } from "./index-yz18Lhpm.mjs";
7
- import { g as ue } from "./agent-R-Ml-XTA.mjs";
8
- import { DateRange as ie } from "xyvcard-insts";
9
- import { g as me } from "./merchant-D9rtENQd.mjs";
10
- class pe {
1
+ import { defineComponent as ee, ref as N, onActivated as te, resolveComponent as m, resolveDirective as R, createElementBlock as S, openBlock as A, createElementVNode as b, createVNode as t, withCtx as l, createBlock as $, createCommentVNode as z, withKeys as T, unref as a, withDirectives as I, vShow as le, createTextVNode as d, toDisplayString as p, isRef as U } from "vue";
2
+ import { useRoute as ae, useRouter as oe } from "vue-router";
3
+ import { useI18n as ne } from "vue-i18n";
4
+ import { useUserStore as B, clearEmpty as se, request as re, useTableHooks as de } from "jmash-core";
5
+ import { tokenExt as ue } from "xyvcard-agent";
6
+ import { D as f } from "./index-BgbsFf1D.mjs";
7
+ import { g as ie } from "./agent-R-Ml-XTA.mjs";
8
+ import { DateRange as me } from "xyvcard-insts";
9
+ import { g as pe } from "./merchant-D9rtENQd.mjs";
10
+ class ye {
11
11
  getKey(c) {
12
12
  return {
13
13
  analysisTime: c.analysisTime,
@@ -16,30 +16,30 @@ class pe {
16
16
  }
17
17
  // 查询翻页信息支付交易汇总统计;
18
18
  findPage(c) {
19
- const $ = U().user.tenant;
20
- return ne(c), se({
21
- url: "/v1/settle/analysis/merchant/my/page/" + $,
19
+ const k = B().user.tenant;
20
+ return se(c), re({
21
+ url: "/v1/settle/analysis/merchant/my/page/" + k,
22
22
  method: "get",
23
23
  params: c
24
24
  });
25
25
  }
26
26
  }
27
- const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-container" }, ce = { class: "total-num" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, he = { class: "blue_color" }, we = ["onClick"], Re = /* @__PURE__ */ Z({
27
+ const fe = new ye(), be = { class: "app-container" }, ce = { class: "search-container" }, Te = { class: "total-num" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, he = { class: "blue_color" }, we = { class: "blue_color" }, Ce = ["onClick"], Se = /* @__PURE__ */ ee({
28
28
  __name: "index",
29
- setup(B) {
30
- const { t: c } = oe();
29
+ setup(E) {
30
+ const { t: c } = ne();
31
31
  f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
32
- const I = le().query.tenant, E = ae(), s = M({
33
- tokenExt: de.getTokenExt(U().user.tenant)
32
+ const _ = ae().query.tenant, P = oe(), s = N({
33
+ tokenExt: ue.getTokenExt(B().user.tenant)
34
34
  }), {
35
35
  tableHooks: i,
36
- multipleTableRef: P,
37
- queryFormRef: j,
38
- listLoading: K,
39
- tableData: Q,
40
- total: A
41
- } = re(c, ye, s);
42
- let v = i.totalRecord, g = M([
36
+ multipleTableRef: j,
37
+ queryFormRef: K,
38
+ listLoading: Q,
39
+ tableData: Y,
40
+ total: h
41
+ } = de(c, fe, s);
42
+ let v = i.totalRecord, g = N([
43
43
  // 序号
44
44
  {
45
45
  label: "settleTradeAnalysis.index",
@@ -142,29 +142,29 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
142
142
  isColumn: !0
143
143
  }
144
144
  ]);
145
- function Y(o) {
146
- E.push({
145
+ function q(o) {
146
+ P.push({
147
147
  path: "/payment/pay-trade",
148
148
  query: {
149
149
  merchantId: o.merchantId
150
150
  }
151
151
  });
152
152
  }
153
- function q(o) {
153
+ function L(o) {
154
154
  i.selectionRows.value = o;
155
155
  }
156
- function L(o) {
156
+ function F(o) {
157
157
  i.handleSort(o.prop, o.order);
158
158
  }
159
- return x(() => {
159
+ return te(() => {
160
160
  i.getList();
161
161
  }), (o, e) => {
162
- const h = m("jmash-select"), y = m("el-form-item"), u = m("el-col"), k = m("el-input"), F = m("el-tree-select"), D = m("el-button"), C = m("el-row"), H = m("el-form"), O = m("jmash-column-select"), W = m("jmash-table"), G = m("jmash-pagination"), J = m("el-card"), X = ee("hasPerm");
163
- return w(), N("div", fe, [
164
- b("div", be, [
165
- t(H, {
162
+ const w = m("jmash-select"), y = m("el-form-item"), u = m("el-col"), D = m("el-input"), H = m("el-tree-select"), M = m("el-button"), C = m("el-row"), O = m("el-form"), W = m("jmash-column-select"), G = m("jmash-table"), J = m("jmash-pagination"), X = m("el-card"), Z = R("hasPerm"), x = R("loading");
163
+ return A(), S("div", be, [
164
+ b("div", ce, [
165
+ t(O, {
166
166
  ref_key: "queryFormRef",
167
- ref: j,
167
+ ref: K,
168
168
  model: s.value,
169
169
  inline: !0,
170
170
  "label-width": "6em"
@@ -181,7 +181,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
181
181
  prop: "version"
182
182
  }, {
183
183
  default: l(() => [
184
- t(h, {
184
+ t(w, {
185
185
  modelValue: s.value.merchantId,
186
186
  "onUpdate:modelValue": e[0] || (e[0] = (n) => s.value.merchantId = n),
187
187
  placeholder: o.$t("payTrade.merchantIdRead"),
@@ -204,7 +204,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
204
204
  prop: "payMode"
205
205
  }, {
206
206
  default: l(() => [
207
- t(h, {
207
+ t(w, {
208
208
  modelValue: s.value.payMode,
209
209
  "onUpdate:modelValue": e[2] || (e[2] = (n) => s.value.payMode = n),
210
210
  placeholder: o.$t("settleTradeAnalysis.payModeRead"),
@@ -227,7 +227,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
227
227
  prop: "likeMerchantNo"
228
228
  }, {
229
229
  default: l(() => [
230
- t(k, {
230
+ t(D, {
231
231
  modelValue: s.value.likeMerchantNo,
232
232
  "onUpdate:modelValue": e[4] || (e[4] = (n) => s.value.likeMerchantNo = n),
233
233
  placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
@@ -247,7 +247,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
247
247
  prop: "termNo"
248
248
  }, {
249
249
  default: l(() => [
250
- t(k, {
250
+ t(D, {
251
251
  modelValue: s.value.termNo,
252
252
  "onUpdate:modelValue": e[6] || (e[6] = (n) => s.value.termNo = n),
253
253
  placeholder: o.$t("settleTradeAnalysis.termNoRead"),
@@ -260,7 +260,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
260
260
  ]),
261
261
  _: 1
262
262
  }),
263
- (r = a(I)) != null && r.includes("@") ? R("", !0) : (w(), _(u, {
263
+ (r = a(_)) != null && r.includes("@") ? z("", !0) : (A(), $(u, {
264
264
  key: 0,
265
265
  span: 6
266
266
  }, {
@@ -270,7 +270,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
270
270
  prop: "agentCode"
271
271
  }, {
272
272
  default: l(() => [
273
- t(F, {
273
+ t(H, {
274
274
  modelValue: s.value.agentCode,
275
275
  "onUpdate:modelValue": e[8] || (e[8] = (n) => s.value.agentCode = n),
276
276
  data: a(f).agentBizDict.values,
@@ -293,7 +293,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
293
293
  prop: "tradeType"
294
294
  }, {
295
295
  default: l(() => [
296
- t(h, {
296
+ t(w, {
297
297
  modelValue: s.value.tradeType,
298
298
  "onUpdate:modelValue": e[9] || (e[9] = (n) => s.value.tradeType = n),
299
299
  placeholder: o.$t("settleTradeAnalysis.tradeTypeRead"),
@@ -316,7 +316,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
316
316
  prop: "channelId"
317
317
  }, {
318
318
  default: l(() => [
319
- t(h, {
319
+ t(w, {
320
320
  modelValue: s.value.channelId,
321
321
  "onUpdate:modelValue": e[11] || (e[11] = (n) => s.value.channelId = n),
322
322
  placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
@@ -339,7 +339,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
339
339
  prop: "analysisTimeStart"
340
340
  }, {
341
341
  default: l(() => [
342
- t(a(ie), {
342
+ t(a(me), {
343
343
  class: "!w-[203px]",
344
344
  "start-time": s.value.analysisTimeStart,
345
345
  "onUpdate:startTime": e[13] || (e[13] = (n) => s.value.analysisTimeStart = n),
@@ -354,19 +354,19 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
354
354
  ]),
355
355
  _: 1
356
356
  }, 8, ["label"]),
357
- S(t(y, { prop: "analysisTimeEnd" }, null, 512), [
358
- [te, !1]
357
+ I(t(y, { prop: "analysisTimeEnd" }, null, 512), [
358
+ [le, !1]
359
359
  ])
360
360
  ]),
361
361
  _: 1
362
362
  }),
363
363
  t(u, {
364
- span: (V = a(I)) != null && V.includes("@") ? 6 : 24
364
+ span: (V = a(_)) != null && V.includes("@") ? 6 : 24
365
365
  }, {
366
366
  default: l(() => [
367
367
  t(y, { class: "search-btn" }, {
368
368
  default: l(() => [
369
- t(D, {
369
+ t(M, {
370
370
  type: "primary",
371
371
  onClick: e[15] || (e[15] = (n) => a(i).handleQuery())
372
372
  }, {
@@ -375,7 +375,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
375
375
  ]),
376
376
  _: 1
377
377
  }),
378
- t(D, {
378
+ t(M, {
379
379
  onClick: e[16] || (e[16] = (n) => a(i).resetQuery())
380
380
  }, {
381
381
  default: l(() => [
@@ -398,7 +398,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
398
398
  }, 8, ["model"]),
399
399
  e[22] || (e[22] = b("div", { class: "clear" }, null, -1))
400
400
  ]),
401
- t(J, {
401
+ t(X, {
402
402
  shadow: "never",
403
403
  class: "table-container"
404
404
  }, {
@@ -410,9 +410,9 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
410
410
  class: "container-float"
411
411
  }, {
412
412
  default: l(() => [
413
- t(O, {
413
+ t(W, {
414
414
  modelValue: a(g),
415
- "onUpdate:modelValue": e[17] || (e[17] = (r) => z(g) ? g.value = r : g = r),
415
+ "onUpdate:modelValue": e[17] || (e[17] = (r) => U(g) ? g.value = r : g = r),
416
416
  "label-name": "settle/settle-trade-analysis"
417
417
  }, null, 8, ["modelValue"])
418
418
  ]),
@@ -423,25 +423,25 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
423
423
  })
424
424
  ]),
425
425
  footer: l(() => [
426
- a(A) > 0 ? (w(), _(G, {
426
+ a(h) > 0 ? (A(), $(J, {
427
427
  key: 0,
428
- total: a(A),
429
- "onUpdate:total": e[18] || (e[18] = (r) => z(A) ? A.value = r : null),
428
+ total: a(h),
429
+ "onUpdate:total": e[18] || (e[18] = (r) => U(h) ? h.value = r : null),
430
430
  "current-page": s.value.curPage,
431
431
  "onUpdate:currentPage": e[19] || (e[19] = (r) => s.value.curPage = r),
432
432
  "page-size": s.value.pageSize,
433
433
  "onUpdate:pageSize": e[20] || (e[20] = (r) => s.value.pageSize = r),
434
434
  onPagination: e[21] || (e[21] = (r) => a(i).getList())
435
- }, null, 8, ["total", "current-page", "page-size"])) : R("", !0)
435
+ }, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
436
436
  ]),
437
437
  default: l(() => [
438
- b("div", ce, [
438
+ b("div", Te, [
439
439
  t(C, { gutter: 20 }, {
440
440
  default: l(() => [
441
441
  t(u, { span: 4 }, {
442
442
  default: l(() => [
443
443
  e[23] || (e[23] = d(" 订单数: ")),
444
- b("span", Te, p(a(v).totalOrderCount), 1),
444
+ b("span", ve, p(a(v).totalOrderCount), 1),
445
445
  e[24] || (e[24] = d(" 笔 "))
446
446
  ]),
447
447
  _: 1
@@ -449,7 +449,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
449
449
  t(u, { span: 4 }, {
450
450
  default: l(() => [
451
451
  e[25] || (e[25] = d(" 订单金额: ")),
452
- b("span", ve, p(a(v).totalOrderAmount), 1),
452
+ b("span", ge, p(a(v).totalOrderAmount), 1),
453
453
  e[26] || (e[26] = d(" 元 "))
454
454
  ]),
455
455
  _: 1
@@ -457,7 +457,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
457
457
  t(u, { span: 4 }, {
458
458
  default: l(() => [
459
459
  e[27] || (e[27] = d(" 交易金额: ")),
460
- b("span", ge, p(a(v).totalTradeAmount), 1),
460
+ b("span", Ae, p(a(v).totalTradeAmount), 1),
461
461
  e[28] || (e[28] = d(" 元 "))
462
462
  ]),
463
463
  _: 1
@@ -465,7 +465,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
465
465
  t(u, { span: 4 }, {
466
466
  default: l(() => [
467
467
  e[29] || (e[29] = d(" 优惠金额: ")),
468
- b("span", Ae, p(a(v).totalDiscountAmount), 1),
468
+ b("span", he, p(a(v).totalDiscountAmount), 1),
469
469
  e[30] || (e[30] = d(" 元 "))
470
470
  ]),
471
471
  _: 1
@@ -473,7 +473,7 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
473
473
  t(u, { span: 4 }, {
474
474
  default: l(() => [
475
475
  e[31] || (e[31] = d(" 手续费: ")),
476
- b("span", he, p(a(v).totalFeeAmt), 1),
476
+ b("span", we, p(a(v).totalFeeAmt), 1),
477
477
  e[32] || (e[32] = d(" 元 "))
478
478
  ]),
479
479
  _: 1
@@ -482,19 +482,18 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
482
482
  _: 1
483
483
  })
484
484
  ]),
485
- t(W, {
485
+ I((A(), $(G, {
486
486
  ref_key: "multipleTableRef",
487
- ref: P,
487
+ ref: j,
488
488
  isSelection: !1,
489
489
  "row-key": "settleTradeAnalysisPk",
490
- "list-loading": a(K),
491
- data: a(Q),
490
+ data: a(Y),
492
491
  "table-label": a(g),
493
- onSelectionChange: q,
494
- onSortChange: L
492
+ onSelectionChange: L,
493
+ onSortChange: F
495
494
  }, {
496
495
  merchantId: l((r) => [
497
- d(p(a(me)(r.data.row.merchantId)), 1)
496
+ d(p(a(pe)(r.data.row.merchantId)), 1)
498
497
  ]),
499
498
  instsId: l((r) => [
500
499
  d(p(a(f).instsBizDict.getValue(r.data.row.instsId)), 1)
@@ -503,20 +502,22 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
503
502
  d(p(a(f).payModeBizDict.getEnumValue(r.data.row.payMode)), 1)
504
503
  ]),
505
504
  agentCode: l((r) => [
506
- d(p(a(ue)(r.data.row.agentCode)), 1)
505
+ d(p(a(ie)(r.data.row.agentCode)), 1)
507
506
  ]),
508
507
  operation: l((r) => [
509
- S((w(), N("span", {
508
+ I((A(), S("span", {
510
509
  class: "el-button-color",
511
- onClick: (V) => Y(r.data.row)
510
+ onClick: (V) => q(r.data.row)
512
511
  }, [
513
512
  d(p(o.$t("settleTradeAnalysis.view")), 1)
514
- ], 8, we)), [
515
- [X, ["payment:trade_analysis:view"]]
513
+ ], 8, Ce)), [
514
+ [Z, ["payment:trade_analysis:view"]]
516
515
  ])
517
516
  ]),
518
517
  _: 1
519
- }, 8, ["list-loading", "data", "table-label"])
518
+ }, 8, ["data", "table-label"])), [
519
+ [x, a(Q)]
520
+ ])
520
521
  ]),
521
522
  _: 1
522
523
  })
@@ -525,5 +526,5 @@ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-cont
525
526
  }
526
527
  });
527
528
  export {
528
- Re as default
529
+ Se as default
529
530
  };