xyvcard-settle 0.0.30 → 0.0.31

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.
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as A, ref as c, resolveComponent as _, createElementBlock as h, openBlock as y, createElementVNode as t, createVNode as l, withCtx as r, toDisplayString as s, createTextVNode as C } from "vue";
2
2
  import { useRouter as g } from "vue-router";
3
3
  import { T as D, m as p } from "./trend-iT9IXU1F.mjs";
4
- import { h as x } from "./index--o4ZWReA.mjs";
4
+ import { h as x } from "./index-BgwtX7Tm.mjs";
5
5
  import { t as T } from "./tokenExt-SHK5rrb5.mjs";
6
6
  import { useUserStore as Y } from "jmash-core";
7
7
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -2694,7 +2694,7 @@ const Ci = {
2694
2694
  }
2695
2695
  };
2696
2696
  }
2697
- }, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"), ji = () => import("./index-B1UFTEsC.mjs"), Hi = () => import("./index-BM61iHRQ.mjs"), zi = () => import("./index-DKQWmgM5.mjs"), Ui = [
2697
+ }, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"), ji = () => import("./index-B1UFTEsC.mjs"), Hi = () => import("./index-DeV288L4.mjs"), zi = () => import("./index-BMmug9bs.mjs"), Ui = [
2698
2698
  {
2699
2699
  path: "/redirect",
2700
2700
  component: ze,
@@ -2769,7 +2769,7 @@ const Ci = {
2769
2769
  scrollBehavior: () => ({ left: 0, top: 0 })
2770
2770
  });
2771
2771
  Ts.value = Ai;
2772
- const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-BM61iHRQ.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-DsvLGGd5.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-Dd7_FYzt.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BVXwPotf.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-BR1khQTm.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-DMpZSOlJ.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-B1UFTEsC.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-DW3Una4C.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-BEW7zVSJ.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-D8pStiQ5.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-DsIwC6AS.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-DKQWmgM5.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-iT9IXU1F.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-76q1nUof.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-CvjcvAnl.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-COYrjW5J.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Dvvgkcti.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CCNRK-gM.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-BXKJJt23.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-CGM4zfi2.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-DOoqfysH.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-CyoZ9H0t.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-h0Y7fyQp.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CMdgJzD1.mjs") }), Zi = {
2772
+ const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-DeV288L4.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-DgUIa-Xb.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-Dd7_FYzt.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BVXwPotf.mjs"), "./views/payment/agentHomePage/sale.vue": () => import("./sale-DRffAw0b.mjs"), "./views/payment/agentHomePage/trend.vue": () => import("./trend-DMpZSOlJ.mjs"), "./views/payment/instHomePage/index.vue": () => import("./index-B1UFTEsC.mjs"), "./views/payment/instHomePage/pay.vue": () => import("./pay-DW3Una4C.mjs"), "./views/payment/instHomePage/payPal.vue": () => import("./payPal-BEW7zVSJ.mjs"), "./views/payment/instHomePage/trend.vue": () => import("./trend-D8pStiQ5.mjs"), "./views/payment/instsLogin/index.vue": () => import("./index-DsIwC6AS.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-BMmug9bs.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-iT9IXU1F.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-76q1nUof.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-CUep53U4.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-COYrjW5J.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-Dvvgkcti.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-CCNRK-gM.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-BXKJJt23.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-CGM4zfi2.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-DOoqfysH.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-CyoZ9H0t.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-h0Y7fyQp.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CMdgJzD1.mjs") }), Zi = {
2773
2773
  install(e) {
2774
2774
  xs(Ei, 7), Ws(bs), e.use(Ci);
2775
2775
  }
@@ -4,7 +4,7 @@ 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
5
  import { D as y, C as P } from "./index-CpuvJ4Tw.mjs";
6
6
  import { tokenExt as U } from "xyvcard-agent";
7
- import { r as pe } from "./index--o4ZWReA.mjs";
7
+ import { r as pe } from "./index-BgwtX7Tm.mjs";
8
8
  class ie {
9
9
  getKey(i) {
10
10
  return {
@@ -5,8 +5,8 @@ import { C as p } from "./index-CpuvJ4Tw.mjs";
5
5
  import P from "./pay-Dd7_FYzt.mjs";
6
6
  import S from "./payPal-BVXwPotf.mjs";
7
7
  import V from "./trend-DMpZSOlJ.mjs";
8
- import { _ as I } from "./sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs";
9
- import { _ as b } from "./merchant.vue_vue_type_script_setup_true_lang-DE1LaeW5.mjs";
8
+ import { _ as I } from "./sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs";
9
+ import { _ as b } from "./merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.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",
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--o4ZWReA.mjs";
2
+ import { a as o, s as t, m as i, p as s, b as g } from "./index-BgwtX7Tm.mjs";
3
3
  export {
4
4
  o as agentHomePage,
5
5
  t as default,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./merchant.vue_vue_type_script_setup_true_lang-DE1LaeW5.mjs";
1
+ import { _ as f } from "./merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,30 +1,30 @@
1
- import { defineComponent as d, ref as u, resolveComponent as c, createBlock as f, openBlock as a, withCtx as t, createVNode as n, createElementBlock as r, toDisplayString as l, createElementVNode as m, createCommentVNode as h, unref as k, createTextVNode as y } from "vue";
2
- import { _ as b, a as g, b as N } from "./three-BE8B3lbG.mjs";
3
- import { rbacApi as x } from "jmash-rbac";
4
- import { tokenExt as B } from "xyvcard-agent";
5
- import { s as E } from "./index-zsIaZMNT.mjs";
6
- import { useUserStore as w } from "jmash-core";
1
+ import { defineComponent as d, ref as u, resolveComponent as i, createBlock as f, openBlock as a, withCtx as t, createVNode as n, createElementBlock as r, toDisplayString as l, createElementVNode as m, createCommentVNode as h, unref as k, createTextVNode as y } from "vue";
2
+ import { _ as g, a as b, b as N } from "./three-BE8B3lbG.mjs";
3
+ import { tokenExt as x } from "xyvcard-agent";
4
+ import { s as B } from "./index-zsIaZMNT.mjs";
5
+ import { useUserStore as E } from "jmash-core";
6
+ import { getUserDisplayName as w } from "xyvcard-merchant";
7
7
  const C = {
8
8
  key: 0,
9
- src: b,
9
+ src: g,
10
10
  alt: "第一名"
11
11
  }, V = {
12
12
  key: 1,
13
- src: g,
13
+ src: b,
14
14
  alt: "第二名"
15
15
  }, v = {
16
16
  key: 2,
17
17
  src: N,
18
18
  alt: "第三名"
19
- }, M = { key: 3 }, A = { key: 0 }, z = /* @__PURE__ */ d({
19
+ }, D = { key: 3 }, M = { key: 0 }, F = /* @__PURE__ */ d({
20
20
  __name: "merchant",
21
- setup(D) {
21
+ setup(S) {
22
22
  const p = u([]);
23
- return E.newMerchant({ tokenExt: B.getTokenExt(w().user.tenant) }).then((_) => {
23
+ return B.newMerchant({ tokenExt: x.getTokenExt(E().user.tenant) }).then((_) => {
24
24
  p.value = _.data.agentMerchantNumModel;
25
25
  }), (_, o) => {
26
- const s = c("el-table-column"), i = c("el-table");
27
- return a(), f(i, {
26
+ const s = i("el-table-column"), c = i("el-table");
27
+ return a(), f(c, {
28
28
  style: { width: "100%" },
29
29
  "show-header": !0,
30
30
  "empty-text": "暂无数据",
@@ -39,7 +39,7 @@ const C = {
39
39
  m("span", { style: { color: "#f5782d" } }, "排名", -1)
40
40
  ])),
41
41
  default: t(({ $index: e }) => [
42
- e === 0 ? (a(), r("img", C)) : e === 1 ? (a(), r("img", V)) : e === 2 ? (a(), r("img", v)) : (a(), r("span", M, l(e + 1), 1))
42
+ e === 0 ? (a(), r("img", C)) : e === 1 ? (a(), r("img", V)) : e === 2 ? (a(), r("img", v)) : (a(), r("span", D, l(e + 1), 1))
43
43
  ]),
44
44
  _: 1
45
45
  }),
@@ -51,7 +51,7 @@ const C = {
51
51
  m("span", { style: { color: "#f5782d" } }, "销售人员", -1)
52
52
  ])),
53
53
  default: t(({ row: e }) => [
54
- e.marketBy ? (a(), r("span", A, l(k(x).userInfo(e.marketBy).realName), 1)) : h("", !0)
54
+ e.marketBy ? (a(), r("span", M, l(k(w)(e.marketBy)), 1)) : h("", !0)
55
55
  ]),
56
56
  _: 1
57
57
  }),
@@ -75,5 +75,5 @@ const C = {
75
75
  }
76
76
  });
77
77
  export {
78
- z as _
78
+ F as _
79
79
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs";
1
+ import { _ as f } from "./sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as c, ref as u, resolveComponent as d, createBlock as f, openBlock as a, withCtx as t, createVNode as l, createElementBlock as s, toDisplayString as n, createElementVNode as m, createCommentVNode as y, unref as h, createTextVNode as k } from "vue";
1
+ import { defineComponent as c, ref as u, resolveComponent as d, createBlock as f, openBlock as a, withCtx as t, createVNode as r, createElementBlock as s, toDisplayString as n, createElementVNode as m, createCommentVNode as y, unref as h, createTextVNode as k } from "vue";
2
2
  import { _ as b, a as g, b as N } from "./three-BE8B3lbG.mjs";
3
- import { rbacApi as B } from "jmash-rbac";
4
- import { s as A } from "./index-zsIaZMNT.mjs";
5
- const C = {
3
+ import { getUserDisplayName as B } from "xyvcard-merchant";
4
+ import { s as C } from "./index-zsIaZMNT.mjs";
5
+ const V = {
6
6
  key: 0,
7
7
  src: b,
8
8
  alt: "第一名"
9
- }, V = {
9
+ }, v = {
10
10
  key: 1,
11
11
  src: g,
12
12
  alt: "第二名"
13
- }, v = {
13
+ }, w = {
14
14
  key: 2,
15
15
  src: N,
16
16
  alt: "第三名"
17
- }, w = { key: 3 }, x = { key: 0 }, j = /* @__PURE__ */ c({
17
+ }, A = { key: 3 }, D = { key: 0 }, j = /* @__PURE__ */ c({
18
18
  __name: "sale",
19
- setup(D) {
19
+ setup(x) {
20
20
  const _ = u([]);
21
- return A.salesAmount({}).then((p) => {
21
+ return C.salesAmount({}).then((p) => {
22
22
  _.value = p.data.results;
23
23
  }), (p, o) => {
24
- const r = d("el-table-column"), i = d("el-table");
24
+ const l = d("el-table-column"), i = d("el-table");
25
25
  return a(), f(i, {
26
26
  style: { width: "100%" },
27
27
  "show-header": !0,
@@ -29,7 +29,7 @@ const C = {
29
29
  data: _.value
30
30
  }, {
31
31
  default: t(() => [
32
- l(r, {
32
+ r(l, {
33
33
  label: "排名",
34
34
  width: "100"
35
35
  }, {
@@ -37,11 +37,11 @@ const C = {
37
37
  m("span", { style: { color: "#f5782d" } }, "排名", -1)
38
38
  ])),
39
39
  default: t(({ $index: e }) => [
40
- e === 0 ? (a(), s("img", C)) : e === 1 ? (a(), s("img", V)) : e === 2 ? (a(), s("img", v)) : (a(), s("span", w, n(e + 1), 1))
40
+ e === 0 ? (a(), s("img", V)) : e === 1 ? (a(), s("img", v)) : e === 2 ? (a(), s("img", w)) : (a(), s("span", A, n(e + 1), 1))
41
41
  ]),
42
42
  _: 1
43
43
  }),
44
- l(r, {
44
+ r(l, {
45
45
  prop: "salesName",
46
46
  label: "销售人员"
47
47
  }, {
@@ -49,11 +49,11 @@ const C = {
49
49
  m("span", { style: { color: "#f5782d" } }, "销售人员", -1)
50
50
  ])),
51
51
  default: t(({ row: e }) => [
52
- e.marketBy ? (a(), s("span", x, n(h(B).userInfo(e.marketBy).realName), 1)) : y("", !0)
52
+ e.marketBy ? (a(), s("span", D, n(h(B)(e.marketBy)), 1)) : y("", !0)
53
53
  ]),
54
54
  _: 1
55
55
  }),
56
- l(r, {
56
+ r(l, {
57
57
  prop: "amount",
58
58
  label: "交易金额",
59
59
  align: "right"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "jmash-dict": "^0.0.47",
16
16
  "jmash-rbac": "^0.0.49",
17
17
  "xyvcard-agent": "0.0.30",
18
- "xyvcard-merchant": "0.0.16",
18
+ "xyvcard-merchant": "0.0.22",
19
19
  "xyvcard-insts": "0.0.17",
20
20
  "pinia": "^2.2.4",
21
21
  "vue": "^3.5.11",