xyvcard-settle 0.0.19 → 0.0.21
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.
- package/dist/{history-BqGlNUWq.mjs → history-BgXCgEWe.mjs} +1 -1
- package/dist/{history-Bf1plXQZ.mjs → history-DtjmHKa9.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Dbqhypfx.mjs → history.vue_vue_type_script_setup_true_lang-BolWWcQp.mjs} +27 -25
- package/dist/{history.vue_vue_type_script_setup_true_lang-BMWf3S8J.mjs → history.vue_vue_type_script_setup_true_lang-Cb_n42jg.mjs} +27 -27
- package/dist/{index-7sGznIYQ.mjs → index-A83m_bq9.mjs} +2 -2
- package/dist/{index-DRyh7Csl.mjs → index-AM0oEBSy.mjs} +94 -70
- package/dist/{index-yBUEGCAI.mjs → index-BPvCTpAw.mjs} +72 -70
- package/dist/{index-4mAQF6sI.mjs → index-B_A1F3k3.mjs} +31 -30
- package/dist/{index-Q5OOFu9F.mjs → index-DBd3Gkwy.mjs} +60 -60
- package/dist/index-D_DrLyqR.mjs +98 -0
- package/dist/{index-Dkcgyu5g.mjs → index-Dk7c4clB.mjs} +82 -81
- package/dist/{index-B5IIg45W.mjs → index-mgS8Yk77.mjs} +2 -2
- package/dist/index.mjs +6 -5
- package/dist/{today-CM47Nc1C.mjs → today-D7Qw-W1d.mjs} +1 -1
- package/dist/{today-DCYHokzf.mjs → today-DO4goI_2.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-G2Mu9j2x.mjs → today.vue_vue_type_script_setup_true_lang-BHX_3u1P.mjs} +27 -25
- package/dist/{today.vue_vue_type_script_setup_true_lang-Bd3zjPgQ.mjs → today.vue_vue_type_script_setup_true_lang-BVQUaV2S.mjs} +36 -34
- package/dts/src/lang/settle/zh-cn.d.ts +1 -0
- package/package.json +61 -61
- package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50-Dj7924hV.mjs +0 -9
- package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +0 -9
- package/dist/_plugin-vue_export-helper-CHgC5LLL-CE1ZRZXI.mjs +0 -9
- package/dist/config-J7atvZST-CRBatj_q.mjs +0 -1914
- package/dist/free-Cc9I120N-BWsHZFX2-Co-javuK.mjs +0 -73
- package/dist/free-DaGOIXVI-tyY1k0f0.mjs +0 -82
- package/dist/index-BCqoC3r3-BcdtrpBI.mjs +0 -46253
- package/dist/index-BKGG_3N--CJ3hL8zN.mjs +0 -1516
- package/dist/index-Bn8Vw_ua.mjs +0 -9095
- package/dist/index-BspHvxQr-uRg4kyPq-BVAozSDk.mjs +0 -44292
- package/dist/index-BtIY2iCq-L9CqrDwV.mjs +0 -10
- package/dist/index-Bte5tu_Z-D-6PVKiX.mjs +0 -44054
- package/dist/index-By-fLqD6-DyhYoWmA.mjs +0 -426
- package/dist/index-C0VdCZ5o-s6ra_Kpv-CZy2xVew-D4twp64d.mjs +0 -4699
- package/dist/index-Cm_dqHhZ-BI2t_Gn3-I11M41Uv.mjs +0 -4236
- package/dist/index-DRytXEq2-Jv_7nGuc.mjs +0 -422
- package/dist/index-V24QP_Fz-BzkjeGHi-CUvjUkVt.mjs +0 -4741
- package/dist/index-V24QP_Fz-IKRedGuT.mjs +0 -4741
- package/dist/index-eCinebyw-DzNkuViw.mjs +0 -7401
- package/dist/index-iRoYfjIt-Cj_hVoo3.mjs +0 -46
- package/dist/info-B9D5Y0O1-DThXQ9ZH-CQu9zPB1-cHVryWdy.mjs +0 -564
- package/dist/info-C1ILoPOK-DzbUVoy0.mjs +0 -1258
- package/dist/info-C6ZgzFaa-Bez0AAwc.mjs +0 -170
- package/dist/info-Cj0C9r3t-mBibS56J-1nf1Pkz0.mjs +0 -237
- package/dist/info-Crc5gYV2-B6kmznRN-CHyvC5Ze-D9jtqqDB.mjs +0 -1257
- package/dist/info-DFu31zdX-CdOAZ1k9.mjs +0 -814
- package/dist/info-DOOuWsLL-Dl19ZBB1-CWqFh2bn.mjs +0 -1258
- package/dist/info-Ddj4fPdK-l67VuXu5.mjs +0 -564
- package/dist/info-DjbDXhlf-D7nLFio2-CiIp1epX.mjs +0 -818
- package/dist/info-DzkZlnCT-B2jxjTWC-Bok9aPNp-vPrVwpKx.mjs +0 -139
- package/dist/info-EEQdBSPc-B6uHnl48-CZnr2mHJ.mjs +0 -564
- package/dist/info-JTzVjKGk-BHMjIGeZ.mjs +0 -237
- package/dist/product-BJX8VysN-CzHJn-wh.mjs +0 -731
- 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 l, unref as
|
|
2
|
-
import { useUserStore as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { D as b, C as S } from "./index-
|
|
5
|
-
import { useRouter as
|
|
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 =
|
|
16
|
-
return
|
|
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"],
|
|
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
|
-
setup(
|
|
26
|
-
const { t: p } =
|
|
26
|
+
setup(N) {
|
|
27
|
+
const { t: p } = se();
|
|
27
28
|
b.agentBizDict.useValues(), b.instsBizDict.useValues();
|
|
28
|
-
const T =
|
|
29
|
-
tokenExt: M
|
|
29
|
+
const T = re(), { proxy: k } = X(), s = A({
|
|
30
|
+
tokenExt: de.getTokenExt(M().user.tenant)
|
|
30
31
|
}), {
|
|
31
32
|
tableHooks: i,
|
|
32
|
-
multipleTableRef:
|
|
33
|
+
multipleTableRef: I,
|
|
33
34
|
queryFormRef: E,
|
|
34
35
|
listLoading: P,
|
|
35
36
|
tableData: z,
|
|
36
37
|
total: v
|
|
37
|
-
} =
|
|
38
|
+
} = oe(p, ie, s);
|
|
38
39
|
let C = i.totalRecord;
|
|
39
40
|
const c = A([]);
|
|
40
|
-
function U(
|
|
41
|
-
c.value =
|
|
42
|
-
|
|
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
45
|
), s.value.analysisTimeEnd = k.$moment.formatDate(
|
|
45
|
-
|
|
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
|
// 商户数
|
|
@@ -121,24 +121,24 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
121
121
|
isColumn: !0
|
|
122
122
|
}
|
|
123
123
|
]);
|
|
124
|
-
function j(
|
|
124
|
+
function j(n) {
|
|
125
125
|
T.push({
|
|
126
126
|
path: "/payment/pay-trade",
|
|
127
127
|
query: {
|
|
128
|
-
agentCode:
|
|
128
|
+
agentCode: n.agentCode
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
function B() {
|
|
133
133
|
c.value = [], i.resetQuery();
|
|
134
134
|
}
|
|
135
|
-
function Y(
|
|
136
|
-
i.selectionRows.value =
|
|
135
|
+
function Y(n) {
|
|
136
|
+
i.selectionRows.value = n;
|
|
137
137
|
}
|
|
138
|
-
function Q(
|
|
139
|
-
i.handleSort(
|
|
138
|
+
function Q(n) {
|
|
139
|
+
i.handleSort(n.prop, n.order);
|
|
140
140
|
}
|
|
141
|
-
return i.getList(), (
|
|
141
|
+
return i.getList(), (n, e) => {
|
|
142
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");
|
|
143
143
|
return h(), R("div", me, [
|
|
144
144
|
f("div", pe, [
|
|
@@ -154,18 +154,18 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
154
154
|
t(u, { span: 6 }, {
|
|
155
155
|
default: l(() => [
|
|
156
156
|
t(y, {
|
|
157
|
-
label:
|
|
157
|
+
label: n.$t("settleTradeAnalysis.agentCode"),
|
|
158
158
|
prop: "agentCode"
|
|
159
159
|
}, {
|
|
160
160
|
default: l(() => [
|
|
161
161
|
t(F, {
|
|
162
162
|
modelValue: s.value.agentCode,
|
|
163
163
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => s.value.agentCode = a),
|
|
164
|
-
data:
|
|
164
|
+
data: o(b).agentBizDict.values,
|
|
165
165
|
"node-key": "value",
|
|
166
166
|
filterable: "",
|
|
167
167
|
clearable: "",
|
|
168
|
-
placeholder:
|
|
168
|
+
placeholder: n.$t("settleTradeAnalysis.agentCodeRead")
|
|
169
169
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
170
170
|
]),
|
|
171
171
|
_: 1
|
|
@@ -176,15 +176,15 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
176
176
|
t(u, { span: 6 }, {
|
|
177
177
|
default: l(() => [
|
|
178
178
|
t(y, {
|
|
179
|
-
label:
|
|
179
|
+
label: n.$t("settleTradeAnalysis.agentCodes"),
|
|
180
180
|
prop: "agentCode"
|
|
181
181
|
}, {
|
|
182
182
|
default: l(() => [
|
|
183
183
|
t(w, {
|
|
184
184
|
modelValue: s.value.agentCode,
|
|
185
185
|
"onUpdate:modelValue": e[1] || (e[1] = (a) => s.value.agentCode = a),
|
|
186
|
-
placeholder:
|
|
187
|
-
onKeyup: e[2] || (e[2] = V((a) =>
|
|
186
|
+
placeholder: n.$t("settleTradeAnalysis.agentCodesRead"),
|
|
187
|
+
onKeyup: e[2] || (e[2] = V((a) => o(i).handleQuery(), ["enter"])),
|
|
188
188
|
class: "!w-[203px]"
|
|
189
189
|
}, null, 8, ["modelValue", "placeholder"])
|
|
190
190
|
]),
|
|
@@ -196,16 +196,16 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
196
196
|
t(u, { span: 6 }, {
|
|
197
197
|
default: l(() => [
|
|
198
198
|
t(y, {
|
|
199
|
-
label:
|
|
199
|
+
label: n.$t("payTrade.instsId"),
|
|
200
200
|
prop: "channelId"
|
|
201
201
|
}, {
|
|
202
202
|
default: l(() => [
|
|
203
203
|
t(K, {
|
|
204
204
|
modelValue: s.value.channelId,
|
|
205
205
|
"onUpdate:modelValue": e[3] || (e[3] = (a) => s.value.channelId = a),
|
|
206
|
-
placeholder:
|
|
207
|
-
data:
|
|
208
|
-
onKeyup: e[4] || (e[4] = V((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"])),
|
|
209
209
|
class: "!w-[203px]",
|
|
210
210
|
filterable: "",
|
|
211
211
|
clearable: ""
|
|
@@ -219,15 +219,15 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
219
219
|
t(u, { span: 6 }, {
|
|
220
220
|
default: l(() => [
|
|
221
221
|
t(y, {
|
|
222
|
-
label:
|
|
222
|
+
label: n.$t("settleTradeAnalysis.likeMerchantNo"),
|
|
223
223
|
prop: "likeMerchantNo"
|
|
224
224
|
}, {
|
|
225
225
|
default: l(() => [
|
|
226
226
|
t(w, {
|
|
227
227
|
modelValue: s.value.likeMerchantNo,
|
|
228
228
|
"onUpdate:modelValue": e[5] || (e[5] = (a) => s.value.likeMerchantNo = a),
|
|
229
|
-
placeholder:
|
|
230
|
-
onKeyup: e[6] || (e[6] = V((a) =>
|
|
229
|
+
placeholder: n.$t("settleTradeAnalysis.likeMerchantNoRead"),
|
|
230
|
+
onKeyup: e[6] || (e[6] = V((a) => o(i).handleQuery(), ["enter"])),
|
|
231
231
|
class: "!w-[203px]"
|
|
232
232
|
}, null, 8, ["modelValue", "placeholder"])
|
|
233
233
|
]),
|
|
@@ -244,7 +244,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
244
244
|
t(u, { span: 6 }, {
|
|
245
245
|
default: l(() => [
|
|
246
246
|
t(y, {
|
|
247
|
-
label:
|
|
247
|
+
label: n.$t("settleTradeAnalysis.createTime"),
|
|
248
248
|
prop: "analysisTimeStart"
|
|
249
249
|
}, {
|
|
250
250
|
default: l(() => [
|
|
@@ -255,8 +255,8 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
255
255
|
format: "YYYY-MM-DD",
|
|
256
256
|
"value-format": "YYYY-MM-DD",
|
|
257
257
|
"range-separator": "-",
|
|
258
|
-
"start-placeholder":
|
|
259
|
-
"end-placeholder":
|
|
258
|
+
"start-placeholder": n.$t("settleTradeAnalysis.analysisTimeStart"),
|
|
259
|
+
"end-placeholder": n.$t("settleTradeAnalysis.analysisTimeEnd"),
|
|
260
260
|
onChange: U
|
|
261
261
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
262
262
|
]),
|
|
@@ -271,10 +271,10 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
271
271
|
default: l(() => [
|
|
272
272
|
t($, {
|
|
273
273
|
type: "primary",
|
|
274
|
-
onClick: e[8] || (e[8] = (a) =>
|
|
274
|
+
onClick: e[8] || (e[8] = (a) => o(i).handleQuery())
|
|
275
275
|
}, {
|
|
276
276
|
default: l(() => [
|
|
277
|
-
d(m(
|
|
277
|
+
d(m(n.$t("common.search")), 1)
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
280
280
|
}),
|
|
@@ -282,7 +282,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
282
282
|
onClick: e[9] || (e[9] = (a) => B())
|
|
283
283
|
}, {
|
|
284
284
|
default: l(() => [
|
|
285
|
-
d(m(
|
|
285
|
+
d(m(n.$t("common.reset")), 1)
|
|
286
286
|
]),
|
|
287
287
|
_: 1
|
|
288
288
|
})
|
|
@@ -313,7 +313,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
313
313
|
}, {
|
|
314
314
|
default: l(() => [
|
|
315
315
|
t(O, {
|
|
316
|
-
modelValue:
|
|
316
|
+
modelValue: o(g),
|
|
317
317
|
"onUpdate:modelValue": e[10] || (e[10] = (a) => D(g) ? g.value = a : g = a),
|
|
318
318
|
"label-name": "settle/settle-trade-analysis"
|
|
319
319
|
}, null, 8, ["modelValue"])
|
|
@@ -325,15 +325,15 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
325
325
|
})
|
|
326
326
|
]),
|
|
327
327
|
footer: l(() => [
|
|
328
|
-
|
|
328
|
+
o(v) > 0 ? (h(), te(W, {
|
|
329
329
|
key: 0,
|
|
330
|
-
total:
|
|
330
|
+
total: o(v),
|
|
331
331
|
"onUpdate:total": e[11] || (e[11] = (a) => D(v) ? v.value = a : null),
|
|
332
332
|
"current-page": s.value.curPage,
|
|
333
333
|
"onUpdate:currentPage": e[12] || (e[12] = (a) => s.value.curPage = a),
|
|
334
334
|
"page-size": s.value.pageSize,
|
|
335
335
|
"onUpdate:pageSize": e[13] || (e[13] = (a) => s.value.pageSize = a),
|
|
336
|
-
onPagination: e[14] || (e[14] = (a) =>
|
|
336
|
+
onPagination: e[14] || (e[14] = (a) => o(i).getList())
|
|
337
337
|
}, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
|
|
338
338
|
]),
|
|
339
339
|
default: l(() => [
|
|
@@ -343,7 +343,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
343
343
|
t(u, { span: 6 }, {
|
|
344
344
|
default: l(() => [
|
|
345
345
|
e[16] || (e[16] = d(" 总交易笔数: ")),
|
|
346
|
-
f("span", ye, m(
|
|
346
|
+
f("span", ye, m(o(C).totalOrderCount), 1),
|
|
347
347
|
e[17] || (e[17] = d(" 笔 "))
|
|
348
348
|
]),
|
|
349
349
|
_: 1
|
|
@@ -351,7 +351,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
351
351
|
t(u, { span: 6 }, {
|
|
352
352
|
default: l(() => [
|
|
353
353
|
e[18] || (e[18] = d(" 总交易金额: ")),
|
|
354
|
-
f("span", ce, m(
|
|
354
|
+
f("span", ce, m(o(C).totalOrderAmount), 1),
|
|
355
355
|
e[19] || (e[19] = d(" 元 "))
|
|
356
356
|
]),
|
|
357
357
|
_: 1
|
|
@@ -359,7 +359,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
359
359
|
t(u, { span: 6 }, {
|
|
360
360
|
default: l(() => [
|
|
361
361
|
e[20] || (e[20] = d(" 手续费: ")),
|
|
362
|
-
f("span", ge, m(
|
|
362
|
+
f("span", ge, m(o(C).totalFeeAmt), 1),
|
|
363
363
|
e[21] || (e[21] = d(" 元 "))
|
|
364
364
|
]),
|
|
365
365
|
_: 1
|
|
@@ -367,7 +367,7 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
367
367
|
t(u, { span: 6 }, {
|
|
368
368
|
default: l(() => [
|
|
369
369
|
e[22] || (e[22] = d(" 结算金额: ")),
|
|
370
|
-
f("span", be, m(
|
|
370
|
+
f("span", be, m(o(C).totalSettleAmount), 1),
|
|
371
371
|
e[23] || (e[23] = d(" 元 "))
|
|
372
372
|
]),
|
|
373
373
|
_: 1
|
|
@@ -378,24 +378,24 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
378
378
|
]),
|
|
379
379
|
t(H, {
|
|
380
380
|
ref_key: "multipleTableRef",
|
|
381
|
-
ref:
|
|
381
|
+
ref: I,
|
|
382
382
|
"row-key": "settleTradeAnalysisPk",
|
|
383
383
|
isSelection: !1,
|
|
384
|
-
"list-loading":
|
|
385
|
-
data:
|
|
386
|
-
"table-label":
|
|
384
|
+
"list-loading": o(P),
|
|
385
|
+
data: o(z),
|
|
386
|
+
"table-label": o(g),
|
|
387
387
|
onSelectionChange: Y,
|
|
388
388
|
onSortChange: Q
|
|
389
389
|
}, {
|
|
390
390
|
agentCode: l((a) => [
|
|
391
|
-
d(m(
|
|
391
|
+
d(m(o(b).agentBizDict.getValue(a.data.row.agentCode)), 1)
|
|
392
392
|
]),
|
|
393
393
|
operation: l((a) => [
|
|
394
394
|
ee((h(), R("span", {
|
|
395
395
|
class: "el-button-color",
|
|
396
396
|
onClick: (Ce) => j(a.data.row)
|
|
397
397
|
}, [
|
|
398
|
-
d(m(
|
|
398
|
+
d(m(n.$t("settleTradeAnalysis.view")), 1)
|
|
399
399
|
], 8, ve)), [
|
|
400
400
|
[G, ["settle:settle_trade_analysis:view"]]
|
|
401
401
|
])
|
|
@@ -410,5 +410,5 @@ const ie = new ue(), me = { class: "app-container" }, pe = { class: "search-cont
|
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
412
|
export {
|
|
413
|
-
|
|
413
|
+
we as default
|
|
414
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
|
+
};
|