xyvcard-settle 0.0.36 → 0.0.37
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-B-IkqJIh.mjs → history-DppKTWsM.mjs} +1 -1
- package/dist/{history-Bwh8KkP3.mjs → history-Dv2zWu7t.mjs} +1 -1
- package/dist/{history.vue_vue_type_script_setup_true_lang-BVjasG18.mjs → history.vue_vue_type_script_setup_true_lang-CtVDXjpp.mjs} +3 -4
- package/dist/{history.vue_vue_type_script_setup_true_lang-zty-H-sg.mjs → history.vue_vue_type_script_setup_true_lang-DGMNlepq.mjs} +3 -4
- package/dist/{index-DIBoxi0R.mjs → index-B1T6GA_X.mjs} +4 -5
- package/dist/{index-BTklOG4u.mjs → index-B33Q3ZQC.mjs} +42 -45
- package/dist/{index-2s-MEXAI.mjs → index-B7xd6ock.mjs} +2 -2
- package/dist/{index-CoFF2Ob7.mjs → index-B81N3bxj.mjs} +8 -8
- package/dist/{index-7mx7BVcy.mjs → index-BFHiB7kP.mjs} +161 -163
- package/dist/{index-C4I9aQCw.mjs → index-BS-eL0Z5.mjs} +1 -1
- package/dist/{index-cRii9rLo.mjs → index-BV7Yx1ZN.mjs} +3 -4
- package/dist/{index-CkZwAxic.mjs → index-CTi-ETJs.mjs} +4 -5
- package/dist/index-CxsNyMdg.mjs +110 -0
- package/dist/{index-Dd8mEaP-.mjs → index-DHS0CvTn.mjs} +4 -5
- package/dist/{index-DALnGGtE.mjs → index-Zo3QX_fX.mjs} +2 -2
- package/dist/{index-CIgkwH9Q.mjs → index-e2Wzbnr7.mjs} +18 -18
- package/dist/{index-DcFBsML4.mjs → index-hDvYrxNX.mjs} +7 -8
- package/dist/index.mjs +1 -1
- package/dist/{pay-Cbkrx0kF.mjs → pay-CFNzmo6x.mjs} +1 -1
- package/dist/{pay-B83bWp1o.mjs → pay-DabqR8eb.mjs} +1 -1
- package/dist/{payPal-CxeWojgW.mjs → payPal-C7Ttt6mf.mjs} +6 -7
- package/dist/{payPal-CSXQDwtc.mjs → payPal-J41FJEQT.mjs} +14 -15
- package/dist/style.css +1 -1
- package/dist/{today-D-CvVI4s.mjs → today-A4CUV61Z.mjs} +1 -1
- package/dist/{today-fC0tD5z6.mjs → today-zzTtFFaz.mjs} +1 -1
- package/dist/{today.vue_vue_type_script_setup_true_lang-gE2xanSS.mjs → today.vue_vue_type_script_setup_true_lang-BqFapZIT.mjs} +26 -26
- package/dist/{today.vue_vue_type_script_setup_true_lang-JtY78KZT.mjs → today.vue_vue_type_script_setup_true_lang-DhaJRJsJ.mjs} +1 -1
- package/dist/{trend-BrSUujKu.mjs → trend-D8pStiQ5.mjs} +1 -1
- package/dist/{trend-C4uCFrLb.mjs → trend-iT9IXU1F.mjs} +1 -1
- package/dts/src/constant.d.ts +0 -2
- package/package.json +62 -62
- package/dist/constant-D4ZF_7dk.mjs +0 -24
- package/dist/index-vAEKctTI.mjs +0 -92
|
@@ -3,29 +3,29 @@ import { useI18n as ne } from "vue-i18n";
|
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
4
|
import { useUserStore as v, clearEmpty as re, request as se, useTableHooks as ue } from "jmash-core";
|
|
5
5
|
import { channelApi as de } from "xyvcard-merchant";
|
|
6
|
-
import { D as
|
|
6
|
+
import { D as d } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
import { tokenExt as N } from "xyvcard-agent";
|
|
8
8
|
class ie {
|
|
9
|
-
getKey(
|
|
9
|
+
getKey(i) {
|
|
10
10
|
return {
|
|
11
|
-
receiptId:
|
|
11
|
+
receiptId: i.receiptId
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
// 查询翻页信息划款信息查询-今日到账
|
|
15
|
-
findPage(
|
|
15
|
+
findPage(i) {
|
|
16
16
|
const I = v().user.tenant;
|
|
17
|
-
return re(
|
|
17
|
+
return re(i), se({
|
|
18
18
|
url: "/v1/settle/receipt/today/" + I,
|
|
19
19
|
method: "get",
|
|
20
|
-
params:
|
|
20
|
+
params: i
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
25
25
|
__name: "today",
|
|
26
26
|
setup($) {
|
|
27
|
-
const { t:
|
|
28
|
-
|
|
27
|
+
const { t: i } = ne(), A = oe().query.tenant;
|
|
28
|
+
d.instsBizDict.useValues(), d.merchantBizDict.useValues(), d.agentBizDict.useValues();
|
|
29
29
|
const { proxy: B } = Z(), C = h([]), R = h(""), o = h({
|
|
30
30
|
tokenExt: N.getTokenExt(v().user.tenant),
|
|
31
31
|
channelId: R.value
|
|
@@ -36,13 +36,13 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
const {
|
|
39
|
-
tableHooks:
|
|
39
|
+
tableHooks: u,
|
|
40
40
|
multipleTableRef: U,
|
|
41
41
|
queryFormRef: x,
|
|
42
|
-
listLoading:
|
|
42
|
+
listLoading: L,
|
|
43
43
|
tableData: w,
|
|
44
44
|
total: b
|
|
45
|
-
} = ue(
|
|
45
|
+
} = ue(i, me, o);
|
|
46
46
|
let f = h([
|
|
47
47
|
// 序号
|
|
48
48
|
{
|
|
@@ -120,17 +120,17 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
120
120
|
isColumn: !0
|
|
121
121
|
}
|
|
122
122
|
]);
|
|
123
|
-
function
|
|
123
|
+
function P() {
|
|
124
124
|
o.value.merchantId = "", o.value.channelId = "", w.value = [];
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
126
|
+
function E(r) {
|
|
127
|
+
u.selectionRows.value = r;
|
|
128
128
|
}
|
|
129
129
|
function Q(r) {
|
|
130
|
-
|
|
130
|
+
u.handleSort(r.prop, r.order);
|
|
131
131
|
}
|
|
132
132
|
function q() {
|
|
133
|
-
|
|
133
|
+
u.handleQuery(), u.getList();
|
|
134
134
|
}
|
|
135
135
|
return (r, t) => {
|
|
136
136
|
const H = s("jmash-select"), _ = s("el-form-item"), y = s("el-col"), K = s("el-option"), Y = s("el-select"), D = s("el-button"), V = s("el-row"), F = s("el-form"), W = s("jmash-column-select"), G = s("jmash-table"), J = s("jmash-pagination"), O = s("el-card");
|
|
@@ -155,8 +155,8 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
155
155
|
modelValue: o.value.merchantId,
|
|
156
156
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => o.value.merchantId = e),
|
|
157
157
|
placeholder: r.$t("payTrade.merchantIdRead"),
|
|
158
|
-
data: n(
|
|
159
|
-
onKeyup: t[1] || (t[1] = S((e) => n(
|
|
158
|
+
data: n(d).merchantBizDict.values,
|
|
159
|
+
onKeyup: t[1] || (t[1] = S((e) => n(u).handleQuery(), ["enter"])),
|
|
160
160
|
class: "!w-[203px]",
|
|
161
161
|
filterable: "",
|
|
162
162
|
clearable: "",
|
|
@@ -179,7 +179,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
179
179
|
modelValue: o.value.channelId,
|
|
180
180
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => o.value.channelId = e),
|
|
181
181
|
placeholder: r.$t("settleTradeAnalysis.channelIdRead"),
|
|
182
|
-
onKeyup: t[3] || (t[3] = S((e) => n(
|
|
182
|
+
onKeyup: t[3] || (t[3] = S((e) => n(u).handleQuery(), ["enter"])),
|
|
183
183
|
class: "!w-[203px]",
|
|
184
184
|
filterable: "",
|
|
185
185
|
clearable: ""
|
|
@@ -187,7 +187,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
187
187
|
default: a(() => [
|
|
188
188
|
(g(!0), k(ee, null, te(C.value, (e) => (g(), M(K, {
|
|
189
189
|
key: e.channelId,
|
|
190
|
-
label: n(
|
|
190
|
+
label: n(d).instsBizDict.getValue(e.instsId) || e.instsId,
|
|
191
191
|
value: e.channelId
|
|
192
192
|
}, null, 8, ["label", "value"]))), 128))
|
|
193
193
|
]),
|
|
@@ -213,7 +213,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
213
213
|
_: 1
|
|
214
214
|
}),
|
|
215
215
|
l(D, {
|
|
216
|
-
onClick: t[5] || (t[5] = (e) =>
|
|
216
|
+
onClick: t[5] || (t[5] = (e) => P())
|
|
217
217
|
}, {
|
|
218
218
|
default: a(() => [
|
|
219
219
|
c(p(r.$t("common.reset")), 1)
|
|
@@ -265,7 +265,7 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
265
265
|
"onUpdate:currentPage": t[8] || (t[8] = (e) => o.value.curPage = e),
|
|
266
266
|
"page-size": o.value.pageSize,
|
|
267
267
|
"onUpdate:pageSize": t[9] || (t[9] = (e) => o.value.pageSize = e),
|
|
268
|
-
onPagination: t[10] || (t[10] = (e) => n(
|
|
268
|
+
onPagination: t[10] || (t[10] = (e) => n(u).getList())
|
|
269
269
|
}, null, 8, ["total", "current-page", "page-size"])) : le("", !0)
|
|
270
270
|
]),
|
|
271
271
|
default: a(() => {
|
|
@@ -276,10 +276,10 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
276
276
|
ref: U,
|
|
277
277
|
"row-key": "receiptId",
|
|
278
278
|
isSelection: !1,
|
|
279
|
-
"list-loading": n(
|
|
279
|
+
"list-loading": n(L),
|
|
280
280
|
data: n(w),
|
|
281
281
|
"table-label": n(f),
|
|
282
|
-
onSelectionChange:
|
|
282
|
+
onSelectionChange: E,
|
|
283
283
|
onSortChange: Q
|
|
284
284
|
}, ae({
|
|
285
285
|
transferMoneyDate: a((m) => [
|
|
@@ -289,14 +289,14 @@ const me = new ie(), ce = { class: "app-container" }, ve = /* @__PURE__ */ X({
|
|
|
289
289
|
)), 1)
|
|
290
290
|
]),
|
|
291
291
|
instsId: a((m) => [
|
|
292
|
-
c(p(n(
|
|
292
|
+
c(p(n(d).instsBizDict.getValue(m.data.row.instsId)), 1)
|
|
293
293
|
]),
|
|
294
294
|
_: 2
|
|
295
295
|
}, [
|
|
296
296
|
!((e = n(A)) != null && e.includes("@")) || T.value.merchantId ? {
|
|
297
297
|
name: "agentCode",
|
|
298
298
|
fn: a((m) => [
|
|
299
|
-
c(p(n(
|
|
299
|
+
c(p(n(d).agentBizDict.getValue(m.data.row.agentCode)), 1)
|
|
300
300
|
]),
|
|
301
301
|
key: "0"
|
|
302
302
|
} : {
|
|
@@ -3,7 +3,7 @@ import { useI18n as X } from "vue-i18n";
|
|
|
3
3
|
import { useUserStore as v, clearEmpty as Z, request as ee, useTableHooks as te } from "jmash-core";
|
|
4
4
|
import { tokenExt as V } from "xyvcard-agent";
|
|
5
5
|
import { channelApi as le } from "xyvcard-merchant";
|
|
6
|
-
import { D as c } from "./index-
|
|
6
|
+
import { D as c } from "./index-CxsNyMdg.mjs";
|
|
7
7
|
class ae {
|
|
8
8
|
getKey(d) {
|
|
9
9
|
return {
|
|
@@ -165,7 +165,7 @@ const Y = { class: "chart-container" }, k = /* @__PURE__ */ h({
|
|
|
165
165
|
}, null, 512)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-
|
|
168
|
+
}), F = /* @__PURE__ */ L(k, [["__scopeId", "data-v-c7cfdda7"]]);
|
|
169
169
|
export {
|
|
170
170
|
F as default
|
|
171
171
|
};
|
|
@@ -189,7 +189,7 @@ const A = new E(), $ = { class: "chart-container" }, z = /* @__PURE__ */ _({
|
|
|
189
189
|
}, null, 512)
|
|
190
190
|
]));
|
|
191
191
|
}
|
|
192
|
-
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-
|
|
192
|
+
}), F = /* @__PURE__ */ Y(z, [["__scopeId", "data-v-2edcf294"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
193
193
|
__proto__: null,
|
|
194
194
|
default: F
|
|
195
195
|
}, Symbol.toStringTag, { value: "Module" }));
|
package/dts/src/constant.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xyvcard-settle",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/src/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts/src"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"vue
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "xyvcard-settle",
|
|
3
|
+
"version": "0.0.37",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/src/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts/src"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite --host",
|
|
13
|
+
"build": "vite build && pnpm build:dts",
|
|
14
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
15
|
+
"preview": "vite preview",
|
|
16
|
+
"build-only": "vite build",
|
|
17
|
+
"type-check": "vue-tsc --build --force",
|
|
18
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
19
|
+
"format": "prettier --write src/"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"axios": "^1.9.0",
|
|
23
|
+
"element-plus": "^2.9.10",
|
|
24
|
+
"pinia": "^2.3.1",
|
|
25
|
+
"vue": "^3.5.13",
|
|
26
|
+
"vue-i18n": "^9.14.4",
|
|
27
|
+
"vue-router": "^4.5.1",
|
|
28
|
+
"jmash-core": "^0.1.4",
|
|
29
|
+
"jmash-dict": "^0.1.1",
|
|
30
|
+
"jmash-rbac": "^0.1.1",
|
|
31
|
+
"xyvcard-agent": "0.0.30",
|
|
32
|
+
"xyvcard-merchant": "0.0.31",
|
|
33
|
+
"xyvcard-insts": "0.0.17"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/js": "^9.14.0",
|
|
37
|
+
"@tsconfig/node20": "^20.1.2",
|
|
38
|
+
"@types/node": "^20.11.10",
|
|
39
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
40
|
+
"@vue/tsconfig": "^0.5.1",
|
|
41
|
+
"eslint": "^9.14.0",
|
|
42
|
+
"eslint-plugin-vue": "^9.30.0",
|
|
43
|
+
"globals": "^15.12.0",
|
|
44
|
+
"npm-run-all2": "^6.1.1",
|
|
45
|
+
"prettier": "^3.0.3",
|
|
46
|
+
"sass": "^1.72.0",
|
|
47
|
+
"typescript": "~5.3.0",
|
|
48
|
+
"typescript-eslint": "^8.13.0",
|
|
49
|
+
"unplugin-auto-import": "^0.17.5",
|
|
50
|
+
"unplugin-vue-components": "^0.26.0",
|
|
51
|
+
"vite": "^5.0.11",
|
|
52
|
+
"vue-tsc": "^2.1.10",
|
|
53
|
+
"moment": "^2.30.1"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"file-saver": "^2.0.5",
|
|
57
|
+
"nprogress": "^0.2.0",
|
|
58
|
+
"@vueuse/core": "^10.9.0",
|
|
59
|
+
"qs": "^6.12.0",
|
|
60
|
+
"echarts": "^5.5.1"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var c = Object.defineProperty;
|
|
2
|
-
var t = (a, E, _) => E in a ? c(a, E, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : a[E] = _;
|
|
3
|
-
var A = (a, E, _) => t(a, typeof E != "symbol" ? E + "" : E, _);
|
|
4
|
-
class T {
|
|
5
|
-
}
|
|
6
|
-
//模块
|
|
7
|
-
A(T, "PAYMENT_DICT", "payment"), // 时间格式 RFC-年月日时分
|
|
8
|
-
A(T, "RPC_FORMAT_TIME", "YYYY-MM-DDTHH:mm:SSZ"), // 时间格式 RFC-年月日时分
|
|
9
|
-
A(T, "RPC_FORMAT_DATA", "YYYY-MM-DD"), // 支付方式
|
|
10
|
-
A(T, "PAY_MODE", "xyvcard.payment.protobuf.PayMode"), // 交易类型
|
|
11
|
-
A(T, "TRADE_TYPE", "xyvcard.payment.protobuf.PayTradeType"), // 支付状态
|
|
12
|
-
A(T, "ORDER_STATUS", "xyvcard.payment.protobuf.PayOrderStatus"), // 支付状态
|
|
13
|
-
A(T, "TRADE_STATUS", "xyvcard.payment.protobuf.PayTradeStatus"), // 支付状态
|
|
14
|
-
A(T, "AGENT_AGREE", "AGENT_AGREE"), // 支付方式颜色
|
|
15
|
-
A(T, "PAYMENT_COLORS", {
|
|
16
|
-
WECHAT: "#3DDEC1",
|
|
17
|
-
ALIPAY: "#F79AE3",
|
|
18
|
-
UQRCODEPAY: "#F8A3A3",
|
|
19
|
-
BALANCE: "#FBD564",
|
|
20
|
-
NUCSPAY: "#C36433"
|
|
21
|
-
}), A(T, "MCHT_CHAIN_HEAD", "MCHT_CHAIN_HEAD"), A(T, "MCHT_CHAIN_BRANCH", "MCHT_CHAIN_BRANCH");
|
|
22
|
-
export {
|
|
23
|
-
T as C
|
|
24
|
-
};
|
package/dist/index-vAEKctTI.mjs
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty;
|
|
2
|
-
var d = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
|
-
var n = (e, t, s) => d(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
|
-
import { BizLayDict as A, BizDict as l, EnumDict as c } from "jmash-core";
|
|
5
|
-
import { C as r } from "./constant-D4ZF_7dk.mjs";
|
|
6
|
-
import { infoApi as y } from "xyvcard-agent";
|
|
7
|
-
import { institutionApi as m } from "xyvcard-insts";
|
|
8
|
-
import { merchantsApi as T } from "xyvcard-merchant";
|
|
9
|
-
function o(e, t, s) {
|
|
10
|
-
return !Array.isArray(e) || e.length === 0 ? [] : e.map((i) => {
|
|
11
|
-
let a = [];
|
|
12
|
-
return Array.isArray(i.children) && i.children.length > 0 && (a = o(i.children, t, s)), {
|
|
13
|
-
value: i[s],
|
|
14
|
-
label: i[t],
|
|
15
|
-
parentId: i.parentId,
|
|
16
|
-
children: a
|
|
17
|
-
};
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
class D extends A {
|
|
21
|
-
// 实现 useValues 方法
|
|
22
|
-
useValues() {
|
|
23
|
-
return new Promise((t, s) => {
|
|
24
|
-
this.query.approved = r.AGENT_AGREE, this.query.hasApproved = !0, y.findList(this.query).then(({ data: h }) => {
|
|
25
|
-
this.values.length = 0, this.values.push(
|
|
26
|
-
...o(h.results, "agentAlias", "agentCode")
|
|
27
|
-
), t(this.values);
|
|
28
|
-
}).catch(s);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
class E extends l {
|
|
33
|
-
// 实现 useValues 方法
|
|
34
|
-
useValues() {
|
|
35
|
-
return new Promise((t, s) => {
|
|
36
|
-
m.findList(this.query).then(({ data: h }) => {
|
|
37
|
-
const i = h.results;
|
|
38
|
-
this.values.length = 0, this.values.push(
|
|
39
|
-
...i.map(
|
|
40
|
-
(a) => ({
|
|
41
|
-
key: a.instsId,
|
|
42
|
-
value: a.instsName
|
|
43
|
-
})
|
|
44
|
-
)
|
|
45
|
-
), t(this.values);
|
|
46
|
-
}).catch(s);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
class v extends l {
|
|
51
|
-
// 实现 useValues 方法
|
|
52
|
-
useValues() {
|
|
53
|
-
return new Promise((t, s) => {
|
|
54
|
-
T.findList(this.query).then(({ data: h }) => {
|
|
55
|
-
const i = h.results;
|
|
56
|
-
this.values.length = 0, this.values.push(
|
|
57
|
-
...i.map(
|
|
58
|
-
(a) => ({
|
|
59
|
-
key: a.merchantId,
|
|
60
|
-
value: a.merchantName
|
|
61
|
-
})
|
|
62
|
-
)
|
|
63
|
-
), t(this.values);
|
|
64
|
-
}).catch(s);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
class u {
|
|
69
|
-
}
|
|
70
|
-
// 代理商
|
|
71
|
-
n(u, "agentBizDict", new D({})), // 落地机构
|
|
72
|
-
n(u, "instsBizDict", new E({})), // 商户名称
|
|
73
|
-
n(u, "merchantBizDict", new v({})), // 支付方式
|
|
74
|
-
n(u, "payModeBizDict", new c(
|
|
75
|
-
r.PAYMENT_DICT,
|
|
76
|
-
r.PAY_MODE
|
|
77
|
-
)), // 交易类型
|
|
78
|
-
n(u, "tradeTypeBizDict", new c(
|
|
79
|
-
r.PAYMENT_DICT,
|
|
80
|
-
r.TRADE_TYPE
|
|
81
|
-
)), // 订单状态
|
|
82
|
-
n(u, "orderStatusBizDict", new c(
|
|
83
|
-
r.PAYMENT_DICT,
|
|
84
|
-
r.ORDER_STATUS
|
|
85
|
-
)), // 交易状态
|
|
86
|
-
n(u, "tradeStatusBizDict", new c(
|
|
87
|
-
r.PAYMENT_DICT,
|
|
88
|
-
r.TRADE_STATUS
|
|
89
|
-
));
|
|
90
|
-
export {
|
|
91
|
-
u as D
|
|
92
|
-
};
|