xyvcard-settle 0.0.6 → 0.0.7

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.
@@ -1,31 +1,31 @@
1
- import { defineComponent as J, getCurrentInstance as X, ref as _, resolveComponent as i, resolveDirective as Z, createElementBlock as k, openBlock as $, createElementVNode as f, 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 N } from "vue";
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
2
  import { useUserStore as ae, clearEmpty as oe, request as ne, useTableHooks as se } from "jmash-core";
3
3
  import { useI18n as re } from "vue-i18n";
4
4
  import { D as p, C as M } from "./index-Bud2OQwM.mjs";
5
5
  import { useRouter as de } from "vue-router";
6
6
  class ue {
7
- getKey(c) {
7
+ getKey(f) {
8
8
  return {
9
- analysisTime: c.analysisTime,
10
- channelId: c.channelId
9
+ analysisTime: f.analysisTime,
10
+ channelId: f.channelId
11
11
  };
12
12
  }
13
13
  // 查询翻页信息支付交易汇总统计;
14
- findPage(c) {
15
- const g = ae().user.tenant;
16
- return oe(c), ne({
17
- url: "/v1/settle/analysis/merchant/page/" + g,
14
+ findPage(f) {
15
+ const h = ae().user.tenant;
16
+ return oe(f), ne({
17
+ url: "/v1/settle/analysis/merchant/page/" + h,
18
18
  method: "get",
19
- params: c
19
+ params: f
20
20
  });
21
21
  }
22
22
  }
23
- const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, ye = { class: "total-num" }, ce = { class: "blue_color" }, fe = { class: "blue_color" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = ["onClick"], _e = /* @__PURE__ */ J({
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
24
  __name: "index",
25
- setup(D) {
26
- const { t: c } = re();
25
+ setup(N) {
26
+ const { t: f } = re();
27
27
  p.agentBizDict.useValues(), p.instsBizDict.useValues(), p.merchantBizDict.useValues();
28
- const { proxy: g } = X(), R = de(), S = localStorage.getItem("tokenExt"), s = _({
28
+ const { proxy: h } = X(), R = de(), S = localStorage.getItem("tokenExt"), s = _({
29
29
  tokenExt: S ?? ""
30
30
  }), {
31
31
  tableHooks: u,
@@ -34,14 +34,14 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
34
34
  listLoading: U,
35
35
  tableData: E,
36
36
  total: A
37
- } = se(c, ie, s);
37
+ } = se(f, ie, s);
38
38
  let C = u.totalRecord;
39
39
  const T = _([]);
40
40
  function P(o) {
41
- T.value = o, T.value.length === 2 && (s.value.analysisTimeStart = g.$moment.formatDate(
41
+ T.value = o, T.value.length === 2 && (s.value.analysisTimeStart = h.$moment.formatDate(
42
42
  o[0],
43
43
  M.RPC_FORMAT_TIME
44
- ), s.value.analysisTimeEnd = g.$moment.formatDate(
44
+ ), s.value.analysisTimeEnd = h.$moment.formatDate(
45
45
  o[1],
46
46
  M.RPC_FORMAT_TIME
47
47
  ));
@@ -75,14 +75,6 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
75
75
  sortable: "custom",
76
76
  isColumn: !0
77
77
  },
78
- // 连锁号
79
- {
80
- label: "settleTradeAnalysis.likeMerchantNo",
81
- prop: "chainNo",
82
- width: "200",
83
- sortable: "custom",
84
- isColumn: !0
85
- },
86
78
  // 终端号
87
79
  {
88
80
  label: "settleTradeAnalysis.termNo",
@@ -176,9 +168,9 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
176
168
  u.handleSort(o.prop, o.order);
177
169
  }
178
170
  return u.getList(), (o, e) => {
179
- const V = i("el-input"), y = i("el-form-item"), r = i("el-col"), w = i("jmash-select"), h = 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");
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");
180
172
  return $(), k("div", me, [
181
- f("div", pe, [
173
+ c("div", pe, [
182
174
  t(L, {
183
175
  ref_key: "queryFormRef",
184
176
  ref: B,
@@ -186,7 +178,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
186
178
  inline: !0
187
179
  }, {
188
180
  default: a(() => [
189
- t(h, null, {
181
+ t(g, null, {
190
182
  default: a(() => [
191
183
  t(r, { span: 6 }, {
192
184
  default: a(() => [
@@ -274,7 +266,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
274
266
  ]),
275
267
  _: 1
276
268
  }),
277
- t(h, null, {
269
+ t(g, null, {
278
270
  default: a(() => [
279
271
  t(r, { span: 6 }, {
280
272
  default: a(() => [
@@ -373,7 +365,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
373
365
  ]),
374
366
  _: 1
375
367
  }),
376
- t(h, null, {
368
+ t(g, null, {
377
369
  default: a(() => [
378
370
  t(r, { span: 24 }, {
379
371
  default: a(() => [
@@ -408,14 +400,14 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
408
400
  ]),
409
401
  _: 1
410
402
  }, 8, ["model"]),
411
- e[21] || (e[21] = f("div", { class: "clear" }, null, -1))
403
+ e[21] || (e[21] = c("div", { class: "clear" }, null, -1))
412
404
  ]),
413
405
  t(x, {
414
406
  shadow: "never",
415
407
  class: "table-container"
416
408
  }, {
417
409
  header: a(() => [
418
- t(h, null, {
410
+ t(g, null, {
419
411
  default: a(() => [
420
412
  t(r, {
421
413
  span: 24,
@@ -424,7 +416,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
424
416
  default: a(() => [
425
417
  t(O, {
426
418
  modelValue: n(v),
427
- "onUpdate:modelValue": e[16] || (e[16] = (l) => N(v) ? v.value = l : v = l),
419
+ "onUpdate:modelValue": e[16] || (e[16] = (l) => D(v) ? v.value = l : v = l),
428
420
  "label-name": "settle/settle-trade-analysis"
429
421
  }, null, 8, ["modelValue"])
430
422
  ]),
@@ -438,7 +430,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
438
430
  n(A) > 0 ? ($(), te(W, {
439
431
  key: 0,
440
432
  total: n(A),
441
- "onUpdate:total": e[17] || (e[17] = (l) => N(A) ? A.value = l : null),
433
+ "onUpdate:total": e[17] || (e[17] = (l) => D(A) ? A.value = l : null),
442
434
  "current-page": s.value.curPage,
443
435
  "onUpdate:currentPage": e[18] || (e[18] = (l) => s.value.curPage = l),
444
436
  "page-size": s.value.pageSize,
@@ -447,13 +439,13 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
447
439
  }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
448
440
  ]),
449
441
  default: a(() => [
450
- f("div", ye, [
451
- t(h, { gutter: 20 }, {
442
+ c("div", ye, [
443
+ t(g, { gutter: 20 }, {
452
444
  default: a(() => [
453
445
  t(r, { span: 6 }, {
454
446
  default: a(() => [
455
447
  e[22] || (e[22] = d(" 总交易笔数: ")),
456
- f("span", ce, m(n(C).totalOrderCount), 1),
448
+ c("span", fe, m(n(C).totalOrderCount), 1),
457
449
  e[23] || (e[23] = d(" 笔 "))
458
450
  ]),
459
451
  _: 1
@@ -461,7 +453,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
461
453
  t(r, { span: 6 }, {
462
454
  default: a(() => [
463
455
  e[24] || (e[24] = d(" 总交易金额: ")),
464
- f("span", fe, m(n(C).totalOrderAmount), 1),
456
+ c("span", ce, m(n(C).totalOrderAmount), 1),
465
457
  e[25] || (e[25] = d(" 元 "))
466
458
  ]),
467
459
  _: 1
@@ -469,7 +461,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
469
461
  t(r, { span: 6 }, {
470
462
  default: a(() => [
471
463
  e[26] || (e[26] = d(" 手续费: ")),
472
- f("span", be, m(n(C).totalFeeAmt), 1),
464
+ c("span", be, m(n(C).totalFeeAmt), 1),
473
465
  e[27] || (e[27] = d(" 元 "))
474
466
  ]),
475
467
  _: 1
@@ -477,7 +469,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
477
469
  t(r, { span: 6 }, {
478
470
  default: a(() => [
479
471
  e[28] || (e[28] = d(" 结算金额: ")),
480
- f("span", Te, m(n(C).totalSettleAmount), 1),
472
+ c("span", Te, m(n(C).totalSettleAmount), 1),
481
473
  e[29] || (e[29] = d(" 元 "))
482
474
  ]),
483
475
  _: 1
@@ -509,7 +501,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
509
501
  operation: a((l) => [
510
502
  ee(($(), k("span", {
511
503
  class: "el-button-color",
512
- onClick: (he) => Q(l.data.row)
504
+ onClick: (ge) => Q(l.data.row)
513
505
  }, [
514
506
  d(m(o.$t("settleTradeAnalysis.view")), 1)
515
507
  ], 8, ve)), [
package/dist/index.mjs CHANGED
@@ -2677,7 +2677,7 @@ const Ti = {
2677
2677
  }
2678
2678
  };
2679
2679
  }
2680
- }, bi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade/index.vue": () => import("./index-2oXIND_I.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-CDeebkyi.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CuL7zudH.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-C2MSYQA8.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-D_PaDsRZ.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CQbu6CAF.mjs") }), Ni = {
2680
+ }, bi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade/index.vue": () => import("./index-2oXIND_I.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-CDeebkyi.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-D0DoF8eV.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-C2MSYQA8.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-D_PaDsRZ.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CQbu6CAF.mjs") }), Ni = {
2681
2681
  install(e) {
2682
2682
  Ds(bi, 7), Ys(vs), e.use(Ti);
2683
2683
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",