xyvcard-settle 0.0.32 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{history-B7h6umTa.mjs → history-BC3TB9eA.mjs} +1 -1
  2. package/dist/{history-DJpkp996.mjs → history-BUclRbel.mjs} +1 -1
  3. package/dist/history.vue_vue_type_script_setup_true_lang-Cd1HTqlw.mjs +355 -0
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs → history.vue_vue_type_script_setup_true_lang-Ckmyrwct.mjs} +185 -165
  5. package/dist/{index-C7SyVjkv.mjs → index-B81N3bxj.mjs} +8 -8
  6. package/dist/{index-CjnGDPpK.mjs → index-BzQRjJke.mjs} +1 -1
  7. package/dist/index-C4I9aQCw.mjs +238 -0
  8. package/dist/{index-D0TmvQVF.mjs → index-C7mTT8UR.mjs} +144 -124
  9. package/dist/{index-BMu6LbUO.mjs → index-CL6yVyGz.mjs} +283 -263
  10. package/dist/index-CZpZionn.mjs +449 -0
  11. package/dist/{index-DzwVe4IZ.mjs → index-CgthiwpC.mjs} +126 -106
  12. package/dist/{index-BUFIww-v.mjs → index-Cjw03ApZ.mjs} +419 -418
  13. package/dist/{index-zsIaZMNT.mjs → index-D9OMutL6.mjs} +2 -1
  14. package/dist/{index-C2xcDRi4.mjs → index-DcOxpuPI.mjs} +2 -2
  15. package/dist/{index-DTKuEs0C.mjs → index-GU7-SzuX.mjs} +45 -45
  16. package/dist/{index-BeWMoc5O.mjs → index-e2Wzbnr7.mjs} +28 -28
  17. package/dist/{index-DO9NFUT1.mjs → index-ziENx26r.mjs} +287 -266
  18. package/dist/index.mjs +1 -1
  19. package/dist/{merchant-DgUIa-Xb.mjs → merchant-BENZD2R4.mjs} +1 -1
  20. package/dist/{merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.mjs → merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs} +1 -1
  21. package/dist/{pay-ChPqdw_2.mjs → pay-DabqR8eb.mjs} +1 -1
  22. package/dist/{payPal-BaaqnTEd.mjs → payPal-C7Ttt6mf.mjs} +1 -1
  23. package/dist/{sale-DRffAw0b.mjs → sale-Cki0rZ6-.mjs} +1 -1
  24. package/dist/{sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs → sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs} +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/{today-BCH2VB3u.mjs → today-zzTtFFaz.mjs} +1 -1
  27. package/dist/{today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.mjs → today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs} +28 -28
  28. package/dist/{trend-DMpZSOlJ.mjs → trend-3ibJo3lK.mjs} +1 -1
  29. package/dts/src/api/settle/agent-settle/types.d.ts +1 -1
  30. package/dts/src/api/settle/insts-settle/types.d.ts +1 -1
  31. package/dts/src/api/settle/mcht-homePage/types.d.ts +1 -1
  32. package/package.json +11 -11
  33. package/dist/history.vue_vue_type_script_setup_true_lang-fBUUTlwi.mjs +0 -335
  34. package/dist/index-DsIwC6AS.mjs +0 -238
  35. package/dist/index-DwKRJ0NX.mjs +0 -429
@@ -53,7 +53,8 @@ class r {
53
53
  const n = e().user.tenant;
54
54
  return t.tokenExt = o.getTokenExt(e().user.tenant), a(t), s({
55
55
  url: "/v1/merchant/agent/total/" + n,
56
- method: "get"
56
+ method: "get",
57
+ params: t
57
58
  });
58
59
  }
59
60
  }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, ref as p, resolveComponent as s, createElementBlock as i, openBlock as d, createElementVNode as u, createVNode as e, withCtx as n } from "vue";
2
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Ckmyrwct.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -1,97 +1,97 @@
1
- import { defineComponent as A, ref as c, resolveComponent as _, createElementBlock as h, openBlock as y, createElementVNode as t, createVNode as l, withCtx as r, toDisplayString as s, createTextVNode as C } from "vue";
1
+ import { defineComponent as A, ref as _, resolveComponent as c, createElementBlock as h, openBlock as y, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, createTextVNode as C } from "vue";
2
2
  import { useRouter as g } from "vue-router";
3
3
  import { T as D, m as p } from "./trend-iT9IXU1F.mjs";
4
- import { h as x } from "./index-BUFIww-v.mjs";
4
+ import { h as x } from "./index-Cjw03ApZ.mjs";
5
5
  import { t as T } from "./tokenExt-SHK5rrb5.mjs";
6
6
  import { useUserStore as Y } from "jmash-core";
7
- import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- const M = { class: "app" }, k = { class: "app-title" }, E = { class: "row-container" }, N = { class: "tatals" }, b = { class: "tatal" }, w = { class: "text" }, R = { class: "tatal" }, S = { class: "text" }, V = { class: "tatal" }, B = { class: "text" }, I = { class: "tatal" }, P = { class: "text" }, F = { class: "tatals" }, U = { class: "tatal" }, j = { class: "text" }, q = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, J = { class: "text" }, K = { class: "tatal" }, L = { class: "text" }, O = { class: "app-title-time" }, Q = { class: "chart-header" }, W = /* @__PURE__ */ A({
7
+ import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-container" }, E = { class: "tatals" }, N = { class: "tatal" }, w = { class: "text" }, R = { class: "tatal" }, S = { class: "text" }, V = { class: "tatal" }, B = { class: "text" }, I = { class: "tatal" }, P = { class: "text" }, F = { class: "tatals" }, U = { class: "tatal" }, j = { class: "text" }, q = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, J = { class: "text" }, K = { class: "tatal" }, L = { class: "text" }, O = { class: "app-title-time" }, Q = { class: "chart-header" }, W = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  setup(X) {
11
- const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = c({}), n = c({});
11
+ const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
12
12
  (async () => {
13
13
  try {
14
14
  p.homePageAmount({
15
15
  analysisTimeStart: m,
16
16
  analysisTimeEnd: m
17
- }).then((o) => {
17
+ }).then((s) => {
18
18
  n.value = {
19
- orderCount: o.data.orderCount,
20
- orderAmount: o.data.orderAmount,
21
- feeAmt: o.data.feeAmt,
22
- settleAmount: o.data.settleAmount
19
+ orderCount: s.data.orderCount,
20
+ tradeAmount: s.data.tradeAmount,
21
+ feeAmt: s.data.feeAmt,
22
+ settleAmount: s.data.settleAmount
23
23
  };
24
24
  }), p.homePageAmount({
25
25
  analysisTimeStart: u,
26
26
  analysisTimeEnd: u
27
- }).then((o) => {
27
+ }).then((s) => {
28
28
  a.value = {
29
- orderCount: o.data.orderCount,
30
- orderAmount: o.data.orderAmount,
31
- feeAmt: o.data.feeAmt,
32
- settleAmount: o.data.settleAmount
29
+ orderCount: s.data.orderCount,
30
+ tradeAmount: s.data.tradeAmount,
31
+ feeAmt: s.data.feeAmt,
32
+ settleAmount: s.data.settleAmount
33
33
  };
34
34
  });
35
- } catch (o) {
36
- console.error("暂无数据", o);
35
+ } catch (s) {
36
+ console.error("暂无数据", s);
37
37
  }
38
38
  })();
39
- const f = () => {
40
- const o = T.getCurrentRole(Y().user.tenant);
41
- ["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(o.storeType) ? i.push({
39
+ const v = () => {
40
+ const s = T.getCurrentRole(Y().user.tenant);
41
+ ["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(s.storeType) ? i.push({
42
42
  path: "/payment/pay-trade"
43
43
  }) : i.push({
44
44
  path: "/payment/pay-trade-personal"
45
45
  });
46
46
  };
47
- return (o, e) => {
48
- const d = _("el-card"), v = _("el-button");
47
+ return (s, e) => {
48
+ const r = c("el-card"), f = c("el-button");
49
49
  return y(), h("div", null, [
50
- t("div", M, [
51
- t("div", k, [
52
- t("div", E, [
53
- l(d, { class: "card-never" }, {
54
- default: r(() => [
50
+ t("div", H, [
51
+ t("div", M, [
52
+ t("div", k, [
53
+ l(r, { class: "card-never" }, {
54
+ default: d(() => [
55
55
  e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
56
- t("div", N, [
57
- t("div", b, [
58
- t("text", w, s(a.value.orderCount || 0), 1),
56
+ t("div", E, [
57
+ t("div", N, [
58
+ t("text", w, o(a.value.orderCount || 0), 1),
59
59
  e[0] || (e[0] = t("text", null, "交易笔数", -1))
60
60
  ]),
61
61
  t("div", R, [
62
- t("text", S, s(a.value.orderAmount || 0), 1),
62
+ t("text", S, o(a.value.tradeAmount || 0), 1),
63
63
  e[1] || (e[1] = t("text", null, " 交易金额", -1))
64
64
  ]),
65
65
  t("div", V, [
66
- t("text", B, s(a.value.feeAmt || 0), 1),
66
+ t("text", B, o(a.value.feeAmt || 0), 1),
67
67
  e[2] || (e[2] = t("text", null, " 手续费", -1))
68
68
  ]),
69
69
  t("div", I, [
70
- t("text", P, s(a.value.settleAmount || "暂无结算"), 1),
70
+ t("text", P, o(a.value.settleAmount || "暂无结算"), 1),
71
71
  e[3] || (e[3] = t("text", null, " 结算金额", -1))
72
72
  ])
73
73
  ])
74
74
  ]),
75
75
  _: 1
76
76
  }),
77
- l(d, { class: "card-never" }, {
78
- default: r(() => [
77
+ l(r, { class: "card-never" }, {
78
+ default: d(() => [
79
79
  e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
80
80
  t("div", F, [
81
81
  t("div", U, [
82
- t("text", j, s(n.value.orderCount || 0), 1),
82
+ t("text", j, o(n.value.orderCount || 0), 1),
83
83
  e[5] || (e[5] = t("text", null, "交易笔数", -1))
84
84
  ]),
85
85
  t("div", q, [
86
- t("text", z, s(n.value.orderAmount || 0), 1),
86
+ t("text", z, o(n.value.tradeAmount || 0), 1),
87
87
  e[6] || (e[6] = t("text", null, " 交易金额", -1))
88
88
  ]),
89
89
  t("div", G, [
90
- t("text", J, s(n.value.feeAmt || 0), 1),
90
+ t("text", J, o(n.value.feeAmt || 0), 1),
91
91
  e[7] || (e[7] = t("text", null, " 手续费", -1))
92
92
  ]),
93
93
  t("div", K, [
94
- t("text", L, s(n.value.settleAmount || "暂无结算"), 1),
94
+ t("text", L, o(n.value.settleAmount || "暂无结算"), 1),
95
95
  e[8] || (e[8] = t("text", null, " 结算金额", -1))
96
96
  ])
97
97
  ])
@@ -102,16 +102,16 @@ const M = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
102
102
  ])
103
103
  ]),
104
104
  t("div", O, [
105
- l(d, { class: "card-chart" }, {
106
- default: r(() => [
105
+ l(r, { class: "card-chart" }, {
106
+ default: d(() => [
107
107
  t("div", Q, [
108
108
  e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势   ", -1)),
109
- l(v, {
109
+ l(f, {
110
110
  type: "primary",
111
111
  link: "",
112
- onClick: f
112
+ onClick: v
113
113
  }, {
114
- default: r(() => e[10] || (e[10] = [
114
+ default: d(() => e[10] || (e[10] = [
115
115
  C(" 查看更多 ")
116
116
  ])),
117
117
  _: 1
@@ -125,7 +125,7 @@ const M = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
125
125
  ]);
126
126
  };
127
127
  }
128
- }), lt = /* @__PURE__ */ H(W, [["__scopeId", "data-v-cff3a844"]]);
128
+ }), lt = /* @__PURE__ */ b(W, [["__scopeId", "data-v-7b7b80a2"]]);
129
129
  export {
130
130
  lt as default
131
131
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as a, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
1
+ import { defineComponent as M, getCurrentInstance as A, ref as p, onMounted as T, resolveComponent as u, createElementBlock as w, openBlock as P, createElementVNode as e, createVNode as s, withCtx as n, toDisplayString as d, createTextVNode as _ } from "vue";
2
2
  import { useRouter as V } from "vue-router";
3
3
  import { s as k } from "./index-eUhFgNKx.mjs";
4
4
  import E from "./pay-CFNzmo6x.mjs";
5
- import S from "./payPal-J41FJEQT.mjs";
6
- import b from "./trend-D8pStiQ5.mjs";
5
+ import b from "./payPal-J41FJEQT.mjs";
6
+ import S from "./trend-D8pStiQ5.mjs";
7
7
  import { C as N } from "./index-CxsNyMdg.mjs";
8
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
9
  const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" }, F = { class: "tatals" }, O = { class: "tatal" }, Q = { class: "text" }, U = { class: "tatal" }, $ = { class: "text" }, j = { class: "tatal" }, z = { class: "text" }, G = { class: "tatal" }, H = { class: "text" }, J = { class: "app-title" }, K = { class: "app-title-time" }, L = { class: "chart-header" }, W = /* @__PURE__ */ M({
@@ -12,27 +12,27 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
12
12
  const D = V(), { proxy: y } = A(), m = p({
13
13
  analysisTimeStart: "",
14
14
  analysisTimeEnd: ""
15
- }), o = p({}), l = p([]), r = (s, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(s, t), v = () => {
16
- const s = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
17
- t.setDate(s.getDate() - 6), l.value = [
15
+ }), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
16
+ const a = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
17
+ t.setDate(a.getDate() - 6), l.value = [
18
18
  r(t, "YYYY-MM-DD"),
19
- r(s, "YYYY-MM-DD")
20
- ], x(t, s), f();
21
- }, x = (s, t) => {
19
+ r(a, "YYYY-MM-DD")
20
+ ], x(t, a), f();
21
+ }, x = (a, t) => {
22
22
  m.value = {
23
- analysisTimeStart: r(s),
23
+ analysisTimeStart: r(a),
24
24
  analysisTimeEnd: r(t)
25
25
  };
26
26
  }, f = async () => {
27
- const s = await k.homePageAmount(m.value);
28
- o.value = s.data;
29
- }, Y = (s) => {
30
- if (!s || s.length !== 2) {
27
+ const a = await k.homePageAmount(m.value);
28
+ o.value = a.data;
29
+ }, Y = (a) => {
30
+ if (!a || a.length !== 2) {
31
31
  v();
32
32
  return;
33
33
  }
34
- l.value = s;
35
- const [t, c] = s;
34
+ l.value = a;
35
+ const [t, c] = a;
36
36
  m.value = {
37
37
  analysisTimeStart: t,
38
38
  analysisTimeEnd: c
@@ -46,16 +46,16 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
46
46
  path: "/payment/pay-trade"
47
47
  });
48
48
  };
49
- return (s, t) => {
49
+ return (a, t) => {
50
50
  const c = u("el-date-picker"), i = u("el-card"), g = u("el-button");
51
51
  return P(), w("div", null, [
52
52
  e("div", B, [
53
53
  e("div", I, [
54
- a(i, { class: "card-never" }, {
54
+ s(i, { class: "card-never" }, {
55
55
  default: n(() => [
56
56
  e("div", q, [
57
57
  t[1] || (t[1] = e("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
58
- a(c, {
58
+ s(c, {
59
59
  modelValue: l.value,
60
60
  "onUpdate:modelValue": t[0] || (t[0] = (C) => l.value = C),
61
61
  type: "daterange",
@@ -73,7 +73,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
73
73
  t[2] || (t[2] = e("text", null, "交易笔数", -1))
74
74
  ]),
75
75
  e("div", U, [
76
- e("text", $, d(o.value.orderAmount || 0), 1),
76
+ e("text", $, d(o.value.tradeAmount || 0), 1),
77
77
  t[3] || (t[3] = e("text", null, " 交易金额", -1))
78
78
  ]),
79
79
  e("div", j, [
@@ -88,36 +88,36 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
88
88
  ]),
89
89
  _: 1
90
90
  }),
91
- a(i, { class: "card-never card-paypal" }, {
91
+ s(i, { class: "card-never card-paypal" }, {
92
92
  default: n(() => [
93
93
  t[6] || (t[6] = e("div", { class: "title" }, "近7日汇总-支付方式", -1)),
94
- a(S, { class: "pay" })
94
+ s(b, { class: "pay" })
95
95
  ]),
96
96
  _: 1
97
97
  })
98
98
  ]),
99
99
  e("div", J, [
100
- a(i, { class: "card-number" }, {
100
+ s(i, { class: "card-number" }, {
101
101
  default: n(() => [
102
102
  t[7] || (t[7] = e("div", { class: "title" }, [
103
103
  _(" 交易金额排名 "),
104
104
  e("span", { style: { "font-weight": "normal" } }, "(近7日)")
105
105
  ], -1)),
106
- a(E)
106
+ s(E)
107
107
  ]),
108
108
  _: 1
109
109
  })
110
110
  ])
111
111
  ]),
112
112
  e("div", K, [
113
- a(i, { class: "card-chart" }, {
113
+ s(i, { class: "card-chart" }, {
114
114
  default: n(() => [
115
115
  e("div", L, [
116
116
  t[9] || (t[9] = e("span", { class: "chart-title" }, [
117
117
  _(" 交易金额趋势 "),
118
118
  e("span", { style: { "font-weight": "normal" } }, " (近7日) ")
119
119
  ], -1)),
120
- a(g, {
120
+ s(g, {
121
121
  type: "text",
122
122
  class: "view-more",
123
123
  onClick: h
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
128
128
  _: 1
129
129
  })
130
130
  ]),
131
- a(b)
131
+ s(S)
132
132
  ]),
133
133
  _: 1
134
134
  })
@@ -136,7 +136,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
136
136
  ]);
137
137
  };
138
138
  }
139
- }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-173566e6"]]);
139
+ }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-910b68c5"]]);
140
140
  export {
141
141
  rt as default
142
142
  };