xyvcard-settle 0.0.9 → 0.0.11

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 (43) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +9 -0
  2. package/dist/{config-wQ_OqPiM-Dfqa4-ut.mjs → config-J7atvZST-DWIsO2IO.mjs} +73 -73
  3. package/dist/{free-BUp-oFkV-hf7oJVVa-CV9Mc_v7.mjs → free-Cc9I120N-BWsHZFX2-CxYMpWUK.mjs} +9 -9
  4. package/dist/{free-DaGOIXVI-BQWYVYKX.mjs → free-DaGOIXVI-BNSfAO8T.mjs} +1 -1
  5. package/dist/{history-DXyhZzCj.mjs → history-DtDwu5R-.mjs} +1 -1
  6. package/dist/{history.vue_vue_type_script_setup_true_lang-D9zNqYoH.mjs → history.vue_vue_type_script_setup_true_lang-DMtVBRfy.mjs} +164 -131
  7. package/dist/{index-D67oeGwS-BMFS752D.mjs → index-BCqoC3r3-BIFqVNfL.mjs} +11496 -9626
  8. package/dist/{index-CpvDwpiR.mjs → index-BNso7zfN.mjs} +63 -57
  9. package/dist/{index-BKtOSSkB-DTgIBJsv-cslrwwdq.mjs → index-BspHvxQr-uRg4kyPq-DFg93r8u.mjs} +7922 -7544
  10. package/dist/{index-BtIY2iCq-x-RqpW3Y.mjs → index-BtIY2iCq-BJRRryps.mjs} +1 -1
  11. package/dist/{index-C0VdCZ5o-BS12obci-CPd27xae-uzLPxoYk.mjs → index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs} +1 -1
  12. package/dist/{index-DWdAhe8t-m87rvmL3-Bkp_--X4.mjs → index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs} +1656 -1624
  13. package/dist/{index-BwCHsBZH.mjs → index-CtIH3nvn.mjs} +1 -1
  14. package/dist/index-DRytXEq2-BbPT0y44.mjs +422 -0
  15. package/dist/{index-DgfUBpY9-C0zRoh0e.mjs → index-DgfUBpY9-Dw7Emvyq.mjs} +1 -1
  16. package/dist/{index-DW9pH9d2.mjs → index-DqAggoFd.mjs} +1 -1
  17. package/dist/{index-C0VdCZ5o-Cj3CPOKI-Bwb-yN8L.mjs → index-V24QP_Fz-BzkjeGHi-Ci3LKdW6.mjs} +1561 -1519
  18. package/dist/{index-C046whOI.mjs → index-VeG1EoW7.mjs} +2 -2
  19. package/dist/index-eCinebyw-BgYghjPj.mjs +7401 -0
  20. package/dist/index-pSv-rovn.mjs +9024 -0
  21. package/dist/index.mjs +1 -1
  22. package/dist/{info-B2A1hZLs-CFOBNXvF.mjs → info-B2A1hZLs-BTQUd5Jm.mjs} +2 -2
  23. package/dist/{info-B9D5Y0O1-DJcGjbun-yZzCXvyA-b4j8AIaV.mjs → info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs} +45 -45
  24. package/dist/{info-BInFHgyd-BJR7IDDv.mjs → info-BInFHgyd-DVzc7PKY.mjs} +2 -2
  25. package/dist/{info-C_UgKHAd-BZKHWwe2.mjs → info-C6ZgzFaa-BmnPAu-J.mjs} +19 -19
  26. package/dist/{info-Dnfa8_ww-B52LEaJI-DvHuXfOp.mjs → info-Cj0C9r3t-mBibS56J-CWfoBgkS.mjs} +22 -22
  27. package/dist/{info-Crc5gYV2-CBlPFQL--CjCICqAh-D-hJ1flm.mjs → info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs} +2 -2
  28. package/dist/{info-Crc5gYV2-WRe4uI3Q-C1-U6cHg.mjs → info-DOOuWsLL-Dl19ZBB1-DbrxRvVC.mjs} +293 -292
  29. package/dist/info-DjbDXhlf-D7nLFio2-BHCvJo-B.mjs +818 -0
  30. package/dist/{info-DzkZlnCT-BV1siIQn-DA2Kmmy7-BrG2UboF.mjs → info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs} +1 -1
  31. package/dist/{info-B9D5Y0O1-Cp3rNtuc-hHwLUHFi.mjs → info-EEQdBSPc-B6uHnl48-C8twM8oy.mjs} +99 -99
  32. package/dist/{info-JTzVjKGk-DiN9zsW1.mjs → info-JTzVjKGk-CPZGfQ4J.mjs} +1 -1
  33. package/dist/{info-lj2PfyWO-BkFO5HiO.mjs → info-lj2PfyWO-Co56efnh.mjs} +1 -1
  34. package/dist/{product-BJX8VysN-7rvsebSa.mjs → product-BJX8VysN-Dw6ytmjd.mjs} +1 -1
  35. package/dist/{product-B_wmSyz3-CSnDX200-DQ_3kMfH.mjs → product-DasoXMNF-Ct3nzcE4-DIvah5yX.mjs} +80 -81
  36. package/dist/{today-C5Va5XHn.mjs → today-CcdJaugs.mjs} +1 -1
  37. package/dist/{today.vue_vue_type_script_setup_true_lang-ZrXadN6o.mjs → today.vue_vue_type_script_setup_true_lang-4AbDYOLB.mjs} +1 -1
  38. package/package.json +2 -2
  39. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50.mjs +0 -9
  40. package/dist/constant-BYuI4T7h-CaymzuvN-C16GHKiG.mjs +0 -21
  41. package/dist/index-DY4QrfnW.mjs +0 -8040
  42. package/dist/index-DofyIGY_-CpvRj3fo.mjs +0 -9128
  43. package/dist/info-DzkZlnCT-vArcpPHL-BS_7GYB8.mjs +0 -139
@@ -1,9 +1,9 @@
1
- import { defineComponent as le, getCurrentInstance as ae, ref as I, resolveComponent as p, resolveDirective as oe, createElementBlock as N, openBlock as V, createElementVNode as b, createVNode as t, withCtx as l, withKeys as T, unref as n, createBlock as R, createCommentVNode as S, createTextVNode as d, toDisplayString as m, createSlots as ne, withDirectives as se, isRef as z } from "vue";
2
- import { useUserStore as re, clearEmpty as de, request as ue, useTableHooks as ie } from "jmash-core";
3
- import { useI18n as pe } from "vue-i18n";
4
- import { D as y, C as B } from "./index-DY4QrfnW.mjs";
5
- import { useRoute as me, useRouter as ye } from "vue-router";
6
- class ce {
1
+ import { defineComponent as ae, getCurrentInstance as oe, ref as V, resolveComponent as p, resolveDirective as ne, createElementBlock as D, openBlock as w, createElementVNode as b, createVNode as t, withCtx as l, withKeys as T, unref as n, createBlock as R, createCommentVNode as S, createTextVNode as d, toDisplayString as m, createSlots as se, withDirectives as re, isRef as z } from "vue";
2
+ import { useUserStore as de, clearEmpty as ue, request as ie, useTableHooks as pe } from "jmash-core";
3
+ import { useI18n as me } from "vue-i18n";
4
+ import { D as y, C as B } from "./index-pSv-rovn.mjs";
5
+ import { useRoute as ye, useRouter as ce } from "vue-router";
6
+ class fe {
7
7
  getKey(f) {
8
8
  return {
9
9
  analysisTime: f.analysisTime,
@@ -12,22 +12,22 @@ class ce {
12
12
  }
13
13
  // 查询翻页信息支付交易汇总统计;
14
14
  findPage(f) {
15
- const k = re().user.tenant;
16
- return de(f), ue({
15
+ const k = de().user.tenant;
16
+ return ue(f), ie({
17
17
  url: "/v1/settle/analysis/merchant/page/" + k,
18
18
  method: "get",
19
19
  params: f
20
20
  });
21
21
  }
22
22
  }
23
- const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-container" }, ve = { class: "total-num" }, ge = { class: "blue_color" }, he = { class: "blue_color" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = ["onClick"], De = /* @__PURE__ */ le({
23
+ const be = new fe(), Te = { class: "app-container" }, ge = { class: "search-container" }, ve = { class: "total-num" }, he = { class: "blue_color" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = ["onClick"], De = /* @__PURE__ */ ae({
24
24
  __name: "index",
25
25
  setup(U) {
26
- const { t: f } = pe();
26
+ const { t: f } = me();
27
27
  y.agentBizDict.useValues(), y.instsBizDict.useValues(), y.merchantBizDict.useValues();
28
- const w = me().query.tenant;
29
- console.log(w, "=> tenant");
30
- const { proxy: M } = ae(), E = ye(), P = localStorage.getItem("tokenExt"), s = I({
28
+ const _ = ye().query.tenant;
29
+ console.log(_, "=> tenant");
30
+ const { proxy: M } = oe(), E = ce(), P = localStorage.getItem("tokenExt"), s = V({
31
31
  tokenExt: P ?? ""
32
32
  }), {
33
33
  tableHooks: i,
@@ -36,11 +36,11 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
36
36
  listLoading: K,
37
37
  tableData: Y,
38
38
  total: A
39
- } = ie(f, fe, s);
39
+ } = pe(f, be, s);
40
40
  let C = i.totalRecord;
41
- const v = I([]);
41
+ const g = V([]);
42
42
  function q(a) {
43
- v.value = a, v.value.length === 2 && (s.value.analysisTimeStart = M.$moment.formatDate(
43
+ g.value = a, g.value.length === 2 && (s.value.analysisTimeStart = M.$moment.formatDate(
44
44
  a[0],
45
45
  B.RPC_FORMAT_TIME
46
46
  ), s.value.analysisTimeEnd = M.$moment.formatDate(
@@ -48,7 +48,10 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
48
48
  B.RPC_FORMAT_TIME
49
49
  ));
50
50
  }
51
- let g = I([
51
+ const F = V(
52
+ JSON.parse(localStorage.getItem("selectAgent") || "{}")
53
+ );
54
+ let v = V([
52
55
  // 序号
53
56
  {
54
57
  label: "settleTradeAnalysis.index",
@@ -162,7 +165,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
162
165
  isColumn: !0
163
166
  }
164
167
  ]);
165
- function F(a) {
168
+ function O(a) {
166
169
  E.push({
167
170
  path: "/payment/pay-trade",
168
171
  query: {
@@ -171,18 +174,18 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
171
174
  });
172
175
  }
173
176
  function L() {
174
- v.value = [], i.resetQuery();
177
+ g.value = [], i.resetQuery();
175
178
  }
176
- function O(a) {
179
+ function H(a) {
177
180
  i.selectionRows.value = a;
178
181
  }
179
- function H(a) {
182
+ function W(a) {
180
183
  i.handleSort(a.prop, a.order);
181
184
  }
182
185
  return i.getList(), (a, e) => {
183
- const _ = p("el-input"), c = p("el-form-item"), u = p("el-col"), $ = p("jmash-select"), h = p("el-row"), W = p("el-tree-select"), x = p("el-date-picker"), D = p("el-button"), G = p("el-form"), J = p("jmash-column-select"), X = p("jmash-table"), Z = p("jmash-pagination"), ee = p("el-card"), te = oe("hasPerm");
184
- return V(), N("div", be, [
185
- b("div", Te, [
186
+ const I = p("el-input"), c = p("el-form-item"), u = p("el-col"), $ = p("jmash-select"), h = p("el-row"), J = p("el-tree-select"), x = p("el-date-picker"), N = p("el-button"), G = p("el-form"), X = p("jmash-column-select"), Z = p("jmash-table"), ee = p("jmash-pagination"), te = p("el-card"), le = ne("hasPerm");
187
+ return w(), D("div", Te, [
188
+ b("div", ge, [
186
189
  t(G, {
187
190
  ref_key: "queryFormRef",
188
191
  ref: j,
@@ -199,7 +202,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
199
202
  prop: "merchantId"
200
203
  }, {
201
204
  default: l(() => [
202
- t(_, {
205
+ t(I, {
203
206
  modelValue: s.value.merchantId,
204
207
  "onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
205
208
  placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
@@ -242,7 +245,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
242
245
  prop: "likeMerchantNo"
243
246
  }, {
244
247
  default: l(() => [
245
- t(_, {
248
+ t(I, {
246
249
  modelValue: s.value.likeMerchantNo,
247
250
  "onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
248
251
  placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
@@ -262,7 +265,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
262
265
  prop: "termNo"
263
266
  }, {
264
267
  default: l(() => [
265
- t(_, {
268
+ t(I, {
266
269
  modelValue: s.value.termNo,
267
270
  "onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
268
271
  placeholder: a.$t("settleTradeAnalysis.termNoRead"),
@@ -282,7 +285,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
282
285
  default: l(() => {
283
286
  var o;
284
287
  return [
285
- (o = n(w)) != null && o.includes("@") ? S("", !0) : (V(), R(u, {
288
+ (o = n(_)) != null && o.includes("@") ? S("", !0) : (w(), R(u, {
286
289
  key: 0,
287
290
  span: 6
288
291
  }, {
@@ -292,7 +295,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
292
295
  prop: "agentCode"
293
296
  }, {
294
297
  default: l(() => [
295
- t(W, {
298
+ t(J, {
296
299
  modelValue: s.value.agentCode,
297
300
  "onUpdate:modelValue": e[8] || (e[8] = (r) => s.value.agentCode = r),
298
301
  data: n(y).agentBizDict.values,
@@ -362,8 +365,8 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
362
365
  }, {
363
366
  default: l(() => [
364
367
  t(x, {
365
- modelValue: v.value,
366
- "onUpdate:modelValue": e[13] || (e[13] = (r) => v.value = r),
368
+ modelValue: g.value,
369
+ "onUpdate:modelValue": e[13] || (e[13] = (r) => g.value = r),
367
370
  type: "daterange",
368
371
  format: "YYYY-MM-DD",
369
372
  "value-format": "YYYY-MM-DD",
@@ -389,7 +392,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
389
392
  default: l(() => [
390
393
  t(c, { class: "search-btn" }, {
391
394
  default: l(() => [
392
- t(D, {
395
+ t(N, {
393
396
  type: "primary",
394
397
  onClick: e[14] || (e[14] = (o) => n(i).handleQuery())
395
398
  }, {
@@ -398,7 +401,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
398
401
  ]),
399
402
  _: 1
400
403
  }),
401
- t(D, {
404
+ t(N, {
402
405
  onClick: e[15] || (e[15] = (o) => L())
403
406
  }, {
404
407
  default: l(() => [
@@ -420,7 +423,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
420
423
  }, 8, ["model"]),
421
424
  e[21] || (e[21] = b("div", { class: "clear" }, null, -1))
422
425
  ]),
423
- t(ee, {
426
+ t(te, {
424
427
  shadow: "never",
425
428
  class: "table-container"
426
429
  }, {
@@ -432,9 +435,9 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
432
435
  class: "container-float"
433
436
  }, {
434
437
  default: l(() => [
435
- t(J, {
436
- modelValue: n(g),
437
- "onUpdate:modelValue": e[16] || (e[16] = (o) => z(g) ? g.value = o : g = o),
438
+ t(X, {
439
+ modelValue: n(v),
440
+ "onUpdate:modelValue": e[16] || (e[16] = (o) => z(v) ? v.value = o : v = o),
438
441
  "label-name": "settle/settle-trade-analysis"
439
442
  }, null, 8, ["modelValue"])
440
443
  ]),
@@ -445,7 +448,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
445
448
  })
446
449
  ]),
447
450
  footer: l(() => [
448
- n(A) > 0 ? (V(), R(Z, {
451
+ n(A) > 0 ? (w(), R(ee, {
449
452
  key: 0,
450
453
  total: n(A),
451
454
  "onUpdate:total": e[17] || (e[17] = (o) => z(A) ? A.value = o : null),
@@ -465,7 +468,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
465
468
  t(u, { span: 6 }, {
466
469
  default: l(() => [
467
470
  e[22] || (e[22] = d(" 总交易笔数: ")),
468
- b("span", ge, m(n(C).totalOrderCount), 1),
471
+ b("span", he, m(n(C).totalOrderCount), 1),
469
472
  e[23] || (e[23] = d(" 笔 "))
470
473
  ]),
471
474
  _: 1
@@ -473,7 +476,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
473
476
  t(u, { span: 6 }, {
474
477
  default: l(() => [
475
478
  e[24] || (e[24] = d(" 总交易金额: ")),
476
- b("span", he, m(n(C).totalOrderAmount), 1),
479
+ b("span", Ae, m(n(C).totalOrderAmount), 1),
477
480
  e[25] || (e[25] = d(" 元 "))
478
481
  ]),
479
482
  _: 1
@@ -481,7 +484,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
481
484
  t(u, { span: 6 }, {
482
485
  default: l(() => [
483
486
  e[26] || (e[26] = d(" 手续费: ")),
484
- b("span", Ae, m(n(C).totalFeeAmt), 1),
487
+ b("span", Ce, m(n(C).totalFeeAmt), 1),
485
488
  e[27] || (e[27] = d(" 元 "))
486
489
  ]),
487
490
  _: 1
@@ -489,7 +492,7 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
489
492
  t(u, { span: 6 }, {
490
493
  default: l(() => [
491
494
  e[28] || (e[28] = d(" 结算金额: ")),
492
- b("span", Ce, m(n(C).totalSettleAmount), 1),
495
+ b("span", Ve, m(n(C).totalSettleAmount), 1),
493
496
  e[29] || (e[29] = d(" 元 "))
494
497
  ]),
495
498
  _: 1
@@ -498,17 +501,17 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
498
501
  _: 1
499
502
  })
500
503
  ]),
501
- t(X, {
504
+ t(Z, {
502
505
  ref_key: "multipleTableRef",
503
506
  ref: Q,
504
507
  isSelection: !1,
505
508
  "row-key": "settleTradeAnalysisPk",
506
509
  "list-loading": n(K),
507
510
  data: n(Y),
508
- "table-label": n(g),
509
- onSelectionChange: O,
510
- onSortChange: H
511
- }, ne({
511
+ "table-label": n(v),
512
+ onSelectionChange: H,
513
+ onSortChange: W
514
+ }, se({
512
515
  merchantId: l((r) => [
513
516
  d(m(n(y).merchantBizDict.getValue(r.data.row.merchantId)), 1)
514
517
  ]),
@@ -518,28 +521,31 @@ const fe = new ce(), be = { class: "app-container" }, Te = { class: "search-cont
518
521
  payMode: l((r) => [
519
522
  d(m(n(y).payModeBizDict.getEnumValue(r.data.row.payMode)), 1)
520
523
  ]),
521
- agentCode: l((r) => [
522
- d(m(n(y).agentBizDict.getValue(r.data.row.agentCode)), 1)
523
- ]),
524
524
  operation: l((r) => [
525
- se((V(), N("span", {
525
+ re((w(), D("span", {
526
526
  class: "el-button-color",
527
- onClick: (we) => F(r.data.row)
527
+ onClick: (_e) => O(r.data.row)
528
528
  }, [
529
529
  d(m(a.$t("settleTradeAnalysis.view")), 1)
530
- ], 8, Ve)), [
531
- [te, ["settle:settle_trade_analysis:view"]]
530
+ ], 8, we)), [
531
+ [le, ["settle:settle_trade_analysis:view"]]
532
532
  ])
533
533
  ]),
534
534
  _: 2
535
535
  }, [
536
- (o = n(w)) != null && o.includes("@") ? {
536
+ (o = n(_)) != null && o.includes("@") ? {
537
+ name: "agentCode",
538
+ fn: l((r) => [
539
+ d(m(F.value.agentAlias), 1)
540
+ ]),
541
+ key: "1"
542
+ } : {
537
543
  name: "agentCode",
538
544
  fn: l((r) => [
539
- d(m(n(y).agentBizDictName.getValue(r.data.row.agentCode)), 1)
545
+ d(m(n(y).agentBizDict.getValue(r.data.row.agentCode)), 1)
540
546
  ]),
541
547
  key: "0"
542
- } : void 0
548
+ }
543
549
  ]), 1032, ["list-loading", "data", "table-label"])
544
550
  ];
545
551
  }),