xyvcard-settle 0.0.18 → 0.0.20

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 (56) hide show
  1. package/dist/{history-DbXZ4eq0.mjs → history-BgXCgEWe.mjs} +1 -1
  2. package/dist/{history-CC38POZp.mjs → history-DtjmHKa9.mjs} +1 -1
  3. package/dist/{history.vue_vue_type_script_setup_true_lang-0xuuSRhP.mjs → history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs} +85 -88
  4. package/dist/{history.vue_vue_type_script_setup_true_lang-D1xiX4hr.mjs → history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs} +37 -42
  5. package/dist/{index-CX2iFzez.mjs → index-A83m_bq9.mjs} +2 -2
  6. package/dist/{index-DHftF03J.mjs → index-AM0oEBSy.mjs} +87 -93
  7. package/dist/{index-CxWPPWw1.mjs → index-BPvCTpAw.mjs} +108 -111
  8. package/dist/{index-D3q3PTBV.mjs → index-B_A1F3k3.mjs} +151 -155
  9. package/dist/{index-CBKnFdtu.mjs → index-DBd3Gkwy.mjs} +105 -110
  10. package/dist/index-D_DrLyqR.mjs +98 -0
  11. package/dist/{index-CNmV3L7-.mjs → index-Dk7c4clB.mjs} +110 -114
  12. package/dist/{index-D8aad25b.mjs → index-mgS8Yk77.mjs} +2 -2
  13. package/dist/index.mjs +6 -5
  14. package/dist/{today-C9NK5TJx.mjs → today-D7Qw-W1d.mjs} +1 -1
  15. package/dist/{today-D_H0QACJ.mjs → today-DO4goI_2.mjs} +1 -1
  16. package/dist/{today.vue_vue_type_script_setup_true_lang-BX_CxX_E.mjs → today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs} +57 -60
  17. package/dist/{today.vue_vue_type_script_setup_true_lang-BeAT_Lsx.mjs → today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs} +56 -60
  18. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +2 -5
  19. package/dts/src/api/settle/settle-trade-merchant/types.d.ts +1 -4
  20. package/dts/src/api/settle/settle-trade-merchant-personal/types.d.ts +1 -4
  21. package/dts/src/lang/settle/zh-cn.d.ts +1 -0
  22. package/package.json +61 -61
  23. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50-Dj7924hV.mjs +0 -9
  24. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
  25. package/dist/_plugin-vue_export-helper-CHgC5LLL-CE1ZRZXI.mjs +0 -9
  26. package/dist/config-J7atvZST-CRBatj_q.mjs +0 -1914
  27. package/dist/free-Cc9I120N-BWsHZFX2-Co-javuK.mjs +0 -73
  28. package/dist/free-DaGOIXVI-tyY1k0f0.mjs +0 -82
  29. package/dist/index-BCqoC3r3-BcdtrpBI.mjs +0 -46253
  30. package/dist/index-BKGG_3N--CJ3hL8zN.mjs +0 -1516
  31. package/dist/index-Bn8Vw_ua.mjs +0 -9095
  32. package/dist/index-BspHvxQr-uRg4kyPq-BVAozSDk.mjs +0 -44292
  33. package/dist/index-BtIY2iCq-L9CqrDwV.mjs +0 -10
  34. package/dist/index-Bte5tu_Z-D-6PVKiX.mjs +0 -44054
  35. package/dist/index-By-fLqD6-DyhYoWmA.mjs +0 -426
  36. package/dist/index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs +0 -4699
  37. package/dist/index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs +0 -4236
  38. package/dist/index-DRytXEq2-Jv_7nGuc.mjs +0 -422
  39. package/dist/index-V24QP_Fz-BzkjeGHi-CUvjUkVt.mjs +0 -4741
  40. package/dist/index-V24QP_Fz-IKRedGuT.mjs +0 -4741
  41. package/dist/index-eCinebyw-DzNkuViw.mjs +0 -7401
  42. package/dist/index-iRoYfjIt-Cj_hVoo3.mjs +0 -46
  43. package/dist/info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs +0 -564
  44. package/dist/info-C1ILoPOK-DzbUVoy0.mjs +0 -1258
  45. package/dist/info-C6ZgzFaa-Bez0AAwc.mjs +0 -170
  46. package/dist/info-Cj0C9r3t-mBibS56J-1nf1Pkz0.mjs +0 -237
  47. package/dist/info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs +0 -1257
  48. package/dist/info-DFu31zdX-CdOAZ1k9.mjs +0 -814
  49. package/dist/info-DOOuWsLL-Dl19ZBB1-CWqFh2bn.mjs +0 -1258
  50. package/dist/info-Ddj4fPdK-l67VuXu5.mjs +0 -564
  51. package/dist/info-DjbDXhlf-D7nLFio2-CiIp1epX.mjs +0 -818
  52. package/dist/info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs +0 -139
  53. package/dist/info-EEQdBSPc-B6uHnl48-CZnr2mHJ.mjs +0 -564
  54. package/dist/info-JTzVjKGk-BHMjIGeZ.mjs +0 -237
  55. package/dist/product-BJX8VysN-CzHJn-wh.mjs +0 -731
  56. package/dist/product-DasoXMNF-Ct3nzcE4-C-y9Gk4r.mjs +0 -731
@@ -1,8 +1,9 @@
1
- import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as R, openBlock as h, createElementVNode as f, createVNode as t, withCtx as a, unref as n, withKeys as w, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
2
- import { useUserStore as ae, clearEmpty as oe, request as ne, useTableHooks as se } from "jmash-core";
3
- import { useI18n as re } from "vue-i18n";
4
- import { D as b, C as S } from "./index-Bn8Vw_ua.mjs";
5
- import { useRouter as de } from "vue-router";
1
+ import { defineComponent as J, getCurrentInstance as X, ref as A, resolveComponent as r, resolveDirective as Z, createElementBlock as R, openBlock as h, createElementVNode as f, createVNode as t, withCtx as l, unref as o, withKeys as V, createTextVNode as d, toDisplayString as m, withDirectives as ee, createBlock as te, createCommentVNode as le, isRef as D } from "vue";
2
+ import { useUserStore as M, clearEmpty as ae, request as ne, useTableHooks as oe } from "jmash-core";
3
+ import { useI18n as se } from "vue-i18n";
4
+ import { D as b, C as S } from "./index-D_DrLyqR.mjs";
5
+ import { useRouter as re } from "vue-router";
6
+ import { tokenExt as de } from "xyvcard-agent";
6
7
  class ue {
7
8
  getKey(p) {
8
9
  return {
@@ -12,37 +13,37 @@ class ue {
12
13
  }
13
14
  // 查询翻页信息支付交易汇总统计;
14
15
  findPage(p) {
15
- const T = ae().user.tenant;
16
- return oe(p), ne({
16
+ const T = M().user.tenant;
17
+ return ae(p), ne({
17
18
  url: "/v1/settle/analysis/agent/page/" + T,
18
19
  method: "get",
19
20
  params: p
20
21
  });
21
22
  }
22
23
  }
23
- const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, be = { class: "blue_color" }, ve = ["onClick"], Ve = /* @__PURE__ */ J({
24
+ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-container" }, fe = { class: "total-num" }, ye = { class: "blue_color" }, ce = { class: "blue_color" }, ge = { class: "blue_color" }, be = { class: "blue_color" }, ve = ["onClick"], we = /* @__PURE__ */ J({
24
25
  __name: "index",
25
26
  setup(N) {
26
- const { t: p } = re();
27
+ const { t: p } = se();
27
28
  b.agentBizDict.useValues(), b.instsBizDict.useValues();
28
- const T = de(), { proxy: V } = X(), I = localStorage.getItem("tokenExt"), s = A({
29
- tokenExt: I ?? ""
29
+ const T = re(), { proxy: k } = X(), s = A({
30
+ tokenExt: de.getTokenExt(M().user.tenant)
30
31
  }), {
31
32
  tableHooks: i,
32
- multipleTableRef: M,
33
+ multipleTableRef: I,
33
34
  queryFormRef: E,
34
35
  listLoading: P,
35
36
  tableData: z,
36
37
  total: v
37
- } = se(p, ie, s);
38
+ } = oe(p, ie, s);
38
39
  let C = i.totalRecord;
39
40
  const c = A([]);
40
- function U(o) {
41
- c.value = o, c.value.length === 2 && (s.value.analysisTimeStart = V.$moment.formatDate(
42
- o[0],
41
+ function U(n) {
42
+ c.value = n, c.value.length === 2 && (s.value.analysisTimeStart = k.$moment.formatDate(
43
+ n[0],
43
44
  S.RPC_FORMAT_TIME
44
- ), s.value.analysisTimeEnd = V.$moment.formatDate(
45
- o[1],
45
+ ), s.value.analysisTimeEnd = k.$moment.formatDate(
46
+ n[1],
46
47
  S.RPC_FORMAT_TIME
47
48
  ));
48
49
  }
@@ -61,7 +62,6 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
61
62
  slotName: "agentCode",
62
63
  columnType: "slot",
63
64
  minWidth: "150",
64
- sortable: "custom",
65
65
  isColumn: !0
66
66
  },
67
67
  // 商户数
@@ -100,8 +100,6 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
100
100
  {
101
101
  label: "settleTradeAnalysis.feeAmt",
102
102
  prop: "feeAmt",
103
- slotName: "feeAmt",
104
- columnType: "slot",
105
103
  width: "100",
106
104
  sortable: "custom",
107
105
  isColumn: !0
@@ -123,25 +121,25 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
123
121
  isColumn: !0
124
122
  }
125
123
  ]);
126
- function j(o) {
124
+ function j(n) {
127
125
  T.push({
128
126
  path: "/payment/pay-trade",
129
127
  query: {
130
- agentCode: o.agentCode
128
+ agentCode: n.agentCode
131
129
  }
132
130
  });
133
131
  }
134
132
  function B() {
135
133
  c.value = [], i.resetQuery();
136
134
  }
137
- function Y(o) {
138
- i.selectionRows.value = o;
135
+ function Y(n) {
136
+ i.selectionRows.value = n;
139
137
  }
140
- function Q(o) {
141
- i.handleSort(o.prop, o.order);
138
+ function Q(n) {
139
+ i.handleSort(n.prop, n.order);
142
140
  }
143
- return i.getList(), (o, e) => {
144
- const F = r("el-tree-select"), y = r("el-form-item"), u = r("el-col"), k = r("el-input"), K = r("jmash-select"), _ = r("el-row"), q = r("el-date-picker"), $ = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), W = r("jmash-pagination"), x = r("el-card"), G = Z("hasPerm");
141
+ return i.getList(), (n, e) => {
142
+ const F = r("el-tree-select"), y = r("el-form-item"), u = r("el-col"), w = r("el-input"), K = r("jmash-select"), _ = r("el-row"), q = r("el-date-picker"), $ = r("el-button"), L = r("el-form"), O = r("jmash-column-select"), H = r("jmash-table"), W = r("jmash-pagination"), x = r("el-card"), G = Z("hasPerm");
145
143
  return h(), R("div", me, [
146
144
  f("div", pe, [
147
145
  t(L, {
@@ -150,24 +148,24 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
150
148
  model: s.value,
151
149
  inline: !0
152
150
  }, {
153
- default: a(() => [
151
+ default: l(() => [
154
152
  t(_, null, {
155
- default: a(() => [
153
+ default: l(() => [
156
154
  t(u, { span: 6 }, {
157
- default: a(() => [
155
+ default: l(() => [
158
156
  t(y, {
159
- label: o.$t("settleTradeAnalysis.agentCode"),
157
+ label: n.$t("settleTradeAnalysis.agentCode"),
160
158
  prop: "agentCode"
161
159
  }, {
162
- default: a(() => [
160
+ default: l(() => [
163
161
  t(F, {
164
162
  modelValue: s.value.agentCode,
165
- "onUpdate:modelValue": e[0] || (e[0] = (l) => s.value.agentCode = l),
166
- data: n(b).agentBizDict.values,
163
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.agentCode = a),
164
+ data: o(b).agentBizDict.values,
167
165
  "node-key": "value",
168
166
  filterable: "",
169
167
  clearable: "",
170
- placeholder: o.$t("settleTradeAnalysis.agentCodeRead")
168
+ placeholder: n.$t("settleTradeAnalysis.agentCodeRead")
171
169
  }, null, 8, ["modelValue", "data", "placeholder"])
172
170
  ]),
173
171
  _: 1
@@ -176,17 +174,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
176
174
  _: 1
177
175
  }),
178
176
  t(u, { span: 6 }, {
179
- default: a(() => [
177
+ default: l(() => [
180
178
  t(y, {
181
- label: o.$t("settleTradeAnalysis.agentCodes"),
179
+ label: n.$t("settleTradeAnalysis.agentCodes"),
182
180
  prop: "agentCode"
183
181
  }, {
184
- default: a(() => [
185
- t(k, {
182
+ default: l(() => [
183
+ t(w, {
186
184
  modelValue: s.value.agentCode,
187
- "onUpdate:modelValue": e[1] || (e[1] = (l) => s.value.agentCode = l),
188
- placeholder: o.$t("settleTradeAnalysis.agentCodesRead"),
189
- onKeyup: e[2] || (e[2] = w((l) => n(i).handleQuery(), ["enter"])),
185
+ "onUpdate:modelValue": e[1] || (e[1] = (a) => s.value.agentCode = a),
186
+ placeholder: n.$t("settleTradeAnalysis.agentCodesRead"),
187
+ onKeyup: e[2] || (e[2] = V((a) => o(i).handleQuery(), ["enter"])),
190
188
  class: "!w-[203px]"
191
189
  }, null, 8, ["modelValue", "placeholder"])
192
190
  ]),
@@ -196,18 +194,18 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
196
194
  _: 1
197
195
  }),
198
196
  t(u, { span: 6 }, {
199
- default: a(() => [
197
+ default: l(() => [
200
198
  t(y, {
201
- label: o.$t("payTrade.instsId"),
202
- prop: "instsId"
199
+ label: n.$t("payTrade.instsId"),
200
+ prop: "channelId"
203
201
  }, {
204
- default: a(() => [
202
+ default: l(() => [
205
203
  t(K, {
206
- modelValue: s.value.instsId,
207
- "onUpdate:modelValue": e[3] || (e[3] = (l) => s.value.instsId = l),
208
- placeholder: o.$t("settleTradeAnalysis.channelIdRead"),
209
- data: n(b).instsBizDict.values,
210
- onKeyup: e[4] || (e[4] = w((l) => n(i).handleQuery(), ["enter"])),
204
+ modelValue: s.value.channelId,
205
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => s.value.channelId = a),
206
+ placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
207
+ data: o(b).instsBizDict.values,
208
+ onKeyup: e[4] || (e[4] = V((a) => o(i).handleQuery(), ["enter"])),
211
209
  class: "!w-[203px]",
212
210
  filterable: "",
213
211
  clearable: ""
@@ -219,17 +217,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
219
217
  _: 1
220
218
  }),
221
219
  t(u, { span: 6 }, {
222
- default: a(() => [
220
+ default: l(() => [
223
221
  t(y, {
224
- label: o.$t("settleTradeAnalysis.likeMerchantNo"),
222
+ label: n.$t("settleTradeAnalysis.likeMerchantNo"),
225
223
  prop: "likeMerchantNo"
226
224
  }, {
227
- default: a(() => [
228
- t(k, {
225
+ default: l(() => [
226
+ t(w, {
229
227
  modelValue: s.value.likeMerchantNo,
230
- "onUpdate:modelValue": e[5] || (e[5] = (l) => s.value.likeMerchantNo = l),
231
- placeholder: o.$t("settleTradeAnalysis.likeMerchantNoRead"),
232
- onKeyup: e[6] || (e[6] = w((l) => n(i).handleQuery(), ["enter"])),
228
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => s.value.likeMerchantNo = a),
229
+ placeholder: n.$t("settleTradeAnalysis.likeMerchantNoRead"),
230
+ onKeyup: e[6] || (e[6] = V((a) => o(i).handleQuery(), ["enter"])),
233
231
  class: "!w-[203px]"
234
232
  }, null, 8, ["modelValue", "placeholder"])
235
233
  ]),
@@ -242,23 +240,23 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
242
240
  _: 1
243
241
  }),
244
242
  t(_, null, {
245
- default: a(() => [
243
+ default: l(() => [
246
244
  t(u, { span: 6 }, {
247
- default: a(() => [
245
+ default: l(() => [
248
246
  t(y, {
249
- label: o.$t("settleTradeAnalysis.createTime"),
247
+ label: n.$t("settleTradeAnalysis.createTime"),
250
248
  prop: "analysisTimeStart"
251
249
  }, {
252
- default: a(() => [
250
+ default: l(() => [
253
251
  t(q, {
254
252
  modelValue: c.value,
255
- "onUpdate:modelValue": e[7] || (e[7] = (l) => c.value = l),
253
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => c.value = a),
256
254
  type: "daterange",
257
255
  format: "YYYY-MM-DD",
258
256
  "value-format": "YYYY-MM-DD",
259
257
  "range-separator": "-",
260
- "start-placeholder": o.$t("settleTradeAnalysis.analysisTimeStart"),
261
- "end-placeholder": o.$t("settleTradeAnalysis.analysisTimeEnd"),
258
+ "start-placeholder": n.$t("settleTradeAnalysis.analysisTimeStart"),
259
+ "end-placeholder": n.$t("settleTradeAnalysis.analysisTimeEnd"),
262
260
  onChange: U
263
261
  }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
264
262
  ]),
@@ -268,23 +266,23 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
268
266
  _: 1
269
267
  }),
270
268
  t(u, { span: 18 }, {
271
- default: a(() => [
269
+ default: l(() => [
272
270
  t(y, { class: "search-btn" }, {
273
- default: a(() => [
271
+ default: l(() => [
274
272
  t($, {
275
273
  type: "primary",
276
- onClick: e[8] || (e[8] = (l) => n(i).handleQuery())
274
+ onClick: e[8] || (e[8] = (a) => o(i).handleQuery())
277
275
  }, {
278
- default: a(() => [
279
- d(m(o.$t("common.search")), 1)
276
+ default: l(() => [
277
+ d(m(n.$t("common.search")), 1)
280
278
  ]),
281
279
  _: 1
282
280
  }),
283
281
  t($, {
284
- onClick: e[9] || (e[9] = (l) => B())
282
+ onClick: e[9] || (e[9] = (a) => B())
285
283
  }, {
286
- default: a(() => [
287
- d(m(o.$t("common.reset")), 1)
284
+ default: l(() => [
285
+ d(m(n.$t("common.reset")), 1)
288
286
  ]),
289
287
  _: 1
290
288
  })
@@ -306,17 +304,17 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
306
304
  shadow: "never",
307
305
  class: "table-container"
308
306
  }, {
309
- header: a(() => [
307
+ header: l(() => [
310
308
  t(_, null, {
311
- default: a(() => [
309
+ default: l(() => [
312
310
  t(u, {
313
311
  span: 24,
314
312
  class: "container-float"
315
313
  }, {
316
- default: a(() => [
314
+ default: l(() => [
317
315
  t(O, {
318
- modelValue: n(g),
319
- "onUpdate:modelValue": e[10] || (e[10] = (l) => D(g) ? g.value = l : g = l),
316
+ modelValue: o(g),
317
+ "onUpdate:modelValue": e[10] || (e[10] = (a) => D(g) ? g.value = a : g = a),
320
318
  "label-name": "settle/settle-trade-analysis"
321
319
  }, null, 8, ["modelValue"])
322
320
  ]),
@@ -326,50 +324,50 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
326
324
  _: 1
327
325
  })
328
326
  ]),
329
- footer: a(() => [
330
- n(v) > 0 ? (h(), te(W, {
327
+ footer: l(() => [
328
+ o(v) > 0 ? (h(), te(W, {
331
329
  key: 0,
332
- total: n(v),
333
- "onUpdate:total": e[11] || (e[11] = (l) => D(v) ? v.value = l : null),
330
+ total: o(v),
331
+ "onUpdate:total": e[11] || (e[11] = (a) => D(v) ? v.value = a : null),
334
332
  "current-page": s.value.curPage,
335
- "onUpdate:currentPage": e[12] || (e[12] = (l) => s.value.curPage = l),
333
+ "onUpdate:currentPage": e[12] || (e[12] = (a) => s.value.curPage = a),
336
334
  "page-size": s.value.pageSize,
337
- "onUpdate:pageSize": e[13] || (e[13] = (l) => s.value.pageSize = l),
338
- onPagination: e[14] || (e[14] = (l) => n(i).getList())
335
+ "onUpdate:pageSize": e[13] || (e[13] = (a) => s.value.pageSize = a),
336
+ onPagination: e[14] || (e[14] = (a) => o(i).getList())
339
337
  }, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
340
338
  ]),
341
- default: a(() => [
339
+ default: l(() => [
342
340
  f("div", fe, [
343
341
  t(_, { gutter: 24 }, {
344
- default: a(() => [
342
+ default: l(() => [
345
343
  t(u, { span: 6 }, {
346
- default: a(() => [
344
+ default: l(() => [
347
345
  e[16] || (e[16] = d(" 总交易笔数: ")),
348
- f("span", ye, m(n(C).totalOrderCount), 1),
346
+ f("span", ye, m(o(C).totalOrderCount), 1),
349
347
  e[17] || (e[17] = d(" 笔 "))
350
348
  ]),
351
349
  _: 1
352
350
  }),
353
351
  t(u, { span: 6 }, {
354
- default: a(() => [
352
+ default: l(() => [
355
353
  e[18] || (e[18] = d(" 总交易金额: ")),
356
- f("span", ce, m(n(C).totalOrderAmount), 1),
354
+ f("span", ce, m(o(C).totalOrderAmount), 1),
357
355
  e[19] || (e[19] = d(" 元 "))
358
356
  ]),
359
357
  _: 1
360
358
  }),
361
359
  t(u, { span: 6 }, {
362
- default: a(() => [
360
+ default: l(() => [
363
361
  e[20] || (e[20] = d(" 手续费: ")),
364
- f("span", ge, m(n(C).totalFeeAmt), 1),
362
+ f("span", ge, m(o(C).totalFeeAmt), 1),
365
363
  e[21] || (e[21] = d(" 元 "))
366
364
  ]),
367
365
  _: 1
368
366
  }),
369
367
  t(u, { span: 6 }, {
370
- default: a(() => [
368
+ default: l(() => [
371
369
  e[22] || (e[22] = d(" 结算金额: ")),
372
- f("span", be, m(n(C).totalSettleAmount), 1),
370
+ f("span", be, m(o(C).totalSettleAmount), 1),
373
371
  e[23] || (e[23] = d(" 元 "))
374
372
  ]),
375
373
  _: 1
@@ -380,27 +378,24 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
380
378
  ]),
381
379
  t(H, {
382
380
  ref_key: "multipleTableRef",
383
- ref: M,
381
+ ref: I,
384
382
  "row-key": "settleTradeAnalysisPk",
385
383
  isSelection: !1,
386
- "list-loading": n(P),
387
- data: n(z),
388
- "table-label": n(g),
384
+ "list-loading": o(P),
385
+ data: o(z),
386
+ "table-label": o(g),
389
387
  onSelectionChange: Y,
390
388
  onSortChange: Q
391
389
  }, {
392
- feeAmt: a((l) => [
393
- d(m(l.data.row.feeAmt * 100) + "% ", 1)
394
- ]),
395
- agentCode: a((l) => [
396
- d(m(n(b).agentBizDict.getValue(l.data.row.agentCode)), 1)
390
+ agentCode: l((a) => [
391
+ d(m(o(b).agentBizDict.getValue(a.data.row.agentCode)), 1)
397
392
  ]),
398
- operation: a((l) => [
393
+ operation: l((a) => [
399
394
  ee((h(), R("span", {
400
395
  class: "el-button-color",
401
- onClick: (Ce) => j(l.data.row)
396
+ onClick: (Ce) => j(a.data.row)
402
397
  }, [
403
- d(m(o.$t("settleTradeAnalysis.view")), 1)
398
+ d(m(n.$t("settleTradeAnalysis.view")), 1)
404
399
  ], 8, ve)), [
405
400
  [G, ["settle:settle_trade_analysis:view"]]
406
401
  ])
@@ -415,5 +410,5 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
415
410
  }
416
411
  });
417
412
  export {
418
- Ve as default
413
+ we as default
419
414
  };
@@ -0,0 +1,98 @@
1
+ var p = Object.defineProperty;
2
+ var y = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
+ var a = (e, t, s) => y(e, typeof t != "symbol" ? t + "" : t, s);
4
+ import { BizLayDict as d, BizDict as h, EnumDict as l } from "jmash-core";
5
+ import { infoApi as m } from "xyvcard-agent";
6
+ import { institutionApi as T } from "xyvcard-insts";
7
+ import { merchantsApi as D } from "xyvcard-merchant";
8
+ function o(e, t, s) {
9
+ return !Array.isArray(e) || e.length === 0 ? [] : e.map((r) => {
10
+ let c = [];
11
+ return Array.isArray(r.children) && r.children.length > 0 && (c = o(r.children, t, s)), {
12
+ value: r[s],
13
+ label: r[t],
14
+ parentId: r.parentId,
15
+ children: c
16
+ };
17
+ });
18
+ }
19
+ class A extends d {
20
+ // 实现 useValues 方法
21
+ useValues() {
22
+ return new Promise((t, s) => {
23
+ m.findList(this.query).then(({ data: n }) => {
24
+ this.values.length = 0, this.values.push(
25
+ ...o(n.results, "agentAlias", "agentCode")
26
+ ), t(this.values);
27
+ }).catch(s);
28
+ });
29
+ }
30
+ }
31
+ class E extends h {
32
+ // 实现 useValues 方法
33
+ useValues() {
34
+ return new Promise((t, s) => {
35
+ T.findList(this.query).then(({ data: n }) => {
36
+ console.log(n, "=> data2");
37
+ const r = n.results;
38
+ this.values.length = 0, this.values.push(
39
+ ...r.map(
40
+ (c) => ({
41
+ key: c.instsId,
42
+ value: c.instsName
43
+ })
44
+ )
45
+ ), t(this.values);
46
+ }).catch(s);
47
+ });
48
+ }
49
+ }
50
+ class f extends h {
51
+ // 实现 useValues 方法
52
+ useValues() {
53
+ return new Promise((t, s) => {
54
+ D.findList(this.query).then(({ data: n }) => {
55
+ console.log(n, "=> data2");
56
+ const r = n.results;
57
+ this.values.length = 0, this.values.push(
58
+ ...r.map(
59
+ (c) => ({
60
+ key: c.merchantId,
61
+ value: c.merchantName
62
+ })
63
+ )
64
+ ), t(this.values);
65
+ }).catch(s);
66
+ });
67
+ }
68
+ }
69
+ class i {
70
+ }
71
+ //模块
72
+ a(i, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
73
+ a(i, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 支付方式
74
+ a(i, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
75
+ a(i, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType"), // 支付状态
76
+ a(i, "ORDER_STATUS", "xyvcard.payment.protobuf.OrderStatus");
77
+ class u {
78
+ }
79
+ // 代理商
80
+ a(u, "agentBizDict", new A({})), // 落地机构
81
+ a(u, "instsBizDict", new E({})), // 商户名称
82
+ a(u, "merchantBizDict", new f({})), // 支付方式
83
+ a(u, "payModeBizDict", new l(
84
+ i.PAYMENT_DICT,
85
+ i.PAY_MODE
86
+ )), // 交易类型
87
+ a(u, "tradeTypeBizDict", new l(
88
+ i.PAYMENT_DICT,
89
+ i.TRADE_TYPE
90
+ )), // 支付状态
91
+ a(u, "orderStatusBizDict", new l(
92
+ i.PAYMENT_DICT,
93
+ i.ORDER_STATUS
94
+ ));
95
+ export {
96
+ i as C,
97
+ u as D
98
+ };