xyvcard-settle 0.0.18 → 0.0.19

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 (20) hide show
  1. package/dist/{history-CC38POZp.mjs → history-Bf1plXQZ.mjs} +1 -1
  2. package/dist/{history-DbXZ4eq0.mjs → history-BqGlNUWq.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-D1xiX4hr.mjs → history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs} +29 -34
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-0xuuSRhP.mjs → history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs} +73 -78
  5. package/dist/{index-D3q3PTBV.mjs → index-4mAQF6sI.mjs} +131 -136
  6. package/dist/{index-CX2iFzez.mjs → index-7sGznIYQ.mjs} +2 -2
  7. package/dist/{index-D8aad25b.mjs → index-B5IIg45W.mjs} +2 -2
  8. package/dist/{index-DHftF03J.mjs → index-DRyh7Csl.mjs} +15 -45
  9. package/dist/{index-CxWPPWw1.mjs → index-Dkcgyu5g.mjs} +64 -69
  10. package/dist/{index-CBKnFdtu.mjs → index-Q5OOFu9F.mjs} +61 -66
  11. package/dist/{index-CNmV3L7-.mjs → index-yBUEGCAI.mjs} +67 -72
  12. package/dist/index.mjs +1 -1
  13. package/dist/{today-C9NK5TJx.mjs → today-CM47Nc1C.mjs} +1 -1
  14. package/dist/{today-D_H0QACJ.mjs → today-DCYHokzf.mjs} +1 -1
  15. package/dist/{today.vue_vue_type_script_setup_true_lang-BeAT_Lsx.mjs → today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs} +38 -44
  16. package/dist/{today.vue_vue_type_script_setup_true_lang-BX_CxX_E.mjs → today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs} +46 -51
  17. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +2 -5
  18. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +1 -4
  19. package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +1 -4
  20. package/package.json +1 -1
@@ -1,4 +1,4 @@
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 i, createSlots as re, withDirectives as de, isRef as U } from "vue";
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
2
  import { useUserStore as ue, clearEmpty as ie, request as me, useTableHooks as pe } from "jmash-core";
3
3
  import { useI18n as ye } from "vue-i18n";
4
4
  import { D as c, C as E } from "./index-Bn8Vw_ua.mjs";
@@ -20,27 +20,27 @@ class be {
20
20
  });
21
21
  }
22
22
  }
23
- 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 = ["onClick"], De = /* @__PURE__ */ oe({
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
24
  __name: "index",
25
25
  setup(P) {
26
26
  const { t: b } = ye();
27
27
  c.agentBizDict.useValues(), c.instsBizDict.useValues(), c.merchantBizDict.useValues();
28
- const A = ce().query.tenant;
29
- console.log(A, "=> tenant");
28
+ const h = ce().query.tenant;
29
+ console.log(h, "=> tenant");
30
30
  const { proxy: S } = ne(), Q = fe(), j = localStorage.getItem("tokenExt"), s = _({
31
31
  tokenExt: j ?? ""
32
32
  }), {
33
- tableHooks: m,
33
+ tableHooks: i,
34
34
  multipleTableRef: K,
35
35
  queryFormRef: Y,
36
36
  listLoading: q,
37
37
  tableData: F,
38
38
  total: w
39
39
  } = pe(b, Te, s);
40
- let $ = m.totalRecord;
41
- const h = _([]);
40
+ let $ = i.totalRecord;
41
+ const A = _([]);
42
42
  function O(a) {
43
- h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
43
+ A.value = a, A.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
44
44
  a[0],
45
45
  E.RPC_FORMAT_TIME
46
46
  ), s.value.analysisTimeEnd = S.$moment.formatDate(
@@ -124,8 +124,6 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
124
124
  {
125
125
  label: "settleTradeAnalysis.feeAmt",
126
126
  prop: "feeAmt",
127
- slotName: "feeAmt",
128
- columnType: "slot",
129
127
  width: "100",
130
128
  sortable: "custom",
131
129
  isColumn: !0
@@ -176,16 +174,16 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
176
174
  });
177
175
  }
178
176
  function z() {
179
- h.value = [], m.resetQuery();
177
+ A.value = [], i.resetQuery();
180
178
  }
181
179
  function W(a) {
182
- m.selectionRows.value = a;
180
+ i.selectionRows.value = a;
183
181
  }
184
182
  function J(a) {
185
- m.handleSort(a.prop, a.order);
183
+ i.handleSort(a.prop, a.order);
186
184
  }
187
- return m.getList(), (a, e) => {
188
- const N = p("el-input"), f = p("el-form-item"), u = 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");
185
+ 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");
189
187
  return v(), B("div", ve, [
190
188
  T("div", ge, [
191
189
  l(Z, {
@@ -197,7 +195,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
197
195
  default: t(() => [
198
196
  l(V, null, {
199
197
  default: t(() => [
200
- l(u, { span: 6 }, {
198
+ l(d, { span: 6 }, {
201
199
  default: t(() => [
202
200
  l(f, {
203
201
  label: a.$t("settleTradeAnalysis.merchantId"),
@@ -208,7 +206,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
208
206
  modelValue: s.value.merchantId,
209
207
  "onUpdate:modelValue": e[0] || (e[0] = (n) => s.value.merchantId = n),
210
208
  placeholder: a.$t("settleTradeAnalysis.merchantIdRead"),
211
- onKeyup: e[1] || (e[1] = g((n) => o(m).handleQuery(), ["enter"])),
209
+ onKeyup: e[1] || (e[1] = g((n) => o(i).handleQuery(), ["enter"])),
212
210
  class: "!w-[203px]"
213
211
  }, null, 8, ["modelValue", "placeholder"])
214
212
  ]),
@@ -217,7 +215,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
217
215
  ]),
218
216
  _: 1
219
217
  }),
220
- l(u, { span: 6 }, {
218
+ l(d, { span: 6 }, {
221
219
  default: t(() => [
222
220
  l(f, {
223
221
  label: a.$t("settleTradeAnalysis.payMode"),
@@ -229,7 +227,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
229
227
  "onUpdate:modelValue": e[2] || (e[2] = (n) => s.value.payMode = n),
230
228
  placeholder: a.$t("settleTradeAnalysis.payModeRead"),
231
229
  data: o(c).payModeBizDict.values,
232
- onKeyup: e[3] || (e[3] = g((n) => o(m).handleQuery(), ["enter"])),
230
+ onKeyup: e[3] || (e[3] = g((n) => o(i).handleQuery(), ["enter"])),
233
231
  class: "!w-[203px]",
234
232
  filterable: "",
235
233
  clearable: ""
@@ -240,7 +238,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
240
238
  ]),
241
239
  _: 1
242
240
  }),
243
- l(u, { span: 6 }, {
241
+ l(d, { span: 6 }, {
244
242
  default: t(() => [
245
243
  l(f, {
246
244
  label: a.$t("settleTradeAnalysis.likeMerchantNo"),
@@ -251,7 +249,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
251
249
  modelValue: s.value.likeMerchantNo,
252
250
  "onUpdate:modelValue": e[4] || (e[4] = (n) => s.value.likeMerchantNo = n),
253
251
  placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
254
- onKeyup: e[5] || (e[5] = g((n) => o(m).handleQuery(), ["enter"])),
252
+ onKeyup: e[5] || (e[5] = g((n) => o(i).handleQuery(), ["enter"])),
255
253
  class: "!w-[203px]"
256
254
  }, null, 8, ["modelValue", "placeholder"])
257
255
  ]),
@@ -260,7 +258,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
260
258
  ]),
261
259
  _: 1
262
260
  }),
263
- l(u, { span: 6 }, {
261
+ l(d, { span: 6 }, {
264
262
  default: t(() => [
265
263
  l(f, {
266
264
  label: a.$t("settleTradeAnalysis.termNo"),
@@ -271,7 +269,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
271
269
  modelValue: s.value.termNo,
272
270
  "onUpdate:modelValue": e[6] || (e[6] = (n) => s.value.termNo = n),
273
271
  placeholder: a.$t("settleTradeAnalysis.termNoRead"),
274
- onKeyup: e[7] || (e[7] = g((n) => o(m).handleQuery(), ["enter"])),
272
+ onKeyup: e[7] || (e[7] = g((n) => o(i).handleQuery(), ["enter"])),
275
273
  class: "!w-[203px]"
276
274
  }, null, 8, ["modelValue", "placeholder"])
277
275
  ]),
@@ -285,9 +283,9 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
285
283
  }),
286
284
  l(V, null, {
287
285
  default: t(() => {
288
- var n, d;
286
+ var n, u;
289
287
  return [
290
- (n = o(A)) != null && n.includes("@") ? M("", !0) : (v(), I(u, {
288
+ (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
291
289
  key: 0,
292
290
  span: 6
293
291
  }, {
@@ -313,7 +311,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
313
311
  ]),
314
312
  _: 1
315
313
  })),
316
- l(u, { span: 6 }, {
314
+ l(d, { span: 6 }, {
317
315
  default: t(() => [
318
316
  l(f, {
319
317
  label: a.$t("settleTradeAnalysis.tradeType"),
@@ -325,7 +323,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
325
323
  "onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
326
324
  placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
327
325
  data: o(c).tradeTypeBizDict.values,
328
- onKeyup: e[10] || (e[10] = g((y) => o(m).handleQuery(), ["enter"])),
326
+ onKeyup: e[10] || (e[10] = g((y) => o(i).handleQuery(), ["enter"])),
329
327
  class: "!w-[203px]",
330
328
  filterable: "",
331
329
  clearable: ""
@@ -336,7 +334,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
336
334
  ]),
337
335
  _: 1
338
336
  }),
339
- l(u, { span: 6 }, {
337
+ l(d, { span: 6 }, {
340
338
  default: t(() => [
341
339
  l(f, {
342
340
  label: a.$t("settleTradeAnalysis.channelId"),
@@ -348,7 +346,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
348
346
  "onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
349
347
  placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
350
348
  data: o(c).instsBizDict.values,
351
- onKeyup: e[12] || (e[12] = g((y) => o(m).handleQuery(), ["enter"])),
349
+ onKeyup: e[12] || (e[12] = g((y) => o(i).handleQuery(), ["enter"])),
352
350
  class: "!w-[203px]",
353
351
  filterable: "",
354
352
  clearable: ""
@@ -359,7 +357,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
359
357
  ]),
360
358
  _: 1
361
359
  }),
362
- l(u, { span: 6 }, {
360
+ l(d, { span: 6 }, {
363
361
  default: t(() => [
364
362
  l(f, {
365
363
  label: a.$t("settleTradeAnalysis.createTime"),
@@ -367,8 +365,8 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
367
365
  }, {
368
366
  default: t(() => [
369
367
  l(X, {
370
- modelValue: h.value,
371
- "onUpdate:modelValue": e[13] || (e[13] = (y) => h.value = y),
368
+ modelValue: A.value,
369
+ "onUpdate:modelValue": e[13] || (e[13] = (y) => A.value = y),
372
370
  type: "daterange",
373
371
  format: "YYYY-MM-DD",
374
372
  "value-format": "YYYY-MM-DD",
@@ -384,7 +382,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
384
382
  ]),
385
383
  _: 1
386
384
  }),
387
- (d = o(A)) != null && d.includes("@") ? (v(), I(u, {
385
+ (u = o(h)) != null && u.includes("@") ? (v(), I(d, {
388
386
  key: 1,
389
387
  span: 6
390
388
  }, {
@@ -393,10 +391,10 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
393
391
  default: t(() => [
394
392
  l(k, {
395
393
  type: "primary",
396
- onClick: e[14] || (e[14] = (y) => o(m).handleQuery())
394
+ onClick: e[14] || (e[14] = (y) => o(i).handleQuery())
397
395
  }, {
398
396
  default: t(() => [
399
- r(i(a.$t("common.search")), 1)
397
+ r(m(a.$t("common.search")), 1)
400
398
  ]),
401
399
  _: 1
402
400
  }),
@@ -404,7 +402,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
404
402
  onClick: e[15] || (e[15] = (y) => z())
405
403
  }, {
406
404
  default: t(() => [
407
- r(i(a.$t("common.reset")), 1)
405
+ r(m(a.$t("common.reset")), 1)
408
406
  ]),
409
407
  _: 1
410
408
  })
@@ -422,7 +420,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
422
420
  default: t(() => {
423
421
  var n;
424
422
  return [
425
- (n = o(A)) != null && n.includes("@") ? M("", !0) : (v(), I(u, {
423
+ (n = o(h)) != null && n.includes("@") ? M("", !0) : (v(), I(d, {
426
424
  key: 0,
427
425
  span: 24
428
426
  }, {
@@ -431,18 +429,18 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
431
429
  default: t(() => [
432
430
  l(k, {
433
431
  type: "primary",
434
- onClick: e[16] || (e[16] = (d) => o(m).handleQuery())
432
+ onClick: e[16] || (e[16] = (u) => o(i).handleQuery())
435
433
  }, {
436
434
  default: t(() => [
437
- r(i(a.$t("common.search")), 1)
435
+ r(m(a.$t("common.search")), 1)
438
436
  ]),
439
437
  _: 1
440
438
  }),
441
439
  l(k, {
442
- onClick: e[17] || (e[17] = (d) => z())
440
+ onClick: e[17] || (e[17] = (u) => z())
443
441
  }, {
444
442
  default: t(() => [
445
- r(i(a.$t("common.reset")), 1)
443
+ r(m(a.$t("common.reset")), 1)
446
444
  ]),
447
445
  _: 1
448
446
  })
@@ -468,7 +466,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
468
466
  header: t(() => [
469
467
  l(V, null, {
470
468
  default: t(() => [
471
- l(u, {
469
+ l(d, {
472
470
  span: 24,
473
471
  class: "container-float"
474
472
  }, {
@@ -494,43 +492,43 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
494
492
  "onUpdate:currentPage": e[20] || (e[20] = (n) => s.value.curPage = n),
495
493
  "page-size": s.value.pageSize,
496
494
  "onUpdate:pageSize": e[21] || (e[21] = (n) => s.value.pageSize = n),
497
- onPagination: e[22] || (e[22] = (n) => o(m).getList())
495
+ onPagination: e[22] || (e[22] = (n) => o(i).getList())
498
496
  }, null, 8, ["total", "current-page", "page-size"])) : M("", !0)
499
497
  ]),
500
498
  default: t(() => {
501
499
  var n;
502
500
  return [
503
- T("div", Ae, [
501
+ T("div", he, [
504
502
  l(V, { gutter: 20 }, {
505
503
  default: t(() => [
506
- l(u, { span: 6 }, {
504
+ l(d, { span: 6 }, {
507
505
  default: t(() => [
508
506
  e[24] || (e[24] = r(" 总交易笔数: ")),
509
- T("span", he, i(o($).totalOrderCount), 1),
507
+ T("span", Ae, m(o($).totalOrderCount), 1),
510
508
  e[25] || (e[25] = r(" 笔 "))
511
509
  ]),
512
510
  _: 1
513
511
  }),
514
- l(u, { span: 6 }, {
512
+ l(d, { span: 6 }, {
515
513
  default: t(() => [
516
514
  e[26] || (e[26] = r(" 总交易金额: ")),
517
- T("span", Ce, i(o($).totalOrderAmount), 1),
515
+ T("span", Ce, m(o($).totalOrderAmount), 1),
518
516
  e[27] || (e[27] = r(" 元 "))
519
517
  ]),
520
518
  _: 1
521
519
  }),
522
- l(u, { span: 6 }, {
520
+ l(d, { span: 6 }, {
523
521
  default: t(() => [
524
522
  e[28] || (e[28] = r(" 手续费: ")),
525
- T("span", Ve, i(o($).totalFeeAmt), 1),
523
+ T("span", Ve, m(o($).totalFeeAmt), 1),
526
524
  e[29] || (e[29] = r(" 元 "))
527
525
  ]),
528
526
  _: 1
529
527
  }),
530
- l(u, { span: 6 }, {
528
+ l(d, { span: 6 }, {
531
529
  default: t(() => [
532
530
  e[30] || (e[30] = r(" 结算金额: ")),
533
- T("span", we, i(o($).totalSettleAmount), 1),
531
+ T("span", we, m(o($).totalSettleAmount), 1),
534
532
  e[31] || (e[31] = r(" 元 "))
535
533
  ]),
536
534
  _: 1
@@ -550,40 +548,37 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
550
548
  onSelectionChange: W,
551
549
  onSortChange: J
552
550
  }, re({
553
- feeAmt: t((d) => [
554
- r(i(d.data.row.feeAmt * 100) + "% ", 1)
555
- ]),
556
- merchantId: t((d) => [
557
- r(i(o(c).merchantBizDict.getValue(d.data.row.merchantId)), 1)
551
+ merchantId: t((u) => [
552
+ r(m(o(c).merchantBizDict.getValue(u.data.row.merchantId)), 1)
558
553
  ]),
559
- instsId: t((d) => [
560
- r(i(o(c).instsBizDict.getValue(d.data.row.instsId)), 1)
554
+ instsId: t((u) => [
555
+ r(m(o(c).instsBizDict.getValue(u.data.row.instsId)), 1)
561
556
  ]),
562
- payMode: t((d) => [
563
- r(i(o(c).payModeBizDict.getEnumValue(d.data.row.payMode)), 1)
557
+ payMode: t((u) => [
558
+ r(m(o(c).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
564
559
  ]),
565
- operation: t((d) => [
560
+ operation: t((u) => [
566
561
  de((v(), B("span", {
567
562
  class: "el-button-color",
568
- onClick: (y) => H(d.data.row)
563
+ onClick: (y) => H(u.data.row)
569
564
  }, [
570
- r(i(a.$t("settleTradeAnalysis.view")), 1)
565
+ r(m(a.$t("settleTradeAnalysis.view")), 1)
571
566
  ], 8, $e)), [
572
567
  [ae, ["settle:settle_trade_analysis:view"]]
573
568
  ])
574
569
  ]),
575
570
  _: 2
576
571
  }, [
577
- (n = o(A)) != null && n.includes("@") ? {
572
+ (n = o(h)) != null && n.includes("@") ? {
578
573
  name: "agentCode",
579
- fn: t((d) => [
580
- r(i(L.value.agentAlias), 1)
574
+ fn: t((u) => [
575
+ r(m(L.value.agentAlias), 1)
581
576
  ]),
582
577
  key: "1"
583
578
  } : {
584
579
  name: "agentCode",
585
- fn: t((d) => [
586
- r(i(o(c).agentBizDict.getValue(d.data.row.agentCode)), 1)
580
+ fn: t((u) => [
581
+ r(m(o(c).agentBizDict.getValue(u.data.row.agentCode)), 1)
587
582
  ]),
588
583
  key: "0"
589
584
  }