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 m, 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 p, createSlots as re, withDirectives as de, isRef as U } from "vue";
2
- import { useUserStore as ue, clearEmpty as ie, request as pe, useTableHooks as me } 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 m, 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 p, createSlots as re, withDirectives as de, isRef as E } from "vue";
2
+ import { useUserStore as R, clearEmpty as ue, request as ie, useTableHooks as pe } from "jmash-core";
3
+ import { useI18n as me } 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,23 @@ class be {
12
13
  }
13
14
  // 查询翻页信息支付交易汇总统计;
14
15
  findPage(b) {
15
- const R = ue().user.tenant;
16
- return ie(b), pe({
17
- url: "/v1/settle/analysis/merchant/page/" + R,
16
+ const S = R().user.tenant;
17
+ return ue(b), ie({
18
+ url: "/v1/settle/analysis/merchant/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 } = me();
27
28
  c.agentBizDict.useValues(), c.instsBizDict.useValues(), c.merchantBizDict.useValues();
28
- const h = ce().query.tenant;
29
+ const h = ye().query.tenant;
29
30
  console.log(h, "=> tenant");
30
- const { proxy: S } = ne(), Q = fe(), j = localStorage.getItem("tokenExt"), s = _({
31
- tokenExt: j ?? ""
31
+ const { proxy: z } = oe(), j = ce(), s = _({
32
+ tokenExt: fe.getTokenExt(R().user.tenant)
32
33
  }), {
33
34
  tableHooks: i,
34
35
  multipleTableRef: K,
@@ -36,20 +37,22 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
36
37
  listLoading: q,
37
38
  tableData: F,
38
39
  total: w
39
- } = me(b, Te, s);
40
+ } = pe(b, Te, s);
40
41
  let $ = i.totalRecord;
41
42
  const A = _([]);
42
43
  function O(a) {
43
- A.value = a, A.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
44
+ A.value = a, A.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
44
45
  a[0],
45
- E.RPC_FORMAT_TIME
46
- ), s.value.analysisTimeEnd = S.$moment.formatDate(
46
+ P.RPC_FORMAT_TIME
47
+ ), s.value.analysisTimeEnd = z.$moment.formatDate(
47
48
  a[1],
48
- E.RPC_FORMAT_TIME
49
+ P.RPC_FORMAT_TIME
49
50
  ));
50
51
  }
51
52
  const L = _(
52
- JSON.parse(localStorage.getItem("selectAgent") || "{}")
53
+ JSON.parse(
54
+ sessionStorage.getItem("SelectAgent:" + R().user.tenant) || "{}"
55
+ )
53
56
  );
54
57
  let C = _([
55
58
  // 序号
@@ -67,7 +70,6 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
67
70
  slotName: "merchantId",
68
71
  columnType: "slot",
69
72
  minWidth: "350",
70
- sortable: "custom",
71
73
  isColumn: !0
72
74
  },
73
75
  // 商户号
@@ -166,14 +168,14 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
166
168
  }
167
169
  ]);
168
170
  function H(a) {
169
- Q.push({
171
+ j.push({
170
172
  path: "/payment/pay-trade",
171
173
  query: {
172
174
  merchantId: a.merchantId
173
175
  }
174
176
  });
175
177
  }
176
- function z() {
178
+ function B() {
177
179
  A.value = [], i.resetQuery();
178
180
  }
179
181
  function W(a) {
@@ -184,7 +186,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
184
186
  }
185
187
  return i.getList(), (a, e) => {
186
188
  const N = m("el-input"), f = m("el-form-item"), d = m("el-col"), D = m("jmash-select"), V = m("el-row"), G = m("el-tree-select"), X = m("el-date-picker"), k = m("el-button"), Z = m("el-form"), x = m("jmash-column-select"), ee = m("jmash-table"), te = m("jmash-pagination"), le = m("el-card"), ae = se("hasPerm");
187
- return v(), B("div", ve, [
189
+ return v(), U("div", ve, [
188
190
  T("div", ge, [
189
191
  l(Z, {
190
192
  ref_key: "queryFormRef",
@@ -204,9 +206,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
204
206
  default: t(() => [
205
207
  l(N, {
206
208
  modelValue: s.value.merchantId,
207
- "onUpdate:modelValue": e[0] || (e[0] = (n) => s.value.merchantId = n),
209
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
208
210
  placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
209
- onKeyup: e[1] || (e[1] = g((n) => o(i).handleQuery(), ["enter"])),
211
+ onKeyup: e[1] || (e[1] = g((o) => n(i).handleQuery(), ["enter"])),
210
212
  class: "!w-[203px]"
211
213
  }, null, 8, ["modelValue", "placeholder"])
212
214
  ]),
@@ -224,10 +226,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
224
226
  default: t(() => [
225
227
  l(D, {
226
228
  modelValue: s.value.payMode,
227
- "onUpdate:modelValue": e[2] || (e[2] = (n) => s.value.payMode = n),
229
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
228
230
  placeholder: a.$t("settleTradeAnalysis.payModeRead"),
229
- data: o(c).payModeBizDict.values,
230
- onKeyup: e[3] || (e[3] = g((n) => o(i).handleQuery(), ["enter"])),
231
+ data: n(c).payModeBizDict.values,
232
+ onKeyup: e[3] || (e[3] = g((o) => n(i).handleQuery(), ["enter"])),
231
233
  class: "!w-[203px]",
232
234
  filterable: "",
233
235
  clearable: ""
@@ -247,9 +249,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
247
249
  default: t(() => [
248
250
  l(N, {
249
251
  modelValue: s.value.likeMerchantNo,
250
- "onUpdate:modelValue": e[4] || (e[4] = (n) => s.value.likeMerchantNo = n),
252
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
251
253
  placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
252
- onKeyup: e[5] || (e[5] = g((n) => o(i).handleQuery(), ["enter"])),
254
+ onKeyup: e[5] || (e[5] = g((o) => n(i).handleQuery(), ["enter"])),
253
255
  class: "!w-[203px]"
254
256
  }, null, 8, ["modelValue", "placeholder"])
255
257
  ]),
@@ -267,9 +269,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
267
269
  default: t(() => [
268
270
  l(N, {
269
271
  modelValue: s.value.termNo,
270
- "onUpdate:modelValue": e[6] || (e[6] = (n) => s.value.termNo = n),
272
+ "onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
271
273
  placeholder: a.$t("settleTradeAnalysis.termNoRead"),
272
- onKeyup: e[7] || (e[7] = g((n) => o(i).handleQuery(), ["enter"])),
274
+ onKeyup: e[7] || (e[7] = g((o) => n(i).handleQuery(), ["enter"])),
273
275
  class: "!w-[203px]"
274
276
  }, null, 8, ["modelValue", "placeholder"])
275
277
  ]),
@@ -283,9 +285,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
283
285
  }),
284
286
  l(V, null, {
285
287
  default: t(() => {
286
- var n, u;
288
+ var o, u;
287
289
  return [
288
- (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
290
+ (o = n(h)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
289
291
  key: 0,
290
292
  span: 6
291
293
  }, {
@@ -298,7 +300,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
298
300
  l(G, {
299
301
  modelValue: s.value.agentCode,
300
302
  "onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
301
- data: o(c).agentBizDict.values,
303
+ data: n(c).agentBizDict.values,
302
304
  "node-key": "value",
303
305
  filterable: "",
304
306
  clearable: "",
@@ -322,8 +324,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
322
324
  modelValue: s.value.tradeType,
323
325
  "onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
324
326
  placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
325
- data: o(c).tradeTypeBizDict.values,
326
- onKeyup: e[10] || (e[10] = g((y) => o(i).handleQuery(), ["enter"])),
327
+ data: n(c).tradeTypeBizDict.values,
328
+ onKeyup: e[10] || (e[10] = g((y) => n(i).handleQuery(), ["enter"])),
327
329
  class: "!w-[203px]",
328
330
  filterable: "",
329
331
  clearable: ""
@@ -345,8 +347,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
345
347
  modelValue: s.value.channelId,
346
348
  "onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
347
349
  placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
348
- data: o(c).instsBizDict.values,
349
- onKeyup: e[12] || (e[12] = g((y) => o(i).handleQuery(), ["enter"])),
350
+ data: n(c).instsBizDict.values,
351
+ onKeyup: e[12] || (e[12] = g((y) => n(i).handleQuery(), ["enter"])),
350
352
  class: "!w-[203px]",
351
353
  filterable: "",
352
354
  clearable: ""
@@ -382,7 +384,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
382
384
  ]),
383
385
  _: 1
384
386
  }),
385
- (u = o(h)) != null && u.includes("@") ? (v(), I(d, {
387
+ (u = n(h)) != null && u.includes("@") ? (v(), I(d, {
386
388
  key: 1,
387
389
  span: 6
388
390
  }, {
@@ -391,7 +393,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
391
393
  default: t(() => [
392
394
  l(k, {
393
395
  type: "primary",
394
- onClick: e[14] || (e[14] = (y) => o(i).handleQuery())
396
+ onClick: e[14] || (e[14] = (y) => n(i).handleQuery())
395
397
  }, {
396
398
  default: t(() => [
397
399
  r(p(a.$t("common.search")), 1)
@@ -399,7 +401,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
399
401
  _: 1
400
402
  }),
401
403
  l(k, {
402
- onClick: e[15] || (e[15] = (y) => z())
404
+ onClick: e[15] || (e[15] = (y) => B())
403
405
  }, {
404
406
  default: t(() => [
405
407
  r(p(a.$t("common.reset")), 1)
@@ -418,9 +420,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
418
420
  }),
419
421
  l(V, null, {
420
422
  default: t(() => {
421
- var n;
423
+ var o;
422
424
  return [
423
- (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
425
+ (o = n(h)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
424
426
  key: 0,
425
427
  span: 24
426
428
  }, {
@@ -429,7 +431,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
429
431
  default: t(() => [
430
432
  l(k, {
431
433
  type: "primary",
432
- onClick: e[16] || (e[16] = (u) => o(i).handleQuery())
434
+ onClick: e[16] || (e[16] = (u) => n(i).handleQuery())
433
435
  }, {
434
436
  default: t(() => [
435
437
  r(p(a.$t("common.search")), 1)
@@ -437,7 +439,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
437
439
  _: 1
438
440
  }),
439
441
  l(k, {
440
- onClick: e[17] || (e[17] = (u) => z())
442
+ onClick: e[17] || (e[17] = (u) => B())
441
443
  }, {
442
444
  default: t(() => [
443
445
  r(p(a.$t("common.reset")), 1)
@@ -472,8 +474,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
472
474
  }, {
473
475
  default: t(() => [
474
476
  l(x, {
475
- modelValue: o(C),
476
- "onUpdate:modelValue": e[18] || (e[18] = (n) => U(C) ? C.value = n : C = n),
477
+ modelValue: n(C),
478
+ "onUpdate:modelValue": e[18] || (e[18] = (o) => E(C) ? C.value = o : C = o),
477
479
  "label-name": "settle/settle-trade-analysis"
478
480
  }, null, 8, ["modelValue"])
479
481
  ]),
@@ -484,19 +486,19 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
484
486
  })
485
487
  ]),
486
488
  footer: t(() => [
487
- o(w) > 0 ? (v(), I(te, {
489
+ n(w) > 0 ? (v(), I(te, {
488
490
  key: 0,
489
- total: o(w),
490
- "onUpdate:total": e[19] || (e[19] = (n) => U(w) ? w.value = n : null),
491
+ total: n(w),
492
+ "onUpdate:total": e[19] || (e[19] = (o) => E(w) ? w.value = o : null),
491
493
  "current-page": s.value.curPage,
492
- "onUpdate:currentPage": e[20] || (e[20] = (n) => s.value.curPage = n),
494
+ "onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
493
495
  "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())
496
+ "onUpdate:pageSize": e[21] || (e[21] = (o) => s.value.pageSize = o),
497
+ onPagination: e[22] || (e[22] = (o) => n(i).getList())
496
498
  }, null, 8, ["total", "current-page", "page-size"])) : M("", !0)
497
499
  ]),
498
500
  default: t(() => {
499
- var n;
501
+ var o;
500
502
  return [
501
503
  T("div", he, [
502
504
  l(V, { gutter: 20 }, {
@@ -504,7 +506,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
504
506
  l(d, { span: 6 }, {
505
507
  default: t(() => [
506
508
  e[24] || (e[24] = r(" 总交易笔数: ")),
507
- T("span", Ae, p(o($).totalOrderCount), 1),
509
+ T("span", Ae, p(n($).totalOrderCount), 1),
508
510
  e[25] || (e[25] = r(" 笔 "))
509
511
  ]),
510
512
  _: 1
@@ -512,7 +514,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
512
514
  l(d, { span: 6 }, {
513
515
  default: t(() => [
514
516
  e[26] || (e[26] = r(" 总交易金额: ")),
515
- T("span", Ce, p(o($).totalOrderAmount), 1),
517
+ T("span", Ce, p(n($).totalOrderAmount), 1),
516
518
  e[27] || (e[27] = r(" 元 "))
517
519
  ]),
518
520
  _: 1
@@ -520,7 +522,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
520
522
  l(d, { span: 6 }, {
521
523
  default: t(() => [
522
524
  e[28] || (e[28] = r(" 手续费: ")),
523
- T("span", Ve, p(o($).totalFeeAmt), 1),
525
+ T("span", Ve, p(n($).totalFeeAmt), 1),
524
526
  e[29] || (e[29] = r(" 元 "))
525
527
  ]),
526
528
  _: 1
@@ -528,7 +530,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
528
530
  l(d, { span: 6 }, {
529
531
  default: t(() => [
530
532
  e[30] || (e[30] = r(" 结算金额: ")),
531
- T("span", we, p(o($).totalSettleAmount), 1),
533
+ T("span", we, p(n($).totalSettleAmount), 1),
532
534
  e[31] || (e[31] = r(" 元 "))
533
535
  ]),
534
536
  _: 1
@@ -542,23 +544,23 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
542
544
  ref: K,
543
545
  isSelection: !1,
544
546
  "row-key": "settleTradeAnalysisPk",
545
- "list-loading": o(q),
546
- data: o(F),
547
- "table-label": o(C),
547
+ "list-loading": n(q),
548
+ data: n(F),
549
+ "table-label": n(C),
548
550
  onSelectionChange: W,
549
551
  onSortChange: J
550
552
  }, re({
551
553
  merchantId: t((u) => [
552
- r(p(o(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
554
+ r(p(n(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
553
555
  ]),
554
556
  instsId: t((u) => [
555
- r(p(o(c).instsBizDict.getValue(u.data.row.instsId)), 1)
557
+ r(p(n(c).instsBizDict.getValue(u.data.row.instsId)), 1)
556
558
  ]),
557
559
  payMode: t((u) => [
558
- r(p(o(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
560
+ r(p(n(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
559
561
  ]),
560
562
  operation: t((u) => [
561
- de((v(), B("span", {
563
+ de((v(), U("span", {
562
564
  class: "el-button-color",
563
565
  onClick: (y) => H(u.data.row)
564
566
  }, [
@@ -569,7 +571,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
569
571
  ]),
570
572
  _: 2
571
573
  }, [
572
- (n = o(h)) != null && n.includes("@") ? {
574
+ (o = n(h)) != null && o.includes("@") ? {
573
575
  name: "agentCode",
574
576
  fn: t((u) => [
575
577
  r(p(L.value.agentAlias), 1)
@@ -578,7 +580,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
578
580
  } : {
579
581
  name: "agentCode",
580
582
  fn: t((u) => [
581
- r(p(o(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
583
+ r(p(n(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
582
584
  ]),
583
585
  key: "0"
584
586
  }
@@ -592,5 +594,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
592
594
  }
593
595
  });
594
596
  export {
595
- De as default
597
+ Re as default
596
598
  };
@@ -1,8 +1,9 @@
1
- import { defineComponent as x, getCurrentInstance as G, ref as N, resolveComponent as i, createElementBlock as J, openBlock as D, createElementVNode as f, createVNode as a, withCtx as l, withKeys as c, unref as o, createTextVNode as d, toDisplayString as p, createBlock as W, createCommentVNode as X, isRef as M } from "vue";
2
- import { useUserStore as Z, clearEmpty as q, request as ee, useTableHooks as te } from "jmash-core";
3
- import { D as y, C as R } from "./index-Bn8Vw_ua.mjs";
4
- import { useI18n as ae } from "vue-i18n";
5
- import { useRoute as le } from "vue-router";
1
+ import { defineComponent as x, getCurrentInstance as G, ref as N, resolveComponent as i, createElementBlock as J, openBlock as I, createElementVNode as f, createVNode as a, withCtx as l, withKeys as v, unref as o, createTextVNode as d, toDisplayString as p, createBlock as W, createCommentVNode as X, isRef as M } from "vue";
2
+ import { useUserStore as h, clearEmpty as Z, request as q, useTableHooks as ee } from "jmash-core";
3
+ import { D as y, C as R } from "./index-D_DrLyqR.mjs";
4
+ import { useI18n as te } from "vue-i18n";
5
+ import { useRoute as ae } from "vue-router";
6
+ import { tokenExt as le } from "xyvcard-agent";
6
7
  class oe {
7
8
  getKey(s) {
8
9
  return {
@@ -11,22 +12,22 @@ class oe {
11
12
  }
12
13
  // 查询翻页信息支付订单
13
14
  findPage(s) {
14
- const v = Z().user.tenant;
15
- return s && (s.hasOrderStatus = s.orderStatus !== void 0, s.hasBillsStatus = s.billsStatus !== void 0, s.hasTradeType = s.tradeType !== void 0, s.hasPayMode = s.payMode !== void 0, s.hasTradeStatus = s.tradeStatus !== void 0), q(s), ee({
16
- url: "/v1/payment/trade/my/page/" + v,
15
+ const c = h().user.tenant;
16
+ return s && (s.hasOrderStatus = s.orderStatus !== void 0, s.hasBillsStatus = s.billsStatus !== void 0, s.hasTradeType = s.tradeType !== void 0, s.hasPayMode = s.payMode !== void 0, s.hasTradeStatus = s.tradeStatus !== void 0), Z(s), q({
17
+ url: "/v1/payment/trade/my/page/" + c,
17
18
  method: "get",
18
19
  params: s
19
20
  });
20
21
  }
21
22
  }
22
- const re = new oe(), ne = { class: "app-container" }, de = { class: "search-container" }, se = { class: "total-num" }, ue = { class: "blue_color" }, pe = { class: "blue_color" }, me = { class: "blue_color" }, ie = { class: "blue_color" }, ye = { class: "blue_color" }, fe = { class: "blue_color" }, we = /* @__PURE__ */ x({
23
+ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-container" }, se = { class: "total-num" }, ue = { class: "blue_color" }, pe = { class: "blue_color" }, me = { class: "blue_color" }, ie = { class: "blue_color" }, ye = { class: "blue_color" }, fe = { class: "blue_color" }, Ve = /* @__PURE__ */ x({
23
24
  __name: "index",
24
- setup(h) {
25
+ setup(z) {
25
26
  y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
26
- const { t: s } = ae(), { proxy: v } = G(), $ = le(), z = localStorage.getItem("tokenExt"), n = N({
27
+ const { t: s } = te(), { proxy: c } = G(), $ = ae(), n = N({
27
28
  agentCode: $.query.agentCode,
28
29
  merchantId: $.query.merchantId,
29
- tokenExt: z ?? ""
30
+ tokenExt: le.getTokenExt(h().user.tenant)
30
31
  }), {
31
32
  tableHooks: m,
32
33
  multipleTableRef: k,
@@ -34,14 +35,14 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
34
35
  listLoading: B,
35
36
  tableData: E,
36
37
  total: V
37
- } = te(s, re, n);
38
+ } = ee(s, re, n);
38
39
  let T = m.totalRecord;
39
40
  const g = N([]);
40
41
  function U(r) {
41
- g.value = r, g.value.length === 2 && (n.value.startCreateTime = v.$moment.formatDate(
42
+ g.value = r, g.value.length === 2 && (n.value.startCreateTime = c.$moment.formatDate(
42
43
  r[0],
43
44
  R.RPC_FORMAT_TIME
44
- ), n.value.endCreateTime = v.$moment.formatDate(
45
+ ), n.value.endCreateTime = c.$moment.formatDate(
45
46
  r[1],
46
47
  R.RPC_FORMAT_TIME
47
48
  ));
@@ -183,8 +184,8 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
183
184
  m.handleSort(r.prop, r.order);
184
185
  }
185
186
  return m.getList(), (r, e) => {
186
- const I = i("el-input"), b = i("el-form-item"), u = i("el-col"), C = i("jmash-select"), S = i("el-row"), j = i("el-date-picker"), _ = i("el-button"), K = i("el-form"), O = i("jmash-column-select"), F = i("jmash-table"), H = i("jmash-pagination"), L = i("el-card");
187
- return D(), J("div", ne, [
187
+ const _ = i("el-input"), b = i("el-form-item"), u = i("el-col"), C = i("jmash-select"), S = i("el-row"), j = i("el-date-picker"), D = i("el-button"), K = i("el-form"), O = i("jmash-column-select"), F = i("jmash-table"), H = i("jmash-pagination"), L = i("el-card");
188
+ return I(), J("div", ne, [
188
189
  f("div", de, [
189
190
  a(K, {
190
191
  ref_key: "queryFormRef",
@@ -202,11 +203,11 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
202
203
  prop: "orderNo"
203
204
  }, {
204
205
  default: l(() => [
205
- a(I, {
206
+ a(_, {
206
207
  modelValue: n.value.orderNo,
207
208
  "onUpdate:modelValue": e[0] || (e[0] = (t) => n.value.orderNo = t),
208
209
  placeholder: r.$t("payTrade.orderNo"),
209
- onKeyup: e[1] || (e[1] = c((t) => o(m).handleQuery(), ["enter"])),
210
+ onKeyup: e[1] || (e[1] = v((t) => o(m).handleQuery(), ["enter"])),
210
211
  class: "!w-[203px]"
211
212
  }, null, 8, ["modelValue", "placeholder"])
212
213
  ]),
@@ -227,7 +228,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
227
228
  "onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.payMode = t),
228
229
  placeholder: r.$t("payTrade.payModeRead"),
229
230
  data: o(y).payModeBizDict.values,
230
- onKeyup: e[3] || (e[3] = c((t) => o(m).handleQuery(), ["enter"])),
231
+ onKeyup: e[3] || (e[3] = v((t) => o(m).handleQuery(), ["enter"])),
231
232
  class: "!w-[203px]",
232
233
  filterable: "",
233
234
  clearable: ""
@@ -250,7 +251,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
250
251
  "onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.tradeType = t),
251
252
  placeholder: r.$t("payTrade.tradeTypeRead"),
252
253
  data: o(y).tradeTypeBizDict.values,
253
- onKeyup: e[5] || (e[5] = c((t) => o(m).handleQuery(), ["enter"])),
254
+ onKeyup: e[5] || (e[5] = v((t) => o(m).handleQuery(), ["enter"])),
254
255
  class: "!w-[203px]",
255
256
  filterable: "",
256
257
  clearable: ""
@@ -273,7 +274,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
273
274
  "onUpdate:modelValue": e[6] || (e[6] = (t) => n.value.instsId = t),
274
275
  placeholder: r.$t("payTrade.instsIdRead"),
275
276
  data: o(y).instsBizDict.values,
276
- onKeyup: e[7] || (e[7] = c((t) => o(m).handleQuery(), ["enter"])),
277
+ onKeyup: e[7] || (e[7] = v((t) => o(m).handleQuery(), ["enter"])),
277
278
  class: "!w-[203px]",
278
279
  filterable: "",
279
280
  clearable: ""
@@ -296,11 +297,11 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
296
297
  prop: "termNo"
297
298
  }, {
298
299
  default: l(() => [
299
- a(I, {
300
+ a(_, {
300
301
  modelValue: n.value.termNo,
301
302
  "onUpdate:modelValue": e[8] || (e[8] = (t) => n.value.termNo = t),
302
303
  placeholder: r.$t("payTrade.termNo"),
303
- onKeyup: e[9] || (e[9] = c((t) => o(m).handleQuery(), ["enter"])),
304
+ onKeyup: e[9] || (e[9] = v((t) => o(m).handleQuery(), ["enter"])),
304
305
  class: "!w-[203px]"
305
306
  }, null, 8, ["modelValue", "placeholder"])
306
307
  ]),
@@ -321,7 +322,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
321
322
  "onUpdate:modelValue": e[10] || (e[10] = (t) => n.value.orderStatus = t),
322
323
  placeholder: r.$t("payTrade.orderStatusRead"),
323
324
  data: o(y).orderStatusBizDict.values,
324
- onKeyup: e[11] || (e[11] = c((t) => o(m).handleQuery(), ["enter"])),
325
+ onKeyup: e[11] || (e[11] = v((t) => o(m).handleQuery(), ["enter"])),
325
326
  class: "!w-[203px]",
326
327
  filterable: "",
327
328
  clearable: ""
@@ -361,7 +362,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
361
362
  default: l(() => [
362
363
  a(b, { class: "search-btn" }, {
363
364
  default: l(() => [
364
- a(_, {
365
+ a(D, {
365
366
  type: "primary",
366
367
  onClick: e[13] || (e[13] = (t) => o(m).handleQuery())
367
368
  }, {
@@ -370,7 +371,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
370
371
  ]),
371
372
  _: 1
372
373
  }),
373
- a(_, {
374
+ a(D, {
374
375
  onClick: e[14] || (e[14] = (t) => Y())
375
376
  }, {
376
377
  default: l(() => [
@@ -417,7 +418,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
417
418
  })
418
419
  ]),
419
420
  footer: l(() => [
420
- o(V) > 0 ? (D(), W(H, {
421
+ o(V) > 0 ? (I(), W(H, {
421
422
  key: 0,
422
423
  total: o(V),
423
424
  "onUpdate:total": e[16] || (e[16] = (t) => M(V) ? V.value = t : null),
@@ -514,7 +515,7 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
514
515
  d(p(o(y).merchantBizDict.getValue(t.data.row.merchantId)), 1)
515
516
  ]),
516
517
  createTime: l((t) => [
517
- d(p(o(v).$moment.formatDate(
518
+ d(p(o(c).$moment.formatDate(
518
519
  t.data.row.createTime,
519
520
  "YYYY-MM-DD HH:mm"
520
521
  )), 1)
@@ -529,5 +530,5 @@ const re = new oe(), ne = { class: "app-container" }, de = { class: "search-cont
529
530
  }
530
531
  });
531
532
  export {
532
- we as default
533
+ Ve as default
533
534
  };