xyvcard-settle 0.0.35 → 0.0.36

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 (32) hide show
  1. package/dist/constant-D4ZF_7dk.mjs +24 -0
  2. package/dist/{history-DppKTWsM.mjs → history-B-IkqJIh.mjs} +1 -1
  3. package/dist/{history-Dv2zWu7t.mjs → history-Bwh8KkP3.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs → history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs} +4 -3
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs → history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs} +4 -3
  6. package/dist/{index-B7xd6ock.mjs → index-2s-MEXAI.mjs} +2 -2
  7. package/dist/{index--ePSl3VP.mjs → index-7mx7BVcy.mjs} +163 -161
  8. package/dist/{index-CFBavxqo.mjs → index-BTklOG4u.mjs} +45 -42
  9. package/dist/{index-e2Wzbnr7.mjs → index-CIgkwH9Q.mjs} +18 -18
  10. package/dist/{index-CTi-ETJs.mjs → index-CkZwAxic.mjs} +5 -4
  11. package/dist/{index-B81N3bxj.mjs → index-CoFF2Ob7.mjs} +8 -8
  12. package/dist/{index-Zo3QX_fX.mjs → index-DALnGGtE.mjs} +2 -2
  13. package/dist/{index-B1T6GA_X.mjs → index-DIBoxi0R.mjs} +5 -4
  14. package/dist/{index-ydbomkpG.mjs → index-DcFBsML4.mjs} +8 -7
  15. package/dist/{index-DHS0CvTn.mjs → index-Dd8mEaP-.mjs} +5 -4
  16. package/dist/{index-BV7Yx1ZN.mjs → index-cRii9rLo.mjs} +4 -3
  17. package/dist/index-vAEKctTI.mjs +92 -0
  18. package/dist/index.mjs +1 -1
  19. package/dist/{pay-DabqR8eb.mjs → pay-B83bWp1o.mjs} +1 -1
  20. package/dist/{pay-CFNzmo6x.mjs → pay-Cbkrx0kF.mjs} +1 -1
  21. package/dist/{payPal-J41FJEQT.mjs → payPal-CSXQDwtc.mjs} +15 -14
  22. package/dist/{payPal-C7Ttt6mf.mjs → payPal-CxeWojgW.mjs} +7 -6
  23. package/dist/style.css +1 -1
  24. package/dist/{today-A4CUV61Z.mjs → today-D-CvVI4s.mjs} +1 -1
  25. package/dist/{today-zzTtFFaz.mjs → today-fC0tD5z6.mjs} +1 -1
  26. package/dist/{today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs → today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs} +1 -1
  27. package/dist/{today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs → today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs} +26 -26
  28. package/dist/{trend-D8pStiQ5.mjs → trend-BrSUujKu.mjs} +1 -1
  29. package/dist/{trend-iT9IXU1F.mjs → trend-C4uCFrLb.mjs} +1 -1
  30. package/dts/src/constant.d.ts +2 -0
  31. package/package.json +2 -2
  32. package/dist/index-CxsNyMdg.mjs +0 -110
@@ -1,14 +1,15 @@
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-ydbomkpG.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({
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({
9
10
  __name: "index",
10
- setup(X) {
11
- const i = g(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
11
+ setup(Z) {
12
+ const i = D(), m = x().format("YYYY-MM-DD"), u = x().subtract(1, "days").format("YYYY-MM-DD"), a = _({}), n = _({});
12
13
  (async () => {
13
14
  try {
14
15
  p.homePageAmount({
@@ -37,37 +38,39 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
37
38
  }
38
39
  })();
39
40
  const v = () => {
40
- const s = T.getCurrentRole(Y().user.tenant);
41
- ["MCHT_CHAIN_HEAD", "MCHT_CHAIN_BRANCH"].includes(s.storeType) ? i.push({
41
+ const s = Y.getCurrentRole(H().user.tenant);
42
+ [f.MCHT_CHAIN_HEAD, f.MCHT_CHAIN_BRANCH].includes(
43
+ s.storeType
44
+ ) ? i.push({
42
45
  path: "/payment/pay-trade"
43
46
  }) : i.push({
44
47
  path: "/payment/pay-trade-personal"
45
48
  });
46
49
  };
47
50
  return (s, 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, [
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, [
53
56
  l(r, { class: "card-never" }, {
54
57
  default: d(() => [
55
58
  e[4] || (e[4] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(昨日)", -1)),
56
- t("div", E, [
57
- t("div", N, [
58
- t("text", w, o(a.value.orderCount || 0), 1),
59
+ t("div", N, [
60
+ t("div", w, [
61
+ t("text", R, o(a.value.orderCount || 0), 1),
59
62
  e[0] || (e[0] = t("text", null, "交易笔数", -1))
60
63
  ]),
61
- t("div", R, [
62
- t("text", S, o(a.value.tradeAmount || 0), 1),
64
+ t("div", S, [
65
+ t("text", V, o(a.value.tradeAmount || 0), 1),
63
66
  e[1] || (e[1] = t("text", null, " 交易金额", -1))
64
67
  ]),
65
- t("div", V, [
66
- t("text", B, o(a.value.feeAmt || 0), 1),
68
+ t("div", B, [
69
+ t("text", I, o(a.value.feeAmt || 0), 1),
67
70
  e[2] || (e[2] = t("text", null, " 手续费", -1))
68
71
  ]),
69
- t("div", I, [
70
- t("text", P, o(a.value.settleAmount || "暂无结算"), 1),
72
+ t("div", P, [
73
+ t("text", F, o(a.value.settleAmount || "暂无结算"), 1),
71
74
  e[3] || (e[3] = t("text", null, " 结算金额", -1))
72
75
  ])
73
76
  ])
@@ -77,21 +80,21 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
77
80
  l(r, { class: "card-never" }, {
78
81
  default: d(() => [
79
82
  e[9] || (e[9] = t("span", { style: { "margin-right": "25%", "font-weight": "bold" } }, "交易数据看板(今日)", -1)),
80
- t("div", F, [
81
- t("div", U, [
82
- t("text", j, o(n.value.orderCount || 0), 1),
83
+ t("div", U, [
84
+ t("div", j, [
85
+ t("text", q, o(n.value.orderCount || 0), 1),
83
86
  e[5] || (e[5] = t("text", null, "交易笔数", -1))
84
87
  ]),
85
- t("div", q, [
86
- t("text", z, o(n.value.tradeAmount || 0), 1),
88
+ t("div", z, [
89
+ t("text", G, o(n.value.tradeAmount || 0), 1),
87
90
  e[6] || (e[6] = t("text", null, " 交易金额", -1))
88
91
  ]),
89
- t("div", G, [
90
- t("text", J, o(n.value.feeAmt || 0), 1),
92
+ t("div", J, [
93
+ t("text", K, o(n.value.feeAmt || 0), 1),
91
94
  e[7] || (e[7] = t("text", null, " 手续费", -1))
92
95
  ]),
93
- t("div", K, [
94
- t("text", L, o(n.value.settleAmount || "暂无结算"), 1),
96
+ t("div", L, [
97
+ t("text", O, o(n.value.settleAmount || "暂无结算"), 1),
95
98
  e[8] || (e[8] = t("text", null, " 结算金额", -1))
96
99
  ])
97
100
  ])
@@ -101,23 +104,23 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
101
104
  ])
102
105
  ])
103
106
  ]),
104
- t("div", O, [
107
+ t("div", Q, [
105
108
  l(r, { class: "card-chart" }, {
106
109
  default: d(() => [
107
- t("div", Q, [
110
+ t("div", W, [
108
111
  e[11] || (e[11] = t("span", { class: "chart-title" }, " 交易金额趋势   ", -1)),
109
- l(f, {
112
+ l(A, {
110
113
  type: "primary",
111
114
  link: "",
112
115
  onClick: v
113
116
  }, {
114
117
  default: d(() => e[10] || (e[10] = [
115
- C(" 查看更多 ")
118
+ g(" 查看更多 ")
116
119
  ])),
117
120
  _: 1
118
121
  })
119
122
  ]),
120
- l(D)
123
+ l(T)
121
124
  ]),
122
125
  _: 1
123
126
  })
@@ -125,7 +128,7 @@ const H = { class: "app" }, M = { class: "app-title" }, k = { class: "row-contai
125
128
  ]);
126
129
  };
127
130
  }
128
- }), lt = /* @__PURE__ */ b(W, [["__scopeId", "data-v-7b7b80a2"]]);
131
+ }), rt = /* @__PURE__ */ M(X, [["__scopeId", "data-v-aa61a81b"]]);
129
132
  export {
130
- lt as default
133
+ rt as default
131
134
  };
@@ -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 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 i, 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 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";
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";
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 = N.RPC_FORMAT_DATA) => y.$moment.formatDate(a, t), v = () => {
15
+ }), o = p({}), l = p([]), r = (a, t = E.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"), i = u("el-card"), g = u("el-button");
50
+ const c = u("el-date-picker"), d = 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(i, { class: "card-never" }, {
54
+ s(d, { 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, d(o.value.orderCount || 0), 1),
72
+ e("text", Q, i(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", $, d(o.value.tradeAmount || 0), 1),
76
+ e("text", $, i(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, d(o.value.feeAmt || 0), 1),
80
+ e("text", z, i(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, d(o.value.settleAmount || 0), 1),
84
+ e("text", H, i(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(i, { class: "card-never card-paypal" }, {
91
+ s(d, { 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(i, { class: "card-number" }, {
100
+ s(d, { 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(E)
106
+ s(S)
107
107
  ]),
108
108
  _: 1
109
109
  })
110
110
  ])
111
111
  ]),
112
112
  e("div", K, [
113
- s(i, { class: "card-chart" }, {
113
+ s(d, { 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(S)
131
+ s(N)
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-910b68c5"]]);
139
+ }), rt = /* @__PURE__ */ R(W, [["__scopeId", "data-v-7cec1d93"]]);
140
140
  export {
141
141
  rt as default
142
142
  };
@@ -3,7 +3,8 @@ 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, C as Y } from "./index-CxsNyMdg.mjs";
6
+ import { D as f } from "./index-vAEKctTI.mjs";
7
+ import { C as Y } from "./constant-D4ZF_7dk.mjs";
7
8
  class be {
8
9
  getKey(T) {
9
10
  return {
@@ -21,7 +22,7 @@ class be {
21
22
  });
22
23
  }
23
24
  }
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({
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({
25
26
  __name: "index",
26
27
  setup(j) {
27
28
  const { t: T } = pe();
@@ -570,7 +571,7 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
570
571
  }, [
571
572
  r(i(a.$t("settleTradeAnalysis.view")), 1)
572
573
  ], 8, ke)), [
573
- [ne, ["settle:settle_trade_analysis:view"]]
574
+ [ne, ["payment:trade_analysis:view"]]
574
575
  ])
575
576
  ]),
576
577
  _: 2
@@ -598,5 +599,5 @@ const Te = new be(), ve = { class: "app-container" }, ge = { class: "search-cont
598
599
  }
599
600
  });
600
601
  export {
601
- ze as default
602
+ Se as default
602
603
  };
@@ -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 "./index-CxsNyMdg.mjs";
5
- import P from "./pay-DabqR8eb.mjs";
6
- import S from "./payPal-C7Ttt6mf.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";
7
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";
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";
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(I)
130
+ a(b)
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(b)
140
+ a(I)
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-c65dcf0a"]]);
173
+ }), Dt = /* @__PURE__ */ k(it, [["__scopeId", "data-v-179adefb"]]);
174
174
  export {
175
175
  Dt as default
176
176
  };
@@ -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-DGMNlepq.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs";
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";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -3,7 +3,8 @@ 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, C as Y } from "./index-CxsNyMdg.mjs";
6
+ import { D as f } from "./index-vAEKctTI.mjs";
7
+ import { C as Y } from "./constant-D4ZF_7dk.mjs";
7
8
  class be {
8
9
  getKey(T) {
9
10
  return {
@@ -21,7 +22,7 @@ class be {
21
22
  });
22
23
  }
23
24
  }
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({
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({
25
26
  __name: "index",
26
27
  setup(j) {
27
28
  const { t: T } = pe();
@@ -572,7 +573,7 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
572
573
  }, [
573
574
  r(i(a.$t("settleTradeAnalysis.view")), 1)
574
575
  ], 8, ke)), [
575
- [ne, ["settle:settle_trade_analysis:view"]]
576
+ [ne, ["payment:trade_analysis:view"]]
576
577
  ])
577
578
  ]),
578
579
  _: 2
@@ -600,5 +601,5 @@ const Te = new be(), ge = { class: "app-container" }, ve = { class: "search-cont
600
601
  }
601
602
  });
602
603
  export {
603
- Se as default
604
+ ze as default
604
605
  };
@@ -1,6 +1,7 @@
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";
4
5
  const Ws = {
5
6
  // 交易流水
6
7
  payTrade: {
@@ -2695,7 +2696,7 @@ const Li = {
2695
2696
  }
2696
2697
  };
2697
2698
  }
2698
- }, Ii = [], zi = () => import("./index-C4I9aQCw.mjs"), Hi = () => import("./index-e2Wzbnr7.mjs"), Zi = () => import("./index-B81N3bxj.mjs"), $i = () => import("./index-CFBavxqo.mjs"), Ui = [
2699
+ }, Ii = [], Zi = () => import("./index-C4I9aQCw.mjs"), Hi = () => import("./index-CIgkwH9Q.mjs"), $i = () => import("./index-CoFF2Ob7.mjs"), qi = () => import("./index-BTklOG4u.mjs"), Ui = [
2699
2700
  {
2700
2701
  path: "/redirect",
2701
2702
  component: ze,
@@ -2710,6 +2711,7 @@ const Li = {
2710
2711
  {
2711
2712
  path: "/login",
2712
2713
  component: Ds,
2714
+ // component: mchtLogin,
2713
2715
  // component: agentloginPage,
2714
2716
  meta: { hidden: !0 }
2715
2717
  },
@@ -2770,17 +2772,16 @@ const Li = {
2770
2772
  scrollBehavior: () => ({ left: 0, top: 0 })
2771
2773
  });
2772
2774
  xs.value = Ai;
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-C4I9aQCw.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-CFBavxqo.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--ePSl3VP.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 = {
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 = {
2774
2776
  install(e) {
2775
2777
  bs(Ei, 7), Fs(Ns), e.use(Li);
2776
2778
  }
2777
2779
  };
2778
2780
  export {
2779
- Zi as a,
2780
- zi as b,
2781
+ $i as a,
2782
+ Zi as b,
2781
2783
  l as h,
2782
- $i as m,
2784
+ qi as m,
2783
2785
  Hi as p,
2784
- Ai as r,
2785
- qi as s
2786
+ Bi as s
2786
2787
  };
@@ -2,8 +2,9 @@ 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 { D as b, C as M } from "./index-CxsNyMdg.mjs";
5
+ import { C as M } from "./constant-D4ZF_7dk.mjs";
6
6
  import { tokenExt as de } from "xyvcard-agent";
7
+ import { D as b } from "./index-vAEKctTI.mjs";
7
8
  class ie {
8
9
  getKey(p) {
9
10
  return {
@@ -21,7 +22,7 @@ class ie {
21
22
  });
22
23
  }
23
24
  }
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({
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({
25
26
  __name: "index",
26
27
  setup(I) {
27
28
  const { t: p } = ae();
@@ -419,7 +420,7 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
419
420
  }, [
420
421
  d(m(l.$t("settleTradeAnalysis.view")), 1)
421
422
  ], 8, Te)), [
422
- [G, ["settle:settle_trade_analysis:view"]]
423
+ [G, ["payment:agent_analysis:view"]]
423
424
  ])
424
425
  ]),
425
426
  _: 1
@@ -432,5 +433,5 @@ const ue = new ie(), me = { class: "app-container" }, pe = { class: "search-cont
432
433
  }
433
434
  });
434
435
  export {
435
- ke as default
436
+ $e as default
436
437
  };
@@ -2,7 +2,8 @@ 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, C as U } from "./index-CxsNyMdg.mjs";
5
+ import { D as y } from "./index-vAEKctTI.mjs";
6
+ import { C as U } from "./constant-D4ZF_7dk.mjs";
6
7
  import { tokenExt as Y } from "xyvcard-agent";
7
8
  class pe {
8
9
  getKey(m) {
@@ -20,7 +21,7 @@ class pe {
20
21
  });
21
22
  }
22
23
  }
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({
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({
24
25
  __name: "index",
25
26
  setup(E) {
26
27
  y.instsBizDict.useValues(), y.merchantBizDict.useValues(), y.agentBizDict.useValues();
@@ -707,5 +708,5 @@ const me = new pe(), ie = { class: "app-container" }, ye = { class: "search-cont
707
708
  }
708
709
  });
709
710
  export {
710
- he as default
711
+ Re as default
711
712
  };
@@ -0,0 +1,92 @@
1
+ var p = Object.defineProperty;
2
+ var d = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
+ var n = (e, t, s) => d(e, typeof t != "symbol" ? t + "" : t, s);
4
+ import { BizLayDict as A, BizDict as l, EnumDict as c } from "jmash-core";
5
+ import { C as r } from "./constant-D4ZF_7dk.mjs";
6
+ import { infoApi as y } from "xyvcard-agent";
7
+ import { institutionApi as m } from "xyvcard-insts";
8
+ import { merchantsApi as T } from "xyvcard-merchant";
9
+ function o(e, t, s) {
10
+ return !Array.isArray(e) || e.length === 0 ? [] : e.map((i) => {
11
+ let a = [];
12
+ return Array.isArray(i.children) && i.children.length > 0 && (a = o(i.children, t, s)), {
13
+ value: i[s],
14
+ label: i[t],
15
+ parentId: i.parentId,
16
+ children: a
17
+ };
18
+ });
19
+ }
20
+ class D extends A {
21
+ // 实现 useValues 方法
22
+ useValues() {
23
+ return new Promise((t, s) => {
24
+ this.query.approved = r.AGENT_AGREE, this.query.hasApproved = !0, y.findList(this.query).then(({ data: h }) => {
25
+ this.values.length = 0, this.values.push(
26
+ ...o(h.results, "agentAlias", "agentCode")
27
+ ), t(this.values);
28
+ }).catch(s);
29
+ });
30
+ }
31
+ }
32
+ class E extends l {
33
+ // 实现 useValues 方法
34
+ useValues() {
35
+ return new Promise((t, s) => {
36
+ m.findList(this.query).then(({ data: h }) => {
37
+ const i = h.results;
38
+ this.values.length = 0, this.values.push(
39
+ ...i.map(
40
+ (a) => ({
41
+ key: a.instsId,
42
+ value: a.instsName
43
+ })
44
+ )
45
+ ), t(this.values);
46
+ }).catch(s);
47
+ });
48
+ }
49
+ }
50
+ class v extends l {
51
+ // 实现 useValues 方法
52
+ useValues() {
53
+ return new Promise((t, s) => {
54
+ T.findList(this.query).then(({ data: h }) => {
55
+ const i = h.results;
56
+ this.values.length = 0, this.values.push(
57
+ ...i.map(
58
+ (a) => ({
59
+ key: a.merchantId,
60
+ value: a.merchantName
61
+ })
62
+ )
63
+ ), t(this.values);
64
+ }).catch(s);
65
+ });
66
+ }
67
+ }
68
+ class u {
69
+ }
70
+ // 代理商
71
+ n(u, "agentBizDict", new D({})), // 落地机构
72
+ n(u, "instsBizDict", new E({})), // 商户名称
73
+ n(u, "merchantBizDict", new v({})), // 支付方式
74
+ n(u, "payModeBizDict", new c(
75
+ r.PAYMENT_DICT,
76
+ r.PAY_MODE
77
+ )), // 交易类型
78
+ n(u, "tradeTypeBizDict", new c(
79
+ r.PAYMENT_DICT,
80
+ r.TRADE_TYPE
81
+ )), // 订单状态
82
+ n(u, "orderStatusBizDict", new c(
83
+ r.PAYMENT_DICT,
84
+ r.ORDER_STATUS
85
+ )), // 交易状态
86
+ n(u, "tradeStatusBizDict", new c(
87
+ r.PAYMENT_DICT,
88
+ r.TRADE_STATUS
89
+ ));
90
+ export {
91
+ u as D
92
+ };
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-ydbomkpG.mjs";
2
+ import { a as o, s as t, m as i, p as s, b as g } from "./index-DcFBsML4.mjs";
3
3
  export {
4
4
  o as agentHomePage,
5
5
  t as default,
@@ -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-CxsNyMdg.mjs";
4
+ import { D as i } from "./index-vAEKctTI.mjs";
5
5
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
6
6
  const w = /* @__PURE__ */ p({
7
7
  __name: "pay",
@@ -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-CxsNyMdg.mjs";
3
+ import { D as o } from "./index-vAEKctTI.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({