xyvcard-settle 0.0.1

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 (54) hide show
  1. package/README.md +51 -0
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +9 -0
  3. package/dist/config-R2xCEQim-DIKcGx0K.mjs +1914 -0
  4. package/dist/constant-CRJQFGuS.mjs +13 -0
  5. package/dist/free-DaGOIXVI-B4EUrY1S.mjs +82 -0
  6. package/dist/history-BI8tBxQK.mjs +4 -0
  7. package/dist/history.vue_vue_type_script_setup_true_lang-Bt76Bf2d.mjs +357 -0
  8. package/dist/index-BIkG_C6y.mjs +576 -0
  9. package/dist/index-BOfabDwA.mjs +430 -0
  10. package/dist/index-BtIY2iCq-Lnfhe6EF.mjs +10 -0
  11. package/dist/index-C0VdCZ5o-BNScagBV.mjs +4699 -0
  12. package/dist/index-D0t5a2Ea.mjs +508 -0
  13. package/dist/index-D1OlL970.mjs +49 -0
  14. package/dist/index-DAOhjHwC-Czfft2rT.mjs +66 -0
  15. package/dist/index-Du5bhBaC.mjs +9532 -0
  16. package/dist/index-iRoYfjIt-BqHR0buV.mjs +46 -0
  17. package/dist/index.mjs +99 -0
  18. package/dist/info-B9D5Y0O1-DEwKlMld.mjs +564 -0
  19. package/dist/info-Crc5gYV2-DBeit1HQ.mjs +1257 -0
  20. package/dist/info-DGVdsQCx-CKD7-DIe.mjs +160 -0
  21. package/dist/info-DzkZlnCT-BybQZHaY.mjs +139 -0
  22. package/dist/info-JTzVjKGk-DYLiAYjO.mjs +237 -0
  23. package/dist/product-BJX8VysN-D3xaS1Fd.mjs +731 -0
  24. package/dist/today-CP9UcD78.mjs +4 -0
  25. package/dist/today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs +349 -0
  26. package/dts/src/App.vue.d.ts +2 -0
  27. package/dts/src/api/settle/dict.d.ts +13 -0
  28. package/dts/src/api/settle/index.d.ts +10 -0
  29. package/dts/src/api/settle/pay-trade/index.d.ts +8 -0
  30. package/dts/src/api/settle/pay-trade/types.d.ts +81 -0
  31. package/dts/src/api/settle/settle-trade-analysis/index.d.ts +8 -0
  32. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +53 -0
  33. package/dts/src/api/settle/settle-trade-merchant/index.d.ts +8 -0
  34. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +65 -0
  35. package/dts/src/api/settle/settle-trade-receipt/index.d.ts +8 -0
  36. package/dts/src/api/settle/settle-trade-receipt/types.d.ts +62 -0
  37. package/dts/src/api/settle/settle-trade-receipt-today/index.d.ts +8 -0
  38. package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +62 -0
  39. package/dts/src/constant.d.ts +6 -0
  40. package/dts/src/index.d.ts +5 -0
  41. package/dts/src/lang/index.d.ts +1 -0
  42. package/dts/src/lang/settle/en.d.ts +0 -0
  43. package/dts/src/lang/settle/zh-cn.d.ts +82 -0
  44. package/dts/src/main.d.ts +4 -0
  45. package/dts/src/permission.d.ts +1 -0
  46. package/dts/src/utils/returnBizLay.d.ts +2 -0
  47. package/dts/src/utils/timePlugin.d.ts +5 -0
  48. package/dts/src/views/payment/pay-trade/index.vue.d.ts +2 -0
  49. package/dts/src/views/payment/settle-trade-analysis/index.vue.d.ts +2 -0
  50. package/dts/src/views/payment/settle-trade-merchant/index.vue.d.ts +2 -0
  51. package/dts/src/views/payment/settle-trade-receipt/history.vue.d.ts +2 -0
  52. package/dts/src/views/payment/settle-trade-receipt/index.vue.d.ts +2 -0
  53. package/dts/src/views/payment/settle-trade-receipt/today.vue.d.ts +2 -0
  54. package/package.json +61 -0
@@ -0,0 +1,508 @@
1
+ import { defineComponent as W, getCurrentInstance as X, ref as w, resolveComponent as u, resolveDirective as Z, createElementBlock as M, openBlock as $, createElementVNode as f, createVNode as l, withCtx as a, unref as n, withKeys as c, createTextVNode as i, toDisplayString as m, withDirectives as x, createBlock as ee, createCommentVNode as le, isRef as N } from "vue";
2
+ import { useUserStore as te, clearEmpty as ae, request as oe, useTableHooks as ne } from "jmash-core";
3
+ import { useI18n as se } from "vue-i18n";
4
+ import { D as b } from "./index-Du5bhBaC.mjs";
5
+ import { C as I } from "./constant-CRJQFGuS.mjs";
6
+ import { useRouter as re } from "vue-router";
7
+ class de {
8
+ getKey(y) {
9
+ return {
10
+ analysisTime: y.analysisTime,
11
+ channelId: y.channelId
12
+ };
13
+ }
14
+ // 查询翻页信息支付交易汇总统计;
15
+ findPage(y) {
16
+ const h = te().user.tenant;
17
+ return ae(y), oe({
18
+ url: "/v1/settle/analysis/merchant/page/" + h,
19
+ method: "get",
20
+ params: y
21
+ });
22
+ }
23
+ }
24
+ const ue = new de(), ie = { class: "app-container" }, pe = { class: "search-container" }, me = { class: "total-num" }, ye = { class: "blue_color" }, fe = { class: "blue_color" }, be = { class: "blue_color" }, ce = { class: "blue_color" }, Te = ["onClick"], we = /* @__PURE__ */ W({
25
+ __name: "index",
26
+ setup(R) {
27
+ const { t: y } = se();
28
+ b.agentBizDict.useValues(), b.channelBizDict.useValues();
29
+ const { proxy: h } = X(), D = re(), s = w({}), {
30
+ tableHooks: d,
31
+ multipleTableRef: S,
32
+ queryFormRef: U,
33
+ listLoading: z,
34
+ tableData: P,
35
+ total: A
36
+ } = ne(y, ue, s);
37
+ let C = d.totalRecord;
38
+ const T = w([]);
39
+ function B(o) {
40
+ T.value = o, T.value.length === 2 && (s.value.analysisTimeStart = h.$moment.formatDate(
41
+ o[0],
42
+ I.RPC_FORMAT_TIME
43
+ ), s.value.analysisTimeEnd = h.$moment.formatDate(
44
+ o[1],
45
+ I.RPC_FORMAT_TIME
46
+ ));
47
+ }
48
+ let v = w([
49
+ // 序号
50
+ {
51
+ label: "settleTradeAnalysis.index",
52
+ type: "index",
53
+ width: "60",
54
+ sortable: "custom",
55
+ isColumn: !0
56
+ },
57
+ // 代理商名称
58
+ {
59
+ label: "settleTradeAnalysis.agentCode",
60
+ prop: "agentCode",
61
+ slotName: "agentCode",
62
+ columnType: "slot",
63
+ width: "130",
64
+ sortable: "custom",
65
+ isColumn: !0
66
+ },
67
+ // 连锁号
68
+ {
69
+ label: "settleTradeAnalysis.likeMerchantNo",
70
+ prop: "chainNo",
71
+ width: "100",
72
+ sortable: "custom",
73
+ isColumn: !0
74
+ },
75
+ // 终端号
76
+ {
77
+ label: "settleTradeAnalysis.termNo",
78
+ prop: "termNo",
79
+ width: "110",
80
+ sortable: "custom",
81
+ isColumn: !0
82
+ },
83
+ // 商户号
84
+ {
85
+ label: "settleTradeAnalysis.likeMerchantNos",
86
+ prop: "merchantNo",
87
+ width: "150",
88
+ sortable: "custom",
89
+ isColumn: !0
90
+ },
91
+ // 交易笔数
92
+ {
93
+ label: "settleTradeAnalysis.orderCount",
94
+ prop: "orderCount",
95
+ width: "110",
96
+ sortable: "custom",
97
+ isColumn: !0
98
+ },
99
+ // 交易总额
100
+ {
101
+ label: "settleTradeAnalysis.orderAmount",
102
+ prop: "orderAmount",
103
+ width: "110",
104
+ sortable: "custom",
105
+ isColumn: !0
106
+ },
107
+ // 结算金额
108
+ {
109
+ label: "settleTradeAnalysis.settleAmount",
110
+ prop: "settleAmount",
111
+ width: "110",
112
+ sortable: "custom",
113
+ isColumn: !0
114
+ },
115
+ // 手续费
116
+ {
117
+ label: "settleTradeAnalysis.feeAmt",
118
+ prop: "feeAmt",
119
+ width: "100",
120
+ sortable: "custom",
121
+ isColumn: !0
122
+ },
123
+ // 交易时间
124
+ {
125
+ label: "settleTradeAnalysis.analysisTime",
126
+ prop: "analysisTime",
127
+ width: "110",
128
+ sortable: "custom",
129
+ isColumn: !0
130
+ },
131
+ // 渠道
132
+ {
133
+ label: "settleTradeAnalysis.channelId",
134
+ prop: "channelId",
135
+ width: "150",
136
+ sortable: "custom",
137
+ isColumn: !0
138
+ },
139
+ {
140
+ label: "common.operate",
141
+ width: "100",
142
+ slotName: "operation",
143
+ columnType: "slot",
144
+ fixed: "right",
145
+ isColumn: !0
146
+ }
147
+ ]);
148
+ function Q(o) {
149
+ D.push({
150
+ path: "/payment/pay-trade",
151
+ query: {
152
+ merchantId: o.merchantId
153
+ }
154
+ });
155
+ }
156
+ function j() {
157
+ T.value = [], d.resetQuery();
158
+ }
159
+ function E(o) {
160
+ d.selectionRows.value = o;
161
+ }
162
+ function K(o) {
163
+ d.handleSort(o.prop, o.order);
164
+ }
165
+ return d.getList(), (o, e) => {
166
+ const Y = u("el-tree-select"), p = u("el-form-item"), r = u("el-col"), V = u("el-input"), g = u("el-row"), _ = u("jmash-select"), F = u("el-date-picker"), k = u("el-button"), q = u("el-form"), L = u("jmash-column-select"), O = u("jmash-table"), H = u("jmash-pagination"), G = u("el-card"), J = Z("hasPerm");
167
+ return $(), M("div", ie, [
168
+ f("div", pe, [
169
+ l(q, {
170
+ ref_key: "queryFormRef",
171
+ ref: U,
172
+ model: s.value,
173
+ inline: !0
174
+ }, {
175
+ default: a(() => [
176
+ l(g, null, {
177
+ default: a(() => [
178
+ l(r, { span: 6 }, {
179
+ default: a(() => [
180
+ l(p, {
181
+ label: o.$t("settleTradeAnalysis.agentCode"),
182
+ prop: "agentCode"
183
+ }, {
184
+ default: a(() => [
185
+ l(Y, {
186
+ modelValue: s.value.agentCode,
187
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => s.value.agentCode = t),
188
+ data: n(b).agentBizDict.values,
189
+ "node-key": "value",
190
+ filterable: "",
191
+ clearable: "",
192
+ placeholder: o.$t("settleTradeAnalysis.agentCodeRead")
193
+ }, null, 8, ["modelValue", "data", "placeholder"])
194
+ ]),
195
+ _: 1
196
+ }, 8, ["label"])
197
+ ]),
198
+ _: 1
199
+ }),
200
+ l(r, { span: 6 }, {
201
+ default: a(() => [
202
+ l(p, {
203
+ label: o.$t("settleTradeAnalysis.likeMerchantNo"),
204
+ prop: "likeMerchantNo"
205
+ }, {
206
+ default: a(() => [
207
+ l(V, {
208
+ modelValue: s.value.likeMerchantNo,
209
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => s.value.likeMerchantNo = t),
210
+ placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
211
+ onKeyup: e[2] || (e[2] = c((t) => n(d).handleQuery(), ["enter"])),
212
+ class: "!w-[203px]"
213
+ }, null, 8, ["modelValue", "placeholder"])
214
+ ]),
215
+ _: 1
216
+ }, 8, ["label"])
217
+ ]),
218
+ _: 1
219
+ }),
220
+ l(r, { span: 6 }, {
221
+ default: a(() => [
222
+ l(p, {
223
+ label: o.$t("settleTradeAnalysis.merchantId"),
224
+ prop: "merchantId"
225
+ }, {
226
+ default: a(() => [
227
+ l(V, {
228
+ modelValue: s.value.merchantId,
229
+ "onUpdate:modelValue": e[3] || (e[3] = (t) => s.value.merchantId = t),
230
+ placeholder: o.$t("settleTradeAnalysis.merchantIdRead"),
231
+ onKeyup: e[4] || (e[4] = c((t) => n(d).handleQuery(), ["enter"])),
232
+ class: "!w-[203px]"
233
+ }, null, 8, ["modelValue", "placeholder"])
234
+ ]),
235
+ _: 1
236
+ }, 8, ["label"])
237
+ ]),
238
+ _: 1
239
+ })
240
+ ]),
241
+ _: 1
242
+ }),
243
+ l(g, null, {
244
+ default: a(() => [
245
+ l(r, { span: 6 }, {
246
+ default: a(() => [
247
+ l(p, {
248
+ label: o.$t("settleTradeAnalysis.payMode"),
249
+ prop: "payMode"
250
+ }, {
251
+ default: a(() => [
252
+ l(_, {
253
+ modelValue: s.value.payMode,
254
+ "onUpdate:modelValue": e[5] || (e[5] = (t) => s.value.payMode = t),
255
+ placeholder: o.$t("settleTradeAnalysis.payModeRead"),
256
+ data: n(b).payModeBizDict.values,
257
+ onKeyup: e[6] || (e[6] = c((t) => n(d).handleQuery(), ["enter"])),
258
+ class: "!w-[203px]",
259
+ filterable: "",
260
+ clearable: ""
261
+ }, null, 8, ["modelValue", "placeholder", "data"])
262
+ ]),
263
+ _: 1
264
+ }, 8, ["label"])
265
+ ]),
266
+ _: 1
267
+ }),
268
+ l(r, { span: 6 }, {
269
+ default: a(() => [
270
+ l(p, {
271
+ label: o.$t("settleTradeAnalysis.termNo"),
272
+ prop: "termNo"
273
+ }, {
274
+ default: a(() => [
275
+ l(V, {
276
+ modelValue: s.value.termNo,
277
+ "onUpdate:modelValue": e[7] || (e[7] = (t) => s.value.termNo = t),
278
+ placeholder: o.$t("settleTradeAnalysis.termNoRead"),
279
+ onKeyup: e[8] || (e[8] = c((t) => n(d).handleQuery(), ["enter"])),
280
+ class: "!w-[203px]"
281
+ }, null, 8, ["modelValue", "placeholder"])
282
+ ]),
283
+ _: 1
284
+ }, 8, ["label"])
285
+ ]),
286
+ _: 1
287
+ }),
288
+ l(r, { span: 6 }, {
289
+ default: a(() => [
290
+ l(p, {
291
+ label: o.$t("settleTradeAnalysis.tradeType"),
292
+ prop: "tradeType"
293
+ }, {
294
+ default: a(() => [
295
+ l(_, {
296
+ modelValue: s.value.tradeType,
297
+ "onUpdate:modelValue": e[9] || (e[9] = (t) => s.value.tradeType = t),
298
+ placeholder: o.$t("settleTradeAnalysis.tradeTypeRead"),
299
+ data: n(b).tradeTypeBizDict.values,
300
+ onKeyup: e[10] || (e[10] = c((t) => n(d).handleQuery(), ["enter"])),
301
+ class: "!w-[203px]",
302
+ filterable: "",
303
+ clearable: ""
304
+ }, null, 8, ["modelValue", "placeholder", "data"])
305
+ ]),
306
+ _: 1
307
+ }, 8, ["label"])
308
+ ]),
309
+ _: 1
310
+ }),
311
+ l(r, { span: 6 }, {
312
+ default: a(() => [
313
+ l(p, {
314
+ label: o.$t("settleTradeAnalysis.channelId"),
315
+ prop: "channelId"
316
+ }, {
317
+ default: a(() => [
318
+ l(_, {
319
+ modelValue: s.value.channelId,
320
+ "onUpdate:modelValue": e[11] || (e[11] = (t) => s.value.channelId = t),
321
+ placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
322
+ data: n(b).channelBizDict.values,
323
+ onKeyup: e[12] || (e[12] = c((t) => n(d).handleQuery(), ["enter"])),
324
+ class: "!w-[203px]",
325
+ filterable: "",
326
+ clearable: ""
327
+ }, null, 8, ["modelValue", "placeholder", "data"])
328
+ ]),
329
+ _: 1
330
+ }, 8, ["label"])
331
+ ]),
332
+ _: 1
333
+ })
334
+ ]),
335
+ _: 1
336
+ }),
337
+ l(g, null, {
338
+ default: a(() => [
339
+ l(r, { span: 6 }, {
340
+ default: a(() => [
341
+ l(p, {
342
+ label: o.$t("settleTradeAnalysis.createTime"),
343
+ prop: "analysisTimeStart"
344
+ }, {
345
+ default: a(() => [
346
+ l(F, {
347
+ modelValue: T.value,
348
+ "onUpdate:modelValue": e[13] || (e[13] = (t) => T.value = t),
349
+ type: "daterange",
350
+ format: "YYYY-MM-DD",
351
+ "value-format": "YYYY-MM-DD",
352
+ "range-separator": "-",
353
+ "start-placeholder": o.$t("settleTradeAnalysis.analysisTimeStart"),
354
+ "end-placeholder": o.$t("settleTradeAnalysis.analysisTimeEnd"),
355
+ onChange: B
356
+ }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
357
+ ]),
358
+ _: 1
359
+ }, 8, ["label"])
360
+ ]),
361
+ _: 1
362
+ }),
363
+ l(r, { span: 18 }, {
364
+ default: a(() => [
365
+ l(p, { class: "search-btn" }, {
366
+ default: a(() => [
367
+ l(k, {
368
+ type: "primary",
369
+ onClick: e[14] || (e[14] = (t) => n(d).handleQuery())
370
+ }, {
371
+ default: a(() => [
372
+ i(m(o.$t("common.search")), 1)
373
+ ]),
374
+ _: 1
375
+ }),
376
+ l(k, {
377
+ onClick: e[15] || (e[15] = (t) => j())
378
+ }, {
379
+ default: a(() => [
380
+ i(m(o.$t("common.reset")), 1)
381
+ ]),
382
+ _: 1
383
+ })
384
+ ]),
385
+ _: 1
386
+ })
387
+ ]),
388
+ _: 1
389
+ })
390
+ ]),
391
+ _: 1
392
+ })
393
+ ]),
394
+ _: 1
395
+ }, 8, ["model"]),
396
+ e[21] || (e[21] = f("div", { class: "clear" }, null, -1))
397
+ ]),
398
+ l(G, {
399
+ shadow: "never",
400
+ class: "table-container"
401
+ }, {
402
+ header: a(() => [
403
+ l(g, null, {
404
+ default: a(() => [
405
+ l(r, {
406
+ span: 24,
407
+ class: "container-float"
408
+ }, {
409
+ default: a(() => [
410
+ l(L, {
411
+ modelValue: n(v),
412
+ "onUpdate:modelValue": e[16] || (e[16] = (t) => N(v) ? v.value = t : v = t),
413
+ "label-name": "settle/settle-trade-analysis"
414
+ }, null, 8, ["modelValue"])
415
+ ]),
416
+ _: 1
417
+ })
418
+ ]),
419
+ _: 1
420
+ })
421
+ ]),
422
+ footer: a(() => [
423
+ n(A) > 0 ? ($(), ee(H, {
424
+ key: 0,
425
+ total: n(A),
426
+ "onUpdate:total": e[17] || (e[17] = (t) => N(A) ? A.value = t : null),
427
+ "current-page": s.value.curPage,
428
+ "onUpdate:currentPage": e[18] || (e[18] = (t) => s.value.curPage = t),
429
+ "page-size": s.value.pageSize,
430
+ "onUpdate:pageSize": e[19] || (e[19] = (t) => s.value.pageSize = t),
431
+ onPagination: e[20] || (e[20] = (t) => n(d).getList())
432
+ }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
433
+ ]),
434
+ default: a(() => [
435
+ f("div", me, [
436
+ l(g, { gutter: 20 }, {
437
+ default: a(() => [
438
+ l(r, { span: 4 }, {
439
+ default: a(() => [
440
+ e[22] || (e[22] = i(" 总交易笔数: ")),
441
+ f("span", ye, m(n(C).totalOrderCount), 1),
442
+ e[23] || (e[23] = i(" 元 "))
443
+ ]),
444
+ _: 1
445
+ }),
446
+ l(r, { span: 4 }, {
447
+ default: a(() => [
448
+ e[24] || (e[24] = i(" 总交易金额: ")),
449
+ f("span", fe, m(n(C).totalOrderAmount), 1),
450
+ e[25] || (e[25] = i(" 元 "))
451
+ ]),
452
+ _: 1
453
+ }),
454
+ l(r, { span: 4 }, {
455
+ default: a(() => [
456
+ e[26] || (e[26] = i(" 手续费: ")),
457
+ f("span", be, m(n(C).totalFeeAmt), 1),
458
+ e[27] || (e[27] = i(" 元 "))
459
+ ]),
460
+ _: 1
461
+ }),
462
+ l(r, { span: 4 }, {
463
+ default: a(() => [
464
+ e[28] || (e[28] = i(" 结算金额: ")),
465
+ f("span", ce, m(n(C).totalSettleAmount), 1),
466
+ e[29] || (e[29] = i(" 元 "))
467
+ ]),
468
+ _: 1
469
+ })
470
+ ]),
471
+ _: 1
472
+ })
473
+ ]),
474
+ l(O, {
475
+ ref_key: "multipleTableRef",
476
+ ref: S,
477
+ "row-key": "settleTradeAnalysisPk",
478
+ "list-loading": n(z),
479
+ data: n(P),
480
+ "table-label": n(v),
481
+ onSelectionChange: E,
482
+ onSortChange: K
483
+ }, {
484
+ agentCode: a((t) => [
485
+ i(m(n(b).agentBizDict.getValue(t.data.row.agentCode)), 1)
486
+ ]),
487
+ operation: a((t) => [
488
+ x(($(), M("span", {
489
+ class: "el-button-color",
490
+ onClick: (ve) => Q(t.data.row)
491
+ }, [
492
+ i(m(o.$t("settleTradeAnalysis.view")), 1)
493
+ ], 8, Te)), [
494
+ [J, ["settle:settle_trade_analysis:view"]]
495
+ ])
496
+ ]),
497
+ _: 1
498
+ }, 8, ["list-loading", "data", "table-label"])
499
+ ]),
500
+ _: 1
501
+ })
502
+ ]);
503
+ };
504
+ }
505
+ });
506
+ export {
507
+ we as default
508
+ };
@@ -0,0 +1,49 @@
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-Bt76Bf2d.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs";
4
+ const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
+ __name: "index",
6
+ setup(C) {
7
+ const o = p("one");
8
+ function _(t) {
9
+ o.value = t.props.name;
10
+ }
11
+ return (t, a) => {
12
+ const l = s("el-tab-pane"), c = s("el-tabs");
13
+ return d(), i("div", v, [
14
+ u("div", h, [
15
+ e(c, {
16
+ modelValue: o.value,
17
+ "onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
18
+ onTabClick: _
19
+ }, {
20
+ default: n(() => [
21
+ e(l, {
22
+ label: "历史到账流水",
23
+ name: "one"
24
+ }, {
25
+ default: n(() => [
26
+ e(f)
27
+ ]),
28
+ _: 1
29
+ }),
30
+ e(l, {
31
+ label: "今日到账流水",
32
+ name: "two"
33
+ }, {
34
+ default: n(() => [
35
+ e(b)
36
+ ]),
37
+ _: 1
38
+ })
39
+ ]),
40
+ _: 1
41
+ }, 8, ["modelValue"])
42
+ ])
43
+ ]);
44
+ };
45
+ }
46
+ });
47
+ export {
48
+ w as default
49
+ };
@@ -0,0 +1,66 @@
1
+ import { CustomBizDict as l, EnumDict as o, BizLayDict as d, BizDict as m } from "jmash-core";
2
+ import { Z as n, Y as y, i as h, a as p } from "./index-Du5bhBaC.mjs";
3
+ import "vue";
4
+ var T = Object.defineProperty, v = (s, e, t) => e in s ? T(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, i = (s, e, t) => v(s, typeof e != "symbol" ? e + "" : e, t);
5
+ class D extends d {
6
+ // 实现 useValues 方法
7
+ useValues() {
8
+ return new Promise((e, t) => {
9
+ if (typeof h.findList > "u") {
10
+ e(this.values);
11
+ return;
12
+ }
13
+ const u = { ...this.query };
14
+ h.findList(u).then(({ data: c }) => {
15
+ const r = c.results;
16
+ this.values.length = 0, this.values.push(...this.convertToLayEntryArray(r)), e(this.values);
17
+ }).catch(t);
18
+ });
19
+ }
20
+ convertToLayEntryArray(e) {
21
+ return e.map((t) => ({
22
+ value: t.agentId,
23
+ label: t.agentAlias,
24
+ parentId: t.parentId || "",
25
+ children: t.children ? this.convertToLayEntryArray(t.children) : []
26
+ }));
27
+ }
28
+ }
29
+ class E extends m {
30
+ // 实现 useValues 方法
31
+ useValues() {
32
+ return new Promise((e, t) => {
33
+ p.findList(this.query).then(({ data: u }) => {
34
+ const c = u.results;
35
+ this.values.length = 0, this.values.push(
36
+ ...c.map(
37
+ (r) => ({
38
+ key: r.instsId,
39
+ value: r.instsName
40
+ })
41
+ )
42
+ ), e(this.values);
43
+ }).catch(t);
44
+ });
45
+ }
46
+ }
47
+ class a {
48
+ }
49
+ i(a, "hasStatusDict", new l(n.HAS_STATUS, {})), // 父代理商
50
+ i(a, "parentIdBizDict", new D({})), // 员工状态
51
+ i(a, "isStatusDict", new l(n.IS_STATUS, {})), // 落地机构
52
+ i(a, "institutionBizDict", new E({})), // 商户类别
53
+ i(a, "mccCodesDict", new y({
54
+ typeCode: "mccCode"
55
+ })), // 机构类型
56
+ i(a, "instsTypeEnum", new o(
57
+ n.MODULE_AGENT,
58
+ n.DICT_INSTSTYPE_CODE
59
+ )), // 代理商状态
60
+ i(a, "agentStatusEnum", new o(
61
+ n.MODULE_AGENT,
62
+ n.DICT_AGENTSTATUS_CODE
63
+ ));
64
+ export {
65
+ a as n
66
+ };