xyvcard-settle 0.0.1
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/README.md +51 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N.mjs +9 -0
- package/dist/config-R2xCEQim-DIKcGx0K.mjs +1914 -0
- package/dist/constant-CRJQFGuS.mjs +13 -0
- package/dist/free-DaGOIXVI-B4EUrY1S.mjs +82 -0
- package/dist/history-BI8tBxQK.mjs +4 -0
- package/dist/history.vue_vue_type_script_setup_true_lang-Bt76Bf2d.mjs +357 -0
- package/dist/index-BIkG_C6y.mjs +576 -0
- package/dist/index-BOfabDwA.mjs +430 -0
- package/dist/index-BtIY2iCq-Lnfhe6EF.mjs +10 -0
- package/dist/index-C0VdCZ5o-BNScagBV.mjs +4699 -0
- package/dist/index-D0t5a2Ea.mjs +508 -0
- package/dist/index-D1OlL970.mjs +49 -0
- package/dist/index-DAOhjHwC-Czfft2rT.mjs +66 -0
- package/dist/index-Du5bhBaC.mjs +9532 -0
- package/dist/index-iRoYfjIt-BqHR0buV.mjs +46 -0
- package/dist/index.mjs +99 -0
- package/dist/info-B9D5Y0O1-DEwKlMld.mjs +564 -0
- package/dist/info-Crc5gYV2-DBeit1HQ.mjs +1257 -0
- package/dist/info-DGVdsQCx-CKD7-DIe.mjs +160 -0
- package/dist/info-DzkZlnCT-BybQZHaY.mjs +139 -0
- package/dist/info-JTzVjKGk-DYLiAYjO.mjs +237 -0
- package/dist/product-BJX8VysN-D3xaS1Fd.mjs +731 -0
- package/dist/today-CP9UcD78.mjs +4 -0
- package/dist/today.vue_vue_type_script_setup_true_lang-TJfZj_xB.mjs +349 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/settle/dict.d.ts +13 -0
- package/dts/src/api/settle/index.d.ts +10 -0
- package/dts/src/api/settle/pay-trade/index.d.ts +8 -0
- package/dts/src/api/settle/pay-trade/types.d.ts +81 -0
- package/dts/src/api/settle/settle-trade-analysis/index.d.ts +8 -0
- package/dts/src/api/settle/settle-trade-analysis/types.d.ts +53 -0
- package/dts/src/api/settle/settle-trade-merchant/index.d.ts +8 -0
- package/dts/src/api/settle/settle-trade-merchant/types.d.ts +65 -0
- package/dts/src/api/settle/settle-trade-receipt/index.d.ts +8 -0
- package/dts/src/api/settle/settle-trade-receipt/types.d.ts +62 -0
- package/dts/src/api/settle/settle-trade-receipt-today/index.d.ts +8 -0
- package/dts/src/api/settle/settle-trade-receipt-today/types.d.ts +62 -0
- package/dts/src/constant.d.ts +6 -0
- package/dts/src/index.d.ts +5 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/settle/en.d.ts +0 -0
- package/dts/src/lang/settle/zh-cn.d.ts +82 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/utils/returnBizLay.d.ts +2 -0
- package/dts/src/utils/timePlugin.d.ts +5 -0
- package/dts/src/views/payment/pay-trade/index.vue.d.ts +2 -0
- package/dts/src/views/payment/settle-trade-analysis/index.vue.d.ts +2 -0
- package/dts/src/views/payment/settle-trade-merchant/index.vue.d.ts +2 -0
- package/dts/src/views/payment/settle-trade-receipt/history.vue.d.ts +2 -0
- package/dts/src/views/payment/settle-trade-receipt/index.vue.d.ts +2 -0
- package/dts/src/views/payment/settle-trade-receipt/today.vue.d.ts +2 -0
- package/package.json +61 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EnumDict as l } from "jmash-core";
|
|
2
|
+
import { ref as i, reactive as c } from "vue";
|
|
3
|
+
import { Y as n } from "./index-Du5bhBaC.mjs";
|
|
4
|
+
var v = Object.defineProperty, E = (u, t, r) => t in u ? v(u, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : u[t] = r, e = (u, t, r) => E(u, typeof t != "symbol" ? t + "" : t, r);
|
|
5
|
+
class s {
|
|
6
|
+
}
|
|
7
|
+
e(s, "MODULE_INSTS", "insts"), // 机构编码
|
|
8
|
+
e(s, "ENUM_INSTS_CODE", "xyvcard.insts.protobuf.InstsCodeType"), // 机构状态
|
|
9
|
+
e(s, "STATUS", i([
|
|
10
|
+
{ key: "true", value: "启用" },
|
|
11
|
+
{ key: "false", value: "禁用" }
|
|
12
|
+
])), // 费率类型
|
|
13
|
+
e(s, "DICT_FEETYPE_CODE", "feeRateTypeCode"), // 结算周期
|
|
14
|
+
e(s, "DICT_SETTLEPERIOD_CODE", "settle_period"), // 是否有封顶值
|
|
15
|
+
// 是否默认
|
|
16
|
+
e(s, "IS_CAPPING", i([
|
|
17
|
+
{ key: !0, value: "是" },
|
|
18
|
+
{ key: !1, value: "否" }
|
|
19
|
+
]));
|
|
20
|
+
class o {
|
|
21
|
+
constructor(t, r) {
|
|
22
|
+
e(this, "values", c([])), e(this, "query"), this.values.length = 0, this.values.push(...t.value), this.query = r;
|
|
23
|
+
}
|
|
24
|
+
// 根据给定键获取业务数据项的值的方法
|
|
25
|
+
getValue(t) {
|
|
26
|
+
for (const r of this.values)
|
|
27
|
+
if (r.key == t)
|
|
28
|
+
return r.value;
|
|
29
|
+
return "";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
class a {
|
|
33
|
+
}
|
|
34
|
+
e(a, "instsCodeDictEnum", new l(
|
|
35
|
+
s.MODULE_INSTS,
|
|
36
|
+
s.ENUM_INSTS_CODE
|
|
37
|
+
)), // 机构状态
|
|
38
|
+
e(a, "statusDict", new o(s.STATUS, {})), // 商户类别
|
|
39
|
+
e(a, "mccCodesDict", new n({
|
|
40
|
+
typeCode: "mccCode"
|
|
41
|
+
})), // 是否有封顶值
|
|
42
|
+
e(a, "isCappingDict", new o(s.IS_CAPPING, {}));
|
|
43
|
+
export {
|
|
44
|
+
a as c,
|
|
45
|
+
s
|
|
46
|
+
};
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { deepMerge as n, addViteMenus as r, i18n as d } from "jmash-core";
|
|
2
|
+
const o = {
|
|
3
|
+
// 交易流水
|
|
4
|
+
payTrade: {
|
|
5
|
+
merchantId: "商户名称",
|
|
6
|
+
merchantIdRead: "请选择商户名称",
|
|
7
|
+
orderNo: "订单号",
|
|
8
|
+
orderNoRead: "请输入订单号",
|
|
9
|
+
termNo: "终端号",
|
|
10
|
+
termNoRead: "请输入终端号",
|
|
11
|
+
view: "查看明细",
|
|
12
|
+
index: "序号",
|
|
13
|
+
merchantNo: "商户号",
|
|
14
|
+
tradeType: "交易类型",
|
|
15
|
+
tradeTypeRead: "请选择交易类型",
|
|
16
|
+
agentCode: "代理商编号",
|
|
17
|
+
likeMerchantNoRead: "请输入商户号",
|
|
18
|
+
createTime: "支付时间",
|
|
19
|
+
startCreateTime: "开始时间",
|
|
20
|
+
endCreateTime: "结束时间",
|
|
21
|
+
totalAmount: "交易金额",
|
|
22
|
+
payMode: "支付方式",
|
|
23
|
+
payModeRead: "请选择支付方式",
|
|
24
|
+
commission: "商户费率",
|
|
25
|
+
feeRatePct: "商户率",
|
|
26
|
+
channelId: "支付渠道",
|
|
27
|
+
instsId: "落地机构",
|
|
28
|
+
instsIdRead: "请选择落地机构",
|
|
29
|
+
createTimes: "交易时间"
|
|
30
|
+
},
|
|
31
|
+
// 支付交易商户/代理商汇总统计;
|
|
32
|
+
settleTradeAnalysis: {
|
|
33
|
+
name: "支付交易汇总统计;",
|
|
34
|
+
index: "序号",
|
|
35
|
+
createTime: "交易时间",
|
|
36
|
+
channelId: "渠道",
|
|
37
|
+
channelIdRead: "请选择渠道",
|
|
38
|
+
agentCode: "代理商名称",
|
|
39
|
+
agentCodeRead: "请输入代理商名称",
|
|
40
|
+
agentCodes: "代理商编号",
|
|
41
|
+
agentCodesRead: "请输入代理商编号",
|
|
42
|
+
merchantNum: "商户数",
|
|
43
|
+
orderCount: "交易笔数",
|
|
44
|
+
orderAmount: "交易总额",
|
|
45
|
+
settleAmount: "结算金额",
|
|
46
|
+
feeAmt: "手续费",
|
|
47
|
+
analysisTime: "交易时间",
|
|
48
|
+
view: "查看明细",
|
|
49
|
+
likeMerchantNo: "连锁号",
|
|
50
|
+
likeMerchantNoRead: "请输入连锁号",
|
|
51
|
+
merchantId: "商户名称",
|
|
52
|
+
merchantIdRead: "请输入商户名称",
|
|
53
|
+
likeMerchantNos: "商户号",
|
|
54
|
+
likeMerchantNosRead: "请输入商户号",
|
|
55
|
+
termNo: "终端号",
|
|
56
|
+
termNoRead: "请输入终端号",
|
|
57
|
+
payMode: "支付渠道",
|
|
58
|
+
payModeRead: "请选择支付渠道",
|
|
59
|
+
analysisTimeStart: "交易时间开始",
|
|
60
|
+
analysisTimeEnd: "交易时间结束",
|
|
61
|
+
tradeType: "交易类型",
|
|
62
|
+
tradeTypeRead: "请选择交易类型"
|
|
63
|
+
},
|
|
64
|
+
// 查询-到账
|
|
65
|
+
settleTradeReceipt: {
|
|
66
|
+
name: "划款信息查询-到账",
|
|
67
|
+
likeMerchantName: "商户名称",
|
|
68
|
+
likeMerchantNo: "筋斗云商户号",
|
|
69
|
+
likeMerchantNoRead: "请输入筋斗云商户号",
|
|
70
|
+
likeMerchantNameRead: "请输入商户名称",
|
|
71
|
+
createTime: "到账日期",
|
|
72
|
+
transferMoneyDateStart: "开始时间",
|
|
73
|
+
transferMoneyDateEnd: "结束时间",
|
|
74
|
+
agentCode: "代理商编号",
|
|
75
|
+
agentCodeRead: "请输入代理商编号",
|
|
76
|
+
channelId: "渠道",
|
|
77
|
+
index: "序号",
|
|
78
|
+
merchantName: "商户注册名称",
|
|
79
|
+
transferMoneyTime: "划款时间",
|
|
80
|
+
transferMoneyAmount: "划款金额",
|
|
81
|
+
feeAmt: "手续费",
|
|
82
|
+
transferMoneyStatus: "到账状态",
|
|
83
|
+
chnlRespMsg: "失败原因"
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
function s(e) {
|
|
87
|
+
let a = e.global.getLocaleMessage("zh-cn");
|
|
88
|
+
a = n(a, o);
|
|
89
|
+
let t = e.global.getLocaleMessage("en");
|
|
90
|
+
e.global.setLocaleMessage("zh-cn", a), e.global.setLocaleMessage("en", t);
|
|
91
|
+
}
|
|
92
|
+
const i = /* @__PURE__ */ Object.assign({ "./views/payment/pay-trade/index.vue": () => import("./index-BIkG_C6y.mjs"), "./views/payment/settle-trade-analysis/index.vue": () => import("./index-BOfabDwA.mjs"), "./views/payment/settle-trade-merchant/index.vue": () => import("./index-D0t5a2Ea.mjs"), "./views/payment/settle-trade-receipt/history.vue": () => import("./history-BI8tBxQK.mjs"), "./views/payment/settle-trade-receipt/index.vue": () => import("./index-D1OlL970.mjs"), "./views/payment/settle-trade-receipt/today.vue": () => import("./today-CP9UcD78.mjs") }), m = {
|
|
93
|
+
install(e) {
|
|
94
|
+
r(i, 7), s(d);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
m as default
|
|
99
|
+
};
|
|
@@ -0,0 +1,564 @@
|
|
|
1
|
+
import { defineComponent as B, getCurrentInstance as Y, ref as w, resolveComponent as c, createBlock as x, openBlock as S, unref as o, withCtx as e, createVNode as t, createTextVNode as d, toDisplayString as a, createElementVNode as m, createElementBlock as H, createCommentVNode as L } from "vue";
|
|
2
|
+
import { useTableHooks as R, useUserStore as U, request as j, clearEmpty as q, routerUtil as A } from "jmash-core";
|
|
3
|
+
import { P as g, m as W, u as G } from "./index-C0VdCZ5o-BNScagBV.mjs";
|
|
4
|
+
import { useRouter as z, useRoute as K } from "vue-router";
|
|
5
|
+
import { A as F, b as J } from "./index-Du5bhBaC.mjs";
|
|
6
|
+
import { useI18n as P } from "vue-i18n";
|
|
7
|
+
class O {
|
|
8
|
+
getKey(p) {
|
|
9
|
+
return {
|
|
10
|
+
termId: p.termId
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
// 查询列表信息终端管理
|
|
14
|
+
findList(p) {
|
|
15
|
+
const I = U().user.tenant;
|
|
16
|
+
return q(p), j({
|
|
17
|
+
url: "/v1/front/merchant/term/list/" + I,
|
|
18
|
+
method: "get",
|
|
19
|
+
params: p
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const Q = new O(), X = /* @__PURE__ */ B({
|
|
24
|
+
__name: "term",
|
|
25
|
+
props: {
|
|
26
|
+
merchantId: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: ""
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
setup(_) {
|
|
32
|
+
const { t: p } = P(), { proxy: I } = Y(), v = w({
|
|
33
|
+
merchantId: _.merchantId
|
|
34
|
+
}), { tableHooks: h, multipleTableRef: N, listLoading: l, tableData: f } = R(
|
|
35
|
+
p,
|
|
36
|
+
Q,
|
|
37
|
+
v
|
|
38
|
+
);
|
|
39
|
+
let C = w([
|
|
40
|
+
// 终端号
|
|
41
|
+
{
|
|
42
|
+
label: "term.termNo",
|
|
43
|
+
prop: "termNo",
|
|
44
|
+
width: "200",
|
|
45
|
+
isColumn: !0
|
|
46
|
+
},
|
|
47
|
+
// 终端类型
|
|
48
|
+
{
|
|
49
|
+
label: "term.termType",
|
|
50
|
+
prop: "termType",
|
|
51
|
+
minWidth: "150",
|
|
52
|
+
isColumn: !0
|
|
53
|
+
},
|
|
54
|
+
// 终端状态
|
|
55
|
+
{
|
|
56
|
+
label: "term.status",
|
|
57
|
+
prop: "status",
|
|
58
|
+
slotName: "status",
|
|
59
|
+
columnType: "slot",
|
|
60
|
+
width: "200",
|
|
61
|
+
isColumn: !0
|
|
62
|
+
},
|
|
63
|
+
// 终端说明
|
|
64
|
+
{
|
|
65
|
+
label: "term.description",
|
|
66
|
+
prop: "description",
|
|
67
|
+
width: "200",
|
|
68
|
+
isColumn: !0
|
|
69
|
+
},
|
|
70
|
+
// 创建时间
|
|
71
|
+
{
|
|
72
|
+
label: "term.createTime",
|
|
73
|
+
prop: "createTime",
|
|
74
|
+
width: "110",
|
|
75
|
+
slotName: "createTime",
|
|
76
|
+
columnType: "slot",
|
|
77
|
+
isColumn: !0
|
|
78
|
+
}
|
|
79
|
+
]);
|
|
80
|
+
function T(b) {
|
|
81
|
+
h.selectionRows.value = b;
|
|
82
|
+
}
|
|
83
|
+
function k(b) {
|
|
84
|
+
h.handleSort(b.prop, b.order);
|
|
85
|
+
}
|
|
86
|
+
return h.getList(), (b, n) => {
|
|
87
|
+
const s = c("el-switch"), u = c("jmash-table");
|
|
88
|
+
return S(), x(u, {
|
|
89
|
+
ref_key: "multipleTableRef",
|
|
90
|
+
ref: N,
|
|
91
|
+
"row-key": "termId",
|
|
92
|
+
isSelection: !1,
|
|
93
|
+
"list-loading": o(l),
|
|
94
|
+
data: o(f),
|
|
95
|
+
"table-label": o(C),
|
|
96
|
+
onSelectionChange: T,
|
|
97
|
+
onSortChange: k
|
|
98
|
+
}, {
|
|
99
|
+
createTime: e((r) => [
|
|
100
|
+
d(a(o(I).$moment.formatDate(r.data.row.createTime, "YYYY-MM-DD")), 1)
|
|
101
|
+
]),
|
|
102
|
+
status: e((r) => [
|
|
103
|
+
t(s, {
|
|
104
|
+
modelValue: r.data.row.status,
|
|
105
|
+
"onUpdate:modelValue": (y) => r.data.row.status = y,
|
|
106
|
+
disabled: ""
|
|
107
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["list-loading", "data", "table-label"]);
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}), Z = ["onClick"], ee = /* @__PURE__ */ B({
|
|
114
|
+
__name: "channel",
|
|
115
|
+
props: {
|
|
116
|
+
merchantId: {
|
|
117
|
+
type: String,
|
|
118
|
+
default: ""
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
setup(_) {
|
|
122
|
+
const { t: p } = P(), I = _, v = z(), h = localStorage.getItem("merchantTokenExt");
|
|
123
|
+
g.instsBizDict.useValues();
|
|
124
|
+
const N = w({
|
|
125
|
+
merchantId: I.merchantId,
|
|
126
|
+
tokenExt: h || ""
|
|
127
|
+
}), { tableHooks: l, multipleTableRef: f, listLoading: C, tableData: T } = R(
|
|
128
|
+
p,
|
|
129
|
+
F,
|
|
130
|
+
N
|
|
131
|
+
);
|
|
132
|
+
let k = w([
|
|
133
|
+
// 渠道商户号
|
|
134
|
+
{
|
|
135
|
+
label: "channel.outMerchantNo",
|
|
136
|
+
prop: "outMerchantNo",
|
|
137
|
+
width: "300",
|
|
138
|
+
isColumn: !0
|
|
139
|
+
},
|
|
140
|
+
// 落地机构名称
|
|
141
|
+
{
|
|
142
|
+
label: "channel.instsId",
|
|
143
|
+
prop: "instsId",
|
|
144
|
+
slotName: "instsId",
|
|
145
|
+
columnType: "slot",
|
|
146
|
+
minWidth: "200",
|
|
147
|
+
isColumn: !0
|
|
148
|
+
},
|
|
149
|
+
// 路由状态
|
|
150
|
+
{
|
|
151
|
+
label: "channel.channelStatus",
|
|
152
|
+
prop: "channelStatus",
|
|
153
|
+
slotName: "channelStatus",
|
|
154
|
+
columnType: "slot",
|
|
155
|
+
width: "150",
|
|
156
|
+
isColumn: !0
|
|
157
|
+
},
|
|
158
|
+
// 排序
|
|
159
|
+
{
|
|
160
|
+
label: "channel.orderBy",
|
|
161
|
+
prop: "orderBy",
|
|
162
|
+
width: "65",
|
|
163
|
+
isColumn: !0,
|
|
164
|
+
slotName: "orderBy",
|
|
165
|
+
columnType: "slot"
|
|
166
|
+
},
|
|
167
|
+
// 查看详情
|
|
168
|
+
{
|
|
169
|
+
label: "common.operate",
|
|
170
|
+
width: "150",
|
|
171
|
+
slotName: "operation",
|
|
172
|
+
columnType: "slot",
|
|
173
|
+
fixed: "right",
|
|
174
|
+
isColumn: !0
|
|
175
|
+
}
|
|
176
|
+
]);
|
|
177
|
+
function b(u) {
|
|
178
|
+
v.push({
|
|
179
|
+
path: "/merchant/mcht-channel/info",
|
|
180
|
+
query: { channelId: u.channelId }
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
function n(u) {
|
|
184
|
+
l.selectionRows.value = u;
|
|
185
|
+
}
|
|
186
|
+
function s(u) {
|
|
187
|
+
l.handleSort(u.prop, u.order);
|
|
188
|
+
}
|
|
189
|
+
return l.getList(), (u, r) => {
|
|
190
|
+
const y = c("el-switch"), D = c("Bottom"), V = c("el-icon"), $ = c("Top"), M = c("jmash-table");
|
|
191
|
+
return S(), x(M, {
|
|
192
|
+
ref_key: "multipleTableRef",
|
|
193
|
+
ref: f,
|
|
194
|
+
"row-key": "merchantId",
|
|
195
|
+
isSelection: !1,
|
|
196
|
+
"list-loading": o(C),
|
|
197
|
+
data: o(T),
|
|
198
|
+
"table-label": o(k),
|
|
199
|
+
onSelectionChange: n,
|
|
200
|
+
onSortChange: s
|
|
201
|
+
}, {
|
|
202
|
+
instsId: e((i) => [
|
|
203
|
+
d(a(o(g).instsBizDict.getValue(i.data.row.instsId)), 1)
|
|
204
|
+
]),
|
|
205
|
+
channelStatus: e((i) => [
|
|
206
|
+
t(y, {
|
|
207
|
+
modelValue: i.data.row.channelStatus,
|
|
208
|
+
"onUpdate:modelValue": (E) => i.data.row.channelStatus = E,
|
|
209
|
+
disabled: ""
|
|
210
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
211
|
+
]),
|
|
212
|
+
orderBy: e((i) => [
|
|
213
|
+
t(V, {
|
|
214
|
+
size: "16",
|
|
215
|
+
onClick: (E) => o(l).handleMove(i.data.row, !1)
|
|
216
|
+
}, {
|
|
217
|
+
default: e(() => [
|
|
218
|
+
t(D)
|
|
219
|
+
]),
|
|
220
|
+
_: 2
|
|
221
|
+
}, 1032, ["onClick"]),
|
|
222
|
+
t(V, {
|
|
223
|
+
size: "16",
|
|
224
|
+
onClick: (E) => o(l).handleMove(i.data.row, !0)
|
|
225
|
+
}, {
|
|
226
|
+
default: e(() => [
|
|
227
|
+
t($)
|
|
228
|
+
]),
|
|
229
|
+
_: 2
|
|
230
|
+
}, 1032, ["onClick"])
|
|
231
|
+
]),
|
|
232
|
+
operation: e((i) => [
|
|
233
|
+
m("span", {
|
|
234
|
+
class: "el-button-color dropdown-left",
|
|
235
|
+
onClick: (E) => b(i.data.row)
|
|
236
|
+
}, a(u.$t("common.view")), 9, Z)
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}, 8, ["list-loading", "data", "table-label"]);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
}), te = /* @__PURE__ */ B({
|
|
243
|
+
__name: "task",
|
|
244
|
+
props: {
|
|
245
|
+
merchantId: {
|
|
246
|
+
type: String,
|
|
247
|
+
default: ""
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
setup(_) {
|
|
251
|
+
const { t: p } = P(), { proxy: I } = Y(), v = _, h = localStorage.getItem("merchantTokenExt"), N = w({
|
|
252
|
+
merchantId: v.merchantId,
|
|
253
|
+
tokenExt: h || ""
|
|
254
|
+
}), { tableHooks: l, multipleTableRef: f, listLoading: C, tableData: T } = R(
|
|
255
|
+
p,
|
|
256
|
+
W,
|
|
257
|
+
N
|
|
258
|
+
);
|
|
259
|
+
let k = w([
|
|
260
|
+
// 商户注册名称
|
|
261
|
+
{
|
|
262
|
+
label: "merchants.creditName",
|
|
263
|
+
prop: "creditName",
|
|
264
|
+
width: "200",
|
|
265
|
+
isColumn: !0
|
|
266
|
+
},
|
|
267
|
+
// 商户经营名称
|
|
268
|
+
{
|
|
269
|
+
label: "merchants.merchantName",
|
|
270
|
+
prop: "merchantName",
|
|
271
|
+
width: "200",
|
|
272
|
+
isColumn: !0
|
|
273
|
+
},
|
|
274
|
+
// 联系人
|
|
275
|
+
{
|
|
276
|
+
label: "merchants.contactName",
|
|
277
|
+
prop: "contactName",
|
|
278
|
+
width: "100",
|
|
279
|
+
isColumn: !0
|
|
280
|
+
},
|
|
281
|
+
// 联系人电话
|
|
282
|
+
{
|
|
283
|
+
label: "merchants.contactMobile",
|
|
284
|
+
prop: "contactMobile",
|
|
285
|
+
width: "150",
|
|
286
|
+
isColumn: !0
|
|
287
|
+
},
|
|
288
|
+
// 事项名称
|
|
289
|
+
{
|
|
290
|
+
label: "merchants.applyName",
|
|
291
|
+
prop: "applyName",
|
|
292
|
+
width: "200",
|
|
293
|
+
isColumn: !0
|
|
294
|
+
},
|
|
295
|
+
// 审核状态
|
|
296
|
+
{
|
|
297
|
+
label: "merchants.status",
|
|
298
|
+
prop: "status",
|
|
299
|
+
slotName: "status",
|
|
300
|
+
columnType: "slot",
|
|
301
|
+
width: "200",
|
|
302
|
+
isColumn: !0
|
|
303
|
+
},
|
|
304
|
+
// 审核时间
|
|
305
|
+
{
|
|
306
|
+
label: "merchants.completeTime",
|
|
307
|
+
prop: "completeTime",
|
|
308
|
+
slotName: "completeTime",
|
|
309
|
+
columnType: "slot",
|
|
310
|
+
width: "210",
|
|
311
|
+
isColumn: !0
|
|
312
|
+
}
|
|
313
|
+
]);
|
|
314
|
+
function b(s) {
|
|
315
|
+
l.selectionRows.value = s;
|
|
316
|
+
}
|
|
317
|
+
function n(s) {
|
|
318
|
+
l.handleSort(s.prop, s.order);
|
|
319
|
+
}
|
|
320
|
+
return l.getList(), (s, u) => {
|
|
321
|
+
const r = c("jmash-table");
|
|
322
|
+
return S(), x(r, {
|
|
323
|
+
ref_key: "multipleTableRef",
|
|
324
|
+
ref: f,
|
|
325
|
+
"row-key": "merchantId",
|
|
326
|
+
isSelection: !1,
|
|
327
|
+
"list-loading": o(C),
|
|
328
|
+
data: o(T),
|
|
329
|
+
"table-label": o(k),
|
|
330
|
+
onSelectionChange: b,
|
|
331
|
+
onSortChange: n
|
|
332
|
+
}, {
|
|
333
|
+
completeTime: e((y) => [
|
|
334
|
+
d(a(o(I).$moment.formatDate(
|
|
335
|
+
y.data.row.createTime,
|
|
336
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
337
|
+
)), 1)
|
|
338
|
+
]),
|
|
339
|
+
status: e((y) => [
|
|
340
|
+
d(a(o(g).auditStatusEnum.getEnumValue(y.data.row.status)), 1)
|
|
341
|
+
]),
|
|
342
|
+
_: 1
|
|
343
|
+
}, 8, ["list-loading", "data", "table-label"]);
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
}), le = { class: "app-container" }, ae = { class: "cell-item" }, ne = { class: "cell-item" }, oe = { class: "cell-item" }, re = { class: "cell-item" }, se = { class: "cell-item" }, me = { class: "cell-item" }, ce = { class: "cell-item" }, ue = { class: "cell-item" }, ie = { class: "cell-item" }, de = { class: "cell-item" }, pe = { class: "cell-item" }, he = { key: 0 }, be = { class: "cell-item" }, we = /* @__PURE__ */ B({
|
|
347
|
+
__name: "info",
|
|
348
|
+
setup(_) {
|
|
349
|
+
const { proxy: p } = Y(), I = z(), v = K();
|
|
350
|
+
g.instsBizDict.useValues(), g.agentBizDict.useValues(), g.agentUserBizDict.useValues();
|
|
351
|
+
const h = v.query.merchantId, N = v.query.channelId, l = w({
|
|
352
|
+
merchantId: "",
|
|
353
|
+
tenant: ""
|
|
354
|
+
});
|
|
355
|
+
J.findById({ merchantId: h }).then((n) => {
|
|
356
|
+
console.log(n, "=> res"), l.value = n.data;
|
|
357
|
+
});
|
|
358
|
+
const f = w([!1, !1]);
|
|
359
|
+
function C(n) {
|
|
360
|
+
f.value[n] = !f.value[n];
|
|
361
|
+
}
|
|
362
|
+
const T = w("one");
|
|
363
|
+
function k(n) {
|
|
364
|
+
T.value = n.props.name;
|
|
365
|
+
}
|
|
366
|
+
function b() {
|
|
367
|
+
A.closeTagView(v.fullPath, I, !1);
|
|
368
|
+
}
|
|
369
|
+
return (n, s) => {
|
|
370
|
+
const u = c("el-button"), r = c("el-descriptions-item"), y = c("jmash-mobileIns-component"), D = c("el-descriptions"), V = c("el-tab-pane"), $ = c("el-tabs"), M = c("el-card");
|
|
371
|
+
return S(), H("div", le, [
|
|
372
|
+
t(M, { shadow: "never" }, {
|
|
373
|
+
header: e(() => [
|
|
374
|
+
t(u, {
|
|
375
|
+
type: "primary",
|
|
376
|
+
onClick: b
|
|
377
|
+
}, {
|
|
378
|
+
default: e(() => [
|
|
379
|
+
d(a(n.$t("common.back")), 1)
|
|
380
|
+
]),
|
|
381
|
+
_: 1
|
|
382
|
+
})
|
|
383
|
+
]),
|
|
384
|
+
default: e(() => [
|
|
385
|
+
s[3] || (s[3] = m("div", { class: "title-content" }, "商户基本信息", -1)),
|
|
386
|
+
t(D, {
|
|
387
|
+
class: "margin-top",
|
|
388
|
+
column: 2,
|
|
389
|
+
border: ""
|
|
390
|
+
}, {
|
|
391
|
+
default: e(() => [
|
|
392
|
+
t(r, null, {
|
|
393
|
+
label: e(() => [
|
|
394
|
+
m("div", ae, a(n.$t("merchants.merchantNo")), 1)
|
|
395
|
+
]),
|
|
396
|
+
default: e(() => [
|
|
397
|
+
d(" " + a(l.value.merchantNo), 1)
|
|
398
|
+
]),
|
|
399
|
+
_: 1
|
|
400
|
+
}),
|
|
401
|
+
t(r, null, {
|
|
402
|
+
label: e(() => [
|
|
403
|
+
m("div", ne, a(n.$t("merchants.creditName")), 1)
|
|
404
|
+
]),
|
|
405
|
+
default: e(() => [
|
|
406
|
+
d(" " + a(l.value.creditName), 1)
|
|
407
|
+
]),
|
|
408
|
+
_: 1
|
|
409
|
+
}),
|
|
410
|
+
t(r, null, {
|
|
411
|
+
label: e(() => [
|
|
412
|
+
m("div", oe, a(n.$t("merchants.merchantName")), 1)
|
|
413
|
+
]),
|
|
414
|
+
default: e(() => [
|
|
415
|
+
d(" " + a(l.value.merchantName), 1)
|
|
416
|
+
]),
|
|
417
|
+
_: 1
|
|
418
|
+
}),
|
|
419
|
+
t(r, null, {
|
|
420
|
+
label: e(() => [
|
|
421
|
+
m("div", re, a(n.$t("merchants.contactName")), 1)
|
|
422
|
+
]),
|
|
423
|
+
default: e(() => [
|
|
424
|
+
t(y, {
|
|
425
|
+
mobileEncrypt: f.value[1],
|
|
426
|
+
mobilePhoneIns: l.value.contactNameIns,
|
|
427
|
+
mobilePhone: l.value.contactName,
|
|
428
|
+
onToggleEncrypt: s[0] || (s[0] = (i) => C(1))
|
|
429
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone"])
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
}),
|
|
433
|
+
t(r, null, {
|
|
434
|
+
label: e(() => [
|
|
435
|
+
m("div", se, a(n.$t("merchants.contactMobile")), 1)
|
|
436
|
+
]),
|
|
437
|
+
default: e(() => [
|
|
438
|
+
t(y, {
|
|
439
|
+
mobileEncrypt: f.value[0],
|
|
440
|
+
mobilePhoneIns: l.value.contactMobileIns,
|
|
441
|
+
mobilePhone: l.value.contactMobile,
|
|
442
|
+
onToggleEncrypt: s[1] || (s[1] = (i) => C(0))
|
|
443
|
+
}, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone"])
|
|
444
|
+
]),
|
|
445
|
+
_: 1
|
|
446
|
+
}),
|
|
447
|
+
t(r, null, {
|
|
448
|
+
label: e(() => [
|
|
449
|
+
m("div", me, a(n.$t("merchants.status")), 1)
|
|
450
|
+
]),
|
|
451
|
+
default: e(() => [
|
|
452
|
+
d(" " + a(o(g).statusEnum.getEnumValue(l.value.status)), 1)
|
|
453
|
+
]),
|
|
454
|
+
_: 1
|
|
455
|
+
}),
|
|
456
|
+
t(r, null, {
|
|
457
|
+
label: e(() => [
|
|
458
|
+
m("div", ce, a(n.$t("merchants.mccCode")), 1)
|
|
459
|
+
]),
|
|
460
|
+
default: e(() => [
|
|
461
|
+
d(" " + a(o(g).storeEnum.getEnumValue(l.value.storeType)), 1)
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
}),
|
|
465
|
+
t(r, null, {
|
|
466
|
+
label: e(() => [
|
|
467
|
+
m("div", ue, a(n.$t("merchants.creditType")), 1)
|
|
468
|
+
]),
|
|
469
|
+
default: e(() => [
|
|
470
|
+
d(" " + a(o(g).companyTypeEnum.getEnumValue(l.value.creditType)), 1)
|
|
471
|
+
]),
|
|
472
|
+
_: 1
|
|
473
|
+
}),
|
|
474
|
+
t(r, null, {
|
|
475
|
+
label: e(() => [
|
|
476
|
+
m("div", ie, a(n.$t("merchants.agentId")), 1)
|
|
477
|
+
]),
|
|
478
|
+
default: e(() => [
|
|
479
|
+
d(" " + a(o(g).agentBizDict.getValue(l.value.agentCode)), 1)
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
}),
|
|
483
|
+
t(r, null, {
|
|
484
|
+
label: e(() => [
|
|
485
|
+
m("div", de, a(n.$t("merchants.merchantAddr")), 1)
|
|
486
|
+
]),
|
|
487
|
+
default: e(() => [
|
|
488
|
+
d(" " + a(l.value.merchantAddress), 1)
|
|
489
|
+
]),
|
|
490
|
+
_: 1
|
|
491
|
+
}),
|
|
492
|
+
t(r, null, {
|
|
493
|
+
label: e(() => [
|
|
494
|
+
m("div", pe, a(n.$t("merchants.marketBy")), 1)
|
|
495
|
+
]),
|
|
496
|
+
default: e(() => [
|
|
497
|
+
l.value.marketBy ? (S(), H("span", he, a(o(G).userInfo(l.value.marketBy).realName), 1)) : L("", !0)
|
|
498
|
+
]),
|
|
499
|
+
_: 1
|
|
500
|
+
}),
|
|
501
|
+
t(r, null, {
|
|
502
|
+
label: e(() => [
|
|
503
|
+
m("div", be, a(n.$t("merchants.createTime")), 1)
|
|
504
|
+
]),
|
|
505
|
+
default: e(() => [
|
|
506
|
+
m("span", null, a(o(p).$moment.formatDate(
|
|
507
|
+
l.value.createTime,
|
|
508
|
+
"YYYY-MM-DD HH:mm:ss"
|
|
509
|
+
)), 1)
|
|
510
|
+
]),
|
|
511
|
+
_: 1
|
|
512
|
+
})
|
|
513
|
+
]),
|
|
514
|
+
_: 1
|
|
515
|
+
}),
|
|
516
|
+
t($, {
|
|
517
|
+
modelValue: T.value,
|
|
518
|
+
"onUpdate:modelValue": s[2] || (s[2] = (i) => T.value = i),
|
|
519
|
+
onTabClick: k
|
|
520
|
+
}, {
|
|
521
|
+
default: e(() => [
|
|
522
|
+
t(V, {
|
|
523
|
+
label: "路由信息",
|
|
524
|
+
name: "one"
|
|
525
|
+
}, {
|
|
526
|
+
default: e(() => [
|
|
527
|
+
t(ee, {
|
|
528
|
+
merchantId: o(h),
|
|
529
|
+
channelId: o(N)
|
|
530
|
+
}, null, 8, ["merchantId", "channelId"])
|
|
531
|
+
]),
|
|
532
|
+
_: 1
|
|
533
|
+
}),
|
|
534
|
+
t(V, {
|
|
535
|
+
label: "终端信息",
|
|
536
|
+
name: "two"
|
|
537
|
+
}, {
|
|
538
|
+
default: e(() => [
|
|
539
|
+
t(X, { merchantId: o(h) }, null, 8, ["merchantId"])
|
|
540
|
+
]),
|
|
541
|
+
_: 1
|
|
542
|
+
}),
|
|
543
|
+
t(V, {
|
|
544
|
+
label: "操作记录",
|
|
545
|
+
name: "three"
|
|
546
|
+
}, {
|
|
547
|
+
default: e(() => [
|
|
548
|
+
t(te, { merchantId: o(h) }, null, 8, ["merchantId"])
|
|
549
|
+
]),
|
|
550
|
+
_: 1
|
|
551
|
+
})
|
|
552
|
+
]),
|
|
553
|
+
_: 1
|
|
554
|
+
}, 8, ["modelValue"])
|
|
555
|
+
]),
|
|
556
|
+
_: 1
|
|
557
|
+
})
|
|
558
|
+
]);
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
export {
|
|
563
|
+
we as default
|
|
564
|
+
};
|