xyvcard-settle 0.0.30 → 0.0.32
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.
- package/dist/{history-BXKJJt23.mjs → history-B7h6umTa.mjs} +1 -1
- package/dist/{history-CyoZ9H0t.mjs → history-DJpkp996.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Che3rhOP.mjs → history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Dm4xWviZ.mjs → history.vue_vue_type_script_setup_true_lang-fBUUTlwi.mjs} +1 -1
- package/dist/{index-76q1nUof.mjs → index-BMu6LbUO.mjs} +1 -1
- package/dist/{index--o4ZWReA.mjs → index-BUFIww-v.mjs} +5 -5
- package/dist/{index-B1UFTEsC.mjs → index-BeWMoc5O.mjs} +3 -3
- package/dist/{index-CGM4zfi2.mjs → index-C2xcDRi4.mjs} +2 -2
- package/dist/{index-BM61iHRQ.mjs → index-C7SyVjkv.mjs} +5 -5
- package/dist/{index-h0Y7fyQp.mjs → index-CjnGDPpK.mjs} +2 -2
- package/dist/{index-CpuvJ4Tw.mjs → index-CxsNyMdg.mjs} +9 -9
- package/dist/{index-CCNRK-gM.mjs → index-D0TmvQVF.mjs} +1 -1
- package/dist/{index-CvjcvAnl.mjs → index-DO9NFUT1.mjs} +2 -2
- package/dist/{index-DKQWmgM5.mjs → index-DTKuEs0C.mjs} +1 -1
- package/dist/{index-COYrjW5J.mjs → index-DwKRJ0NX.mjs} +1 -1
- package/dist/{index-Dvvgkcti.mjs → index-DzwVe4IZ.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{merchant-DsvLGGd5.mjs → merchant-DgUIa-Xb.mjs} +1 -1
- package/dist/{merchant.vue_vue_type_script_setup_true_lang-DE1LaeW5.mjs → merchant.vue_vue_type_script_setup_true_lang-D5q7svQ3.mjs} +16 -16
- package/dist/{pay-DW3Una4C.mjs → pay-CFNzmo6x.mjs} +1 -1
- package/dist/{pay-Dd7_FYzt.mjs → pay-ChPqdw_2.mjs} +1 -1
- package/dist/{payPal-BVXwPotf.mjs → payPal-BaaqnTEd.mjs} +1 -1
- package/dist/{payPal-BEW7zVSJ.mjs → payPal-J41FJEQT.mjs} +1 -1
- package/dist/{sale-BR1khQTm.mjs → sale-DRffAw0b.mjs} +1 -1
- package/dist/{sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs → sale.vue_vue_type_script_setup_true_lang-B9XpAinA.mjs} +15 -15
- package/dist/{today-DOoqfysH.mjs → today-A4CUV61Z.mjs} +1 -1
- package/dist/{today-CMdgJzD1.mjs → today-BCH2VB3u.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-JHDDBxqL.mjs → today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-CqrGSzNw.mjs → today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs} +1 -1
- package/dts/src/constant.d.ts +3 -3
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { useI18n as ae } from "vue-i18n";
|
|
|
3
3
|
import { useRoute as le } from "vue-router";
|
|
4
4
|
import { useUserStore as w, clearEmpty as ne, request as oe, useTableHooks as re } from "jmash-core";
|
|
5
5
|
import { tokenExt as U } from "xyvcard-agent";
|
|
6
|
-
import { D as v, C as z } from "./index-
|
|
6
|
+
import { D as v, C as z } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class se {
|
|
8
8
|
getKey(g) {
|
|
9
9
|
return {
|
|
@@ -3,7 +3,7 @@ import { useI18n as ae } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as M, 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 S } from "xyvcard-agent";
|
|
6
|
-
import { D as T, C as V } from "./index-
|
|
6
|
+
import { D as T, C as V } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class se {
|
|
8
8
|
getKey(d) {
|
|
9
9
|
return {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as ae, getCurrentInstance as te, ref as I, 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 P } from "./index-
|
|
5
|
+
import { D as y, C as P } from "./index-CxsNyMdg.mjs";
|
|
6
6
|
import { tokenExt as U } from "xyvcard-agent";
|
|
7
7
|
class pe {
|
|
8
8
|
getKey(m) {
|
|
@@ -2694,7 +2694,7 @@ const Ci = {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
};
|
|
2696
2696
|
}
|
|
2697
|
-
}, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"),
|
|
2697
|
+
}, Li = [], Ii = () => import("./index-DsIwC6AS.mjs"), Hi = () => import("./index-BeWMoc5O.mjs"), ji = () => import("./index-C7SyVjkv.mjs"), zi = () => import("./index-DTKuEs0C.mjs"), Ui = [
|
|
2698
2698
|
{
|
|
2699
2699
|
path: "/redirect",
|
|
2700
2700
|
component: ze,
|
|
@@ -2736,8 +2736,8 @@ const Ci = {
|
|
|
2736
2736
|
path: "/dashboard",
|
|
2737
2737
|
// component: DashboardPage,
|
|
2738
2738
|
// component: merchantHomePage,
|
|
2739
|
+
// component: agentHomePage,
|
|
2739
2740
|
component: Hi,
|
|
2740
|
-
// component: pintaiHomePage,
|
|
2741
2741
|
name: "Dashboard",
|
|
2742
2742
|
// 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致
|
|
2743
2743
|
// https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
|
|
@@ -2769,17 +2769,17 @@ 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-
|
|
2772
|
+
const Ei = /* @__PURE__ */ Object.assign({ "./views/payment/agentHomePage/index.vue": () => import("./index-C7SyVjkv.mjs"), "./views/payment/agentHomePage/merchant.vue": () => import("./merchant-DgUIa-Xb.mjs"), "./views/payment/agentHomePage/pay.vue": () => import("./pay-ChPqdw_2.mjs"), "./views/payment/agentHomePage/payPal.vue": () => import("./payPal-BaaqnTEd.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-BeWMoc5O.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-DsIwC6AS.mjs"), "./views/payment/merchantHomePage/index.vue": () => import("./index-DTKuEs0C.mjs"), "./views/payment/merchantHomePage/trend.vue": () => import("./trend-iT9IXU1F.mjs").then((e) => e.t), "./views/payment/pay-trade-personal/index.vue": () => import("./index-BMu6LbUO.mjs"), "./views/payment/pay-trade/index.vue": () => import("./index-DO9NFUT1.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-DwKRJ0NX.mjs"), "./views/payment/settle-trade-merchant-personal/index.vue": () => import("./index-DzwVe4IZ.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-D0TmvQVF.mjs"), "./views/payment/settle-trade-receipt-personal/history.vue": () => import("./history-B7h6umTa.mjs"), "./views/payment/settle-trade-receipt-personal/index.vue": () => import("./index-CjnGDPpK.mjs"), "./views/payment/settle-trade-receipt-personal/today.vue": () => import("./today-A4CUV61Z.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-DJpkp996.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-C2xcDRi4.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-BCH2VB3u.mjs") }), Zi = {
|
|
2773
2773
|
install(e) {
|
|
2774
2774
|
xs(Ei, 7), Ws(bs), e.use(Ci);
|
|
2775
2775
|
}
|
|
2776
2776
|
};
|
|
2777
2777
|
export {
|
|
2778
|
-
|
|
2778
|
+
ji as a,
|
|
2779
2779
|
Ii as b,
|
|
2780
2780
|
l as h,
|
|
2781
2781
|
zi as m,
|
|
2782
|
-
|
|
2782
|
+
Hi as p,
|
|
2783
2783
|
Ai as r,
|
|
2784
2784
|
Zi as s
|
|
2785
2785
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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 a, 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 E from "./pay-
|
|
5
|
-
import S from "./payPal-
|
|
4
|
+
import E from "./pay-CFNzmo6x.mjs";
|
|
5
|
+
import S from "./payPal-J41FJEQT.mjs";
|
|
6
6
|
import b from "./trend-D8pStiQ5.mjs";
|
|
7
|
-
import { C as N } from "./index-
|
|
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",
|
|
@@ -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-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-C4SLSoNL.mjs";
|
|
3
|
+
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-C8tQ6YOQ.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-zsIaZMNT.mjs";
|
|
4
|
-
import { C as p } from "./index-
|
|
5
|
-
import P from "./pay-
|
|
6
|
-
import S from "./payPal-
|
|
4
|
+
import { C as p } from "./index-CxsNyMdg.mjs";
|
|
5
|
+
import P from "./pay-ChPqdw_2.mjs";
|
|
6
|
+
import S from "./payPal-BaaqnTEd.mjs";
|
|
7
7
|
import V from "./trend-DMpZSOlJ.mjs";
|
|
8
|
-
import { _ as I } from "./sale.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as b } from "./merchant.vue_vue_type_script_setup_true_lang-
|
|
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",
|
|
@@ -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-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-fBUUTlwi.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,8 +1,8 @@
|
|
|
1
1
|
var E = Object.defineProperty;
|
|
2
2
|
var l = (a, s, i) => s in a ? E(a, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[s] = i;
|
|
3
3
|
var e = (a, s, i) => l(a, typeof s != "symbol" ? s + "" : s, i);
|
|
4
|
-
import { BizLayDict as
|
|
5
|
-
import { infoApi as
|
|
4
|
+
import { BizLayDict as y, BizDict as h, EnumDict as A } from "jmash-core";
|
|
5
|
+
import { infoApi as p } from "xyvcard-agent";
|
|
6
6
|
import { institutionApi as D } from "xyvcard-insts";
|
|
7
7
|
import { merchantsApi as d } from "xyvcard-merchant";
|
|
8
8
|
class t {
|
|
@@ -12,9 +12,9 @@ e(t, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
|
|
|
12
12
|
e(t, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 时间格式 RFC-年月日时分
|
|
13
13
|
e(t, "RPC_FORMAT_DATA", "YYYY-MM-DD"), // 支付方式
|
|
14
14
|
e(t, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
|
|
15
|
-
e(t, "TRADE_TYPE", "xyvcard.payment.protobuf.
|
|
16
|
-
e(t, "ORDER_STATUS", "xyvcard.payment.protobuf.
|
|
17
|
-
e(t, "TRADE_STATUS", "xyvcard.payment.protobuf.
|
|
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
18
|
e(t, "AGENT_AGREE", "AGENT_AGREE"), // 支付方式颜色
|
|
19
19
|
e(t, "PAYMENT_COLORS", {
|
|
20
20
|
WECHAT: "#3DDEC1",
|
|
@@ -34,11 +34,11 @@ function T(a, s, i) {
|
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
class o extends
|
|
37
|
+
class o extends y {
|
|
38
38
|
// 实现 useValues 方法
|
|
39
39
|
useValues() {
|
|
40
40
|
return new Promise((s, i) => {
|
|
41
|
-
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0,
|
|
41
|
+
this.query.approved = t.AGENT_AGREE, this.query.hasApproved = !0, p.findList(this.query).then(({ data: u }) => {
|
|
42
42
|
this.values.length = 0, this.values.push(
|
|
43
43
|
...T(u.results, "agentAlias", "agentCode")
|
|
44
44
|
), s(this.values);
|
|
@@ -64,7 +64,7 @@ class m extends h {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
class
|
|
67
|
+
class P extends h {
|
|
68
68
|
// 实现 useValues 方法
|
|
69
69
|
useValues() {
|
|
70
70
|
return new Promise((s, i) => {
|
|
@@ -87,7 +87,7 @@ class n {
|
|
|
87
87
|
// 代理商
|
|
88
88
|
e(n, "agentBizDict", new o({})), // 落地机构
|
|
89
89
|
e(n, "instsBizDict", new m({})), // 商户名称
|
|
90
|
-
e(n, "merchantBizDict", new
|
|
90
|
+
e(n, "merchantBizDict", new P({})), // 支付方式
|
|
91
91
|
e(n, "payModeBizDict", new A(
|
|
92
92
|
t.PAYMENT_DICT,
|
|
93
93
|
t.PAY_MODE
|
|
@@ -3,7 +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 P } from "xyvcard-agent";
|
|
6
|
-
import { D as f, C as Q } from "./index-
|
|
6
|
+
import { D as f, C as Q } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class be {
|
|
8
8
|
getKey(T) {
|
|
9
9
|
return {
|
|
@@ -2,9 +2,9 @@ import { defineComponent as ae, getCurrentInstance as te, ref as I, 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 P } from "./index-
|
|
5
|
+
import { D as y, C as P } from "./index-CxsNyMdg.mjs";
|
|
6
6
|
import { tokenExt as U } from "xyvcard-agent";
|
|
7
|
-
import { r as pe } from "./index
|
|
7
|
+
import { r as pe } from "./index-BUFIww-v.mjs";
|
|
8
8
|
class ie {
|
|
9
9
|
getKey(i) {
|
|
10
10
|
return {
|
|
@@ -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
|
|
4
|
+
import { h as x } from "./index-BUFIww-v.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";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as J, getCurrentInstance as X, ref as A, 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 D } from "./index-
|
|
5
|
+
import { D as b, C as D } from "./index-CxsNyMdg.mjs";
|
|
6
6
|
import { tokenExt as de } from "xyvcard-agent";
|
|
7
7
|
class ie {
|
|
8
8
|
getKey(p) {
|
|
@@ -3,7 +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 P } from "xyvcard-agent";
|
|
6
|
-
import { D as f, C as Q } from "./index-
|
|
6
|
+
import { D as f, C as Q } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class be {
|
|
8
8
|
getKey(T) {
|
|
9
9
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as d, ref as u, resolveComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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:
|
|
9
|
+
src: g,
|
|
10
10
|
alt: "第一名"
|
|
11
11
|
}, V = {
|
|
12
12
|
key: 1,
|
|
13
|
-
src:
|
|
13
|
+
src: b,
|
|
14
14
|
alt: "第二名"
|
|
15
15
|
}, v = {
|
|
16
16
|
key: 2,
|
|
17
17
|
src: N,
|
|
18
18
|
alt: "第三名"
|
|
19
|
-
},
|
|
19
|
+
}, D = { key: 3 }, M = { key: 0 }, F = /* @__PURE__ */ d({
|
|
20
20
|
__name: "merchant",
|
|
21
|
-
setup(
|
|
21
|
+
setup(S) {
|
|
22
22
|
const p = u([]);
|
|
23
|
-
return
|
|
23
|
+
return B.newMerchant({ tokenExt: x.getTokenExt(E().user.tenant) }).then((_) => {
|
|
24
24
|
p.value = _.data.agentMerchantNumModel;
|
|
25
25
|
}), (_, o) => {
|
|
26
|
-
const s =
|
|
27
|
-
return a(), f(
|
|
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",
|
|
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",
|
|
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
|
-
|
|
78
|
+
F as _
|
|
79
79
|
};
|
|
@@ -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-
|
|
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-zsIaZMNT.mjs";
|
|
3
3
|
import { i as z } from "./index--_Po9Tig.mjs";
|
|
4
|
-
import { D as i } from "./index-
|
|
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,7 +1,7 @@
|
|
|
1
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-zsIaZMNT.mjs";
|
|
4
|
-
import { D as h, C as w } from "./index-
|
|
4
|
+
import { D as h, C as w } from "./index-CxsNyMdg.mjs";
|
|
5
5
|
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const C = /* @__PURE__ */ c({
|
|
7
7
|
__name: "payPal",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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, C as z } from "./index-
|
|
4
|
+
import { D as h, C as z } from "./index-CxsNyMdg.mjs";
|
|
5
5
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const b = /* @__PURE__ */ c({
|
|
7
7
|
__name: "payPal",
|
|
@@ -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
|
|
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 {
|
|
4
|
-
import { s as
|
|
5
|
-
const
|
|
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
|
-
},
|
|
9
|
+
}, v = {
|
|
10
10
|
key: 1,
|
|
11
11
|
src: g,
|
|
12
12
|
alt: "第二名"
|
|
13
|
-
},
|
|
13
|
+
}, w = {
|
|
14
14
|
key: 2,
|
|
15
15
|
src: N,
|
|
16
16
|
alt: "第三名"
|
|
17
|
-
},
|
|
17
|
+
}, A = { key: 3 }, D = { key: 0 }, j = /* @__PURE__ */ c({
|
|
18
18
|
__name: "sale",
|
|
19
|
-
setup(
|
|
19
|
+
setup(x) {
|
|
20
20
|
const _ = u([]);
|
|
21
|
-
return
|
|
21
|
+
return C.salesAmount({}).then((p) => {
|
|
22
22
|
_.value = p.data.results;
|
|
23
23
|
}), (p, o) => {
|
|
24
|
-
const
|
|
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
|
|
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",
|
|
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
|
|
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",
|
|
52
|
+
e.marketBy ? (a(), s("span", D, n(h(B)(e.marketBy)), 1)) : y("", !0)
|
|
53
53
|
]),
|
|
54
54
|
_: 1
|
|
55
55
|
}),
|
|
56
|
-
l
|
|
56
|
+
r(l, {
|
|
57
57
|
prop: "amount",
|
|
58
58
|
label: "交易金额",
|
|
59
59
|
align: "right"
|
|
@@ -3,7 +3,7 @@ import { useI18n as ne } from "vue-i18n";
|
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
4
|
import { useUserStore as v, clearEmpty as re, request as se, useTableHooks as ue } from "jmash-core";
|
|
5
5
|
import { channelApi as de } from "xyvcard-merchant";
|
|
6
|
-
import { D as d } from "./index-
|
|
6
|
+
import { D as d } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
import { tokenExt as z } from "xyvcard-agent";
|
|
8
8
|
class ie {
|
|
9
9
|
getKey(i) {
|
|
@@ -3,7 +3,7 @@ import { useI18n as X } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as v, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
|
|
4
4
|
import { tokenExt as V } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as le } from "xyvcard-merchant";
|
|
6
|
-
import { D as c } from "./index-
|
|
6
|
+
import { D as c } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class ae {
|
|
8
8
|
getKey(d) {
|
|
9
9
|
return {
|
package/dts/src/constant.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ export declare class Constant {
|
|
|
3
3
|
static readonly RPC_FORMAT_TIME = "YYYY-MM-DDTHH:mm:SSZ";
|
|
4
4
|
static readonly RPC_FORMAT_DATA = "YYYY-MM-DD";
|
|
5
5
|
static readonly PAY_MODE = "xyvcard.payment.protobuf.PayMode";
|
|
6
|
-
static readonly TRADE_TYPE = "xyvcard.payment.protobuf.
|
|
7
|
-
static readonly ORDER_STATUS = "xyvcard.payment.protobuf.
|
|
8
|
-
static readonly TRADE_STATUS = "xyvcard.payment.protobuf.
|
|
6
|
+
static readonly TRADE_TYPE = "xyvcard.payment.protobuf.PayTradeType";
|
|
7
|
+
static readonly ORDER_STATUS = "xyvcard.payment.protobuf.PayOrderStatus";
|
|
8
|
+
static readonly TRADE_STATUS = "xyvcard.payment.protobuf.PayTradeStatus";
|
|
9
9
|
static readonly AGENT_AGREE = "AGENT_AGREE";
|
|
10
10
|
static readonly PAYMENT_COLORS: {
|
|
11
11
|
WECHAT: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-settle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
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.
|
|
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",
|