xyvcard-settle 0.0.23 → 0.0.25

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 (73) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  2. package/dist/{history-B8rLL6cg.mjs → history-B-gHLBwh.mjs} +1 -1
  3. package/dist/{history-GWPuNly4.mjs → history-BLctAU0P.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs → history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs} +34 -34
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs → history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs} +20 -21
  6. package/dist/index--_Po9Tig.mjs +43858 -0
  7. package/dist/{index-Cb7J-gqJ.mjs → index-AgzuDVOr.mjs} +117 -100
  8. package/dist/index-BocAk8pD.mjs +176 -0
  9. package/dist/{index-Cd659aKC.mjs → index-C2vMy8ik.mjs} +154 -153
  10. package/dist/index-C7K8v7BO.mjs +2702 -0
  11. package/dist/{index-C3Kdmtt0.mjs → index-CNAVEXHD.mjs} +2 -2
  12. package/dist/{index-by_iuKQb.mjs → index-Cg3fVoEi.mjs} +2 -2
  13. package/dist/index-CpuvJ4Tw.mjs +110 -0
  14. package/dist/index-CwhZGNVj.mjs +131 -0
  15. package/dist/index-DJtiZFc1.mjs +142 -0
  16. package/dist/index-DsIwC6AS.mjs +238 -0
  17. package/dist/index-P-8jwHYX.mjs +690 -0
  18. package/dist/{index-CEE_6GTV.mjs → index-YgHkUquv.mjs} +119 -105
  19. package/dist/{index-CGm_qU0S.mjs → index-dcnBl8Xl.mjs} +165 -140
  20. package/dist/index-eUhFgNKx.mjs +45 -0
  21. package/dist/index-zsIaZMNT.mjs +63 -0
  22. package/dist/index.mjs +3 -2693
  23. package/dist/merchant-DLx9AYoM.mjs +4 -0
  24. package/dist/merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs +77 -0
  25. package/dist/pay-C08cbM_l.mjs +101 -0
  26. package/dist/pay-DW3Una4C.mjs +98 -0
  27. package/dist/payPal-D2I3WIqV.mjs +113 -0
  28. package/dist/payPal-nXPX-3pm.mjs +109 -0
  29. package/dist/sale-BR1khQTm.mjs +4 -0
  30. package/dist/sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs +77 -0
  31. package/dist/style.css +1 -0
  32. package/dist/three-BE8B3lbG.mjs +6 -0
  33. package/dist/{today-BYQ_Njq5.mjs → today-r_ikFBLS.mjs} +1 -1
  34. package/dist/{today-CGeC5FRK.mjs → today-t0-6m3Qr.mjs} +1 -1
  35. package/dist/{today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs → today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs} +71 -81
  36. package/dist/{today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs → today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs} +19 -19
  37. package/dist/tokenExt-SHK5rrb5.mjs +31 -0
  38. package/dist/trend-BOA_Pwtn.mjs +200 -0
  39. package/dist/trend-D8pStiQ5.mjs +171 -0
  40. package/dist/trend-pbYAF-aS.mjs +172 -0
  41. package/dts/src/api/settle/agent-settle/index.d.ts +13 -0
  42. package/dts/src/api/settle/agent-settle/types.d.ts +48 -0
  43. package/dts/src/api/settle/index.d.ts +1 -0
  44. package/dts/src/api/settle/insts-settle/index.d.ts +11 -0
  45. package/dts/src/api/settle/insts-settle/types.d.ts +32 -0
  46. package/dts/src/api/settle/mcht-homePage/index.d.ts +9 -0
  47. package/dts/src/api/settle/mcht-homePage/types.d.ts +34 -0
  48. package/dts/src/api/settle/pay-trade/types.d.ts +1 -0
  49. package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -0
  50. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -0
  51. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +3 -0
  52. package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +2 -0
  53. package/dts/src/constant.d.ts +9 -0
  54. package/dts/src/lang/settle/en.d.ts +0 -89
  55. package/dts/src/lang/settle/zh-cn.d.ts +8 -0
  56. package/dts/src/router/index.d.ts +4 -0
  57. package/dts/src/utils/tokenExt.d.ts +21 -0
  58. package/dts/src/views/payment/agentHomePage/index.vue.d.ts +2 -0
  59. package/dts/src/views/payment/agentHomePage/merchant.vue.d.ts +2 -0
  60. package/dts/src/views/payment/agentHomePage/pay.vue.d.ts +2 -0
  61. package/dts/src/views/payment/agentHomePage/payPal.vue.d.ts +2 -0
  62. package/dts/src/views/payment/agentHomePage/sale.vue.d.ts +2 -0
  63. package/dts/src/views/payment/agentHomePage/trend.vue.d.ts +2 -0
  64. package/dts/src/views/payment/instHomePage/index.vue.d.ts +2 -0
  65. package/dts/src/views/payment/instHomePage/pay.vue.d.ts +2 -0
  66. package/dts/src/views/payment/instHomePage/payPal.vue.d.ts +2 -0
  67. package/dts/src/views/payment/instHomePage/trend.vue.d.ts +2 -0
  68. package/dts/src/views/payment/instsLogin/index.vue.d.ts +2 -0
  69. package/dts/src/views/payment/merchantHomePage/index.vue.d.ts +2 -0
  70. package/dts/src/views/payment/merchantHomePage/trend.vue.d.ts +2 -0
  71. package/package.json +62 -61
  72. package/dist/index-NM7NGo1Y.mjs +0 -534
  73. package/dist/index-q_VWJKNr.mjs +0 -99
@@ -1,534 +0,0 @@
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-q_VWJKNr.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";
7
- class oe {
8
- getKey(s) {
9
- return {
10
- billId: s.billId
11
- };
12
- }
13
- // 查询翻页信息支付订单
14
- findPage(s) {
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,
18
- method: "get",
19
- params: s
20
- });
21
- }
22
- }
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({
24
- __name: "index",
25
- setup(z) {
26
- y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
27
- const { t: s } = te(), { proxy: c } = G(), $ = ae(), n = N({
28
- agentCode: $.query.agentCode,
29
- merchantId: $.query.merchantId,
30
- tokenExt: le.getTokenExt(h().user.tenant)
31
- }), {
32
- tableHooks: m,
33
- multipleTableRef: k,
34
- queryFormRef: P,
35
- listLoading: B,
36
- tableData: E,
37
- total: V
38
- } = ee(s, re, n);
39
- let T = m.totalRecord;
40
- const g = N([]);
41
- function U(r) {
42
- g.value = r, g.value.length === 2 && (n.value.startCreateTime = c.$moment.formatDate(
43
- r[0],
44
- R.RPC_FORMAT_TIME
45
- ), n.value.endCreateTime = c.$moment.formatDate(
46
- r[1],
47
- R.RPC_FORMAT_TIME
48
- ));
49
- }
50
- let w = N([
51
- // 序号
52
- {
53
- label: "payTrade.index",
54
- type: "index",
55
- width: "60",
56
- isColumn: !0
57
- },
58
- // 商户号
59
- {
60
- label: "payTrade.merchantNo",
61
- prop: "merchantNo",
62
- width: "150",
63
- sortable: "custom",
64
- isColumn: !0
65
- },
66
- // 商户名称
67
- {
68
- label: "payTrade.merchantId",
69
- prop: "merchantId",
70
- slotName: "merchantId",
71
- columnType: "slot",
72
- width: "300",
73
- sortable: "custom",
74
- isColumn: !0
75
- },
76
- // 终端号
77
- {
78
- label: "payTrade.termNo",
79
- prop: "termNo",
80
- width: "100",
81
- sortable: "custom",
82
- isColumn: !0
83
- },
84
- // 订单号
85
- {
86
- label: "payTrade.orderNo",
87
- prop: "orderNo",
88
- width: "300",
89
- sortable: "custom",
90
- isColumn: !0
91
- },
92
- // 商户手续费
93
- {
94
- label: "payTrade.commission",
95
- prop: "commission",
96
- width: "120",
97
- sortable: "custom",
98
- isColumn: !0
99
- },
100
- // 商户率
101
- {
102
- label: "payTrade.feeRatePct",
103
- prop: "feeRatePct",
104
- slotName: "feeRatePct",
105
- columnType: "slot",
106
- width: "100",
107
- sortable: "custom",
108
- isColumn: !0
109
- },
110
- // 交易金额
111
- {
112
- label: "payTrade.tradeAmount",
113
- prop: "tradeAmount",
114
- width: "110",
115
- sortable: "custom",
116
- isColumn: !0
117
- },
118
- // 交易类型
119
- {
120
- label: "payTrade.tradeType",
121
- prop: "tradeType",
122
- slotName: "tradeType",
123
- columnType: "slot",
124
- width: "110",
125
- sortable: "custom",
126
- isColumn: !0
127
- },
128
- // 支付方式
129
- {
130
- label: "payTrade.payMode",
131
- prop: "payMode",
132
- slotName: "payMode",
133
- columnType: "slot",
134
- width: "110",
135
- sortable: "custom",
136
- isColumn: !0
137
- },
138
- // 交易流水号
139
- {
140
- label: "payTrade.tradeNo",
141
- prop: "tradeNo",
142
- width: "280",
143
- sortable: "custom",
144
- isColumn: !0
145
- },
146
- // 交易日期
147
- {
148
- label: "payTrade.createTimes",
149
- prop: "createTime",
150
- slotName: "createTime",
151
- columnType: "slot",
152
- width: "150",
153
- sortable: "custom",
154
- isColumn: !0
155
- },
156
- // 支付状态
157
- {
158
- label: "payTrade.orderStatus",
159
- prop: "orderStatus",
160
- slotName: "orderStatus",
161
- columnType: "slot",
162
- width: "110",
163
- sortable: "custom",
164
- isColumn: !0
165
- },
166
- // 支付渠道
167
- {
168
- label: "payTrade.instsId",
169
- prop: "instsId",
170
- slotName: "instsId",
171
- columnType: "slot",
172
- width: "150",
173
- sortable: "custom",
174
- isColumn: !0
175
- }
176
- ]);
177
- function Y() {
178
- n.value.merchantId = "", g.value = [], m.resetQuery();
179
- }
180
- function A(r) {
181
- m.selectionRows.value = r;
182
- }
183
- function Q(r) {
184
- m.handleSort(r.prop, r.order);
185
- }
186
- return m.getList(), (r, e) => {
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, [
189
- f("div", de, [
190
- a(K, {
191
- ref_key: "queryFormRef",
192
- ref: P,
193
- model: n.value,
194
- inline: !0
195
- }, {
196
- default: l(() => [
197
- a(S, null, {
198
- default: l(() => [
199
- a(u, { span: 6 }, {
200
- default: l(() => [
201
- a(b, {
202
- label: r.$t("payTrade.orderNo"),
203
- prop: "orderNo"
204
- }, {
205
- default: l(() => [
206
- a(_, {
207
- modelValue: n.value.orderNo,
208
- "onUpdate:modelValue": e[0] || (e[0] = (t) => n.value.orderNo = t),
209
- placeholder: r.$t("payTrade.orderNo"),
210
- onKeyup: e[1] || (e[1] = v((t) => o(m).handleQuery(), ["enter"])),
211
- class: "!w-[203px]"
212
- }, null, 8, ["modelValue", "placeholder"])
213
- ]),
214
- _: 1
215
- }, 8, ["label"])
216
- ]),
217
- _: 1
218
- }),
219
- a(u, { span: 6 }, {
220
- default: l(() => [
221
- a(b, {
222
- label: r.$t("payTrade.payMode"),
223
- prop: "payMode"
224
- }, {
225
- default: l(() => [
226
- a(C, {
227
- modelValue: n.value.payMode,
228
- "onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.payMode = t),
229
- placeholder: r.$t("payTrade.payModeRead"),
230
- data: o(y).payModeBizDict.values,
231
- onKeyup: e[3] || (e[3] = v((t) => o(m).handleQuery(), ["enter"])),
232
- class: "!w-[203px]",
233
- filterable: "",
234
- clearable: ""
235
- }, null, 8, ["modelValue", "placeholder", "data"])
236
- ]),
237
- _: 1
238
- }, 8, ["label"])
239
- ]),
240
- _: 1
241
- }),
242
- a(u, { span: 6 }, {
243
- default: l(() => [
244
- a(b, {
245
- label: r.$t("payTrade.tradeType"),
246
- prop: "tradeType"
247
- }, {
248
- default: l(() => [
249
- a(C, {
250
- modelValue: n.value.tradeType,
251
- "onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.tradeType = t),
252
- placeholder: r.$t("payTrade.tradeTypeRead"),
253
- data: o(y).tradeTypeBizDict.values,
254
- onKeyup: e[5] || (e[5] = v((t) => o(m).handleQuery(), ["enter"])),
255
- class: "!w-[203px]",
256
- filterable: "",
257
- clearable: ""
258
- }, null, 8, ["modelValue", "placeholder", "data"])
259
- ]),
260
- _: 1
261
- }, 8, ["label"])
262
- ]),
263
- _: 1
264
- }),
265
- a(u, { span: 6 }, {
266
- default: l(() => [
267
- a(b, {
268
- label: r.$t("payTrade.instsId"),
269
- prop: "instsId"
270
- }, {
271
- default: l(() => [
272
- a(C, {
273
- modelValue: n.value.instsId,
274
- "onUpdate:modelValue": e[6] || (e[6] = (t) => n.value.instsId = t),
275
- placeholder: r.$t("payTrade.instsIdRead"),
276
- data: o(y).instsBizDict.values,
277
- onKeyup: e[7] || (e[7] = v((t) => o(m).handleQuery(), ["enter"])),
278
- class: "!w-[203px]",
279
- filterable: "",
280
- clearable: ""
281
- }, null, 8, ["modelValue", "placeholder", "data"])
282
- ]),
283
- _: 1
284
- }, 8, ["label"])
285
- ]),
286
- _: 1
287
- })
288
- ]),
289
- _: 1
290
- }),
291
- a(S, null, {
292
- default: l(() => [
293
- a(u, { span: 6 }, {
294
- default: l(() => [
295
- a(b, {
296
- label: r.$t("payTrade.termNo"),
297
- prop: "termNo"
298
- }, {
299
- default: l(() => [
300
- a(_, {
301
- modelValue: n.value.termNo,
302
- "onUpdate:modelValue": e[8] || (e[8] = (t) => n.value.termNo = t),
303
- placeholder: r.$t("payTrade.termNo"),
304
- onKeyup: e[9] || (e[9] = v((t) => o(m).handleQuery(), ["enter"])),
305
- class: "!w-[203px]"
306
- }, null, 8, ["modelValue", "placeholder"])
307
- ]),
308
- _: 1
309
- }, 8, ["label"])
310
- ]),
311
- _: 1
312
- }),
313
- a(u, { span: 6 }, {
314
- default: l(() => [
315
- a(b, {
316
- label: r.$t("payTrade.orderStatus"),
317
- prop: "orderStatus"
318
- }, {
319
- default: l(() => [
320
- a(C, {
321
- modelValue: n.value.orderStatus,
322
- "onUpdate:modelValue": e[10] || (e[10] = (t) => n.value.orderStatus = t),
323
- placeholder: r.$t("payTrade.orderStatusRead"),
324
- data: o(y).orderStatusBizDict.values,
325
- onKeyup: e[11] || (e[11] = v((t) => o(m).handleQuery(), ["enter"])),
326
- class: "!w-[203px]",
327
- filterable: "",
328
- clearable: ""
329
- }, null, 8, ["modelValue", "placeholder", "data"])
330
- ]),
331
- _: 1
332
- }, 8, ["label"])
333
- ]),
334
- _: 1
335
- }),
336
- a(u, { span: 6 }, {
337
- default: l(() => [
338
- a(b, {
339
- label: r.$t("payTrade.createTime"),
340
- prop: "startCreateTime"
341
- }, {
342
- default: l(() => [
343
- a(j, {
344
- modelValue: g.value,
345
- "onUpdate:modelValue": e[12] || (e[12] = (t) => g.value = t),
346
- type: "daterange",
347
- format: "YYYY-MM-DD",
348
- "value-format": "YYYY-MM-DD",
349
- "range-separator": "-",
350
- "start-placeholder": r.$t("payTrade.startCreateTime"),
351
- "end-placeholder": r.$t("payTrade.endCreateTime"),
352
- onChange: U,
353
- style: { width: "280px" }
354
- }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
355
- ]),
356
- _: 1
357
- }, 8, ["label"])
358
- ]),
359
- _: 1
360
- }),
361
- a(u, { span: 6 }, {
362
- default: l(() => [
363
- a(b, { class: "search-btn" }, {
364
- default: l(() => [
365
- a(D, {
366
- type: "primary",
367
- onClick: e[13] || (e[13] = (t) => o(m).handleQuery())
368
- }, {
369
- default: l(() => [
370
- d(p(r.$t("common.search")), 1)
371
- ]),
372
- _: 1
373
- }),
374
- a(D, {
375
- onClick: e[14] || (e[14] = (t) => Y())
376
- }, {
377
- default: l(() => [
378
- d(p(r.$t("common.reset")), 1)
379
- ]),
380
- _: 1
381
- })
382
- ]),
383
- _: 1
384
- })
385
- ]),
386
- _: 1
387
- })
388
- ]),
389
- _: 1
390
- })
391
- ]),
392
- _: 1
393
- }, 8, ["model"]),
394
- e[20] || (e[20] = f("div", { class: "clear" }, null, -1))
395
- ]),
396
- a(L, {
397
- shadow: "never",
398
- class: "table-container"
399
- }, {
400
- header: l(() => [
401
- a(S, null, {
402
- default: l(() => [
403
- a(u, {
404
- span: 24,
405
- class: "container-float"
406
- }, {
407
- default: l(() => [
408
- a(O, {
409
- modelValue: o(w),
410
- "onUpdate:modelValue": e[15] || (e[15] = (t) => M(w) ? w.value = t : w = t),
411
- "label-name": "settle/settle-trade-analysis"
412
- }, null, 8, ["modelValue"])
413
- ]),
414
- _: 1
415
- })
416
- ]),
417
- _: 1
418
- })
419
- ]),
420
- footer: l(() => [
421
- o(V) > 0 ? (I(), W(H, {
422
- key: 0,
423
- total: o(V),
424
- "onUpdate:total": e[16] || (e[16] = (t) => M(V) ? V.value = t : null),
425
- "current-page": n.value.curPage,
426
- "onUpdate:currentPage": e[17] || (e[17] = (t) => n.value.curPage = t),
427
- "page-size": n.value.pageSize,
428
- "onUpdate:pageSize": e[18] || (e[18] = (t) => n.value.pageSize = t),
429
- onPagination: e[19] || (e[19] = (t) => o(m).getList())
430
- }, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
431
- ]),
432
- default: l(() => [
433
- f("div", se, [
434
- a(S, { gutter: 20 }, {
435
- default: l(() => [
436
- a(u, { span: 4 }, {
437
- default: l(() => [
438
- e[21] || (e[21] = d(" 交易笔数: ")),
439
- f("span", ue, p(o(T).totalSize), 1),
440
- e[22] || (e[22] = d(" 笔 "))
441
- ]),
442
- _: 1
443
- }),
444
- a(u, { span: 4 }, {
445
- default: l(() => [
446
- e[23] || (e[23] = d(" 交易金额: ")),
447
- f("span", pe, p(o(T).totalAmount), 1),
448
- e[24] || (e[24] = d(" 元 "))
449
- ]),
450
- _: 1
451
- }),
452
- a(u, { span: 4 }, {
453
- default: l(() => [
454
- e[25] || (e[25] = d(" 收款笔数: ")),
455
- f("span", me, p(o(T).paidOrder), 1),
456
- e[26] || (e[26] = d(" 笔 "))
457
- ]),
458
- _: 1
459
- }),
460
- a(u, { span: 4 }, {
461
- default: l(() => [
462
- e[27] || (e[27] = d(" 收款金额: ")),
463
- f("span", ie, p(o(T).paidAmount), 1),
464
- e[28] || (e[28] = d(" 元 "))
465
- ]),
466
- _: 1
467
- }),
468
- a(u, { span: 4 }, {
469
- default: l(() => [
470
- e[29] || (e[29] = d(" 退款笔数: ")),
471
- f("span", ye, p(o(T).refundOrder), 1),
472
- e[30] || (e[30] = d(" 笔 "))
473
- ]),
474
- _: 1
475
- }),
476
- a(u, { span: 4 }, {
477
- default: l(() => [
478
- e[31] || (e[31] = d(" 退款金额: ")),
479
- f("span", fe, p(o(T).refundAmount), 1),
480
- e[32] || (e[32] = d(" 元 "))
481
- ]),
482
- _: 1
483
- })
484
- ]),
485
- _: 1
486
- })
487
- ]),
488
- a(F, {
489
- ref_key: "multipleTableRef",
490
- ref: k,
491
- "row-key": "payTradePk",
492
- isSelection: !1,
493
- "list-loading": o(B),
494
- data: o(E),
495
- "table-label": o(w),
496
- onSelectionChange: A,
497
- onSortChange: Q
498
- }, {
499
- feeRatePct: l((t) => [
500
- d(p(t.data.row.feeRatePct) + "% ", 1)
501
- ]),
502
- tradeType: l((t) => [
503
- d(p(o(y).tradeTypeBizDict.getEnumValue(t.data.row.tradeType)), 1)
504
- ]),
505
- instsId: l((t) => [
506
- d(p(o(y).instsBizDict.getValue(t.data.row.instsId)), 1)
507
- ]),
508
- orderStatus: l((t) => [
509
- d(p(o(y).orderStatusBizDict.getEnumValue(t.data.row.orderStatus)), 1)
510
- ]),
511
- payMode: l((t) => [
512
- d(p(o(y).payModeBizDict.getEnumValue(t.data.row.payMode)), 1)
513
- ]),
514
- merchantId: l((t) => [
515
- d(p(o(y).merchantBizDict.getValue(t.data.row.merchantId)), 1)
516
- ]),
517
- createTime: l((t) => [
518
- d(p(o(c).$moment.formatDate(
519
- t.data.row.createTime,
520
- "YYYY-MM-DD HH:mm"
521
- )), 1)
522
- ]),
523
- _: 1
524
- }, 8, ["list-loading", "data", "table-label"])
525
- ]),
526
- _: 1
527
- })
528
- ]);
529
- };
530
- }
531
- });
532
- export {
533
- Ve as default
534
- };
@@ -1,99 +0,0 @@
1
- var p = Object.defineProperty;
2
- var y = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
- var a = (e, t, s) => y(e, typeof t != "symbol" ? t + "" : t, s);
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");
17
- function o(e, t, s) {
18
- return !Array.isArray(e) || e.length === 0 ? [] : e.map((r) => {
19
- let c = [];
20
- return Array.isArray(r.children) && r.children.length > 0 && (c = o(r.children, t, s)), {
21
- value: r[s],
22
- label: r[t],
23
- parentId: r.parentId,
24
- children: c
25
- };
26
- });
27
- }
28
- class m extends d {
29
- // 实现 useValues 方法
30
- useValues() {
31
- return new Promise((t, s) => {
32
- this.query.approved = i.AGENT_AGREE, this.query.hasApproved = !0, A.findList(this.query).then(({ data: n }) => {
33
- this.values.length = 0, this.values.push(
34
- ...o(n.results, "agentAlias", "agentCode")
35
- ), t(this.values);
36
- }).catch(s);
37
- });
38
- }
39
- }
40
- class D extends l {
41
- // 实现 useValues 方法
42
- useValues() {
43
- return new Promise((t, s) => {
44
- E.findList(this.query).then(({ data: n }) => {
45
- console.log(n, "=> data2");
46
- const r = n.results;
47
- this.values.length = 0, this.values.push(
48
- ...r.map(
49
- (c) => ({
50
- key: c.instsId,
51
- value: c.instsName
52
- })
53
- )
54
- ), t(this.values);
55
- }).catch(s);
56
- });
57
- }
58
- }
59
- class v extends l {
60
- // 实现 useValues 方法
61
- useValues() {
62
- return new Promise((t, s) => {
63
- T.findList(this.query).then(({ data: n }) => {
64
- console.log(n, "=> data2");
65
- const r = n.results;
66
- this.values.length = 0, this.values.push(
67
- ...r.map(
68
- (c) => ({
69
- key: c.merchantId,
70
- value: c.merchantName
71
- })
72
- )
73
- ), t(this.values);
74
- }).catch(s);
75
- });
76
- }
77
- }
78
- class u {
79
- }
80
- // 代理商
81
- a(u, "agentBizDict", new m({})), // 落地机构
82
- a(u, "instsBizDict", new D({})), // 商户名称
83
- a(u, "merchantBizDict", new v({})), // 支付方式
84
- a(u, "payModeBizDict", new h(
85
- i.PAYMENT_DICT,
86
- i.PAY_MODE
87
- )), // 交易类型
88
- a(u, "tradeTypeBizDict", new h(
89
- i.PAYMENT_DICT,
90
- i.TRADE_TYPE
91
- )), // 支付状态
92
- a(u, "orderStatusBizDict", new h(
93
- i.PAYMENT_DICT,
94
- i.ORDER_STATUS
95
- ));
96
- export {
97
- i as C,
98
- u as D
99
- };