@pangu-backend-ui/finance-core 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.
- package/index.js +1574 -0
- package/index.umd.cjs +1 -0
- package/package.json +36 -0
- package/types/components/AlipayTransferDialog.vue.d.ts +32 -0
- package/types/components/RejectPopover.vue.d.ts +301 -0
- package/types/components/UserWithdraHistory/UserWithdrawHistoryComp.vue.d.ts +13 -0
- package/types/components/UserWithdraHistory/index.d.ts +6 -0
- package/types/components/UserWithdrawMethod/UserWithdrawMethodComp.vue.d.ts +14 -0
- package/types/components/UserWithdrawMethod/index.d.ts +6 -0
- package/types/components/index.d.ts +7 -0
- package/types/index.d.ts +9 -0
- package/types/routes/index.d.ts +6 -0
- package/types/types/InstallOptions.d.ts +4 -0
- package/types/views/PayHistoryListView.vue.d.ts +25 -0
- package/types/views/TransferHistoryListView.vue.d.ts +24 -0
- package/types/views/WithdrawHistoryListView.vue.d.ts +351 -0
- package/types/views/index.d.ts +4 -0
- package/web-types.json +13 -0
package/index.js
ADDED
|
@@ -0,0 +1,1574 @@
|
|
|
1
|
+
import { defineComponent as L, ref as D, resolveComponent as o, openBlock as n, createBlock as p, withCtx as l, createVNode as e, createTextVNode as r, createCommentVNode as y, shallowRef as B, inject as O, toDisplayString as w, createElementVNode as H, resolveDirective as Q, createElementBlock as E, Fragment as R, withDirectives as X, watch as z, renderList as $ } from "vue";
|
|
2
|
+
import { useUserCoreConfigStore as J } from "@pangu-backend-ui/user-core";
|
|
3
|
+
import { ElMessage as Y, ElLoading as Z } from "element-plus";
|
|
4
|
+
const ee = /* @__PURE__ */ L({
|
|
5
|
+
__name: "UserWithdrawHistoryComp",
|
|
6
|
+
props: ["userId"],
|
|
7
|
+
setup(V) {
|
|
8
|
+
const a = D({
|
|
9
|
+
userId: V.userId
|
|
10
|
+
});
|
|
11
|
+
return (c, _) => {
|
|
12
|
+
const u = o("el-table-column"), C = o("el-tag"), g = o("pg-table");
|
|
13
|
+
return n(), p(g, {
|
|
14
|
+
"data-url": "/api/withdraw/records",
|
|
15
|
+
condition: a.value
|
|
16
|
+
}, {
|
|
17
|
+
columns: l(() => [
|
|
18
|
+
e(u, {
|
|
19
|
+
prop: "id",
|
|
20
|
+
label: "ID",
|
|
21
|
+
align: "center",
|
|
22
|
+
width: "80",
|
|
23
|
+
"show-overflow-tooltip": ""
|
|
24
|
+
}),
|
|
25
|
+
e(u, {
|
|
26
|
+
prop: "amount",
|
|
27
|
+
label: "提现金额",
|
|
28
|
+
align: "center",
|
|
29
|
+
"show-overflow-tooltip": ""
|
|
30
|
+
}),
|
|
31
|
+
e(u, {
|
|
32
|
+
label: "应到金额",
|
|
33
|
+
prop: "actualAmount",
|
|
34
|
+
align: "center"
|
|
35
|
+
}),
|
|
36
|
+
e(u, {
|
|
37
|
+
label: "状态",
|
|
38
|
+
align: "center",
|
|
39
|
+
"show-overflow-tooltip": ""
|
|
40
|
+
}, {
|
|
41
|
+
default: l(({ row: v }) => [
|
|
42
|
+
v.state === "SUBMITTED" ? (n(), p(C, {
|
|
43
|
+
key: 0,
|
|
44
|
+
type: "warning",
|
|
45
|
+
size: "small"
|
|
46
|
+
}, {
|
|
47
|
+
default: l(() => [
|
|
48
|
+
r("待审批")
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
})) : y("", !0),
|
|
52
|
+
v.state === "REJECTED" ? (n(), p(C, {
|
|
53
|
+
key: 1,
|
|
54
|
+
type: "info",
|
|
55
|
+
size: "small"
|
|
56
|
+
}, {
|
|
57
|
+
default: l(() => [
|
|
58
|
+
r("已驳回")
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
})) : y("", !0),
|
|
62
|
+
v.state === "WITHDRAW_FAILED" ? (n(), p(C, {
|
|
63
|
+
key: 2,
|
|
64
|
+
type: "danger",
|
|
65
|
+
size: "small"
|
|
66
|
+
}, {
|
|
67
|
+
default: l(() => [
|
|
68
|
+
r("提现失败")
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})) : y("", !0),
|
|
72
|
+
v.state === "WITHDRAW_SUCCESS" ? (n(), p(C, {
|
|
73
|
+
key: 3,
|
|
74
|
+
type: "success",
|
|
75
|
+
size: "small"
|
|
76
|
+
}, {
|
|
77
|
+
default: l(() => [
|
|
78
|
+
r("提现成功")
|
|
79
|
+
]),
|
|
80
|
+
_: 1
|
|
81
|
+
})) : y("", !0)
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}),
|
|
85
|
+
e(u, {
|
|
86
|
+
label: "费率",
|
|
87
|
+
prop: "handlingFeeRate",
|
|
88
|
+
align: "center"
|
|
89
|
+
}),
|
|
90
|
+
e(u, {
|
|
91
|
+
label: "手续费",
|
|
92
|
+
prop: "handlingFee",
|
|
93
|
+
align: "center"
|
|
94
|
+
}),
|
|
95
|
+
e(u, {
|
|
96
|
+
label: "驳回原因",
|
|
97
|
+
prop: "rejectReason",
|
|
98
|
+
align: "center"
|
|
99
|
+
}),
|
|
100
|
+
e(u, {
|
|
101
|
+
label: "创建时间",
|
|
102
|
+
prop: "createdTime",
|
|
103
|
+
width: "150",
|
|
104
|
+
align: "center"
|
|
105
|
+
})
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}, 8, ["condition"]);
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
}), le = {
|
|
112
|
+
install: () => {
|
|
113
|
+
J().userDetailDialogTabs.push({
|
|
114
|
+
name: "提现历史",
|
|
115
|
+
code: "WITHDRAW_HISTORY",
|
|
116
|
+
component: B(ee)
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}, te = /* @__PURE__ */ L({
|
|
120
|
+
__name: "UserWithdrawMethodComp",
|
|
121
|
+
props: ["userId"],
|
|
122
|
+
setup(V) {
|
|
123
|
+
const b = V, a = D(), c = O("http");
|
|
124
|
+
function _(u) {
|
|
125
|
+
c == null || c.post(`/api/withdraw/method/${u}/invalid`).then((C) => {
|
|
126
|
+
Y.success("操作成功"), a.value.search();
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
return (u, C) => {
|
|
130
|
+
const g = o("el-table-column"), v = o("el-image"), s = o("el-tag"), f = o("el-button"), x = o("el-popconfirm"), T = o("pg-table");
|
|
131
|
+
return n(), p(T, {
|
|
132
|
+
ref_key: "table",
|
|
133
|
+
ref: a,
|
|
134
|
+
"data-url": "/api/withdraw/method",
|
|
135
|
+
condition: { userId: b.userId }
|
|
136
|
+
}, {
|
|
137
|
+
columns: l(() => [
|
|
138
|
+
e(g, {
|
|
139
|
+
prop: "id",
|
|
140
|
+
label: "编号",
|
|
141
|
+
width: "70",
|
|
142
|
+
align: "center",
|
|
143
|
+
"show-overflow-tooltip": ""
|
|
144
|
+
}),
|
|
145
|
+
e(g, {
|
|
146
|
+
prop: "platformName",
|
|
147
|
+
label: "平台",
|
|
148
|
+
"min-width": "80",
|
|
149
|
+
"show-overflow-tooltip": ""
|
|
150
|
+
}),
|
|
151
|
+
e(g, {
|
|
152
|
+
prop: "account",
|
|
153
|
+
label: "帐号",
|
|
154
|
+
"min-width": "150"
|
|
155
|
+
}),
|
|
156
|
+
e(g, {
|
|
157
|
+
prop: "realName",
|
|
158
|
+
label: "姓名",
|
|
159
|
+
align: "center",
|
|
160
|
+
"min-width": "80",
|
|
161
|
+
"show-overflow-tooltip": ""
|
|
162
|
+
}),
|
|
163
|
+
e(g, {
|
|
164
|
+
prop: "nickName",
|
|
165
|
+
label: "昵称",
|
|
166
|
+
"min-width": "80",
|
|
167
|
+
"show-overflow-tooltip": ""
|
|
168
|
+
}),
|
|
169
|
+
e(g, {
|
|
170
|
+
prop: "openId",
|
|
171
|
+
label: "OpenId",
|
|
172
|
+
align: "center",
|
|
173
|
+
"min-width": "80",
|
|
174
|
+
"show-overflow-tooltip": ""
|
|
175
|
+
}),
|
|
176
|
+
e(g, {
|
|
177
|
+
prop: "qcCodeSrc",
|
|
178
|
+
label: "二维码",
|
|
179
|
+
align: "center",
|
|
180
|
+
"show-overflow-tooltip": ""
|
|
181
|
+
}, {
|
|
182
|
+
default: l(({ row: d }) => [
|
|
183
|
+
d.qrCodeSrc ? (n(), p(v, {
|
|
184
|
+
key: 0,
|
|
185
|
+
src: d.qrCodeSrc,
|
|
186
|
+
style: { width: "25px", height: "25px" },
|
|
187
|
+
fit: "contain",
|
|
188
|
+
"preview-teleported": "",
|
|
189
|
+
"preview-src-list": [d.qrCodeSrc]
|
|
190
|
+
}, null, 8, ["src", "preview-src-list"])) : y("", !0)
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
}),
|
|
194
|
+
e(g, {
|
|
195
|
+
label: "状态",
|
|
196
|
+
prop: "status",
|
|
197
|
+
align: "center",
|
|
198
|
+
width: "80"
|
|
199
|
+
}, {
|
|
200
|
+
default: l(({ row: d }) => [
|
|
201
|
+
d.status == "VALID" ? (n(), p(s, {
|
|
202
|
+
key: 0,
|
|
203
|
+
type: "success"
|
|
204
|
+
}, {
|
|
205
|
+
default: l(() => [
|
|
206
|
+
r("有效")
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
})) : y("", !0),
|
|
210
|
+
d.status == "INVALID" ? (n(), p(s, {
|
|
211
|
+
key: 1,
|
|
212
|
+
type: "warning"
|
|
213
|
+
}, {
|
|
214
|
+
default: l(() => [
|
|
215
|
+
r("失效")
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
})) : y("", !0)
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
}),
|
|
222
|
+
e(g, {
|
|
223
|
+
label: "默认",
|
|
224
|
+
align: "center",
|
|
225
|
+
width: "60"
|
|
226
|
+
}, {
|
|
227
|
+
default: l(({ row: d }) => [
|
|
228
|
+
e(s, null, {
|
|
229
|
+
default: l(() => [
|
|
230
|
+
r(w(d.isDefault ? "是" : "否"), 1)
|
|
231
|
+
]),
|
|
232
|
+
_: 2
|
|
233
|
+
}, 1024)
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}),
|
|
237
|
+
e(g, {
|
|
238
|
+
prop: "createdTime",
|
|
239
|
+
label: "创建时间",
|
|
240
|
+
width: "170",
|
|
241
|
+
"show-overflow-tooltip": ""
|
|
242
|
+
}),
|
|
243
|
+
e(g, {
|
|
244
|
+
prop: "updatedTime",
|
|
245
|
+
label: "修改时间",
|
|
246
|
+
width: "170",
|
|
247
|
+
"show-overflow-tooltip": ""
|
|
248
|
+
}),
|
|
249
|
+
e(g, {
|
|
250
|
+
align: "center",
|
|
251
|
+
fixed: "right",
|
|
252
|
+
width: "80",
|
|
253
|
+
label: "操作"
|
|
254
|
+
}, {
|
|
255
|
+
default: l(({ row: d }) => [
|
|
256
|
+
d.status == "VALID" ? (n(), p(x, {
|
|
257
|
+
key: 0,
|
|
258
|
+
title: "确定要失效该提现方式吗?",
|
|
259
|
+
onConfirm: (U) => _(d.id)
|
|
260
|
+
}, {
|
|
261
|
+
reference: l(() => [
|
|
262
|
+
e(f, {
|
|
263
|
+
type: "danger",
|
|
264
|
+
icon: "circle-close-filled",
|
|
265
|
+
circle: ""
|
|
266
|
+
})
|
|
267
|
+
]),
|
|
268
|
+
_: 2
|
|
269
|
+
}, 1032, ["onConfirm"])) : y("", !0)
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
})
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["condition"]);
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
}), ae = {
|
|
279
|
+
install: () => {
|
|
280
|
+
J().userDetailDialogTabs.push({
|
|
281
|
+
name: "提现方式",
|
|
282
|
+
code: "WITHDRAW_METHOD",
|
|
283
|
+
component: B(te)
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
}, oe = [
|
|
287
|
+
le,
|
|
288
|
+
ae
|
|
289
|
+
], ne = { style: { display: "flex", "flex-direction": "column" } }, re = { style: { display: "flex", "justify-content": "end" } }, se = /* @__PURE__ */ L({
|
|
290
|
+
__name: "RejectPopover",
|
|
291
|
+
props: ["withdrawId"],
|
|
292
|
+
emits: ["success"],
|
|
293
|
+
setup(V, { emit: b }) {
|
|
294
|
+
const a = V, c = O("http"), _ = D(!1), u = D({
|
|
295
|
+
rejectReason: null
|
|
296
|
+
}), C = D({
|
|
297
|
+
rejectReason: [
|
|
298
|
+
{ required: !0, message: "请输入驳回原因" }
|
|
299
|
+
]
|
|
300
|
+
}), g = D();
|
|
301
|
+
function v() {
|
|
302
|
+
var s;
|
|
303
|
+
(s = g.value) == null || s.validate((f, x) => {
|
|
304
|
+
f && (c == null || c.post(`/api/withdraw/${a.withdrawId}/reject`, u.value).then((T) => {
|
|
305
|
+
_.value = !1, b("success");
|
|
306
|
+
}));
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
return (s, f) => {
|
|
310
|
+
const x = o("el-button"), T = o("el-input"), d = o("el-form-item"), U = o("el-form"), A = o("el-popover");
|
|
311
|
+
return n(), p(A, {
|
|
312
|
+
visible: _.value,
|
|
313
|
+
trigger: "click",
|
|
314
|
+
width: "200",
|
|
315
|
+
title: "确定要驳回吗?"
|
|
316
|
+
}, {
|
|
317
|
+
reference: l(() => [
|
|
318
|
+
e(x, {
|
|
319
|
+
type: "danger",
|
|
320
|
+
onClick: f[0] || (f[0] = (I) => _.value = !0)
|
|
321
|
+
}, {
|
|
322
|
+
default: l(() => [
|
|
323
|
+
r("驳回")
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
327
|
+
]),
|
|
328
|
+
default: l(() => [
|
|
329
|
+
H("div", ne, [
|
|
330
|
+
e(U, {
|
|
331
|
+
ref_key: "form",
|
|
332
|
+
ref: g,
|
|
333
|
+
rules: C.value,
|
|
334
|
+
model: u.value
|
|
335
|
+
}, {
|
|
336
|
+
default: l(() => [
|
|
337
|
+
e(d, { prop: "rejectReason" }, {
|
|
338
|
+
default: l(() => [
|
|
339
|
+
e(T, {
|
|
340
|
+
modelValue: u.value.rejectReason,
|
|
341
|
+
"onUpdate:modelValue": f[1] || (f[1] = (I) => u.value.rejectReason = I),
|
|
342
|
+
type: "textarea",
|
|
343
|
+
placeholder: "请输入驳回原因"
|
|
344
|
+
}, null, 8, ["modelValue"])
|
|
345
|
+
]),
|
|
346
|
+
_: 1
|
|
347
|
+
})
|
|
348
|
+
]),
|
|
349
|
+
_: 1
|
|
350
|
+
}, 8, ["rules", "model"]),
|
|
351
|
+
H("div", re, [
|
|
352
|
+
e(x, {
|
|
353
|
+
size: "small",
|
|
354
|
+
text: "",
|
|
355
|
+
onClick: f[2] || (f[2] = (I) => _.value = !1)
|
|
356
|
+
}, {
|
|
357
|
+
default: l(() => [
|
|
358
|
+
r("取消")
|
|
359
|
+
]),
|
|
360
|
+
_: 1
|
|
361
|
+
}),
|
|
362
|
+
e(x, {
|
|
363
|
+
size: "small",
|
|
364
|
+
type: "primary",
|
|
365
|
+
onClick: v
|
|
366
|
+
}, {
|
|
367
|
+
default: l(() => [
|
|
368
|
+
r("确认")
|
|
369
|
+
]),
|
|
370
|
+
_: 1
|
|
371
|
+
})
|
|
372
|
+
])
|
|
373
|
+
])
|
|
374
|
+
]),
|
|
375
|
+
_: 1
|
|
376
|
+
}, 8, ["visible"]);
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
}), ie = { style: { width: "100%", display: "flex", "justify-content": "center", "align-items": "center" } }, ue = { style: { color: "red", "font-size": "25px", "margin-left": "5px" } }, de = { style: { width: "100%", "margin-top": "50px", display: "flex", "justify-content": "center", "align-items": "center" } }, pe = { style: { color: "red", "font-size": "25px", "margin-left": "5px" } }, ce = /* @__PURE__ */ L({
|
|
380
|
+
__name: "AlipayTransferDialog",
|
|
381
|
+
props: ["condition"],
|
|
382
|
+
emits: ["success"],
|
|
383
|
+
setup(V, { expose: b, emit: a }) {
|
|
384
|
+
const c = V, _ = O("http"), u = D({
|
|
385
|
+
show: !1,
|
|
386
|
+
loading: !1,
|
|
387
|
+
totalAmount: null,
|
|
388
|
+
totalCount: null,
|
|
389
|
+
latestWithdrawId: null
|
|
390
|
+
});
|
|
391
|
+
function C() {
|
|
392
|
+
u.value.show = !0, g();
|
|
393
|
+
}
|
|
394
|
+
function g() {
|
|
395
|
+
u.value.loading = !0, c.condition.state = "SUBMITTED", c.condition.isManualTransferMode = 1, c.condition.suspendedTransfer = 0, _ == null || _.get("/api/withdraw/get-manual-transfer-info", c.condition).then((d) => {
|
|
396
|
+
u.value.loading = !1, u.value.totalAmount = d.data.totalAmount, u.value.totalCount = d.data.totalCount, u.value.latestWithdrawId = d.data.latestWithdrawId;
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
function v() {
|
|
400
|
+
_ == null || _.download("/api/withdraw/get-manual-transfer-file", {
|
|
401
|
+
...c.condition,
|
|
402
|
+
lessOrEqualsThanId: u.value.latestWithdrawId
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
const s = D(), f = D(null);
|
|
406
|
+
function x(d) {
|
|
407
|
+
Y.success({
|
|
408
|
+
message: d.response.data,
|
|
409
|
+
type: "success",
|
|
410
|
+
duration: 0,
|
|
411
|
+
showClose: !0
|
|
412
|
+
}), f.value && f.value.close(), u.value.show = !1, a("success"), s.value.clearFileList(), u.value.totalAmount = null, u.value.totalCount = null, u.value.latestWithdrawId = null;
|
|
413
|
+
}
|
|
414
|
+
function T() {
|
|
415
|
+
f.value = Z.service();
|
|
416
|
+
}
|
|
417
|
+
return b({
|
|
418
|
+
show: C
|
|
419
|
+
}), (d, U) => {
|
|
420
|
+
const A = o("el-button"), I = o("el-col"), W = o("pg-upload"), m = o("el-row"), P = o("el-dialog");
|
|
421
|
+
return n(), p(P, {
|
|
422
|
+
modelValue: u.value.show,
|
|
423
|
+
"onUpdate:modelValue": U[0] || (U[0] = (N) => u.value.show = N),
|
|
424
|
+
"close-on-click-modal": !1,
|
|
425
|
+
width: "500",
|
|
426
|
+
draggable: "",
|
|
427
|
+
title: "打款信息"
|
|
428
|
+
}, {
|
|
429
|
+
default: l(() => [
|
|
430
|
+
H("div", ie, [
|
|
431
|
+
r(" 打款记录数: "),
|
|
432
|
+
H("span", ue, w(u.value.totalCount == null ? "-" : u.value.totalCount), 1)
|
|
433
|
+
]),
|
|
434
|
+
H("div", de, [
|
|
435
|
+
r(" 打款总金额: "),
|
|
436
|
+
H("span", pe, w(u.value.totalAmount == null ? "-" : u.value.totalAmount.toFixed(2)), 1)
|
|
437
|
+
]),
|
|
438
|
+
e(m, { style: { "margin-top": "50px" } }, {
|
|
439
|
+
default: l(() => [
|
|
440
|
+
e(I, {
|
|
441
|
+
span: 12,
|
|
442
|
+
style: { "text-align": "center" }
|
|
443
|
+
}, {
|
|
444
|
+
default: l(() => [
|
|
445
|
+
e(A, {
|
|
446
|
+
type: "warning",
|
|
447
|
+
icon: "download",
|
|
448
|
+
disabled: u.value.totalCount <= 0,
|
|
449
|
+
onClick: v
|
|
450
|
+
}, {
|
|
451
|
+
default: l(() => [
|
|
452
|
+
r("下载支付宝打款Excel ")
|
|
453
|
+
]),
|
|
454
|
+
_: 1
|
|
455
|
+
}, 8, ["disabled"])
|
|
456
|
+
]),
|
|
457
|
+
_: 1
|
|
458
|
+
}),
|
|
459
|
+
e(I, {
|
|
460
|
+
span: 12,
|
|
461
|
+
style: { "text-align": "center" }
|
|
462
|
+
}, {
|
|
463
|
+
default: l(() => [
|
|
464
|
+
e(W, {
|
|
465
|
+
ref_key: "uploader",
|
|
466
|
+
ref: s,
|
|
467
|
+
accept: "application/vnd.ms-excel",
|
|
468
|
+
"upload-type": "",
|
|
469
|
+
"btn-txt": "上传支付宝打款结果",
|
|
470
|
+
onOnSuccess: x,
|
|
471
|
+
onBeforeUpload: T,
|
|
472
|
+
qiniu: !1,
|
|
473
|
+
"action-url": "/api/withdraw/handle-batch-manual-transfer-result"
|
|
474
|
+
}, null, 512)
|
|
475
|
+
]),
|
|
476
|
+
_: 1
|
|
477
|
+
})
|
|
478
|
+
]),
|
|
479
|
+
_: 1
|
|
480
|
+
})
|
|
481
|
+
]),
|
|
482
|
+
_: 1
|
|
483
|
+
}, 8, ["modelValue"]);
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
}), me = { style: { color: "red", "font-weight": "bold" } }, _e = /* @__PURE__ */ L({
|
|
487
|
+
__name: "WithdrawHistoryListView",
|
|
488
|
+
setup(V) {
|
|
489
|
+
const b = O("http"), a = D({
|
|
490
|
+
id: null,
|
|
491
|
+
uid: null,
|
|
492
|
+
tradeNo: null,
|
|
493
|
+
isManualTransferMode: null,
|
|
494
|
+
suspendedTransfer: null,
|
|
495
|
+
state: null
|
|
496
|
+
}), c = D();
|
|
497
|
+
function _() {
|
|
498
|
+
c.value.search();
|
|
499
|
+
}
|
|
500
|
+
const u = D();
|
|
501
|
+
function C() {
|
|
502
|
+
u.value.show();
|
|
503
|
+
}
|
|
504
|
+
const g = D();
|
|
505
|
+
function v(T) {
|
|
506
|
+
g.value.show(T);
|
|
507
|
+
}
|
|
508
|
+
function s(T) {
|
|
509
|
+
b == null || b.post(`/api/withdraw/${T}/switch-suspend-transfer`, {}).then((d) => {
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
function f(T) {
|
|
513
|
+
b == null || b.post(`/api/withdraw/${T}/approve`).then((d) => {
|
|
514
|
+
_();
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
function x(T) {
|
|
518
|
+
b == null || b.post(`/api/withdraw/${T}/confirm`).then((d) => {
|
|
519
|
+
_();
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
return (T, d) => {
|
|
523
|
+
const U = o("el-input"), A = o("pg-user-selector"), I = o("el-option"), W = o("el-select"), m = o("el-button"), P = o("el-space"), N = o("el-card"), h = o("el-table-column"), S = o("el-tag"), j = o("el-link"), F = o("pg-user-mobile"), t = o("el-switch"), k = o("el-popconfirm"), M = o("pg-table"), G = o("pg-user-detail-dialog"), K = Q("permission");
|
|
524
|
+
return n(), E(R, null, [
|
|
525
|
+
e(N, null, {
|
|
526
|
+
default: l(() => [
|
|
527
|
+
e(P, null, {
|
|
528
|
+
default: l(() => [
|
|
529
|
+
e(U, {
|
|
530
|
+
modelValue: a.value.id,
|
|
531
|
+
"onUpdate:modelValue": d[0] || (d[0] = (i) => a.value.id = i),
|
|
532
|
+
placeholder: "提现记录ID",
|
|
533
|
+
style: { width: "110px" },
|
|
534
|
+
clearable: ""
|
|
535
|
+
}, null, 8, ["modelValue"]),
|
|
536
|
+
e(A, {
|
|
537
|
+
modelValue: a.value.uid,
|
|
538
|
+
"onUpdate:modelValue": d[1] || (d[1] = (i) => a.value.uid = i),
|
|
539
|
+
placeholder: "搜索用户",
|
|
540
|
+
clearable: "",
|
|
541
|
+
style: { width: "300px" }
|
|
542
|
+
}, null, 8, ["modelValue"]),
|
|
543
|
+
e(U, {
|
|
544
|
+
modelValue: a.value.tradeNo,
|
|
545
|
+
"onUpdate:modelValue": d[2] || (d[2] = (i) => a.value.tradeNo = i),
|
|
546
|
+
placeholder: "转账编号",
|
|
547
|
+
style: { width: "220px" },
|
|
548
|
+
clearable: ""
|
|
549
|
+
}, null, 8, ["modelValue"]),
|
|
550
|
+
e(W, {
|
|
551
|
+
modelValue: a.value.isManualTransferMode,
|
|
552
|
+
"onUpdate:modelValue": d[3] || (d[3] = (i) => a.value.isManualTransferMode = i),
|
|
553
|
+
placeholder: "已确认",
|
|
554
|
+
style: { width: "100px" },
|
|
555
|
+
clearable: ""
|
|
556
|
+
}, {
|
|
557
|
+
default: l(() => [
|
|
558
|
+
e(I, {
|
|
559
|
+
label: "是",
|
|
560
|
+
value: 1
|
|
561
|
+
}),
|
|
562
|
+
e(I, {
|
|
563
|
+
label: "否",
|
|
564
|
+
value: 0
|
|
565
|
+
})
|
|
566
|
+
]),
|
|
567
|
+
_: 1
|
|
568
|
+
}, 8, ["modelValue"]),
|
|
569
|
+
e(W, {
|
|
570
|
+
modelValue: a.value.suspendedTransfer,
|
|
571
|
+
"onUpdate:modelValue": d[4] || (d[4] = (i) => a.value.suspendedTransfer = i),
|
|
572
|
+
placeholder: "允许提现",
|
|
573
|
+
style: { width: "100px" },
|
|
574
|
+
clearable: ""
|
|
575
|
+
}, {
|
|
576
|
+
default: l(() => [
|
|
577
|
+
e(I, {
|
|
578
|
+
label: "是",
|
|
579
|
+
value: 0
|
|
580
|
+
}),
|
|
581
|
+
e(I, {
|
|
582
|
+
label: "否",
|
|
583
|
+
value: 1
|
|
584
|
+
})
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
}, 8, ["modelValue"]),
|
|
588
|
+
e(W, {
|
|
589
|
+
modelValue: a.value.state,
|
|
590
|
+
"onUpdate:modelValue": d[5] || (d[5] = (i) => a.value.state = i),
|
|
591
|
+
placeholder: "状态",
|
|
592
|
+
style: { width: "100px" },
|
|
593
|
+
clearable: ""
|
|
594
|
+
}, {
|
|
595
|
+
default: l(() => [
|
|
596
|
+
e(I, {
|
|
597
|
+
label: "等待审核",
|
|
598
|
+
value: "SUBMITTED"
|
|
599
|
+
}),
|
|
600
|
+
e(I, {
|
|
601
|
+
label: "审核失败",
|
|
602
|
+
value: "REJECTED"
|
|
603
|
+
}),
|
|
604
|
+
e(I, {
|
|
605
|
+
label: "提现成功",
|
|
606
|
+
value: "WITHDRAW_SUCCESS"
|
|
607
|
+
}),
|
|
608
|
+
e(I, {
|
|
609
|
+
label: "自主取消",
|
|
610
|
+
value: "CANCELED"
|
|
611
|
+
}),
|
|
612
|
+
e(I, {
|
|
613
|
+
label: "提现失败",
|
|
614
|
+
value: "WITHDRAW_FAILED"
|
|
615
|
+
})
|
|
616
|
+
]),
|
|
617
|
+
_: 1
|
|
618
|
+
}, 8, ["modelValue"]),
|
|
619
|
+
e(m, {
|
|
620
|
+
type: "primary",
|
|
621
|
+
icon: "search",
|
|
622
|
+
onClick: _
|
|
623
|
+
}, {
|
|
624
|
+
default: l(() => [
|
|
625
|
+
r("查询")
|
|
626
|
+
]),
|
|
627
|
+
_: 1
|
|
628
|
+
}),
|
|
629
|
+
X((n(), p(m, {
|
|
630
|
+
type: "warning",
|
|
631
|
+
onClick: C
|
|
632
|
+
}, {
|
|
633
|
+
default: l(() => [
|
|
634
|
+
r("支付宝打款")
|
|
635
|
+
]),
|
|
636
|
+
_: 1
|
|
637
|
+
})), [
|
|
638
|
+
[K, "WITHDRAW_ALIPAY_MANUAL_TRANSFER"]
|
|
639
|
+
])
|
|
640
|
+
]),
|
|
641
|
+
_: 1
|
|
642
|
+
})
|
|
643
|
+
]),
|
|
644
|
+
_: 1
|
|
645
|
+
}),
|
|
646
|
+
e(M, {
|
|
647
|
+
ref_key: "table",
|
|
648
|
+
ref: c,
|
|
649
|
+
"data-url": "/api/withdraw/records",
|
|
650
|
+
style: { "margin-top": "10px" },
|
|
651
|
+
condition: a.value
|
|
652
|
+
}, {
|
|
653
|
+
columns: l(() => [
|
|
654
|
+
e(h, {
|
|
655
|
+
label: "ID",
|
|
656
|
+
prop: "id",
|
|
657
|
+
align: "center",
|
|
658
|
+
width: "70px"
|
|
659
|
+
}),
|
|
660
|
+
e(h, { label: "提现信息" }, {
|
|
661
|
+
default: l(() => [
|
|
662
|
+
e(h, {
|
|
663
|
+
label: "金额",
|
|
664
|
+
prop: "amount",
|
|
665
|
+
align: "right",
|
|
666
|
+
width: "65px"
|
|
667
|
+
}, {
|
|
668
|
+
default: l(({ row: i }) => [
|
|
669
|
+
H("span", me, w(i.amount), 1)
|
|
670
|
+
]),
|
|
671
|
+
_: 1
|
|
672
|
+
}),
|
|
673
|
+
e(h, {
|
|
674
|
+
label: "应到",
|
|
675
|
+
prop: "actualAmount",
|
|
676
|
+
align: "right",
|
|
677
|
+
width: "65px"
|
|
678
|
+
}),
|
|
679
|
+
e(h, {
|
|
680
|
+
label: "费率",
|
|
681
|
+
prop: "handlingFeeRate",
|
|
682
|
+
align: "right",
|
|
683
|
+
width: "55px"
|
|
684
|
+
}),
|
|
685
|
+
e(h, {
|
|
686
|
+
label: "手续费",
|
|
687
|
+
prop: "handlingFee",
|
|
688
|
+
align: "right",
|
|
689
|
+
width: "70px"
|
|
690
|
+
}),
|
|
691
|
+
e(h, {
|
|
692
|
+
label: "状态",
|
|
693
|
+
prop: "state",
|
|
694
|
+
align: "center",
|
|
695
|
+
width: "100px"
|
|
696
|
+
}, {
|
|
697
|
+
default: l(({ row: i }) => [
|
|
698
|
+
i.state == "SUBMITTED" ? (n(), p(S, {
|
|
699
|
+
key: 0,
|
|
700
|
+
type: "warning"
|
|
701
|
+
}, {
|
|
702
|
+
default: l(() => [
|
|
703
|
+
r("等待审核")
|
|
704
|
+
]),
|
|
705
|
+
_: 1
|
|
706
|
+
})) : y("", !0),
|
|
707
|
+
i.state == "REJECTED" ? (n(), p(S, {
|
|
708
|
+
key: 1,
|
|
709
|
+
type: "info"
|
|
710
|
+
}, {
|
|
711
|
+
default: l(() => [
|
|
712
|
+
r("审核失败")
|
|
713
|
+
]),
|
|
714
|
+
_: 1
|
|
715
|
+
})) : y("", !0),
|
|
716
|
+
i.state == "WITHDRAW_FAILED" ? (n(), p(S, {
|
|
717
|
+
key: 2,
|
|
718
|
+
type: "danger"
|
|
719
|
+
}, {
|
|
720
|
+
default: l(() => [
|
|
721
|
+
r("提现失败")
|
|
722
|
+
]),
|
|
723
|
+
_: 1
|
|
724
|
+
})) : y("", !0),
|
|
725
|
+
i.state == "CANCELED" ? (n(), p(S, {
|
|
726
|
+
key: 3,
|
|
727
|
+
type: "danger"
|
|
728
|
+
}, {
|
|
729
|
+
default: l(() => [
|
|
730
|
+
r("自主取消")
|
|
731
|
+
]),
|
|
732
|
+
_: 1
|
|
733
|
+
})) : y("", !0),
|
|
734
|
+
i.state == "WITHDRAW_SUCCESS" ? (n(), p(S, {
|
|
735
|
+
key: 4,
|
|
736
|
+
type: "success"
|
|
737
|
+
}, {
|
|
738
|
+
default: l(() => [
|
|
739
|
+
r("提现成功")
|
|
740
|
+
]),
|
|
741
|
+
_: 1
|
|
742
|
+
})) : y("", !0)
|
|
743
|
+
]),
|
|
744
|
+
_: 1
|
|
745
|
+
}),
|
|
746
|
+
e(h, {
|
|
747
|
+
label: "确认",
|
|
748
|
+
prop: "isManualTransferMode",
|
|
749
|
+
align: "center",
|
|
750
|
+
width: "60px"
|
|
751
|
+
}, {
|
|
752
|
+
default: l(({ row: i }) => [
|
|
753
|
+
i.isManualTransferMode ? y("", !0) : (n(), p(S, {
|
|
754
|
+
key: 0,
|
|
755
|
+
type: "danger"
|
|
756
|
+
}, {
|
|
757
|
+
default: l(() => [
|
|
758
|
+
r("否")
|
|
759
|
+
]),
|
|
760
|
+
_: 1
|
|
761
|
+
})),
|
|
762
|
+
i.isManualTransferMode ? (n(), p(S, {
|
|
763
|
+
key: 1,
|
|
764
|
+
type: "success"
|
|
765
|
+
}, {
|
|
766
|
+
default: l(() => [
|
|
767
|
+
r("是")
|
|
768
|
+
]),
|
|
769
|
+
_: 1
|
|
770
|
+
})) : y("", !0)
|
|
771
|
+
]),
|
|
772
|
+
_: 1
|
|
773
|
+
}),
|
|
774
|
+
e(h, {
|
|
775
|
+
label: "转账编号",
|
|
776
|
+
prop: "tradeNo",
|
|
777
|
+
align: "center",
|
|
778
|
+
"show-overflow-tooltip": ""
|
|
779
|
+
}),
|
|
780
|
+
e(h, {
|
|
781
|
+
label: "提现平台",
|
|
782
|
+
prop: "withdrawPlatformName",
|
|
783
|
+
align: "center"
|
|
784
|
+
})
|
|
785
|
+
]),
|
|
786
|
+
_: 1
|
|
787
|
+
}),
|
|
788
|
+
e(h, { label: "用户信息" }, {
|
|
789
|
+
default: l(() => [
|
|
790
|
+
e(h, {
|
|
791
|
+
label: "用户ID",
|
|
792
|
+
prop: "userId",
|
|
793
|
+
align: "center",
|
|
794
|
+
width: "80px",
|
|
795
|
+
"show-overflow-tooltip": ""
|
|
796
|
+
}, {
|
|
797
|
+
default: l(({ row: i }) => [
|
|
798
|
+
e(j, {
|
|
799
|
+
type: "primary",
|
|
800
|
+
onClick: (q) => v(i.userId)
|
|
801
|
+
}, {
|
|
802
|
+
default: l(() => [
|
|
803
|
+
r(w(i.userId), 1)
|
|
804
|
+
]),
|
|
805
|
+
_: 2
|
|
806
|
+
}, 1032, ["onClick"])
|
|
807
|
+
]),
|
|
808
|
+
_: 1
|
|
809
|
+
}),
|
|
810
|
+
e(h, {
|
|
811
|
+
label: "提现姓名",
|
|
812
|
+
prop: "withdrawName",
|
|
813
|
+
align: "center",
|
|
814
|
+
"min-width": "90px"
|
|
815
|
+
}),
|
|
816
|
+
e(h, {
|
|
817
|
+
label: "提现账号",
|
|
818
|
+
prop: "withdrawAccount",
|
|
819
|
+
width: "150px"
|
|
820
|
+
}),
|
|
821
|
+
e(h, {
|
|
822
|
+
label: "手机号",
|
|
823
|
+
prop: "mobile",
|
|
824
|
+
align: "center",
|
|
825
|
+
width: "120px"
|
|
826
|
+
}, {
|
|
827
|
+
default: l(({ row: i }) => [
|
|
828
|
+
(n(), p(F, {
|
|
829
|
+
"mask-mobile": i.mobile,
|
|
830
|
+
"user-id": i.userId,
|
|
831
|
+
key: i.userId
|
|
832
|
+
}, null, 8, ["mask-mobile", "user-id"]))
|
|
833
|
+
]),
|
|
834
|
+
_: 1
|
|
835
|
+
}),
|
|
836
|
+
e(h, {
|
|
837
|
+
label: "用户余额",
|
|
838
|
+
prop: "userBalance",
|
|
839
|
+
align: "right",
|
|
840
|
+
"min-width": "60px"
|
|
841
|
+
})
|
|
842
|
+
]),
|
|
843
|
+
_: 1
|
|
844
|
+
}),
|
|
845
|
+
e(h, {
|
|
846
|
+
label: "更新时间",
|
|
847
|
+
prop: "updatedTime",
|
|
848
|
+
align: "center",
|
|
849
|
+
width: "110px"
|
|
850
|
+
}),
|
|
851
|
+
e(h, {
|
|
852
|
+
label: "提现时间",
|
|
853
|
+
prop: "createdTime",
|
|
854
|
+
align: "center",
|
|
855
|
+
width: "110px"
|
|
856
|
+
}),
|
|
857
|
+
e(h, {
|
|
858
|
+
label: "驳回原因",
|
|
859
|
+
prop: "rejectReason",
|
|
860
|
+
align: "center",
|
|
861
|
+
width: "200px"
|
|
862
|
+
}),
|
|
863
|
+
T.$hasPer("SWITCH_SUSPEND_TRANSFER") ? (n(), p(h, {
|
|
864
|
+
key: 0,
|
|
865
|
+
label: "允许提现",
|
|
866
|
+
align: "center",
|
|
867
|
+
"min-width": "80px"
|
|
868
|
+
}, {
|
|
869
|
+
default: l(({ row: i }) => [
|
|
870
|
+
i.state == "SUBMITTED" ? (n(), p(t, {
|
|
871
|
+
key: 0,
|
|
872
|
+
modelValue: i.suspendedTransfer,
|
|
873
|
+
"onUpdate:modelValue": (q) => i.suspendedTransfer = q,
|
|
874
|
+
onChange: (q) => s(i.id),
|
|
875
|
+
"active-color": "#ff4949",
|
|
876
|
+
"inactive-color": "#13ce66"
|
|
877
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : y("", !0)
|
|
878
|
+
]),
|
|
879
|
+
_: 1
|
|
880
|
+
})) : y("", !0),
|
|
881
|
+
e(h, {
|
|
882
|
+
label: "操作",
|
|
883
|
+
align: "center",
|
|
884
|
+
width: "200px",
|
|
885
|
+
fixed: "right"
|
|
886
|
+
}, {
|
|
887
|
+
default: l(({ row: i }) => [
|
|
888
|
+
i.state == "SUBMITTED" && T.$hasPer("WITHDRAW_APPROVE") ? (n(), p(k, {
|
|
889
|
+
key: 0,
|
|
890
|
+
title: "确定同意本次提现吗?",
|
|
891
|
+
onConfirm: (q) => f(i.id)
|
|
892
|
+
}, {
|
|
893
|
+
reference: l(() => [
|
|
894
|
+
e(m, { type: "success" }, {
|
|
895
|
+
default: l(() => [
|
|
896
|
+
r("通过")
|
|
897
|
+
]),
|
|
898
|
+
_: 1
|
|
899
|
+
})
|
|
900
|
+
]),
|
|
901
|
+
_: 2
|
|
902
|
+
}, 1032, ["onConfirm"])) : y("", !0),
|
|
903
|
+
i.state == "SUBMITTED" && T.$hasPer("WITHDRAW_REJECT") ? (n(), p(se, {
|
|
904
|
+
"withdraw-id": i.id,
|
|
905
|
+
onSuccess: _,
|
|
906
|
+
key: `rej_${i.id}`
|
|
907
|
+
}, null, 8, ["withdraw-id"])) : y("", !0),
|
|
908
|
+
i.state == "SUBMITTED" && !i.isManualTransferMode && T.$hasPer("WITHDRAW_CONFIRM") ? (n(), p(k, {
|
|
909
|
+
key: 2,
|
|
910
|
+
title: "确认该笔提现没问题吗?",
|
|
911
|
+
onConfirm: (q) => x(i.id)
|
|
912
|
+
}, {
|
|
913
|
+
reference: l(() => [
|
|
914
|
+
e(m, { type: "warning" }, {
|
|
915
|
+
default: l(() => [
|
|
916
|
+
r("确认")
|
|
917
|
+
]),
|
|
918
|
+
_: 1
|
|
919
|
+
})
|
|
920
|
+
]),
|
|
921
|
+
_: 2
|
|
922
|
+
}, 1032, ["onConfirm"])) : y("", !0)
|
|
923
|
+
]),
|
|
924
|
+
_: 1
|
|
925
|
+
})
|
|
926
|
+
]),
|
|
927
|
+
_: 1
|
|
928
|
+
}, 8, ["condition"]),
|
|
929
|
+
e(G, {
|
|
930
|
+
ref_key: "userDetailDialog",
|
|
931
|
+
ref: g
|
|
932
|
+
}, null, 512),
|
|
933
|
+
e(ce, {
|
|
934
|
+
ref_key: "alipayTransferDialog",
|
|
935
|
+
ref: u,
|
|
936
|
+
onSuccess: _,
|
|
937
|
+
condition: a.value
|
|
938
|
+
}, null, 8, ["condition"])
|
|
939
|
+
], 64);
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
}), fe = /* @__PURE__ */ L({
|
|
943
|
+
__name: "PayHistoryListView",
|
|
944
|
+
setup(V) {
|
|
945
|
+
const b = {
|
|
946
|
+
TRANS_CREATED: "交易创建",
|
|
947
|
+
PAY_SUCCESS: "交易成功",
|
|
948
|
+
PAY_FAIL: "交易失败",
|
|
949
|
+
CLOSED: "交易关闭"
|
|
950
|
+
}, a = D({
|
|
951
|
+
thirdPlatformCode: null,
|
|
952
|
+
userId: null,
|
|
953
|
+
objectCode: null,
|
|
954
|
+
objectId: null,
|
|
955
|
+
status: null,
|
|
956
|
+
tradeNo: null,
|
|
957
|
+
thirdPlatformTransId: null,
|
|
958
|
+
createTimeStar: null,
|
|
959
|
+
createTimeEnd: null
|
|
960
|
+
}), c = D([]);
|
|
961
|
+
z(c, (v) => {
|
|
962
|
+
v ? (a.value.createTimeStar = v[0], a.value.createTimeEnd = v[1]) : (a.value.createTimeStar = null, a.value.createTimeEnd = null);
|
|
963
|
+
});
|
|
964
|
+
const _ = D();
|
|
965
|
+
function u() {
|
|
966
|
+
_.value.search();
|
|
967
|
+
}
|
|
968
|
+
const C = D();
|
|
969
|
+
function g(v) {
|
|
970
|
+
C.value.show(v);
|
|
971
|
+
}
|
|
972
|
+
return (v, s) => {
|
|
973
|
+
const f = o("el-input"), x = o("pg-user-selector"), T = o("el-option"), d = o("el-select"), U = o("el-date-picker"), A = o("el-button"), I = o("el-space"), W = o("el-card"), m = o("el-table-column"), P = o("el-link"), N = o("el-descriptions-item"), h = o("el-descriptions"), S = o("el-popover"), j = o("pg-table"), F = o("pg-user-detail-dialog");
|
|
974
|
+
return n(), E(R, null, [
|
|
975
|
+
e(W, null, {
|
|
976
|
+
default: l(() => [
|
|
977
|
+
e(I, null, {
|
|
978
|
+
default: l(() => [
|
|
979
|
+
e(f, {
|
|
980
|
+
modelValue: a.value.thirdPlatformCode,
|
|
981
|
+
"onUpdate:modelValue": s[0] || (s[0] = (t) => a.value.thirdPlatformCode = t),
|
|
982
|
+
placeholder: "平台代码",
|
|
983
|
+
style: { width: "100px" },
|
|
984
|
+
clearable: ""
|
|
985
|
+
}, null, 8, ["modelValue"]),
|
|
986
|
+
e(x, {
|
|
987
|
+
modelValue: a.value.userId,
|
|
988
|
+
"onUpdate:modelValue": s[1] || (s[1] = (t) => a.value.userId = t),
|
|
989
|
+
placeholder: "搜索用户",
|
|
990
|
+
clearable: "",
|
|
991
|
+
style: { width: "250px" }
|
|
992
|
+
}, null, 8, ["modelValue"]),
|
|
993
|
+
e(f, {
|
|
994
|
+
modelValue: a.value.objectCode,
|
|
995
|
+
"onUpdate:modelValue": s[2] || (s[2] = (t) => a.value.objectCode = t),
|
|
996
|
+
placeholder: "关联对象代码",
|
|
997
|
+
style: { width: "120px" },
|
|
998
|
+
clearable: ""
|
|
999
|
+
}, null, 8, ["modelValue"]),
|
|
1000
|
+
e(f, {
|
|
1001
|
+
modelValue: a.value.objectId,
|
|
1002
|
+
"onUpdate:modelValue": s[3] || (s[3] = (t) => a.value.objectId = t),
|
|
1003
|
+
placeholder: "关联对象ID",
|
|
1004
|
+
style: { width: "120px" },
|
|
1005
|
+
clearable: ""
|
|
1006
|
+
}, null, 8, ["modelValue"]),
|
|
1007
|
+
e(d, {
|
|
1008
|
+
modelValue: a.value.status,
|
|
1009
|
+
"onUpdate:modelValue": s[4] || (s[4] = (t) => a.value.status = t),
|
|
1010
|
+
placeholder: "状态",
|
|
1011
|
+
style: { width: "100px" },
|
|
1012
|
+
clearable: ""
|
|
1013
|
+
}, {
|
|
1014
|
+
default: l(() => [
|
|
1015
|
+
(n(), E(R, null, $(b, (t, k) => e(T, {
|
|
1016
|
+
label: t,
|
|
1017
|
+
value: k
|
|
1018
|
+
}, {
|
|
1019
|
+
default: l(() => [
|
|
1020
|
+
r(w(t), 1)
|
|
1021
|
+
]),
|
|
1022
|
+
_: 2
|
|
1023
|
+
}, 1032, ["label", "value"])), 64))
|
|
1024
|
+
]),
|
|
1025
|
+
_: 1
|
|
1026
|
+
}, 8, ["modelValue"]),
|
|
1027
|
+
e(f, {
|
|
1028
|
+
modelValue: a.value.tradeNo,
|
|
1029
|
+
"onUpdate:modelValue": s[5] || (s[5] = (t) => a.value.tradeNo = t),
|
|
1030
|
+
placeholder: "交易编号",
|
|
1031
|
+
style: { width: "150px" },
|
|
1032
|
+
clearable: ""
|
|
1033
|
+
}, null, 8, ["modelValue"]),
|
|
1034
|
+
e(f, {
|
|
1035
|
+
modelValue: a.value.thirdPlatformTransId,
|
|
1036
|
+
"onUpdate:modelValue": s[6] || (s[6] = (t) => a.value.thirdPlatformTransId = t),
|
|
1037
|
+
placeholder: "交易平台编号",
|
|
1038
|
+
style: { width: "120px" },
|
|
1039
|
+
clearable: ""
|
|
1040
|
+
}, null, 8, ["modelValue"]),
|
|
1041
|
+
e(U, {
|
|
1042
|
+
modelValue: c.value,
|
|
1043
|
+
"onUpdate:modelValue": s[7] || (s[7] = (t) => c.value = t),
|
|
1044
|
+
type: "datetimerange",
|
|
1045
|
+
"range-separator": "到",
|
|
1046
|
+
"start-placeholder": "创建时间开始",
|
|
1047
|
+
"end-placeholder": "创建时间结束"
|
|
1048
|
+
}, null, 8, ["modelValue"]),
|
|
1049
|
+
e(A, {
|
|
1050
|
+
type: "primary",
|
|
1051
|
+
icon: "search",
|
|
1052
|
+
onClick: u
|
|
1053
|
+
}, {
|
|
1054
|
+
default: l(() => [
|
|
1055
|
+
r("搜索")
|
|
1056
|
+
]),
|
|
1057
|
+
_: 1
|
|
1058
|
+
})
|
|
1059
|
+
]),
|
|
1060
|
+
_: 1
|
|
1061
|
+
})
|
|
1062
|
+
]),
|
|
1063
|
+
_: 1
|
|
1064
|
+
}),
|
|
1065
|
+
e(j, {
|
|
1066
|
+
ref_key: "table",
|
|
1067
|
+
ref: _,
|
|
1068
|
+
style: { "margin-top": "10px" },
|
|
1069
|
+
"data-url": "/api/third-platform/pay/histories",
|
|
1070
|
+
condition: a.value
|
|
1071
|
+
}, {
|
|
1072
|
+
default: l(() => [
|
|
1073
|
+
e(m, {
|
|
1074
|
+
label: "交易平台",
|
|
1075
|
+
prop: "platformName"
|
|
1076
|
+
}),
|
|
1077
|
+
e(m, {
|
|
1078
|
+
label: "用户ID",
|
|
1079
|
+
width: "80",
|
|
1080
|
+
prop: "userId"
|
|
1081
|
+
}, {
|
|
1082
|
+
default: l(({ row: t }) => [
|
|
1083
|
+
e(P, {
|
|
1084
|
+
type: "primary",
|
|
1085
|
+
onClick: (k) => g(t.userId)
|
|
1086
|
+
}, {
|
|
1087
|
+
default: l(() => [
|
|
1088
|
+
r(w(t.userId), 1)
|
|
1089
|
+
]),
|
|
1090
|
+
_: 2
|
|
1091
|
+
}, 1032, ["onClick"])
|
|
1092
|
+
]),
|
|
1093
|
+
_: 1
|
|
1094
|
+
}),
|
|
1095
|
+
e(m, {
|
|
1096
|
+
label: "支付金额",
|
|
1097
|
+
width: "90",
|
|
1098
|
+
align: "right",
|
|
1099
|
+
prop: "paidAmount"
|
|
1100
|
+
}, {
|
|
1101
|
+
default: l(({ row: t }) => [
|
|
1102
|
+
r(w(t.paidAmount == null ? "" : t.paidAmount.toFixed(2)), 1)
|
|
1103
|
+
]),
|
|
1104
|
+
_: 1
|
|
1105
|
+
}),
|
|
1106
|
+
e(m, {
|
|
1107
|
+
label: "交易编号",
|
|
1108
|
+
width: "210",
|
|
1109
|
+
prop: "tradeNo"
|
|
1110
|
+
}),
|
|
1111
|
+
e(m, {
|
|
1112
|
+
label: "交易平台编号",
|
|
1113
|
+
width: "210",
|
|
1114
|
+
prop: "thirdPlatformTransId",
|
|
1115
|
+
"show-overflow-tooltip": ""
|
|
1116
|
+
}),
|
|
1117
|
+
e(m, {
|
|
1118
|
+
label: "关联对象代码",
|
|
1119
|
+
width: "150",
|
|
1120
|
+
prop: "objectCode",
|
|
1121
|
+
"show-overflow-tooltip": ""
|
|
1122
|
+
}),
|
|
1123
|
+
e(m, {
|
|
1124
|
+
label: "关联对象ID",
|
|
1125
|
+
width: "80",
|
|
1126
|
+
prop: "objectId"
|
|
1127
|
+
}),
|
|
1128
|
+
e(m, {
|
|
1129
|
+
label: "交易状态",
|
|
1130
|
+
prop: "status"
|
|
1131
|
+
}, {
|
|
1132
|
+
default: l(({ row: t }) => [
|
|
1133
|
+
r(w(b[t.status]), 1)
|
|
1134
|
+
]),
|
|
1135
|
+
_: 1
|
|
1136
|
+
}),
|
|
1137
|
+
e(m, {
|
|
1138
|
+
label: "请求内容",
|
|
1139
|
+
prop: "requestData"
|
|
1140
|
+
}, {
|
|
1141
|
+
default: l(({ row: t }) => [
|
|
1142
|
+
t.requestData ? (n(), p(S, {
|
|
1143
|
+
key: 0,
|
|
1144
|
+
trigger: "hover",
|
|
1145
|
+
width: "500"
|
|
1146
|
+
}, {
|
|
1147
|
+
reference: l(() => [
|
|
1148
|
+
r(w(t.requestData.substring(0, 10)) + "... ", 1)
|
|
1149
|
+
]),
|
|
1150
|
+
default: l(() => [
|
|
1151
|
+
t.requestData.startsWith("{") ? (n(), p(h, {
|
|
1152
|
+
key: 0,
|
|
1153
|
+
column: "1",
|
|
1154
|
+
border: ""
|
|
1155
|
+
}, {
|
|
1156
|
+
default: l(() => [
|
|
1157
|
+
(n(!0), E(R, null, $(JSON.parse(t.requestData), (k, M) => (n(), p(N, {
|
|
1158
|
+
label: M,
|
|
1159
|
+
"min-width": "150"
|
|
1160
|
+
}, {
|
|
1161
|
+
default: l(() => [
|
|
1162
|
+
r(w(k), 1)
|
|
1163
|
+
]),
|
|
1164
|
+
_: 2
|
|
1165
|
+
}, 1032, ["label"]))), 256))
|
|
1166
|
+
]),
|
|
1167
|
+
_: 2
|
|
1168
|
+
}, 1024)) : (n(), E(R, { key: 1 }, [
|
|
1169
|
+
r(w(t.requestData), 1)
|
|
1170
|
+
], 64))
|
|
1171
|
+
]),
|
|
1172
|
+
_: 2
|
|
1173
|
+
}, 1024)) : y("", !0)
|
|
1174
|
+
]),
|
|
1175
|
+
_: 1
|
|
1176
|
+
}),
|
|
1177
|
+
e(m, {
|
|
1178
|
+
label: "响应内容",
|
|
1179
|
+
prop: "responseData"
|
|
1180
|
+
}, {
|
|
1181
|
+
default: l(({ row: t }) => [
|
|
1182
|
+
t.responseData ? (n(), p(S, {
|
|
1183
|
+
key: 0,
|
|
1184
|
+
trigger: "hover",
|
|
1185
|
+
width: "600"
|
|
1186
|
+
}, {
|
|
1187
|
+
reference: l(() => [
|
|
1188
|
+
r(w(t.responseData.substring(0, 10)) + "... ", 1)
|
|
1189
|
+
]),
|
|
1190
|
+
default: l(() => [
|
|
1191
|
+
t.responseData.startsWith("{") ? (n(), p(h, {
|
|
1192
|
+
key: 0,
|
|
1193
|
+
column: "1",
|
|
1194
|
+
border: ""
|
|
1195
|
+
}, {
|
|
1196
|
+
default: l(() => [
|
|
1197
|
+
(n(!0), E(R, null, $(JSON.parse(t.responseData), (k, M) => (n(), p(N, {
|
|
1198
|
+
label: M,
|
|
1199
|
+
"min-width": "150"
|
|
1200
|
+
}, {
|
|
1201
|
+
default: l(() => [
|
|
1202
|
+
r(w(k), 1)
|
|
1203
|
+
]),
|
|
1204
|
+
_: 2
|
|
1205
|
+
}, 1032, ["label"]))), 256))
|
|
1206
|
+
]),
|
|
1207
|
+
_: 2
|
|
1208
|
+
}, 1024)) : (n(), E(R, { key: 1 }, [
|
|
1209
|
+
r(w(t.responseData), 1)
|
|
1210
|
+
], 64))
|
|
1211
|
+
]),
|
|
1212
|
+
_: 2
|
|
1213
|
+
}, 1024)) : y("", !0)
|
|
1214
|
+
]),
|
|
1215
|
+
_: 1
|
|
1216
|
+
}),
|
|
1217
|
+
e(m, {
|
|
1218
|
+
label: "创建时间",
|
|
1219
|
+
prop: "createdTime",
|
|
1220
|
+
width: "170"
|
|
1221
|
+
}),
|
|
1222
|
+
e(m, {
|
|
1223
|
+
label: "更新时间",
|
|
1224
|
+
prop: "updatedTime",
|
|
1225
|
+
width: "170"
|
|
1226
|
+
})
|
|
1227
|
+
]),
|
|
1228
|
+
_: 1
|
|
1229
|
+
}, 8, ["condition"]),
|
|
1230
|
+
e(F, {
|
|
1231
|
+
ref_key: "userDetailDialog",
|
|
1232
|
+
ref: C
|
|
1233
|
+
}, null, 512)
|
|
1234
|
+
], 64);
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
}), he = /* @__PURE__ */ L({
|
|
1238
|
+
__name: "TransferHistoryListView",
|
|
1239
|
+
setup(V) {
|
|
1240
|
+
const b = {
|
|
1241
|
+
TRANSFER_CREATED: "转账创建",
|
|
1242
|
+
TRANSFER_SUCCESS: "转账成功",
|
|
1243
|
+
TRANSFER_FAIL: "转账失败"
|
|
1244
|
+
}, a = D({
|
|
1245
|
+
thirdPlatformCode: null,
|
|
1246
|
+
userId: null,
|
|
1247
|
+
transferToIdentity: null,
|
|
1248
|
+
status: null,
|
|
1249
|
+
tradeNo: null,
|
|
1250
|
+
thirdPlatformOrderId: null,
|
|
1251
|
+
failCode: null,
|
|
1252
|
+
createTimeStar: null,
|
|
1253
|
+
createTimeEnd: null
|
|
1254
|
+
}), c = D([]);
|
|
1255
|
+
z(c, (v) => {
|
|
1256
|
+
v ? (a.value.createTimeStar = v[0], a.value.createTimeEnd = v[1]) : (a.value.createTimeStar = null, a.value.createTimeEnd = null);
|
|
1257
|
+
});
|
|
1258
|
+
const _ = D();
|
|
1259
|
+
function u() {
|
|
1260
|
+
_.value.search();
|
|
1261
|
+
}
|
|
1262
|
+
const C = D();
|
|
1263
|
+
function g(v) {
|
|
1264
|
+
C.value.show(v);
|
|
1265
|
+
}
|
|
1266
|
+
return (v, s) => {
|
|
1267
|
+
const f = o("el-input"), x = o("pg-user-selector"), T = o("el-option"), d = o("el-select"), U = o("el-date-picker"), A = o("el-button"), I = o("el-space"), W = o("el-card"), m = o("el-table-column"), P = o("el-link"), N = o("el-descriptions-item"), h = o("el-descriptions"), S = o("el-popover"), j = o("pg-table"), F = o("pg-user-detail-dialog");
|
|
1268
|
+
return n(), E(R, null, [
|
|
1269
|
+
e(W, null, {
|
|
1270
|
+
default: l(() => [
|
|
1271
|
+
e(I, null, {
|
|
1272
|
+
default: l(() => [
|
|
1273
|
+
e(f, {
|
|
1274
|
+
modelValue: a.value.thirdPlatformCode,
|
|
1275
|
+
"onUpdate:modelValue": s[0] || (s[0] = (t) => a.value.thirdPlatformCode = t),
|
|
1276
|
+
placeholder: "平台代码",
|
|
1277
|
+
style: { width: "100px" },
|
|
1278
|
+
clearable: ""
|
|
1279
|
+
}, null, 8, ["modelValue"]),
|
|
1280
|
+
e(x, {
|
|
1281
|
+
modelValue: a.value.userId,
|
|
1282
|
+
"onUpdate:modelValue": s[1] || (s[1] = (t) => a.value.userId = t),
|
|
1283
|
+
placeholder: "搜索用户",
|
|
1284
|
+
clearable: "",
|
|
1285
|
+
style: { width: "250px" }
|
|
1286
|
+
}, null, 8, ["modelValue"]),
|
|
1287
|
+
e(f, {
|
|
1288
|
+
modelValue: a.value.transferToIdentity,
|
|
1289
|
+
"onUpdate:modelValue": s[2] || (s[2] = (t) => a.value.transferToIdentity = t),
|
|
1290
|
+
placeholder: "转账账号",
|
|
1291
|
+
style: { width: "120px" },
|
|
1292
|
+
clearable: ""
|
|
1293
|
+
}, null, 8, ["modelValue"]),
|
|
1294
|
+
e(d, {
|
|
1295
|
+
modelValue: a.value.status,
|
|
1296
|
+
"onUpdate:modelValue": s[3] || (s[3] = (t) => a.value.status = t),
|
|
1297
|
+
placeholder: "状态",
|
|
1298
|
+
style: { width: "100px" },
|
|
1299
|
+
clearable: ""
|
|
1300
|
+
}, {
|
|
1301
|
+
default: l(() => [
|
|
1302
|
+
(n(), E(R, null, $(b, (t, k) => e(T, {
|
|
1303
|
+
label: t,
|
|
1304
|
+
value: k
|
|
1305
|
+
}, {
|
|
1306
|
+
default: l(() => [
|
|
1307
|
+
r(w(t), 1)
|
|
1308
|
+
]),
|
|
1309
|
+
_: 2
|
|
1310
|
+
}, 1032, ["label", "value"])), 64))
|
|
1311
|
+
]),
|
|
1312
|
+
_: 1
|
|
1313
|
+
}, 8, ["modelValue"]),
|
|
1314
|
+
e(f, {
|
|
1315
|
+
modelValue: a.value.tradeNo,
|
|
1316
|
+
"onUpdate:modelValue": s[4] || (s[4] = (t) => a.value.tradeNo = t),
|
|
1317
|
+
placeholder: "交易编号",
|
|
1318
|
+
style: { width: "150px" },
|
|
1319
|
+
clearable: ""
|
|
1320
|
+
}, null, 8, ["modelValue"]),
|
|
1321
|
+
e(f, {
|
|
1322
|
+
modelValue: a.value.thirdPlatformOrderId,
|
|
1323
|
+
"onUpdate:modelValue": s[5] || (s[5] = (t) => a.value.thirdPlatformOrderId = t),
|
|
1324
|
+
placeholder: "交易平台编号",
|
|
1325
|
+
style: { width: "120px" },
|
|
1326
|
+
clearable: ""
|
|
1327
|
+
}, null, 8, ["modelValue"]),
|
|
1328
|
+
e(f, {
|
|
1329
|
+
modelValue: a.value.failCode,
|
|
1330
|
+
"onUpdate:modelValue": s[6] || (s[6] = (t) => a.value.failCode = t),
|
|
1331
|
+
placeholder: "错误码",
|
|
1332
|
+
style: { width: "120px" },
|
|
1333
|
+
clearable: ""
|
|
1334
|
+
}, null, 8, ["modelValue"]),
|
|
1335
|
+
e(U, {
|
|
1336
|
+
modelValue: c.value,
|
|
1337
|
+
"onUpdate:modelValue": s[7] || (s[7] = (t) => c.value = t),
|
|
1338
|
+
type: "datetimerange",
|
|
1339
|
+
"range-separator": "到",
|
|
1340
|
+
"start-placeholder": "创建时间开始",
|
|
1341
|
+
"end-placeholder": "创建时间结束"
|
|
1342
|
+
}, null, 8, ["modelValue"]),
|
|
1343
|
+
e(A, {
|
|
1344
|
+
type: "primary",
|
|
1345
|
+
icon: "search",
|
|
1346
|
+
onClick: u
|
|
1347
|
+
}, {
|
|
1348
|
+
default: l(() => [
|
|
1349
|
+
r("搜索")
|
|
1350
|
+
]),
|
|
1351
|
+
_: 1
|
|
1352
|
+
})
|
|
1353
|
+
]),
|
|
1354
|
+
_: 1
|
|
1355
|
+
})
|
|
1356
|
+
]),
|
|
1357
|
+
_: 1
|
|
1358
|
+
}),
|
|
1359
|
+
e(j, {
|
|
1360
|
+
ref_key: "table",
|
|
1361
|
+
ref: _,
|
|
1362
|
+
style: { "margin-top": "10px" },
|
|
1363
|
+
"data-url": "/api/third-platform/transfer/histories",
|
|
1364
|
+
condition: a.value
|
|
1365
|
+
}, {
|
|
1366
|
+
default: l(() => [
|
|
1367
|
+
e(m, {
|
|
1368
|
+
label: "交易平台",
|
|
1369
|
+
prop: "platformName"
|
|
1370
|
+
}),
|
|
1371
|
+
e(m, {
|
|
1372
|
+
label: "用户ID",
|
|
1373
|
+
width: "80",
|
|
1374
|
+
prop: "userId"
|
|
1375
|
+
}, {
|
|
1376
|
+
default: l(({ row: t }) => [
|
|
1377
|
+
e(P, {
|
|
1378
|
+
type: "primary",
|
|
1379
|
+
onClick: (k) => g(t.userId)
|
|
1380
|
+
}, {
|
|
1381
|
+
default: l(() => [
|
|
1382
|
+
r(w(t.userId), 1)
|
|
1383
|
+
]),
|
|
1384
|
+
_: 2
|
|
1385
|
+
}, 1032, ["onClick"])
|
|
1386
|
+
]),
|
|
1387
|
+
_: 1
|
|
1388
|
+
}),
|
|
1389
|
+
e(m, {
|
|
1390
|
+
label: "转账金额",
|
|
1391
|
+
width: "100",
|
|
1392
|
+
align: "right",
|
|
1393
|
+
prop: "amount"
|
|
1394
|
+
}, {
|
|
1395
|
+
default: l(({ row: t }) => [
|
|
1396
|
+
r(w(t.amount.toFixed(2)), 1)
|
|
1397
|
+
]),
|
|
1398
|
+
_: 1
|
|
1399
|
+
}),
|
|
1400
|
+
e(m, {
|
|
1401
|
+
label: "交易编号",
|
|
1402
|
+
width: "220",
|
|
1403
|
+
prop: "tradeNo"
|
|
1404
|
+
}),
|
|
1405
|
+
e(m, {
|
|
1406
|
+
label: "交易平台编号",
|
|
1407
|
+
width: "210",
|
|
1408
|
+
prop: "thirdPlatformOrderId",
|
|
1409
|
+
"show-overflow-tooltip": ""
|
|
1410
|
+
}),
|
|
1411
|
+
e(m, {
|
|
1412
|
+
label: "错误码",
|
|
1413
|
+
width: "150",
|
|
1414
|
+
prop: "failCode",
|
|
1415
|
+
"show-overflow-tooltip": ""
|
|
1416
|
+
}),
|
|
1417
|
+
e(m, {
|
|
1418
|
+
label: "交易状态",
|
|
1419
|
+
prop: "status"
|
|
1420
|
+
}, {
|
|
1421
|
+
default: l(({ row: t }) => [
|
|
1422
|
+
r(w(b[t.status]), 1)
|
|
1423
|
+
]),
|
|
1424
|
+
_: 1
|
|
1425
|
+
}),
|
|
1426
|
+
e(m, {
|
|
1427
|
+
label: "请求内容",
|
|
1428
|
+
prop: "requestData"
|
|
1429
|
+
}, {
|
|
1430
|
+
default: l(({ row: t }) => [
|
|
1431
|
+
t.requestData ? (n(), p(S, {
|
|
1432
|
+
key: 0,
|
|
1433
|
+
trigger: "hover",
|
|
1434
|
+
width: "500"
|
|
1435
|
+
}, {
|
|
1436
|
+
reference: l(() => [
|
|
1437
|
+
r(w(t.requestData.substring(0, 10)), 1)
|
|
1438
|
+
]),
|
|
1439
|
+
default: l(() => [
|
|
1440
|
+
t.requestData.startsWith("{") ? (n(), p(h, {
|
|
1441
|
+
key: 0,
|
|
1442
|
+
column: "1",
|
|
1443
|
+
border: ""
|
|
1444
|
+
}, {
|
|
1445
|
+
default: l(() => [
|
|
1446
|
+
(n(!0), E(R, null, $(JSON.parse(t.requestData), (k, M) => (n(), p(N, {
|
|
1447
|
+
label: M,
|
|
1448
|
+
"min-width": "150"
|
|
1449
|
+
}, {
|
|
1450
|
+
default: l(() => [
|
|
1451
|
+
r(w(k), 1)
|
|
1452
|
+
]),
|
|
1453
|
+
_: 2
|
|
1454
|
+
}, 1032, ["label"]))), 256))
|
|
1455
|
+
]),
|
|
1456
|
+
_: 2
|
|
1457
|
+
}, 1024)) : (n(), E(R, { key: 1 }, [
|
|
1458
|
+
r(w(t.requestData), 1)
|
|
1459
|
+
], 64))
|
|
1460
|
+
]),
|
|
1461
|
+
_: 2
|
|
1462
|
+
}, 1024)) : y("", !0)
|
|
1463
|
+
]),
|
|
1464
|
+
_: 1
|
|
1465
|
+
}),
|
|
1466
|
+
e(m, {
|
|
1467
|
+
label: "响应内容",
|
|
1468
|
+
prop: "responseData"
|
|
1469
|
+
}, {
|
|
1470
|
+
default: l(({ row: t }) => [
|
|
1471
|
+
t.responseData ? (n(), p(S, {
|
|
1472
|
+
key: 0,
|
|
1473
|
+
trigger: "hover",
|
|
1474
|
+
width: "600"
|
|
1475
|
+
}, {
|
|
1476
|
+
reference: l(() => [
|
|
1477
|
+
r(w(t.responseData.substring(0, 10)) + "... ", 1)
|
|
1478
|
+
]),
|
|
1479
|
+
default: l(() => [
|
|
1480
|
+
t.responseData.startsWith("{") ? (n(), p(h, {
|
|
1481
|
+
key: 0,
|
|
1482
|
+
column: "1",
|
|
1483
|
+
border: ""
|
|
1484
|
+
}, {
|
|
1485
|
+
default: l(() => [
|
|
1486
|
+
(n(!0), E(R, null, $(JSON.parse(t.responseData), (k, M) => (n(), p(N, {
|
|
1487
|
+
label: M,
|
|
1488
|
+
"min-width": "150"
|
|
1489
|
+
}, {
|
|
1490
|
+
default: l(() => [
|
|
1491
|
+
r(w(k), 1)
|
|
1492
|
+
]),
|
|
1493
|
+
_: 2
|
|
1494
|
+
}, 1032, ["label"]))), 256))
|
|
1495
|
+
]),
|
|
1496
|
+
_: 2
|
|
1497
|
+
}, 1024)) : (n(), E(R, { key: 1 }, [
|
|
1498
|
+
r(w(t.responseData), 1)
|
|
1499
|
+
], 64))
|
|
1500
|
+
]),
|
|
1501
|
+
_: 2
|
|
1502
|
+
}, 1024)) : y("", !0)
|
|
1503
|
+
]),
|
|
1504
|
+
_: 1
|
|
1505
|
+
}),
|
|
1506
|
+
e(m, {
|
|
1507
|
+
label: "创建时间",
|
|
1508
|
+
prop: "createdTime",
|
|
1509
|
+
width: "170"
|
|
1510
|
+
}),
|
|
1511
|
+
e(m, {
|
|
1512
|
+
label: "更新时间",
|
|
1513
|
+
prop: "updatedTime",
|
|
1514
|
+
width: "170"
|
|
1515
|
+
})
|
|
1516
|
+
]),
|
|
1517
|
+
_: 1
|
|
1518
|
+
}, 8, ["condition"]),
|
|
1519
|
+
e(F, {
|
|
1520
|
+
ref_key: "userDetailDialog",
|
|
1521
|
+
ref: C
|
|
1522
|
+
}, null, 512)
|
|
1523
|
+
], 64);
|
|
1524
|
+
};
|
|
1525
|
+
}
|
|
1526
|
+
}), be = {
|
|
1527
|
+
install: (V, b) => {
|
|
1528
|
+
let a = b.router, c = a.getRoutes().find((_) => _.path == "/");
|
|
1529
|
+
c && c.meta && (a.addRoute({
|
|
1530
|
+
path: "/finance/withdraw-history",
|
|
1531
|
+
name: "WithdrawHistory",
|
|
1532
|
+
redirect: "/finance/withdraw-history/list",
|
|
1533
|
+
component: c.meta.commonLayout,
|
|
1534
|
+
children: [{
|
|
1535
|
+
path: "list",
|
|
1536
|
+
name: "WithdrawHistoryList",
|
|
1537
|
+
component: _e
|
|
1538
|
+
}]
|
|
1539
|
+
}), a.addRoute({
|
|
1540
|
+
path: "/finance/pay-history",
|
|
1541
|
+
name: "PayHistory",
|
|
1542
|
+
redirect: "/finance/pay-history/list",
|
|
1543
|
+
component: c.meta.commonLayout,
|
|
1544
|
+
children: [{
|
|
1545
|
+
path: "list",
|
|
1546
|
+
name: "PayHistoryList",
|
|
1547
|
+
component: fe
|
|
1548
|
+
}]
|
|
1549
|
+
}), a.addRoute({
|
|
1550
|
+
path: "/finance/transfer-history",
|
|
1551
|
+
name: "TransferHistory",
|
|
1552
|
+
redirect: "/finance/transfer-history/list",
|
|
1553
|
+
component: c.meta.commonLayout,
|
|
1554
|
+
children: [{
|
|
1555
|
+
path: "list",
|
|
1556
|
+
name: "TransferHistoryList",
|
|
1557
|
+
component: he
|
|
1558
|
+
}]
|
|
1559
|
+
}));
|
|
1560
|
+
}
|
|
1561
|
+
}, ge = (V, b) => {
|
|
1562
|
+
oe.forEach((a) => V.use(a)), V.use(be, b);
|
|
1563
|
+
}, Te = {
|
|
1564
|
+
install: ge
|
|
1565
|
+
};
|
|
1566
|
+
export {
|
|
1567
|
+
fe as PayHistoryListView,
|
|
1568
|
+
he as TransferHistoryListView,
|
|
1569
|
+
le as UserWithdrawHistory,
|
|
1570
|
+
ae as UserWithdrawMethod,
|
|
1571
|
+
_e as WithdrawHistoryListView,
|
|
1572
|
+
Te as default,
|
|
1573
|
+
ge as install
|
|
1574
|
+
};
|