xyvcard-settle 0.0.37 → 0.0.38

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-B33Q3ZQC.mjs → index--PbK07xd.mjs} +45 -42
  7. package/dist/{index-B7xd6ock.mjs → index-2s-MEXAI.mjs} +2 -2
  8. package/dist/{index-BFHiB7kP.mjs → index-7mx7BVcy.mjs} +163 -161
  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-DHS0CvTn.mjs → index-Dd8mEaP-.mjs} +5 -4
  15. package/dist/{index-BV7Yx1ZN.mjs → index-cRii9rLo.mjs} +4 -3
  16. package/dist/{index-hDvYrxNX.mjs → index-jCpwk7yw.mjs} +7 -8
  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 +1 -1
  32. package/dist/index-CxsNyMdg.mjs +0 -110
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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-CxsNyMdg.mjs";
6
+ import { D as c } from "./index-vAEKctTI.mjs";
7
7
  class ae {
8
8
  getKey(d) {
9
9
  return {
@@ -3,29 +3,29 @@ 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-CxsNyMdg.mjs";
6
+ import { D as u } from "./index-vAEKctTI.mjs";
7
7
  import { tokenExt as N } from "xyvcard-agent";
8
8
  class ie {
9
- getKey(i) {
9
+ getKey(d) {
10
10
  return {
11
- receiptId: i.receiptId
11
+ receiptId: d.receiptId
12
12
  };
13
13
  }
14
14
  // 查询翻页信息划款信息查询-今日到账
15
- findPage(i) {
15
+ findPage(d) {
16
16
  const I = v().user.tenant;
17
- return re(i), se({
17
+ return re(d), se({
18
18
  url: "/v1/settle/receipt/today/" + I,
19
19
  method: "get",
20
- params: i
20
+ params: d
21
21
  });
22
22
  }
23
23
  }
24
24
  const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
25
25
  __name: "today",
26
26
  setup($) {
27
- const { t: i } = ne(), A = oe().query.tenant;
28
- d.instsBizDict.useValues(), d.merchantBizDict.useValues(), d.agentBizDict.useValues();
27
+ const { t: d } = ne(), A = oe().query.tenant;
28
+ u.instsBizDict.useValues(), u.merchantBizDict.useValues(), u.agentBizDict.useValues();
29
29
  const { proxy: B } = Z(), C = h([]), R = h(""), o = h({
30
30
  tokenExt: N.getTokenExt(v().user.tenant),
31
31
  channelId: R.value
@@ -36,13 +36,13 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
36
36
  });
37
37
  }
38
38
  const {
39
- tableHooks: u,
39
+ tableHooks: i,
40
40
  multipleTableRef: U,
41
41
  queryFormRef: x,
42
- listLoading: L,
42
+ listLoading: P,
43
43
  tableData: w,
44
44
  total: b
45
- } = ue(i, me, o);
45
+ } = ue(d, me, o);
46
46
  let f = h([
47
47
  // 序号
48
48
  {
@@ -120,17 +120,17 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
120
120
  isColumn: !0
121
121
  }
122
122
  ]);
123
- function P() {
123
+ function E() {
124
124
  o.value.merchantId = "", o.value.channelId = "", w.value = [];
125
125
  }
126
- function E(r) {
127
- u.selectionRows.value = r;
126
+ function L(r) {
127
+ i.selectionRows.value = r;
128
128
  }
129
129
  function Q(r) {
130
- u.handleSort(r.prop, r.order);
130
+ i.handleSort(r.prop, r.order);
131
131
  }
132
132
  function q() {
133
- u.handleQuery(), u.getList();
133
+ i.handleQuery();
134
134
  }
135
135
  return (r, t) => {
136
136
  const H = s("jmash-select"), _ = s("el-form-item"), y = s("el-col"), K = s("el-option"), Y = s("el-select"), D = s("el-button"), V = s("el-row"), F = s("el-form"), W = s("jmash-column-select"), G = s("jmash-table"), J = s("jmash-pagination"), O = s("el-card");
@@ -155,8 +155,8 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
155
155
  modelValue: o.value.merchantId,
156
156
  "onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
157
157
  placeholder: r.$t("payTrade.merchantIdRead"),
158
- data: n(d).merchantBizDict.values,
159
- onKeyup: t[1] || (t[1] = S((e) => n(u).handleQuery(), ["enter"])),
158
+ data: n(u).merchantBizDict.values,
159
+ onKeyup: t[1] || (t[1] = S((e) => n(i).handleQuery(), ["enter"])),
160
160
  class: "!w-[203px]",
161
161
  filterable: "",
162
162
  clearable: "",
@@ -179,7 +179,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
179
179
  modelValue: o.value.channelId,
180
180
  "onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
181
181
  placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
182
- onKeyup: t[3] || (t[3] = S((e) => n(u).handleQuery(), ["enter"])),
182
+ onKeyup: t[3] || (t[3] = S((e) => n(i).handleQuery(), ["enter"])),
183
183
  class: "!w-[203px]",
184
184
  filterable: "",
185
185
  clearable: ""
@@ -187,7 +187,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
187
187
  default: a(() => [
188
188
  (g(!0), k(ee, null, te(C.value, (e) => (g(), M(K, {
189
189
  key: e.channelId,
190
- label: n(d).instsBizDict.getValue(e.instsId) || e.instsId,
190
+ label: n(u).instsBizDict.getValue(e.instsId) || e.instsId,
191
191
  value: e.channelId
192
192
  }, null, 8, ["label", "value"]))), 128))
193
193
  ]),
@@ -213,7 +213,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
213
213
  _: 1
214
214
  }),
215
215
  l(D, {
216
- onClick: t[5] || (t[5] = (e) => P())
216
+ onClick: t[5] || (t[5] = (e) => E())
217
217
  }, {
218
218
  default: a(() => [
219
219
  c(p(r.$t("common.reset")), 1)
@@ -265,7 +265,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
265
265
  "onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
266
266
  "page-size": o.value.pageSize,
267
267
  "onUpdate:pageSize": t[9] || (t[9] = (e) => o.value.pageSize = e),
268
- onPagination: t[10] || (t[10] = (e) => n(u).getList())
268
+ onPagination: t[10] || (t[10] = (e) => n(i).getList())
269
269
  }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
270
270
  ]),
271
271
  default: a(() => {
@@ -276,10 +276,10 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
276
276
  ref: U,
277
277
  "row-key": "receiptId",
278
278
  isSelection: !1,
279
- "list-loading": n(L),
279
+ "list-loading": n(P),
280
280
  data: n(w),
281
281
  "table-label": n(f),
282
- onSelectionChange: E,
282
+ onSelectionChange: L,
283
283
  onSortChange: Q
284
284
  }, ae({
285
285
  transferMoneyDate: a((m) => [
@@ -289,14 +289,14 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
289
289
  )), 1)
290
290
  ]),
291
291
  instsId: a((m) => [
292
- c(p(n(d).instsBizDict.getValue(m.data.row.instsId)), 1)
292
+ c(p(n(u).instsBizDict.getValue(m.data.row.instsId)), 1)
293
293
  ]),
294
294
  _: 2
295
295
  }, [
296
296
  !((e = n(A)) != null && e.includes("@")) || T.value.merchantId ? {
297
297
  name: "agentCode",
298
298
  fn: a((m) => [
299
- c(p(n(d).agentBizDict.getValue(m.data.row.agentCode)), 1)
299
+ c(p(n(u).agentBizDict.getValue(m.data.row.agentCode)), 1)
300
300
  ]),
301
301
  key: "0"
302
302
  } : {
@@ -165,7 +165,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
165
165
  }, null, 512)
166
166
  ]));
167
167
  }
168
- }), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-c7cfdda7"]]);
168
+ }), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-c5981272"]]);
169
169
  export {
170
170
  F as default
171
171
  };
@@ -189,7 +189,7 @@ const A = new E(), $ = { class: "chart-container" }, z = /* @__PURE__ */ _({
189
189
  }, null, 512)
190
190
  ]));
191
191
  }
192
- }), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-2edcf294"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
192
+ }), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-21cf159a"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
193
193
  __proto__: null,
194
194
  default: F
195
195
  }, Symbol.toStringTag, { value: "Module" }));
@@ -14,4 +14,6 @@ export declare class Constant {
14
14
  BALANCE: string;
15
15
  NUCSPAY: string;
16
16
  };
17
+ static readonly MCHT_CHAIN_HEAD = "MCHT_CHAIN_HEAD";
18
+ static readonly MCHT_CHAIN_BRANCH = "MCHT_CHAIN_BRANCH";
17
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -1,110 +0,0 @@
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
- };