xyvcard-settle 0.0.46 → 0.0.47
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/dist/{history-DwIGzL72.mjs → history-BQjgVD9D.mjs} +1 -1
- package/dist/history.vue_vue_type_script_setup_true_lang-DHKQSk8P.mjs +371 -0
- package/dist/{index-BOrI7JtW.mjs → index-C2M_dK36.mjs} +51 -51
- package/dist/{index-BpX-ZCaL.mjs → index-Cr3j3TRH.mjs} +3 -2
- package/dist/index-DUu1w36z.mjs +33 -0
- package/dist/{index-UPAK9M6D.mjs → index-DYgHw7PE.mjs} +1 -1
- package/dist/{index-d-nHEHMj.mjs → index-uat4MVcq.mjs} +77 -71
- package/dist/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/{today-CLfowatL.mjs → today-DawV1DzV.mjs} +1 -1
- package/dist/today.vue_vue_type_script_setup_true_lang-qvHQZqwR.mjs +342 -0
- package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +1 -0
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +62 -62
- package/dist/history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs +0 -365
- package/dist/index-B65gCM1w.mjs +0 -49
- package/dist/today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs +0 -308
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { defineComponent as W, getCurrentInstance as G, ref as N, resolveComponent as d, createBlock as v, openBlock as T, withCtx as a, createVNode as t, createCommentVNode as V, withKeys as D, unref as l, withDirectives as J, normalizeClass as O, vShow as X, createTextVNode as b, toDisplayString as y, isRef as S } from "vue";
|
|
2
|
+
import { useI18n as Z } from "vue-i18n";
|
|
3
|
+
import { useRoute as ee } from "vue-router";
|
|
4
|
+
import { useUserStore as $, clearEmpty as te, request as ae, useTableHooks as le } from "jmash-core";
|
|
5
|
+
import { tokenExt as ne } from "xyvcard-agent";
|
|
6
|
+
import { g as oe } from "./agent-R-Ml-XTA.mjs";
|
|
7
|
+
import { D as c } from "./index-yz18Lhpm.mjs";
|
|
8
|
+
import { DateRange as re } from "xyvcard-insts";
|
|
9
|
+
class se {
|
|
10
|
+
getKey(m) {
|
|
11
|
+
return {
|
|
12
|
+
receiptId: m.receiptId
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
// 查询翻页信息划款信息查询-到账(历史)
|
|
16
|
+
findPage(m) {
|
|
17
|
+
const R = $().user.tenant;
|
|
18
|
+
return te(m), ae({
|
|
19
|
+
url: "/v1/settle/receipt/page/" + R,
|
|
20
|
+
method: "get",
|
|
21
|
+
params: m
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const de = new se(), ge = /* @__PURE__ */ W({
|
|
26
|
+
__name: "history",
|
|
27
|
+
setup(I) {
|
|
28
|
+
const { t: m } = Z();
|
|
29
|
+
c.instsBizDict.useValues(), c.agentBizDict.useValues(), c.agentAgreeBizDict.useValues();
|
|
30
|
+
const M = ee().query.tenant, { proxy: z } = G(), o = N({
|
|
31
|
+
tokenExt: ne.getTokenExt($().user.tenant)
|
|
32
|
+
}), {
|
|
33
|
+
tableHooks: u,
|
|
34
|
+
multipleTableRef: A,
|
|
35
|
+
queryFormRef: Y,
|
|
36
|
+
listLoading: U,
|
|
37
|
+
tableData: j,
|
|
38
|
+
total: g
|
|
39
|
+
} = le(m, de, o);
|
|
40
|
+
let f = N([
|
|
41
|
+
// 序号
|
|
42
|
+
{
|
|
43
|
+
label: "settleTradeReceipt.index",
|
|
44
|
+
type: "index",
|
|
45
|
+
width: "60",
|
|
46
|
+
isColumn: !0
|
|
47
|
+
},
|
|
48
|
+
// 商户注册名称
|
|
49
|
+
{
|
|
50
|
+
label: "settleTradeReceipt.merchantName",
|
|
51
|
+
prop: "merchantName",
|
|
52
|
+
sortable: "custom",
|
|
53
|
+
minWidth: "200",
|
|
54
|
+
isColumn: !0
|
|
55
|
+
},
|
|
56
|
+
// 连锁号
|
|
57
|
+
{
|
|
58
|
+
label: "settleTradeReceipt.merchantNo",
|
|
59
|
+
prop: "merchantNo",
|
|
60
|
+
width: "190",
|
|
61
|
+
sortable: "custom",
|
|
62
|
+
isColumn: !0
|
|
63
|
+
},
|
|
64
|
+
// 划款时间
|
|
65
|
+
{
|
|
66
|
+
label: "settleTradeReceipt.transferMoneyDate",
|
|
67
|
+
prop: "transferMoneyDate",
|
|
68
|
+
slotName: "transferMoneyDate",
|
|
69
|
+
columnType: "slot",
|
|
70
|
+
width: "170",
|
|
71
|
+
sortable: "custom",
|
|
72
|
+
isColumn: !0
|
|
73
|
+
},
|
|
74
|
+
// 划款金额
|
|
75
|
+
{
|
|
76
|
+
label: "settleTradeReceipt.transferMoneyAmount",
|
|
77
|
+
prop: "transferMoneyAmount",
|
|
78
|
+
width: "120",
|
|
79
|
+
sortable: "custom",
|
|
80
|
+
isColumn: !0
|
|
81
|
+
},
|
|
82
|
+
// 手续费
|
|
83
|
+
{
|
|
84
|
+
label: "settleTradeReceipt.feeAmt",
|
|
85
|
+
prop: "feeAmt",
|
|
86
|
+
width: "120",
|
|
87
|
+
sortable: "custom",
|
|
88
|
+
isColumn: !0
|
|
89
|
+
},
|
|
90
|
+
// 到账状态
|
|
91
|
+
{
|
|
92
|
+
label: "settleTradeReceipt.transferMoneyStatusName",
|
|
93
|
+
prop: "transferMoneyStatusName",
|
|
94
|
+
width: "120",
|
|
95
|
+
sortable: "custom",
|
|
96
|
+
isColumn: !0
|
|
97
|
+
},
|
|
98
|
+
// 代理商编号
|
|
99
|
+
{
|
|
100
|
+
label: "settleTradeReceipt.agentName",
|
|
101
|
+
prop: "agentCode",
|
|
102
|
+
slotName: "agentCode",
|
|
103
|
+
columnType: "slot",
|
|
104
|
+
width: "200",
|
|
105
|
+
sortable: "custom",
|
|
106
|
+
isColumn: !0
|
|
107
|
+
},
|
|
108
|
+
// 失败原因
|
|
109
|
+
{
|
|
110
|
+
label: "settleTradeReceipt.chnlRespMsg",
|
|
111
|
+
prop: "chnlRespMsg",
|
|
112
|
+
width: "150",
|
|
113
|
+
sortable: "custom",
|
|
114
|
+
isColumn: !0
|
|
115
|
+
}
|
|
116
|
+
]);
|
|
117
|
+
function B(r) {
|
|
118
|
+
u.selectionRows.value = r;
|
|
119
|
+
}
|
|
120
|
+
function E(r) {
|
|
121
|
+
u.handleSort(r.prop, r.order);
|
|
122
|
+
}
|
|
123
|
+
return u.getList(), (r, e) => {
|
|
124
|
+
const _ = d("el-input"), i = d("el-form-item"), p = d("el-col"), P = d("el-tree-select"), K = d("jmash-select"), w = d("el-button"), C = d("el-row"), Q = d("el-form"), q = d("jmash-column-select"), H = d("jmash-table"), L = d("jmash-pagination"), x = d("el-card"), F = d("el-tab-pane");
|
|
125
|
+
return T(), v(F, {
|
|
126
|
+
label: "历史到账流水",
|
|
127
|
+
name: "one"
|
|
128
|
+
}, {
|
|
129
|
+
default: a(() => [
|
|
130
|
+
t(Q, {
|
|
131
|
+
ref_key: "queryFormRef",
|
|
132
|
+
ref: Y,
|
|
133
|
+
model: o.value,
|
|
134
|
+
inline: !0,
|
|
135
|
+
"label-width": "6em"
|
|
136
|
+
}, {
|
|
137
|
+
default: a(() => [
|
|
138
|
+
t(C, null, {
|
|
139
|
+
default: a(() => {
|
|
140
|
+
var n, k;
|
|
141
|
+
return [
|
|
142
|
+
t(p, { span: 6 }, {
|
|
143
|
+
default: a(() => [
|
|
144
|
+
t(i, {
|
|
145
|
+
label: r.$t("settleTradeReceipt.likeMerchantName"),
|
|
146
|
+
prop: "likeMerchantName"
|
|
147
|
+
}, {
|
|
148
|
+
default: a(() => [
|
|
149
|
+
t(_, {
|
|
150
|
+
modelValue: o.value.likeMerchantName,
|
|
151
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.value.likeMerchantName = s),
|
|
152
|
+
placeholder: r.$t("settleTradeReceipt.likeMerchantName"),
|
|
153
|
+
onKeyup: e[1] || (e[1] = D((s) => l(u).handleQuery(), ["enter"])),
|
|
154
|
+
class: "!w-[203px]"
|
|
155
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 8, ["label"])
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}),
|
|
162
|
+
t(p, { span: 6 }, {
|
|
163
|
+
default: a(() => [
|
|
164
|
+
t(i, {
|
|
165
|
+
label: r.$t("settleTradeReceipt.likeMerchantNo"),
|
|
166
|
+
prop: "likeMerchantNo"
|
|
167
|
+
}, {
|
|
168
|
+
default: a(() => [
|
|
169
|
+
t(_, {
|
|
170
|
+
modelValue: o.value.likeMerchantNo,
|
|
171
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => o.value.likeMerchantNo = s),
|
|
172
|
+
placeholder: r.$t("settleTradeReceipt.likeMerchantNoRead"),
|
|
173
|
+
onKeyup: e[3] || (e[3] = D((s) => l(u).handleQuery(), ["enter"])),
|
|
174
|
+
class: "!w-[203px]"
|
|
175
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 8, ["label"])
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}),
|
|
182
|
+
(n = l(M)) != null && n.includes("@") ? V("", !0) : (T(), v(p, {
|
|
183
|
+
key: 0,
|
|
184
|
+
span: 6
|
|
185
|
+
}, {
|
|
186
|
+
default: a(() => [
|
|
187
|
+
t(i, {
|
|
188
|
+
label: r.$t("settleTradeAnalysis.agentName"),
|
|
189
|
+
prop: "agentCode"
|
|
190
|
+
}, {
|
|
191
|
+
default: a(() => [
|
|
192
|
+
t(P, {
|
|
193
|
+
modelValue: o.value.agentCode,
|
|
194
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => o.value.agentCode = s),
|
|
195
|
+
data: l(c).agentBizDict.values,
|
|
196
|
+
"node-key": "value",
|
|
197
|
+
filterable: "",
|
|
198
|
+
clearable: "",
|
|
199
|
+
placeholder: r.$t("settleTradeAnalysis.agentCodeRead"),
|
|
200
|
+
class: "!w-[203px]"
|
|
201
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
}, 8, ["label"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
})),
|
|
208
|
+
t(p, { span: 6 }, {
|
|
209
|
+
default: a(() => [
|
|
210
|
+
t(i, {
|
|
211
|
+
label: r.$t("settleTradeAnalysis.channelId"),
|
|
212
|
+
prop: "instsId"
|
|
213
|
+
}, {
|
|
214
|
+
default: a(() => [
|
|
215
|
+
t(K, {
|
|
216
|
+
modelValue: o.value.instsId,
|
|
217
|
+
"onUpdate:modelValue": e[5] || (e[5] = (s) => o.value.instsId = s),
|
|
218
|
+
placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
|
|
219
|
+
data: l(c).instsBizDict.values,
|
|
220
|
+
onKeyup: e[6] || (e[6] = D((s) => l(u).handleQuery(), ["enter"])),
|
|
221
|
+
class: "!w-[203px]",
|
|
222
|
+
filterable: "",
|
|
223
|
+
clearable: ""
|
|
224
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}, 8, ["label"])
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
}),
|
|
231
|
+
t(p, { span: 6 }, {
|
|
232
|
+
default: a(() => [
|
|
233
|
+
t(i, {
|
|
234
|
+
label: r.$t("settleTradeReceipt.createTime"),
|
|
235
|
+
prop: "transferMoneyDateStart"
|
|
236
|
+
}, {
|
|
237
|
+
default: a(() => {
|
|
238
|
+
var s;
|
|
239
|
+
return [
|
|
240
|
+
t(l(re), {
|
|
241
|
+
"start-time": o.value.transferMoneyDateStart,
|
|
242
|
+
"onUpdate:startTime": e[7] || (e[7] = (h) => o.value.transferMoneyDateStart = h),
|
|
243
|
+
"end-time": o.value.transferMoneyDateEnd,
|
|
244
|
+
"onUpdate:endTime": e[8] || (e[8] = (h) => o.value.transferMoneyDateEnd = h),
|
|
245
|
+
format: "YYYY-MM-DD",
|
|
246
|
+
"value-format": "YYYY-MM-DD",
|
|
247
|
+
"range-separator": "-",
|
|
248
|
+
"start-placeholder": r.$t("settleTradeReceipt.transferMoneyDateStart"),
|
|
249
|
+
"end-placeholder": r.$t("settleTradeReceipt.transferMoneyDateEnd"),
|
|
250
|
+
class: O(((s = l(M)) == null ? void 0 : s.includes("@")) && "!w-[203px]")
|
|
251
|
+
}, null, 8, ["start-time", "end-time", "start-placeholder", "end-placeholder", "class"])
|
|
252
|
+
];
|
|
253
|
+
}),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["label"]),
|
|
256
|
+
J(t(i, { prop: "transferMoneyDateEnd" }, null, 512), [
|
|
257
|
+
[X, !1]
|
|
258
|
+
])
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
}),
|
|
262
|
+
t(p, {
|
|
263
|
+
span: (k = l(M)) != null && k.includes("@") ? 24 : 18
|
|
264
|
+
}, {
|
|
265
|
+
default: a(() => [
|
|
266
|
+
t(i, { class: "search-btn" }, {
|
|
267
|
+
default: a(() => [
|
|
268
|
+
t(w, {
|
|
269
|
+
type: "primary",
|
|
270
|
+
onClick: e[9] || (e[9] = (s) => l(u).handleQuery())
|
|
271
|
+
}, {
|
|
272
|
+
default: a(() => [
|
|
273
|
+
b(y(r.$t("common.search")), 1)
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
}),
|
|
277
|
+
t(w, {
|
|
278
|
+
onClick: e[10] || (e[10] = (s) => l(u).resetQuery())
|
|
279
|
+
}, {
|
|
280
|
+
default: a(() => [
|
|
281
|
+
b(y(r.$t("common.reset")), 1)
|
|
282
|
+
]),
|
|
283
|
+
_: 1
|
|
284
|
+
})
|
|
285
|
+
]),
|
|
286
|
+
_: 1
|
|
287
|
+
})
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}, 8, ["span"])
|
|
291
|
+
];
|
|
292
|
+
}),
|
|
293
|
+
_: 1
|
|
294
|
+
})
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["model"]),
|
|
298
|
+
t(x, {
|
|
299
|
+
shadow: "never",
|
|
300
|
+
class: "table-container"
|
|
301
|
+
}, {
|
|
302
|
+
header: a(() => [
|
|
303
|
+
t(C, null, {
|
|
304
|
+
default: a(() => [
|
|
305
|
+
t(p, {
|
|
306
|
+
span: 24,
|
|
307
|
+
class: "container-float"
|
|
308
|
+
}, {
|
|
309
|
+
default: a(() => [
|
|
310
|
+
t(q, {
|
|
311
|
+
modelValue: l(f),
|
|
312
|
+
"onUpdate:modelValue": e[11] || (e[11] = (n) => S(f) ? f.value = n : f = n),
|
|
313
|
+
"label-name": "settle/settle-trade-receipt"
|
|
314
|
+
}, null, 8, ["modelValue"])
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
})
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
})
|
|
321
|
+
]),
|
|
322
|
+
footer: a(() => [
|
|
323
|
+
l(g) > 0 ? (T(), v(L, {
|
|
324
|
+
key: 0,
|
|
325
|
+
total: l(g),
|
|
326
|
+
"onUpdate:total": e[12] || (e[12] = (n) => S(g) ? g.value = n : null),
|
|
327
|
+
"current-page": o.value.curPage,
|
|
328
|
+
"onUpdate:currentPage": e[13] || (e[13] = (n) => o.value.curPage = n),
|
|
329
|
+
"page-size": o.value.pageSize,
|
|
330
|
+
"onUpdate:pageSize": e[14] || (e[14] = (n) => o.value.pageSize = n),
|
|
331
|
+
onPagination: e[15] || (e[15] = (n) => l(u).getList())
|
|
332
|
+
}, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
|
|
333
|
+
]),
|
|
334
|
+
default: a(() => [
|
|
335
|
+
t(H, {
|
|
336
|
+
ref_key: "multipleTableRef",
|
|
337
|
+
ref: A,
|
|
338
|
+
"row-key": "receiptId",
|
|
339
|
+
isSelection: !1,
|
|
340
|
+
"list-loading": l(U),
|
|
341
|
+
data: l(j),
|
|
342
|
+
"table-label": l(f),
|
|
343
|
+
onSelectionChange: B,
|
|
344
|
+
onSortChange: E
|
|
345
|
+
}, {
|
|
346
|
+
instsId: a((n) => [
|
|
347
|
+
b(y(l(c).instsBizDict.getValue(n.data.row.instsId)), 1)
|
|
348
|
+
]),
|
|
349
|
+
transferMoneyDate: a((n) => [
|
|
350
|
+
b(y(l(z).$moment.formatDate(
|
|
351
|
+
n.data.row.transferMoneyDate + " " + n.data.row.transferMoneyTime,
|
|
352
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
353
|
+
)), 1)
|
|
354
|
+
]),
|
|
355
|
+
agentCode: a((n) => [
|
|
356
|
+
b(y(l(oe)(n.data.row.agentCode)), 1)
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
})
|
|
363
|
+
]),
|
|
364
|
+
_: 1
|
|
365
|
+
});
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
export {
|
|
370
|
+
ge as _
|
|
371
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { onMounted as Q, nextTick as X, getCurrentInstance as R, unref as U, getCurrentScope as Z, onScopeDispose as ee, ref as m, watch as j, watchEffect as B, computed as
|
|
1
|
+
import { onMounted as Q, nextTick as X, getCurrentInstance as R, unref as U, getCurrentScope as Z, onScopeDispose as ee, ref as m, watch as j, watchEffect as B, computed as z, defineComponent as te, resolveComponent as C, createElementBlock as ne, openBlock as oe, createElementVNode as u, createVNode as i, withCtx as b, withDirectives as re, normalizeStyle as le, vShow as se, withKeys as N, withModifiers as ae, createTextVNode as ie, toDisplayString as ue } from "vue";
|
|
2
2
|
import { q as ce, _ as de } from "./qrcode-success-RhATc5cS.mjs";
|
|
3
3
|
import { useI18n as pe } from "vue-i18n";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
import { useRoute as me, useRouter as fe } from "vue-router";
|
|
6
|
-
import { vueMetaEnv as
|
|
6
|
+
import { vueMetaEnv as M, useAppStore as O, useUserStore as ve, netEncrypt as ge, getCaptchaApi as he, createLoginQrcode as _e } from "jmash-core";
|
|
7
7
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
-
function
|
|
8
|
+
function H(e) {
|
|
9
9
|
return Z() ? (ee(e), !0) : !1;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function $(e) {
|
|
12
12
|
return typeof e == "function" ? e() : U(e);
|
|
13
13
|
}
|
|
14
14
|
const we = typeof window < "u" && typeof document < "u";
|
|
@@ -18,37 +18,37 @@ const be = Object.prototype.toString, Ce = (e) => be.call(e) === "[object Object
|
|
|
18
18
|
function Ie(e) {
|
|
19
19
|
return R();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Se(e, n = !0, o) {
|
|
22
22
|
Ie() ? Q(e, o) : n ? e() : X(e);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Te(e) {
|
|
25
25
|
var n;
|
|
26
|
-
const o =
|
|
26
|
+
const o = $(e);
|
|
27
27
|
return (n = o == null ? void 0 : o.$el) != null ? n : o;
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const x = we ? window : void 0;
|
|
30
30
|
function Ve(...e) {
|
|
31
31
|
let n, o, a, t;
|
|
32
|
-
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n =
|
|
32
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, a, t] = e, n = x) : [n, o, a, t] = e, !n)
|
|
33
33
|
return Ee;
|
|
34
34
|
Array.isArray(o) || (o = [o]), Array.isArray(a) || (a = [a]);
|
|
35
35
|
const c = [], s = () => {
|
|
36
36
|
c.forEach((f) => f()), c.length = 0;
|
|
37
37
|
}, d = (f, v, E, g) => (f.addEventListener(v, E, g), () => f.removeEventListener(v, E, g)), p = j(
|
|
38
|
-
() => [
|
|
38
|
+
() => [Te(n), $(t)],
|
|
39
39
|
([f, v]) => {
|
|
40
40
|
if (s(), !f)
|
|
41
41
|
return;
|
|
42
42
|
const E = Ce(v) ? { ...v } : v;
|
|
43
43
|
c.push(
|
|
44
|
-
...o.flatMap((g) => a.map((
|
|
44
|
+
...o.flatMap((g) => a.map((S) => d(f, g, S, E)))
|
|
45
45
|
);
|
|
46
46
|
},
|
|
47
47
|
{ immediate: !0, flush: "post" }
|
|
48
48
|
), _ = () => {
|
|
49
49
|
p(), s();
|
|
50
50
|
};
|
|
51
|
-
return
|
|
51
|
+
return H(_), _;
|
|
52
52
|
}
|
|
53
53
|
function ke() {
|
|
54
54
|
const e = m(!1), n = R();
|
|
@@ -58,25 +58,25 @@ function ke() {
|
|
|
58
58
|
}
|
|
59
59
|
function qe(e) {
|
|
60
60
|
const n = ke();
|
|
61
|
-
return
|
|
61
|
+
return z(() => (n.value, !!e()));
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
const { window: o =
|
|
63
|
+
function Ae(e, n = {}) {
|
|
64
|
+
const { window: o = x } = n, a = qe(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
|
|
65
65
|
let t;
|
|
66
66
|
const c = m(!1), s = (_) => {
|
|
67
67
|
c.value = _.matches;
|
|
68
68
|
}, d = () => {
|
|
69
69
|
t && ("removeEventListener" in t ? t.removeEventListener("change", s) : t.removeListener(s));
|
|
70
70
|
}, p = B(() => {
|
|
71
|
-
a.value && (d(), t = o.matchMedia(
|
|
71
|
+
a.value && (d(), t = o.matchMedia($(e)), "addEventListener" in t ? t.addEventListener("change", s) : t.addListener(s), c.value = t.matches);
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return H(() => {
|
|
74
74
|
p(), d(), t = void 0;
|
|
75
75
|
}), c;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Le(e = {}) {
|
|
78
78
|
const {
|
|
79
|
-
window: n =
|
|
79
|
+
window: n = x,
|
|
80
80
|
initialWidth: o = Number.POSITIVE_INFINITY,
|
|
81
81
|
initialHeight: a = Number.POSITIVE_INFINITY,
|
|
82
82
|
listenOrientation: t = !0,
|
|
@@ -84,22 +84,22 @@ function Ae(e = {}) {
|
|
|
84
84
|
} = e, s = m(o), d = m(a), p = () => {
|
|
85
85
|
n && (c ? (s.value = n.innerWidth, d.value = n.innerHeight) : (s.value = n.document.documentElement.clientWidth, d.value = n.document.documentElement.clientHeight));
|
|
86
86
|
};
|
|
87
|
-
if (p(),
|
|
88
|
-
const _ =
|
|
87
|
+
if (p(), Se(p), Ve("resize", p, { passive: !0 }), t) {
|
|
88
|
+
const _ = Ae("(orientation: portrait)");
|
|
89
89
|
j(_, () => p());
|
|
90
90
|
}
|
|
91
91
|
return { width: s, height: d };
|
|
92
92
|
}
|
|
93
|
-
const Me = { class: "login-container" },
|
|
93
|
+
const Me = { class: "login-container" }, Pe = { class: "login-top flex items-center" }, Oe = { class: "qrcode-container" }, $e = ["src"], xe = { class: "flex justify-between items-center w-full" }, We = ["src"], De = 992, Ne = /* @__PURE__ */ te({
|
|
94
94
|
__name: "index",
|
|
95
95
|
setup(e) {
|
|
96
|
-
const { t: n } = pe(), o = m(
|
|
97
|
-
r.props.name === "user" ? (
|
|
96
|
+
const { t: n } = pe(), o = m(M.APP_ACTIVE), a = (r) => {
|
|
97
|
+
r.props.name === "user" ? (L(), g()) : P(), o.value = r.props.name;
|
|
98
98
|
}, t = m({
|
|
99
99
|
scope: "",
|
|
100
100
|
username: "",
|
|
101
101
|
password: ""
|
|
102
|
-
}), c =
|
|
102
|
+
}), c = z(() => {
|
|
103
103
|
const r = O().language === "en" ? "Please enter " : "请输入";
|
|
104
104
|
return {
|
|
105
105
|
username: [
|
|
@@ -131,8 +131,8 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
131
131
|
var r;
|
|
132
132
|
(r = d.value) == null || r.validate((l) => {
|
|
133
133
|
l && (s.value = !0, f.login({ ...t.value, password: ge(t.value.password) }).then(() => {
|
|
134
|
-
const y = p.query, h = y.redirect ??
|
|
135
|
-
(
|
|
134
|
+
const y = p.query, h = y.redirect ?? M.APP_REDIRECT, w = Object.keys(y).reduce(
|
|
135
|
+
(T, q) => (q !== "redirect" && (T[q] = y[q]), T),
|
|
136
136
|
{}
|
|
137
137
|
);
|
|
138
138
|
_.push({ path: h, query: w }), g();
|
|
@@ -148,18 +148,18 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
148
148
|
});
|
|
149
149
|
};
|
|
150
150
|
g();
|
|
151
|
-
let
|
|
151
|
+
let S = setInterval(W, 3e3);
|
|
152
152
|
const V = m({});
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
V.value = r, k.value = !1, K(),
|
|
153
|
+
function P() {
|
|
154
|
+
_e().then(({ data: r }) => {
|
|
155
|
+
V.value = r, k.value = !1, K(), S = setInterval(W, 3e3);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
o.value === "qrCode" &&
|
|
159
|
-
function
|
|
158
|
+
o.value === "qrCode" && P();
|
|
159
|
+
function W() {
|
|
160
160
|
V.value.ticket && f.loginByQrcode({ ticket: V.value.ticket }).then(() => {
|
|
161
|
-
|
|
162
|
-
const r = p.query, l = r.redirect ??
|
|
161
|
+
L(), k.value = !1, V.value.qrcodeUrl = ce;
|
|
162
|
+
const r = p.query, l = r.redirect ?? M.APP_REDIRECT, y = Object.keys(r).reduce(
|
|
163
163
|
(h, w) => (w !== "redirect" && (h[w] = r[w]), h),
|
|
164
164
|
{}
|
|
165
165
|
);
|
|
@@ -168,21 +168,21 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
168
168
|
}
|
|
169
169
|
let A = null;
|
|
170
170
|
const k = m(!1);
|
|
171
|
-
function
|
|
172
|
-
|
|
171
|
+
function L() {
|
|
172
|
+
S && (clearInterval(S), S = null), A && (clearTimeout(A), A = null);
|
|
173
173
|
}
|
|
174
174
|
function K() {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
},
|
|
175
|
+
L(), A = setTimeout(() => {
|
|
176
|
+
L(), k.value = !0;
|
|
177
|
+
}, M.APP_TIMEOUT);
|
|
178
178
|
}
|
|
179
|
-
const D = O(), { width: F } =
|
|
179
|
+
const D = O(), { width: F } = Le();
|
|
180
180
|
return B(() => {
|
|
181
181
|
F.value < De ? D.toggleDevice("mobile") : D.toggleDevice("desktop");
|
|
182
182
|
}), (r, l) => {
|
|
183
|
-
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"),
|
|
183
|
+
const y = C("lang-select"), h = C("el-tab-pane"), w = C("el-input"), T = C("el-form-item"), q = C("el-button"), G = C("el-form"), Y = C("el-tabs"), J = C("el-card");
|
|
184
184
|
return oe(), ne("div", Me, [
|
|
185
|
-
u("div",
|
|
185
|
+
u("div", Pe, [
|
|
186
186
|
l[4] || (l[4] = u("img", {
|
|
187
187
|
src: de,
|
|
188
188
|
class: "logo-img",
|
|
@@ -214,10 +214,10 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
214
214
|
src: V.value.qrcodeUrl,
|
|
215
215
|
style: le({ opacity: k.value ? 0.02 : 1 }),
|
|
216
216
|
alt: "二维码"
|
|
217
|
-
}, null, 12,
|
|
217
|
+
}, null, 12, $e),
|
|
218
218
|
re(u("div", null, [
|
|
219
219
|
l[6] || (l[6] = u("div", null, "二维码已过期", -1)),
|
|
220
|
-
u("div", { onClick:
|
|
220
|
+
u("div", { onClick: P }, "点击刷新")
|
|
221
221
|
], 512), [
|
|
222
222
|
[se, k.value]
|
|
223
223
|
])
|
|
@@ -238,7 +238,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
238
238
|
rules: c.value
|
|
239
239
|
}, {
|
|
240
240
|
default: b(() => [
|
|
241
|
-
i(
|
|
241
|
+
i(T, { prop: "username" }, {
|
|
242
242
|
default: b(() => [
|
|
243
243
|
i(w, {
|
|
244
244
|
modelValue: t.value.username,
|
|
@@ -248,7 +248,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
248
248
|
]),
|
|
249
249
|
_: 1
|
|
250
250
|
}),
|
|
251
|
-
i(
|
|
251
|
+
i(T, { prop: "password" }, {
|
|
252
252
|
default: b(() => [
|
|
253
253
|
i(w, {
|
|
254
254
|
modelValue: t.value.password,
|
|
@@ -261,9 +261,9 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
263
263
|
}),
|
|
264
|
-
i(
|
|
264
|
+
i(T, { prop: "captchaCode" }, {
|
|
265
265
|
default: b(() => [
|
|
266
|
-
u("div",
|
|
266
|
+
u("div", xe, [
|
|
267
267
|
i(w, {
|
|
268
268
|
style: { width: "65%" },
|
|
269
269
|
modelValue: t.value.captchaCode,
|
|
@@ -276,7 +276,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
276
276
|
src: E.value,
|
|
277
277
|
onClick: g,
|
|
278
278
|
alt: "验证码"
|
|
279
|
-
}, null, 8,
|
|
279
|
+
}, null, 8, We)
|
|
280
280
|
])
|
|
281
281
|
]),
|
|
282
282
|
_: 1
|
|
@@ -307,7 +307,7 @@ const Me = { class: "login-container" }, Le = { class: "login-top flex items-cen
|
|
|
307
307
|
]);
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
}), Ke = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-
|
|
310
|
+
}), Ke = /* @__PURE__ */ ye(Ne, [["__scopeId", "data-v-b8d707bf"]]);
|
|
311
311
|
export {
|
|
312
312
|
Ke as default
|
|
313
313
|
};
|
|
@@ -92,6 +92,7 @@ const Rs = {
|
|
|
92
92
|
likeMerchantNoRead: "请输入连锁号",
|
|
93
93
|
likeMerchantNameRead: "请输入商户名称",
|
|
94
94
|
createTime: "到账日期",
|
|
95
|
+
createTimeRead: "请选择到账日期",
|
|
95
96
|
transferMoneyDateStart: "开始时间",
|
|
96
97
|
transferMoneyDateEnd: "结束时间",
|
|
97
98
|
transferMoneyDate: "划款时间",
|
|
@@ -2700,7 +2701,7 @@ const Li = {
|
|
|
2700
2701
|
formatDate: Ci
|
|
2701
2702
|
};
|
|
2702
2703
|
}
|
|
2703
|
-
}, Ii = [], Hi = () => import("./index-
|
|
2704
|
+
}, Ii = [], Hi = () => import("./index-C2M_dK36.mjs"), $i = () => import("./index-CWRtxckQ.mjs"), Ui = () => import("./index-DcjjaDUk.mjs"), qi = () => import("./index-DYgHw7PE.mjs"), Ai = [
|
|
2704
2705
|
{
|
|
2705
2706
|
path: "/redirect",
|
|
2706
2707
|
component: ze,
|
|
@@ -2777,7 +2778,7 @@ const Li = {
|
|
|
2777
2778
|
scrollBehavior: () => ({ left: 0, top: 0 })
|
|
2778
2779
|
});
|
|
2779
2780
|
Ts.value = Ei;
|
|
2780
|
-
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-DcjjaDUk.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-u4dNCa0T.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-fu3fGrJB.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-Cm1ZmJdL.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-CuEqsPD7.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-XEzpdsLj.mjs"), "./views/payment/history-pay-trade/index.vue": () => import("./index-BSjUBqhl.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-CWRtxckQ.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-CZR9oAkw.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-3RoPmLkF.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index copy.vue": () => import("./index copy-BMOSe9EZ.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-
|
|
2781
|
+
const Vi = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-DcjjaDUk.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-u4dNCa0T.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-fu3fGrJB.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-Cm1ZmJdL.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-CuEqsPD7.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-XEzpdsLj.mjs"), "./views/payment/history-pay-trade/index.vue": () => import("./index-BSjUBqhl.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-CWRtxckQ.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-CZR9oAkw.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-3RoPmLkF.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index copy.vue": () => import("./index copy-BMOSe9EZ.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-C2M_dK36.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-DYgHw7PE.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-yQjjxDcA.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-uat4MVcq.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-ClDxB7Ty.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-DSAnrTJ1.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-BJDG5RJu.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DCwgJuDo.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-B8Y2esGZ.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-eDeS0zsk.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-BQjgVD9D.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-DUu1w36z.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-DawV1DzV.mjs") }), Bi = {
|
|
2781
2782
|
install(e) {
|
|
2782
2783
|
xs(Vi, 7), Ws(bs), e.use(Li);
|
|
2783
2784
|
}
|