xyvcard-settle 0.0.40 → 0.0.42

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-CKm40RN0.mjs → history-Bjxjxy_1.mjs} +1 -1
  2. package/dist/{history-Uv5wF8tp.mjs → history-CyGeajMX.mjs} +1 -1
  3. package/dist/history.vue_vue_type_script_setup_true_lang-DzyW9ohx.mjs +378 -0
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-BlBHinps.mjs → history.vue_vue_type_script_setup_true_lang-dd7Qrf3A.mjs} +111 -127
  5. package/dist/index copy-BMOSe9EZ.mjs +287 -0
  6. package/dist/{index-GI8dQtIV.mjs → index-BA1OfmNb.mjs} +1 -1
  7. package/dist/{index-Ce1JIAp_.mjs → index-BMj5XmMX.mjs} +266 -282
  8. package/dist/{index-DISA5kjA.mjs → index-BpcmzxBU.mjs} +55 -53
  9. package/dist/{index-QIqV4ldo.mjs → index-C-A0Y3EK.mjs} +143 -159
  10. package/dist/index-C6Tt7EGW.mjs +726 -0
  11. package/dist/index-CGyzqfPx.mjs +541 -0
  12. package/dist/index-Csk-TNBj.mjs +313 -0
  13. package/dist/index-Doq8ZiUn.mjs +136 -0
  14. package/dist/{index-BAU8_bL5.mjs → index-DsTHP6ez.mjs} +66 -64
  15. package/dist/{index-BXr-5-X_.mjs → index-I-KFULpq.mjs} +426 -423
  16. package/dist/{index-BF180-Dc.mjs → index-vIbGxvHd.mjs} +2 -2
  17. package/dist/index-x556wvD_.mjs +588 -0
  18. package/dist/index.mjs +1 -1
  19. package/dist/pay-BK10dbR-.mjs +121 -0
  20. package/dist/payPal-C5Hhq3pQ.mjs +118 -0
  21. package/dist/qrcode-success-RhATc5cS.mjs +5 -0
  22. package/dist/style.css +1 -1
  23. package/dist/{today-BBWMuUFc.mjs → today-DYd5N03E.mjs} +1 -1
  24. package/dist/{today.vue_vue_type_script_setup_true_lang-CmzDkIbs.mjs → today.vue_vue_type_script_setup_true_lang-D2JX696c.mjs} +8 -8
  25. package/dts/src/utils/timePlugin.d.ts +1 -0
  26. package/dts/src/views/payment/instsLogin/index copy.vue.d.ts +2 -0
  27. package/package.json +62 -62
  28. package/dist/history.vue_vue_type_script_setup_true_lang-Dj7A2_XH.mjs +0 -457
  29. package/dist/index-BOYpCJFd.mjs +0 -756
  30. package/dist/index-BS-eL0Z5.mjs +0 -238
  31. package/dist/index-CAOauGAU.mjs +0 -605
  32. package/dist/index-Che5xN0z.mjs +0 -603
  33. package/dist/index-Cqpx7sK8.mjs +0 -134
  34. package/dist/pay-ddopuD-7.mjs +0 -98
  35. package/dist/payPal-Bp_Ivr7P.mjs +0 -110
@@ -1,27 +1,27 @@
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-D9OMutL6.mjs";
4
- import { C as p } from "./constant-CtDv38CM.mjs";
5
- import P from "./pay-D04R69xf.mjs";
6
- import S from "./payPal-Bfu4en0b.mjs";
7
- import V from "./trend-3ibJo3lK.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
- 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({
1
+ import { defineComponent as E, ref as p, onMounted as A, getCurrentInstance as w, resolveComponent as v, resolveDirective as P, createElementBlock as $, openBlock as y, createElementVNode as t, createVNode as a, withCtx as n, toDisplayString as o, createTextVNode as _, withDirectives as R, createBlock as S } from "vue";
2
+ import { useRouter as V } from "vue-router";
3
+ import { s as k } from "./index-D9OMutL6.mjs";
4
+ import { C as u } from "./constant-CtDv38CM.mjs";
5
+ import I from "./pay-D04R69xf.mjs";
6
+ import b from "./payPal-Bfu4en0b.mjs";
7
+ import F from "./trend-3ibJo3lK.mjs";
8
+ import { _ as O } 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
+ import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
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: "title taxt_time_laft" }, lt = { class: "text_time" }, it = { class: "app-title-time" }, rt = { class: "chart-header" }, dt = { class: "chart-title" }, mt = { class: "text_time" }, _t = /* @__PURE__ */ E({
12
12
  __name: "index",
13
- setup(rt) {
14
- const y = R(), r = u("");
15
- C(() => {
13
+ setup(ct) {
14
+ const D = V(), r = p("");
15
+ A(() => {
16
16
  const s = /* @__PURE__ */ new Date();
17
17
  r.value = `${s.getFullYear()}年${(s.getMonth() + 1).toString().padStart(2, "0")}月`, x();
18
18
  });
19
- const { proxy: l } = E(), c = u({
19
+ const { proxy: l } = w(), c = p({
20
20
  analysisTimeStart: "",
21
21
  analysisTimeEnd: ""
22
- }), d = u({});
23
- function v() {
24
- w.homePageAmount({
22
+ }), d = p({});
23
+ function f() {
24
+ k.homePageAmount({
25
25
  analysisTimeStart: c.value.analysisTimeStart,
26
26
  analysisTimeEnd: c.value.analysisTimeEnd
27
27
  }).then((s) => {
@@ -36,65 +36,65 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
36
36
  ], c.value = {
37
37
  analysisTimeStart: l.$moment.formatDate(
38
38
  e,
39
- p.RPC_FORMAT_TIME
39
+ u.RPC_FORMAT_TIME
40
40
  ),
41
- analysisTimeEnd: l.$moment.formatDate(s, p.RPC_FORMAT_TIME)
42
- }, v();
43
- }, m = u([]);
44
- function D(s) {
41
+ analysisTimeEnd: l.$moment.formatDate(s, u.RPC_FORMAT_TIME)
42
+ }, f();
43
+ }, m = p([]);
44
+ function h(s) {
45
45
  m.value = s, !s || s.length !== 2 ? x() : (m.value = s, c.value = {
46
46
  analysisTimeStart: l.$moment.formatDate(
47
47
  s[0],
48
- p.RPC_FORMAT_TIME
48
+ u.RPC_FORMAT_TIME
49
49
  ),
50
50
  analysisTimeEnd: l.$moment.formatDate(
51
51
  s[1],
52
- p.RPC_FORMAT_TIME
52
+ u.RPC_FORMAT_TIME
53
53
  )
54
- }), v();
54
+ }), f();
55
55
  }
56
56
  const M = () => {
57
- y.push({
57
+ D.push({
58
58
  path: "/payment/pay-trade"
59
59
  });
60
60
  };
61
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, [
62
+ const T = v("el-date-picker"), i = v("el-card"), Y = v("el-button"), g = P("hasPerm");
63
+ return y(), $("div", null, [
64
+ t("div", q, [
65
+ t("div", Q, [
66
+ t("div", U, [
67
67
  a(i, { class: "card-never" }, {
68
68
  default: n(() => [
69
- t("div", B, [
69
+ t("div", j, [
70
70
  e[1] || (e[1] = t("span", { style: { "margin-right": "25%" } }, "交易数据看板", -1)),
71
71
  a(T, {
72
72
  modelValue: m.value,
73
- "onUpdate:modelValue": e[0] || (e[0] = (Y) => m.value = Y),
73
+ "onUpdate:modelValue": e[0] || (e[0] = (C) => m.value = C),
74
74
  type: "daterange",
75
75
  "range-separator": "-",
76
76
  "start-placeholder": "开始日期",
77
77
  "end-placeholder": "结束日期",
78
78
  "value-format": "YYYY-MM-DD",
79
79
  format: "YYYY-MM-DD",
80
- onChange: D
80
+ onChange: h
81
81
  }, null, 8, ["modelValue"])
82
82
  ]),
83
- t("div", q, [
84
- t("div", Q, [
85
- t("text", U, o(d.value.orderCount || 0), 1),
83
+ t("div", z, [
84
+ t("div", G, [
85
+ t("text", H, o(d.value.orderCount || 0), 1),
86
86
  e[2] || (e[2] = t("text", null, "交易笔数", -1))
87
87
  ]),
88
- t("div", j, [
89
- t("text", z, o(d.value.tradeAmount || 0), 1),
88
+ t("div", J, [
89
+ t("text", K, o(d.value.tradeAmount || 0), 1),
90
90
  e[3] || (e[3] = t("text", null, " 交易金额", -1))
91
91
  ]),
92
- t("div", G, [
93
- t("text", H, o(d.value.feeAmt || 0), 1),
92
+ t("div", L, [
93
+ t("text", W, o(d.value.feeAmt || 0), 1),
94
94
  e[4] || (e[4] = t("text", null, " 手续费", -1))
95
95
  ]),
96
- t("div", J, [
97
- t("text", K, o(d.value.settleAmount || 0), 1),
96
+ t("div", X, [
97
+ t("text", Z, o(d.value.settleAmount || 0), 1),
98
98
  e[5] || (e[5] = t("text", null, " 结算金额", -1))
99
99
  ])
100
100
  ])
@@ -104,54 +104,54 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
104
104
  a(i, { class: "card-never card-paypal" }, {
105
105
  default: n(() => [
106
106
  e[6] || (e[6] = t("div", { class: "title" }, "支付渠道分析", -1)),
107
- a(S, { class: "pay" })
107
+ a(b, { class: "pay" })
108
108
  ]),
109
109
  _: 1
110
110
  })
111
111
  ])
112
112
  ]),
113
- t("div", L, [
113
+ t("div", tt, [
114
114
  a(i, { class: "card-number" }, {
115
115
  default: n(() => [
116
- t("div", W, [
116
+ t("div", et, [
117
117
  e[7] || (e[7] = _(" 交易金额排名 ")),
118
- t("span", X, o(r.value), 1)
118
+ t("span", st, o(r.value), 1)
119
119
  ]),
120
- a(P)
120
+ a(I)
121
121
  ]),
122
122
  _: 1
123
123
  }),
124
124
  a(i, { class: "card-number" }, {
125
125
  default: n(() => [
126
- t("div", Z, [
126
+ t("div", at, [
127
127
  e[8] || (e[8] = _(" 销售人员交易金额排名   ")),
128
- t("span", tt, o(r.value), 1)
128
+ t("span", ot, o(r.value), 1)
129
129
  ]),
130
- a(I)
130
+ a(O)
131
131
  ]),
132
132
  _: 1
133
133
  }),
134
134
  a(i, { class: "card-number" }, {
135
135
  default: n(() => [
136
- t("div", et, [
136
+ t("div", nt, [
137
137
  e[9] || (e[9] = _(" 销售人员新增商户排名   ")),
138
- t("span", st, o(r.value), 1)
138
+ t("span", lt, o(r.value), 1)
139
139
  ]),
140
- a(b)
140
+ a(B)
141
141
  ]),
142
142
  _: 1
143
143
  })
144
144
  ])
145
145
  ]),
146
- t("div", at, [
146
+ t("div", it, [
147
147
  a(i, { class: "card-chart" }, {
148
148
  default: n(() => [
149
- t("div", ot, [
150
- t("span", nt, [
149
+ t("div", rt, [
150
+ t("span", dt, [
151
151
  e[10] || (e[10] = _(" 交易金额趋势   ")),
152
- t("span", lt, o(r.value), 1)
152
+ t("span", mt, o(r.value), 1)
153
153
  ]),
154
- a(h, {
154
+ R((y(), S(Y, {
155
155
  type: "text",
156
156
  class: "view-more",
157
157
  onClick: M
@@ -160,9 +160,11 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
160
160
  _("查看更多")
161
161
  ])),
162
162
  _: 1
163
- })
163
+ })), [
164
+ [g, ["payment:trade_analysis:view"]]
165
+ ])
164
166
  ]),
165
- a(V)
167
+ a(F)
166
168
  ]),
167
169
  _: 1
168
170
  })
@@ -170,7 +172,7 @@ const F = { class: "app" }, O = { class: "app-title" }, N = { class: "row-contai
170
172
  ]);
171
173
  };
172
174
  }
173
- }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-c39e7cf0"]]);
175
+ }), Yt = /* @__PURE__ */ N(_t, [["__scopeId", "data-v-f57a43a5"]]);
174
176
  export {
175
- Dt as default
177
+ Yt as default
176
178
  };