xyvcard-settle 0.0.19 → 0.0.20

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 (53) hide show
  1. package/dist/{history-BqGlNUWq.mjs → history-BgXCgEWe.mjs} +1 -1
  2. package/dist/{history-Bf1plXQZ.mjs → history-DtjmHKa9.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs → history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs} +27 -25
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs → history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs} +27 -27
  5. package/dist/{index-7sGznIYQ.mjs → index-A83m_bq9.mjs} +2 -2
  6. package/dist/{index-DRyh7Csl.mjs → index-AM0oEBSy.mjs} +94 -70
  7. package/dist/{index-yBUEGCAI.mjs → index-BPvCTpAw.mjs} +72 -70
  8. package/dist/{index-4mAQF6sI.mjs → index-B_A1F3k3.mjs} +31 -30
  9. package/dist/{index-Q5OOFu9F.mjs → index-DBd3Gkwy.mjs} +60 -60
  10. package/dist/index-D_DrLyqR.mjs +98 -0
  11. package/dist/{index-Dkcgyu5g.mjs → index-Dk7c4clB.mjs} +82 -81
  12. package/dist/{index-B5IIg45W.mjs → index-mgS8Yk77.mjs} +2 -2
  13. package/dist/index.mjs +6 -5
  14. package/dist/{today-CM47Nc1C.mjs → today-D7Qw-W1d.mjs} +1 -1
  15. package/dist/{today-DCYHokzf.mjs → today-DO4goI_2.mjs} +1 -1
  16. package/dist/{today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs → today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs} +27 -25
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs → today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs} +36 -34
  18. package/dts/src/lang/settle/zh-cn.d.ts +1 -0
  19. package/package.json +61 -61
  20. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50-Dj7924hV.mjs +0 -9
  21. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
  22. package/dist/_plugin-vue_export-helper-CHgC5LLL-CE1ZRZXI.mjs +0 -9
  23. package/dist/config-J7atvZST-CRBatj_q.mjs +0 -1914
  24. package/dist/free-Cc9I120N-BWsHZFX2-Co-javuK.mjs +0 -73
  25. package/dist/free-DaGOIXVI-tyY1k0f0.mjs +0 -82
  26. package/dist/index-BCqoC3r3-BcdtrpBI.mjs +0 -46253
  27. package/dist/index-BKGG_3N--CJ3hL8zN.mjs +0 -1516
  28. package/dist/index-Bn8Vw_ua.mjs +0 -9095
  29. package/dist/index-BspHvxQr-uRg4kyPq-BVAozSDk.mjs +0 -44292
  30. package/dist/index-BtIY2iCq-L9CqrDwV.mjs +0 -10
  31. package/dist/index-Bte5tu_Z-D-6PVKiX.mjs +0 -44054
  32. package/dist/index-By-fLqD6-DyhYoWmA.mjs +0 -426
  33. package/dist/index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs +0 -4699
  34. package/dist/index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs +0 -4236
  35. package/dist/index-DRytXEq2-Jv_7nGuc.mjs +0 -422
  36. package/dist/index-V24QP_Fz-BzkjeGHi-CUvjUkVt.mjs +0 -4741
  37. package/dist/index-V24QP_Fz-IKRedGuT.mjs +0 -4741
  38. package/dist/index-eCinebyw-DzNkuViw.mjs +0 -7401
  39. package/dist/index-iRoYfjIt-Cj_hVoo3.mjs +0 -46
  40. package/dist/info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs +0 -564
  41. package/dist/info-C1ILoPOK-DzbUVoy0.mjs +0 -1258
  42. package/dist/info-C6ZgzFaa-Bez0AAwc.mjs +0 -170
  43. package/dist/info-Cj0C9r3t-mBibS56J-1nf1Pkz0.mjs +0 -237
  44. package/dist/info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs +0 -1257
  45. package/dist/info-DFu31zdX-CdOAZ1k9.mjs +0 -814
  46. package/dist/info-DOOuWsLL-Dl19ZBB1-CWqFh2bn.mjs +0 -1258
  47. package/dist/info-Ddj4fPdK-l67VuXu5.mjs +0 -564
  48. package/dist/info-DjbDXhlf-D7nLFio2-CiIp1epX.mjs +0 -818
  49. package/dist/info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs +0 -139
  50. package/dist/info-EEQdBSPc-B6uHnl48-CZnr2mHJ.mjs +0 -564
  51. package/dist/info-JTzVjKGk-BHMjIGeZ.mjs +0 -237
  52. package/dist/product-BJX8VysN-CzHJn-wh.mjs +0 -731
  53. package/dist/product-DasoXMNF-Ct3nzcE4-C-y9Gk4r.mjs +0 -731
@@ -1,8 +1,9 @@
1
- import { defineComponent as oe, getCurrentInstance as ne, ref as _, resolveComponent as p, resolveDirective as se, createElementBlock as B, openBlock as v, createElementVNode as T, createVNode as l, withCtx as t, withKeys as g, unref as o, createBlock as I, createCommentVNode as M, createTextVNode as r, toDisplayString as m, createSlots as re, withDirectives as de, isRef as U } from "vue";
2
- import { useUserStore as ue, clearEmpty as ie, request as me, useTableHooks as pe } from "jmash-core";
3
- import { useI18n as ye } from "vue-i18n";
4
- import { D as c, C as E } from "./index-Bn8Vw_ua.mjs";
5
- import { useRoute as ce, useRouter as fe } from "vue-router";
1
+ import { defineComponent as ne, getCurrentInstance as oe, ref as _, resolveComponent as p, resolveDirective as se, createElementBlock as U, openBlock as v, createElementVNode as T, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as I, createCommentVNode as M, createTextVNode as r, toDisplayString as m, createSlots as re, withDirectives as de, isRef as E } from "vue";
2
+ import { useUserStore as R, clearEmpty as ue, request as ie, useTableHooks as me } from "jmash-core";
3
+ import { useI18n as pe } from "vue-i18n";
4
+ import { D as c, C as P } from "./index-D_DrLyqR.mjs";
5
+ import { useRoute as ye, useRouter as ce } from "vue-router";
6
+ import { tokenExt as fe } from "xyvcard-agent";
6
7
  class be {
7
8
  getKey(b) {
8
9
  return {
@@ -12,23 +13,21 @@ class be {
12
13
  }
13
14
  // 查询翻页信息支付交易汇总统计;
14
15
  findPage(b) {
15
- const R = ue().user.tenant;
16
- return ie(b), me({
17
- url: "/v1/settle/analysis/merchant/my/page/" + R,
16
+ const S = R().user.tenant;
17
+ return ue(b), ie({
18
+ url: "/v1/settle/analysis/merchant/my/page/" + S,
18
19
  method: "get",
19
20
  params: b
20
21
  });
21
22
  }
22
23
  }
23
- const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, he = { class: "total-num" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = ["onClick"], De = /* @__PURE__ */ oe({
24
+ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, he = { class: "total-num" }, Ae = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = ["onClick"], Re = /* @__PURE__ */ ne({
24
25
  __name: "index",
25
- setup(P) {
26
- const { t: b } = ye();
26
+ setup(Q) {
27
+ const { t: b } = pe();
27
28
  c.agentBizDict.useValues(), c.instsBizDict.useValues(), c.merchantBizDict.useValues();
28
- const h = ce().query.tenant;
29
- console.log(h, "=> tenant");
30
- const { proxy: S } = ne(), Q = fe(), j = localStorage.getItem("tokenExt"), s = _({
31
- tokenExt: j ?? ""
29
+ const V = ye().query.tenant, { proxy: z } = oe(), j = ce(), s = _({
30
+ tokenExt: fe.getTokenExt(R().user.tenant)
32
31
  }), {
33
32
  tableHooks: i,
34
33
  multipleTableRef: K,
@@ -36,22 +35,24 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
36
35
  listLoading: q,
37
36
  tableData: F,
38
37
  total: w
39
- } = pe(b, Te, s);
38
+ } = me(b, Te, s);
40
39
  let $ = i.totalRecord;
41
- const A = _([]);
40
+ const h = _([]);
42
41
  function O(a) {
43
- A.value = a, A.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
42
+ h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
44
43
  a[0],
45
- E.RPC_FORMAT_TIME
46
- ), s.value.analysisTimeEnd = S.$moment.formatDate(
44
+ P.RPC_FORMAT_TIME
45
+ ), s.value.analysisTimeEnd = z.$moment.formatDate(
47
46
  a[1],
48
- E.RPC_FORMAT_TIME
47
+ P.RPC_FORMAT_TIME
49
48
  ));
50
49
  }
51
50
  const L = _(
52
- JSON.parse(localStorage.getItem("selectAgent") || "{}")
51
+ JSON.parse(
52
+ sessionStorage.getItem("SelectAgent:" + R().user.tenant) || "{}"
53
+ )
53
54
  );
54
- let C = _([
55
+ let A = _([
55
56
  // 序号
56
57
  {
57
58
  label: "settleTradeAnalysis.index",
@@ -166,15 +167,15 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
166
167
  }
167
168
  ]);
168
169
  function H(a) {
169
- Q.push({
170
+ j.push({
170
171
  path: "/payment/pay-trade",
171
172
  query: {
172
173
  merchantId: a.merchantId
173
174
  }
174
175
  });
175
176
  }
176
- function z() {
177
- A.value = [], i.resetQuery();
177
+ function B() {
178
+ h.value = [], i.resetQuery();
178
179
  }
179
180
  function W(a) {
180
181
  i.selectionRows.value = a;
@@ -183,8 +184,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
183
184
  i.handleSort(a.prop, a.order);
184
185
  }
185
186
  return i.getList(), (a, e) => {
186
- const N = p("el-input"), f = p("el-form-item"), d = p("el-col"), D = p("jmash-select"), V = p("el-row"), G = p("el-tree-select"), X = p("el-date-picker"), k = 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");
187
- return v(), B("div", ve, [
187
+ const N = p("el-input"), f = p("el-form-item"), d = p("el-col"), D = p("jmash-select"), C = p("el-row"), G = p("el-tree-select"), X = p("el-date-picker"), k = 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");
188
+ return v(), U("div", ve, [
188
189
  T("div", ge, [
189
190
  l(Z, {
190
191
  ref_key: "queryFormRef",
@@ -193,7 +194,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
193
194
  inline: !0
194
195
  }, {
195
196
  default: t(() => [
196
- l(V, null, {
197
+ l(C, null, {
197
198
  default: t(() => [
198
199
  l(d, { span: 6 }, {
199
200
  default: t(() => [
@@ -204,9 +205,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
204
205
  default: t(() => [
205
206
  l(N, {
206
207
  modelValue: s.value.merchantId,
207
- "onUpdate:modelValue": e[0] || (e[0] = (n) => s.value.merchantId = n),
208
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
208
209
  placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
209
- onKeyup: e[1] || (e[1] = g((n) => o(i).handleQuery(), ["enter"])),
210
+ onKeyup: e[1] || (e[1] = g((o) => n(i).handleQuery(), ["enter"])),
210
211
  class: "!w-[203px]"
211
212
  }, null, 8, ["modelValue", "placeholder"])
212
213
  ]),
@@ -224,10 +225,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
224
225
  default: t(() => [
225
226
  l(D, {
226
227
  modelValue: s.value.payMode,
227
- "onUpdate:modelValue": e[2] || (e[2] = (n) => s.value.payMode = n),
228
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
228
229
  placeholder: a.$t("settleTradeAnalysis.payModeRead"),
229
- data: o(c).payModeBizDict.values,
230
- onKeyup: e[3] || (e[3] = g((n) => o(i).handleQuery(), ["enter"])),
230
+ data: n(c).payModeBizDict.values,
231
+ onKeyup: e[3] || (e[3] = g((o) => n(i).handleQuery(), ["enter"])),
231
232
  class: "!w-[203px]",
232
233
  filterable: "",
233
234
  clearable: ""
@@ -247,9 +248,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
247
248
  default: t(() => [
248
249
  l(N, {
249
250
  modelValue: s.value.likeMerchantNo,
250
- "onUpdate:modelValue": e[4] || (e[4] = (n) => s.value.likeMerchantNo = n),
251
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
251
252
  placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
252
- onKeyup: e[5] || (e[5] = g((n) => o(i).handleQuery(), ["enter"])),
253
+ onKeyup: e[5] || (e[5] = g((o) => n(i).handleQuery(), ["enter"])),
253
254
  class: "!w-[203px]"
254
255
  }, null, 8, ["modelValue", "placeholder"])
255
256
  ]),
@@ -267,9 +268,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
267
268
  default: t(() => [
268
269
  l(N, {
269
270
  modelValue: s.value.termNo,
270
- "onUpdate:modelValue": e[6] || (e[6] = (n) => s.value.termNo = n),
271
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
271
272
  placeholder: a.$t("settleTradeAnalysis.termNoRead"),
272
- onKeyup: e[7] || (e[7] = g((n) => o(i).handleQuery(), ["enter"])),
273
+ onKeyup: e[7] || (e[7] = g((o) => n(i).handleQuery(), ["enter"])),
273
274
  class: "!w-[203px]"
274
275
  }, null, 8, ["modelValue", "placeholder"])
275
276
  ]),
@@ -281,11 +282,11 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
281
282
  ]),
282
283
  _: 1
283
284
  }),
284
- l(V, null, {
285
+ l(C, null, {
285
286
  default: t(() => {
286
- var n, u;
287
+ var o, u;
287
288
  return [
288
- (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
289
+ (o = n(V)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
289
290
  key: 0,
290
291
  span: 6
291
292
  }, {
@@ -298,7 +299,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
298
299
  l(G, {
299
300
  modelValue: s.value.agentCode,
300
301
  "onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
301
- data: o(c).agentBizDict.values,
302
+ data: n(c).agentBizDict.values,
302
303
  "node-key": "value",
303
304
  filterable: "",
304
305
  clearable: "",
@@ -322,8 +323,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
322
323
  modelValue: s.value.tradeType,
323
324
  "onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
324
325
  placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
325
- data: o(c).tradeTypeBizDict.values,
326
- onKeyup: e[10] || (e[10] = g((y) => o(i).handleQuery(), ["enter"])),
326
+ data: n(c).tradeTypeBizDict.values,
327
+ onKeyup: e[10] || (e[10] = g((y) => n(i).handleQuery(), ["enter"])),
327
328
  class: "!w-[203px]",
328
329
  filterable: "",
329
330
  clearable: ""
@@ -345,8 +346,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
345
346
  modelValue: s.value.channelId,
346
347
  "onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
347
348
  placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
348
- data: o(c).instsBizDict.values,
349
- onKeyup: e[12] || (e[12] = g((y) => o(i).handleQuery(), ["enter"])),
349
+ data: n(c).instsBizDict.values,
350
+ onKeyup: e[12] || (e[12] = g((y) => n(i).handleQuery(), ["enter"])),
350
351
  class: "!w-[203px]",
351
352
  filterable: "",
352
353
  clearable: ""
@@ -365,8 +366,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
365
366
  }, {
366
367
  default: t(() => [
367
368
  l(X, {
368
- modelValue: A.value,
369
- "onUpdate:modelValue": e[13] || (e[13] = (y) => A.value = y),
369
+ modelValue: h.value,
370
+ "onUpdate:modelValue": e[13] || (e[13] = (y) => h.value = y),
370
371
  type: "daterange",
371
372
  format: "YYYY-MM-DD",
372
373
  "value-format": "YYYY-MM-DD",
@@ -382,7 +383,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
382
383
  ]),
383
384
  _: 1
384
385
  }),
385
- (u = o(h)) != null && u.includes("@") ? (v(), I(d, {
386
+ (u = n(V)) != null && u.includes("@") ? (v(), I(d, {
386
387
  key: 1,
387
388
  span: 6
388
389
  }, {
@@ -391,7 +392,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
391
392
  default: t(() => [
392
393
  l(k, {
393
394
  type: "primary",
394
- onClick: e[14] || (e[14] = (y) => o(i).handleQuery())
395
+ onClick: e[14] || (e[14] = (y) => n(i).handleQuery())
395
396
  }, {
396
397
  default: t(() => [
397
398
  r(m(a.$t("common.search")), 1)
@@ -399,7 +400,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
399
400
  _: 1
400
401
  }),
401
402
  l(k, {
402
- onClick: e[15] || (e[15] = (y) => z())
403
+ onClick: e[15] || (e[15] = (y) => B())
403
404
  }, {
404
405
  default: t(() => [
405
406
  r(m(a.$t("common.reset")), 1)
@@ -416,11 +417,11 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
416
417
  }),
417
418
  _: 1
418
419
  }),
419
- l(V, null, {
420
+ l(C, null, {
420
421
  default: t(() => {
421
- var n;
422
+ var o;
422
423
  return [
423
- (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
424
+ (o = n(V)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
424
425
  key: 0,
425
426
  span: 24
426
427
  }, {
@@ -429,7 +430,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
429
430
  default: t(() => [
430
431
  l(k, {
431
432
  type: "primary",
432
- onClick: e[16] || (e[16] = (u) => o(i).handleQuery())
433
+ onClick: e[16] || (e[16] = (u) => n(i).handleQuery())
433
434
  }, {
434
435
  default: t(() => [
435
436
  r(m(a.$t("common.search")), 1)
@@ -437,7 +438,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
437
438
  _: 1
438
439
  }),
439
440
  l(k, {
440
- onClick: e[17] || (e[17] = (u) => z())
441
+ onClick: e[17] || (e[17] = (u) => B())
441
442
  }, {
442
443
  default: t(() => [
443
444
  r(m(a.$t("common.reset")), 1)
@@ -464,7 +465,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
464
465
  class: "table-container"
465
466
  }, {
466
467
  header: t(() => [
467
- l(V, null, {
468
+ l(C, null, {
468
469
  default: t(() => [
469
470
  l(d, {
470
471
  span: 24,
@@ -472,8 +473,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
472
473
  }, {
473
474
  default: t(() => [
474
475
  l(x, {
475
- modelValue: o(C),
476
- "onUpdate:modelValue": e[18] || (e[18] = (n) => U(C) ? C.value = n : C = n),
476
+ modelValue: n(A),
477
+ "onUpdate:modelValue": e[18] || (e[18] = (o) => E(A) ? A.value = o : A = o),
477
478
  "label-name": "settle/settle-trade-analysis"
478
479
  }, null, 8, ["modelValue"])
479
480
  ]),
@@ -484,27 +485,27 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
484
485
  })
485
486
  ]),
486
487
  footer: t(() => [
487
- o(w) > 0 ? (v(), I(te, {
488
+ n(w) > 0 ? (v(), I(te, {
488
489
  key: 0,
489
- total: o(w),
490
- "onUpdate:total": e[19] || (e[19] = (n) => U(w) ? w.value = n : null),
490
+ total: n(w),
491
+ "onUpdate:total": e[19] || (e[19] = (o) => E(w) ? w.value = o : null),
491
492
  "current-page": s.value.curPage,
492
- "onUpdate:currentPage": e[20] || (e[20] = (n) => s.value.curPage = n),
493
+ "onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
493
494
  "page-size": s.value.pageSize,
494
- "onUpdate:pageSize": e[21] || (e[21] = (n) => s.value.pageSize = n),
495
- onPagination: e[22] || (e[22] = (n) => o(i).getList())
495
+ "onUpdate:pageSize": e[21] || (e[21] = (o) => s.value.pageSize = o),
496
+ onPagination: e[22] || (e[22] = (o) => n(i).getList())
496
497
  }, null, 8, ["total", "current-page", "page-size"])) : M("", !0)
497
498
  ]),
498
499
  default: t(() => {
499
- var n;
500
+ var o;
500
501
  return [
501
502
  T("div", he, [
502
- l(V, { gutter: 20 }, {
503
+ l(C, { gutter: 20 }, {
503
504
  default: t(() => [
504
505
  l(d, { span: 6 }, {
505
506
  default: t(() => [
506
507
  e[24] || (e[24] = r(" 总交易笔数: ")),
507
- T("span", Ae, m(o($).totalOrderCount), 1),
508
+ T("span", Ae, m(n($).totalOrderCount), 1),
508
509
  e[25] || (e[25] = r(" 笔 "))
509
510
  ]),
510
511
  _: 1
@@ -512,7 +513,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
512
513
  l(d, { span: 6 }, {
513
514
  default: t(() => [
514
515
  e[26] || (e[26] = r(" 总交易金额: ")),
515
- T("span", Ce, m(o($).totalOrderAmount), 1),
516
+ T("span", Ce, m(n($).totalOrderAmount), 1),
516
517
  e[27] || (e[27] = r(" 元 "))
517
518
  ]),
518
519
  _: 1
@@ -520,7 +521,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
520
521
  l(d, { span: 6 }, {
521
522
  default: t(() => [
522
523
  e[28] || (e[28] = r(" 手续费: ")),
523
- T("span", Ve, m(o($).totalFeeAmt), 1),
524
+ T("span", Ve, m(n($).totalFeeAmt), 1),
524
525
  e[29] || (e[29] = r(" 元 "))
525
526
  ]),
526
527
  _: 1
@@ -528,7 +529,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
528
529
  l(d, { span: 6 }, {
529
530
  default: t(() => [
530
531
  e[30] || (e[30] = r(" 结算金额: ")),
531
- T("span", we, m(o($).totalSettleAmount), 1),
532
+ T("span", we, m(n($).totalSettleAmount), 1),
532
533
  e[31] || (e[31] = r(" 元 "))
533
534
  ]),
534
535
  _: 1
@@ -542,23 +543,23 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
542
543
  ref: K,
543
544
  isSelection: !1,
544
545
  "row-key": "settleTradeAnalysisPk",
545
- "list-loading": o(q),
546
- data: o(F),
547
- "table-label": o(C),
546
+ "list-loading": n(q),
547
+ data: n(F),
548
+ "table-label": n(A),
548
549
  onSelectionChange: W,
549
550
  onSortChange: J
550
551
  }, re({
551
552
  merchantId: t((u) => [
552
- r(m(o(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
553
+ r(m(n(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
553
554
  ]),
554
555
  instsId: t((u) => [
555
- r(m(o(c).instsBizDict.getValue(u.data.row.instsId)), 1)
556
+ r(m(n(c).instsBizDict.getValue(u.data.row.instsId)), 1)
556
557
  ]),
557
558
  payMode: t((u) => [
558
- r(m(o(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
559
+ r(m(n(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
559
560
  ]),
560
561
  operation: t((u) => [
561
- de((v(), B("span", {
562
+ de((v(), U("span", {
562
563
  class: "el-button-color",
563
564
  onClick: (y) => H(u.data.row)
564
565
  }, [
@@ -569,7 +570,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
569
570
  ]),
570
571
  _: 2
571
572
  }, [
572
- (n = o(h)) != null && n.includes("@") ? {
573
+ (o = n(V)) != null && o.includes("@") ? {
573
574
  name: "agentCode",
574
575
  fn: t((u) => [
575
576
  r(m(L.value.agentAlias), 1)
@@ -578,7 +579,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
578
579
  } : {
579
580
  name: "agentCode",
580
581
  fn: t((u) => [
581
- r(m(o(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
582
+ r(m(n(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
582
583
  ]),
583
584
  key: "0"
584
585
  }
@@ -592,5 +593,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
592
593
  }
593
594
  });
594
595
  export {
595
- De as default
596
+ Re as default
596
597
  };
@@ -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-BMWf3S8J.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
package/dist/index.mjs CHANGED
@@ -13,16 +13,17 @@ const Ds = {
13
13
  merchantNo: "商户号",
14
14
  tradeType: "交易类型",
15
15
  tradeTypeRead: "请选择交易类型",
16
- agentCode: "代理商编号",
16
+ agentCode: "代理商",
17
17
  likeMerchantNoRead: "请输入商户号",
18
18
  createTime: "支付时间",
19
19
  startCreateTime: "开始时间",
20
20
  endCreateTime: "结束时间",
21
- totalAmount: "交易金额",
21
+ totalAmount: "订单金额",
22
+ discountAmount: "优惠金额",
22
23
  payMode: "支付方式",
23
24
  payModeRead: "请选择支付方式",
24
- commission: "商户手续费",
25
- feeRatePct: "商户率",
25
+ commission: "手续费",
26
+ feeRatePct: "费率",
26
27
  channelId: "支付渠道",
27
28
  instsId: "落地机构",
28
29
  instsIdRead: "请选择落地机构",
@@ -2679,7 +2680,7 @@ const Ti = {
2679
2680
  }
2680
2681
  };
2681
2682
  }
2682
- }, xi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade-personal/index.vue": () => import("./index-4mAQF6sI.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-DRyh7Csl.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-Q5OOFu9F.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Dkcgyu5g.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-yBUEGCAI.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-BqGlNUWq.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-7sGznIYQ.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-DCYHokzf.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-Bf1plXQZ.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-B5IIg45W.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CM47Nc1C.mjs") }), Ni = {
2683
+ }, xi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade-personal/index.vue": () => import("./index-B_A1F3k3.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-AM0oEBSy.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-DBd3Gkwy.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Dk7c4clB.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-BPvCTpAw.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DtjmHKa9.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-mgS8Yk77.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-DO4goI_2.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-BgXCgEWe.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-A83m_bq9.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-D7Qw-W1d.mjs") }), Ni = {
2683
2684
  install(e) {
2684
2685
  ps(xi, 7), Ys(vs), e.use(Ti);
2685
2686
  }
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,9 @@
1
- import { defineComponent as F, getCurrentInstance as G, ref as f, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as k, unref as r, Fragment as J, renderList as O, createBlock as V, createTextVNode as b, toDisplayString as y, createCommentVNode as W, isRef as S } from "vue";
2
- import { useUserStore as X, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
3
- import { useI18n as le } from "vue-i18n";
4
- import { D as m, I as ae } from "./index-Bn8Vw_ua.mjs";
1
+ import { defineComponent as F, getCurrentInstance as G, ref as f, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as k, unref as r, Fragment as J, renderList as O, createBlock as V, createTextVNode as b, toDisplayString as y, createCommentVNode as W, isRef as M } from "vue";
2
+ import { useUserStore as S, clearEmpty as X, request as Z, useTableHooks as ee } from "jmash-core";
3
+ import { useI18n as te } from "vue-i18n";
4
+ import { D as m } from "./index-D_DrLyqR.mjs";
5
+ import { channelApi as le } from "xyvcard-merchant";
6
+ import { tokenExt as ae } from "xyvcard-agent";
5
7
  class ne {
6
8
  getKey(d) {
7
9
  return {
@@ -10,36 +12,36 @@ class ne {
10
12
  }
11
13
  // 查询翻页信息划款信息查询-今日到账
12
14
  findPage(d) {
13
- const _ = X().user.tenant;
14
- return Z(d), ee({
15
+ const _ = S().user.tenant;
16
+ return X(d), Z({
15
17
  url: "/v1/settle/receipt/today/" + _,
16
18
  method: "get",
17
19
  params: d
18
20
  });
19
21
  }
20
22
  }
21
- const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
23
+ const oe = new ne(), re = { class: "app-container" }, ce = /* @__PURE__ */ F({
22
24
  __name: "today",
23
- setup(M) {
24
- const { t: d } = le();
25
+ setup(D) {
26
+ const { t: d } = te();
25
27
  m.instsBizDict.useValues(), m.merchantBizDict.useValues();
26
- const { proxy: _ } = G(), D = localStorage.getItem("tokenExt"), I = f([]), v = f(""), o = f({
27
- tokenExt: D ?? "",
28
- channelId: v.value
28
+ const { proxy: _ } = G(), v = f([]), I = f(""), o = f({
29
+ tokenExt: ae.getTokenExt(S().user.tenant),
30
+ channelId: I.value
29
31
  });
30
32
  function $() {
31
- o.value.channelId = "", ae.findList({ merchantId: o.value.merchantId }).then((n) => {
32
- console.log(n, "=> res1231"), I.value = n.data.results, v.value = n.data.results.map((t) => t.channelId);
33
+ o.value.channelId = "", le.findList({ merchantId: o.value.merchantId }).then((n) => {
34
+ console.log(n, "=> res1231"), v.value = n.data.results, I.value = n.data.results.map((t) => t.channelId);
33
35
  });
34
36
  }
35
37
  const {
36
38
  tableHooks: u,
37
39
  multipleTableRef: z,
38
- queryFormRef: N,
39
- listLoading: j,
40
+ queryFormRef: A,
41
+ listLoading: N,
40
42
  tableData: T,
41
43
  total: p
42
- } = te(d, oe, o);
44
+ } = ee(d, oe, o);
43
45
  let i = f([
44
46
  // 序号
45
47
  {
@@ -124,7 +126,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
124
126
  isColumn: !0
125
127
  }
126
128
  ]);
127
- function A() {
129
+ function j() {
128
130
  o.value.merchantId = "", o.value.channelId = "", T.value = [];
129
131
  }
130
132
  function B(n) {
@@ -141,7 +143,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
141
143
  return h(), w("div", re, [
142
144
  a(Q, {
143
145
  ref_key: "queryFormRef",
144
- ref: N,
146
+ ref: A,
145
147
  model: o.value,
146
148
  inline: !0
147
149
  }, {
@@ -189,7 +191,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
189
191
  clearable: ""
190
192
  }, {
191
193
  default: l(() => [
192
- (h(!0), w(J, null, O(I.value, (e) => (h(), V(P, {
194
+ (h(!0), w(J, null, O(v.value, (e) => (h(), V(P, {
193
195
  key: e.channelId,
194
196
  label: r(m).instsBizDict.getValue(e.instsId) || e.instsId,
195
197
  value: e.channelId
@@ -217,7 +219,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
217
219
  _: 1
218
220
  }),
219
221
  a(C, {
220
- onClick: t[5] || (t[5] = (e) => A())
222
+ onClick: t[5] || (t[5] = (e) => j())
221
223
  }, {
222
224
  default: l(() => [
223
225
  b(y(n.$t("common.reset")), 1)
@@ -250,7 +252,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
250
252
  default: l(() => [
251
253
  a(H, {
252
254
  modelValue: r(i),
253
- "onUpdate:modelValue": t[6] || (t[6] = (e) => S(i) ? i.value = e : i = e),
255
+ "onUpdate:modelValue": t[6] || (t[6] = (e) => M(i) ? i.value = e : i = e),
254
256
  "label-name": "settle/settle-trade-receipt"
255
257
  }, null, 8, ["modelValue"])
256
258
  ]),
@@ -264,7 +266,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
264
266
  r(p) > 0 ? (h(), V(Y, {
265
267
  key: 0,
266
268
  total: r(p),
267
- "onUpdate:total": t[7] || (t[7] = (e) => S(p) ? p.value = e : null),
269
+ "onUpdate:total": t[7] || (t[7] = (e) => M(p) ? p.value = e : null),
268
270
  "current-page": o.value.curPage,
269
271
  "onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
270
272
  "page-size": o.value.pageSize,
@@ -278,7 +280,7 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
278
280
  ref: z,
279
281
  "row-key": "receiptId",
280
282
  isSelection: !1,
281
- "list-loading": r(j),
283
+ "list-loading": r(N),
282
284
  data: r(T),
283
285
  "table-label": r(i),
284
286
  onSelectionChange: B,
@@ -303,5 +305,5 @@ const oe = new ne(), re = { class: "app-container" }, me = /* @__PURE__ */ F({
303
305
  }
304
306
  });
305
307
  export {
306
- me as _
308
+ ce as _
307
309
  };