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
@@ -2,8 +2,7 @@ import { defineComponent as te, getCurrentInstance as ae, ref as h, resolveCompo
2
2
  import { useI18n as re } from "vue-i18n";
3
3
  import { useRoute as ne } from "vue-router";
4
4
  import { useUserStore as z, clearEmpty as de, request as se, useTableHooks as ue } from "jmash-core";
5
- import { D as y } from "./index-vAEKctTI.mjs";
6
- import { C as U } from "./constant-D4ZF_7dk.mjs";
5
+ import { D as y, C as U } from "./index-CxsNyMdg.mjs";
7
6
  import { tokenExt as Y } from "xyvcard-agent";
8
7
  class pe {
9
8
  getKey(m) {
@@ -21,7 +20,7 @@ class pe {
21
20
  });
22
21
  }
23
22
  }
24
- const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-container" }, fe = { class: "total-num" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, Re = /* @__PURE__ */ te({
23
+ const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-container" }, fe = { class: "total-num" }, be = { class: "blue_color" }, Te = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, Ce = { class: "blue_color" }, Ve = { class: "blue_color" }, we = { class: "blue_color" }, he = /* @__PURE__ */ te({
25
24
  __name: "index",
26
25
  setup(E) {
27
26
  y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
@@ -708,5 +707,5 @@ const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-cont
708
707
  }
709
708
  });
710
709
  export {
711
- Re as default
710
+ he as default
712
711
  };
@@ -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 N, 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(), 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__ */ oe({
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"], ze = /* @__PURE__ */ oe({
26
25
  __name: "index",
27
26
  setup(j) {
28
27
  const { t: T } = pe();
@@ -571,7 +570,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
571
570
  }, [
572
571
  r(i(a.$t("settleTradeAnalysis.view")), 1)
573
572
  ], 8, ke)), [
574
- [ne, ["payment:trade_analysis:view"]]
573
+ [ne, ["settle:settle_trade_analysis:view"]]
575
574
  ])
576
575
  ]),
577
576
  _: 2
@@ -599,5 +598,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
599
598
  }
600
599
  });
601
600
  export {
602
- Se as default
601
+ ze as default
603
602
  };
@@ -0,0 +1,110 @@
1
+ var E = Object.defineProperty;
2
+ var l = (a, s, i) => s in a ? E(a, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[s] = i;
3
+ var e = (a, s, i) => l(a, typeof s != "symbol" ? s + "" : s, i);
4
+ import { BizLayDict as y, BizDict as h, EnumDict as A } from "jmash-core";
5
+ import { infoApi as p } from "xyvcard-agent";
6
+ import { institutionApi as D } from "xyvcard-insts";
7
+ import { merchantsApi as d } from "xyvcard-merchant";
8
+ class t {
9
+ }
10
+ //模块
11
+ e(t, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
12
+ e(t, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 时间格式 RFC-年月日时分
13
+ e(t, "RPC_FORMAT_DATA", "YYYY-MM-DD"), // 支付方式
14
+ e(t, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
15
+ e(t, "TRADE_TYPE", "xyvcard.payment.protobuf.PayTradeType"), // 支付状态
16
+ e(t, "ORDER_STATUS", "xyvcard.payment.protobuf.PayOrderStatus"), // 支付状态
17
+ e(t, "TRADE_STATUS", "xyvcard.payment.protobuf.PayTradeStatus"), // 支付状态
18
+ e(t, "AGENT_AGREE", "AGENT_AGREE"), // 支付方式颜色
19
+ e(t, "PAYMENT_COLORS", {
20
+ WECHAT: "#3DDEC1",
21
+ ALIPAY: "#F79AE3",
22
+ UQRCODEPAY: "#F8A3A3",
23
+ BALANCE: "#FBD564",
24
+ NUCSPAY: "#C36433"
25
+ });
26
+ function T(a, s, i) {
27
+ return !Array.isArray(a) || a.length === 0 ? [] : a.map((r) => {
28
+ let c = [];
29
+ return Array.isArray(r.children) && r.children.length > 0 && (c = T(r.children, s, i)), {
30
+ value: r[i],
31
+ label: r[s],
32
+ parentId: r.parentId,
33
+ children: c
34
+ };
35
+ });
36
+ }
37
+ class o extends y {
38
+ // 实现 useValues 方法
39
+ useValues() {
40
+ return new Promise((s, i) => {
41
+ this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, p.findList(this.query).then(({ data: u }) => {
42
+ this.values.length = 0, this.values.push(
43
+ ...T(u.results, "agentAlias", "agentCode")
44
+ ), s(this.values);
45
+ }).catch(i);
46
+ });
47
+ }
48
+ }
49
+ class m extends h {
50
+ // 实现 useValues 方法
51
+ useValues() {
52
+ return new Promise((s, i) => {
53
+ D.findList(this.query).then(({ data: u }) => {
54
+ const r = u.results;
55
+ this.values.length = 0, this.values.push(
56
+ ...r.map(
57
+ (c) => ({
58
+ key: c.instsId,
59
+ value: c.instsName
60
+ })
61
+ )
62
+ ), s(this.values);
63
+ }).catch(i);
64
+ });
65
+ }
66
+ }
67
+ class P extends h {
68
+ // 实现 useValues 方法
69
+ useValues() {
70
+ return new Promise((s, i) => {
71
+ d.findList(this.query).then(({ data: u }) => {
72
+ const r = u.results;
73
+ this.values.length = 0, this.values.push(
74
+ ...r.map(
75
+ (c) => ({
76
+ key: c.merchantId,
77
+ value: c.merchantName
78
+ })
79
+ )
80
+ ), s(this.values);
81
+ }).catch(i);
82
+ });
83
+ }
84
+ }
85
+ class n {
86
+ }
87
+ // 代理商
88
+ e(n, "agentBizDict", new o({})), // 落地机构
89
+ e(n, "instsBizDict", new m({})), // 商户名称
90
+ e(n, "merchantBizDict", new P({})), // 支付方式
91
+ e(n, "payModeBizDict", new A(
92
+ t.PAYMENT_DICT,
93
+ t.PAY_MODE
94
+ )), // 交易类型
95
+ e(n, "tradeTypeBizDict", new A(
96
+ t.PAYMENT_DICT,
97
+ t.TRADE_TYPE
98
+ )), // 订单状态
99
+ e(n, "orderStatusBizDict", new A(
100
+ t.PAYMENT_DICT,
101
+ t.ORDER_STATUS
102
+ )), // 交易状态
103
+ e(n, "tradeStatusBizDict", new A(
104
+ t.PAYMENT_DICT,
105
+ t.TRADE_STATUS
106
+ ));
107
+ export {
108
+ t as C,
109
+ n as D
110
+ };
@@ -2,9 +2,8 @@ import { defineComponent as J, getCurrentInstance as X, ref as h, resolveCompone
2
2
  import { useI18n as ae } from "vue-i18n";
3
3
  import { useRouter as ne } from "vue-router";
4
4
  import { useUserStore as S, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
5
- import { C as M } from "./constant-D4ZF_7dk.mjs";
5
+ import { D as b, C as M } from "./index-CxsNyMdg.mjs";
6
6
  import { tokenExt as de } from "xyvcard-agent";
7
- import { D as b } from "./index-vAEKctTI.mjs";
8
7
  class ie {
9
8
  getKey(p) {
10
9
  return {
@@ -22,7 +21,7 @@ class ie {
22
21
  });
23
22
  }
24
23
  }
25
- const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"], $e = /* @__PURE__ */ J({
24
+ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ge = { class: "blue_color" }, ce = { class: "blue_color" }, be = { class: "blue_color" }, Te = ["onClick"], ke = /* @__PURE__ */ J({
26
25
  __name: "index",
27
26
  setup(I) {
28
27
  const { t: p } = ae();
@@ -420,7 +419,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
420
419
  }, [
421
420
  d(m(l.$t("settleTradeAnalysis.view")), 1)
422
421
  ], 8, Te)), [
423
- [G, ["payment:agent_analysis:view"]]
422
+ [G, ["settle:settle_trade_analysis:view"]]
424
423
  ])
425
424
  ]),
426
425
  _: 1
@@ -433,5 +432,5 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
433
432
  }
434
433
  });
435
434
  export {
436
- $e as default
435
+ ke as default
437
436
  };
@@ -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-zty-H-sg.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -1,10 +1,10 @@
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 i, 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
- import { C as E } from "./constant-D4ZF_7dk.mjs";
5
- import S from "./pay-Cbkrx0kF.mjs";
6
- import b from "./payPal-CSXQDwtc.mjs";
7
- import N from "./trend-BrSUujKu.mjs";
4
+ import E from "./pay-CFNzmo6x.mjs";
5
+ import b from "./payPal-J41FJEQT.mjs";
6
+ import S from "./trend-D8pStiQ5.mjs";
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({
10
10
  __name: "index",
@@ -12,7 +12,7 @@ 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 = (a, t = E.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
15
+ }), o = p({}), l = p([]), r = (a, t = N.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
16
16
  const a = /* @__PURE__ */ new Date(), t = /* @__PURE__ */ new Date();
17
17
  t.setDate(a.getDate() - 6), l.value = [
18
18
  r(t, "YYYY-MM-DD"),
@@ -47,11 +47,11 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
47
47
  });
48
48
  };
49
49
  return (a, t) => {
50
- const c = u("el-date-picker"), d = u("el-card"), g = u("el-button");
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
- s(d, { 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)),
@@ -69,26 +69,26 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
69
69
  ]),
70
70
  e("div", F, [
71
71
  e("div", O, [
72
- e("text", Q, i(o.value.orderCount || 0), 1),
72
+ e("text", Q, d(o.value.orderCount || 0), 1),
73
73
  t[2] || (t[2] = e("text", null, "交易笔数", -1))
74
74
  ]),
75
75
  e("div", U, [
76
- e("text", $, i(o.value.tradeAmount || 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, [
80
- e("text", z, i(o.value.feeAmt || 0), 1),
80
+ e("text", z, d(o.value.feeAmt || 0), 1),
81
81
  t[4] || (t[4] = e("text", null, " 手续费", -1))
82
82
  ]),
83
83
  e("div", G, [
84
- e("text", H, i(o.value.settleAmount || 0), 1),
84
+ e("text", H, d(o.value.settleAmount || 0), 1),
85
85
  t[5] || (t[5] = e("text", null, " 结算金额", -1))
86
86
  ])
87
87
  ])
88
88
  ]),
89
89
  _: 1
90
90
  }),
91
- s(d, { 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
94
  s(b, { class: "pay" })
@@ -97,20 +97,20 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
97
97
  })
98
98
  ]),
99
99
  e("div", J, [
100
- s(d, { 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
- s(S)
106
+ s(E)
107
107
  ]),
108
108
  _: 1
109
109
  })
110
110
  ])
111
111
  ]),
112
112
  e("div", K, [
113
- s(d, { 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" }, [
@@ -128,7 +128,7 @@ const B = { class: "app" }, I = { class: "app-title" }, q = { class: "title" },
128
128
  _: 1
129
129
  })
130
130
  ]),
131
- s(N)
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-7cec1d93"]]);
139
+ }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-910b68c5"]]);
140
140
  export {
141
141
  rt as default
142
142
  };
@@ -1,7 +1,6 @@
1
1
  import { deepMerge as vs, RedirectPage as Ss, Layout as ze, LoginPage as Ds, ProfilePage as Ys, Error401Page as Os, Error404Page as Ts, routerRef as xs, addViteMenus as bs, i18n as Ns } from "jmash-core";
2
2
  import { createRouter as Ps, createWebHistory as Rs } from "vue-router";
3
3
  import "xyvcard-agent";
4
- import "xyvcard-merchant";
5
4
  const Ws = {
6
5
  // 交易流水
7
6
  payTrade: {
@@ -2696,7 +2695,7 @@ const Li = {
2696
2695
  }
2697
2696
  };
2698
2697
  }
2699
- }, Ii = [], Zi = () => import("./index-C4I9aQCw.mjs"), Hi = () => import("./index-CIgkwH9Q.mjs"), $i = () => import("./index-CoFF2Ob7.mjs"), qi = () => import("./index-BTklOG4u.mjs"), Ui = [
2698
+ }, Ii = [], zi = () => import("./index-BS-eL0Z5.mjs"), Hi = () => import("./index-e2Wzbnr7.mjs"), Zi = () => import("./index-B81N3bxj.mjs"), $i = () => import("./index-B33Q3ZQC.mjs"), Ui = [
2700
2699
  {
2701
2700
  path: "/redirect",
2702
2701
  component: ze,
@@ -2711,7 +2710,6 @@ const Li = {
2711
2710
  {
2712
2711
  path: "/login",
2713
2712
  component: Ds,
2714
- // component: mchtLogin,
2715
2713
  // component: agentloginPage,
2716
2714
  meta: { hidden: !0 }
2717
2715
  },
@@ -2772,16 +2770,17 @@ const Li = {
2772
2770
  scrollBehavior: () => ({ left: 0, top: 0 })
2773
2771
  });
2774
2772
  xs.value = Ai;
2775
- const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-CoFF2Ob7.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-BENZD2R4.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-B83bWp1o.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-CxeWojgW.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-Cki0rZ6-.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-3ibJo3lK.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-CIgkwH9Q.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-Cbkrx0kF.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-CSXQDwtc.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-BrSUujKu.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-C4I9aQCw.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-BTklOG4u.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-C4uCFrLb.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-cRii9rLo.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-7mx7BVcy.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-Dd8mEaP-.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-DIBoxi0R.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CkZwAxic.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-B-IkqJIh.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-DALnGGtE.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-fC0tD5z6.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-Bwh8KkP3.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-2s-MEXAI.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-D-CvVI4s.mjs") }), Bi = {
2773
+ const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-B81N3bxj.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-BENZD2R4.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-DabqR8eb.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-C7Ttt6mf.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-Cki0rZ6-.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-3ibJo3lK.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-e2Wzbnr7.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-CFNzmo6x.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-J41FJEQT.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-D8pStiQ5.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-BS-eL0Z5.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-B33Q3ZQC.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-iT9IXU1F.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-BV7Yx1ZN.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-BFHiB7kP.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-DHS0CvTn.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-B1T6GA_X.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CTi-ETJs.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-DppKTWsM.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-Zo3QX_fX.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-A4CUV61Z.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-Dv2zWu7t.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-B7xd6ock.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-zzTtFFaz.mjs") }), qi = {
2776
2774
  install(e) {
2777
2775
  bs(Ei, 7), Fs(Ns), e.use(Li);
2778
2776
  }
2779
2777
  };
2780
2778
  export {
2781
- $i as a,
2782
- Zi as b,
2779
+ Zi as a,
2780
+ zi as b,
2783
2781
  l as h,
2784
- qi as m,
2782
+ $i as m,
2785
2783
  Hi as p,
2786
- Bi as s
2784
+ Ai as r,
2785
+ qi as s
2787
2786
  };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "jmash-core";
2
- import { a as o, s as t, m as i, p as s, b as g } from "./index-DcFBsML4.mjs";
2
+ import { a as o, s as t, m as i, p as s, b as g } from "./index-hDvYrxNX.mjs";
3
3
  export {
4
4
  o as agentHomePage,
5
5
  t as default,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, ref as l, onMounted as f, onUnmounted as v, createElementBlock as h, openBlock as _ } from "vue";
2
2
  import { i as y } from "./index--_Po9Tig.mjs";
3
- import { D as o } from "./index-vAEKctTI.mjs";
3
+ import { D as o } from "./index-CxsNyMdg.mjs";
4
4
  import { s as z } from "./index-eUhFgNKx.mjs";
5
5
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
6
  const x = /* @__PURE__ */ d({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as p, ref as l, onMounted as f, onUnmounted as v, createElementBlock as h, openBlock as _ } from "vue";
2
2
  import { s as y } from "./index-D9OMutL6.mjs";
3
3
  import { i as z } from "./index--_Po9Tig.mjs";
4
- import { D as i } from "./index-vAEKctTI.mjs";
4
+ import { D as i } from "./index-CxsNyMdg.mjs";
5
5
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
6
  const w = /* @__PURE__ */ p({
7
7
  __name: "pay",
@@ -1,10 +1,9 @@
1
- import { defineComponent as m, ref as d, onMounted as c, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
1
+ import { defineComponent as c, ref as d, onMounted as m, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
2
2
  import { i as b } from "./index--_Po9Tig.mjs";
3
3
  import { s as g } from "./index-D9OMutL6.mjs";
4
- import { D as h } from "./index-vAEKctTI.mjs";
5
- import { C as w } from "./constant-D4ZF_7dk.mjs";
4
+ import { D as h, C as w } from "./index-CxsNyMdg.mjs";
6
5
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- const C = /* @__PURE__ */ m({
6
+ const C = /* @__PURE__ */ c({
8
7
  __name: "payPal",
9
8
  setup(S) {
10
9
  const i = d();
@@ -94,7 +93,7 @@ const C = /* @__PURE__ */ m({
94
93
  });
95
94
  }
96
95
  };
97
- return c(async () => {
96
+ return m(async () => {
98
97
  if (!i.value) return;
99
98
  e = b(i.value), e.showLoading(), await p(), e.hideLoading();
100
99
  const t = () => e == null ? void 0 : e.resize();
@@ -107,7 +106,7 @@ const C = /* @__PURE__ */ m({
107
106
  class: "chart-container"
108
107
  }, null, 512));
109
108
  }
110
- }), $ = /* @__PURE__ */ z(C, [["__scopeId", "data-v-15ebef5f"]]);
109
+ }), O = /* @__PURE__ */ z(C, [["__scopeId", "data-v-15ebef5f"]]);
111
110
  export {
112
- $ as default
111
+ O as default
113
112
  };
@@ -1,10 +1,9 @@
1
- import { defineComponent as m, ref as d, onMounted as c, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
1
+ import { defineComponent as c, ref as d, onMounted as m, onBeforeUnmount as v, createElementBlock as y, openBlock as _ } from "vue";
2
2
  import { i as w } from "./index--_Po9Tig.mjs";
3
3
  import { s as g } from "./index-eUhFgNKx.mjs";
4
- import { D as h } from "./index-vAEKctTI.mjs";
5
- import { C as z } from "./constant-D4ZF_7dk.mjs";
4
+ import { D as h, C as z } from "./index-CxsNyMdg.mjs";
6
5
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- const b = /* @__PURE__ */ m({
6
+ const b = /* @__PURE__ */ c({
8
7
  __name: "payPal",
9
8
  setup(L) {
10
9
  const i = d();
@@ -25,8 +24,8 @@ const b = /* @__PURE__ */ m({
25
24
  top: "middle",
26
25
  data: n.value.map((e) => e.name),
27
26
  formatter: (e) => {
28
- const r = n.value.find((a) => a.name === e);
29
- return `${e} ${r == null ? void 0 : r.value}%`;
27
+ const a = n.value.find((r) => r.name === e);
28
+ return `${e} ${a == null ? void 0 : a.value}%`;
30
29
  },
31
30
  textStyle: {
32
31
  fontSize: 12
@@ -55,16 +54,16 @@ const b = /* @__PURE__ */ m({
55
54
  }
56
55
  ]
57
56
  }), p = async () => {
58
- var e, r;
57
+ var e, a;
59
58
  try {
60
- const a = await g.payModel();
61
- if (!((r = (e = a.data) == null ? void 0 : e.results) != null && r.length))
59
+ const r = await g.payModel();
60
+ if (!((a = (e = r.data) == null ? void 0 : e.results) != null && a.length))
62
61
  throw new Error("暂无数据");
63
- const s = a.data.results.reduce(
62
+ const s = r.data.results.reduce(
64
63
  (o, l) => o + parseFloat(l.orderAmount || 0),
65
64
  0
66
65
  );
67
- n.value = a.data.results.map((o) => {
66
+ n.value = r.data.results.map((o) => {
68
67
  const l = h.payModeBizDict.getEnumValue(o.payMode) || o.payMode, f = s > 0 ? (parseFloat(o.orderAmount) / s * 100).toFixed(2) : 0;
69
68
  return {
70
69
  value: parseFloat(f),
@@ -88,7 +87,7 @@ const b = /* @__PURE__ */ m({
88
87
  });
89
88
  }
90
89
  };
91
- return c(async () => {
90
+ return m(async () => {
92
91
  if (!i.value)
93
92
  return;
94
93
  t = w(i.value), t.showLoading(), await p(), t.hideLoading();
@@ -98,13 +97,13 @@ const b = /* @__PURE__ */ m({
98
97
  window.addEventListener("resize", e), e();
99
98
  }), v(() => {
100
99
  window.removeEventListener("resize", () => t == null ? void 0 : t.resize()), t == null || t.dispose();
101
- }), (e, r) => (_(), y("div", {
100
+ }), (e, a) => (_(), y("div", {
102
101
  ref_key: "chartContainer",
103
102
  ref: i,
104
103
  class: "chart-container"
105
104
  }, null, 512));
106
105
  }
107
- }), D = /* @__PURE__ */ C(b, [["__scopeId", "data-v-920a5a5f"]]);
106
+ }), $ = /* @__PURE__ */ C(b, [["__scopeId", "data-v-920a5a5f"]]);
108
107
  export {
109
- D as default
108
+ $ as default
110
109
  };