xyvcard-settle 0.0.26 → 0.0.28

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-B-gHLBwh.mjs → history-CLKzeQgr.mjs} +1 -1
  2. package/dist/{history-BLctAU0P.mjs → history-LA5ydGD3.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs → history.vue_vue_type_script_setup_true_lang-DKpNnK16.mjs} +60 -64
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs → history.vue_vue_type_script_setup_true_lang-DNAKjj2K.mjs} +59 -63
  5. package/dist/index-4G9bFkRU.mjs +734 -0
  6. package/dist/{index-AgzuDVOr.mjs → index-BD3X5Rti.mjs} +68 -68
  7. package/dist/{index-CNAVEXHD.mjs → index-BedZ4YBW.mjs} +2 -2
  8. package/dist/{index-BocAk8pD.mjs → index-CIqcivMU.mjs} +7 -7
  9. package/dist/{index-YgHkUquv.mjs → index-COYrjW5J.mjs} +49 -48
  10. package/dist/index-Cq9GZCQ5.mjs +704 -0
  11. package/dist/{index-CU32So4f.mjs → index-DQrFDOBc.mjs} +6 -3
  12. package/dist/{index-C2vMy8ik.mjs → index-Dbi92nov.mjs} +61 -64
  13. package/dist/{index-CE3y-0QV.mjs → index-DxgbREbu.mjs} +15 -15
  14. package/dist/{index-DJtiZFc1.mjs → index-YVLogsg5.mjs} +33 -33
  15. package/dist/{index-Cg3fVoEi.mjs → index-ciHpwp7j.mjs} +2 -2
  16. package/dist/index.mjs +1 -1
  17. package/dist/style.css +1 -1
  18. package/dist/{today-r_ikFBLS.mjs → today-B95MJ59w.mjs} +1 -1
  19. package/dist/{today-t0-6m3Qr.mjs → today-BQqb8yMf.mjs} +1 -1
  20. package/dist/{today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs → today.vue_vue_type_script_setup_true_lang-C0qp5E2L.mjs} +70 -74
  21. package/dist/{today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs → today.vue_vue_type_script_setup_true_lang-ChWYCSDh.mjs} +47 -51
  22. package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -1
  23. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
  24. package/dts/src/lang/settle/zh-cn.d.ts +2 -0
  25. package/package.json +2 -2
  26. package/dist/index-P-8jwHYX.mjs +0 -690
  27. package/dist/index-dcnBl8Xl.mjs +0 -690
@@ -1,9 +1,9 @@
1
- import { defineComponent as ne, getCurrentInstance as oe, ref as I, resolveComponent as p, resolveDirective as se, createElementBlock as E, openBlock as v, createElementVNode as b, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as D, createCommentVNode as M, createTextVNode as r, toDisplayString as i, createSlots as re, withDirectives as de, isRef as U } from "vue";
2
- import { useRoute as ue, useRouter as ie } from "vue-router";
3
- import { useI18n as me } from "vue-i18n";
4
- import { useUserStore as R, clearEmpty as pe, request as ye, useTableHooks as fe } from "jmash-core";
5
- import { tokenExt as ce } from "xyvcard-agent";
6
- import { D as f, C as P } from "./index-CpuvJ4Tw.mjs";
1
+ import { defineComponent as oe, ref as w, getCurrentInstance as se, resolveComponent as p, resolveDirective as re, createElementBlock as E, openBlock as v, createElementVNode as b, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as D, createCommentVNode as M, createTextVNode as r, toDisplayString as i, createSlots as de, withDirectives as ue, isRef as U } from "vue";
2
+ import { useRoute as ie, useRouter as me } from "vue-router";
3
+ import { useI18n as pe } from "vue-i18n";
4
+ import { useUserStore as R, clearEmpty as ye, request as fe, useTableHooks as ce } from "jmash-core";
5
+ import { tokenExt as P } from "xyvcard-agent";
6
+ import { D as f, C as Q } from "./index-CpuvJ4Tw.mjs";
7
7
  class be {
8
8
  getKey(T) {
9
9
  return {
@@ -14,45 +14,45 @@ class be {
14
14
  // 查询翻页信息支付交易汇总统计;
15
15
  findPage(T) {
16
16
  const N = R().user.tenant;
17
- return pe(T), ye({
17
+ return ye(T), fe({
18
18
  url: "/v1/settle/analysis/merchant/my/page/" + N,
19
19
  method: "get",
20
20
  params: T
21
21
  });
22
22
  }
23
23
  }
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" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"], Se = /* @__PURE__ */ ne({
24
+ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, Ce = { class: "blue_color" }, he = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, _e = ["onClick"], Se = /* @__PURE__ */ oe({
25
25
  __name: "index",
26
- setup(Q) {
27
- const { t: T } = me();
26
+ setup(j) {
27
+ const { t: T } = pe();
28
28
  f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
29
- const w = ue().query.tenant, { proxy: S } = oe(), j = ie(), s = I({
30
- tokenExt: ce.getTokenExt(R().user.tenant)
29
+ const $ = ie().query.tenant, K = w(P.getCurrentRole(R().user.tenant)), { proxy: S } = se(), Y = me(), s = w({
30
+ tokenExt: P.getTokenExt(R().user.tenant)
31
31
  }), {
32
32
  tableHooks: m,
33
- multipleTableRef: K,
34
- queryFormRef: Y,
35
- listLoading: q,
36
- tableData: F,
37
- total: $
38
- } = fe(T, Te, s);
33
+ multipleTableRef: q,
34
+ queryFormRef: F,
35
+ listLoading: O,
36
+ tableData: L,
37
+ total: _
38
+ } = ce(T, Te, s);
39
39
  let A = m.totalRecord;
40
- const h = I([]);
41
- function O(a) {
42
- h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
40
+ const C = w([]);
41
+ function H(a) {
42
+ C.value = a, C.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
43
43
  a[0],
44
- P.RPC_FORMAT_TIME
44
+ Q.RPC_FORMAT_TIME
45
45
  ), s.value.analysisTimeEnd = S.$moment.formatDate(
46
46
  a[1],
47
- P.RPC_FORMAT_TIME
47
+ Q.RPC_FORMAT_TIME
48
48
  ));
49
49
  }
50
- const L = I(
50
+ w(
51
51
  JSON.parse(
52
52
  sessionStorage.getItem("SelectAgent:" + R().user.tenant) || "{}"
53
53
  )
54
54
  );
55
- let C = I([
55
+ let h = w([
56
56
  // 序号
57
57
  {
58
58
  label: "settleTradeAnalysis.index",
@@ -155,8 +155,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
155
155
  isColumn: !0
156
156
  }
157
157
  ]);
158
- function H(a) {
159
- j.push({
158
+ function W(a) {
159
+ Y.push({
160
160
  path: "/payment/pay-trade",
161
161
  query: {
162
162
  merchantId: a.merchantId
@@ -164,21 +164,21 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
164
164
  });
165
165
  }
166
166
  function z() {
167
- h.value = [], s.value.analysisTimeStart = "", s.value.analysisTimeEnd = "", m.resetQuery();
167
+ C.value = [], s.value.analysisTimeStart = "", s.value.analysisTimeEnd = "", m.resetQuery();
168
168
  }
169
- function W(a) {
169
+ function J(a) {
170
170
  m.selectionRows.value = a;
171
171
  }
172
- function J(a) {
172
+ function G(a) {
173
173
  m.handleSort(a.prop, a.order);
174
174
  }
175
175
  return m.getList(), (a, e) => {
176
- const k = p("jmash-select"), c = p("el-form-item"), d = p("el-col"), B = p("el-input"), V = p("el-row"), G = p("el-tree-select"), X = p("el-date-picker"), _ = p("el-button"), Z = p("el-form"), x = p("jmash-column-select"), ee = p("jmash-table"), te = p("jmash-pagination"), le = p("el-card"), ae = se("hasPerm");
176
+ const k = p("jmash-select"), c = p("el-form-item"), d = p("el-col"), B = p("el-input"), V = p("el-row"), X = p("el-tree-select"), Z = p("el-date-picker"), I = p("el-button"), x = p("el-form"), ee = p("jmash-column-select"), te = p("jmash-table"), le = p("jmash-pagination"), ae = p("el-card"), ne = re("hasPerm");
177
177
  return v(), E("div", ve, [
178
178
  b("div", ge, [
179
- l(Z, {
179
+ l(x, {
180
180
  ref_key: "queryFormRef",
181
- ref: Y,
181
+ ref: F,
182
182
  model: s.value,
183
183
  inline: !0
184
184
  }, {
@@ -278,7 +278,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
278
278
  default: t(() => {
279
279
  var o, u;
280
280
  return [
281
- (o = n(w)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
281
+ (o = n($)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
282
282
  key: 0,
283
283
  span: 6
284
284
  }, {
@@ -288,7 +288,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
288
288
  prop: "agentCode"
289
289
  }, {
290
290
  default: t(() => [
291
- l(G, {
291
+ l(X, {
292
292
  modelValue: s.value.agentCode,
293
293
  "onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
294
294
  data: n(f).agentBizDict.values,
@@ -357,16 +357,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
357
357
  prop: "analysisTimeStart"
358
358
  }, {
359
359
  default: t(() => [
360
- l(X, {
361
- modelValue: h.value,
362
- "onUpdate:modelValue": e[13] || (e[13] = (y) => h.value = y),
360
+ l(Z, {
361
+ modelValue: C.value,
362
+ "onUpdate:modelValue": e[13] || (e[13] = (y) => C.value = y),
363
363
  type: "daterange",
364
364
  format: "YYYY-MM-DD",
365
365
  "value-format": "YYYY-MM-DD",
366
366
  "range-separator": "-",
367
367
  "start-placeholder": a.$t("settleTradeAnalysis.analysisTimeStart"),
368
368
  "end-placeholder": a.$t("settleTradeAnalysis.analysisTimeEnd"),
369
- onChange: O,
369
+ onChange: H,
370
370
  style: { width: "280px" }
371
371
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
372
372
  ]),
@@ -375,14 +375,14 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
375
375
  ]),
376
376
  _: 1
377
377
  }),
378
- (u = n(w)) != null && u.includes("@") ? (v(), D(d, {
378
+ (u = n($)) != null && u.includes("@") ? (v(), D(d, {
379
379
  key: 1,
380
380
  span: 6
381
381
  }, {
382
382
  default: t(() => [
383
383
  l(c, { class: "search-btn" }, {
384
384
  default: t(() => [
385
- l(_, {
385
+ l(I, {
386
386
  type: "primary",
387
387
  onClick: e[14] || (e[14] = (y) => n(m).handleQuery())
388
388
  }, {
@@ -391,7 +391,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
391
391
  ]),
392
392
  _: 1
393
393
  }),
394
- l(_, {
394
+ l(I, {
395
395
  onClick: e[15] || (e[15] = (y) => z())
396
396
  }, {
397
397
  default: t(() => [
@@ -413,14 +413,14 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
413
413
  default: t(() => {
414
414
  var o;
415
415
  return [
416
- (o = n(w)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
416
+ (o = n($)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
417
417
  key: 0,
418
418
  span: 24
419
419
  }, {
420
420
  default: t(() => [
421
421
  l(c, { class: "search-btn" }, {
422
422
  default: t(() => [
423
- l(_, {
423
+ l(I, {
424
424
  type: "primary",
425
425
  onClick: e[16] || (e[16] = (u) => n(m).handleQuery())
426
426
  }, {
@@ -429,7 +429,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
429
429
  ]),
430
430
  _: 1
431
431
  }),
432
- l(_, {
432
+ l(I, {
433
433
  onClick: e[17] || (e[17] = (u) => z())
434
434
  }, {
435
435
  default: t(() => [
@@ -452,7 +452,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
452
452
  }, 8, ["model"]),
453
453
  e[23] || (e[23] = b("div", { class: "clear" }, null, -1))
454
454
  ]),
455
- l(le, {
455
+ l(ae, {
456
456
  shadow: "never",
457
457
  class: "table-container"
458
458
  }, {
@@ -464,9 +464,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
464
464
  class: "container-float"
465
465
  }, {
466
466
  default: t(() => [
467
- l(x, {
468
- modelValue: n(C),
469
- "onUpdate:modelValue": e[18] || (e[18] = (o) => U(C) ? C.value = o : C = o),
467
+ l(ee, {
468
+ modelValue: n(h),
469
+ "onUpdate:modelValue": e[18] || (e[18] = (o) => U(h) ? h.value = o : h = o),
470
470
  "label-name": "settle/settle-trade-analysis"
471
471
  }, null, 8, ["modelValue"])
472
472
  ]),
@@ -477,10 +477,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
477
477
  })
478
478
  ]),
479
479
  footer: t(() => [
480
- n($) > 0 ? (v(), D(te, {
480
+ n(_) > 0 ? (v(), D(le, {
481
481
  key: 0,
482
- total: n($),
483
- "onUpdate:total": e[19] || (e[19] = (o) => U($) ? $.value = o : null),
482
+ total: n(_),
483
+ "onUpdate:total": e[19] || (e[19] = (o) => U(_) ? _.value = o : null),
484
484
  "current-page": s.value.curPage,
485
485
  "onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
486
486
  "page-size": s.value.pageSize,
@@ -497,7 +497,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
497
497
  l(d, { span: 4 }, {
498
498
  default: t(() => [
499
499
  e[24] || (e[24] = r(" 订单数: ")),
500
- b("span", he, i(n(A).totalOrderCount), 1),
500
+ b("span", Ce, i(n(A).totalOrderCount), 1),
501
501
  e[25] || (e[25] = r(" 笔 "))
502
502
  ]),
503
503
  _: 1
@@ -505,7 +505,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
505
505
  l(d, { span: 4 }, {
506
506
  default: t(() => [
507
507
  e[26] || (e[26] = r(" 订单金额: ")),
508
- b("span", Ce, i(n(A).totalOrderAmount), 1),
508
+ b("span", he, i(n(A).totalOrderAmount), 1),
509
509
  e[27] || (e[27] = r(" 元 "))
510
510
  ]),
511
511
  _: 1
@@ -538,17 +538,17 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
538
538
  _: 1
539
539
  })
540
540
  ]),
541
- l(ee, {
541
+ l(te, {
542
542
  ref_key: "multipleTableRef",
543
- ref: K,
543
+ ref: q,
544
544
  isSelection: !1,
545
545
  "row-key": "settleTradeAnalysisPk",
546
- "list-loading": n(q),
547
- data: n(F),
548
- "table-label": n(C),
549
- onSelectionChange: W,
550
- onSortChange: J
551
- }, re({
546
+ "list-loading": n(O),
547
+ data: n(L),
548
+ "table-label": n(h),
549
+ onSelectionChange: J,
550
+ onSortChange: G
551
+ }, de({
552
552
  merchantId: t((u) => [
553
553
  r(i(n(f).merchantBizDict.getValue(u.data.row.merchantId)), 1)
554
554
  ]),
@@ -559,21 +559,21 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
559
559
  r(i(n(f).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
560
560
  ]),
561
561
  operation: t((u) => [
562
- de((v(), E("span", {
562
+ ue((v(), E("span", {
563
563
  class: "el-button-color",
564
- onClick: (y) => H(u.data.row)
564
+ onClick: (y) => W(u.data.row)
565
565
  }, [
566
566
  r(i(a.$t("settleTradeAnalysis.view")), 1)
567
- ], 8, ke)), [
568
- [ae, ["settle:settle_trade_analysis:view"]]
567
+ ], 8, _e)), [
568
+ [ne, ["settle:settle_trade_analysis:view"]]
569
569
  ])
570
570
  ]),
571
571
  _: 2
572
572
  }, [
573
- (o = n(w)) != null && o.includes("@") ? {
573
+ (o = n($)) != null && o.includes("@") ? {
574
574
  name: "agentCode",
575
575
  fn: t((u) => [
576
- r(i(L.value.agentAlias), 1)
576
+ r(i(K.value._rawValue.agentAlias), 1)
577
577
  ]),
578
578
  key: "1"
579
579
  } : {
@@ -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-Bov9wTh0.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DKpNnK16.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-C0qp5E2L.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -5,8 +5,8 @@ import { C as p } from "./index-CpuvJ4Tw.mjs";
5
5
  import P from "./pay-C08cbM_l.mjs";
6
6
  import S from "./payPal-D2I3WIqV.mjs";
7
7
  import V from "./trend-pbYAF-aS.mjs";
8
- import { _ as b } from "./sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs";
9
- import { _ as I } from "./merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs";
8
+ import { _ as I } from "./sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs";
9
+ import { _ as b } from "./merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs";
10
10
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
11
  const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-container" }, B = { class: "title" }, q = { class: "tatals" }, Q = { class: "tatal" }, U = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "app-title pay-model" }, W = { class: "title taxt_time_laft" }, X = { class: "text_time" }, Z = { class: "title taxt_time_laft" }, tt = { class: "text_time" }, et = { class: "title taxt_time_laft" }, st = { class: "text_time" }, at = { class: "app-title-time" }, ot = { class: "chart-header" }, nt = { class: "chart-title" }, lt = { class: "text_time" }, it = /* @__PURE__ */ g({
12
12
  __name: "index",
@@ -95,7 +95,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
95
95
  ]),
96
96
  t("div", J, [
97
97
  t("text", K, o(d.value.settleAmount || 0), 1),
98
- e[5] || (e[5] = t("text", null, " 结账金额", -1))
98
+ e[5] || (e[5] = t("text", null, " 结算金额", -1))
99
99
  ])
100
100
  ])
101
101
  ]),
@@ -127,17 +127,17 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
127
127
  e[8] || (e[8] = _(" 销售人员交易金额排名   ")),
128
128
  t("span", tt, o(r.value), 1)
129
129
  ]),
130
- a(b)
130
+ a(I)
131
131
  ]),
132
132
  _: 1
133
133
  }),
134
134
  a(i, { class: "card-number" }, {
135
135
  default: n(() => [
136
136
  t("div", et, [
137
- e[9] || (e[9] = _(" 新增人员新增商户排名   ")),
137
+ e[9] || (e[9] = _(" 销售人员新增商户排名   ")),
138
138
  t("span", st, o(r.value), 1)
139
139
  ]),
140
- a(I)
140
+ a(b)
141
141
  ]),
142
142
  _: 1
143
143
  })
@@ -170,7 +170,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
170
170
  ]);
171
171
  };
172
172
  }
173
- }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-a1dfcb4d"]]);
173
+ }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-75e1597e"]]);
174
174
  export {
175
175
  Dt as default
176
176
  };