xyvcard-settle 0.0.23 → 0.0.25

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 (73) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  2. package/dist/{history-B8rLL6cg.mjs → history-B-gHLBwh.mjs} +1 -1
  3. package/dist/{history-GWPuNly4.mjs → history-BLctAU0P.mjs} +1 -1
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-Bu1bLQpr.mjs → history.vue_vue_type_script_setup_true_lang-Bov9wTh0.mjs} +34 -34
  5. package/dist/{history.vue_vue_type_script_setup_true_lang-CbfsFzBk.mjs → history.vue_vue_type_script_setup_true_lang-CAnnJEfn.mjs} +20 -21
  6. package/dist/index--_Po9Tig.mjs +43858 -0
  7. package/dist/{index-Cb7J-gqJ.mjs → index-AgzuDVOr.mjs} +117 -100
  8. package/dist/index-BocAk8pD.mjs +176 -0
  9. package/dist/{index-Cd659aKC.mjs → index-C2vMy8ik.mjs} +154 -153
  10. package/dist/index-C7K8v7BO.mjs +2702 -0
  11. package/dist/{index-C3Kdmtt0.mjs → index-CNAVEXHD.mjs} +2 -2
  12. package/dist/{index-by_iuKQb.mjs → index-Cg3fVoEi.mjs} +2 -2
  13. package/dist/index-CpuvJ4Tw.mjs +110 -0
  14. package/dist/index-CwhZGNVj.mjs +131 -0
  15. package/dist/index-DJtiZFc1.mjs +142 -0
  16. package/dist/index-DsIwC6AS.mjs +238 -0
  17. package/dist/index-P-8jwHYX.mjs +690 -0
  18. package/dist/{index-CEE_6GTV.mjs → index-YgHkUquv.mjs} +119 -105
  19. package/dist/{index-CGm_qU0S.mjs → index-dcnBl8Xl.mjs} +165 -140
  20. package/dist/index-eUhFgNKx.mjs +45 -0
  21. package/dist/index-zsIaZMNT.mjs +63 -0
  22. package/dist/index.mjs +3 -2693
  23. package/dist/merchant-DLx9AYoM.mjs +4 -0
  24. package/dist/merchant.vue_vue_type_script_setup_true_lang-Bxb9bzqv.mjs +77 -0
  25. package/dist/pay-C08cbM_l.mjs +101 -0
  26. package/dist/pay-DW3Una4C.mjs +98 -0
  27. package/dist/payPal-D2I3WIqV.mjs +113 -0
  28. package/dist/payPal-nXPX-3pm.mjs +109 -0
  29. package/dist/sale-BR1khQTm.mjs +4 -0
  30. package/dist/sale.vue_vue_type_script_setup_true_lang-W8968hkL.mjs +77 -0
  31. package/dist/style.css +1 -0
  32. package/dist/three-BE8B3lbG.mjs +6 -0
  33. package/dist/{today-BYQ_Njq5.mjs → today-r_ikFBLS.mjs} +1 -1
  34. package/dist/{today-CGeC5FRK.mjs → today-t0-6m3Qr.mjs} +1 -1
  35. package/dist/{today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs → today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs} +71 -81
  36. package/dist/{today.vue_vue_type_script_setup_true_lang-DI-SW_RJ.mjs → today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.mjs} +19 -19
  37. package/dist/tokenExt-SHK5rrb5.mjs +31 -0
  38. package/dist/trend-BOA_Pwtn.mjs +200 -0
  39. package/dist/trend-D8pStiQ5.mjs +171 -0
  40. package/dist/trend-pbYAF-aS.mjs +172 -0
  41. package/dts/src/api/settle/agent-settle/index.d.ts +13 -0
  42. package/dts/src/api/settle/agent-settle/types.d.ts +48 -0
  43. package/dts/src/api/settle/index.d.ts +1 -0
  44. package/dts/src/api/settle/insts-settle/index.d.ts +11 -0
  45. package/dts/src/api/settle/insts-settle/types.d.ts +32 -0
  46. package/dts/src/api/settle/mcht-homePage/index.d.ts +9 -0
  47. package/dts/src/api/settle/mcht-homePage/types.d.ts +34 -0
  48. package/dts/src/api/settle/pay-trade/types.d.ts +1 -0
  49. package/dts/src/api/settle/pay-trade-personal/types.d.ts +1 -0
  50. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -0
  51. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +3 -0
  52. package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +2 -0
  53. package/dts/src/constant.d.ts +9 -0
  54. package/dts/src/lang/settle/en.d.ts +0 -89
  55. package/dts/src/lang/settle/zh-cn.d.ts +8 -0
  56. package/dts/src/router/index.d.ts +4 -0
  57. package/dts/src/utils/tokenExt.d.ts +21 -0
  58. package/dts/src/views/payment/agentHomePage/index.vue.d.ts +2 -0
  59. package/dts/src/views/payment/agentHomePage/merchant.vue.d.ts +2 -0
  60. package/dts/src/views/payment/agentHomePage/pay.vue.d.ts +2 -0
  61. package/dts/src/views/payment/agentHomePage/payPal.vue.d.ts +2 -0
  62. package/dts/src/views/payment/agentHomePage/sale.vue.d.ts +2 -0
  63. package/dts/src/views/payment/agentHomePage/trend.vue.d.ts +2 -0
  64. package/dts/src/views/payment/instHomePage/index.vue.d.ts +2 -0
  65. package/dts/src/views/payment/instHomePage/pay.vue.d.ts +2 -0
  66. package/dts/src/views/payment/instHomePage/payPal.vue.d.ts +2 -0
  67. package/dts/src/views/payment/instHomePage/trend.vue.d.ts +2 -0
  68. package/dts/src/views/payment/instsLogin/index.vue.d.ts +2 -0
  69. package/dts/src/views/payment/merchantHomePage/index.vue.d.ts +2 -0
  70. package/dts/src/views/payment/merchantHomePage/trend.vue.d.ts +2 -0
  71. package/package.json +62 -61
  72. package/dist/index-NM7NGo1Y.mjs +0 -534
  73. package/dist/index-q_VWJKNr.mjs +0 -99
@@ -0,0 +1,6 @@
1
+ const A = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAV3SURBVEiJ7ZZbiF1XGcd/39rXs2fmpJNJT8bMtGawpaY4jig1Bowa6IukCqUEsUpBFH0oFkWoFywOKl5abxQffLFiRW2HEoRoi1TrQ0WURNLGnNQ2STOZTDvpdGbOZc5tX9b6fJiZOtOeiRVBfPAPC/ba31r///f/9tp8C/6P/zbmXp7eo4pszKvVI2HaveejncaX7z93brqyOfZ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,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-DQ0U1jh1.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-DsmG2Z4w.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-DI-SW_RJ.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-BzhCmlc2.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as W, getCurrentInstance as X, ref as h, resolveComponent as r, createElementBlock as S, openBlock as y, createVNode as l, withCtx as a, withKeys as V, unref as o, Fragment as Z, renderList as ee, createBlock as k, createTextVNode as c, toDisplayString as p, createSlots as te, createCommentVNode as ae, isRef as M } from "vue";
2
- import { useUserStore as v, clearEmpty as le, request as ne, useTableHooks as oe } from "jmash-core";
3
- import { useI18n as se } from "vue-i18n";
4
- import { D as d } from "./index-q_VWJKNr.mjs";
5
- import { channelApi as re } from "xyvcard-merchant";
6
- import { tokenExt as ue } from "xyvcard-agent";
7
- import { useRoute as de } from "vue-router";
1
+ import { defineComponent as G, getCurrentInstance as X, ref as h, resolveComponent as s, createElementBlock as S, openBlock as y, createVNode as n, withCtx as a, withKeys as V, unref as l, Fragment as Z, renderList as ee, createBlock as k, createTextVNode as c, toDisplayString as p, createSlots as te, createCommentVNode as ae, isRef as M } from "vue";
2
+ import { useI18n as ne } from "vue-i18n";
3
+ import { useRoute as le } from "vue-router";
4
+ import { useUserStore as v, clearEmpty as oe, request as re, useTableHooks as se } from "jmash-core";
5
+ import { channelApi as ue } from "xyvcard-merchant";
6
+ import { D as d } from "./index-CpuvJ4Tw.mjs";
7
+ import { tokenExt as de } from "xyvcard-agent";
8
8
  class ie {
9
9
  getKey(i) {
10
10
  return {
@@ -14,20 +14,20 @@ class ie {
14
14
  // 查询翻页信息划款信息查询-今日到账
15
15
  findPage(i) {
16
16
  const I = v().user.tenant;
17
- return le(i), ne({
17
+ return oe(i), re({
18
18
  url: "/v1/settle/receipt/today/" + I,
19
19
  method: "get",
20
20
  params: i
21
21
  });
22
22
  }
23
23
  }
24
- const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
24
+ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ G({
25
25
  __name: "today",
26
26
  setup(N) {
27
- const { t: i } = se(), z = de().query.tenant;
27
+ const { t: i } = ne(), z = le().query.tenant;
28
28
  d.instsBizDict.useValues(), d.merchantBizDict.useValues(), d.agentBizDict.useValues();
29
- const { proxy: A } = X(), C = h([]), T = h(""), s = h({
30
- tokenExt: ue.getTokenExt(v().user.tenant),
29
+ const { proxy: A } = X(), C = h([]), T = h(""), o = h({
30
+ tokenExt: de.getTokenExt(v().user.tenant),
31
31
  channelId: T.value
32
32
  }), $ = h(
33
33
  JSON.parse(
@@ -35,8 +35,8 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
35
35
  )
36
36
  );
37
37
  function B() {
38
- s.value.channelId = "", re.findList({ merchantId: s.value.merchantId }).then((n) => {
39
- console.log(n, "=> res1231"), C.value = n.data.results, T.value = n.data.results.map((t) => t.channelId);
38
+ o.value.channelId = "", ue.findList({ merchantId: o.value.merchantId }).then((r) => {
39
+ C.value = r.data.results, T.value = r.data.results.map((t) => t.channelId);
40
40
  });
41
41
  }
42
42
  const {
@@ -46,7 +46,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
46
46
  listLoading: x,
47
47
  tableData: R,
48
48
  total: b
49
- } = oe(i, me, s);
49
+ } = se(i, me, o);
50
50
  let f = h([
51
51
  // 序号
52
52
  {
@@ -59,18 +59,8 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
59
59
  {
60
60
  label: "settleTradeReceipt.merchantName",
61
61
  prop: "merchantName",
62
- width: "200",
63
62
  sortable: "custom",
64
- isColumn: !0
65
- },
66
- // 渠道
67
- {
68
- label: "settleTradeReceipt.channelId",
69
- prop: "instsId",
70
- sortable: "custom",
71
- slotName: "instsId",
72
- columnType: "slot",
73
- width: "150",
63
+ minWidth: "200",
74
64
  isColumn: !0
75
65
  },
76
66
  // 连锁号
@@ -117,7 +107,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
117
107
  },
118
108
  // 代理商编号
119
109
  {
120
- label: "settleTradeReceipt.agentCode",
110
+ label: "settleTradeReceipt.agentName",
121
111
  prop: "agentCode",
122
112
  slotName: "agentCode",
123
113
  columnType: "slot",
@@ -135,42 +125,42 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
135
125
  }
136
126
  ]);
137
127
  function L() {
138
- s.value.merchantId = "", s.value.channelId = "", R.value = [];
128
+ o.value.merchantId = "", o.value.channelId = "", R.value = [];
139
129
  }
140
- function P(n) {
141
- u.selectionRows.value = n;
130
+ function P(r) {
131
+ u.selectionRows.value = r;
142
132
  }
143
- function E(n) {
144
- u.handleSort(n.prop, n.order);
133
+ function E(r) {
134
+ u.handleSort(r.prop, r.order);
145
135
  }
146
136
  function Q() {
147
137
  u.handleQuery(), u.getList();
148
138
  }
149
- return (n, t) => {
150
- const q = r("jmash-select"), _ = r("el-form-item"), g = r("el-col"), H = r("el-option"), K = r("el-select"), w = r("el-button"), D = r("el-row"), Y = r("el-form"), F = r("jmash-column-select"), J = r("jmash-table"), O = r("jmash-pagination"), G = r("el-card");
139
+ return (r, t) => {
140
+ const q = s("jmash-select"), _ = s("el-form-item"), g = s("el-col"), H = s("el-option"), K = s("el-select"), w = s("el-button"), D = s("el-row"), Y = s("el-form"), F = s("jmash-column-select"), J = s("jmash-table"), O = s("jmash-pagination"), W = s("el-card");
151
141
  return y(), S("div", ce, [
152
- l(Y, {
142
+ n(Y, {
153
143
  ref_key: "queryFormRef",
154
144
  ref: U,
155
- model: s.value,
145
+ model: o.value,
156
146
  inline: !0
157
147
  }, {
158
148
  default: a(() => [
159
- l(D, null, {
149
+ n(D, null, {
160
150
  default: a(() => [
161
- l(g, { span: 6 }, {
151
+ n(g, { span: 6 }, {
162
152
  default: a(() => [
163
- l(_, {
164
- label: n.$t("payTrade.merchantId"),
153
+ n(_, {
154
+ label: r.$t("payTrade.merchantId"),
165
155
  prop: "version"
166
156
  }, {
167
157
  default: a(() => [
168
- l(q, {
169
- modelValue: s.value.merchantId,
170
- "onUpdate:modelValue": t[0] || (t[0] = (e) => s.value.merchantId = e),
171
- placeholder: n.$t("payTrade.merchantIdRead"),
172
- data: o(d).merchantBizDict.values,
173
- onKeyup: t[1] || (t[1] = V((e) => o(u).handleQuery(), ["enter"])),
158
+ n(q, {
159
+ modelValue: o.value.merchantId,
160
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
161
+ placeholder: r.$t("payTrade.merchantIdRead"),
162
+ data: l(d).merchantBizDict.values,
163
+ onKeyup: t[1] || (t[1] = V((e) => l(u).handleQuery(), ["enter"])),
174
164
  class: "!w-[203px]",
175
165
  filterable: "",
176
166
  clearable: "",
@@ -182,18 +172,18 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
182
172
  ]),
183
173
  _: 1
184
174
  }),
185
- l(g, { span: 6 }, {
175
+ n(g, { span: 6 }, {
186
176
  default: a(() => [
187
- l(_, {
188
- label: n.$t("settleTradeAnalysis.channelId"),
177
+ n(_, {
178
+ label: r.$t("settleTradeAnalysis.channelId"),
189
179
  prop: "channelId"
190
180
  }, {
191
181
  default: a(() => [
192
- l(K, {
193
- modelValue: s.value.channelId,
194
- "onUpdate:modelValue": t[2] || (t[2] = (e) => s.value.channelId = e),
195
- placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
196
- onKeyup: t[3] || (t[3] = V((e) => o(u).handleQuery(), ["enter"])),
182
+ n(K, {
183
+ modelValue: o.value.channelId,
184
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
185
+ placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
186
+ onKeyup: t[3] || (t[3] = V((e) => l(u).handleQuery(), ["enter"])),
197
187
  class: "!w-[203px]",
198
188
  filterable: "",
199
189
  clearable: ""
@@ -201,7 +191,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
201
191
  default: a(() => [
202
192
  (y(!0), S(Z, null, ee(C.value, (e) => (y(), k(H, {
203
193
  key: e.channelId,
204
- label: o(d).instsBizDict.getValue(e.instsId) || e.instsId,
194
+ label: l(d).instsBizDict.getValue(e.instsId) || e.instsId,
205
195
  value: e.channelId
206
196
  }, null, 8, ["label", "value"]))), 128))
207
197
  ]),
@@ -213,24 +203,24 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
213
203
  ]),
214
204
  _: 1
215
205
  }),
216
- l(g, { span: 12 }, {
206
+ n(g, { span: 12 }, {
217
207
  default: a(() => [
218
- l(_, { class: "search-btn" }, {
208
+ n(_, { class: "search-btn" }, {
219
209
  default: a(() => [
220
- l(w, {
210
+ n(w, {
221
211
  type: "primary",
222
212
  onClick: t[4] || (t[4] = (e) => Q())
223
213
  }, {
224
214
  default: a(() => [
225
- c(p(n.$t("common.search")), 1)
215
+ c(p(r.$t("common.search")), 1)
226
216
  ]),
227
217
  _: 1
228
218
  }),
229
- l(w, {
219
+ n(w, {
230
220
  onClick: t[5] || (t[5] = (e) => L())
231
221
  }, {
232
222
  default: a(() => [
233
- c(p(n.$t("common.reset")), 1)
223
+ c(p(r.$t("common.reset")), 1)
234
224
  ]),
235
225
  _: 1
236
226
  })
@@ -246,20 +236,20 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
246
236
  ]),
247
237
  _: 1
248
238
  }, 8, ["model"]),
249
- l(G, {
239
+ n(W, {
250
240
  shadow: "never",
251
241
  class: "table-container"
252
242
  }, {
253
243
  header: a(() => [
254
- l(D, null, {
244
+ n(D, null, {
255
245
  default: a(() => [
256
- l(g, {
246
+ n(g, {
257
247
  span: 24,
258
248
  class: "container-float"
259
249
  }, {
260
250
  default: a(() => [
261
- l(F, {
262
- modelValue: o(f),
251
+ n(F, {
252
+ modelValue: l(f),
263
253
  "onUpdate:modelValue": t[6] || (t[6] = (e) => M(f) ? f.value = e : f = e),
264
254
  "label-name": "settle/settle-trade-receipt"
265
255
  }, null, 8, ["modelValue"])
@@ -271,43 +261,43 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
271
261
  })
272
262
  ]),
273
263
  footer: a(() => [
274
- o(b) > 0 ? (y(), k(O, {
264
+ l(b) > 0 ? (y(), k(O, {
275
265
  key: 0,
276
- total: o(b),
266
+ total: l(b),
277
267
  "onUpdate:total": t[7] || (t[7] = (e) => M(b) ? b.value = e : null),
278
- "current-page": s.value.curPage,
279
- "onUpdate:currentPage": t[8] || (t[8] = (e) => s.value.curPage = e),
280
- "page-size": s.value.pageSize,
281
- "onUpdate:pageSize": t[9] || (t[9] = (e) => s.value.pageSize = e),
282
- onPagination: t[10] || (t[10] = (e) => o(u).getList())
268
+ "current-page": o.value.curPage,
269
+ "onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
270
+ "page-size": o.value.pageSize,
271
+ "onUpdate:pageSize": t[9] || (t[9] = (e) => o.value.pageSize = e),
272
+ onPagination: t[10] || (t[10] = (e) => l(u).getList())
283
273
  }, null, 8, ["total", "current-page", "page-size"])) : ae("", !0)
284
274
  ]),
285
275
  default: a(() => {
286
276
  var e;
287
277
  return [
288
- l(J, {
278
+ n(J, {
289
279
  ref_key: "multipleTableRef",
290
280
  ref: j,
291
281
  "row-key": "receiptId",
292
282
  isSelection: !1,
293
- "list-loading": o(x),
294
- data: o(R),
295
- "table-label": o(f),
283
+ "list-loading": l(x),
284
+ data: l(R),
285
+ "table-label": l(f),
296
286
  onSelectionChange: P,
297
287
  onSortChange: E
298
288
  }, te({
299
289
  transferMoneyDate: a((m) => [
300
- c(p(o(A).$moment.formatDate(
290
+ c(p(l(A).$moment.formatDate(
301
291
  m.data.row.transferMoneyDate,
302
292
  "YYYY-MM-DD HH:mm"
303
293
  )), 1)
304
294
  ]),
305
295
  instsId: a((m) => [
306
- c(p(o(d).instsBizDict.getValue(m.data.row.instsId)), 1)
296
+ c(p(l(d).instsBizDict.getValue(m.data.row.instsId)), 1)
307
297
  ]),
308
298
  _: 2
309
299
  }, [
310
- (e = o(z)) != null && e.includes("@") ? {
300
+ (e = l(z)) != null && e.includes("@") ? {
311
301
  name: "agentCode",
312
302
  fn: a((m) => [
313
303
  c(p($.value.agentAlias), 1)
@@ -316,7 +306,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ W({
316
306
  } : {
317
307
  name: "agentCode",
318
308
  fn: a((m) => [
319
- c(p(o(d).agentBizDict.getValue(m.data.row.agentCode)), 1)
309
+ c(p(l(d).agentBizDict.getValue(m.data.row.agentCode)), 1)
320
310
  ]),
321
311
  key: "0"
322
312
  }
@@ -1,9 +1,9 @@
1
- import { defineComponent as Y, getCurrentInstance as q, ref as y, resolveComponent as s, createElementBlock as R, openBlock as h, createVNode as a, withCtx as l, withKeys as w, unref as o, Fragment as J, renderList as O, createBlock as D, createTextVNode as m, toDisplayString as p, createCommentVNode as G, isRef as S } from "vue";
2
- import { useUserStore as v, clearEmpty as W, request as X, useTableHooks as Z } from "jmash-core";
3
- import { useI18n as ee } from "vue-i18n";
4
- import { D as c } from "./index-q_VWJKNr.mjs";
5
- import { channelApi as te } from "xyvcard-merchant";
6
- import { tokenExt as le } from "xyvcard-agent";
1
+ import { defineComponent as Y, getCurrentInstance as q, ref as y, resolveComponent as s, createElementBlock as w, openBlock as h, createVNode as a, withCtx as l, withKeys as C, unref as o, Fragment as J, renderList as O, createBlock as D, createTextVNode as m, toDisplayString as p, createCommentVNode as G, isRef as S } from "vue";
2
+ import { useI18n as W } from "vue-i18n";
3
+ import { useUserStore as v, clearEmpty as X, request as Z, useTableHooks as ee } from "jmash-core";
4
+ import { tokenExt as te } from "xyvcard-agent";
5
+ import { channelApi as le } from "xyvcard-merchant";
6
+ import { D as c } from "./index-CpuvJ4Tw.mjs";
7
7
  class ae {
8
8
  getKey(d) {
9
9
  return {
@@ -13,7 +13,7 @@ class ae {
13
13
  // 查询翻页信息划款信息查询-今日到账
14
14
  findPage(d) {
15
15
  const g = v().user.tenant;
16
- return W(d), X({
16
+ return X(d), Z({
17
17
  url: "/v1/settle/receipt/today/my/" + g,
18
18
  method: "get",
19
19
  params: d
@@ -23,16 +23,16 @@ class ae {
23
23
  const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
24
24
  __name: "today",
25
25
  setup(k) {
26
- const { t: d } = ee();
26
+ const { t: d } = W();
27
27
  c.instsBizDict.useValues(), c.merchantBizDict.useValues();
28
28
  const { proxy: g } = q(), I = y([]), r = y({
29
- tokenExt: le.getTokenExt(v().user.tenant)
29
+ tokenExt: te.getTokenExt(v().user.tenant)
30
30
  }), V = y(
31
31
  JSON.parse(
32
32
  sessionStorage.getItem("SelectAgent:" + v().user.tenant) || "{}"
33
33
  )
34
34
  );
35
- te.myFindList({}).then((n) => {
35
+ le.myFindList({}).then((n) => {
36
36
  I.value = n.data.results;
37
37
  });
38
38
  const {
@@ -42,7 +42,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
42
42
  listLoading: A,
43
43
  tableData: $,
44
44
  total: f
45
- } = Z(d, ne, r);
45
+ } = ee(d, ne, r);
46
46
  let i = y([
47
47
  // 序号
48
48
  {
@@ -112,7 +112,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
112
112
  },
113
113
  // 代理商编号
114
114
  {
115
- label: "settleTradeReceipt.agentCode",
115
+ label: "settleTradeReceipt.agentName",
116
116
  prop: "agentCode",
117
117
  slotName: "agentCode",
118
118
  columnType: "slot",
@@ -142,8 +142,8 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
142
142
  u.handleQuery(), u.getList();
143
143
  }
144
144
  return (n, t) => {
145
- const x = s("jmash-select"), _ = s("el-form-item"), b = s("el-col"), L = s("el-option"), P = s("el-select"), T = s("el-button"), C = s("el-row"), E = s("el-form"), Q = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card");
146
- return h(), R("div", oe, [
145
+ const x = s("jmash-select"), _ = s("el-form-item"), b = s("el-col"), L = s("el-option"), P = s("el-select"), T = s("el-button"), R = s("el-row"), E = s("el-form"), Q = s("jmash-column-select"), F = s("jmash-table"), H = s("jmash-pagination"), K = s("el-card");
146
+ return h(), w("div", oe, [
147
147
  a(E, {
148
148
  ref_key: "queryFormRef",
149
149
  ref: N,
@@ -151,7 +151,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
151
151
  inline: !0
152
152
  }, {
153
153
  default: l(() => [
154
- a(C, null, {
154
+ a(R, null, {
155
155
  default: l(() => [
156
156
  a(b, { span: 6 }, {
157
157
  default: l(() => [
@@ -165,7 +165,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
165
165
  "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.merchantId = e),
166
166
  placeholder: n.$t("payTrade.merchantIdRead"),
167
167
  data: o(c).merchantBizDict.values,
168
- onKeyup: t[1] || (t[1] = w((e) => o(u).handleQuery(), ["enter"])),
168
+ onKeyup: t[1] || (t[1] = C((e) => o(u).handleQuery(), ["enter"])),
169
169
  class: "!w-[203px]",
170
170
  filterable: "",
171
171
  clearable: ""
@@ -187,13 +187,13 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
187
187
  modelValue: r.value.channelId,
188
188
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.channelId = e),
189
189
  placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
190
- onKeyup: t[3] || (t[3] = w((e) => o(u).handleQuery(), ["enter"])),
190
+ onKeyup: t[3] || (t[3] = C((e) => o(u).handleQuery(), ["enter"])),
191
191
  class: "!w-[203px]",
192
192
  filterable: "",
193
193
  clearable: ""
194
194
  }, {
195
195
  default: l(() => [
196
- (h(!0), R(J, null, O(I.value, (e) => (h(), D(L, {
196
+ (h(!0), w(J, null, O(I.value, (e) => (h(), D(L, {
197
197
  key: e.channelId,
198
198
  label: o(c).instsBizDict.getValue(e.instsId) || e.instsId,
199
199
  value: e.channelId
@@ -245,7 +245,7 @@ const ne = new ae(), oe = { class: "app-container" }, pe = /* @__PURE__ */ Y({
245
245
  class: "table-container"
246
246
  }, {
247
247
  header: l(() => [
248
- a(C, null, {
248
+ a(R, null, {
249
249
  default: l(() => [
250
250
  a(b, {
251
251
  span: 24,
@@ -0,0 +1,31 @@
1
+ class s {
2
+ /**
3
+ * 将指定租户的扩展令牌存储到会话存储中
4
+ * @param tenant 租户标识符,用于构造存储键名
5
+ * @param tokenExt 要存储的扩展令牌字符串
6
+ */
7
+ setTokenExt(e, t) {
8
+ sessionStorage.setItem(`TokenExt:${e}`, t);
9
+ }
10
+ /**
11
+ * 获取指定租户的扩展令牌
12
+ *
13
+ * 从sessionStorage中读取对应租户的TokenExt值,若不存在则返回空字符串
14
+ *
15
+ * @param tenant - 租户标识符,用于构造存储键名
16
+ * @returns 存储的TokenExt字符串值,不存在时返回空字符串
17
+ */
18
+ getTokenExt(e) {
19
+ return sessionStorage.getItem(`TokenExt:${e}`) ?? "";
20
+ }
21
+ setCurrentRole(e, t) {
22
+ sessionStorage.setItem(`CurrentRole:${e}`, JSON.stringify(t));
23
+ }
24
+ getCurrentRole(e) {
25
+ return JSON.parse(sessionStorage.getItem(`CurrentRole:${e}`) ?? "{}");
26
+ }
27
+ }
28
+ const n = new s();
29
+ export {
30
+ n as t
31
+ };