xyvcard-settle 0.0.1 → 0.0.2

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 (30) hide show
  1. package/dist/{config-R2xCEQim-DIKcGx0K.mjs → config-R2xCEQim-bynnK09g.mjs} +2 -2
  2. package/dist/{free-DaGOIXVI-B4EUrY1S.mjs → free-DaGOIXVI-9bx9kVrW.mjs} +2 -2
  3. package/dist/{history-BI8tBxQK.mjs → history-QOxWOZgJ.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-Bt76Bf2d.mjs → history.vue_vue_type_script_setup_true_lang-CYsuAyZY.mjs} +80 -68
  5. package/dist/{index-Du5bhBaC.mjs → index-BV1DR_8f.mjs} +2894 -2888
  6. package/dist/{index-BtIY2iCq-Lnfhe6EF.mjs → index-BtIY2iCq-CLQfG5na.mjs} +1 -1
  7. package/dist/{index-BIkG_C6y.mjs → index-CqTOSOhR.mjs} +201 -194
  8. package/dist/{index-BOfabDwA.mjs → index-D6EZiAkX.mjs} +129 -127
  9. package/dist/{index-DAOhjHwC-Czfft2rT.mjs → index-DAOhjHwC-CU_XjpKd.mjs} +1 -1
  10. package/dist/{index-C0VdCZ5o-BNScagBV.mjs → index-Dmu-k9Fo-DEjfaOba.mjs} +1696 -1658
  11. package/dist/{index-D1OlL970.mjs → index-DombZk9q.mjs} +2 -2
  12. package/dist/{index-iRoYfjIt-BqHR0buV.mjs → index-iRoYfjIt-C4_iVWho.mjs} +1 -1
  13. package/dist/{index-D0t5a2Ea.mjs → index-xpzjSzPe.mjs} +118 -112
  14. package/dist/index.mjs +2597 -13
  15. package/dist/{info-DGVdsQCx-CKD7-DIe.mjs → info-DGVdsQCx-DG8WoYEV.mjs} +2 -2
  16. package/dist/{info-B9D5Y0O1-DEwKlMld.mjs → info-DbIyJn7B-CY3BQr-k.mjs} +24 -24
  17. package/dist/{info-Crc5gYV2-DBeit1HQ.mjs → info-DecEaZua-Dbvx2ICf.mjs} +260 -261
  18. package/dist/info-DuOeutIR-P485SsfD.mjs +818 -0
  19. package/dist/{info-JTzVjKGk-DYLiAYjO.mjs → info-JTzVjKGk-Bj4cFNFB.mjs} +2 -2
  20. package/dist/{product-BJX8VysN-D3xaS1Fd.mjs → product-BJX8VysN-C0bZaT8-.mjs} +2 -2
  21. package/dist/{today-CP9UcD78.mjs → today-BvmXwn6d.mjs} +1 -1
  22. package/dist/{today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs → today.vue_vue_type_script_setup_true_lang-BkdrtIh3.mjs} +80 -68
  23. package/dts/src/api/settle/dict.d.ts +0 -3
  24. package/dts/src/api/settle/index.d.ts +1 -2
  25. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
  26. package/dts/src/constant.d.ts +1 -1
  27. package/package.json +3 -3
  28. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
  29. package/dist/constant-CRJQFGuS.mjs +0 -13
  30. package/dist/info-DzkZlnCT-BybQZHaY.mjs +0 -139
@@ -0,0 +1,818 @@
1
+ import { defineComponent as H, getCurrentInstance as B, ref as _, computed as C, resolveComponent as k, createElementBlock as d, openBlock as r, createElementVNode as n, createVNode as l, withCtx as e, createTextVNode as p, toDisplayString as a, unref as I, Fragment as P, renderList as M, createCommentVNode as O, createBlock as L } from "vue";
2
+ import { m as S, $ as U, s as V } from "./index-Dmu-k9Fo-DEjfaOba.mjs";
3
+ import { fileApi as x } from "jmash-core";
4
+ import { useRoute as Y } from "vue-router";
5
+ const F = (f, E) => {
6
+ const T = f.__vccOpts || f;
7
+ for (const [t, v] of E)
8
+ T[t] = v;
9
+ return T;
10
+ }, q = { class: "app-container" }, j = { class: "cell-item" }, z = { class: "cell-item" }, K = { class: "cell-item" }, J = { class: "cell-item" }, Q = { class: "cell-item" }, Z = { class: "cell-item" }, W = { class: "cell-item" }, X = { key: 0 }, ee = { class: "cell-item" }, le = { key: 0 }, ae = { class: "cell-item" }, te = { class: "cell-item" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = /* @__PURE__ */ H({
11
+ __name: "business",
12
+ props: {
13
+ mchtApplyTaskList: {
14
+ type: Object,
15
+ default: () => ({})
16
+ }
17
+ },
18
+ setup(f) {
19
+ const E = Y(), T = E.query.applyId, { proxy: t } = B();
20
+ console.log(
21
+ f.mchtApplyTaskList.channelId,
22
+ "=> props.mchtApplyTaskList.channelId"
23
+ );
24
+ const v = _({});
25
+ S.findEnterpriseById({ applyId: T }).then((c) => {
26
+ v.value = c.data;
27
+ });
28
+ const h = _([]), y = C(() => h.value.map(
29
+ (c) => x.imageUrl(c.filePath)
30
+ )), o = _([]), w = C(() => o.value.map(
31
+ (c) => x.imageUrl(c.filePath)
32
+ )), A = _([]), s = C(() => A.value.map(
33
+ (c) => x.imageUrl(c.filePath)
34
+ )), $ = _([]), i = C(() => $.value.map(
35
+ (c) => x.imageUrl(c.filePath)
36
+ )), D = _([]), m = C(() => D.value.map(
37
+ (c) => x.imageUrl(c.filePath)
38
+ ));
39
+ return S.findFileList({ applyId: E.query.applyId }).then((c) => {
40
+ (c.data.results || []).forEach((g) => {
41
+ const u = { filePath: g.filePath };
42
+ switch (g.attachType) {
43
+ case "BUSINESS_LICENSE":
44
+ h.value.push(u);
45
+ break;
46
+ case "SHOP_OUTSIDE_IMG":
47
+ o.value.push(u);
48
+ break;
49
+ case "SHOP_INSIDE_IMG":
50
+ A.value.push(u);
51
+ break;
52
+ case "CHECKSTAND_IMG":
53
+ $.value.push(u);
54
+ break;
55
+ case "OTHER_IMG":
56
+ D.value.push(u);
57
+ break;
58
+ }
59
+ });
60
+ }), (c, g) => {
61
+ const u = k("el-descriptions-item"), b = k("el-image"), G = k("el-descriptions");
62
+ return r(), d("div", q, [
63
+ g[0] || (g[0] = n("div", { class: "title-content" }, "执照信息", -1)),
64
+ l(G, {
65
+ column: 2,
66
+ border: "",
67
+ class: "right-label-descriptions"
68
+ }, {
69
+ default: e(() => [
70
+ l(u, null, {
71
+ label: e(() => [
72
+ n("div", j, a(c.$t("channel.storeType")), 1)
73
+ ]),
74
+ default: e(() => [
75
+ p(" " + a(I(U).storeEnum.getEnumValue(f.mchtApplyTaskList.storeType)), 1)
76
+ ]),
77
+ _: 1
78
+ }),
79
+ l(u, null, {
80
+ label: e(() => [
81
+ n("div", z, a(c.$t("channel.merchantName")), 1)
82
+ ]),
83
+ default: e(() => [
84
+ p(" " + a(f.mchtApplyTaskList.merchantName), 1)
85
+ ]),
86
+ _: 1
87
+ }),
88
+ l(u, null, {
89
+ label: e(() => [
90
+ n("div", K, a(c.$t("channel.business")), 1)
91
+ ]),
92
+ default: e(() => [
93
+ (r(!0), d(P, null, M(h.value, (R, N) => (r(), d("span", { key: N }, [
94
+ l(b, {
95
+ src: I(x).imageUrl(R.filePath, 80, 80),
96
+ "preview-src-list": y.value,
97
+ "preview-teleported": "",
98
+ "hide-on-click-modal": "",
99
+ "initial-index": N,
100
+ fit: "cover"
101
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
102
+ ]))), 128))
103
+ ]),
104
+ _: 1
105
+ }),
106
+ l(u, null, {
107
+ label: e(() => [
108
+ n("div", J, a(c.$t("channel.creditCode")), 1)
109
+ ]),
110
+ default: e(() => [
111
+ p(" " + a(f.mchtApplyTaskList.creditCode), 1)
112
+ ]),
113
+ _: 1
114
+ }),
115
+ l(u, null, {
116
+ label: e(() => [
117
+ n("div", Q, a(c.$t("channel.creditName")), 1)
118
+ ]),
119
+ default: e(() => [
120
+ p(" " + a(f.mchtApplyTaskList.creditName), 1)
121
+ ]),
122
+ _: 1
123
+ }),
124
+ l(u, null, {
125
+ label: e(() => [
126
+ n("div", Z, a(c.$t("channel.creditAddress")), 1)
127
+ ]),
128
+ default: e(() => [
129
+ p(" " + a(v.value.address), 1)
130
+ ]),
131
+ _: 1
132
+ }),
133
+ l(u, null, {
134
+ label: e(() => [
135
+ n("div", W, a(c.$t("channel.creditStartDate")), 1)
136
+ ]),
137
+ default: e(() => [
138
+ v.value.creditStartDate ? (r(), d("span", X, a(I(t).$moment.formatDate(
139
+ v.value.creditStartDate,
140
+ "YYYY-MM-DD"
141
+ )), 1)) : O("", !0)
142
+ ]),
143
+ _: 1
144
+ }),
145
+ l(u, null, {
146
+ label: e(() => [
147
+ n("div", ee, a(c.$t("channel.creditEndDate")), 1)
148
+ ]),
149
+ default: e(() => [
150
+ v.value.creditEndDate ? (r(), d("span", le, a(I(t).$moment.formatDate(v.value.creditEndDate, "YYYY-MM-DD")), 1)) : O("", !0)
151
+ ]),
152
+ _: 1
153
+ })
154
+ ]),
155
+ _: 1
156
+ }),
157
+ g[1] || (g[1] = n("div", { class: "title-content" }, "门店信息", -1)),
158
+ l(G, {
159
+ column: 2,
160
+ border: "",
161
+ class: "right-label-descriptions margin-top"
162
+ }, {
163
+ default: e(() => [
164
+ l(u, null, {
165
+ label: e(() => [
166
+ n("div", ae, a(c.$t("channel.shopOutside")), 1)
167
+ ]),
168
+ default: e(() => [
169
+ (r(!0), d(P, null, M(o.value, (R, N) => (r(), d("span", { key: N }, [
170
+ l(b, {
171
+ src: R,
172
+ "preview-src-list": w.value,
173
+ "preview-teleported": "",
174
+ "hide-on-click-modal": "",
175
+ "initial-index": N,
176
+ fit: "cover"
177
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
178
+ ]))), 128))
179
+ ]),
180
+ _: 1
181
+ }),
182
+ l(u, null, {
183
+ label: e(() => [
184
+ n("div", te, a(c.$t("channel.shopInside")), 1)
185
+ ]),
186
+ default: e(() => [
187
+ (r(!0), d(P, null, M(A.value, (R, N) => (r(), d("span", { key: N }, [
188
+ l(b, {
189
+ src: R,
190
+ "preview-src-list": s.value,
191
+ "preview-teleported": "",
192
+ "hide-on-click-modal": "",
193
+ "initial-index": N,
194
+ fit: "cover"
195
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
196
+ ]))), 128))
197
+ ]),
198
+ _: 1
199
+ }),
200
+ l(u, null, {
201
+ label: e(() => [
202
+ n("div", ie, a(c.$t("channel.checktand")), 1)
203
+ ]),
204
+ default: e(() => [
205
+ (r(!0), d(P, null, M($.value, (R, N) => (r(), d("span", { key: N }, [
206
+ l(b, {
207
+ src: R,
208
+ "preview-src-list": i.value,
209
+ "preview-teleported": "",
210
+ "hide-on-click-modal": "",
211
+ "initial-index": N,
212
+ fit: "cover"
213
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
214
+ ]))), 128))
215
+ ]),
216
+ _: 1
217
+ }),
218
+ l(u, null, {
219
+ label: e(() => [
220
+ n("div", ne, a(c.$t("channel.others")), 1)
221
+ ]),
222
+ default: e(() => [
223
+ (r(!0), d(P, null, M(D.value, (R, N) => (r(), d("span", { key: N }, [
224
+ l(b, {
225
+ src: R,
226
+ "preview-src-list": m.value,
227
+ "preview-teleported": "",
228
+ "hide-on-click-modal": "",
229
+ "initial-index": N,
230
+ fit: "cover"
231
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
232
+ ]))), 128))
233
+ ]),
234
+ _: 1
235
+ })
236
+ ]),
237
+ _: 1
238
+ })
239
+ ]);
240
+ };
241
+ }
242
+ }), se = { class: "app-container" }, re = { class: "cell-item" }, ue = { class: "cell-item" }, pe = { class: "cell-item" }, de = { class: "cell-item" }, oe = { class: "cell-item" }, me = { class: "cell-item" }, ve = { class: "cell-item" }, he = { class: "cell-item" }, fe = { class: "cell-item" }, ye = { class: "cell-item" }, be = { class: "cell-item" }, _e = { class: "cell-item" }, ke = { class: "cell-item" }, Te = { class: "cell-item" }, $e = /* @__PURE__ */ H({
243
+ __name: "account",
244
+ props: {
245
+ channelData: {
246
+ type: Object,
247
+ default: () => ({})
248
+ }
249
+ },
250
+ setup(f) {
251
+ const E = Y().query.applyId, T = _([]), t = C(() => T.value.map((i) => {
252
+ x.imageUrl(i.filePath);
253
+ })), v = _([]), h = C(() => v.value.map(
254
+ (i) => x.imageUrl(i.filePath)
255
+ )), y = _([]), o = C(() => y.value.map(
256
+ (i) => x.imageUrl(i.filePath)
257
+ )), w = _([]), A = C(() => w.value.map(
258
+ (i) => x.imageUrl(i.filePath)
259
+ )), s = _([]), $ = C(() => s.value.map(
260
+ (i) => x.imageUrl(i.filePath)
261
+ ));
262
+ return S.findFileList({ applyId: E }).then((i) => {
263
+ (i.data.results || []).forEach((D) => {
264
+ const m = { filePath: D.filePath };
265
+ switch (D.attachType) {
266
+ case "OPENING_PERMIT":
267
+ T.value.push(m);
268
+ break;
269
+ case "BANK_CARD":
270
+ v.value.push(m);
271
+ break;
272
+ case "SETTLE_ID_CARD_FRONT":
273
+ y.value.push(m);
274
+ break;
275
+ case "SETTLE_ID_CARD_BEHIND":
276
+ w.value.push(m);
277
+ break;
278
+ case "LETTER_OF_AUTHORIZATION":
279
+ s.value.push(m);
280
+ break;
281
+ }
282
+ });
283
+ }), (i, D) => {
284
+ const m = k("el-descriptions-item"), c = k("el-image"), g = k("el-descriptions");
285
+ return r(), d("div", se, [
286
+ D[0] || (D[0] = n("div", { class: "title-content" }, "结算信息", -1)),
287
+ l(g, {
288
+ column: 2,
289
+ border: "",
290
+ class: "right-label-descriptions"
291
+ }, {
292
+ default: e(() => [
293
+ l(m, null, {
294
+ label: e(() => [
295
+ n("div", re, a(i.$t("channel.settleType")), 1)
296
+ ]),
297
+ default: e(() => [
298
+ p(" " + a(f.channelData.settleType), 1)
299
+ ]),
300
+ _: 1
301
+ }),
302
+ l(m, null, {
303
+ label: e(() => [
304
+ n("div", ue, a(i.$t("channel.openingPermit")), 1)
305
+ ]),
306
+ default: e(() => [
307
+ (r(!0), d(P, null, M(T.value, (u, b) => (r(), d("span", { key: b }, [
308
+ l(c, {
309
+ src: u,
310
+ "preview-src-list": t.value,
311
+ "preview-teleported": "",
312
+ "hide-on-click-modal": "",
313
+ "initial-index": b,
314
+ fit: "cover"
315
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
316
+ ]))), 128))
317
+ ]),
318
+ _: 1
319
+ }),
320
+ l(m, null, {
321
+ label: e(() => [
322
+ n("div", pe, a(i.$t("channel.bankCard")), 1)
323
+ ]),
324
+ default: e(() => [
325
+ (r(!0), d(P, null, M(v.value, (u, b) => (r(), d("span", { key: b }, [
326
+ l(c, {
327
+ src: u,
328
+ "preview-src-list": h.value,
329
+ "preview-teleported": "",
330
+ "hide-on-click-modal": "",
331
+ "initial-index": b,
332
+ fit: "cover"
333
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
334
+ ]))), 128))
335
+ ]),
336
+ _: 1
337
+ }),
338
+ l(m, null, {
339
+ label: e(() => [
340
+ n("div", de, a(i.$t("channel.accountName")), 1)
341
+ ]),
342
+ default: e(() => [
343
+ p(" " + a(f.channelData.accountName), 1)
344
+ ]),
345
+ _: 1
346
+ }),
347
+ l(m, null, {
348
+ label: e(() => [
349
+ n("div", oe, a(i.$t("channel.accountNo")), 1)
350
+ ]),
351
+ default: e(() => [
352
+ p(" " + a(f.channelData.accountNo), 1)
353
+ ]),
354
+ _: 1
355
+ }),
356
+ l(m, null, {
357
+ label: e(() => [
358
+ n("div", me, a(i.$t("channel.accountCityName")), 1)
359
+ ]),
360
+ default: e(() => [
361
+ p(" " + a(f.channelData.accountCityName), 1)
362
+ ]),
363
+ _: 1
364
+ }),
365
+ l(m, null, {
366
+ label: e(() => [
367
+ n("div", ve, a(i.$t("channel.openBankName")), 1)
368
+ ]),
369
+ default: e(() => [
370
+ p(" " + a(f.channelData.openBankName), 1)
371
+ ]),
372
+ _: 1
373
+ })
374
+ ]),
375
+ _: 1
376
+ }),
377
+ D[1] || (D[1] = n("div", { class: "title-content" }, "非法人结算信息", -1)),
378
+ l(g, {
379
+ column: 2,
380
+ border: "",
381
+ class: "right-label-descriptions margin-top"
382
+ }, {
383
+ default: e(() => [
384
+ l(m, null, {
385
+ label: e(() => [
386
+ n("div", he, a(i.$t("channel.payeeType")), 1)
387
+ ]),
388
+ default: e(() => [
389
+ p(" " + a(I(U).idcardTypeEnum.getEnumValue(f.channelData.payeeType)), 1)
390
+ ]),
391
+ _: 1
392
+ }),
393
+ l(m, null, {
394
+ label: e(() => [
395
+ n("div", fe, a(i.$t("channel.payeeIdcard")), 1)
396
+ ]),
397
+ default: e(() => [
398
+ p(" " + a(f.channelData.payeeIdcard), 1)
399
+ ]),
400
+ _: 1
401
+ }),
402
+ l(m, null, {
403
+ label: e(() => [
404
+ n("div", ye, a(i.$t("channel.settleIdCardFront")), 1)
405
+ ]),
406
+ default: e(() => [
407
+ (r(!0), d(P, null, M(y.value, (u, b) => (r(), d("span", { key: b }, [
408
+ l(c, {
409
+ src: u,
410
+ "preview-src-list": o.value,
411
+ "preview-teleported": "",
412
+ "hide-on-click-modal": "",
413
+ "initial-index": b,
414
+ fit: "cover"
415
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
416
+ ]))), 128))
417
+ ]),
418
+ _: 1
419
+ }),
420
+ l(m, null, {
421
+ label: e(() => [
422
+ n("div", be, a(i.$t("channel.settleIdCardBehind")), 1)
423
+ ]),
424
+ default: e(() => [
425
+ (r(!0), d(P, null, M(w.value, (u, b) => (r(), d("span", { key: b }, [
426
+ l(c, {
427
+ src: u,
428
+ "preview-src-list": A.value,
429
+ "preview-teleported": "",
430
+ "hide-on-click-modal": "",
431
+ "initial-index": b,
432
+ fit: "cover"
433
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
434
+ ]))), 128))
435
+ ]),
436
+ _: 1
437
+ }),
438
+ l(m, null, {
439
+ label: e(() => [
440
+ n("div", _e, a(i.$t("channel.authortzation")), 1)
441
+ ]),
442
+ default: e(() => [
443
+ (r(!0), d(P, null, M(s.value, (u, b) => (r(), d("span", { key: b }, [
444
+ l(c, {
445
+ src: u,
446
+ "preview-src-list": $.value,
447
+ "preview-teleported": "",
448
+ "hide-on-click-modal": "",
449
+ "initial-index": b,
450
+ fit: "cover"
451
+ }, null, 8, ["src", "preview-src-list", "initial-index"])
452
+ ]))), 128))
453
+ ]),
454
+ _: 1
455
+ }),
456
+ l(m, null, {
457
+ label: e(() => [
458
+ n("div", ke, a(i.$t("channel.payeeStartDate")), 1)
459
+ ]),
460
+ default: e(() => [
461
+ p(" " + a(f.channelData.payeeStartDate), 1)
462
+ ]),
463
+ _: 1
464
+ }),
465
+ l(m, null, {
466
+ label: e(() => [
467
+ n("div", Te, a(i.$t("channel.payeeEndDate")), 1)
468
+ ]),
469
+ default: e(() => [
470
+ p(" " + a(f.channelData.payeeEndDate), 1)
471
+ ]),
472
+ _: 1
473
+ })
474
+ ]),
475
+ _: 1
476
+ })
477
+ ]);
478
+ };
479
+ }
480
+ }), Ae = /* @__PURE__ */ H({
481
+ __name: "feerate",
482
+ setup(f) {
483
+ const E = Y().query.applyId, T = _([]);
484
+ return S.findRateList({ applyId: E }).then((t) => {
485
+ console.log(t, "=> res"), T.value = t.data;
486
+ }), (t, v) => {
487
+ const h = k("el-table-column"), y = k("el-table");
488
+ return r(), d(P, null, [
489
+ v[0] || (v[0] = n("div", { class: "title-content" }, "费率信息", -1)),
490
+ l(y, {
491
+ data: T.value,
492
+ style: { width: "100%", "margin-bottom": "25px" },
493
+ border: ""
494
+ }, {
495
+ default: e(() => [
496
+ l(h, {
497
+ type: "index",
498
+ label: "序号",
499
+ width: "60",
500
+ fixed: ""
501
+ }),
502
+ l(h, {
503
+ label: t.$t("feeRate.feeRateTypeCode")
504
+ }, {
505
+ default: e((o) => [
506
+ p(a(I(U).feeRateTypeEnum.getDictValue(o.row.feeRateTypeCode)), 1)
507
+ ]),
508
+ _: 1
509
+ }, 8, ["label"]),
510
+ l(h, {
511
+ label: t.$t("feeRate.feeRatePct")
512
+ }, {
513
+ default: e((o) => [
514
+ p(a(o.row.feeRatePct) + "% ", 1)
515
+ ]),
516
+ _: 1
517
+ }, 8, ["label"]),
518
+ l(h, {
519
+ label: t.$t("feeRate.feeUpperAmtPcnt")
520
+ }, {
521
+ default: e((o) => [
522
+ p(a(o.row.feeUpperAmtPcnt) + "元 ", 1)
523
+ ]),
524
+ _: 1
525
+ }, 8, ["label"])
526
+ ]),
527
+ _: 1
528
+ }, 8, ["data"])
529
+ ], 64);
530
+ };
531
+ }
532
+ }), De = /* @__PURE__ */ H({
533
+ __name: "file",
534
+ setup(f) {
535
+ const { proxy: E } = B(), T = Y().query.applyId, t = _([]);
536
+ S.findFileList({ applyId: T }).then((h) => {
537
+ t.value = h.data.results || [];
538
+ });
539
+ function v(h) {
540
+ const y = document.createElement("a"), o = x.fileUrl(h.filePath), w = h.fileName || `file_${Date.now()}`;
541
+ fetch(o).then((A) => {
542
+ if (!A.ok) throw new Error("下载失败");
543
+ return A.blob();
544
+ }).then((A) => {
545
+ const s = URL.createObjectURL(A);
546
+ y.href = s, y.download = w, document.body.appendChild(y), y.click();
547
+ });
548
+ }
549
+ return (h, y) => {
550
+ const o = k("el-table-column"), w = k("el-button"), A = k("el-table");
551
+ return r(), L(A, {
552
+ data: t.value,
553
+ style: { width: "100%", "margin-bottom": "25px" },
554
+ border: ""
555
+ }, {
556
+ default: e(() => [
557
+ l(o, {
558
+ type: "index",
559
+ label: "序号",
560
+ width: "60",
561
+ fixed: ""
562
+ }),
563
+ l(o, {
564
+ prop: "fileName",
565
+ label: h.$t("file.fileName")
566
+ }, null, 8, ["label"]),
567
+ l(o, {
568
+ prop: "fileType",
569
+ label: h.$t("file.fileType")
570
+ }, {
571
+ default: e((s) => [
572
+ p(a(I(U).fileTypeDict.getEnumValue(s.row.fileType)), 1)
573
+ ]),
574
+ _: 1
575
+ }, 8, ["label"]),
576
+ l(o, {
577
+ prop: "createTime",
578
+ label: h.$t("file.createTime")
579
+ }, {
580
+ default: e((s) => [
581
+ p(a(I(E).$moment.formatDate(s.row.createTime, "YYYY-MM-DD HH:mm:ss")), 1)
582
+ ]),
583
+ _: 1
584
+ }, 8, ["label"]),
585
+ l(o, {
586
+ fixed: "right",
587
+ label: "操作",
588
+ "min-width": "120"
589
+ }, {
590
+ default: e(({ row: s }) => [
591
+ l(w, {
592
+ link: "",
593
+ type: "primary",
594
+ size: "small",
595
+ onClick: ($) => v(s)
596
+ }, {
597
+ default: e(() => y[0] || (y[0] = [
598
+ p("下载")
599
+ ])),
600
+ _: 2
601
+ }, 1032, ["onClick"])
602
+ ]),
603
+ _: 1
604
+ })
605
+ ]),
606
+ _: 1
607
+ }, 8, ["data"]);
608
+ };
609
+ }
610
+ }), Ne = { class: "app-container" }, Ie = { class: "search-container" }, Ee = { class: "mobile-ins" }, we = { class: "mobile-ins" }, ge = { key: 0 }, xe = { class: "tax-info" }, Pe = { class: "tax-row" }, Ce = { class: "tax-item" }, Me = { class: "tax-item" }, Re = /* @__PURE__ */ H({
611
+ __name: "info",
612
+ setup(f) {
613
+ const { proxy: E } = B(), T = Y(), t = _({}), v = _("one"), h = T.query.applyId;
614
+ S.findById({ applyId: h }).then((s) => {
615
+ t.value = s.data, (t.value.taskType === "MA_ONBOARDING" || t.value.taskType === "MA_RATE_CHANGE") && (v.value = "three");
616
+ });
617
+ const y = _({});
618
+ S.findSettleById({ applyId: h }).then((s) => {
619
+ y.value = s.data;
620
+ });
621
+ const o = _([!1, !1]);
622
+ function w(s) {
623
+ o.value[s] = !o.value[s];
624
+ }
625
+ function A(s) {
626
+ v.value = s.props.name;
627
+ }
628
+ return (s, $) => {
629
+ const i = k("el-descriptions-item"), D = k("jmash-mobileIns-component"), m = k("el-descriptions"), c = k("el-tab-pane"), g = k("el-tabs");
630
+ return r(), d("div", Ne, [
631
+ n("div", Ie, [
632
+ $[3] || ($[3] = n("div", { class: "title-content" }, "商户进件信息", -1)),
633
+ l(m, {
634
+ column: 2,
635
+ border: "",
636
+ class: "right-label-descriptions"
637
+ }, {
638
+ default: e(() => [
639
+ l(i, {
640
+ label: s.$t("mchtApplyApply.creditName")
641
+ }, {
642
+ default: e(() => [
643
+ p(a(t.value.creditName), 1)
644
+ ]),
645
+ _: 1
646
+ }, 8, ["label"]),
647
+ l(i, {
648
+ label: s.$t("mchtApplyApply.merchantName")
649
+ }, {
650
+ default: e(() => [
651
+ p(a(t.value.merchantName), 1)
652
+ ]),
653
+ _: 1
654
+ }, 8, ["label"]),
655
+ l(i, {
656
+ label: s.$t("mchtApplyApply.contactName")
657
+ }, {
658
+ default: e(() => [
659
+ n("span", Ee, [
660
+ l(D, {
661
+ mobileEncrypt: o.value[1],
662
+ mobilePhoneIns: t.value.contactNameIns,
663
+ mobilePhone: t.value.contactName,
664
+ onToggleEncrypt: $[0] || ($[0] = (u) => w(1))
665
+ }, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone"])
666
+ ])
667
+ ]),
668
+ _: 1
669
+ }, 8, ["label"]),
670
+ l(i, {
671
+ label: s.$t("mchtApplyApply.contactMobile")
672
+ }, {
673
+ default: e(() => [
674
+ n("span", we, [
675
+ l(D, {
676
+ mobileEncrypt: o.value[0],
677
+ mobilePhoneIns: t.value.contactMobileIns,
678
+ mobilePhone: t.value.contactMobile,
679
+ onToggleEncrypt: $[1] || ($[1] = (u) => w(0))
680
+ }, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone"])
681
+ ])
682
+ ]),
683
+ _: 1
684
+ }, 8, ["label"]),
685
+ l(i, {
686
+ label: s.$t("mchtApplyApply.likeChainNo")
687
+ }, {
688
+ default: e(() => [
689
+ p(a(t.value.chainNo), 1)
690
+ ]),
691
+ _: 1
692
+ }, 8, ["label"]),
693
+ l(i, {
694
+ label: s.$t("mchtApplyApply.taskType")
695
+ }, {
696
+ default: e(() => [
697
+ p(a(I(U).auditTypeEnum.getEnumValue(
698
+ t.value.taskType
699
+ )), 1)
700
+ ]),
701
+ _: 1
702
+ }, 8, ["label"]),
703
+ l(i, {
704
+ label: s.$t("mchtApplyApply.applyTime")
705
+ }, {
706
+ default: e(() => [
707
+ p(a(I(E).$moment.formatDate(
708
+ t.value.applyTime,
709
+ "YYYY-MM-DD HH:mm:ss"
710
+ )), 1)
711
+ ]),
712
+ _: 1
713
+ }, 8, ["label"]),
714
+ l(i, {
715
+ label: s.$t("mchtApplyApply.authUserId")
716
+ }, {
717
+ default: e(() => [
718
+ t.value.authUserId ? (r(), d("span", ge, a(I(V).userInfo(t.value.authUserId).realName), 1)) : O("", !0)
719
+ ]),
720
+ _: 1
721
+ }, 8, ["label"]),
722
+ l(i, {
723
+ label: s.$t("mchtApplyApply.status")
724
+ }, {
725
+ default: e(() => [
726
+ p(a(I(U).auditStatusEnum.getEnumValue(
727
+ t.value.status
728
+ )), 1)
729
+ ]),
730
+ _: 1
731
+ }, 8, ["label"]),
732
+ t.value.taskType === "MA_ADD_TERM" ? (r(), L(i, {
733
+ key: 0,
734
+ label: s.$t("mchtApplyApply.termNum")
735
+ }, {
736
+ default: e(() => [
737
+ p(a(t.value.termNum), 1)
738
+ ]),
739
+ _: 1
740
+ }, 8, ["label"])) : O("", !0),
741
+ l(i, {
742
+ label: s.$t("mchtApplyApply.reject")
743
+ }, {
744
+ default: e(() => [
745
+ p(a(t.value.reject), 1)
746
+ ]),
747
+ _: 1
748
+ }, 8, ["label"])
749
+ ]),
750
+ _: 1
751
+ }),
752
+ l(g, {
753
+ modelValue: v.value,
754
+ "onUpdate:modelValue": $[2] || ($[2] = (u) => v.value = u),
755
+ onTabClick: A
756
+ }, {
757
+ default: e(() => [
758
+ t.value.taskType === "MA_ONBOARDING" || t.value.taskType === "MA_MERCHANT_CHANGE" ? (r(), L(c, {
759
+ key: 0,
760
+ label: "工商信息",
761
+ name: "one"
762
+ }, {
763
+ default: e(() => [
764
+ l(ce, { mchtApplyTaskData: t.value }, null, 8, ["mchtApplyTaskData"])
765
+ ]),
766
+ _: 1
767
+ })) : O("", !0),
768
+ t.value.taskType === "MA_ONBOARDING" || t.value.taskType === "MA_MERCHANT_CHANGE" ? (r(), L(c, {
769
+ key: 1,
770
+ label: "结算信息",
771
+ name: "two"
772
+ }, {
773
+ default: e(() => [
774
+ l($e, { channelData: y.value }, null, 8, ["channelData"])
775
+ ]),
776
+ _: 1
777
+ })) : O("", !0),
778
+ t.value.taskType === "MA_ONBOARDING" || t.value.taskType === "MA_RATE_CHANGE" ? (r(), L(c, {
779
+ key: 2,
780
+ label: "业务信息",
781
+ name: "three"
782
+ }, {
783
+ default: e(() => [
784
+ n("div", xe, [
785
+ n("div", Pe, [
786
+ n("span", Ce, " 结算类型: " + a(I(U).settleTypeDict.getDictValue(
787
+ y.value.settleType
788
+ )), 1),
789
+ n("span", Me, " 结算周期: " + a(I(U).settlePeriodDict.getDictValue(
790
+ y.value.settlePeriod
791
+ )), 1)
792
+ ])
793
+ ]),
794
+ l(Ae)
795
+ ]),
796
+ _: 1
797
+ })) : O("", !0),
798
+ t.value.taskType === "MA_ONBOARDING" || t.value.taskType === "MA_MERCHANT_CHANGE" ? (r(), L(c, {
799
+ key: 3,
800
+ label: "附件记录",
801
+ name: "five"
802
+ }, {
803
+ default: e(() => [
804
+ l(De)
805
+ ]),
806
+ _: 1
807
+ })) : O("", !0)
808
+ ]),
809
+ _: 1
810
+ }, 8, ["modelValue"])
811
+ ])
812
+ ]);
813
+ };
814
+ }
815
+ }), He = /* @__PURE__ */ F(Re, [["__scopeId", "data-v-05f08750"]]);
816
+ export {
817
+ He as default
818
+ };