xyvcard-settle 0.0.21 → 0.0.23

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 (22) hide show
  1. package/dist/{history-BgXCgEWe.mjs → history-B8rLL6cg.mjs} +1 -1
  2. package/dist/{history-DtjmHKa9.mjs → history-GWPuNly4.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs → history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs} +187 -163
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs → history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs} +90 -81
  5. package/dist/{index-A83m_bq9.mjs → index-C3Kdmtt0.mjs} +2 -2
  6. package/dist/{index-DBd3Gkwy.mjs → index-CEE_6GTV.mjs} +1 -1
  7. package/dist/{index-AM0oEBSy.mjs → index-CGm_qU0S.mjs} +2 -2
  8. package/dist/{index-BPvCTpAw.mjs → index-Cb7J-gqJ.mjs} +59 -77
  9. package/dist/{index-Dk7c4clB.mjs → index-Cd659aKC.mjs} +1 -1
  10. package/dist/{index-B_A1F3k3.mjs → index-NM7NGo1Y.mjs} +1 -1
  11. package/dist/{index-mgS8Yk77.mjs → index-by_iuKQb.mjs} +2 -2
  12. package/dist/{index-D_DrLyqR.mjs → index-q_VWJKNr.mjs} +25 -24
  13. package/dist/index.mjs +19 -14
  14. package/dist/{today-D7Qw-W1d.mjs → today-BYQ_Njq5.mjs} +1 -1
  15. package/dist/{today-DO4goI_2.mjs → today-CGeC5FRK.mjs} +1 -1
  16. package/dist/{today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs → today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs} +90 -81
  17. package/dist/today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs +334 -0
  18. package/dts/src/constant.d.ts +1 -0
  19. package/dts/src/lang/settle/en.d.ts +89 -0
  20. package/dts/src/lang/settle/zh-cn.d.ts +5 -0
  21. package/package.json +1 -1
  22. package/dist/today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs +0 -309
@@ -1,9 +1,9 @@
1
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";
2
+ import { useUserStore as N, clearEmpty as ue, request as ie, useTableHooks as pe } from "jmash-core";
3
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";
4
+ import { D as f, C as P } from "./index-q_VWJKNr.mjs";
5
+ import { useRoute as ye, useRouter as fe } from "vue-router";
6
+ import { tokenExt as ce } from "xyvcard-agent";
7
7
  class be {
8
8
  getKey(b) {
9
9
  return {
@@ -13,7 +13,7 @@ class be {
13
13
  }
14
14
  // 查询翻页信息支付交易汇总统计;
15
15
  findPage(b) {
16
- const S = R().user.tenant;
16
+ const S = N().user.tenant;
17
17
  return ue(b), ie({
18
18
  url: "/v1/settle/analysis/merchant/page/" + S,
19
19
  method: "get",
@@ -21,27 +21,27 @@ class be {
21
21
  });
22
22
  }
23
23
  }
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
+ 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" }, $e = { class: "blue_color" }, we = ["onClick"], Ne = /* @__PURE__ */ ne({
25
25
  __name: "index",
26
26
  setup(Q) {
27
27
  const { t: b } = me();
28
- c.agentBizDict.useValues(), c.instsBizDict.useValues(), c.merchantBizDict.useValues();
29
- const h = ye().query.tenant;
30
- console.log(h, "=> tenant");
31
- const { proxy: z } = oe(), j = ce(), s = _({
32
- tokenExt: fe.getTokenExt(R().user.tenant)
28
+ f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
29
+ const A = ye().query.tenant;
30
+ console.log(A, "=> tenant");
31
+ const { proxy: z } = oe(), j = fe(), s = _({
32
+ tokenExt: ce.getTokenExt(N().user.tenant)
33
33
  }), {
34
34
  tableHooks: i,
35
35
  multipleTableRef: K,
36
36
  queryFormRef: Y,
37
37
  listLoading: q,
38
38
  tableData: F,
39
- total: w
39
+ total: $
40
40
  } = pe(b, Te, s);
41
- let $ = i.totalRecord;
42
- const A = _([]);
41
+ let w = i.totalRecord;
42
+ const h = _([]);
43
43
  function O(a) {
44
- A.value = a, A.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
44
+ h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = z.$moment.formatDate(
45
45
  a[0],
46
46
  P.RPC_FORMAT_TIME
47
47
  ), s.value.analysisTimeEnd = z.$moment.formatDate(
@@ -51,7 +51,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
51
51
  }
52
52
  const L = _(
53
53
  JSON.parse(
54
- sessionStorage.getItem("SelectAgent:" + R().user.tenant) || "{}"
54
+ sessionStorage.getItem("SelectAgent:" + N().user.tenant) || "{}"
55
55
  )
56
56
  );
57
57
  let C = _([
@@ -74,30 +74,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
74
74
  },
75
75
  // 商户号
76
76
  {
77
- label: "settleTradeAnalysis.likeMerchantNos",
77
+ label: "settleTradeAnalysis.merchantNo",
78
78
  prop: "merchantNo",
79
79
  width: "150",
80
80
  sortable: "custom",
81
81
  isColumn: !0
82
82
  },
83
- // 终端号
84
- {
85
- label: "settleTradeAnalysis.termNo",
86
- prop: "termNo",
87
- width: "110",
88
- sortable: "custom",
89
- isColumn: !0
90
- },
91
- // 支付方式
92
- {
93
- label: "payTrade.payMode",
94
- prop: "payMode",
95
- slotName: "payMode",
96
- columnType: "slot",
97
- width: "110",
98
- sortable: "custom",
99
- isColumn: !0
100
- },
101
83
  // 交易笔数
102
84
  {
103
85
  label: "settleTradeAnalysis.orderCount",
@@ -176,7 +158,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
176
158
  });
177
159
  }
178
160
  function B() {
179
- A.value = [], i.resetQuery();
161
+ h.value = [], i.resetQuery();
180
162
  }
181
163
  function W(a) {
182
164
  i.selectionRows.value = a;
@@ -185,7 +167,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
185
167
  i.handleSort(a.prop, a.order);
186
168
  }
187
169
  return i.getList(), (a, e) => {
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");
170
+ const D = m("el-input"), c = m("el-form-item"), d = m("el-col"), R = 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");
189
171
  return v(), U("div", ve, [
190
172
  T("div", ge, [
191
173
  l(Z, {
@@ -199,12 +181,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
199
181
  default: t(() => [
200
182
  l(d, { span: 6 }, {
201
183
  default: t(() => [
202
- l(f, {
184
+ l(c, {
203
185
  label: a.$t("settleTradeAnalysis.merchantId"),
204
186
  prop: "merchantId"
205
187
  }, {
206
188
  default: t(() => [
207
- l(N, {
189
+ l(D, {
208
190
  modelValue: s.value.merchantId,
209
191
  "onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
210
192
  placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
@@ -219,16 +201,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
219
201
  }),
220
202
  l(d, { span: 6 }, {
221
203
  default: t(() => [
222
- l(f, {
204
+ l(c, {
223
205
  label: a.$t("settleTradeAnalysis.payMode"),
224
206
  prop: "payMode"
225
207
  }, {
226
208
  default: t(() => [
227
- l(D, {
209
+ l(R, {
228
210
  modelValue: s.value.payMode,
229
211
  "onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
230
212
  placeholder: a.$t("settleTradeAnalysis.payModeRead"),
231
- data: n(c).payModeBizDict.values,
213
+ data: n(f).payModeBizDict.values,
232
214
  onKeyup: e[3] || (e[3] = g((o) => n(i).handleQuery(), ["enter"])),
233
215
  class: "!w-[203px]",
234
216
  filterable: "",
@@ -242,12 +224,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
242
224
  }),
243
225
  l(d, { span: 6 }, {
244
226
  default: t(() => [
245
- l(f, {
227
+ l(c, {
246
228
  label: a.$t("settleTradeAnalysis.likeMerchantNo"),
247
229
  prop: "likeMerchantNo"
248
230
  }, {
249
231
  default: t(() => [
250
- l(N, {
232
+ l(D, {
251
233
  modelValue: s.value.likeMerchantNo,
252
234
  "onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
253
235
  placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
@@ -262,12 +244,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
262
244
  }),
263
245
  l(d, { span: 6 }, {
264
246
  default: t(() => [
265
- l(f, {
247
+ l(c, {
266
248
  label: a.$t("settleTradeAnalysis.termNo"),
267
249
  prop: "termNo"
268
250
  }, {
269
251
  default: t(() => [
270
- l(N, {
252
+ l(D, {
271
253
  modelValue: s.value.termNo,
272
254
  "onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
273
255
  placeholder: a.$t("settleTradeAnalysis.termNoRead"),
@@ -287,12 +269,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
287
269
  default: t(() => {
288
270
  var o, u;
289
271
  return [
290
- (o = n(h)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
272
+ (o = n(A)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
291
273
  key: 0,
292
274
  span: 6
293
275
  }, {
294
276
  default: t(() => [
295
- l(f, {
277
+ l(c, {
296
278
  label: a.$t("settleTradeAnalysis.agentCode"),
297
279
  prop: "agentCode"
298
280
  }, {
@@ -300,7 +282,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
300
282
  l(G, {
301
283
  modelValue: s.value.agentCode,
302
284
  "onUpdate:modelValue": e[8] || (e[8] = (y) => s.value.agentCode = y),
303
- data: n(c).agentBizDict.values,
285
+ data: n(f).agentBizDict.values,
304
286
  "node-key": "value",
305
287
  filterable: "",
306
288
  clearable: "",
@@ -315,16 +297,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
315
297
  })),
316
298
  l(d, { span: 6 }, {
317
299
  default: t(() => [
318
- l(f, {
300
+ l(c, {
319
301
  label: a.$t("settleTradeAnalysis.tradeType"),
320
302
  prop: "tradeType"
321
303
  }, {
322
304
  default: t(() => [
323
- l(D, {
305
+ l(R, {
324
306
  modelValue: s.value.tradeType,
325
307
  "onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
326
308
  placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
327
- data: n(c).tradeTypeBizDict.values,
309
+ data: n(f).tradeTypeBizDict.values,
328
310
  onKeyup: e[10] || (e[10] = g((y) => n(i).handleQuery(), ["enter"])),
329
311
  class: "!w-[203px]",
330
312
  filterable: "",
@@ -338,16 +320,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
338
320
  }),
339
321
  l(d, { span: 6 }, {
340
322
  default: t(() => [
341
- l(f, {
323
+ l(c, {
342
324
  label: a.$t("settleTradeAnalysis.channelId"),
343
325
  prop: "channelId"
344
326
  }, {
345
327
  default: t(() => [
346
- l(D, {
328
+ l(R, {
347
329
  modelValue: s.value.channelId,
348
330
  "onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
349
331
  placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
350
- data: n(c).instsBizDict.values,
332
+ data: n(f).instsBizDict.values,
351
333
  onKeyup: e[12] || (e[12] = g((y) => n(i).handleQuery(), ["enter"])),
352
334
  class: "!w-[203px]",
353
335
  filterable: "",
@@ -361,14 +343,14 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
361
343
  }),
362
344
  l(d, { span: 6 }, {
363
345
  default: t(() => [
364
- l(f, {
346
+ l(c, {
365
347
  label: a.$t("settleTradeAnalysis.createTime"),
366
348
  prop: "analysisTimeStart"
367
349
  }, {
368
350
  default: t(() => [
369
351
  l(X, {
370
- modelValue: A.value,
371
- "onUpdate:modelValue": e[13] || (e[13] = (y) => A.value = y),
352
+ modelValue: h.value,
353
+ "onUpdate:modelValue": e[13] || (e[13] = (y) => h.value = y),
372
354
  type: "daterange",
373
355
  format: "YYYY-MM-DD",
374
356
  "value-format": "YYYY-MM-DD",
@@ -384,12 +366,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
384
366
  ]),
385
367
  _: 1
386
368
  }),
387
- (u = n(h)) != null && u.includes("@") ? (v(), I(d, {
369
+ (u = n(A)) != null && u.includes("@") ? (v(), I(d, {
388
370
  key: 1,
389
371
  span: 6
390
372
  }, {
391
373
  default: t(() => [
392
- l(f, { class: "search-btn" }, {
374
+ l(c, { class: "search-btn" }, {
393
375
  default: t(() => [
394
376
  l(k, {
395
377
  type: "primary",
@@ -422,12 +404,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
422
404
  default: t(() => {
423
405
  var o;
424
406
  return [
425
- (o = n(h)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
407
+ (o = n(A)) != null && o.includes("@") ? M("", !0) : (v(), I(d, {
426
408
  key: 0,
427
409
  span: 24
428
410
  }, {
429
411
  default: t(() => [
430
- l(f, { class: "search-btn" }, {
412
+ l(c, { class: "search-btn" }, {
431
413
  default: t(() => [
432
414
  l(k, {
433
415
  type: "primary",
@@ -486,10 +468,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
486
468
  })
487
469
  ]),
488
470
  footer: t(() => [
489
- n(w) > 0 ? (v(), I(te, {
471
+ n($) > 0 ? (v(), I(te, {
490
472
  key: 0,
491
- total: n(w),
492
- "onUpdate:total": e[19] || (e[19] = (o) => E(w) ? w.value = o : null),
473
+ total: n($),
474
+ "onUpdate:total": e[19] || (e[19] = (o) => E($) ? $.value = o : null),
493
475
  "current-page": s.value.curPage,
494
476
  "onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
495
477
  "page-size": s.value.pageSize,
@@ -500,13 +482,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
500
482
  default: t(() => {
501
483
  var o;
502
484
  return [
503
- T("div", he, [
485
+ T("div", Ae, [
504
486
  l(V, { gutter: 20 }, {
505
487
  default: t(() => [
506
488
  l(d, { span: 6 }, {
507
489
  default: t(() => [
508
490
  e[24] || (e[24] = r(" 总交易笔数: ")),
509
- T("span", Ae, p(n($).totalOrderCount), 1),
491
+ T("span", he, p(n(w).totalOrderCount), 1),
510
492
  e[25] || (e[25] = r(" 笔 "))
511
493
  ]),
512
494
  _: 1
@@ -514,7 +496,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
514
496
  l(d, { span: 6 }, {
515
497
  default: t(() => [
516
498
  e[26] || (e[26] = r(" 总交易金额: ")),
517
- T("span", Ce, p(n($).totalOrderAmount), 1),
499
+ T("span", Ce, p(n(w).totalOrderAmount), 1),
518
500
  e[27] || (e[27] = r(" 元 "))
519
501
  ]),
520
502
  _: 1
@@ -522,7 +504,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
522
504
  l(d, { span: 6 }, {
523
505
  default: t(() => [
524
506
  e[28] || (e[28] = r(" 手续费: ")),
525
- T("span", Ve, p(n($).totalFeeAmt), 1),
507
+ T("span", Ve, p(n(w).totalFeeAmt), 1),
526
508
  e[29] || (e[29] = r(" 元 "))
527
509
  ]),
528
510
  _: 1
@@ -530,7 +512,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
530
512
  l(d, { span: 6 }, {
531
513
  default: t(() => [
532
514
  e[30] || (e[30] = r(" 结算金额: ")),
533
- T("span", we, p(n($).totalSettleAmount), 1),
515
+ T("span", $e, p(n(w).totalSettleAmount), 1),
534
516
  e[31] || (e[31] = r(" 元 "))
535
517
  ]),
536
518
  _: 1
@@ -551,13 +533,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
551
533
  onSortChange: J
552
534
  }, re({
553
535
  merchantId: t((u) => [
554
- r(p(n(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
536
+ r(p(n(f).merchantBizDict.getValue(u.data.row.merchantId)), 1)
555
537
  ]),
556
538
  instsId: t((u) => [
557
- r(p(n(c).instsBizDict.getValue(u.data.row.instsId)), 1)
539
+ r(p(n(f).instsBizDict.getValue(u.data.row.instsId)), 1)
558
540
  ]),
559
541
  payMode: t((u) => [
560
- r(p(n(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
542
+ r(p(n(f).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
561
543
  ]),
562
544
  operation: t((u) => [
563
545
  de((v(), U("span", {
@@ -565,13 +547,13 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
565
547
  onClick: (y) => H(u.data.row)
566
548
  }, [
567
549
  r(p(a.$t("settleTradeAnalysis.view")), 1)
568
- ], 8, $e)), [
550
+ ], 8, we)), [
569
551
  [ae, ["settle:settle_trade_analysis:view"]]
570
552
  ])
571
553
  ]),
572
554
  _: 2
573
555
  }, [
574
- (o = n(h)) != null && o.includes("@") ? {
556
+ (o = n(A)) != null && o.includes("@") ? {
575
557
  name: "agentCode",
576
558
  fn: t((u) => [
577
559
  r(p(L.value.agentAlias), 1)
@@ -580,7 +562,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
580
562
  } : {
581
563
  name: "agentCode",
582
564
  fn: t((u) => [
583
- r(p(n(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
565
+ r(p(n(f).agentBizDict.getValue(u.data.row.agentCode)), 1)
584
566
  ]),
585
567
  key: "0"
586
568
  }
@@ -594,5 +576,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
594
576
  }
595
577
  });
596
578
  export {
597
- Re as default
579
+ Ne as default
598
580
  };
@@ -1,7 +1,7 @@
1
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
2
  import { useUserStore as R, clearEmpty as ue, request as ie, useTableHooks as me } from "jmash-core";
3
3
  import { useI18n as pe } from "vue-i18n";
4
- import { D as c, C as P } from "./index-D_DrLyqR.mjs";
4
+ import { D as c, C as P } from "./index-q_VWJKNr.mjs";
5
5
  import { useRoute as ye, useRouter as ce } from "vue-router";
6
6
  import { tokenExt as fe } from "xyvcard-agent";
7
7
  class be {
@@ -1,6 +1,6 @@
1
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
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";
3
+ import { D as y, C as R } from "./index-q_VWJKNr.mjs";
4
4
  import { useI18n as te } from "vue-i18n";
5
5
  import { useRoute as ae } from "vue-router";
6
6
  import { tokenExt as le } from "xyvcard-agent";
@@ -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-BolWWcQp.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -1,10 +1,19 @@
1
1
  var p = Object.defineProperty;
2
2
  var y = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
3
  var a = (e, t, s) => y(e, typeof t != "symbol" ? t + "" : t, s);
4
- import { BizLayDict as d, BizDict as h, EnumDict as l } from "jmash-core";
5
- import { infoApi as m } from "xyvcard-agent";
6
- import { institutionApi as T } from "xyvcard-insts";
7
- import { merchantsApi as D } from "xyvcard-merchant";
4
+ import { BizLayDict as d, BizDict as l, EnumDict as h } from "jmash-core";
5
+ import { infoApi as A } from "xyvcard-agent";
6
+ import { institutionApi as E } from "xyvcard-insts";
7
+ import { merchantsApi as T } from "xyvcard-merchant";
8
+ class i {
9
+ }
10
+ //模块
11
+ a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
12
+ a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
13
+ a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
14
+ a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
15
+ a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus"), // 支付状态
16
+ a(i, "AGENT_AGREE", "AGENT_AGREE");
8
17
  function o(e, t, s) {
9
18
  return !Array.isArray(e) || e.length === 0 ? [] : e.map((r) => {
10
19
  let c = [];
@@ -16,11 +25,11 @@ function o(e, t, s) {
16
25
  };
17
26
  });
18
27
  }
19
- class A extends d {
28
+ class m extends d {
20
29
  // 实现 useValues 方法
21
30
  useValues() {
22
31
  return new Promise((t, s) => {
23
- m.findList(this.query).then(({ data: n }) => {
32
+ this.query.approved = i.AGENT_AGREE, this.query.hasApproved = !0, A.findList(this.query).then(({ data: n }) => {
24
33
  this.values.length = 0, this.values.push(
25
34
  ...o(n.results, "agentAlias", "agentCode")
26
35
  ), t(this.values);
@@ -28,11 +37,11 @@ class A extends d {
28
37
  });
29
38
  }
30
39
  }
31
- class E extends h {
40
+ class D extends l {
32
41
  // 实现 useValues 方法
33
42
  useValues() {
34
43
  return new Promise((t, s) => {
35
- T.findList(this.query).then(({ data: n }) => {
44
+ E.findList(this.query).then(({ data: n }) => {
36
45
  console.log(n, "=> data2");
37
46
  const r = n.results;
38
47
  this.values.length = 0, this.values.push(
@@ -47,11 +56,11 @@ class E extends h {
47
56
  });
48
57
  }
49
58
  }
50
- class f extends h {
59
+ class v extends l {
51
60
  // 实现 useValues 方法
52
61
  useValues() {
53
62
  return new Promise((t, s) => {
54
- D.findList(this.query).then(({ data: n }) => {
63
+ T.findList(this.query).then(({ data: n }) => {
55
64
  console.log(n, "=> data2");
56
65
  const r = n.results;
57
66
  this.values.length = 0, this.values.push(
@@ -66,29 +75,21 @@ class f extends h {
66
75
  });
67
76
  }
68
77
  }
69
- class i {
70
- }
71
- //模块
72
- a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
73
- a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
74
- a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
75
- a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
76
- a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus");
77
78
  class u {
78
79
  }
79
80
  // 代理商
80
- a(u, "agentBizDict", new A({})), // 落地机构
81
- a(u, "instsBizDict", new E({})), // 商户名称
82
- a(u, "merchantBizDict", new f({})), // 支付方式
83
- a(u, "payModeBizDict", new l(
81
+ a(u, "agentBizDict", new m({})), // 落地机构
82
+ a(u, "instsBizDict", new D({})), // 商户名称
83
+ a(u, "merchantBizDict", new v({})), // 支付方式
84
+ a(u, "payModeBizDict", new h(
84
85
  i.PAYMENT_DICT,
85
86
  i.PAY_MODE
86
87
  )), // 交易类型
87
- a(u, "tradeTypeBizDict", new l(
88
+ a(u, "tradeTypeBizDict", new h(
88
89
  i.PAYMENT_DICT,
89
90
  i.TRADE_TYPE
90
91
  )), // 支付状态
91
- a(u, "orderStatusBizDict", new l(
92
+ a(u, "orderStatusBizDict", new h(
92
93
  i.PAYMENT_DICT,
93
94
  i.ORDER_STATUS
94
95
  ));
package/dist/index.mjs CHANGED
@@ -14,7 +14,8 @@ const Ds = {
14
14
  tradeType: "交易类型",
15
15
  tradeTypeRead: "请选择交易类型",
16
16
  agentCode: "代理商",
17
- likeMerchantNoRead: "请输入商户号",
17
+ likeMerchantNoRead: "请输入连锁号",
18
+ likeMerchantNo: "连锁号",
18
19
  createTime: "支付时间",
19
20
  startCreateTime: "开始时间",
20
21
  endCreateTime: "结束时间",
@@ -24,9 +25,9 @@ const Ds = {
24
25
  payModeRead: "请选择支付方式",
25
26
  commission: "手续费",
26
27
  feeRatePct: "费率",
27
- channelId: "支付渠道",
28
- instsId: "落地机构",
29
- instsIdRead: "请选择落地机构",
28
+ channelId: "支付通道",
29
+ instsId: "支付通道",
30
+ instsIdRead: "请选择支付通道",
30
31
  createTimes: "交易时间",
31
32
  tradeAmount: "交易金额",
32
33
  orderStatus: "支付状态",
@@ -35,11 +36,12 @@ const Ds = {
35
36
  },
36
37
  // 支付交易商户/代理商汇总统计;
37
38
  settleTradeAnalysis: {
39
+ merchantNo: "商户号",
38
40
  name: "支付交易汇总统计;",
39
41
  index: "序号",
40
42
  createTime: "交易时间",
41
- channelId: "渠道",
42
- channelIdRead: "请选择渠道",
43
+ channelId: "支付通道",
44
+ channelIdRead: "请选择支付通道",
43
45
  agentCode: "代理商名称",
44
46
  agentCodeRead: "请输入代理商名称",
45
47
  agentCodes: "代理商编号",
@@ -55,8 +57,8 @@ const Ds = {
55
57
  likeMerchantNoRead: "请输入连锁号",
56
58
  merchantId: "商户名称",
57
59
  merchantIdRead: "请输入商户名称",
58
- likeMerchantNos: "商户号",
59
- likeMerchantNosRead: "请输入商户号",
60
+ likeMerchantNos: "连锁号",
61
+ likeMerchantNosRead: "请输入连锁号",
60
62
  termNo: "终端号",
61
63
  termNoRead: "请输入终端号",
62
64
  payMode: "支付方式",
@@ -70,21 +72,24 @@ const Ds = {
70
72
  settleTradeReceipt: {
71
73
  name: "划款信息查询-到账",
72
74
  likeMerchantName: "商户名称",
73
- likeMerchantNo: "筋斗云商户号",
74
- likeMerchantNoRead: "请输入筋斗云商户号",
75
+ likeMerchantNo: "连锁号",
76
+ merchantNo: "商户号",
77
+ likeMerchantNoRead: "请输入连锁号",
75
78
  likeMerchantNameRead: "请输入商户名称",
76
79
  createTime: "到账日期",
77
80
  transferMoneyDateStart: "开始时间",
78
81
  transferMoneyDateEnd: "结束时间",
79
- agentCode: "代理商编号",
80
- agentCodeRead: "请输入代理商编号",
81
- channelId: "落地机构",
82
+ transferMoneyDate: "划款日期",
83
+ agentCode: "代理商",
84
+ agentCodeRead: "请选择代理商",
85
+ channelId: "支付通道",
82
86
  index: "序号",
83
87
  merchantName: "商户注册名称",
84
88
  transferMoneyTime: "划款时间",
85
89
  transferMoneyAmount: "划款金额",
86
90
  feeAmt: "手续费",
87
91
  transferMoneyStatus: "到账状态",
92
+ transferMoneyStatusName: "到账状态",
88
93
  chnlRespMsg: "失败原因",
89
94
  termNo: "终端号",
90
95
  termNoRead: "请输入终端号"
@@ -2680,7 +2685,7 @@ const Ti = {
2680
2685
  }
2681
2686
  };
2682
2687
  }
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 = {
2688
+ }, xi = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade-personal/index.vue": () => import("./index-NM7NGo1Y.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-CGm_qU0S.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-CEE_6GTV.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Cd659aKC.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-Cb7J-gqJ.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-B8rLL6cg.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-C3Kdmtt0.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-CGeC5FRK.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-GWPuNly4.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-by_iuKQb.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-BYQ_Njq5.mjs") }), Ni = {
2684
2689
  install(e) {
2685
2690
  ps(xi, 7), Ys(vs), e.use(Ti);
2686
2691
  }
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.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-BVQUaV2S.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };