xyvcard-settle 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{history-B8rLL6cg.mjs → history-B-gHLBwh.mjs} +1 -1
- package/dist/{history-GWPuNly4.mjs → history-BLctAU0P.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs → history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs} +34 -34
- package/dist/{history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs → history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs} +20 -21
- package/dist/index--_Po9Tig.mjs +43858 -0
- package/dist/{index-Cb7J-gqJ.mjs → index-AgzuDVOr.mjs} +117 -100
- package/dist/index-BocAk8pD.mjs +176 -0
- package/dist/{index-Cd659aKC.mjs → index-C2vMy8ik.mjs} +154 -153
- package/dist/index-C7K8v7BO.mjs +2702 -0
- package/dist/{index-C3Kdmtt0.mjs → index-CNAVEXHD.mjs} +2 -2
- package/dist/{index-by_iuKQb.mjs → index-Cg3fVoEi.mjs} +2 -2
- package/dist/index-CpuvJ4Tw.mjs +110 -0
- package/dist/index-CwhZGNVj.mjs +131 -0
- package/dist/index-DJtiZFc1.mjs +142 -0
- package/dist/index-DsIwC6AS.mjs +238 -0
- package/dist/index-P-8jwHYX.mjs +690 -0
- package/dist/{index-CEE_6GTV.mjs → index-YgHkUquv.mjs} +119 -105
- package/dist/{index-CGm_qU0S.mjs → index-dcnBl8Xl.mjs} +165 -140
- package/dist/index-eUhFgNKx.mjs +45 -0
- package/dist/index-zsIaZMNT.mjs +63 -0
- package/dist/index.mjs +3 -2693
- package/dist/merchant-DLx9AYoM.mjs +4 -0
- package/dist/merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs +77 -0
- package/dist/pay-C08cbM_l.mjs +101 -0
- package/dist/pay-DW3Una4C.mjs +98 -0
- package/dist/payPal-D2I3WIqV.mjs +113 -0
- package/dist/payPal-nXPX-3pm.mjs +109 -0
- package/dist/sale-BR1khQTm.mjs +4 -0
- package/dist/sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs +77 -0
- package/dist/style.css +1 -0
- package/dist/three-BE8B3lbG.mjs +6 -0
- package/dist/{today-BYQ_Njq5.mjs → today-r_ikFBLS.mjs} +1 -1
- package/dist/{today-CGeC5FRK.mjs → today-t0-6m3Qr.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs → today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs} +71 -81
- package/dist/{today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs → today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs} +19 -19
- package/dist/tokenExt-SHK5rrb5.mjs +31 -0
- package/dist/trend-BOA_Pwtn.mjs +200 -0
- package/dist/trend-D8pStiQ5.mjs +171 -0
- package/dist/trend-pbYAF-aS.mjs +172 -0
- package/dts/src/api/settle/agent-settle/index.d.ts +13 -0
- package/dts/src/api/settle/agent-settle/types.d.ts +48 -0
- package/dts/src/api/settle/index.d.ts +1 -0
- package/dts/src/api/settle/insts-settle/index.d.ts +11 -0
- package/dts/src/api/settle/insts-settle/types.d.ts +32 -0
- package/dts/src/api/settle/mcht-homePage/index.d.ts +9 -0
- package/dts/src/api/settle/mcht-homePage/types.d.ts +34 -0
- package/dts/src/api/settle/pay-trade/types.d.ts +1 -0
- package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -0
- package/dts/src/api/settle/settle-trade-merchant/types.d.ts +3 -0
- package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +2 -0
- package/dts/src/constant.d.ts +9 -0
- package/dts/src/lang/settle/en.d.ts +0 -89
- package/dts/src/lang/settle/zh-cn.d.ts +8 -0
- package/dts/src/router/index.d.ts +4 -0
- package/dts/src/utils/tokenExt.d.ts +21 -0
- package/dts/src/views/payment/agentHomePage/index.vue.d.ts +2 -0
- package/dts/src/views/payment/agentHomePage/merchant.vue.d.ts +2 -0
- package/dts/src/views/payment/agentHomePage/pay.vue.d.ts +2 -0
- package/dts/src/views/payment/agentHomePage/payPal.vue.d.ts +2 -0
- package/dts/src/views/payment/agentHomePage/sale.vue.d.ts +2 -0
- package/dts/src/views/payment/agentHomePage/trend.vue.d.ts +2 -0
- package/dts/src/views/payment/instHomePage/index.vue.d.ts +2 -0
- package/dts/src/views/payment/instHomePage/pay.vue.d.ts +2 -0
- package/dts/src/views/payment/instHomePage/payPal.vue.d.ts +2 -0
- package/dts/src/views/payment/instHomePage/trend.vue.d.ts +2 -0
- package/dts/src/views/payment/instsLogin/index.vue.d.ts +2 -0
- package/dts/src/views/payment/merchantHomePage/index.vue.d.ts +2 -0
- package/dts/src/views/payment/merchantHomePage/trend.vue.d.ts +2 -0
- package/package.json +62 -61
- package/dist/index-NM7NGo1Y.mjs +0 -534
- package/dist/index-q_VWJKNr.mjs +0 -99
|
@@ -1,60 +1,58 @@
|
|
|
1
|
-
import { defineComponent as ne, getCurrentInstance as oe, ref as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as ne, getCurrentInstance as oe, ref as I, resolveComponent as p, resolveDirective as se, createElementBlock as E, openBlock as v, createElementVNode as b, createVNode as l, withCtx as t, withKeys as g, unref as n, createBlock as D, createCommentVNode as M, createTextVNode as r, toDisplayString as i, createSlots as re, withDirectives as de, isRef as U } from "vue";
|
|
2
|
+
import { useRoute as ue, useRouter as ie } from "vue-router";
|
|
3
3
|
import { useI18n as me } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import { useRoute as ye, useRouter as fe } from "vue-router";
|
|
4
|
+
import { useUserStore as R, clearEmpty as pe, request as ye, useTableHooks as fe } from "jmash-core";
|
|
6
5
|
import { tokenExt as ce } from "xyvcard-agent";
|
|
6
|
+
import { D as f, C as P } from "./index-CpuvJ4Tw.mjs";
|
|
7
7
|
class be {
|
|
8
|
-
getKey(
|
|
8
|
+
getKey(T) {
|
|
9
9
|
return {
|
|
10
|
-
analysisTime:
|
|
11
|
-
channelId:
|
|
10
|
+
analysisTime: T.analysisTime,
|
|
11
|
+
channelId: T.channelId
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
// 查询翻页信息支付交易汇总统计;
|
|
15
|
-
findPage(
|
|
16
|
-
const
|
|
17
|
-
return
|
|
18
|
-
url: "/v1/settle/analysis/merchant/page/" +
|
|
15
|
+
findPage(T) {
|
|
16
|
+
const N = R().user.tenant;
|
|
17
|
+
return pe(T), ye({
|
|
18
|
+
url: "/v1/settle/analysis/merchant/my/page/" + N,
|
|
19
19
|
method: "get",
|
|
20
|
-
params:
|
|
20
|
+
params: T
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, $e = { class: "blue_color" },
|
|
24
|
+
const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-container" }, Ae = { class: "total-num" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, $e = { class: "blue_color" }, ke = ["onClick"], Se = /* @__PURE__ */ ne({
|
|
25
25
|
__name: "index",
|
|
26
26
|
setup(Q) {
|
|
27
|
-
const { t:
|
|
27
|
+
const { t: T } = me();
|
|
28
28
|
f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
const { proxy: z } = oe(), j = fe(), s = _({
|
|
32
|
-
tokenExt: ce.getTokenExt(N().user.tenant)
|
|
29
|
+
const w = ue().query.tenant, { proxy: S } = oe(), j = ie(), s = I({
|
|
30
|
+
tokenExt: ce.getTokenExt(R().user.tenant)
|
|
33
31
|
}), {
|
|
34
|
-
tableHooks:
|
|
32
|
+
tableHooks: m,
|
|
35
33
|
multipleTableRef: K,
|
|
36
34
|
queryFormRef: Y,
|
|
37
35
|
listLoading: q,
|
|
38
36
|
tableData: F,
|
|
39
37
|
total: $
|
|
40
|
-
} =
|
|
41
|
-
let
|
|
42
|
-
const h =
|
|
38
|
+
} = fe(T, Te, s);
|
|
39
|
+
let A = m.totalRecord;
|
|
40
|
+
const h = I([]);
|
|
43
41
|
function O(a) {
|
|
44
|
-
h.value = a, h.value.length === 2 && (s.value.analysisTimeStart =
|
|
42
|
+
h.value = a, h.value.length === 2 && (s.value.analysisTimeStart = S.$moment.formatDate(
|
|
45
43
|
a[0],
|
|
46
44
|
P.RPC_FORMAT_TIME
|
|
47
|
-
), s.value.analysisTimeEnd =
|
|
45
|
+
), s.value.analysisTimeEnd = S.$moment.formatDate(
|
|
48
46
|
a[1],
|
|
49
47
|
P.RPC_FORMAT_TIME
|
|
50
48
|
));
|
|
51
49
|
}
|
|
52
|
-
const L =
|
|
50
|
+
const L = I(
|
|
53
51
|
JSON.parse(
|
|
54
|
-
sessionStorage.getItem("SelectAgent:" +
|
|
52
|
+
sessionStorage.getItem("SelectAgent:" + R().user.tenant) || "{}"
|
|
55
53
|
)
|
|
56
54
|
);
|
|
57
|
-
let C =
|
|
55
|
+
let C = I([
|
|
58
56
|
// 序号
|
|
59
57
|
{
|
|
60
58
|
label: "settleTradeAnalysis.index",
|
|
@@ -80,7 +78,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
80
78
|
sortable: "custom",
|
|
81
79
|
isColumn: !0
|
|
82
80
|
},
|
|
83
|
-
//
|
|
81
|
+
// 订单笔数
|
|
84
82
|
{
|
|
85
83
|
label: "settleTradeAnalysis.orderCount",
|
|
86
84
|
prop: "orderCount",
|
|
@@ -88,7 +86,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
88
86
|
sortable: "custom",
|
|
89
87
|
isColumn: !0
|
|
90
88
|
},
|
|
91
|
-
//
|
|
89
|
+
// 订单总额
|
|
92
90
|
{
|
|
93
91
|
label: "settleTradeAnalysis.orderAmount",
|
|
94
92
|
prop: "orderAmount",
|
|
@@ -96,10 +94,18 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
96
94
|
sortable: "custom",
|
|
97
95
|
isColumn: !0
|
|
98
96
|
},
|
|
99
|
-
//
|
|
97
|
+
// 交易金额
|
|
100
98
|
{
|
|
101
|
-
label: "settleTradeAnalysis.
|
|
102
|
-
prop: "
|
|
99
|
+
label: "settleTradeAnalysis.tradeAmount",
|
|
100
|
+
prop: "tradeAmount",
|
|
101
|
+
width: "110",
|
|
102
|
+
sortable: "custom",
|
|
103
|
+
isColumn: !0
|
|
104
|
+
},
|
|
105
|
+
// 优惠金额
|
|
106
|
+
{
|
|
107
|
+
label: "settleTradeAnalysis.discountAmount",
|
|
108
|
+
prop: "discountAmount",
|
|
103
109
|
width: "110",
|
|
104
110
|
sortable: "custom",
|
|
105
111
|
isColumn: !0
|
|
@@ -157,19 +163,19 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
157
163
|
}
|
|
158
164
|
});
|
|
159
165
|
}
|
|
160
|
-
function
|
|
161
|
-
h.value = [],
|
|
166
|
+
function z() {
|
|
167
|
+
h.value = [], s.value.analysisTimeStart = "", s.value.analysisTimeEnd = "", m.resetQuery();
|
|
162
168
|
}
|
|
163
169
|
function W(a) {
|
|
164
|
-
|
|
170
|
+
m.selectionRows.value = a;
|
|
165
171
|
}
|
|
166
172
|
function J(a) {
|
|
167
|
-
|
|
173
|
+
m.handleSort(a.prop, a.order);
|
|
168
174
|
}
|
|
169
|
-
return
|
|
170
|
-
const
|
|
171
|
-
return v(),
|
|
172
|
-
|
|
175
|
+
return m.getList(), (a, e) => {
|
|
176
|
+
const k = p("jmash-select"), c = p("el-form-item"), d = p("el-col"), B = p("el-input"), V = p("el-row"), G = p("el-tree-select"), X = p("el-date-picker"), _ = p("el-button"), Z = p("el-form"), x = p("jmash-column-select"), ee = p("jmash-table"), te = p("jmash-pagination"), le = p("el-card"), ae = se("hasPerm");
|
|
177
|
+
return v(), E("div", ve, [
|
|
178
|
+
b("div", ge, [
|
|
173
179
|
l(Z, {
|
|
174
180
|
ref_key: "queryFormRef",
|
|
175
181
|
ref: Y,
|
|
@@ -182,17 +188,20 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
182
188
|
l(d, { span: 6 }, {
|
|
183
189
|
default: t(() => [
|
|
184
190
|
l(c, {
|
|
185
|
-
label: a.$t("
|
|
186
|
-
prop: "
|
|
191
|
+
label: a.$t("payTrade.merchantId"),
|
|
192
|
+
prop: "version"
|
|
187
193
|
}, {
|
|
188
194
|
default: t(() => [
|
|
189
|
-
l(
|
|
195
|
+
l(k, {
|
|
190
196
|
modelValue: s.value.merchantId,
|
|
191
197
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => s.value.merchantId = o),
|
|
192
|
-
placeholder: a.$t("
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
198
|
+
placeholder: a.$t("payTrade.merchantIdRead"),
|
|
199
|
+
data: n(f).merchantBizDict.values,
|
|
200
|
+
onKeyup: e[1] || (e[1] = g((o) => n(m).handleQuery(), ["enter"])),
|
|
201
|
+
class: "!w-[203px]",
|
|
202
|
+
filterable: "",
|
|
203
|
+
clearable: ""
|
|
204
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
196
205
|
]),
|
|
197
206
|
_: 1
|
|
198
207
|
}, 8, ["label"])
|
|
@@ -206,12 +215,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
206
215
|
prop: "payMode"
|
|
207
216
|
}, {
|
|
208
217
|
default: t(() => [
|
|
209
|
-
l(
|
|
218
|
+
l(k, {
|
|
210
219
|
modelValue: s.value.payMode,
|
|
211
220
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => s.value.payMode = o),
|
|
212
221
|
placeholder: a.$t("settleTradeAnalysis.payModeRead"),
|
|
213
222
|
data: n(f).payModeBizDict.values,
|
|
214
|
-
onKeyup: e[3] || (e[3] = g((o) => n(
|
|
223
|
+
onKeyup: e[3] || (e[3] = g((o) => n(m).handleQuery(), ["enter"])),
|
|
215
224
|
class: "!w-[203px]",
|
|
216
225
|
filterable: "",
|
|
217
226
|
clearable: ""
|
|
@@ -229,11 +238,11 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
229
238
|
prop: "likeMerchantNo"
|
|
230
239
|
}, {
|
|
231
240
|
default: t(() => [
|
|
232
|
-
l(
|
|
241
|
+
l(B, {
|
|
233
242
|
modelValue: s.value.likeMerchantNo,
|
|
234
243
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => s.value.likeMerchantNo = o),
|
|
235
244
|
placeholder: a.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
236
|
-
onKeyup: e[5] || (e[5] = g((o) => n(
|
|
245
|
+
onKeyup: e[5] || (e[5] = g((o) => n(m).handleQuery(), ["enter"])),
|
|
237
246
|
class: "!w-[203px]"
|
|
238
247
|
}, null, 8, ["modelValue", "placeholder"])
|
|
239
248
|
]),
|
|
@@ -249,11 +258,11 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
249
258
|
prop: "termNo"
|
|
250
259
|
}, {
|
|
251
260
|
default: t(() => [
|
|
252
|
-
l(
|
|
261
|
+
l(B, {
|
|
253
262
|
modelValue: s.value.termNo,
|
|
254
263
|
"onUpdate:modelValue": e[6] || (e[6] = (o) => s.value.termNo = o),
|
|
255
264
|
placeholder: a.$t("settleTradeAnalysis.termNoRead"),
|
|
256
|
-
onKeyup: e[7] || (e[7] = g((o) => n(
|
|
265
|
+
onKeyup: e[7] || (e[7] = g((o) => n(m).handleQuery(), ["enter"])),
|
|
257
266
|
class: "!w-[203px]"
|
|
258
267
|
}, null, 8, ["modelValue", "placeholder"])
|
|
259
268
|
]),
|
|
@@ -269,7 +278,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
269
278
|
default: t(() => {
|
|
270
279
|
var o, u;
|
|
271
280
|
return [
|
|
272
|
-
(o = n(
|
|
281
|
+
(o = n(w)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
|
|
273
282
|
key: 0,
|
|
274
283
|
span: 6
|
|
275
284
|
}, {
|
|
@@ -302,12 +311,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
302
311
|
prop: "tradeType"
|
|
303
312
|
}, {
|
|
304
313
|
default: t(() => [
|
|
305
|
-
l(
|
|
314
|
+
l(k, {
|
|
306
315
|
modelValue: s.value.tradeType,
|
|
307
316
|
"onUpdate:modelValue": e[9] || (e[9] = (y) => s.value.tradeType = y),
|
|
308
317
|
placeholder: a.$t("settleTradeAnalysis.tradeTypeRead"),
|
|
309
318
|
data: n(f).tradeTypeBizDict.values,
|
|
310
|
-
onKeyup: e[10] || (e[10] = g((y) => n(
|
|
319
|
+
onKeyup: e[10] || (e[10] = g((y) => n(m).handleQuery(), ["enter"])),
|
|
311
320
|
class: "!w-[203px]",
|
|
312
321
|
filterable: "",
|
|
313
322
|
clearable: ""
|
|
@@ -325,12 +334,12 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
325
334
|
prop: "channelId"
|
|
326
335
|
}, {
|
|
327
336
|
default: t(() => [
|
|
328
|
-
l(
|
|
337
|
+
l(k, {
|
|
329
338
|
modelValue: s.value.channelId,
|
|
330
339
|
"onUpdate:modelValue": e[11] || (e[11] = (y) => s.value.channelId = y),
|
|
331
340
|
placeholder: a.$t("settleTradeAnalysis.channelIdRead"),
|
|
332
341
|
data: n(f).instsBizDict.values,
|
|
333
|
-
onKeyup: e[12] || (e[12] = g((y) => n(
|
|
342
|
+
onKeyup: e[12] || (e[12] = g((y) => n(m).handleQuery(), ["enter"])),
|
|
334
343
|
class: "!w-[203px]",
|
|
335
344
|
filterable: "",
|
|
336
345
|
clearable: ""
|
|
@@ -366,27 +375,27 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
366
375
|
]),
|
|
367
376
|
_: 1
|
|
368
377
|
}),
|
|
369
|
-
(u = n(
|
|
378
|
+
(u = n(w)) != null && u.includes("@") ? (v(), D(d, {
|
|
370
379
|
key: 1,
|
|
371
380
|
span: 6
|
|
372
381
|
}, {
|
|
373
382
|
default: t(() => [
|
|
374
383
|
l(c, { class: "search-btn" }, {
|
|
375
384
|
default: t(() => [
|
|
376
|
-
l(
|
|
385
|
+
l(_, {
|
|
377
386
|
type: "primary",
|
|
378
|
-
onClick: e[14] || (e[14] = (y) => n(
|
|
387
|
+
onClick: e[14] || (e[14] = (y) => n(m).handleQuery())
|
|
379
388
|
}, {
|
|
380
389
|
default: t(() => [
|
|
381
|
-
r(
|
|
390
|
+
r(i(a.$t("common.search")), 1)
|
|
382
391
|
]),
|
|
383
392
|
_: 1
|
|
384
393
|
}),
|
|
385
|
-
l(
|
|
386
|
-
onClick: e[15] || (e[15] = (y) =>
|
|
394
|
+
l(_, {
|
|
395
|
+
onClick: e[15] || (e[15] = (y) => z())
|
|
387
396
|
}, {
|
|
388
397
|
default: t(() => [
|
|
389
|
-
r(
|
|
398
|
+
r(i(a.$t("common.reset")), 1)
|
|
390
399
|
]),
|
|
391
400
|
_: 1
|
|
392
401
|
})
|
|
@@ -404,27 +413,27 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
404
413
|
default: t(() => {
|
|
405
414
|
var o;
|
|
406
415
|
return [
|
|
407
|
-
(o = n(
|
|
416
|
+
(o = n(w)) != null && o.includes("@") ? M("", !0) : (v(), D(d, {
|
|
408
417
|
key: 0,
|
|
409
418
|
span: 24
|
|
410
419
|
}, {
|
|
411
420
|
default: t(() => [
|
|
412
421
|
l(c, { class: "search-btn" }, {
|
|
413
422
|
default: t(() => [
|
|
414
|
-
l(
|
|
423
|
+
l(_, {
|
|
415
424
|
type: "primary",
|
|
416
|
-
onClick: e[16] || (e[16] = (u) => n(
|
|
425
|
+
onClick: e[16] || (e[16] = (u) => n(m).handleQuery())
|
|
417
426
|
}, {
|
|
418
427
|
default: t(() => [
|
|
419
|
-
r(
|
|
428
|
+
r(i(a.$t("common.search")), 1)
|
|
420
429
|
]),
|
|
421
430
|
_: 1
|
|
422
431
|
}),
|
|
423
|
-
l(
|
|
424
|
-
onClick: e[17] || (e[17] = (u) =>
|
|
432
|
+
l(_, {
|
|
433
|
+
onClick: e[17] || (e[17] = (u) => z())
|
|
425
434
|
}, {
|
|
426
435
|
default: t(() => [
|
|
427
|
-
r(
|
|
436
|
+
r(i(a.$t("common.reset")), 1)
|
|
428
437
|
]),
|
|
429
438
|
_: 1
|
|
430
439
|
})
|
|
@@ -441,7 +450,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
441
450
|
]),
|
|
442
451
|
_: 1
|
|
443
452
|
}, 8, ["model"]),
|
|
444
|
-
e[23] || (e[23] =
|
|
453
|
+
e[23] || (e[23] = b("div", { class: "clear" }, null, -1))
|
|
445
454
|
]),
|
|
446
455
|
l(le, {
|
|
447
456
|
shadow: "never",
|
|
@@ -457,7 +466,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
457
466
|
default: t(() => [
|
|
458
467
|
l(x, {
|
|
459
468
|
modelValue: n(C),
|
|
460
|
-
"onUpdate:modelValue": e[18] || (e[18] = (o) =>
|
|
469
|
+
"onUpdate:modelValue": e[18] || (e[18] = (o) => U(C) ? C.value = o : C = o),
|
|
461
470
|
"label-name": "settle/settle-trade-analysis"
|
|
462
471
|
}, null, 8, ["modelValue"])
|
|
463
472
|
]),
|
|
@@ -468,54 +477,62 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
468
477
|
})
|
|
469
478
|
]),
|
|
470
479
|
footer: t(() => [
|
|
471
|
-
n($) > 0 ? (v(),
|
|
480
|
+
n($) > 0 ? (v(), D(te, {
|
|
472
481
|
key: 0,
|
|
473
482
|
total: n($),
|
|
474
|
-
"onUpdate:total": e[19] || (e[19] = (o) =>
|
|
483
|
+
"onUpdate:total": e[19] || (e[19] = (o) => U($) ? $.value = o : null),
|
|
475
484
|
"current-page": s.value.curPage,
|
|
476
485
|
"onUpdate:currentPage": e[20] || (e[20] = (o) => s.value.curPage = o),
|
|
477
486
|
"page-size": s.value.pageSize,
|
|
478
487
|
"onUpdate:pageSize": e[21] || (e[21] = (o) => s.value.pageSize = o),
|
|
479
|
-
onPagination: e[22] || (e[22] = (o) => n(
|
|
488
|
+
onPagination: e[22] || (e[22] = (o) => n(m).getList())
|
|
480
489
|
}, null, 8, ["total", "current-page", "page-size"])) : M("", !0)
|
|
481
490
|
]),
|
|
482
491
|
default: t(() => {
|
|
483
492
|
var o;
|
|
484
493
|
return [
|
|
485
|
-
|
|
494
|
+
b("div", Ae, [
|
|
486
495
|
l(V, { gutter: 20 }, {
|
|
487
496
|
default: t(() => [
|
|
488
|
-
l(d, { span:
|
|
497
|
+
l(d, { span: 4 }, {
|
|
489
498
|
default: t(() => [
|
|
490
|
-
e[24] || (e[24] = r("
|
|
491
|
-
|
|
499
|
+
e[24] || (e[24] = r(" 订单数: ")),
|
|
500
|
+
b("span", he, i(n(A).totalOrderCount), 1),
|
|
492
501
|
e[25] || (e[25] = r(" 笔 "))
|
|
493
502
|
]),
|
|
494
503
|
_: 1
|
|
495
504
|
}),
|
|
496
|
-
l(d, { span:
|
|
505
|
+
l(d, { span: 4 }, {
|
|
497
506
|
default: t(() => [
|
|
498
|
-
e[26] || (e[26] = r("
|
|
499
|
-
|
|
507
|
+
e[26] || (e[26] = r(" 订单金额: ")),
|
|
508
|
+
b("span", Ce, i(n(A).totalOrderAmount), 1),
|
|
500
509
|
e[27] || (e[27] = r(" 元 "))
|
|
501
510
|
]),
|
|
502
511
|
_: 1
|
|
503
512
|
}),
|
|
504
|
-
l(d, { span:
|
|
513
|
+
l(d, { span: 4 }, {
|
|
505
514
|
default: t(() => [
|
|
506
|
-
e[28] || (e[28] = r("
|
|
507
|
-
|
|
515
|
+
e[28] || (e[28] = r(" 交易金额: ")),
|
|
516
|
+
b("span", Ve, i(n(A).totalTradeAmount), 1),
|
|
508
517
|
e[29] || (e[29] = r(" 元 "))
|
|
509
518
|
]),
|
|
510
519
|
_: 1
|
|
511
520
|
}),
|
|
512
|
-
l(d, { span:
|
|
521
|
+
l(d, { span: 4 }, {
|
|
513
522
|
default: t(() => [
|
|
514
|
-
e[30] || (e[30] = r("
|
|
515
|
-
|
|
523
|
+
e[30] || (e[30] = r(" 优惠金额: ")),
|
|
524
|
+
b("span", we, i(n(A).totalDiscountAmount), 1),
|
|
516
525
|
e[31] || (e[31] = r(" 元 "))
|
|
517
526
|
]),
|
|
518
527
|
_: 1
|
|
528
|
+
}),
|
|
529
|
+
l(d, { span: 4 }, {
|
|
530
|
+
default: t(() => [
|
|
531
|
+
e[32] || (e[32] = r(" 手续费: ")),
|
|
532
|
+
b("span", $e, i(n(A).totalFeeAmt), 1),
|
|
533
|
+
e[33] || (e[33] = r(" 元 "))
|
|
534
|
+
]),
|
|
535
|
+
_: 1
|
|
519
536
|
})
|
|
520
537
|
]),
|
|
521
538
|
_: 1
|
|
@@ -533,36 +550,36 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
533
550
|
onSortChange: J
|
|
534
551
|
}, re({
|
|
535
552
|
merchantId: t((u) => [
|
|
536
|
-
r(
|
|
553
|
+
r(i(n(f).merchantBizDict.getValue(u.data.row.merchantId)), 1)
|
|
537
554
|
]),
|
|
538
555
|
instsId: t((u) => [
|
|
539
|
-
r(
|
|
556
|
+
r(i(n(f).instsBizDict.getValue(u.data.row.instsId)), 1)
|
|
540
557
|
]),
|
|
541
558
|
payMode: t((u) => [
|
|
542
|
-
r(
|
|
559
|
+
r(i(n(f).payModeBizDict.getEnumValue(u.data.row.payMode)), 1)
|
|
543
560
|
]),
|
|
544
561
|
operation: t((u) => [
|
|
545
|
-
de((v(),
|
|
562
|
+
de((v(), E("span", {
|
|
546
563
|
class: "el-button-color",
|
|
547
564
|
onClick: (y) => H(u.data.row)
|
|
548
565
|
}, [
|
|
549
|
-
r(
|
|
550
|
-
], 8,
|
|
566
|
+
r(i(a.$t("settleTradeAnalysis.view")), 1)
|
|
567
|
+
], 8, ke)), [
|
|
551
568
|
[ae, ["settle:settle_trade_analysis:view"]]
|
|
552
569
|
])
|
|
553
570
|
]),
|
|
554
571
|
_: 2
|
|
555
572
|
}, [
|
|
556
|
-
(o = n(
|
|
573
|
+
(o = n(w)) != null && o.includes("@") ? {
|
|
557
574
|
name: "agentCode",
|
|
558
575
|
fn: t((u) => [
|
|
559
|
-
r(
|
|
576
|
+
r(i(L.value.agentAlias), 1)
|
|
560
577
|
]),
|
|
561
578
|
key: "1"
|
|
562
579
|
} : {
|
|
563
580
|
name: "agentCode",
|
|
564
581
|
fn: t((u) => [
|
|
565
|
-
r(
|
|
582
|
+
r(i(n(f).agentBizDict.getValue(u.data.row.agentCode)), 1)
|
|
566
583
|
]),
|
|
567
584
|
key: "0"
|
|
568
585
|
}
|
|
@@ -576,5 +593,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
|
|
|
576
593
|
}
|
|
577
594
|
});
|
|
578
595
|
export {
|
|
579
|
-
|
|
596
|
+
Se as default
|
|
580
597
|
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { defineComponent as g, ref as u, onMounted as C, getCurrentInstance as E, resolveComponent as f, createElementBlock as A, openBlock as $, createElementVNode as t, createVNode as a, withCtx as n, toDisplayString as o, createTextVNode as _ } from "vue";
|
|
2
|
+
import { useRouter as R } from "vue-router";
|
|
3
|
+
import { s as w } from "./index-zsIaZMNT.mjs";
|
|
4
|
+
import { C as p } from "./index-CpuvJ4Tw.mjs";
|
|
5
|
+
import P from "./pay-C08cbM_l.mjs";
|
|
6
|
+
import S from "./payPal-D2I3WIqV.mjs";
|
|
7
|
+
import V from "./trend-pbYAF-aS.mjs";
|
|
8
|
+
import { _ as b } from "./sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs";
|
|
9
|
+
import { _ as I } from "./merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs";
|
|
10
|
+
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
|
+
const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-container" }, B = { class: "title" }, q = { class: "tatals" }, Q = { class: "tatal" }, U = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "app-title pay-model" }, W = { class: "title taxt_time_laft" }, X = { class: "text_time" }, Z = { class: "title taxt_time_laft" }, tt = { class: "text_time" }, et = { class: "title taxt_time_laft" }, st = { class: "text_time" }, at = { class: "app-title-time" }, ot = { class: "chart-header" }, nt = { class: "chart-title" }, lt = { class: "text_time" }, it = /* @__PURE__ */ g({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(rt) {
|
|
14
|
+
const y = R(), r = u("");
|
|
15
|
+
C(() => {
|
|
16
|
+
const s = /* @__PURE__ */ new Date();
|
|
17
|
+
r.value = `${s.getFullYear()}年${(s.getMonth() + 1).toString().padStart(2, "0")}月`, x();
|
|
18
|
+
});
|
|
19
|
+
const { proxy: l } = E(), c = u({
|
|
20
|
+
analysisTimeStart: "",
|
|
21
|
+
analysisTimeEnd: ""
|
|
22
|
+
}), d = u({});
|
|
23
|
+
function v() {
|
|
24
|
+
w.homePageAmount({
|
|
25
|
+
analysisTimeStart: c.value.analysisTimeStart,
|
|
26
|
+
analysisTimeEnd: c.value.analysisTimeEnd
|
|
27
|
+
}).then((s) => {
|
|
28
|
+
d.value = s.data;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
const x = () => {
|
|
32
|
+
const s = /* @__PURE__ */ new Date(), e = /* @__PURE__ */ new Date();
|
|
33
|
+
e.setDate(s.getDate() - 6), m.value = [
|
|
34
|
+
l.$moment.formatDate(e, "YYYY-MM-DD"),
|
|
35
|
+
l.$moment.formatDate(s, "YYYY-MM-DD")
|
|
36
|
+
], c.value = {
|
|
37
|
+
analysisTimeStart: l.$moment.formatDate(
|
|
38
|
+
e,
|
|
39
|
+
p.RPC_FORMAT_TIME
|
|
40
|
+
),
|
|
41
|
+
analysisTimeEnd: l.$moment.formatDate(s, p.RPC_FORMAT_TIME)
|
|
42
|
+
}, v();
|
|
43
|
+
}, m = u([]);
|
|
44
|
+
function D(s) {
|
|
45
|
+
m.value = s, !s || s.length !== 2 ? x() : (m.value = s, c.value = {
|
|
46
|
+
analysisTimeStart: l.$moment.formatDate(
|
|
47
|
+
s[0],
|
|
48
|
+
p.RPC_FORMAT_TIME
|
|
49
|
+
),
|
|
50
|
+
analysisTimeEnd: l.$moment.formatDate(
|
|
51
|
+
s[1],
|
|
52
|
+
p.RPC_FORMAT_TIME
|
|
53
|
+
)
|
|
54
|
+
}), v();
|
|
55
|
+
}
|
|
56
|
+
const M = () => {
|
|
57
|
+
y.push({
|
|
58
|
+
path: "/payment/pay-trade"
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
return (s, e) => {
|
|
62
|
+
const T = f("el-date-picker"), i = f("el-card"), h = f("el-button");
|
|
63
|
+
return $(), A("div", null, [
|
|
64
|
+
t("div", F, [
|
|
65
|
+
t("div", O, [
|
|
66
|
+
t("div", N, [
|
|
67
|
+
a(i, { class: "card-never" }, {
|
|
68
|
+
default: n(() => [
|
|
69
|
+
t("div", B, [
|
|
70
|
+
e[1] || (e[1] = t("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
|
|
71
|
+
a(T, {
|
|
72
|
+
modelValue: m.value,
|
|
73
|
+
"onUpdate:modelValue": e[0] || (e[0] = (Y) => m.value = Y),
|
|
74
|
+
type: "daterange",
|
|
75
|
+
"range-separator": "-",
|
|
76
|
+
"start-placeholder": "开始日期",
|
|
77
|
+
"end-placeholder": "结束日期",
|
|
78
|
+
"value-format": "YYYY-MM-DD",
|
|
79
|
+
format: "YYYY-MM-DD",
|
|
80
|
+
onChange: D
|
|
81
|
+
}, null, 8, ["modelValue"])
|
|
82
|
+
]),
|
|
83
|
+
t("div", q, [
|
|
84
|
+
t("div", Q, [
|
|
85
|
+
t("text", U, o(d.value.orderCount || 0), 1),
|
|
86
|
+
e[2] || (e[2] = t("text", null, "交易笔数", -1))
|
|
87
|
+
]),
|
|
88
|
+
t("div", j, [
|
|
89
|
+
t("text", z, o(d.value.orderAmount || 0), 1),
|
|
90
|
+
e[3] || (e[3] = t("text", null, " 交易金额", -1))
|
|
91
|
+
]),
|
|
92
|
+
t("div", G, [
|
|
93
|
+
t("text", H, o(d.value.feeAmt || 0), 1),
|
|
94
|
+
e[4] || (e[4] = t("text", null, " 手续费", -1))
|
|
95
|
+
]),
|
|
96
|
+
t("div", J, [
|
|
97
|
+
t("text", K, o(d.value.settleAmount || 0), 1),
|
|
98
|
+
e[5] || (e[5] = t("text", null, " 结账金额", -1))
|
|
99
|
+
])
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}),
|
|
104
|
+
a(i, { class: "card-never card-paypal" }, {
|
|
105
|
+
default: n(() => [
|
|
106
|
+
e[6] || (e[6] = t("div", { class: "title" }, "支付渠道分析", -1)),
|
|
107
|
+
a(S, { class: "pay" })
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
})
|
|
111
|
+
])
|
|
112
|
+
]),
|
|
113
|
+
t("div", L, [
|
|
114
|
+
a(i, { class: "card-number" }, {
|
|
115
|
+
default: n(() => [
|
|
116
|
+
t("div", W, [
|
|
117
|
+
e[7] || (e[7] = _(" 交易金额排名 ")),
|
|
118
|
+
t("span", X, o(r.value), 1)
|
|
119
|
+
]),
|
|
120
|
+
a(P)
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}),
|
|
124
|
+
a(i, { class: "card-number" }, {
|
|
125
|
+
default: n(() => [
|
|
126
|
+
t("div", Z, [
|
|
127
|
+
e[8] || (e[8] = _(" 销售人员交易金额排名 ")),
|
|
128
|
+
t("span", tt, o(r.value), 1)
|
|
129
|
+
]),
|
|
130
|
+
a(b)
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}),
|
|
134
|
+
a(i, { class: "card-number" }, {
|
|
135
|
+
default: n(() => [
|
|
136
|
+
t("div", et, [
|
|
137
|
+
e[9] || (e[9] = _(" 新增人员新增商户排名 ")),
|
|
138
|
+
t("span", st, o(r.value), 1)
|
|
139
|
+
]),
|
|
140
|
+
a(I)
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
})
|
|
144
|
+
])
|
|
145
|
+
]),
|
|
146
|
+
t("div", at, [
|
|
147
|
+
a(i, { class: "card-chart" }, {
|
|
148
|
+
default: n(() => [
|
|
149
|
+
t("div", ot, [
|
|
150
|
+
t("span", nt, [
|
|
151
|
+
e[10] || (e[10] = _(" 交易金额趋势 ")),
|
|
152
|
+
t("span", lt, o(r.value), 1)
|
|
153
|
+
]),
|
|
154
|
+
a(h, {
|
|
155
|
+
type: "text",
|
|
156
|
+
class: "view-more",
|
|
157
|
+
onClick: M
|
|
158
|
+
}, {
|
|
159
|
+
default: n(() => e[11] || (e[11] = [
|
|
160
|
+
_("查看更多")
|
|
161
|
+
])),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
]),
|
|
165
|
+
a(V)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
})
|
|
169
|
+
])
|
|
170
|
+
]);
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-a1dfcb4d"]]);
|
|
174
|
+
export {
|
|
175
|
+
Dt as default
|
|
176
|
+
};
|