xyvcard-settle 0.0.44 → 0.0.46

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 (36) hide show
  1. package/dist/agent-R-Ml-XTA.mjs +32 -0
  2. package/dist/{history-BAkRg2pq.mjs → history-DCwgJuDo.mjs} +1 -1
  3. package/dist/{history-Dn1bbCcI.mjs → history-DwIGzL72.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-CgrLgBqg.mjs → history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs} +26 -26
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-Dl65zcTa.mjs → history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs} +36 -36
  6. package/dist/{index-CaaOEjHM.mjs → index-B65gCM1w.mjs} +2 -2
  7. package/dist/{index-oJY5i5R_.mjs → index-B8Y2esGZ.mjs} +2 -2
  8. package/dist/{index-vF1PDwWz.mjs → index-BJDG5RJu.mjs} +34 -33
  9. package/dist/index-BSjUBqhl.mjs +725 -0
  10. package/dist/{index-A0dvO46M.mjs → index-BpX-ZCaL.mjs} +463 -461
  11. package/dist/{index-CbEHaatk.mjs → index-CWRtxckQ.mjs} +1 -1
  12. package/dist/{index-BTCLMpHR.mjs → index-ClDxB7Ty.mjs} +39 -39
  13. package/dist/{index-DsEuGxTJ.mjs → index-DSAnrTJ1.mjs} +36 -35
  14. package/dist/{index-DzN2x713.mjs → index-DcjjaDUk.mjs} +1 -1
  15. package/dist/{index-CE4_NZLb.mjs → index-UPAK9M6D.mjs} +1 -1
  16. package/dist/{index-Dp6vdCsP.mjs → index-d-nHEHMj.mjs} +228 -217
  17. package/dist/{index-BRU67qDa.mjs → index-yQjjxDcA.mjs} +34 -33
  18. package/dist/index.mjs +1 -1
  19. package/dist/merchant-D9rtENQd.mjs +32 -0
  20. package/dist/pay-CZR9oAkw.mjs +126 -0
  21. package/dist/pay-fu3fGrJB.mjs +106 -0
  22. package/dist/style.css +1 -1
  23. package/dist/{today-C1jwQmNs.mjs → today-CLfowatL.mjs} +1 -1
  24. package/dist/{today-ZrG0UNrv.mjs → today-eDeS0zsk.mjs} +1 -1
  25. package/dist/{today.vue_vue_type_script_setup_true_lang-BPQu6Gke.mjs → today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs} +1 -1
  26. package/dist/{today.vue_vue_type_script_setup_true_lang-CZqnx44q.mjs → today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs} +1 -1
  27. package/dts/src/api/settle/agent.d.ts +4 -4
  28. package/dts/src/api/settle/history-pay-trade/index.d.ts +8 -0
  29. package/dts/src/api/settle/history-pay-trade/types.d.ts +83 -0
  30. package/dts/src/api/settle/merchant.d.ts +9 -0
  31. package/dts/src/lang/settle/zh-cn.d.ts +2 -0
  32. package/dts/src/views/payment/history-pay-trade/index.vue.d.ts +2 -0
  33. package/package.json +2 -2
  34. package/dist/agent-BXhE-jbg.mjs +0 -32
  35. package/dist/pay-CvwrYB4j.mjs +0 -121
  36. package/dist/pay-Db-UEae3.mjs +0 -101
@@ -0,0 +1,32 @@
1
+ var f = Object.defineProperty;
2
+ var u = (e, s, r) => s in e ? f(e, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[s] = r;
3
+ var n = (e, s, r) => u(e, typeof s != "symbol" ? s + "" : s, r);
4
+ import { reactive as t } from "vue";
5
+ import { infoApi as o } from "xyvcard-agent";
6
+ class a {
7
+ constructor() {
8
+ // 用户信息缓存
9
+ n(this, "userInfoMap", /* @__PURE__ */ new Map());
10
+ // 默认用户信息
11
+ n(this, "defauleUserInfo", t({}));
12
+ }
13
+ // 获取用户信息
14
+ userInfo(s) {
15
+ if (s == null || s === "")
16
+ return this.defauleUserInfo;
17
+ if (!this.userInfoMap.has(s)) {
18
+ const r = t({});
19
+ this.userInfoMap.set(s, r), o.findById({ agentCode: s }).then((i) => {
20
+ Object.assign(r, i.data);
21
+ });
22
+ }
23
+ return this.userInfoMap.get(s);
24
+ }
25
+ }
26
+ const p = new a();
27
+ function A(e) {
28
+ return p.userInfo(e).agentAlias;
29
+ }
30
+ export {
31
+ A as g
32
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-Dl65zcTa.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-CgrLgBqg.mjs";
1
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,35 +1,35 @@
1
- import { defineComponent as K, getCurrentInstance as Q, ref as D, onActivated as q, resolveComponent as s, createElementBlock as b, openBlock as u, createVNode as a, withCtx as l, withKeys as R, unref as o, Fragment as x, renderList as G, createBlock as w, withDirectives as J, vShow as O, createTextVNode as g, toDisplayString as f, createCommentVNode as W, isRef as C } from "vue";
1
+ import { defineComponent as K, getCurrentInstance as Q, ref as v, onActivated as q, resolveComponent as s, createElementBlock as b, openBlock as i, createVNode as a, withCtx as l, withKeys as R, unref as o, Fragment as x, renderList as G, createBlock as w, withDirectives as J, vShow as O, createTextVNode as g, toDisplayString as f, createCommentVNode as W, isRef as C } from "vue";
2
2
  import { useI18n as X } from "vue-i18n";
3
3
  import { useUserStore as I, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
4
4
  import { channelApi as ae } from "xyvcard-merchant";
5
5
  import { tokenExt as le } from "xyvcard-agent";
6
- import { D as v } from "./index-yz18Lhpm.mjs";
6
+ import { D } from "./index-yz18Lhpm.mjs";
7
7
  import { DateRange as ne } from "xyvcard-insts";
8
- import { g as oe } from "./agent-BXhE-jbg.mjs";
8
+ import { g as oe } from "./agent-R-Ml-XTA.mjs";
9
9
  class re {
10
- getKey(i) {
10
+ getKey(u) {
11
11
  return {
12
- receiptId: i.receiptId
12
+ receiptId: u.receiptId
13
13
  };
14
14
  }
15
15
  // 查询翻页信息划款信息查询-到账(历史)
16
- findPage(i) {
16
+ findPage(u) {
17
17
  const _ = I().user.tenant;
18
- return Z(i), ee({
18
+ return Z(u), ee({
19
19
  url: "/v1/settle/receipt/my/page/" + _,
20
20
  method: "get",
21
- params: i
21
+ params: u
22
22
  });
23
23
  }
24
24
  }
25
- const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { key: 1 }, he = /* @__PURE__ */ K({
25
+ const se = new re(), de = { class: "app-container" }, ue = { key: 0 }, ie = { key: 1 }, he = /* @__PURE__ */ K({
26
26
  __name: "history",
27
27
  setup(S) {
28
- const { t: i } = X();
29
- v.instsBizDict.useValues();
30
- const { proxy: _ } = Q(), r = D({
28
+ const { t: u } = X();
29
+ D.instsBizDict.useValues();
30
+ const { proxy: _ } = Q(), r = v({
31
31
  tokenExt: le.getTokenExt(I().user.tenant)
32
- }), M = D([]), k = localStorage.getItem("selectMerchantId");
32
+ }), M = v([]), k = localStorage.getItem("selectMerchantId");
33
33
  ae.myFindList({ merchantId: k }).then((n) => {
34
34
  M.value = n.data.results;
35
35
  });
@@ -40,8 +40,8 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
40
40
  listLoading: $,
41
41
  tableData: Y,
42
42
  total: y
43
- } = te(i, se, r);
44
- let p = D([
43
+ } = te(u, se, r);
44
+ let p = v([
45
45
  // 序号
46
46
  {
47
47
  label: "settleTradeReceipt.index",
@@ -121,14 +121,14 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
121
121
  function A(n) {
122
122
  d.selectionRows.value = n;
123
123
  }
124
- function U(n) {
124
+ function E(n) {
125
125
  d.handleSort(n.prop, n.order);
126
126
  }
127
127
  return q(() => {
128
128
  d.getList();
129
129
  }), (n, t) => {
130
- const E = s("el-input"), m = s("el-form-item"), c = s("el-col"), z = s("el-option"), j = s("el-select"), h = s("el-row"), T = s("el-button"), B = s("el-form"), L = s("jmash-column-select"), P = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
131
- return u(), b("div", de, [
130
+ const U = s("el-input"), m = s("el-form-item"), c = s("el-col"), z = s("el-option"), j = s("el-select"), h = s("el-row"), T = s("el-button"), B = s("el-form"), L = s("jmash-column-select"), P = s("jmash-table"), F = s("jmash-pagination"), H = s("el-card");
131
+ return i(), b("div", de, [
132
132
  a(B, {
133
133
  ref_key: "queryFormRef",
134
134
  ref: V,
@@ -145,7 +145,7 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
145
145
  prop: "termNo"
146
146
  }, {
147
147
  default: l(() => [
148
- a(E, {
148
+ a(U, {
149
149
  modelValue: r.value.termNo,
150
150
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.termNo = e),
151
151
  placeholder: n.$t("settleTradeReceipt.termNoRead"),
@@ -175,9 +175,9 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
175
175
  clearable: ""
176
176
  }, {
177
177
  default: l(() => [
178
- (u(!0), b(x, null, G(M.value, (e) => (u(), w(z, {
178
+ (i(!0), b(x, null, G(M.value, (e) => (i(), w(z, {
179
179
  key: e.channelId,
180
- label: o(v).instsBizDict.getValue(e.instsId) || e.instsId,
180
+ label: o(D).instsBizDict.getValue(e.instsId) || e.instsId,
181
181
  value: e.channelId
182
182
  }, null, 8, ["label", "value"]))), 128))
183
183
  ]),
@@ -279,7 +279,7 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
279
279
  })
280
280
  ]),
281
281
  footer: l(() => [
282
- o(y) > 0 ? (u(), w(F, {
282
+ o(y) > 0 ? (i(), w(F, {
283
283
  key: 0,
284
284
  total: o(y),
285
285
  "onUpdate:total": t[9] || (t[9] = (e) => C(y) ? y.value = e : null),
@@ -300,16 +300,16 @@ const se = new re(), de = { class: "app-container" }, ie = { key: 0 }, ue = { ke
300
300
  data: o(Y),
301
301
  "table-label": o(p),
302
302
  onSelectionChange: A,
303
- onSortChange: U
303
+ onSortChange: E
304
304
  }, {
305
305
  instsId: l((e) => [
306
- g(f(o(v).instsBizDict.getValue(e.data.row.instsId)), 1)
306
+ g(f(o(D).instsBizDict.getValue(e.data.row.instsId)), 1)
307
307
  ]),
308
308
  transferMoneyDate: l((e) => [
309
- e.data.row.transferMoneyDate ? (u(), b("span", ie, f(o(_).$moment.formatDate(
309
+ e.data.row.transferMoneyDate ? (i(), b("span", ue, f(o(_).$moment.formatDate(
310
310
  new Date(e.data.row.transferMoneyDate),
311
311
  "YYYY-MM-DD HH:mm"
312
- )), 1)) : (u(), b("span", ue))
312
+ )), 1)) : (i(), b("span", ie))
313
313
  ]),
314
314
  agentCode: l((e) => [
315
315
  g(f(o(oe)(e.data.row.agentCode)), 1)
@@ -1,9 +1,9 @@
1
- import { defineComponent as F, getCurrentInstance as W, ref as k, resolveComponent as i, createElementBlock as G, openBlock as T, createVNode as t, withCtx as a, createBlock as N, createCommentVNode as V, withKeys as M, unref as l, withDirectives as J, normalizeClass as O, vShow as X, createTextVNode as b, toDisplayString as y, isRef as S } from "vue";
1
+ import { defineComponent as F, getCurrentInstance as W, ref as k, resolveComponent as d, createElementBlock as G, openBlock as v, createVNode as t, withCtx as a, createBlock as N, createCommentVNode as V, withKeys as T, unref as l, withDirectives as J, normalizeClass as O, vShow as X, createTextVNode as b, toDisplayString as y, isRef as S } from "vue";
2
2
  import { useI18n as Z } from "vue-i18n";
3
3
  import { useRoute as ee } from "vue-router";
4
4
  import { useUserStore as $, clearEmpty as te, request as ae, useTableHooks as le } from "jmash-core";
5
5
  import { tokenExt as ne } from "xyvcard-agent";
6
- import { g as oe } from "./agent-BXhE-jbg.mjs";
6
+ import { g as oe } from "./agent-R-Ml-XTA.mjs";
7
7
  import { D as c } from "./index-yz18Lhpm.mjs";
8
8
  import { DateRange as re } from "xyvcard-insts";
9
9
  class se {
@@ -22,7 +22,7 @@ class se {
22
22
  });
23
23
  }
24
24
  }
25
- const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
25
+ const de = new se(), ue = { class: "app-container" }, he = /* @__PURE__ */ F({
26
26
  __name: "history",
27
27
  setup(I) {
28
28
  const { t: m } = Z();
@@ -30,13 +30,13 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
30
30
  const h = ee().query.tenant, { proxy: z } = W(), o = k({
31
31
  tokenExt: ne.getTokenExt($().user.tenant)
32
32
  }), {
33
- tableHooks: d,
34
- multipleTableRef: U,
33
+ tableHooks: u,
34
+ multipleTableRef: A,
35
35
  queryFormRef: Y,
36
- listLoading: A,
36
+ listLoading: U,
37
37
  tableData: B,
38
38
  total: g
39
- } = le(m, ie, o);
39
+ } = le(m, de, o);
40
40
  let f = k([
41
41
  // 序号
42
42
  {
@@ -114,15 +114,15 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
114
114
  isColumn: !0
115
115
  }
116
116
  ]);
117
- function j(r) {
118
- d.selectionRows.value = r;
119
- }
120
117
  function E(r) {
121
- d.handleSort(r.prop, r.order);
118
+ u.selectionRows.value = r;
119
+ }
120
+ function j(r) {
121
+ u.handleSort(r.prop, r.order);
122
122
  }
123
- return d.getList(), (r, e) => {
124
- const R = i("el-input"), u = i("el-form-item"), p = i("el-col"), P = i("el-tree-select"), K = i("jmash-select"), w = i("el-button"), C = i("el-row"), Q = i("el-form"), q = i("jmash-column-select"), H = i("jmash-table"), L = i("jmash-pagination"), x = i("el-card");
125
- return T(), G("div", de, [
123
+ return u.getList(), (r, e) => {
124
+ const R = d("el-input"), i = d("el-form-item"), p = d("el-col"), P = d("el-tree-select"), K = d("jmash-select"), w = d("el-button"), C = d("el-row"), Q = d("el-form"), q = d("jmash-column-select"), H = d("jmash-table"), L = d("jmash-pagination"), x = d("el-card");
125
+ return v(), G("div", ue, [
126
126
  t(Q, {
127
127
  ref_key: "queryFormRef",
128
128
  ref: Y,
@@ -137,7 +137,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
137
137
  return [
138
138
  t(p, { span: 6 }, {
139
139
  default: a(() => [
140
- t(u, {
140
+ t(i, {
141
141
  label: r.$t("settleTradeReceipt.likeMerchantName"),
142
142
  prop: "likeMerchantName"
143
143
  }, {
@@ -146,7 +146,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
146
146
  modelValue: o.value.likeMerchantName,
147
147
  "onUpdate:modelValue": e[0] || (e[0] = (s) => o.value.likeMerchantName = s),
148
148
  placeholder: r.$t("settleTradeReceipt.likeMerchantName"),
149
- onKeyup: e[1] || (e[1] = M((s) => l(d).handleQuery(), ["enter"])),
149
+ onKeyup: e[1] || (e[1] = T((s) => l(u).handleQuery(), ["enter"])),
150
150
  class: "!w-[203px]"
151
151
  }, null, 8, ["modelValue", "placeholder"])
152
152
  ]),
@@ -157,7 +157,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
157
157
  }),
158
158
  t(p, { span: 6 }, {
159
159
  default: a(() => [
160
- t(u, {
160
+ t(i, {
161
161
  label: r.$t("settleTradeReceipt.likeMerchantNo"),
162
162
  prop: "likeMerchantNo"
163
163
  }, {
@@ -166,7 +166,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
166
166
  modelValue: o.value.likeMerchantNo,
167
167
  "onUpdate:modelValue": e[2] || (e[2] = (s) => o.value.likeMerchantNo = s),
168
168
  placeholder: r.$t("settleTradeReceipt.likeMerchantNoRead"),
169
- onKeyup: e[3] || (e[3] = M((s) => l(d).handleQuery(), ["enter"])),
169
+ onKeyup: e[3] || (e[3] = T((s) => l(u).handleQuery(), ["enter"])),
170
170
  class: "!w-[203px]"
171
171
  }, null, 8, ["modelValue", "placeholder"])
172
172
  ]),
@@ -175,12 +175,12 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
175
175
  ]),
176
176
  _: 1
177
177
  }),
178
- (n = l(h)) != null && n.includes("@") ? V("", !0) : (T(), N(p, {
178
+ (n = l(h)) != null && n.includes("@") ? V("", !0) : (v(), N(p, {
179
179
  key: 0,
180
180
  span: 6
181
181
  }, {
182
182
  default: a(() => [
183
- t(u, {
183
+ t(i, {
184
184
  label: r.$t("settleTradeAnalysis.agentName"),
185
185
  prop: "agentCode"
186
186
  }, {
@@ -203,7 +203,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
203
203
  })),
204
204
  t(p, { span: 6 }, {
205
205
  default: a(() => [
206
- t(u, {
206
+ t(i, {
207
207
  label: r.$t("settleTradeAnalysis.channelId"),
208
208
  prop: "instsId"
209
209
  }, {
@@ -213,7 +213,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
213
213
  "onUpdate:modelValue": e[5] || (e[5] = (s) => o.value.instsId = s),
214
214
  placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
215
215
  data: l(c).instsBizDict.values,
216
- onKeyup: e[6] || (e[6] = M((s) => l(d).handleQuery(), ["enter"])),
216
+ onKeyup: e[6] || (e[6] = T((s) => l(u).handleQuery(), ["enter"])),
217
217
  class: "!w-[203px]",
218
218
  filterable: "",
219
219
  clearable: ""
@@ -226,18 +226,18 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
226
226
  }),
227
227
  t(p, { span: 6 }, {
228
228
  default: a(() => [
229
- t(u, {
229
+ t(i, {
230
230
  label: r.$t("settleTradeReceipt.createTime"),
231
- prop: "analysisTimeStart"
231
+ prop: "transferMoneyDateStart"
232
232
  }, {
233
233
  default: a(() => {
234
234
  var s;
235
235
  return [
236
236
  t(l(re), {
237
237
  "start-time": o.value.transferMoneyDateStart,
238
- "onUpdate:startTime": e[7] || (e[7] = (v) => o.value.transferMoneyDateStart = v),
238
+ "onUpdate:startTime": e[7] || (e[7] = (M) => o.value.transferMoneyDateStart = M),
239
239
  "end-time": o.value.transferMoneyDateEnd,
240
- "onUpdate:endTime": e[8] || (e[8] = (v) => o.value.transferMoneyDateEnd = v),
240
+ "onUpdate:endTime": e[8] || (e[8] = (M) => o.value.transferMoneyDateEnd = M),
241
241
  format: "YYYY-MM-DD",
242
242
  "value-format": "YYYY-MM-DD",
243
243
  "range-separator": "-",
@@ -249,7 +249,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
249
249
  }),
250
250
  _: 1
251
251
  }, 8, ["label"]),
252
- J(t(u, { prop: "endCreateTime" }, null, 512), [
252
+ J(t(i, { prop: "transferMoneyDateEnd" }, null, 512), [
253
253
  [X, !1]
254
254
  ])
255
255
  ]),
@@ -259,11 +259,11 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
259
259
  span: (_ = l(h)) != null && _.includes("@") ? 24 : 18
260
260
  }, {
261
261
  default: a(() => [
262
- t(u, { class: "search-btn" }, {
262
+ t(i, { class: "search-btn" }, {
263
263
  default: a(() => [
264
264
  t(w, {
265
265
  type: "primary",
266
- onClick: e[9] || (e[9] = (s) => l(d).handleQuery())
266
+ onClick: e[9] || (e[9] = (s) => l(u).handleQuery())
267
267
  }, {
268
268
  default: a(() => [
269
269
  b(y(r.$t("common.search")), 1)
@@ -271,7 +271,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
271
271
  _: 1
272
272
  }),
273
273
  t(w, {
274
- onClick: e[10] || (e[10] = (s) => l(d).resetQuery())
274
+ onClick: e[10] || (e[10] = (s) => l(u).resetQuery())
275
275
  }, {
276
276
  default: a(() => [
277
277
  b(y(r.$t("common.reset")), 1)
@@ -316,7 +316,7 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
316
316
  })
317
317
  ]),
318
318
  footer: a(() => [
319
- l(g) > 0 ? (T(), N(L, {
319
+ l(g) > 0 ? (v(), N(L, {
320
320
  key: 0,
321
321
  total: l(g),
322
322
  "onUpdate:total": e[12] || (e[12] = (n) => S(g) ? g.value = n : null),
@@ -324,20 +324,20 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
324
324
  "onUpdate:currentPage": e[13] || (e[13] = (n) => o.value.curPage = n),
325
325
  "page-size": o.value.pageSize,
326
326
  "onUpdate:pageSize": e[14] || (e[14] = (n) => o.value.pageSize = n),
327
- onPagination: e[15] || (e[15] = (n) => l(d).getList())
327
+ onPagination: e[15] || (e[15] = (n) => l(u).getList())
328
328
  }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
329
329
  ]),
330
330
  default: a(() => [
331
331
  t(H, {
332
332
  ref_key: "multipleTableRef",
333
- ref: U,
333
+ ref: A,
334
334
  "row-key": "receiptId",
335
335
  isSelection: !1,
336
- "list-loading": l(A),
336
+ "list-loading": l(U),
337
337
  data: l(B),
338
338
  "table-label": l(f),
339
- onSelectionChange: j,
340
- onSortChange: E
339
+ onSelectionChange: E,
340
+ onSortChange: j
341
341
  }, {
342
342
  instsId: a((n) => [
343
343
  b(y(l(c).instsBizDict.getValue(n.data.row.instsId)), 1)
@@ -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-CgrLgBqg.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-BPQu6Gke.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DVGITvdY.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs";
4
4
  const v = { class: "app-container" }, h = { class: "search-container" }, w = /* @__PURE__ */ r({
5
5
  __name: "index",
6
6
  setup(C) {
@@ -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-Dl65zcTa.mjs";
3
- import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-CZqnx44q.mjs";
2
+ import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs";
3
+ import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.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,13 @@
1
- import { defineComponent as X, ref as M, onActivated as x, resolveComponent as p, resolveDirective as ee, createElementBlock as R, openBlock as c, createElementVNode as b, createVNode as t, withCtx as l, withKeys as v, unref as n, createBlock as k, createCommentVNode as I, withDirectives as S, vShow as te, createTextVNode as r, toDisplayString as i, isRef as z } from "vue";
1
+ import { defineComponent as X, ref as _, onActivated as x, resolveComponent as p, resolveDirective as ee, createElementBlock as R, openBlock as v, createElementVNode as b, createVNode as t, withCtx as l, withKeys as c, unref as n, createBlock as k, createCommentVNode as I, withDirectives as S, vShow as te, createTextVNode as r, toDisplayString as i, isRef as z } from "vue";
2
2
  import { useRoute as le, useRouter as ae } from "vue-router";
3
3
  import { useI18n as ne } from "vue-i18n";
4
4
  import { useUserStore as U, clearEmpty as oe, request as se, useTableHooks as re } from "jmash-core";
5
5
  import { tokenExt as de } from "xyvcard-agent";
6
6
  import { D as f } from "./index-yz18Lhpm.mjs";
7
7
  import { DateRange as ue } from "xyvcard-insts";
8
- import { g as ie } from "./agent-BXhE-jbg.mjs";
9
- class me {
8
+ import { g as ie } from "./agent-R-Ml-XTA.mjs";
9
+ import { g as me } from "./merchant-D9rtENQd.mjs";
10
+ class pe {
10
11
  getKey(T) {
11
12
  return {
12
13
  analysisTime: T.analysisTime,
@@ -15,20 +16,20 @@ class me {
15
16
  }
16
17
  // 查询翻页信息支付交易汇总统计;
17
18
  findPage(T) {
18
- const N = U().user.tenant;
19
+ const D = U().user.tenant;
19
20
  return oe(T), se({
20
- url: "/v1/settle/analysis/merchant/page/" + N,
21
+ url: "/v1/settle/analysis/merchant/page/" + D,
21
22
  method: "get",
22
23
  params: T
23
24
  });
24
25
  }
25
26
  }
26
- const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-container" }, be = { class: "total-num" }, Te = { class: "blue_color" }, ce = { class: "blue_color" }, ve = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, he = ["onClick"], _e = /* @__PURE__ */ X({
27
+ const ye = new pe(), fe = { class: "app-container" }, be = { class: "search-container" }, Te = { class: "total-num" }, ve = { class: "blue_color" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, Ae = { class: "blue_color" }, he = { class: "blue_color" }, we = ["onClick"], Re = /* @__PURE__ */ X({
27
28
  __name: "index",
28
29
  setup(B) {
29
30
  const { t: T } = ne();
30
31
  f.agentBizDict.useValues(), f.instsBizDict.useValues(), f.merchantBizDict.useValues();
31
- const D = le().query.tenant, E = ae(), s = M({
32
+ const N = le().query.tenant, E = ae(), s = _({
32
33
  tokenExt: de.getTokenExt(U().user.tenant)
33
34
  }), {
34
35
  tableHooks: u,
@@ -37,8 +38,8 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
37
38
  listLoading: j,
38
39
  tableData: K,
39
40
  total: C
40
- } = re(T, pe, s);
41
- let g = u.totalRecord, A = M([
41
+ } = re(T, ye, s);
42
+ let g = u.totalRecord, A = _([
42
43
  // 序号
43
44
  {
44
45
  label: "settleTradeAnalysis.index",
@@ -159,9 +160,9 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
159
160
  return x(() => {
160
161
  u.getList();
161
162
  }), (o, e) => {
162
- const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"), _ = p("el-input"), h = p("el-row"), L = p("el-tree-select"), $ = p("el-button"), F = p("el-form"), O = p("jmash-column-select"), W = p("jmash-table"), Z = p("jmash-pagination"), G = p("el-card"), J = ee("hasPerm");
163
- return c(), R("div", ye, [
164
- b("div", fe, [
163
+ const V = p("jmash-select"), y = p("el-form-item"), d = p("el-col"), M = p("el-input"), h = p("el-row"), L = p("el-tree-select"), $ = p("el-button"), F = p("el-form"), O = p("jmash-column-select"), W = p("jmash-table"), Z = p("jmash-pagination"), G = p("el-card"), J = ee("hasPerm");
164
+ return v(), R("div", fe, [
165
+ b("div", be, [
165
166
  t(F, {
166
167
  ref_key: "queryFormRef",
167
168
  ref: P,
@@ -184,7 +185,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
184
185
  "onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.merchantId = a),
185
186
  placeholder: o.$t("payTrade.merchantIdRead"),
186
187
  data: n(f).merchantBizDict.values,
187
- onKeyup: e[1] || (e[1] = v((a) => n(u).handleQuery(), ["enter"])),
188
+ onKeyup: e[1] || (e[1] = c((a) => n(u).handleQuery(), ["enter"])),
188
189
  class: "!w-[203px]",
189
190
  filterable: "",
190
191
  clearable: ""
@@ -207,7 +208,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
207
208
  "onUpdate:modelValue": e[2] || (e[2] = (a) => s.value.payMode = a),
208
209
  placeholder: o.$t("settleTradeAnalysis.payModeRead"),
209
210
  data: n(f).payModeBizDict.values,
210
- onKeyup: e[3] || (e[3] = v((a) => n(u).handleQuery(), ["enter"])),
211
+ onKeyup: e[3] || (e[3] = c((a) => n(u).handleQuery(), ["enter"])),
211
212
  class: "!w-[203px]",
212
213
  filterable: "",
213
214
  clearable: ""
@@ -225,11 +226,11 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
225
226
  prop: "likeMerchantNo"
226
227
  }, {
227
228
  default: l(() => [
228
- t(_, {
229
+ t(M, {
229
230
  modelValue: s.value.likeMerchantNo,
230
231
  "onUpdate:modelValue": e[4] || (e[4] = (a) => s.value.likeMerchantNo = a),
231
232
  placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
232
- onKeyup: e[5] || (e[5] = v((a) => n(u).handleQuery(), ["enter"])),
233
+ onKeyup: e[5] || (e[5] = c((a) => n(u).handleQuery(), ["enter"])),
233
234
  class: "!w-[203px]"
234
235
  }, null, 8, ["modelValue", "placeholder"])
235
236
  ]),
@@ -245,11 +246,11 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
245
246
  prop: "termNo"
246
247
  }, {
247
248
  default: l(() => [
248
- t(_, {
249
+ t(M, {
249
250
  modelValue: s.value.termNo,
250
251
  "onUpdate:modelValue": e[6] || (e[6] = (a) => s.value.termNo = a),
251
252
  placeholder: o.$t("settleTradeAnalysis.termNoRead"),
252
- onKeyup: e[7] || (e[7] = v((a) => n(u).handleQuery(), ["enter"])),
253
+ onKeyup: e[7] || (e[7] = c((a) => n(u).handleQuery(), ["enter"])),
253
254
  class: "!w-[203px]"
254
255
  }, null, 8, ["modelValue", "placeholder"])
255
256
  ]),
@@ -265,7 +266,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
265
266
  default: l(() => {
266
267
  var a, w;
267
268
  return [
268
- (a = n(D)) != null && a.includes("@") ? I("", !0) : (c(), k(d, {
269
+ (a = n(N)) != null && a.includes("@") ? I("", !0) : (v(), k(d, {
269
270
  key: 0,
270
271
  span: 6
271
272
  }, {
@@ -303,7 +304,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
303
304
  "onUpdate:modelValue": e[9] || (e[9] = (m) => s.value.tradeType = m),
304
305
  placeholder: o.$t("settleTradeAnalysis.tradeTypeRead"),
305
306
  data: n(f).tradeTypeBizDict.values,
306
- onKeyup: e[10] || (e[10] = v((m) => n(u).handleQuery(), ["enter"])),
307
+ onKeyup: e[10] || (e[10] = c((m) => n(u).handleQuery(), ["enter"])),
307
308
  class: "!w-[203px]",
308
309
  filterable: "",
309
310
  clearable: ""
@@ -326,7 +327,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
326
327
  "onUpdate:modelValue": e[11] || (e[11] = (m) => s.value.instsId = m),
327
328
  placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
328
329
  data: n(f).instsBizDict.values,
329
- onKeyup: e[12] || (e[12] = v((m) => n(u).handleQuery(), ["enter"])),
330
+ onKeyup: e[12] || (e[12] = c((m) => n(u).handleQuery(), ["enter"])),
330
331
  class: "!w-[203px]",
331
332
  filterable: "",
332
333
  clearable: ""
@@ -365,7 +366,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
365
366
  ]),
366
367
  _: 1
367
368
  }),
368
- (w = n(D)) != null && w.includes("@") ? (c(), k(d, {
369
+ (w = n(N)) != null && w.includes("@") ? (v(), k(d, {
369
370
  key: 1,
370
371
  span: 6
371
372
  }, {
@@ -403,7 +404,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
403
404
  default: l(() => {
404
405
  var a;
405
406
  return [
406
- (a = n(D)) != null && a.includes("@") ? I("", !0) : (c(), k(d, {
407
+ (a = n(N)) != null && a.includes("@") ? I("", !0) : (v(), k(d, {
407
408
  key: 0,
408
409
  span: 24
409
410
  }, {
@@ -467,7 +468,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
467
468
  })
468
469
  ]),
469
470
  footer: l(() => [
470
- n(C) > 0 ? (c(), k(Z, {
471
+ n(C) > 0 ? (v(), k(Z, {
471
472
  key: 0,
472
473
  total: n(C),
473
474
  "onUpdate:total": e[20] || (e[20] = (a) => z(C) ? C.value = a : null),
@@ -479,13 +480,13 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
479
480
  }, null, 8, ["total", "current-page", "page-size"])) : I("", !0)
480
481
  ]),
481
482
  default: l(() => [
482
- b("div", be, [
483
+ b("div", Te, [
483
484
  t(h, { gutter: 20 }, {
484
485
  default: l(() => [
485
486
  t(d, { span: 4 }, {
486
487
  default: l(() => [
487
488
  e[25] || (e[25] = r(" 订单数: ")),
488
- b("span", Te, i(n(g).totalOrderCount), 1),
489
+ b("span", ve, i(n(g).totalOrderCount), 1),
489
490
  e[26] || (e[26] = r(" 笔 "))
490
491
  ]),
491
492
  _: 1
@@ -501,7 +502,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
501
502
  t(d, { span: 4 }, {
502
503
  default: l(() => [
503
504
  e[29] || (e[29] = r(" 交易金额: ")),
504
- b("span", ve, i(n(g).totalTradeAmount), 1),
505
+ b("span", ge, i(n(g).totalTradeAmount), 1),
505
506
  e[30] || (e[30] = r(" 元 "))
506
507
  ]),
507
508
  _: 1
@@ -509,7 +510,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
509
510
  t(d, { span: 4 }, {
510
511
  default: l(() => [
511
512
  e[31] || (e[31] = r(" 优惠金额: ")),
512
- b("span", ge, i(n(g).totalDiscountAmount), 1),
513
+ b("span", Ae, i(n(g).totalDiscountAmount), 1),
513
514
  e[32] || (e[32] = r(" 元 "))
514
515
  ]),
515
516
  _: 1
@@ -517,7 +518,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
517
518
  t(d, { span: 4 }, {
518
519
  default: l(() => [
519
520
  e[33] || (e[33] = r(" 手续费: ")),
520
- b("span", Ae, i(n(g).totalFeeAmt), 1),
521
+ b("span", he, i(n(g).totalFeeAmt), 1),
521
522
  e[34] || (e[34] = r(" 元 "))
522
523
  ]),
523
524
  _: 1
@@ -538,7 +539,7 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
538
539
  onSortChange: H
539
540
  }, {
540
541
  merchantId: l((a) => [
541
- r(i(n(f).merchantBizDict.getValue(a.data.row.merchantId)), 1)
542
+ r(i(n(me)(a.data.row.merchantId)), 1)
542
543
  ]),
543
544
  instsId: l((a) => [
544
545
  r(i(n(f).instsBizDict.getValue(a.data.row.instsId)), 1)
@@ -550,12 +551,12 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
550
551
  r(i(n(ie)(a.data.row.agentCode)), 1)
551
552
  ]),
552
553
  operation: l((a) => [
553
- S((c(), R("span", {
554
+ S((v(), R("span", {
554
555
  class: "el-button-color",
555
556
  onClick: (w) => Y(a.data.row)
556
557
  }, [
557
558
  r(i(o.$t("settleTradeAnalysis.view")), 1)
558
- ], 8, he)), [
559
+ ], 8, we)), [
559
560
  [J, ["payment:trade_analysis:view"]]
560
561
  ])
561
562
  ]),
@@ -569,5 +570,5 @@ const pe = new me(), ye = { class: "app-container" }, fe = { class: "search-cont
569
570
  }
570
571
  });
571
572
  export {
572
- _e as default
573
+ Re as default
573
574
  };