xyvcard-settle 0.0.44 → 0.0.45
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/agent-R-Ml-XTA.mjs +32 -0
- package/dist/{history-BAkRg2pq.mjs → history-B3jtcAZ7.mjs} +1 -1
- package/dist/{history-Dn1bbCcI.mjs → history-DCwgJuDo.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-Dl65zcTa.mjs → history.vue_vue_type_script_setup_true_lang-BoqPcTMS.mjs} +33 -33
- package/dist/{history.vue_vue_type_script_setup_true_lang-CgrLgBqg.mjs → history.vue_vue_type_script_setup_true_lang-DO3kL3x0.mjs} +26 -26
- package/dist/{index-CaaOEjHM.mjs → index-B8Y2esGZ.mjs} +2 -2
- package/dist/{index-vF1PDwWz.mjs → index-BJDG5RJu.mjs} +34 -33
- package/dist/{index-oJY5i5R_.mjs → index-BVMo8bBb.mjs} +2 -2
- package/dist/{index-CbEHaatk.mjs → index-CWRtxckQ.mjs} +1 -1
- package/dist/{index-BTCLMpHR.mjs → index-ClDxB7Ty.mjs} +39 -39
- package/dist/{index-DsEuGxTJ.mjs → index-DSAnrTJ1.mjs} +36 -35
- package/dist/{index-DzN2x713.mjs → index-DcjjaDUk.mjs} +1 -1
- package/dist/{index-A0dvO46M.mjs → index-NpIRi2wB.mjs} +8 -8
- package/dist/{index-Dp6vdCsP.mjs → index-VaOtKTy8.mjs} +35 -35
- package/dist/{index-CE4_NZLb.mjs → index-pv0_vmcX.mjs} +1 -1
- package/dist/{index-BRU67qDa.mjs → index-yQjjxDcA.mjs} +34 -33
- package/dist/index.mjs +1 -1
- package/dist/merchant-D9rtENQd.mjs +32 -0
- package/dist/pay-CZR9oAkw.mjs +126 -0
- package/dist/pay-fu3fGrJB.mjs +106 -0
- package/dist/style.css +1 -1
- package/dist/{today-C1jwQmNs.mjs → today-CLfowatL.mjs} +1 -1
- package/dist/{today-ZrG0UNrv.mjs → today-eDeS0zsk.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-BPQu6Gke.mjs → today.vue_vue_type_script_setup_true_lang-Bq4NCLzD.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-CZqnx44q.mjs → today.vue_vue_type_script_setup_true_lang-CBon7bqw.mjs} +1 -1
- package/dts/src/api/settle/agent.d.ts +4 -4
- package/dts/src/api/settle/merchant.d.ts +9 -0
- package/package.json +2 -2
- package/dist/agent-BXhE-jbg.mjs +0 -32
- package/dist/pay-CvwrYB4j.mjs +0 -121
- 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,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as F, getCurrentInstance as W, ref as k, resolveComponent as
|
|
1
|
+
import { defineComponent as F, getCurrentInstance as W, ref as k, resolveComponent as d, 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 g, 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-
|
|
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 {
|
|
@@ -14,15 +14,15 @@ class se {
|
|
|
14
14
|
}
|
|
15
15
|
// 查询翻页信息划款信息查询-到账(历史)
|
|
16
16
|
findPage(m) {
|
|
17
|
-
const
|
|
17
|
+
const R = $().user.tenant;
|
|
18
18
|
return te(m), ae({
|
|
19
|
-
url: "/v1/settle/receipt/page/" +
|
|
19
|
+
url: "/v1/settle/receipt/page/" + R,
|
|
20
20
|
method: "get",
|
|
21
21
|
params: m
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const de = new se(), ie = { 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:
|
|
34
|
-
multipleTableRef:
|
|
33
|
+
tableHooks: i,
|
|
34
|
+
multipleTableRef: A,
|
|
35
35
|
queryFormRef: Y,
|
|
36
|
-
listLoading:
|
|
36
|
+
listLoading: U,
|
|
37
37
|
tableData: B,
|
|
38
|
-
total:
|
|
39
|
-
} = le(m,
|
|
38
|
+
total: y
|
|
39
|
+
} = le(m, de, o);
|
|
40
40
|
let f = k([
|
|
41
41
|
// 序号
|
|
42
42
|
{
|
|
@@ -115,14 +115,14 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
|
|
|
115
115
|
}
|
|
116
116
|
]);
|
|
117
117
|
function j(r) {
|
|
118
|
-
|
|
118
|
+
i.selectionRows.value = r;
|
|
119
119
|
}
|
|
120
120
|
function E(r) {
|
|
121
|
-
|
|
121
|
+
i.handleSort(r.prop, r.order);
|
|
122
122
|
}
|
|
123
|
-
return
|
|
124
|
-
const
|
|
125
|
-
return T(), G("div",
|
|
123
|
+
return i.getList(), (r, e) => {
|
|
124
|
+
const D = d("el-input"), u = 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 T(), G("div", ie, [
|
|
126
126
|
t(Q, {
|
|
127
127
|
ref_key: "queryFormRef",
|
|
128
128
|
ref: Y,
|
|
@@ -142,11 +142,11 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
|
|
|
142
142
|
prop: "likeMerchantName"
|
|
143
143
|
}, {
|
|
144
144
|
default: a(() => [
|
|
145
|
-
t(
|
|
145
|
+
t(D, {
|
|
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(
|
|
149
|
+
onKeyup: e[1] || (e[1] = M((s) => l(i).handleQuery(), ["enter"])),
|
|
150
150
|
class: "!w-[203px]"
|
|
151
151
|
}, null, 8, ["modelValue", "placeholder"])
|
|
152
152
|
]),
|
|
@@ -162,11 +162,11 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
|
|
|
162
162
|
prop: "likeMerchantNo"
|
|
163
163
|
}, {
|
|
164
164
|
default: a(() => [
|
|
165
|
-
t(
|
|
165
|
+
t(D, {
|
|
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(
|
|
169
|
+
onKeyup: e[3] || (e[3] = M((s) => l(i).handleQuery(), ["enter"])),
|
|
170
170
|
class: "!w-[203px]"
|
|
171
171
|
}, null, 8, ["modelValue", "placeholder"])
|
|
172
172
|
]),
|
|
@@ -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(
|
|
216
|
+
onKeyup: e[6] || (e[6] = M((s) => l(i).handleQuery(), ["enter"])),
|
|
217
217
|
class: "!w-[203px]",
|
|
218
218
|
filterable: "",
|
|
219
219
|
clearable: ""
|
|
@@ -263,18 +263,18 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
|
|
|
263
263
|
default: a(() => [
|
|
264
264
|
t(w, {
|
|
265
265
|
type: "primary",
|
|
266
|
-
onClick: e[9] || (e[9] = (s) => l(
|
|
266
|
+
onClick: e[9] || (e[9] = (s) => l(i).handleQuery())
|
|
267
267
|
}, {
|
|
268
268
|
default: a(() => [
|
|
269
|
-
b(
|
|
269
|
+
b(g(r.$t("common.search")), 1)
|
|
270
270
|
]),
|
|
271
271
|
_: 1
|
|
272
272
|
}),
|
|
273
273
|
t(w, {
|
|
274
|
-
onClick: e[10] || (e[10] = (s) => l(
|
|
274
|
+
onClick: e[10] || (e[10] = (s) => l(i).resetQuery())
|
|
275
275
|
}, {
|
|
276
276
|
default: a(() => [
|
|
277
|
-
b(
|
|
277
|
+
b(g(r.$t("common.reset")), 1)
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
280
280
|
})
|
|
@@ -316,40 +316,40 @@ const ie = new se(), de = { class: "app-container" }, he = /* @__PURE__ */ F({
|
|
|
316
316
|
})
|
|
317
317
|
]),
|
|
318
318
|
footer: a(() => [
|
|
319
|
-
l(
|
|
319
|
+
l(y) > 0 ? (T(), N(L, {
|
|
320
320
|
key: 0,
|
|
321
|
-
total: l(
|
|
322
|
-
"onUpdate:total": e[12] || (e[12] = (n) => S(
|
|
321
|
+
total: l(y),
|
|
322
|
+
"onUpdate:total": e[12] || (e[12] = (n) => S(y) ? y.value = n : null),
|
|
323
323
|
"current-page": o.value.curPage,
|
|
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(
|
|
327
|
+
onPagination: e[15] || (e[15] = (n) => l(i).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:
|
|
333
|
+
ref: A,
|
|
334
334
|
"row-key": "receiptId",
|
|
335
335
|
isSelection: !1,
|
|
336
|
-
"list-loading": l(
|
|
336
|
+
"list-loading": l(U),
|
|
337
337
|
data: l(B),
|
|
338
338
|
"table-label": l(f),
|
|
339
339
|
onSelectionChange: j,
|
|
340
340
|
onSortChange: E
|
|
341
341
|
}, {
|
|
342
342
|
instsId: a((n) => [
|
|
343
|
-
b(
|
|
343
|
+
b(g(l(c).instsBizDict.getValue(n.data.row.instsId)), 1)
|
|
344
344
|
]),
|
|
345
345
|
transferMoneyDate: a((n) => [
|
|
346
|
-
b(
|
|
346
|
+
b(g(l(z).$moment.formatDate(
|
|
347
347
|
n.data.row.transferMoneyDate + " " + n.data.row.transferMoneyTime,
|
|
348
348
|
"YYYY-MM-DD HH:mm:ss"
|
|
349
349
|
)), 1)
|
|
350
350
|
]),
|
|
351
351
|
agentCode: a((n) => [
|
|
352
|
-
b(
|
|
352
|
+
b(g(l(oe)(n.data.row.agentCode)), 1)
|
|
353
353
|
]),
|
|
354
354
|
_: 1
|
|
355
355
|
}, 8, ["list-loading", "data", "table-label"])
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as K, getCurrentInstance as Q, ref as
|
|
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
|
|
6
|
+
import { D } from "./index-yz18Lhpm.mjs";
|
|
7
7
|
import { DateRange as ne } from "xyvcard-insts";
|
|
8
|
-
import { g as oe } from "./agent-
|
|
8
|
+
import { g as oe } from "./agent-R-Ml-XTA.mjs";
|
|
9
9
|
class re {
|
|
10
|
-
getKey(
|
|
10
|
+
getKey(u) {
|
|
11
11
|
return {
|
|
12
|
-
receiptId:
|
|
12
|
+
receiptId: u.receiptId
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
// 查询翻页信息划款信息查询-到账(历史)
|
|
16
|
-
findPage(
|
|
16
|
+
findPage(u) {
|
|
17
17
|
const _ = I().user.tenant;
|
|
18
|
-
return Z(
|
|
18
|
+
return Z(u), ee({
|
|
19
19
|
url: "/v1/settle/receipt/my/page/" + _,
|
|
20
20
|
method: "get",
|
|
21
|
-
params:
|
|
21
|
+
params: u
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const se = new re(), de = { class: "app-container" },
|
|
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:
|
|
29
|
-
|
|
30
|
-
const { proxy: _ } = Q(), r =
|
|
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 =
|
|
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(
|
|
44
|
-
let p =
|
|
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
|
|
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
|
|
131
|
-
return
|
|
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(
|
|
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
|
-
(
|
|
178
|
+
(i(!0), b(x, null, G(M.value, (e) => (i(), w(z, {
|
|
179
179
|
key: e.channelId,
|
|
180
|
-
label: o(
|
|
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 ? (
|
|
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:
|
|
303
|
+
onSortChange: E
|
|
304
304
|
}, {
|
|
305
305
|
instsId: l((e) => [
|
|
306
|
-
g(f(o(
|
|
306
|
+
g(f(o(D).instsBizDict.getValue(e.data.row.instsId)), 1)
|
|
307
307
|
]),
|
|
308
308
|
transferMoneyDate: l((e) => [
|
|
309
|
-
e.data.row.transferMoneyDate ? (
|
|
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)) : (
|
|
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,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-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
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
|
|
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-
|
|
9
|
-
|
|
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
|
|
19
|
+
const D = U().user.tenant;
|
|
19
20
|
return oe(T), se({
|
|
20
|
-
url: "/v1/settle/analysis/merchant/page/" +
|
|
21
|
+
url: "/v1/settle/analysis/merchant/page/" + D,
|
|
21
22
|
method: "get",
|
|
22
23
|
params: T
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
|
-
const
|
|
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
|
|
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,
|
|
41
|
-
let g = u.totalRecord, A =
|
|
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"),
|
|
163
|
-
return
|
|
164
|
-
b("div",
|
|
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] =
|
|
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] =
|
|
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] =
|
|
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] =
|
|
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(
|
|
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] =
|
|
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] =
|
|
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(
|
|
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(
|
|
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 ? (
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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(
|
|
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((
|
|
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,
|
|
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
|
-
|
|
573
|
+
Re as default
|
|
573
574
|
};
|
|
@@ -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-
|
|
3
|
-
import { _ as b } from "./today.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as f } from "./history.vue_vue_type_script_setup_true_lang-BoqPcTMS.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) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, getCurrentInstance as T, ref as p, onMounted as P
|
|
|
2
2
|
import { useRouter as b } from "vue-router";
|
|
3
3
|
import { s as B } from "./index-eUhFgNKx.mjs";
|
|
4
4
|
import { C as N } from "./index-yz18Lhpm.mjs";
|
|
5
|
-
import R from "./pay-
|
|
5
|
+
import R from "./pay-CZR9oAkw.mjs";
|
|
6
6
|
import I from "./payPal-3RoPmLkF.mjs";
|
|
7
7
|
import q from "./trend-BrSUujKu.mjs";
|
|
8
8
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|