xyvcard-settle 0.0.1 → 0.0.3

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 (52) hide show
  1. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50-Dj7924hV.mjs +9 -0
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50.mjs +9 -0
  3. package/dist/{config-R2xCEQim-DIKcGx0K.mjs → config-wQ_OqPiM-Df_BJA8G.mjs} +169 -169
  4. package/dist/constant-BYuI4T7h-CaymzuvN-C16GHKiG.mjs +21 -0
  5. package/dist/free-BUp-oFkV-hf7oJVVa-BTTkYZYO.mjs +73 -0
  6. package/dist/{free-DaGOIXVI-B4EUrY1S.mjs → free-DaGOIXVI-BWcImplC.mjs} +2 -2
  7. package/dist/{history-BI8tBxQK.mjs → history-BSmsiP2w.mjs} +1 -1
  8. package/dist/{history.vue_vue_type_script_setup_true_lang-Bt76Bf2d.mjs → history.vue_vue_type_script_setup_true_lang-DvbbKKkA.mjs} +80 -68
  9. package/dist/index-84QzMAob.mjs +8022 -0
  10. package/dist/index-BKGG_3N--CJ3hL8zN.mjs +1516 -0
  11. package/dist/index-BKtOSSkB-DTgIBJsv-dKzd_9gv.mjs +43914 -0
  12. package/dist/{index-BtIY2iCq-Lnfhe6EF.mjs → index-BtIY2iCq-BkpNINVh.mjs} +1 -1
  13. package/dist/{index-C0VdCZ5o-BNScagBV.mjs → index-C0VdCZ5o-BS12obci-CPd27xae-uzLPxoYk.mjs} +463 -463
  14. package/dist/index-C0VdCZ5o-Cj3CPOKI-CfTpbu6V.mjs +4699 -0
  15. package/dist/{index-D1OlL970.mjs → index-CwZNVLZW.mjs} +2 -2
  16. package/dist/index-D67oeGwS-DQxJneSt.mjs +44383 -0
  17. package/dist/{index-D0t5a2Ea.mjs → index-DM9QBXft.mjs} +168 -148
  18. package/dist/{index-BIkG_C6y.mjs → index-DU_xep4n.mjs} +196 -197
  19. package/dist/index-DWdAhe8t-m87rvmL3-Bkp_--X4.mjs +4204 -0
  20. package/dist/{index-BOfabDwA.mjs → index-DebBdQlq.mjs} +144 -149
  21. package/dist/index-DgfUBpY9-CuMFk_i5.mjs +4741 -0
  22. package/dist/index-DofyIGY_-Bvahri0Z.mjs +9128 -0
  23. package/dist/{index-iRoYfjIt-BqHR0buV.mjs → index-iRoYfjIt-Cj_hVoo3.mjs} +1 -1
  24. package/dist/index.mjs +2597 -13
  25. package/dist/info-B2A1hZLs-9Zr3HmNb.mjs +1258 -0
  26. package/dist/{info-B9D5Y0O1-DEwKlMld.mjs → info-B9D5Y0O1-Cp3rNtuc-DePlAw2h.mjs} +56 -56
  27. package/dist/info-B9D5Y0O1-DJcGjbun-yZzCXvyA-b4j8AIaV.mjs +564 -0
  28. package/dist/info-BInFHgyd-BPfv_F_M.mjs +564 -0
  29. package/dist/info-C_UgKHAd-Dqd7n4GO.mjs +170 -0
  30. package/dist/{info-Crc5gYV2-DBeit1HQ.mjs → info-Crc5gYV2-CBlPFQL--CjCICqAh-D-hJ1flm.mjs} +226 -226
  31. package/dist/info-Crc5gYV2-WRe4uI3Q-Ds4LLcjI.mjs +1257 -0
  32. package/dist/info-Dnfa8_ww-B52LEaJI-DuVytBn0.mjs +237 -0
  33. package/dist/{info-DzkZlnCT-BybQZHaY.mjs → info-DzkZlnCT-BV1siIQn-DA2Kmmy7-BrG2UboF.mjs} +18 -18
  34. package/dist/info-DzkZlnCT-vArcpPHL-B8bnQ0KD.mjs +139 -0
  35. package/dist/{info-JTzVjKGk-DYLiAYjO.mjs → info-JTzVjKGk-B6ik-qTg.mjs} +8 -8
  36. package/dist/info-lj2PfyWO-wt8jLF3Y.mjs +818 -0
  37. package/dist/{product-BJX8VysN-D3xaS1Fd.mjs → product-BJX8VysN-BxbfkKWD.mjs} +9 -9
  38. package/dist/product-B_wmSyz3-CSnDX200-BDYLftPl.mjs +732 -0
  39. package/dist/{today-CP9UcD78.mjs → today-DCOFphcZ.mjs} +1 -1
  40. package/dist/{today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs → today.vue_vue_type_script_setup_true_lang-eEMp6b2v.mjs} +80 -68
  41. package/dts/src/api/settle/dict.d.ts +0 -3
  42. package/dts/src/api/settle/index.d.ts +1 -2
  43. package/dts/src/api/settle/settle-trade-analysis/types.d.ts +1 -1
  44. package/dts/src/constant.d.ts +1 -1
  45. package/dts/src/main.d.ts +2 -0
  46. package/dts/src/router/index.d.ts +8 -0
  47. package/package.json +4 -4
  48. package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
  49. package/dist/constant-CRJQFGuS.mjs +0 -13
  50. package/dist/index-DAOhjHwC-Czfft2rT.mjs +0 -66
  51. package/dist/index-Du5bhBaC.mjs +0 -9532
  52. package/dist/info-DGVdsQCx-CKD7-DIe.mjs +0 -160
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs";
1
+ import { _ as f } from "./today.vue_vue_type_script_setup_true_lang-eEMp6b2v.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as z, getCurrentInstance as F, ref as g, resolveComponent as s, createElementBlock as H, openBlock as C, createVNode as l, withCtx as a, withKeys as T, unref as r, createTextVNode as R, toDisplayString as M, createBlock as L, createCommentVNode as q, isRef as _ } from "vue";
2
- import { useUserStore as B, clearEmpty as O, request as G, useTableHooks as J } from "jmash-core";
3
- import { useI18n as W } from "vue-i18n";
4
- import { C as k } from "./constant-CRJQFGuS.mjs";
5
- class X {
1
+ import { defineComponent as F, getCurrentInstance as H, ref as M, resolveComponent as s, createElementBlock as L, openBlock as C, createVNode as l, withCtx as a, withKeys as y, unref as r, createTextVNode as T, toDisplayString as h, createBlock as q, createCommentVNode as O, isRef as k } from "vue";
2
+ import { useUserStore as G, clearEmpty as J, request as W, useTableHooks as X } from "jmash-core";
3
+ import { useI18n as Z } from "vue-i18n";
4
+ import { D as v, C as w } from "./index-84QzMAob.mjs";
5
+ class x {
6
6
  getKey(p) {
7
7
  return {
8
8
  receiptId: p.receiptId
@@ -10,36 +10,38 @@ class X {
10
10
  }
11
11
  // 查询翻页信息划款信息查询-今日到账
12
12
  findPage(p) {
13
- const i = B().user.tenant;
14
- return O(p), G({
15
- url: "/v1/settle/receipt/today/page/" + i,
13
+ const m = G().user.tenant;
14
+ return J(p), W({
15
+ url: "/v1/settle/receipt/today/page/" + m,
16
16
  method: "get",
17
17
  params: p
18
18
  });
19
19
  }
20
20
  }
21
- const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
21
+ const ee = new x(), te = { class: "app-container" }, re = /* @__PURE__ */ F({
22
22
  __name: "today",
23
- setup(w) {
24
- const { t: p } = W(), { proxy: i } = F(), o = g({}), c = g([]);
23
+ setup(V) {
24
+ const { t: p } = Z();
25
+ v.instsBizDict.useValues();
26
+ const { proxy: m } = H(), o = M({}), c = M([]);
25
27
  function $(n) {
26
- c.value = n, c.value.length === 2 && (o.value.transferMoneyDateStart = i.$moment.formatDate(
28
+ c.value = n, c.value.length === 2 && (o.value.transferMoneyDateStart = m.$moment.formatDate(
27
29
  n[0],
28
- k.RPC_FORMAT_TIME
29
- ), o.value.transferMoneyDateEnd = i.$moment.formatDate(
30
+ w.RPC_FORMAT_TIME
31
+ ), o.value.transferMoneyDateEnd = m.$moment.formatDate(
30
32
  n[1],
31
- k.RPC_FORMAT_TIME
33
+ w.RPC_FORMAT_TIME
32
34
  ));
33
35
  }
34
36
  const {
35
37
  tableHooks: d,
36
- multipleTableRef: V,
38
+ multipleTableRef: D,
37
39
  queryFormRef: N,
38
- listLoading: S,
39
- tableData: D,
40
+ listLoading: I,
41
+ tableData: S,
40
42
  total: b
41
- } = J(p, Z, o);
42
- let f = g([
43
+ } = X(p, ee, o);
44
+ let f = M([
43
45
  // 序号
44
46
  {
45
47
  label: "settleTradeReceipt.index",
@@ -58,7 +60,9 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
58
60
  // 渠道
59
61
  {
60
62
  label: "settleTradeReceipt.channelId",
61
- prop: "channelId",
63
+ prop: "instsId",
64
+ slotName: "instsId",
65
+ columnType: "slot",
62
66
  width: "150",
63
67
  isColumn: !0
64
68
  },
@@ -121,18 +125,18 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
121
125
  isColumn: !0
122
126
  }
123
127
  ]);
124
- function I() {
128
+ function Y() {
125
129
  c.value = [], d.resetQuery();
126
130
  }
127
- function Y(n) {
131
+ function A(n) {
128
132
  d.selectionRows.value = n;
129
133
  }
130
134
  function U(n) {
131
135
  d.handleSort(n.prop, n.order);
132
136
  }
133
137
  return d.getList(), (n, e) => {
134
- const y = s("el-input"), m = s("el-form-item"), u = s("el-col"), h = s("el-row"), A = s("el-date-picker"), v = s("el-button"), P = s("el-form"), E = s("jmash-column-select"), Q = s("jmash-table"), j = s("jmash-pagination"), K = s("el-card");
135
- return C(), H("div", x, [
138
+ const g = s("el-input"), i = s("el-form-item"), u = s("el-col"), j = s("jmash-select"), R = s("el-row"), z = s("el-date-picker"), _ = s("el-button"), P = s("el-form"), E = s("jmash-column-select"), Q = s("jmash-table"), B = s("jmash-pagination"), K = s("el-card");
139
+ return C(), L("div", te, [
136
140
  l(P, {
137
141
  ref_key: "queryFormRef",
138
142
  ref: N,
@@ -140,20 +144,20 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
140
144
  inline: !0
141
145
  }, {
142
146
  default: a(() => [
143
- l(h, null, {
147
+ l(R, null, {
144
148
  default: a(() => [
145
149
  l(u, { span: 6 }, {
146
150
  default: a(() => [
147
- l(m, {
151
+ l(i, {
148
152
  label: n.$t("settleTradeReceipt.likeMerchantName"),
149
153
  prop: "likeMerchantName"
150
154
  }, {
151
155
  default: a(() => [
152
- l(y, {
156
+ l(g, {
153
157
  modelValue: o.value.likeMerchantName,
154
158
  "onUpdate:modelValue": e[0] || (e[0] = (t) => o.value.likeMerchantName = t),
155
159
  placeholder: n.$t("settleTradeReceipt.likeMerchantName"),
156
- onKeyup: e[1] || (e[1] = T((t) => r(d).handleQuery(), ["enter"])),
160
+ onKeyup: e[1] || (e[1] = y((t) => r(d).handleQuery(), ["enter"])),
157
161
  class: "!w-[203px]"
158
162
  }, null, 8, ["modelValue", "placeholder"])
159
163
  ]),
@@ -164,16 +168,16 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
164
168
  }),
165
169
  l(u, { span: 6 }, {
166
170
  default: a(() => [
167
- l(m, {
171
+ l(i, {
168
172
  label: n.$t("settleTradeReceipt.likeMerchantNo"),
169
173
  prop: "likeMerchantNo"
170
174
  }, {
171
175
  default: a(() => [
172
- l(y, {
176
+ l(g, {
173
177
  modelValue: o.value.likeMerchantNo,
174
178
  "onUpdate:modelValue": e[2] || (e[2] = (t) => o.value.likeMerchantNo = t),
175
179
  placeholder: n.$t("settleTradeReceipt.likeMerchantNoRead"),
176
- onKeyup: e[3] || (e[3] = T((t) => r(d).handleQuery(), ["enter"])),
180
+ onKeyup: e[3] || (e[3] = y((t) => r(d).handleQuery(), ["enter"])),
177
181
  class: "!w-[203px]"
178
182
  }, null, 8, ["modelValue", "placeholder"])
179
183
  ]),
@@ -184,16 +188,16 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
184
188
  }),
185
189
  l(u, { span: 6 }, {
186
190
  default: a(() => [
187
- l(m, {
191
+ l(i, {
188
192
  label: n.$t("settleTradeReceipt.agentCode"),
189
193
  prop: "agentCode"
190
194
  }, {
191
195
  default: a(() => [
192
- l(y, {
196
+ l(g, {
193
197
  modelValue: o.value.agentCode,
194
198
  "onUpdate:modelValue": e[4] || (e[4] = (t) => o.value.agentCode = t),
195
199
  placeholder: n.$t("settleTradeReceipt.agentCodeRead"),
196
- onKeyup: e[5] || (e[5] = T((t) => r(d).handleQuery(), ["enter"])),
200
+ onKeyup: e[5] || (e[5] = y((t) => r(d).handleQuery(), ["enter"])),
197
201
  class: "!w-[203px]"
198
202
  }, null, 8, ["modelValue", "placeholder"])
199
203
  ]),
@@ -204,18 +208,21 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
204
208
  }),
205
209
  l(u, { span: 6 }, {
206
210
  default: a(() => [
207
- l(m, {
208
- label: n.$t("settleTradeReceipt.channelId"),
211
+ l(i, {
212
+ label: n.$t("settleTradeAnalysis.channelId"),
209
213
  prop: "channelId"
210
214
  }, {
211
215
  default: a(() => [
212
- l(y, {
216
+ l(j, {
213
217
  modelValue: o.value.channelId,
214
218
  "onUpdate:modelValue": e[6] || (e[6] = (t) => o.value.channelId = t),
215
- placeholder: n.$t("settleTradeReceipt.channelId"),
216
- onKeyup: e[7] || (e[7] = T((t) => r(d).handleQuery(), ["enter"])),
217
- class: "!w-[203px]"
218
- }, null, 8, ["modelValue", "placeholder"])
219
+ placeholder: n.$t("settleTradeAnalysis.channelIdRead"),
220
+ data: r(v).instsBizDict.values,
221
+ onKeyup: e[7] || (e[7] = y((t) => r(d).handleQuery(), ["enter"])),
222
+ class: "!w-[203px]",
223
+ filterable: "",
224
+ clearable: ""
225
+ }, null, 8, ["modelValue", "placeholder", "data"])
219
226
  ]),
220
227
  _: 1
221
228
  }, 8, ["label"])
@@ -225,16 +232,16 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
225
232
  ]),
226
233
  _: 1
227
234
  }),
228
- l(h, null, {
235
+ l(R, null, {
229
236
  default: a(() => [
230
237
  l(u, { span: 6 }, {
231
238
  default: a(() => [
232
- l(m, {
239
+ l(i, {
233
240
  label: n.$t("settleTradeReceipt.createTime"),
234
241
  prop: "analysisTimeStart"
235
242
  }, {
236
243
  default: a(() => [
237
- l(A, {
244
+ l(z, {
238
245
  modelValue: c.value,
239
246
  "onUpdate:modelValue": e[8] || (e[8] = (t) => c.value = t),
240
247
  type: "daterange",
@@ -253,22 +260,22 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
253
260
  }),
254
261
  l(u, { span: 18 }, {
255
262
  default: a(() => [
256
- l(m, { class: "search-btn" }, {
263
+ l(i, { class: "search-btn" }, {
257
264
  default: a(() => [
258
- l(v, {
265
+ l(_, {
259
266
  type: "primary",
260
267
  onClick: e[9] || (e[9] = (t) => r(d).handleQuery())
261
268
  }, {
262
269
  default: a(() => [
263
- R(M(n.$t("common.search")), 1)
270
+ T(h(n.$t("common.search")), 1)
264
271
  ]),
265
272
  _: 1
266
273
  }),
267
- l(v, {
268
- onClick: e[10] || (e[10] = (t) => I())
274
+ l(_, {
275
+ onClick: e[10] || (e[10] = (t) => Y())
269
276
  }, {
270
277
  default: a(() => [
271
- R(M(n.$t("common.reset")), 1)
278
+ T(h(n.$t("common.reset")), 1)
272
279
  ]),
273
280
  _: 1
274
281
  })
@@ -289,7 +296,7 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
289
296
  class: "table-container"
290
297
  }, {
291
298
  header: a(() => [
292
- l(h, null, {
299
+ l(R, null, {
293
300
  default: a(() => [
294
301
  l(u, {
295
302
  span: 24,
@@ -298,7 +305,7 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
298
305
  default: a(() => [
299
306
  l(E, {
300
307
  modelValue: r(f),
301
- "onUpdate:modelValue": e[11] || (e[11] = (t) => _(f) ? f.value = t : f = t),
308
+ "onUpdate:modelValue": e[11] || (e[11] = (t) => k(f) ? f.value = t : f = t),
302
309
  "label-name": "settle/settle-trade-receipt"
303
310
  }, null, 8, ["modelValue"])
304
311
  ]),
@@ -308,35 +315,40 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
308
315
  _: 1
309
316
  })
310
317
  ]),
311
- transferMoneyTime: a((t) => [
312
- R(M(r(i).$moment.formatDate(
313
- t.data.row.transferMoneyTime,
314
- "YYYY-MM-DD HH:mm"
315
- )), 1)
316
- ]),
317
318
  footer: a(() => [
318
- r(b) > 0 ? (C(), L(j, {
319
+ r(b) > 0 ? (C(), q(B, {
319
320
  key: 0,
320
321
  total: r(b),
321
- "onUpdate:total": e[12] || (e[12] = (t) => _(b) ? b.value = t : null),
322
+ "onUpdate:total": e[12] || (e[12] = (t) => k(b) ? b.value = t : null),
322
323
  "current-page": o.value.curPage,
323
324
  "onUpdate:currentPage": e[13] || (e[13] = (t) => o.value.curPage = t),
324
325
  "page-size": o.value.pageSize,
325
326
  "onUpdate:pageSize": e[14] || (e[14] = (t) => o.value.pageSize = t),
326
327
  onPagination: e[15] || (e[15] = (t) => r(d).getList())
327
- }, null, 8, ["total", "current-page", "page-size"])) : q("", !0)
328
+ }, null, 8, ["total", "current-page", "page-size"])) : O("", !0)
328
329
  ]),
329
330
  default: a(() => [
330
331
  l(Q, {
331
332
  ref_key: "multipleTableRef",
332
- ref: V,
333
+ ref: D,
333
334
  "row-key": "receiptId",
334
- "list-loading": r(S),
335
- data: r(D),
335
+ "list-loading": r(I),
336
+ data: r(S),
336
337
  "table-label": r(f),
337
- onSelectionChange: Y,
338
+ onSelectionChange: A,
338
339
  onSortChange: U
339
- }, null, 8, ["list-loading", "data", "table-label"])
340
+ }, {
341
+ transferMoneyTime: a((t) => [
342
+ T(h(r(m).$moment.formatDate(
343
+ t.data.row.transferMoneyTime,
344
+ "YYYY-MM-DD HH:mm"
345
+ )), 1)
346
+ ]),
347
+ instsId: a((t) => [
348
+ T(h(r(v).instsBizDict.getValue(t.data.row.instsId)), 1)
349
+ ]),
350
+ _: 1
351
+ }, 8, ["list-loading", "data", "table-label"])
340
352
  ]),
341
353
  _: 1
342
354
  })
@@ -345,5 +357,5 @@ const Z = new X(), x = { class: "app-container" }, ne = /* @__PURE__ */ z({
345
357
  }
346
358
  });
347
359
  export {
348
- ne as _
360
+ re as _
349
361
  };
@@ -2,9 +2,6 @@ import { BizDict, BizLayDict, type Entry, type LayEntry } from "jmash-core";
2
2
  export declare class agentBizDict extends BizLayDict {
3
3
  useValues(): Promise<LayEntry[]>;
4
4
  }
5
- export declare class ChinnelBizDict extends BizDict {
6
- useValues(): Promise<Entry[]>;
7
- }
8
5
  export declare class InststBizDict extends BizDict {
9
6
  useValues(): Promise<Entry[]>;
10
7
  }
@@ -1,8 +1,7 @@
1
1
  import { EnumDict } from "jmash-core";
2
- import { agentBizDict, ChinnelBizDict, InststBizDict, MerchantBizDict } from "./dict";
2
+ import { agentBizDict, InststBizDict, MerchantBizDict } from "./dict";
3
3
  export declare class Dict {
4
4
  static readonly agentBizDict: agentBizDict;
5
- static readonly channelBizDict: ChinnelBizDict;
6
5
  static readonly instsBizDict: InststBizDict;
7
6
  static readonly merchantBizDict: MerchantBizDict;
8
7
  static readonly payModeBizDict: EnumDict;
@@ -5,7 +5,7 @@ export interface SettleAgentTradeAnalysisReq extends EntityReq {
5
5
  agentCode?: string;
6
6
  merchantId?: string;
7
7
  likeMerchantNo?: string;
8
- channelId?: string;
8
+ instsId?: string;
9
9
  analysisTimeStart?: string;
10
10
  analysisTimeEnd?: string;
11
11
  marketBy?: string;
@@ -1,6 +1,6 @@
1
1
  export declare class Constant {
2
2
  static readonly PAYMENT_DICT = "payment";
3
- static readonly RPC_FORMAT_TIME = "YYYY-MM-DD";
3
+ static readonly RPC_FORMAT_TIME = "YYYY-MM-DDTHH:mm:SSZ";
4
4
  static readonly PAY_MODE = "xyvcard.payment.protobuf.PayMode";
5
5
  static readonly TRADE_TYPE = "xyvcard.payment.protobuf.TradeType";
6
6
  }
package/dts/src/main.d.ts CHANGED
@@ -2,3 +2,5 @@ import "@/permission";
2
2
  import "jmash-core/dist/style.css";
3
3
  import "jmash-rbac/dist/style.css";
4
4
  import "jmash-dict/dist/style.css";
5
+ import "xyvcard-agent/dist/style.css";
6
+ import "xyvcard-merchant/dist/style.css";
@@ -0,0 +1,8 @@
1
+ import { type RouteRecordRaw } from "vue-router";
2
+ export declare const settleRoutes: RouteRecordRaw[];
3
+ export declare const constantRoutes: RouteRecordRaw[];
4
+ /**
5
+ * 创建路由
6
+ */
7
+ declare const router: import("vue-router").Router;
8
+ export default router;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-settle",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "jmash-core": "^0.0.137",
15
15
  "jmash-dict": "^0.0.47",
16
16
  "jmash-rbac": "^0.0.49",
17
- "xyvcard-agent": "0.0.10",
18
- "xyvcard-merchant": "0.0.3",
17
+ "xyvcard-agent": "0.0.14",
18
+ "xyvcard-merchant": "0.0.5",
19
19
  "xyvcard-insts": "0.0.8",
20
20
  "pinia": "^2.2.4",
21
21
  "vue": "^3.5.11",
@@ -49,7 +49,7 @@
49
49
  "qs": "^6.12.0"
50
50
  },
51
51
  "scripts": {
52
- "dev": "vite",
52
+ "dev": "vite --host",
53
53
  "build": "vite build && pnpm build:dts",
54
54
  "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
55
55
  "preview": "vite preview",
@@ -1,9 +0,0 @@
1
- const r = (o, s) => {
2
- const c = o.__vccOpts || o;
3
- for (const [t, n] of s)
4
- c[t] = n;
5
- return c;
6
- };
7
- export {
8
- r as s
9
- };
@@ -1,13 +0,0 @@
1
- var p = Object.defineProperty;
2
- var y = (t, a, c) => a in t ? p(t, a, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[a] = c;
3
- var T = (t, a, c) => y(t, typeof a != "symbol" ? a + "" : a, c);
4
- class e {
5
- }
6
- //模块
7
- T(e, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
8
- T(e, "RPC_FORMAT_TIME", "YYYY-MM-DD"), // 支付方式
9
- T(e, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
10
- T(e, "TRADE_TYPE", "xyvcard.payment.protobuf.TradeType");
11
- export {
12
- e as C
13
- };
@@ -1,66 +0,0 @@
1
- import { CustomBizDict as l, EnumDict as o, BizLayDict as d, BizDict as m } from "jmash-core";
2
- import { Z as n, Y as y, i as h, a as p } from "./index-Du5bhBaC.mjs";
3
- import "vue";
4
- var T = Object.defineProperty, v = (s, e, t) => e in s ? T(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, i = (s, e, t) => v(s, typeof e != "symbol" ? e + "" : e, t);
5
- class D extends d {
6
- // 实现 useValues 方法
7
- useValues() {
8
- return new Promise((e, t) => {
9
- if (typeof h.findList > "u") {
10
- e(this.values);
11
- return;
12
- }
13
- const u = { ...this.query };
14
- h.findList(u).then(({ data: c }) => {
15
- const r = c.results;
16
- this.values.length = 0, this.values.push(...this.convertToLayEntryArray(r)), e(this.values);
17
- }).catch(t);
18
- });
19
- }
20
- convertToLayEntryArray(e) {
21
- return e.map((t) => ({
22
- value: t.agentId,
23
- label: t.agentAlias,
24
- parentId: t.parentId || "",
25
- children: t.children ? this.convertToLayEntryArray(t.children) : []
26
- }));
27
- }
28
- }
29
- class E extends m {
30
- // 实现 useValues 方法
31
- useValues() {
32
- return new Promise((e, t) => {
33
- p.findList(this.query).then(({ data: u }) => {
34
- const c = u.results;
35
- this.values.length = 0, this.values.push(
36
- ...c.map(
37
- (r) => ({
38
- key: r.instsId,
39
- value: r.instsName
40
- })
41
- )
42
- ), e(this.values);
43
- }).catch(t);
44
- });
45
- }
46
- }
47
- class a {
48
- }
49
- i(a, "hasStatusDict", new l(n.HAS_STATUS, {})), // 父代理商
50
- i(a, "parentIdBizDict", new D({})), // 员工状态
51
- i(a, "isStatusDict", new l(n.IS_STATUS, {})), // 落地机构
52
- i(a, "institutionBizDict", new E({})), // 商户类别
53
- i(a, "mccCodesDict", new y({
54
- typeCode: "mccCode"
55
- })), // 机构类型
56
- i(a, "instsTypeEnum", new o(
57
- n.MODULE_AGENT,
58
- n.DICT_INSTSTYPE_CODE
59
- )), // 代理商状态
60
- i(a, "agentStatusEnum", new o(
61
- n.MODULE_AGENT,
62
- n.DICT_AGENTSTATUS_CODE
63
- ));
64
- export {
65
- a as n
66
- };