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,1258 +0,0 @@
1
- import { defineComponent as R, getCurrentInstance as O, ref as D, resolveComponent as I, createElementBlock as w, openBlock as _, createVNode as l, withCtx as e, createTextVNode as s, toDisplayString as t, unref as r, createElementVNode as n, computed as S, Fragment as E, renderList as P, createBlock as H } from "vue";
2
- import { H as q } from "./index-eCinebyw-DzNkuViw.mjs";
3
- import { useRoute as L } from "vue-router";
4
- import { x as C, s as z } from "./index-V24QP_Fz-BzkjeGHi-CUvjUkVt.mjs";
5
- import { fileApi as x, useTableHooks as Y, useUserStore as M, request as A, clearEmpty as V } from "jmash-core";
6
- import { useI18n as j } from "vue-i18n";
7
- class K {
8
- getKey(i) {
9
- return {
10
- fileId: i.fileId
11
- };
12
- }
13
- // 查询列表信息附件表
14
- findList(i) {
15
- const v = M().user.tenant;
16
- return i && (i.hasAttachType = i.attachType !== void 0), i.tokenExt = localStorage.getItem("tokenExt") ?? "", V(i), A({
17
- url: "/v1/merchant/file/list/" + v,
18
- method: "get",
19
- params: i
20
- });
21
- }
22
- // 创建实体附件表
23
- create(i) {
24
- return i.tenant = M().user.tenant, V(i), A({
25
- url: "/v1/merchant/file",
26
- method: "post",
27
- data: i
28
- });
29
- }
30
- }
31
- const B = new K(), G = { class: "app-container" }, F = { class: "cell-item" }, Z = { class: "cell-item" }, J = { class: "cell-item" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, ee = { class: "cell-item" }, le = { class: "cell-item" }, te = { class: "cell-item" }, ae = { class: "cell-item" }, ne = { class: "cell-item" }, ie = { class: "cell-item" }, ce = /* @__PURE__ */ R({
32
- __name: "business",
33
- props: {
34
- channelData: {
35
- type: Object,
36
- default: () => ({})
37
- }
38
- },
39
- setup(o) {
40
- const i = L();
41
- console.log(o.channelData.channelId, "=> props.channelData.channelId");
42
- const v = D([]), u = S(() => v.value.map(
43
- (a) => x.imageUrl(a.filePath)
44
- )), h = D([]), f = S(() => h.value.map(
45
- (a) => x.imageUrl(a.filePath)
46
- )), p = D([]), d = S(() => p.value.map(
47
- (a) => x.imageUrl(a.filePath)
48
- )), m = D([]), b = S(() => m.value.map(
49
- (a) => x.imageUrl(a.filePath)
50
- )), g = D([]), N = S(() => g.value.map(
51
- (a) => x.imageUrl(a.filePath)
52
- ));
53
- return B.findList({ channelId: i.query.channelId }).then((a) => {
54
- (a.data.results || []).forEach(($) => {
55
- const c = { filePath: $.filePath };
56
- switch ($.attachType) {
57
- case "BUSINESS_LICENSE":
58
- v.value.push(c);
59
- break;
60
- case "SHOP_OUTSIDE_IMG":
61
- h.value.push(c);
62
- break;
63
- case "SHOP_INSIDE_IMG":
64
- p.value.push(c);
65
- break;
66
- case "CHECKSTAND_IMG":
67
- m.value.push(c);
68
- break;
69
- case "OTHER_IMG":
70
- g.value.push(c);
71
- break;
72
- }
73
- });
74
- }), (a, $) => {
75
- const c = I("el-descriptions-item"), T = I("el-image"), U = I("el-descriptions");
76
- return _(), w("div", G, [
77
- $[0] || ($[0] = n("div", { class: "title-content" }, "执照信息", -1)),
78
- l(U, {
79
- column: 2,
80
- border: "",
81
- class: "right-label-descriptions"
82
- }, {
83
- default: e(() => [
84
- l(c, null, {
85
- label: e(() => [
86
- n("div", F, t(a.$t("channel.storeType")), 1)
87
- ]),
88
- default: e(() => [
89
- s(" " + t(r(C).storeEnum.getEnumValue(o.channelData.storeType)), 1)
90
- ]),
91
- _: 1
92
- }),
93
- l(c, null, {
94
- label: e(() => [
95
- n("div", Z, t(a.$t("channel.merchantName")), 1)
96
- ]),
97
- default: e(() => [
98
- s(" " + t(o.channelData.merchantName), 1)
99
- ]),
100
- _: 1
101
- }),
102
- l(c, null, {
103
- label: e(() => [
104
- n("div", J, t(a.$t("channel.business")), 1)
105
- ]),
106
- default: e(() => [
107
- (_(!0), w(E, null, P(v.value, (k, y) => (_(), w("span", { key: y }, [
108
- l(T, {
109
- src: r(x).imageUrl(k.filePath, 80, 80),
110
- "preview-src-list": u.value,
111
- "preview-teleported": "",
112
- "hide-on-click-modal": "",
113
- "initial-index": y,
114
- fit: "cover"
115
- }, null, 8, ["src", "preview-src-list", "initial-index"])
116
- ]))), 128))
117
- ]),
118
- _: 1
119
- }),
120
- l(c, null, {
121
- label: e(() => [
122
- n("div", Q, t(a.$t("channel.creditCode")), 1)
123
- ]),
124
- default: e(() => [
125
- s(" " + t(o.channelData.creditCode), 1)
126
- ]),
127
- _: 1
128
- }),
129
- l(c, null, {
130
- label: e(() => [
131
- n("div", W, t(a.$t("channel.creditName")), 1)
132
- ]),
133
- default: e(() => [
134
- s(" " + t(o.channelData.creditName), 1)
135
- ]),
136
- _: 1
137
- }),
138
- l(c, null, {
139
- label: e(() => [
140
- n("div", X, t(a.$t("channel.creditAddress")), 1)
141
- ]),
142
- default: e(() => [
143
- s(" " + t(o.channelData.creditAddress), 1)
144
- ]),
145
- _: 1
146
- }),
147
- l(c, null, {
148
- label: e(() => [
149
- n("div", ee, t(a.$t("channel.creditStartDate")), 1)
150
- ]),
151
- default: e(() => [
152
- s(" " + t(o.channelData.creditStartDate), 1)
153
- ]),
154
- _: 1
155
- }),
156
- l(c, null, {
157
- label: e(() => [
158
- n("div", le, t(a.$t("channel.creditEndDate")), 1)
159
- ]),
160
- default: e(() => [
161
- s(" " + t(o.channelData.creditEndDate), 1)
162
- ]),
163
- _: 1
164
- })
165
- ]),
166
- _: 1
167
- }),
168
- $[1] || ($[1] = n("div", { class: "title-content" }, "门店信息", -1)),
169
- l(U, {
170
- column: 2,
171
- border: "",
172
- class: "right-label-descriptions margin-top"
173
- }, {
174
- default: e(() => [
175
- l(c, null, {
176
- label: e(() => [
177
- n("div", te, t(a.$t("channel.shopOutside")), 1)
178
- ]),
179
- default: e(() => [
180
- (_(!0), w(E, null, P(h.value, (k, y) => (_(), w("span", { key: y }, [
181
- l(T, {
182
- src: k,
183
- "preview-src-list": f.value,
184
- "preview-teleported": "",
185
- "hide-on-click-modal": "",
186
- "initial-index": y,
187
- fit: "cover"
188
- }, null, 8, ["src", "preview-src-list", "initial-index"])
189
- ]))), 128))
190
- ]),
191
- _: 1
192
- }),
193
- l(c, null, {
194
- label: e(() => [
195
- n("div", ae, t(a.$t("channel.shopInside")), 1)
196
- ]),
197
- default: e(() => [
198
- (_(!0), w(E, null, P(p.value, (k, y) => (_(), w("span", { key: y }, [
199
- l(T, {
200
- src: k,
201
- "preview-src-list": d.value,
202
- "preview-teleported": "",
203
- "hide-on-click-modal": "",
204
- "initial-index": y,
205
- fit: "cover"
206
- }, null, 8, ["src", "preview-src-list", "initial-index"])
207
- ]))), 128))
208
- ]),
209
- _: 1
210
- }),
211
- l(c, null, {
212
- label: e(() => [
213
- n("div", ne, t(a.$t("channel.checktand")), 1)
214
- ]),
215
- default: e(() => [
216
- (_(!0), w(E, null, P(m.value, (k, y) => (_(), w("span", { key: y }, [
217
- l(T, {
218
- src: k,
219
- "preview-src-list": b.value,
220
- "preview-teleported": "",
221
- "hide-on-click-modal": "",
222
- "initial-index": y,
223
- fit: "cover"
224
- }, null, 8, ["src", "preview-src-list", "initial-index"])
225
- ]))), 128))
226
- ]),
227
- _: 1
228
- }),
229
- l(c, null, {
230
- label: e(() => [
231
- n("div", ie, t(a.$t("channel.others")), 1)
232
- ]),
233
- default: e(() => [
234
- (_(!0), w(E, null, P(g.value, (k, y) => (_(), w("span", { key: y }, [
235
- l(T, {
236
- src: k,
237
- "preview-src-list": N.value,
238
- "preview-teleported": "",
239
- "hide-on-click-modal": "",
240
- "initial-index": y,
241
- fit: "cover"
242
- }, null, 8, ["src", "preview-src-list", "initial-index"])
243
- ]))), 128))
244
- ]),
245
- _: 1
246
- })
247
- ]),
248
- _: 1
249
- })
250
- ]);
251
- };
252
- }
253
- }), re = { class: "app-container" }, se = { class: "cell-item" }, ue = { class: "cell-item" }, de = { class: "cell-item" }, oe = { class: "cell-item" }, me = { class: "cell-item" }, pe = { class: "cell-item" }, he = { class: "cell-item" }, fe = { class: "cell-item" }, be = { class: "cell-item" }, ve = { class: "cell-item" }, ye = { class: "cell-item" }, _e = { class: "cell-item" }, ge = { class: "cell-item" }, we = { class: "cell-item" }, Ie = /* @__PURE__ */ R({
254
- __name: "account",
255
- props: {
256
- channelData: {
257
- type: Object,
258
- default: () => ({})
259
- }
260
- },
261
- setup(o) {
262
- const i = L(), v = D([]), u = S(() => v.value.map((a) => {
263
- x.imageUrl(a.filePath);
264
- })), h = D([]), f = S(() => h.value.map(
265
- (a) => x.imageUrl(a.filePath)
266
- )), p = D([]), d = S(() => p.value.map(
267
- (a) => x.imageUrl(a.filePath)
268
- )), m = D([]), b = S(() => m.value.map(
269
- (a) => x.imageUrl(a.filePath)
270
- )), g = D([]), N = S(() => g.value.map(
271
- (a) => x.imageUrl(a.filePath)
272
- ));
273
- return B.findList({ channelId: i.query.channelId }).then((a) => {
274
- (a.data.results || []).forEach(($) => {
275
- const c = { filePath: $.filePath };
276
- switch ($.attachType) {
277
- case "OPENING_PERMIT":
278
- v.value.push(c);
279
- break;
280
- case "BANK_CARD":
281
- h.value.push(c);
282
- break;
283
- case "SETTLE_ID_CARD_FRONT":
284
- p.value.push(c);
285
- break;
286
- case "SETTLE_ID_CARD_BEHIND":
287
- m.value.push(c);
288
- break;
289
- case "LETTER_OF_AUTHORIZATION":
290
- g.value.push(c);
291
- break;
292
- }
293
- });
294
- }), (a, $) => {
295
- const c = I("el-descriptions-item"), T = I("el-image"), U = I("el-descriptions");
296
- return _(), w("div", re, [
297
- $[0] || ($[0] = n("div", { class: "title-content" }, "结算信息", -1)),
298
- l(U, {
299
- column: 2,
300
- border: "",
301
- class: "right-label-descriptions"
302
- }, {
303
- default: e(() => [
304
- l(c, null, {
305
- label: e(() => [
306
- n("div", se, t(a.$t("channel.settleType")), 1)
307
- ]),
308
- default: e(() => [
309
- s(" " + t(o.channelData.settleType), 1)
310
- ]),
311
- _: 1
312
- }),
313
- l(c, null, {
314
- label: e(() => [
315
- n("div", ue, t(a.$t("channel.openingPermit")), 1)
316
- ]),
317
- default: e(() => [
318
- (_(!0), w(E, null, P(v.value, (k, y) => (_(), w("span", { key: y }, [
319
- l(T, {
320
- src: k,
321
- "preview-src-list": u.value,
322
- "preview-teleported": "",
323
- "hide-on-click-modal": "",
324
- "initial-index": y,
325
- fit: "cover"
326
- }, null, 8, ["src", "preview-src-list", "initial-index"])
327
- ]))), 128))
328
- ]),
329
- _: 1
330
- }),
331
- l(c, null, {
332
- label: e(() => [
333
- n("div", de, t(a.$t("channel.bankCard")), 1)
334
- ]),
335
- default: e(() => [
336
- (_(!0), w(E, null, P(h.value, (k, y) => (_(), w("span", { key: y }, [
337
- l(T, {
338
- src: k,
339
- "preview-src-list": f.value,
340
- "preview-teleported": "",
341
- "hide-on-click-modal": "",
342
- "initial-index": y,
343
- fit: "cover"
344
- }, null, 8, ["src", "preview-src-list", "initial-index"])
345
- ]))), 128))
346
- ]),
347
- _: 1
348
- }),
349
- l(c, null, {
350
- label: e(() => [
351
- n("div", oe, t(a.$t("channel.accountName")), 1)
352
- ]),
353
- default: e(() => [
354
- s(" " + t(o.channelData.accountName), 1)
355
- ]),
356
- _: 1
357
- }),
358
- l(c, null, {
359
- label: e(() => [
360
- n("div", me, t(a.$t("channel.accountNo")), 1)
361
- ]),
362
- default: e(() => [
363
- s(" " + t(o.channelData.accountNo), 1)
364
- ]),
365
- _: 1
366
- }),
367
- l(c, null, {
368
- label: e(() => [
369
- n("div", pe, t(a.$t("channel.accountCityName")), 1)
370
- ]),
371
- default: e(() => [
372
- s(" " + t(o.channelData.accountCityName), 1)
373
- ]),
374
- _: 1
375
- }),
376
- l(c, null, {
377
- label: e(() => [
378
- n("div", he, t(a.$t("channel.openBankName")), 1)
379
- ]),
380
- default: e(() => [
381
- s(" " + t(o.channelData.openBankName), 1)
382
- ]),
383
- _: 1
384
- })
385
- ]),
386
- _: 1
387
- }),
388
- $[1] || ($[1] = n("div", { class: "title-content" }, "非法人结算信息", -1)),
389
- l(U, {
390
- column: 2,
391
- border: "",
392
- class: "right-label-descriptions margin-top"
393
- }, {
394
- default: e(() => [
395
- l(c, null, {
396
- label: e(() => [
397
- n("div", fe, t(a.$t("channel.payeeType")), 1)
398
- ]),
399
- default: e(() => [
400
- s(" " + t(r(C).idcardTypeEnum.getEnumValue(o.channelData.payeeType)), 1)
401
- ]),
402
- _: 1
403
- }),
404
- l(c, null, {
405
- label: e(() => [
406
- n("div", be, t(a.$t("channel.payeeIdcard")), 1)
407
- ]),
408
- default: e(() => [
409
- s(" " + t(o.channelData.payeeIdcard), 1)
410
- ]),
411
- _: 1
412
- }),
413
- l(c, null, {
414
- label: e(() => [
415
- n("div", ve, t(a.$t("channel.settleIdCardFront")), 1)
416
- ]),
417
- default: e(() => [
418
- (_(!0), w(E, null, P(p.value, (k, y) => (_(), w("span", { key: y }, [
419
- l(T, {
420
- src: k,
421
- "preview-src-list": d.value,
422
- "preview-teleported": "",
423
- "hide-on-click-modal": "",
424
- "initial-index": y,
425
- fit: "cover"
426
- }, null, 8, ["src", "preview-src-list", "initial-index"])
427
- ]))), 128))
428
- ]),
429
- _: 1
430
- }),
431
- l(c, null, {
432
- label: e(() => [
433
- n("div", ye, t(a.$t("channel.settleIdCardBehind")), 1)
434
- ]),
435
- default: e(() => [
436
- (_(!0), w(E, null, P(m.value, (k, y) => (_(), w("span", { key: y }, [
437
- l(T, {
438
- src: k,
439
- "preview-src-list": b.value,
440
- "preview-teleported": "",
441
- "hide-on-click-modal": "",
442
- "initial-index": y,
443
- fit: "cover"
444
- }, null, 8, ["src", "preview-src-list", "initial-index"])
445
- ]))), 128))
446
- ]),
447
- _: 1
448
- }),
449
- l(c, null, {
450
- label: e(() => [
451
- n("div", _e, t(a.$t("channel.authortzation")), 1)
452
- ]),
453
- default: e(() => [
454
- (_(!0), w(E, null, P(g.value, (k, y) => (_(), w("span", { key: y }, [
455
- l(T, {
456
- src: k,
457
- "preview-src-list": N.value,
458
- "preview-teleported": "",
459
- "hide-on-click-modal": "",
460
- "initial-index": y,
461
- fit: "cover"
462
- }, null, 8, ["src", "preview-src-list", "initial-index"])
463
- ]))), 128))
464
- ]),
465
- _: 1
466
- }),
467
- l(c, null, {
468
- label: e(() => [
469
- n("div", ge, t(a.$t("channel.payeeStartDate")), 1)
470
- ]),
471
- default: e(() => [
472
- s(" " + t(o.channelData.payeeStartDate), 1)
473
- ]),
474
- _: 1
475
- }),
476
- l(c, null, {
477
- label: e(() => [
478
- n("div", we, t(a.$t("channel.payeeEndDate")), 1)
479
- ]),
480
- default: e(() => [
481
- s(" " + t(o.channelData.payeeEndDate), 1)
482
- ]),
483
- _: 1
484
- })
485
- ]),
486
- _: 1
487
- })
488
- ]);
489
- };
490
- }
491
- });
492
- class De {
493
- getKey(i) {
494
- return {
495
- merchantId: i.merchantId,
496
- feeRateTypeCode: i.feeRateTypeCode
497
- };
498
- }
499
- // 查询列表信息费率
500
- findList(i) {
501
- const v = M().user.tenant;
502
- return i.tokenExt = localStorage.getItem("tokenExt") ?? "", V(i), A({
503
- url: "/v1/merchant/fee_rate/list/" + v,
504
- method: "get",
505
- params: i
506
- });
507
- }
508
- }
509
- const $e = new De();
510
- let ke = class {
511
- getKey(o) {
512
- return {
513
- limitTypeCode: o.limitTypeCode,
514
- merchantId: o.merchantId
515
- };
516
- }
517
- // 查询列表信息商户限额;
518
- findList(o) {
519
- const i = M().user.tenant;
520
- return o.tokenExt = localStorage.getItem("tokenExt") ?? "", V(o), A({
521
- url: "/v1/merchant/limit/list/" + i,
522
- method: "get",
523
- params: o
524
- });
525
- }
526
- };
527
- const Te = new ke(), Ce = /* @__PURE__ */ R({
528
- __name: "feerate",
529
- setup(o) {
530
- const i = L().query.channelId, v = D([]);
531
- $e.findList({ channelId: i }).then((h) => {
532
- v.value = h.data.results;
533
- });
534
- const u = D([]);
535
- return Te.findList({ channelId: i }).then((h) => {
536
- u.value = h.data.results;
537
- }), (h, f) => {
538
- const p = I("el-table-column"), d = I("el-table");
539
- return _(), w(E, null, [
540
- f[0] || (f[0] = n("div", { class: "title-content" }, "费率信息", -1)),
541
- l(d, {
542
- data: v.value,
543
- style: { width: "100%" },
544
- border: ""
545
- }, {
546
- default: e(() => [
547
- l(p, {
548
- type: "index",
549
- label: "序号",
550
- width: "60",
551
- fixed: ""
552
- }),
553
- l(p, {
554
- label: h.$t("feeRate.feeRateTypeCode")
555
- }, {
556
- default: e((m) => [
557
- s(t(r(C).feeRateTypeEnum.getDictValue(m.row.feeRateTypeCode)), 1)
558
- ]),
559
- _: 1
560
- }, 8, ["label"]),
561
- l(p, {
562
- label: h.$t("feeRate.feeRatePct")
563
- }, {
564
- default: e((m) => [
565
- s(t(m.row.feeRatePct) + "% ", 1)
566
- ]),
567
- _: 1
568
- }, 8, ["label"]),
569
- l(p, {
570
- label: h.$t("feeRate.feeUpperAmtPcnt")
571
- }, {
572
- default: e((m) => [
573
- s(t(m.row.feeUpperAmtPcnt) + "元 ", 1)
574
- ]),
575
- _: 1
576
- }, 8, ["label"])
577
- ]),
578
- _: 1
579
- }, 8, ["data"]),
580
- f[1] || (f[1] = n("div", { class: "title-content" }, "交易限额", -1)),
581
- l(d, {
582
- data: u.value,
583
- style: { width: "100%", "margin-bottom": "25px" },
584
- border: ""
585
- }, {
586
- default: e(() => [
587
- l(p, {
588
- type: "index",
589
- label: "序号",
590
- width: "60",
591
- fixed: ""
592
- }),
593
- l(p, {
594
- prop: "limitTypeCode",
595
- label: h.$t("limit.limitTypeCode")
596
- }, {
597
- default: e((m) => [
598
- s(t(r(C).limitTypeDict.getDictValue(m.row.limitTypeCode)), 1)
599
- ]),
600
- _: 1
601
- }, 8, ["label"]),
602
- l(p, {
603
- label: h.$t("limit.limitAmtPcnt")
604
- }, {
605
- default: e((m) => [
606
- s(t(m.row.limitAmtPcnt) + "元 ", 1)
607
- ]),
608
- _: 1
609
- }, 8, ["label"]),
610
- l(p, {
611
- label: h.$t("limit.limitAmtPday")
612
- }, {
613
- default: e((m) => [
614
- s(t(m.row.limitAmtPday) + "元 ", 1)
615
- ]),
616
- _: 1
617
- }, 8, ["label"]),
618
- l(p, {
619
- label: h.$t("limit.limitAmtPmon")
620
- }, {
621
- default: e((m) => [
622
- s(t(m.row.limitAmtPmon) + "元 ", 1)
623
- ]),
624
- _: 1
625
- }, 8, ["label"])
626
- ]),
627
- _: 1
628
- }, 8, ["data"])
629
- ], 64);
630
- };
631
- }
632
- });
633
- class Ne {
634
- getKey(i) {
635
- return {
636
- reportId: i.reportId
637
- };
638
- }
639
- // 查询列表信息报备信息;
640
- findList(i) {
641
- const v = M().user.tenant;
642
- return i.tokenExt = localStorage.getItem("tokenExt") ?? "", V(i), A({
643
- url: "/v1/merchant/report/list/" + v,
644
- method: "get",
645
- params: i
646
- });
647
- }
648
- }
649
- const xe = new Ne(), Ee = /* @__PURE__ */ R({
650
- __name: "report",
651
- setup(o) {
652
- const i = L().query.channelId, v = D([]);
653
- return xe.findList({ channelId: i }).then((u) => {
654
- v.value = u.data.results;
655
- }), (u, h) => {
656
- const f = I("el-table-column"), p = I("el-table");
657
- return _(), H(p, {
658
- data: v.value,
659
- stripe: "",
660
- style: { width: "100%" },
661
- border: ""
662
- }, {
663
- default: e(() => [
664
- l(f, {
665
- type: "index",
666
- label: "序号",
667
- width: "60",
668
- fixed: ""
669
- }),
670
- l(f, {
671
- prop: "subMchId",
672
- label: u.$t("report.subMchId")
673
- }, null, 8, ["label"]),
674
- l(f, {
675
- prop: "registerType",
676
- label: u.$t("report.registerType")
677
- }, {
678
- default: e((d) => [
679
- s(t(r(C).reportTypeDict.getEnumValue(d.row.registerType)), 1)
680
- ]),
681
- _: 1
682
- }, 8, ["label"]),
683
- l(f, {
684
- prop: "receOrgNo",
685
- label: u.$t("report.receOrgNo")
686
- }, null, 8, ["label"])
687
- ]),
688
- _: 1
689
- }, 8, ["data"]);
690
- };
691
- }
692
- }), Se = /* @__PURE__ */ R({
693
- __name: "file",
694
- setup(o) {
695
- const { proxy: i } = O(), v = L().query.channelId, u = D([]);
696
- B.findList({ channelId: v }).then((f) => {
697
- u.value = f.data.results || [];
698
- });
699
- function h(f) {
700
- console.log("下载文件信息:", f);
701
- const p = document.createElement("a"), d = x.fileUrl(f.filePath), m = f.fileName || `file_${Date.now()}`;
702
- fetch(d).then((b) => {
703
- if (!b.ok) throw new Error("下载失败");
704
- return b.blob();
705
- }).then((b) => {
706
- const g = URL.createObjectURL(b);
707
- p.href = g, p.download = m, document.body.appendChild(p), p.click();
708
- });
709
- }
710
- return (f, p) => {
711
- const d = I("el-table-column"), m = I("el-button"), b = I("el-table");
712
- return _(), H(b, {
713
- data: u.value,
714
- style: { width: "100%", "margin-bottom": "25px" },
715
- border: ""
716
- }, {
717
- default: e(() => [
718
- l(d, {
719
- type: "index",
720
- label: "序号",
721
- width: "60",
722
- fixed: ""
723
- }),
724
- l(d, {
725
- prop: "fileName",
726
- label: f.$t("file.fileName")
727
- }, null, 8, ["label"]),
728
- l(d, {
729
- prop: "fileType",
730
- label: f.$t("file.fileType")
731
- }, {
732
- default: e((g) => [
733
- s(t(r(C).fileTypeDict.getEnumValue(g.row.fileType)), 1)
734
- ]),
735
- _: 1
736
- }, 8, ["label"]),
737
- l(d, {
738
- prop: "createTime",
739
- label: f.$t("file.createTime")
740
- }, {
741
- default: e((g) => [
742
- s(t(r(i).$moment.formatDate(g.row.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
743
- ]),
744
- _: 1
745
- }, 8, ["label"]),
746
- l(d, {
747
- fixed: "right",
748
- label: "操作",
749
- "min-width": "120"
750
- }, {
751
- default: e(({ row: g }) => [
752
- l(m, {
753
- link: "",
754
- type: "primary",
755
- size: "small",
756
- onClick: (N) => h(g)
757
- }, {
758
- default: e(() => p[0] || (p[0] = [
759
- s("下载")
760
- ])),
761
- _: 2
762
- }, 1032, ["onClick"])
763
- ]),
764
- _: 1
765
- })
766
- ]),
767
- _: 1
768
- }, 8, ["data"]);
769
- };
770
- }
771
- });
772
- class Pe {
773
- getKey(i) {
774
- return {};
775
- }
776
- // 查询列表信息终端管理
777
- findList(i) {
778
- const v = M().user.tenant;
779
- return i.tokenExt = localStorage.getItem("tokenExt") ?? "", V(i), A({
780
- url: "/v1/merchant/auth/list/" + v,
781
- method: "get",
782
- params: i
783
- });
784
- }
785
- }
786
- const Re = new Pe(), Me = /* @__PURE__ */ R({
787
- __name: "auth",
788
- props: {
789
- channelId: {
790
- type: String,
791
- channelId: ""
792
- }
793
- },
794
- setup(o) {
795
- const { t: i } = j(), v = D({
796
- // tokenExt: tokenExt as string || "",
797
- channelId: o.channelId
798
- }), { tableHooks: u, multipleTableRef: h, listLoading: f, tableData: p } = Y(
799
- i,
800
- Re,
801
- v
802
- );
803
- let d = D([
804
- // 从业机构号
805
- {
806
- label: "auth.receOrgNo",
807
- prop: "receOrgNo",
808
- width: "200",
809
- isColumn: !0
810
- },
811
- // 申请编号
812
- {
813
- label: "auth.applyMentId",
814
- prop: "applyMentId",
815
- width: "200",
816
- isColumn: !0
817
- },
818
- // 认证状态
819
- {
820
- label: "auth.applyMentState",
821
- prop: "applyMentState",
822
- width: "100",
823
- isColumn: !0
824
- },
825
- // 认证状态
826
- {
827
- label: "auth.authorizeState",
828
- prop: "authorizeState",
829
- width: "100",
830
- isColumn: !0
831
- },
832
- // 报备通道
833
- {
834
- label: "auth.registerChannel",
835
- prop: "registerChannel",
836
- width: "150",
837
- isColumn: !0
838
- },
839
- // 实名认证类型
840
- {
841
- label: "auth.realNameType",
842
- prop: "realNameType",
843
- width: "200",
844
- isColumn: !0
845
- },
846
- // 小程序码链接
847
- {
848
- label: "auth.qrcodeData",
849
- prop: "qrcodeData",
850
- width: "200",
851
- isColumn: !0
852
- },
853
- // 驳回参数
854
- {
855
- label: "auth.rejectParameter",
856
- prop: "rejectParameter",
857
- width: "210",
858
- isColumn: !0
859
- },
860
- // 驳回原因
861
- {
862
- label: "auth.rejectReason",
863
- prop: "rejectReason",
864
- width: "210",
865
- isColumn: !0
866
- }
867
- ]);
868
- function m(g) {
869
- u.selectionRows.value = g;
870
- }
871
- function b(g) {
872
- u.handleSort(g.prop, g.order);
873
- }
874
- return u.getList(), (g, N) => {
875
- const a = I("jmash-table");
876
- return _(), H(a, {
877
- ref_key: "multipleTableRef",
878
- ref: h,
879
- "row-key": "merchantId",
880
- isSelection: !1,
881
- "list-loading": r(f),
882
- data: r(p),
883
- "table-label": r(d),
884
- onSelectionChange: m,
885
- onSortChange: b
886
- }, null, 8, ["list-loading", "data", "table-label"]);
887
- };
888
- }
889
- }), Ae = /* @__PURE__ */ R({
890
- __name: "task",
891
- props: {
892
- channelId: {
893
- type: String,
894
- default: ""
895
- }
896
- },
897
- setup(o) {
898
- const { t: i } = j(), { proxy: v } = O(), u = D({
899
- channelId: o.channelId
900
- // tokenExt: (tokenExt as string) || "",
901
- }), { tableHooks: h, multipleTableRef: f, listLoading: p, tableData: d } = Y(
902
- i,
903
- z,
904
- u
905
- );
906
- let m = D([
907
- // 商户注册名称
908
- {
909
- label: "merchants.creditName",
910
- prop: "creditName",
911
- width: "200",
912
- isColumn: !0
913
- },
914
- // 商户经营名称
915
- {
916
- label: "merchants.merchantName",
917
- prop: "merchantName",
918
- width: "200",
919
- isColumn: !0
920
- },
921
- // 联系人
922
- {
923
- label: "merchants.contactName",
924
- prop: "contactName",
925
- width: "100",
926
- isColumn: !0
927
- },
928
- // 联系人电话
929
- {
930
- label: "merchants.contactMobile",
931
- prop: "contactMobile",
932
- width: "150",
933
- isColumn: !0
934
- },
935
- // 事项名称
936
- {
937
- label: "merchants.applyName",
938
- prop: "applyName",
939
- width: "200",
940
- isColumn: !0
941
- },
942
- // 审核状态
943
- {
944
- label: "merchants.status",
945
- prop: "status",
946
- slotName: "status",
947
- columnType: "slot",
948
- width: "200",
949
- isColumn: !0
950
- },
951
- // 审核时间
952
- {
953
- label: "merchants.completeTime",
954
- prop: "completeTime",
955
- slotName: "completeTime",
956
- columnType: "slot",
957
- width: "210",
958
- isColumn: !0
959
- }
960
- ]);
961
- function b(N) {
962
- h.selectionRows.value = N;
963
- }
964
- function g(N) {
965
- h.handleSort(N.prop, N.order);
966
- }
967
- return h.getList(), (N, a) => {
968
- const $ = I("jmash-table");
969
- return _(), H($, {
970
- ref_key: "multipleTableRef",
971
- ref: f,
972
- "row-key": "merchantId",
973
- isSelection: !1,
974
- "list-loading": r(p),
975
- data: r(d),
976
- "table-label": r(m),
977
- onSelectionChange: b,
978
- onSortChange: g
979
- }, {
980
- completeTime: e((c) => [
981
- s(t(r(v).$moment.formatDate(
982
- c.data.row.createTime,
983
- "YYYY-MM-DD HH:mm:ss"
984
- )), 1)
985
- ]),
986
- status: e((c) => [
987
- s(t(r(C).auditStatusEnum.getEnumValue(c.data.row.status)), 1)
988
- ]),
989
- _: 1
990
- }, 8, ["list-loading", "data", "table-label"]);
991
- };
992
- }
993
- }), Ve = { class: "app-container" }, Le = { class: "cell-item" }, Ue = { class: "cell-item" }, He = { class: "cell-item" }, Oe = { class: "cell-item" }, Be = { class: "cell-item" }, Ye = { class: "cell-item" }, je = { class: "cell-item" }, qe = { class: "cell-item" }, ze = { class: "cell-item" }, Ke = { class: "cell-item" }, Ge = { class: "cell-item" }, Fe = { class: "cell-item" }, Ze = { class: "cell-item" }, Je = { class: "cell-item" }, Qe = { class: "cell-item" }, We = { class: "cell-item" }, Xe = { class: "tax-info" }, el = { class: "tax-row" }, ll = { class: "tax-item" }, tl = { class: "tax-item" }, ul = /* @__PURE__ */ R({
994
- __name: "info",
995
- setup(o) {
996
- const { proxy: i } = O(), v = L();
997
- C.agentBizDict.useValues(), C.instsBizDict.useValues();
998
- let u = D({});
999
- const h = v.query.channelId;
1000
- q.findById({ channelId: h }).then(({ data: d }) => {
1001
- console.log(d, "=> data"), u.value = d;
1002
- });
1003
- const f = D("one");
1004
- function p(d) {
1005
- f.value = d.props.name;
1006
- }
1007
- return (d, m) => {
1008
- const b = I("el-descriptions-item"), g = I("el-switch"), N = I("el-descriptions"), a = I("el-tab-pane"), $ = I("el-tabs"), c = I("el-card");
1009
- return _(), w("div", Ve, [
1010
- l(c, { shadow: "never" }, {
1011
- default: e(() => [
1012
- l(N, {
1013
- title: "通道商户基本信息",
1014
- column: 2,
1015
- border: ""
1016
- }, {
1017
- default: e(() => [
1018
- l(b, null, {
1019
- label: e(() => [
1020
- n("div", Le, t(d.$t("channel.likeMerchantNo")), 1)
1021
- ]),
1022
- default: e(() => [
1023
- s(" " + t(r(u).outChannelId), 1)
1024
- ]),
1025
- _: 1
1026
- }),
1027
- l(b, null, {
1028
- label: e(() => [
1029
- n("div", Ue, t(d.$t("channel.outMerchantNo")), 1)
1030
- ]),
1031
- default: e(() => [
1032
- s(" " + t(r(u).outMerchantNo), 1)
1033
- ]),
1034
- _: 1
1035
- }),
1036
- l(b, null, {
1037
- label: e(() => [
1038
- n("div", He, t(d.$t("channel.creditName")), 1)
1039
- ]),
1040
- default: e(() => [
1041
- s(" " + t(r(u).creditName), 1)
1042
- ]),
1043
- _: 1
1044
- }),
1045
- l(b, null, {
1046
- label: e(() => [
1047
- n("div", Oe, t(d.$t("channel.merchantName")), 1)
1048
- ]),
1049
- default: e(() => [
1050
- s(" " + t(r(u).merchantName), 1)
1051
- ]),
1052
- _: 1
1053
- }),
1054
- l(b, null, {
1055
- label: e(() => [
1056
- n("div", Be, t(d.$t("channel.countyCode")), 1)
1057
- ]),
1058
- default: e(() => [
1059
- s(" " + t(r(u).countyCode), 1)
1060
- ]),
1061
- _: 1
1062
- }),
1063
- l(b, null, {
1064
- label: e(() => [
1065
- n("div", Ye, t(d.$t("channel.merchantAddress")), 1)
1066
- ]),
1067
- default: e(() => [
1068
- s(" " + t(r(u).merchantAddress), 1)
1069
- ]),
1070
- _: 1
1071
- }),
1072
- l(b, null, {
1073
- label: e(() => [
1074
- n("div", je, t(d.$t("channel.email")), 1)
1075
- ]),
1076
- default: e(() => [
1077
- s(" " + t(r(u).email), 1)
1078
- ]),
1079
- _: 1
1080
- }),
1081
- l(b, {
1082
- label: d.$t("channel.buisContent")
1083
- }, {
1084
- label: e(() => [
1085
- n("div", qe, t(d.$t("channel.buisContent")), 1)
1086
- ]),
1087
- default: e(() => [
1088
- s(" " + t(r(u).buisContent), 1)
1089
- ]),
1090
- _: 1
1091
- }, 8, ["label"]),
1092
- l(b, null, {
1093
- label: e(() => [
1094
- n("div", ze, t(d.$t("channel.outMerchantNo")), 1)
1095
- ]),
1096
- default: e(() => [
1097
- s(" " + t(), 1)
1098
- ]),
1099
- _: 1
1100
- }),
1101
- l(b, null, {
1102
- label: e(() => [
1103
- n("div", Ke, t(d.$t("channel.instsId")), 1)
1104
- ]),
1105
- default: e(() => [
1106
- s(" " + t(r(C).instsBizDict.getValue(r(u).instsId)), 1)
1107
- ]),
1108
- _: 1
1109
- }),
1110
- l(b, null, {
1111
- label: e(() => [
1112
- n("div", Ge, t(d.$t("channel.larMobile")), 1)
1113
- ]),
1114
- default: e(() => [
1115
- s(" " + t(r(u).larMobile), 1)
1116
- ]),
1117
- _: 1
1118
- }),
1119
- l(b, null, {
1120
- label: e(() => [
1121
- n("div", Fe, t(d.$t("channel.larName")), 1)
1122
- ]),
1123
- default: e(() => [
1124
- s(" " + t(r(u).larName), 1)
1125
- ]),
1126
- _: 1
1127
- }),
1128
- l(b, null, {
1129
- label: e(() => [
1130
- n("div", Ze, t(d.$t("channel.channelStatus")), 1)
1131
- ]),
1132
- default: e(() => [
1133
- l(g, {
1134
- modelValue: r(u).channelStatus,
1135
- "onUpdate:modelValue": m[0] || (m[0] = (T) => r(u).channelStatus = T),
1136
- disabled: ""
1137
- }, null, 8, ["modelValue"])
1138
- ]),
1139
- _: 1
1140
- }),
1141
- l(b, null, {
1142
- label: e(() => [
1143
- n("div", Je, t(d.$t("channel.createTime")), 1)
1144
- ]),
1145
- default: e(() => [
1146
- s(" " + t(r(i).$moment.formatDate(
1147
- r(u).createTime,
1148
- "YYYY-MM-DD HH:mm:ss"
1149
- )), 1)
1150
- ]),
1151
- _: 1
1152
- }),
1153
- l(b, null, {
1154
- label: e(() => [
1155
- n("div", Qe, t(d.$t("channel.creditType")), 1)
1156
- ]),
1157
- default: e(() => [
1158
- s(" " + t(r(C).companyTypeEnum.getEnumValue(r(u).creditType)), 1)
1159
- ]),
1160
- _: 1
1161
- }),
1162
- l(b, null, {
1163
- label: e(() => [
1164
- n("div", We, t(d.$t("channel.agentCode")), 1)
1165
- ]),
1166
- default: e(() => [
1167
- s(" " + t(r(C).agentBizDict.getValue(r(u).agentCode)), 1)
1168
- ]),
1169
- _: 1
1170
- })
1171
- ]),
1172
- _: 1
1173
- }),
1174
- l($, {
1175
- modelValue: f.value,
1176
- "onUpdate:modelValue": m[1] || (m[1] = (T) => f.value = T),
1177
- onTabClick: p
1178
- }, {
1179
- default: e(() => [
1180
- l(a, {
1181
- label: "工商信息",
1182
- name: "one"
1183
- }, {
1184
- default: e(() => [
1185
- l(ce, { channelData: r(u) }, null, 8, ["channelData"])
1186
- ]),
1187
- _: 1
1188
- }),
1189
- l(a, {
1190
- label: "结算信息",
1191
- name: "two"
1192
- }, {
1193
- default: e(() => [
1194
- l(Ie, { channelData: r(u) }, null, 8, ["channelData"])
1195
- ]),
1196
- _: 1
1197
- }),
1198
- l(a, {
1199
- label: "业务信息",
1200
- name: "three"
1201
- }, {
1202
- default: e(() => [
1203
- n("div", Xe, [
1204
- n("div", el, [
1205
- n("span", ll, "结算类型:" + t(r(C).settleTypeDict.getEnumValue(
1206
- r(u).settleType
1207
- )), 1),
1208
- n("span", tl, "结算周期: " + t(r(C).settlePeriodDict.getEnumValue(
1209
- r(u).settlePeriod
1210
- )), 1)
1211
- ])
1212
- ]),
1213
- l(Ce)
1214
- ]),
1215
- _: 1
1216
- }),
1217
- l(a, {
1218
- label: "报备信息",
1219
- name: "four"
1220
- }, {
1221
- default: e(() => [
1222
- l(Ee),
1223
- m[2] || (m[2] = n("div", { class: "title-content" }, "商户认证信息", -1)),
1224
- l(Me, { channelId: r(h) }, null, 8, ["channelId"])
1225
- ]),
1226
- _: 1
1227
- }),
1228
- l(a, {
1229
- label: "附件记录",
1230
- name: "five"
1231
- }, {
1232
- default: e(() => [
1233
- l(Se)
1234
- ]),
1235
- _: 1
1236
- }),
1237
- l(a, {
1238
- label: "操作记录",
1239
- name: "eight"
1240
- }, {
1241
- default: e(() => [
1242
- l(Ae, { channelId: r(h) }, null, 8, ["channelId"])
1243
- ]),
1244
- _: 1
1245
- })
1246
- ]),
1247
- _: 1
1248
- }, 8, ["modelValue"])
1249
- ]),
1250
- _: 1
1251
- })
1252
- ]);
1253
- };
1254
- }
1255
- });
1256
- export {
1257
- ul as default
1258
- };