xyvcard-settle 0.0.36 → 0.0.37

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 (33) hide show
  1. package/dist/{history-B-IkqJIh.mjs → history-DppKTWsM.mjs} +1 -1
  2. package/dist/{history-Bwh8KkP3.mjs → history-Dv2zWu7t.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs → history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs} +3 -4
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs → history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs} +3 -4
  5. package/dist/{index-DIBoxi0R.mjs → index-B1T6GA_X.mjs} +4 -5
  6. package/dist/{index-BTklOG4u.mjs → index-B33Q3ZQC.mjs} +42 -45
  7. package/dist/{index-2s-MEXAI.mjs → index-B7xd6ock.mjs} +2 -2
  8. package/dist/{index-CoFF2Ob7.mjs → index-B81N3bxj.mjs} +8 -8
  9. package/dist/{index-7mx7BVcy.mjs → index-BFHiB7kP.mjs} +161 -163
  10. package/dist/{index-C4I9aQCw.mjs → index-BS-eL0Z5.mjs} +1 -1
  11. package/dist/{index-cRii9rLo.mjs → index-BV7Yx1ZN.mjs} +3 -4
  12. package/dist/{index-CkZwAxic.mjs → index-CTi-ETJs.mjs} +4 -5
  13. package/dist/index-CxsNyMdg.mjs +110 -0
  14. package/dist/{index-Dd8mEaP-.mjs → index-DHS0CvTn.mjs} +4 -5
  15. package/dist/{index-DALnGGtE.mjs → index-Zo3QX_fX.mjs} +2 -2
  16. package/dist/{index-CIgkwH9Q.mjs → index-e2Wzbnr7.mjs} +18 -18
  17. package/dist/{index-DcFBsML4.mjs → index-hDvYrxNX.mjs} +7 -8
  18. package/dist/index.mjs +1 -1
  19. package/dist/{pay-Cbkrx0kF.mjs → pay-CFNzmo6x.mjs} +1 -1
  20. package/dist/{pay-B83bWp1o.mjs → pay-DabqR8eb.mjs} +1 -1
  21. package/dist/{payPal-CxeWojgW.mjs → payPal-C7Ttt6mf.mjs} +6 -7
  22. package/dist/{payPal-CSXQDwtc.mjs → payPal-J41FJEQT.mjs} +14 -15
  23. package/dist/style.css +1 -1
  24. package/dist/{today-D-CvVI4s.mjs → today-A4CUV61Z.mjs} +1 -1
  25. package/dist/{today-fC0tD5z6.mjs → today-zzTtFFaz.mjs} +1 -1
  26. package/dist/{today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs → today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs} +26 -26
  27. package/dist/{today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs → today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs} +1 -1
  28. package/dist/{trend-BrSUujKu.mjs → trend-D8pStiQ5.mjs} +1 -1
  29. package/dist/{trend-C4uCFrLb.mjs → trend-iT9IXU1F.mjs} +1 -1
  30. package/dts/src/constant.d.ts +0 -2
  31. package/package.json +62 -62
  32. package/dist/constant-D4ZF_7dk.mjs +0 -24
  33. package/dist/index-vAEKctTI.mjs +0 -92
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,8 +3,7 @@ import { useI18n as ae } from "vue-i18n";
3
3
  import { useRoute as le } from "vue-router";
4
4
  import { useUserStore as _, clearEmpty as ne, request as oe, useTableHooks as re } from "jmash-core";
5
5
  import { tokenExt as z } from "xyvcard-agent";
6
- import { C as j } from "./constant-D4ZF_7dk.mjs";
7
- import { D as T } from "./index-vAEKctTI.mjs";
6
+ import { D as T, C as j } from "./index-CxsNyMdg.mjs";
8
7
  class se {
9
8
  getKey(g) {
10
9
  return {
@@ -21,7 +20,7 @@ class se {
21
20
  });
22
21
  }
23
22
  }
24
- const de = new se(), ue = { class: "app-container" }, be = /* @__PURE__ */ Z({
23
+ const de = new se(), ue = { class: "app-container" }, ge = /* @__PURE__ */ Z({
25
24
  __name: "history",
26
25
  setup(B) {
27
26
  const { t: g } = ae();
@@ -451,5 +450,5 @@ const de = new se(), ue = { class: "app-container" }, be = /* @__PURE__ */ Z({
451
450
  }
452
451
  });
453
452
  export {
454
- be as _
453
+ ge as _
455
454
  };
@@ -3,8 +3,7 @@ import { useI18n as ae } from "vue-i18n";
3
3
  import { useUserStore as v, clearEmpty as le, request as ne, useTableHooks as oe } from "jmash-core";
4
4
  import { channelApi as re } from "xyvcard-merchant";
5
5
  import { tokenExt as V } from "xyvcard-agent";
6
- import { D as T } from "./index-vAEKctTI.mjs";
7
- import { C as N } from "./constant-D4ZF_7dk.mjs";
6
+ import { D as T, C as N } from "./index-CxsNyMdg.mjs";
8
7
  class se {
9
8
  getKey(d) {
10
9
  return {
@@ -21,7 +20,7 @@ class se {
21
20
  });
22
21
  }
23
22
  }
24
- const ue = new se(), de = { class: "app-container" }, pe = { key: 0 }, ie = { key: 1 }, he = /* @__PURE__ */ W({
23
+ const ue = new se(), de = { class: "app-container" }, pe = { key: 0 }, ie = { key: 1 }, be = /* @__PURE__ */ W({
25
24
  __name: "history",
26
25
  setup($) {
27
26
  const { t: d } = ae();
@@ -339,5 +338,5 @@ const ue = new se(), de = { class: "app-container" }, pe = { key: 0 }, ie = { ke
339
338
  }
340
339
  });
341
340
  export {
342
- he as _
341
+ be as _
343
342
  };
@@ -3,8 +3,7 @@ import { useRoute as ie, useRouter as me } from "vue-router";
3
3
  import { useI18n as pe } from "vue-i18n";
4
4
  import { useUserStore as R, clearEmpty as ye, request as fe, useTableHooks as ce } from "jmash-core";
5
5
  import { tokenExt as Q } from "xyvcard-agent";
6
- import { D as f } from "./index-vAEKctTI.mjs";
7
- import { C as Y } from "./constant-D4ZF_7dk.mjs";
6
+ import { D as f, C as Y } from "./index-CxsNyMdg.mjs";
8
7
  class be {
9
8
  getKey(T) {
10
9
  return {
@@ -22,7 +21,7 @@ class be {
22
21
  });
23
22
  }
24
23
  }
25
- const Te = new be(), ge = { class: "app-container" }, ve = { 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"], ze = /* @__PURE__ */ oe({
24
+ const Te = new be(), ge = { class: "app-container" }, ve = { 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__ */ oe({
26
25
  __name: "index",
27
26
  setup(j) {
28
27
  const { t: T } = pe();
@@ -573,7 +572,7 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
573
572
  }, [
574
573
  r(i(a.$t("settleTradeAnalysis.view")), 1)
575
574
  ], 8, ke)), [
576
- [ne, ["payment:trade_analysis:view"]]
575
+ [ne, ["settle:settle_trade_analysis:view"]]
577
576
  ])
578
577
  ]),
579
578
  _: 2
@@ -601,5 +600,5 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
601
600
  }
602
601
  });
603
602
  export {
604
- ze as default
603
+ Se as default
605
604
  };
@@ -1,15 +1,14 @@
1
- import { defineComponent as h, ref as _, resolveComponent as c, createElementBlock as y, openBlock as C, createElementVNode as t, createVNode as l, withCtx as d, toDisplayString as o, createTextVNode as g } from "vue";
2
- import { useRouter as D } from "vue-router";
3
- import { T, m as p } from "./trend-C4uCFrLb.mjs";
4
- import { t as Y } from "./tokenExt-SHK5rrb5.mjs";
5
- import { useUserStore as H } from "jmash-core";
6
- import { h as x } from "./index-DcFBsML4.mjs";
7
- import { C as f } from "./constant-D4ZF_7dk.mjs";
8
- import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-container" }, N = { class: "tatals" }, w = { class: "tatal" }, R = { class: "text" }, S = { class: "tatal" }, V = { class: "text" }, B = { class: "tatal" }, I = { class: "text" }, P = { class: "tatal" }, F = { class: "text" }, U = { class: "tatals" }, j = { class: "tatal" }, q = { class: "text" }, z = { class: "tatal" }, G = { class: "text" }, J = { class: "tatal" }, K = { class: "text" }, L = { class: "tatal" }, O = { class: "text" }, Q = { class: "app-title-time" }, W = { class: "chart-header" }, X = /* @__PURE__ */ h({
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
+ import { useRouter as g } from "vue-router";
3
+ import { T as D, m as p } from "./trend-iT9IXU1F.mjs";
4
+ import { h as x } from "./index-hDvYrxNX.mjs";
5
+ import { t as T } from "./tokenExt-SHK5rrb5.mjs";
6
+ import { useUserStore as Y } from "jmash-core";
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({
10
9
  __name: "index",
11
- setup(Z) {
12
- const i = D(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
10
+ setup(X) {
11
+ const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
13
12
  (async () => {
14
13
  try {
15
14
  p.homePageAmount({
@@ -38,39 +37,37 @@ const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
38
37
  }
39
38
  })();
40
39
  const v = () => {
41
- const s = Y.getCurrentRole(H().user.tenant);
42
- [f.MCHT_CHAIN_HEAD, f.MCHT_CHAIN_BRANCH].includes(
43
- s.storeType
44
- ) ? i.push({
40
+ const s = T.getCurrentRole(Y().user.tenant);
41
+ ["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(s.storeType) ? i.push({
45
42
  path: "/payment/pay-trade"
46
43
  }) : i.push({
47
44
  path: "/payment/pay-trade-personal"
48
45
  });
49
46
  };
50
47
  return (s, e) => {
51
- const r = c("el-card"), A = c("el-button");
52
- return C(), y("div", null, [
53
- t("div", b, [
54
- t("div", k, [
55
- t("div", E, [
48
+ const r = c("el-card"), f = c("el-button");
49
+ return y(), h("div", null, [
50
+ t("div", H, [
51
+ t("div", M, [
52
+ t("div", k, [
56
53
  l(r, { class: "card-never" }, {
57
54
  default: d(() => [
58
55
  e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
59
- t("div", N, [
60
- t("div", w, [
61
- t("text", R, o(a.value.orderCount || 0), 1),
56
+ t("div", E, [
57
+ t("div", N, [
58
+ t("text", w, o(a.value.orderCount || 0), 1),
62
59
  e[0] || (e[0] = t("text", null, "交易笔数", -1))
63
60
  ]),
64
- t("div", S, [
65
- t("text", V, o(a.value.tradeAmount || 0), 1),
61
+ t("div", R, [
62
+ t("text", S, o(a.value.tradeAmount || 0), 1),
66
63
  e[1] || (e[1] = t("text", null, " 交易金额", -1))
67
64
  ]),
68
- t("div", B, [
69
- t("text", I, o(a.value.feeAmt || 0), 1),
65
+ t("div", V, [
66
+ t("text", B, o(a.value.feeAmt || 0), 1),
70
67
  e[2] || (e[2] = t("text", null, " 手续费", -1))
71
68
  ]),
72
- t("div", P, [
73
- t("text", F, o(a.value.settleAmount || "暂无结算"), 1),
69
+ t("div", I, [
70
+ t("text", P, o(a.value.settleAmount || "暂无结算"), 1),
74
71
  e[3] || (e[3] = t("text", null, " 结算金额", -1))
75
72
  ])
76
73
  ])
@@ -80,21 +77,21 @@ const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
80
77
  l(r, { class: "card-never" }, {
81
78
  default: d(() => [
82
79
  e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
83
- t("div", U, [
84
- t("div", j, [
85
- t("text", q, o(n.value.orderCount || 0), 1),
80
+ t("div", F, [
81
+ t("div", U, [
82
+ t("text", j, o(n.value.orderCount || 0), 1),
86
83
  e[5] || (e[5] = t("text", null, "交易笔数", -1))
87
84
  ]),
88
- t("div", z, [
89
- t("text", G, o(n.value.tradeAmount || 0), 1),
85
+ t("div", q, [
86
+ t("text", z, o(n.value.tradeAmount || 0), 1),
90
87
  e[6] || (e[6] = t("text", null, " 交易金额", -1))
91
88
  ]),
92
- t("div", J, [
93
- t("text", K, o(n.value.feeAmt || 0), 1),
89
+ t("div", G, [
90
+ t("text", J, o(n.value.feeAmt || 0), 1),
94
91
  e[7] || (e[7] = t("text", null, " 手续费", -1))
95
92
  ]),
96
- t("div", L, [
97
- t("text", O, o(n.value.settleAmount || "暂无结算"), 1),
93
+ t("div", K, [
94
+ t("text", L, o(n.value.settleAmount || "暂无结算"), 1),
98
95
  e[8] || (e[8] = t("text", null, " 结算金额", -1))
99
96
  ])
100
97
  ])
@@ -104,23 +101,23 @@ const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
104
101
  ])
105
102
  ])
106
103
  ]),
107
- t("div", Q, [
104
+ t("div", O, [
108
105
  l(r, { class: "card-chart" }, {
109
106
  default: d(() => [
110
- t("div", W, [
107
+ t("div", Q, [
111
108
  e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势   ", -1)),
112
- l(A, {
109
+ l(f, {
113
110
  type: "primary",
114
111
  link: "",
115
112
  onClick: v
116
113
  }, {
117
114
  default: d(() => e[10] || (e[10] = [
118
- g(" 查看更多 ")
115
+ C(" 查看更多 ")
119
116
  ])),
120
117
  _: 1
121
118
  })
122
119
  ]),
123
- l(T)
120
+ l(D)
124
121
  ]),
125
122
  _: 1
126
123
  })
@@ -128,7 +125,7 @@ const b = { class: "app" }, k = { class: "app-title" }, E = { class: "row-contai
128
125
  ]);
129
126
  };
130
127
  }
131
- }), rt = /* @__PURE__ */ M(X, [["__scopeId", "data-v-aa61a81b"]]);
128
+ }), lt = /* @__PURE__ */ b(W, [["__scopeId", "data-v-7b7b80a2"]]);
132
129
  export {
133
- rt as default
130
+ lt as default
134
131
  };
@@ -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-BVjasG18.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-CtVDXjpp.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,12 +1,12 @@
1
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
2
  import { useRouter as R } from "vue-router";
3
3
  import { s as w } from "./index-D9OMutL6.mjs";
4
- import { C as p } from "./constant-D4ZF_7dk.mjs";
5
- import P from "./pay-B83bWp1o.mjs";
6
- import S from "./payPal-CxeWojgW.mjs";
4
+ import { C as p } from "./index-CxsNyMdg.mjs";
5
+ import P from "./pay-DabqR8eb.mjs";
6
+ import S from "./payPal-C7Ttt6mf.mjs";
7
7
  import V from "./trend-3ibJo3lK.mjs";
8
- import { _ as b } from "./sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs";
9
- import { _ as I } from "./merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs";
8
+ import { _ as I } from "./sale.vue_vue_type_script_setup_true_lang-C1gJAEgg.mjs";
9
+ import { _ as b } from "./merchant.vue_vue_type_script_setup_true_lang-BH_Fe-pn.mjs";
10
10
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
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
12
  __name: "index",
@@ -127,7 +127,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
127
127
  e[8] || (e[8] = _(" 销售人员交易金额排名   ")),
128
128
  t("span", tt, o(r.value), 1)
129
129
  ]),
130
- a(b)
130
+ a(I)
131
131
  ]),
132
132
  _: 1
133
133
  }),
@@ -137,7 +137,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
137
137
  e[9] || (e[9] = _(" 销售人员新增商户排名   ")),
138
138
  t("span", st, o(r.value), 1)
139
139
  ]),
140
- a(I)
140
+ a(b)
141
141
  ]),
142
142
  _: 1
143
143
  })
@@ -170,7 +170,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
170
170
  ]);
171
171
  };
172
172
  }
173
- }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-179adefb"]]);
173
+ }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-c65dcf0a"]]);
174
174
  export {
175
175
  Dt as default
176
176
  };