xyvcard-settle 0.0.53 → 0.0.55
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/assets/09fcc36c527efda6.jpg +0 -0
- package/dist/assets/1ceaa63ddb015361.jpg +0 -0
- package/dist/assets/228d0bfe534e0e61.png +0 -0
- package/dist/assets/6e48b3e20382148c.png +0 -0
- package/dist/assets/7537a7335bb17b22.png +0 -0
- package/dist/assets/78ba92e6c076bd07.png +0 -0
- package/dist/index-B3iittmi.mjs +314 -0
- package/dist/{index-Dg9k1LtW.mjs → index-C8tSWVoy.mjs} +414 -414
- package/dist/{index-Cwhi9rvj.mjs → index-CVEOIlcb.mjs} +2 -2
- package/dist/{index-DTjubk-_.mjs → index-DAXtcEHB.mjs} +12 -13
- package/dist/{index-DcQ0Bjxl.mjs → index-UpMheR8A.mjs} +4 -4
- package/dist/index.mjs +1 -1
- package/dist/{merchant-u4dNCa0T.mjs → merchant-D3ctdb_L.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-CvB7L7G7.mjs → merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs} +20 -18
- package/dist/{pay-CZR9oAkw.mjs → pay-D5948kuF.mjs} +3 -3
- package/dist/{pay-fu3fGrJB.mjs → pay-DE3hsH6b.mjs} +3 -3
- package/dist/{sale-CuEqsPD7.mjs → sale-lKDJnhcE.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-DXUIMGjh.mjs → sale.vue_vue_type_script_setup_true_lang-b-hBu610.mjs} +22 -20
- package/dist/style.css +1 -1
- package/dist/{trend-BrSUujKu.mjs → trend-CD-Orlre.mjs} +2 -2
- package/dist/{trend-C4uCFrLb.mjs → trend-DCJoR00O.mjs} +2 -2
- package/dist/{trend-XEzpdsLj.mjs → trend-D__Df_wF.mjs} +2 -2
- package/dts/src/api/settle/agent-settle/types.d.ts +1 -0
- package/dts/src/api/settle/insts-settle/types.d.ts +1 -0
- package/package.json +63 -62
- package/dist/index-B8QmvLNr.mjs +0 -313
- package/dist/three-BE8B3lbG.mjs +0 -6
- package/dts/src/views/payment/instsLogin/index copy.vue.d.ts +0 -2
|
@@ -2,9 +2,9 @@ import { defineComponent as A, getCurrentInstance as T, ref as p, onMounted as P
|
|
|
2
2
|
import { useRouter as b } from "vue-router";
|
|
3
3
|
import { s as B } from "./index-eUhFgNKx.mjs";
|
|
4
4
|
import { C as N } from "./index-BgbsFf1D.mjs";
|
|
5
|
-
import R from "./pay-
|
|
5
|
+
import R from "./pay-D5948kuF.mjs";
|
|
6
6
|
import I from "./payPal-FS5kDoPy.mjs";
|
|
7
|
-
import q from "./trend-
|
|
7
|
+
import q from "./trend-CD-Orlre.mjs";
|
|
8
8
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
9
9
|
const O = { class: "app" }, Q = { class: "app-title" }, U = { class: "title" }, $ = { class: "tatals" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, W = { class: "text" }, X = { class: "app-title" }, Z = { class: "app-title-time" }, tt = { class: "chart-header" }, et = /* @__PURE__ */ A({
|
|
10
10
|
__name: "index",
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as A, ref as u, resolveComponent as c, resolveDirective as D, createElementBlock as g, openBlock as _, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, withDirectives as C, createBlock as Y, createTextVNode as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { T, m as
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
1
|
+
import { defineComponent as A, ref as u, resolveComponent as c, resolveDirective as D, createElementBlock as g, openBlock as _, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, withDirectives as C, createBlock as Y, createTextVNode as w } from "vue";
|
|
2
|
+
import { useRouter as T } from "vue-router";
|
|
3
|
+
import { T as k, m as v } from "./trend-DCJoR00O.mjs";
|
|
4
|
+
import { h as p } from "./index-C8tSWVoy.mjs";
|
|
5
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
6
|
const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-container" }, V = { class: "tatals" }, B = { class: "tatal" }, N = { class: "text" }, S = { class: "tatal" }, F = { class: "text" }, H = { class: "tatal" }, I = { class: "text" }, R = { class: "tatal" }, j = { class: "text" }, q = { class: "tatals" }, z = { class: "tatal" }, G = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "tatal" }, U = { class: "text" }, W = { class: "app-title-time" }, X = { class: "chart-header" }, Z = /* @__PURE__ */ A({
|
|
8
7
|
__name: "index",
|
|
9
8
|
setup($) {
|
|
10
|
-
const x =
|
|
9
|
+
const x = T(), i = p().format("YYYY-MM-DD"), m = p().subtract(1, "days").format("YYYY-MM-DD"), a = u({}), n = u({});
|
|
11
10
|
(async () => {
|
|
12
11
|
try {
|
|
13
|
-
|
|
12
|
+
v.homePageAmount({
|
|
14
13
|
analysisTimeStart: i,
|
|
15
14
|
analysisTimeEnd: i
|
|
16
15
|
}).then((s) => {
|
|
@@ -20,7 +19,7 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
20
19
|
feeAmt: s.data.feeAmt,
|
|
21
20
|
settleAmount: s.data.settleAmount
|
|
22
21
|
};
|
|
23
|
-
}),
|
|
22
|
+
}), v.homePageAmount({
|
|
24
23
|
analysisTimeStart: m,
|
|
25
24
|
analysisTimeEnd: m
|
|
26
25
|
}).then((s) => {
|
|
@@ -108,14 +107,14 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
108
107
|
onClick: f
|
|
109
108
|
}, {
|
|
110
109
|
default: d(() => e[10] || (e[10] = [
|
|
111
|
-
|
|
110
|
+
w(" 查看更多 ")
|
|
112
111
|
])),
|
|
113
112
|
_: 1
|
|
114
113
|
})), [
|
|
115
114
|
[y, ["payment:trade_analysis:view"]]
|
|
116
115
|
])
|
|
117
116
|
]),
|
|
118
|
-
l(
|
|
117
|
+
l(k)
|
|
119
118
|
]),
|
|
120
119
|
_: 1
|
|
121
120
|
})
|
|
@@ -123,7 +122,7 @@ const M = { class: "app" }, P = { class: "app-title" }, E = { class: "row-contai
|
|
|
123
122
|
]);
|
|
124
123
|
};
|
|
125
124
|
}
|
|
126
|
-
}),
|
|
125
|
+
}), lt = /* @__PURE__ */ b(Z, [["__scopeId", "data-v-6f52d4ae"]]);
|
|
127
126
|
export {
|
|
128
|
-
|
|
127
|
+
lt as default
|
|
129
128
|
};
|
|
@@ -2,11 +2,11 @@ import { defineComponent as E, ref as p, onMounted as A, getCurrentInstance as w
|
|
|
2
2
|
import { useRouter as V } from "vue-router";
|
|
3
3
|
import { s as k } from "./index-CGc-CaEO.mjs";
|
|
4
4
|
import { C as u } from "./index-BgbsFf1D.mjs";
|
|
5
|
-
import I from "./pay-
|
|
5
|
+
import I from "./pay-DE3hsH6b.mjs";
|
|
6
6
|
import b from "./payPal-BxEHOKHE.mjs";
|
|
7
|
-
import F from "./trend-
|
|
8
|
-
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import F from "./trend-D__Df_wF.mjs";
|
|
8
|
+
import { _ as O } from "./sale.vue_vue_type_script_setup_true_lang-b-hBu610.mjs";
|
|
9
|
+
import { _ as B } from "./merchant.vue_vue_type_script_setup_true_lang-YDwz4LiM.mjs";
|
|
10
10
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
11
11
|
const q = { class: "app" }, Q = { class: "app-title" }, U = { class: "row-container" }, j = { class: "title" }, z = { class: "tatals" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, W = { class: "text" }, X = { class: "tatal" }, Z = { class: "text" }, tt = { class: "app-title pay-model" }, et = { class: "title taxt_time_laft" }, st = { class: "text_time" }, at = { class: "title taxt_time_laft" }, ot = { class: "text_time" }, nt = { class: "app-title-time" }, lt = { class: "chart-header" }, it = { class: "chart-title" }, rt = { class: "text_time" }, dt = /* @__PURE__ */ E({
|
|
12
12
|
__name: "index",
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { defineComponent as d, ref as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as d, ref as f, resolveComponent as i, createBlock as u, openBlock as r, withCtx as t, createVNode as s, createElementBlock as a, toDisplayString as m, createElementVNode as l, createCommentVNode as h, unref as k, createTextVNode as y } from "vue";
|
|
2
|
+
import g from "./assets/78ba92e6c076bd07.png";
|
|
3
|
+
import N from "./assets/228d0bfe534e0e61.png";
|
|
4
|
+
import b from "./assets/7537a7335bb17b22.png";
|
|
3
5
|
import { tokenExt as x } from "xyvcard-agent";
|
|
4
6
|
import { s as B } from "./index-CGc-CaEO.mjs";
|
|
5
7
|
import { useUserStore as E } from "jmash-core";
|
|
@@ -10,61 +12,61 @@ const C = {
|
|
|
10
12
|
alt: "第一名"
|
|
11
13
|
}, V = {
|
|
12
14
|
key: 1,
|
|
13
|
-
src:
|
|
15
|
+
src: N,
|
|
14
16
|
alt: "第二名"
|
|
15
17
|
}, v = {
|
|
16
18
|
key: 2,
|
|
17
|
-
src:
|
|
19
|
+
src: b,
|
|
18
20
|
alt: "第三名"
|
|
19
|
-
}, D = { key: 3 }, M = { key: 0 },
|
|
21
|
+
}, D = { key: 3 }, M = { key: 0 }, H = /* @__PURE__ */ d({
|
|
20
22
|
__name: "merchant",
|
|
21
23
|
setup(S) {
|
|
22
|
-
const p =
|
|
24
|
+
const p = f([]);
|
|
23
25
|
return B.newMerchant({ tokenExt: x.getTokenExt(E().user.tenant) }).then((_) => {
|
|
24
26
|
p.value = _.data.agentMerchantNumModel;
|
|
25
27
|
}), (_, o) => {
|
|
26
|
-
const
|
|
27
|
-
return
|
|
28
|
+
const n = i("el-table-column"), c = i("el-table");
|
|
29
|
+
return r(), u(c, {
|
|
28
30
|
style: { width: "100%" },
|
|
29
31
|
"show-header": !0,
|
|
30
32
|
"empty-text": "暂无数据",
|
|
31
33
|
data: p.value
|
|
32
34
|
}, {
|
|
33
35
|
default: t(() => [
|
|
34
|
-
n
|
|
36
|
+
s(n, {
|
|
35
37
|
label: "排名",
|
|
36
38
|
width: "100"
|
|
37
39
|
}, {
|
|
38
40
|
header: t(() => o[0] || (o[0] = [
|
|
39
|
-
|
|
41
|
+
l("span", { style: { color: "#f5782d" } }, "排名", -1)
|
|
40
42
|
])),
|
|
41
43
|
default: t(({ $index: e }) => [
|
|
42
|
-
e === 0 ? (
|
|
44
|
+
e === 0 ? (r(), a("img", C)) : e === 1 ? (r(), a("img", V)) : e === 2 ? (r(), a("img", v)) : (r(), a("span", D, m(e + 1), 1))
|
|
43
45
|
]),
|
|
44
46
|
_: 1
|
|
45
47
|
}),
|
|
46
|
-
n
|
|
48
|
+
s(n, {
|
|
47
49
|
prop: "salesName",
|
|
48
50
|
label: "销售人员"
|
|
49
51
|
}, {
|
|
50
52
|
header: t(() => o[1] || (o[1] = [
|
|
51
|
-
|
|
53
|
+
l("span", { style: { color: "#f5782d" } }, "销售人员", -1)
|
|
52
54
|
])),
|
|
53
55
|
default: t(({ row: e }) => [
|
|
54
|
-
e.marketBy ? (
|
|
56
|
+
e.marketBy ? (r(), a("span", M, m(k(w)(e.marketBy)), 1)) : h("", !0)
|
|
55
57
|
]),
|
|
56
58
|
_: 1
|
|
57
59
|
}),
|
|
58
|
-
n
|
|
60
|
+
s(n, {
|
|
59
61
|
prop: "amount",
|
|
60
62
|
label: "交易金额",
|
|
61
63
|
align: "right"
|
|
62
64
|
}, {
|
|
63
65
|
header: t(() => o[2] || (o[2] = [
|
|
64
|
-
|
|
66
|
+
l("span", { style: { color: "#f5782d" } }, "商户", -1)
|
|
65
67
|
])),
|
|
66
68
|
default: t(({ row: e }) => [
|
|
67
|
-
y(
|
|
69
|
+
y(m(e.merchantNum) + "家", 1)
|
|
68
70
|
]),
|
|
69
71
|
_: 1
|
|
70
72
|
})
|
|
@@ -75,5 +77,5 @@ const C = {
|
|
|
75
77
|
}
|
|
76
78
|
});
|
|
77
79
|
export {
|
|
78
|
-
|
|
80
|
+
H as _
|
|
79
81
|
};
|
|
@@ -81,13 +81,13 @@ const z = /* @__PURE__ */ v({
|
|
|
81
81
|
analysisTimeEnd: r.analysisTimeEnd
|
|
82
82
|
});
|
|
83
83
|
for (let t = 0; t < n.data.results.length; t++)
|
|
84
|
-
if (n.data.results[t].merchantId && n.data.results[t].
|
|
84
|
+
if (n.data.results[t].merchantId && n.data.results[t].tradeAmount) {
|
|
85
85
|
const { data: s } = await b.findBusinessName({
|
|
86
86
|
merchantId: n.data.results[t].merchantId
|
|
87
87
|
});
|
|
88
88
|
i.value.push({
|
|
89
89
|
name: s.merchantName,
|
|
90
|
-
value: parseFloat(n.data.results[t].
|
|
90
|
+
value: parseFloat(n.data.results[t].tradeAmount)
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
i.value = i.value.sort((t, s) => s.value - t.value).slice(0, 4), p(), setTimeout(() => {
|
|
@@ -120,7 +120,7 @@ const z = /* @__PURE__ */ v({
|
|
|
120
120
|
class: "chart-container"
|
|
121
121
|
}, null, 512));
|
|
122
122
|
}
|
|
123
|
-
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-
|
|
123
|
+
}), M = /* @__PURE__ */ S(z, [["__scopeId", "data-v-a3c2f023"]]);
|
|
124
124
|
export {
|
|
125
125
|
M as default
|
|
126
126
|
};
|
|
@@ -70,13 +70,13 @@ const x = /* @__PURE__ */ d({
|
|
|
70
70
|
try {
|
|
71
71
|
const a = await _.orderAmount({});
|
|
72
72
|
for (let e = 0; e < a.data.results.length; e++)
|
|
73
|
-
if (a.data.results[e].merchantId && a.data.results[e].
|
|
73
|
+
if (a.data.results[e].merchantId && a.data.results[e].tradeAmount) {
|
|
74
74
|
const { data: o } = await b.findBusinessName({
|
|
75
75
|
merchantId: a.data.results[e].merchantId
|
|
76
76
|
});
|
|
77
77
|
n.value.push({
|
|
78
78
|
name: o.merchantName,
|
|
79
|
-
value: parseFloat(a.data.results[e].
|
|
79
|
+
value: parseFloat(a.data.results[e].tradeAmount)
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
n.value = n.value.sort((e, o) => o.value - e.value).slice(0, 4), u(), setTimeout(() => {
|
|
@@ -100,7 +100,7 @@ const x = /* @__PURE__ */ d({
|
|
|
100
100
|
class: "chart-container"
|
|
101
101
|
}, null, 512));
|
|
102
102
|
}
|
|
103
|
-
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-
|
|
103
|
+
}), $ = /* @__PURE__ */ w(x, [["__scopeId", "data-v-ae62ea6c"]]);
|
|
104
104
|
export {
|
|
105
105
|
$ as default
|
|
106
106
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { defineComponent as c, ref as u, resolveComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as c, ref as u, resolveComponent as i, createBlock as f, openBlock as a, withCtx as t, createVNode as l, createElementBlock as r, toDisplayString as m, createElementVNode as n, createCommentVNode as y, unref as h, createTextVNode as k } from "vue";
|
|
2
|
+
import b from "./assets/78ba92e6c076bd07.png";
|
|
3
|
+
import g from "./assets/228d0bfe534e0e61.png";
|
|
4
|
+
import N from "./assets/7537a7335bb17b22.png";
|
|
3
5
|
import { getUserDisplayName as B } from "xyvcard-merchant";
|
|
4
6
|
import { s as C } from "./index-CGc-CaEO.mjs";
|
|
5
7
|
const V = {
|
|
@@ -14,55 +16,55 @@ const V = {
|
|
|
14
16
|
key: 2,
|
|
15
17
|
src: N,
|
|
16
18
|
alt: "第三名"
|
|
17
|
-
}, A = { key: 3 }, D = { key: 0 },
|
|
19
|
+
}, A = { key: 3 }, D = { key: 0 }, z = /* @__PURE__ */ c({
|
|
18
20
|
__name: "sale",
|
|
19
21
|
setup(x) {
|
|
20
|
-
const
|
|
21
|
-
return C.salesAmount({}).then((
|
|
22
|
-
|
|
23
|
-
}), (
|
|
24
|
-
const
|
|
25
|
-
return a(), f(
|
|
22
|
+
const p = u([]);
|
|
23
|
+
return C.salesAmount({}).then((_) => {
|
|
24
|
+
p.value = _.data.results;
|
|
25
|
+
}), (_, o) => {
|
|
26
|
+
const s = i("el-table-column"), d = i("el-table");
|
|
27
|
+
return a(), f(d, {
|
|
26
28
|
style: { width: "100%" },
|
|
27
29
|
"show-header": !0,
|
|
28
30
|
"empty-text": "暂无数据",
|
|
29
|
-
data:
|
|
31
|
+
data: p.value
|
|
30
32
|
}, {
|
|
31
33
|
default: t(() => [
|
|
32
|
-
|
|
34
|
+
l(s, {
|
|
33
35
|
label: "排名",
|
|
34
36
|
width: "100"
|
|
35
37
|
}, {
|
|
36
38
|
header: t(() => o[0] || (o[0] = [
|
|
37
|
-
|
|
39
|
+
n("span", { style: { color: "#f5782d" } }, "排名", -1)
|
|
38
40
|
])),
|
|
39
41
|
default: t(({ $index: e }) => [
|
|
40
|
-
e === 0 ? (a(),
|
|
42
|
+
e === 0 ? (a(), r("img", V)) : e === 1 ? (a(), r("img", v)) : e === 2 ? (a(), r("img", w)) : (a(), r("span", A, m(e + 1), 1))
|
|
41
43
|
]),
|
|
42
44
|
_: 1
|
|
43
45
|
}),
|
|
44
|
-
|
|
46
|
+
l(s, {
|
|
45
47
|
prop: "salesName",
|
|
46
48
|
label: "销售人员"
|
|
47
49
|
}, {
|
|
48
50
|
header: t(() => o[1] || (o[1] = [
|
|
49
|
-
|
|
51
|
+
n("span", { style: { color: "#f5782d" } }, "销售人员", -1)
|
|
50
52
|
])),
|
|
51
53
|
default: t(({ row: e }) => [
|
|
52
|
-
e.marketBy ? (a(),
|
|
54
|
+
e.marketBy ? (a(), r("span", D, m(h(B)(e.marketBy)), 1)) : y("", !0)
|
|
53
55
|
]),
|
|
54
56
|
_: 1
|
|
55
57
|
}),
|
|
56
|
-
|
|
58
|
+
l(s, {
|
|
57
59
|
prop: "amount",
|
|
58
60
|
label: "交易金额",
|
|
59
61
|
align: "right"
|
|
60
62
|
}, {
|
|
61
63
|
header: t(() => o[2] || (o[2] = [
|
|
62
|
-
|
|
64
|
+
n("span", { style: { color: "#f5782d" } }, "交易金额", -1)
|
|
63
65
|
])),
|
|
64
66
|
default: t(({ row: e }) => [
|
|
65
|
-
k(
|
|
67
|
+
k(m(e.tradeAmount) + "元 ", 1)
|
|
66
68
|
]),
|
|
67
69
|
_: 1
|
|
68
70
|
})
|
|
@@ -73,5 +75,5 @@ const V = {
|
|
|
73
75
|
}
|
|
74
76
|
});
|
|
75
77
|
export {
|
|
76
|
-
|
|
78
|
+
z as _
|
|
77
79
|
};
|