xyvcard-live 0.0.37 → 0.0.39
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/_plugin-vue_export-helper-CHgC5LLL-BmOybl0N-BGL2VN50.mjs +9 -0
- package/dist/{add-BBQAdno0.mjs → add-iF7qsKBf.mjs} +3 -3
- package/dist/assets/092318ea5e23514b.png +0 -0
- package/dist/assets/5027275c5dcc6a80.png +0 -0
- package/dist/assets/557fc76f3040c678.png +0 -0
- package/dist/assets/642b8222a8321c74.png +0 -0
- package/dist/assets/9d9e50ed9d17ce37.png +0 -0
- package/dist/assets/c4b16835090b0a0d.png +0 -0
- package/dist/assets/d790a176e5c51e57.png +0 -0
- package/dist/assets/e9919e3cf9594a4b.png +0 -0
- package/dist/index-1d8eRvsu-BGp5KH4_-5u4e-kLV.mjs +590 -0
- package/dist/index-9VvXRgMU.mjs +93340 -0
- package/dist/index-BZGz7ql1.mjs +42 -0
- package/dist/{index-B2Ij3TPb.mjs → index-C1P6qMB-.mjs} +480 -498
- package/dist/index-CHXbS0Dp-CrTpoCtw-CxbLp65Q.mjs +273 -0
- package/dist/{index-CJQ1nVj2-CFbmc0ZH.mjs → index-CJQ1nVj2-DerzZw6O.mjs} +1 -1
- package/dist/{index-DLIlV_FZ.mjs → index-CPaP4Crh.mjs} +1 -1
- package/dist/index-D8Xf7m-v-DqcltRNe-C76HVrNC.mjs +62 -0
- package/dist/index-DC5UaXje-BABgUZ7R.mjs +1667 -0
- package/dist/{index-Bsg6VAMW.mjs → index-DPX-pQcs.mjs} +3 -3
- package/dist/{index-DJlVNY2j.mjs → index-Dk_2Fh7z.mjs} +1 -1
- package/dist/{index-BjH0vlYe.mjs → index-Dsm1utZX.mjs} +1 -1
- package/dist/{index-KMVMe9ZJ-CHYt8LLB.mjs → index-KMVMe9ZJ-CigWxveL.mjs} +1 -1
- package/dist/index-KMVMe9ZJ-DLKe-F_8-DCwXySTg.mjs +104 -0
- package/dist/{index-BbeGLNKG.mjs → index-adaxN7q3.mjs} +379 -357
- package/dist/{index-De46gckE.mjs → index-eRMgGNzD.mjs} +2 -2
- package/dist/{index-CRMYA0k7.mjs → index-wgjkJU72.mjs} +1 -1
- package/dist/{index-vxusicvc.mjs → index-zX0172Yh.mjs} +153 -124
- package/dist/index.mjs +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-BxmcNflR.mjs → index.vue_vue_type_script_setup_true_lang-CuyYWbBz.mjs} +119 -122
- package/dist/info-ByXTOGCn-19lJo4UW-Dzke2Wkk.mjs +171 -0
- package/dist/{info-ByXTOGCn-C0UBm9hx.mjs → info-ByXTOGCn-SPx9GhOv.mjs} +2 -2
- package/dist/{info-C_OAyZk9-DyPO3ayt.mjs → info-C_OAyZk9-CAoX0Q8e.mjs} +2 -2
- package/dist/info-C_OAyZk9-aK19-a-2-Gzwhjy-7.mjs +151 -0
- package/dist/{info-CKfjSxRz.mjs → info-Ca1snU3y.mjs} +118 -108
- package/dist/info-DByCPvg2-CKbI8Fxb.mjs +6813 -0
- package/dist/info-ZydxPcdx-BmUJg5f5-CaGctls4.mjs +165 -0
- package/dist/{info-ZydxPcdx-DH2AIZBM.mjs → info-ZydxPcdx-CNECJ9_q.mjs} +2 -2
- package/dist/{lives-BuJ-OQcL.mjs → lives-Dob7LDhc.mjs} +1 -1
- package/dist/region-CSXxy3Je.mjs +4 -0
- package/dist/region.vue_vue_type_script_setup_true_lang-Bxmcgm-k.mjs +248 -0
- package/dist/{statistics-Cq465gZN.mjs → statistics-BjGC56vz.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{transcoding-CFgNVs45.mjs → transcoding-9vB2Cu3p.mjs} +1 -1
- package/dts/src/api/live/zb-live-region-rank/index.d.ts +9 -0
- package/dts/src/api/live/zb-live-share-rank/index.d.ts +1 -0
- package/dts/src/api/live/zb-live-share-rank/types.d.ts +5 -0
- package/dts/src/api/live/zb-live-user/types.d.ts +3 -0
- package/dts/src/api/live/zb-live-video/index.d.ts +3 -1
- package/dts/src/api/live/zb-live-video/types.d.ts +30 -0
- package/dts/src/components/DateRangePicker/DateRangePicker.vue.d.ts +18 -0
- package/dts/src/components/RankTable/RankTable.vue.d.ts +8 -0
- package/dts/src/components/StatisticCard/StatisticCard.vue.d.ts +20 -0
- package/dts/src/components/TrendChart/TrendChart.vue.d.ts +7 -0
- package/dts/src/index.d.ts +1 -1
- package/dts/src/lang/live/zh-cn.d.ts +4 -0
- package/dts/src/main.d.ts +2 -0
- package/dts/src/router/index.d.ts +1 -1
- package/dts/src/views/live/zb-live-share-rank/region.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-video/lives.vue.d.ts +2 -2
- package/package.json +6 -2
- package/dist/assets/650278fac143ef0b.png +0 -0
- package/dist/index-D7aqOwSs.mjs +0 -21
|
@@ -2,10 +2,10 @@ import { defineComponent as _e, ref as Y, reactive as oe, watch as X, computed a
|
|
|
2
2
|
import { ElMessage as S } from "element-plus";
|
|
3
3
|
import { routerUtil as ie } from "jmash-core";
|
|
4
4
|
import { useRouter as he, useRoute as be } from "vue-router";
|
|
5
|
-
import { D as g, U as we, C as s, l as W, p as G, _ as Se } from "./index-
|
|
5
|
+
import { D as g, U as we, C as s, l as W, p as G, _ as Se } from "./index-adaxN7q3.mjs";
|
|
6
6
|
import { useI18n as Pe } from "vue-i18n";
|
|
7
|
-
import ke from "./lives-
|
|
8
|
-
import { V as Ie } from "./index-
|
|
7
|
+
import ke from "./lives-Dob7LDhc.mjs";
|
|
8
|
+
import { V as Ie } from "./index-Dsm1utZX.mjs";
|
|
9
9
|
import { s as Q, a as I, t as re } from "./timeConvert-DSKES6ZM.mjs";
|
|
10
10
|
const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye = {
|
|
11
11
|
key: 0,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
import { defineComponent as Y, ref as R, reactive as E, resolveComponent as p, resolveDirective as oe, createElementBlock as F, openBlock as V, createElementVNode as z, createVNode as a, createBlock as U, createCommentVNode as Q, withModifiers as ne, withCtx as t, unref as o, createTextVNode as N, toDisplayString as v, withDirectives as j, isRef as A, mergeModels as W, useModel as de } from "vue";
|
|
2
|
+
import { useTableHooks as re, useUserStore as g, request as I, clearEmpty as _ } from "jmash-core";
|
|
3
|
+
import { useI18n as G } from "vue-i18n";
|
|
4
|
+
import { ElMessage as X } from "element-plus";
|
|
5
|
+
import { i as H, t as ue } from "./index-KMVMe9ZJ-DLKe-F_8-DCwXySTg.mjs";
|
|
6
|
+
import { useRoute as se } from "vue-router";
|
|
7
|
+
class pe {
|
|
8
|
+
getKey(e) {
|
|
9
|
+
return {
|
|
10
|
+
shopPayId: e.shopPayId
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
// 查询翻页信息店铺支付方式
|
|
14
|
+
findPage(e) {
|
|
15
|
+
const u = g().user.tenant;
|
|
16
|
+
return e && (e.hasStatus = e.status != null), _(e), I({
|
|
17
|
+
url: "/v1/shop/pay_info/page/" + u,
|
|
18
|
+
method: "get",
|
|
19
|
+
params: e
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
// 查询列表信息店铺支付方式
|
|
23
|
+
findList(e) {
|
|
24
|
+
const u = g().user.tenant;
|
|
25
|
+
return _(e), I({
|
|
26
|
+
url: "/v1/shop/pay_info/list/" + u,
|
|
27
|
+
method: "get",
|
|
28
|
+
params: e
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
// 查询店铺支付方式
|
|
32
|
+
findById(e) {
|
|
33
|
+
const u = g().user.tenant;
|
|
34
|
+
return _(e), I({
|
|
35
|
+
url: "/v1/shop/pay_info/id/" + u + "/" + e.shopPayId,
|
|
36
|
+
method: "get"
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
// 创建实体店铺支付方式
|
|
40
|
+
create(e) {
|
|
41
|
+
return e.tenant = g().user.tenant, _(e), I({
|
|
42
|
+
url: "/v1/shop/pay_info",
|
|
43
|
+
method: "post",
|
|
44
|
+
data: e
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
// 修改实体店铺支付方式
|
|
48
|
+
update(e) {
|
|
49
|
+
return e.tenant = g().user.tenant, _(e), I({
|
|
50
|
+
url: "/v1/shop/pay_info",
|
|
51
|
+
method: "patch",
|
|
52
|
+
data: e
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
// 启用/禁用
|
|
56
|
+
enable(e, u) {
|
|
57
|
+
const s = { ...e };
|
|
58
|
+
return s.tenant = g().user.tenant, s.enable = u, _(s), I({
|
|
59
|
+
url: "/v1/shop/pay_info/enable",
|
|
60
|
+
method: "put",
|
|
61
|
+
data: s
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
// 删除店铺支付方式
|
|
65
|
+
delete(e) {
|
|
66
|
+
return e.tenant = g().user.tenant, _(e), I({
|
|
67
|
+
url: "/v1/shop/pay_info/id",
|
|
68
|
+
method: "delete",
|
|
69
|
+
params: e
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
// 批量删除店铺支付方式
|
|
73
|
+
batchDelete(e) {
|
|
74
|
+
const u = e.map((l) => l.shopPayId), s = {
|
|
75
|
+
tenant: g().user.tenant,
|
|
76
|
+
mchId: u
|
|
77
|
+
};
|
|
78
|
+
return _(s), I({
|
|
79
|
+
url: "/v1/shop/pay_info/batch",
|
|
80
|
+
method: "put",
|
|
81
|
+
data: s
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
const B = new pe(), ie = { class: "dialog-footer" }, me = /* @__PURE__ */ Y({
|
|
86
|
+
__name: "edit",
|
|
87
|
+
props: /* @__PURE__ */ W({
|
|
88
|
+
entityKey: {
|
|
89
|
+
type: Object,
|
|
90
|
+
default: () => {
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
shopId: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: ""
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
modelValue: { type: Boolean },
|
|
99
|
+
modelModifiers: {}
|
|
100
|
+
}),
|
|
101
|
+
emits: /* @__PURE__ */ W(["refresh"], ["update:modelValue"]),
|
|
102
|
+
setup(x, { emit: e }) {
|
|
103
|
+
const { t: u } = G(), s = R();
|
|
104
|
+
let l = E({
|
|
105
|
+
requestId: Math.random() * 10 + "",
|
|
106
|
+
updateMask: "payName,payMode,privateKey,mchId,termNo"
|
|
107
|
+
});
|
|
108
|
+
const L = E({
|
|
109
|
+
mchId: [
|
|
110
|
+
{
|
|
111
|
+
required: !0,
|
|
112
|
+
message: u("payInfo.mchIdRequired"),
|
|
113
|
+
trigger: "blur"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
trigger: "blur"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
payName: [
|
|
120
|
+
{
|
|
121
|
+
required: !0,
|
|
122
|
+
message: u("payInfo.payNameRequired"),
|
|
123
|
+
trigger: "change"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
payMode: [
|
|
127
|
+
{
|
|
128
|
+
required: !0,
|
|
129
|
+
message: u("payInfo.payModeRequired"),
|
|
130
|
+
trigger: "change"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
termNo: [
|
|
134
|
+
{
|
|
135
|
+
required: !0,
|
|
136
|
+
message: u("payInfo.termNoRequired"),
|
|
137
|
+
trigger: "blur"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
privateKey: [
|
|
141
|
+
{
|
|
142
|
+
required: !0,
|
|
143
|
+
message: u("payInfo.privateKeyRequired"),
|
|
144
|
+
trigger: "blur"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}), f = de(x, "modelValue"), $ = x, S = e, C = Object.keys($.entityKey), b = R(C.length >= 1);
|
|
148
|
+
b.value && B.findById($.entityKey).then(({ data: r }) => {
|
|
149
|
+
l.shopPayId = r.shopPayId, l.mchId = r.mchId, l.payName = r.payName, l.payMode = r.payMode, l.termNo = r.termNo;
|
|
150
|
+
});
|
|
151
|
+
const h = async () => {
|
|
152
|
+
var r;
|
|
153
|
+
await ((r = s.value) == null ? void 0 : r.validate((i) => {
|
|
154
|
+
i && (l.shopId = $.shopId, b.value ? B.update(l).then((y) => {
|
|
155
|
+
y.status === 200 && (X({
|
|
156
|
+
message: u("common.submitSuccess"),
|
|
157
|
+
type: "success"
|
|
158
|
+
}), f.value && (f.value = !1), S("refresh", y.status === 200));
|
|
159
|
+
}) : B.create(l).then((y) => {
|
|
160
|
+
y.status === 200 && (X({
|
|
161
|
+
message: u("common.submitSuccess"),
|
|
162
|
+
type: "success"
|
|
163
|
+
}), f.value && (f.value = !1), S("refresh", y.status === 200));
|
|
164
|
+
}));
|
|
165
|
+
}));
|
|
166
|
+
};
|
|
167
|
+
function M() {
|
|
168
|
+
f.value && (f.value = !1);
|
|
169
|
+
}
|
|
170
|
+
return (r, i) => {
|
|
171
|
+
const y = p("el-input"), w = p("el-form-item"), k = p("el-col"), m = p("jmash-dict-select"), n = p("el-row"), T = p("el-form"), P = p("el-button"), q = p("el-dialog");
|
|
172
|
+
return V(), U(q, {
|
|
173
|
+
modelValue: f.value,
|
|
174
|
+
"onUpdate:modelValue": i[5] || (i[5] = (c) => f.value = c),
|
|
175
|
+
onClose: M
|
|
176
|
+
}, {
|
|
177
|
+
footer: t(() => [
|
|
178
|
+
z("div", ie, [
|
|
179
|
+
a(P, { onClick: M }, {
|
|
180
|
+
default: t(() => [
|
|
181
|
+
N(v(r.$t("common.cancel")), 1)
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}),
|
|
185
|
+
a(P, {
|
|
186
|
+
type: "primary",
|
|
187
|
+
onClick: h
|
|
188
|
+
}, {
|
|
189
|
+
default: t(() => [
|
|
190
|
+
N(v(r.$t("common.confirm")), 1)
|
|
191
|
+
]),
|
|
192
|
+
_: 1
|
|
193
|
+
})
|
|
194
|
+
])
|
|
195
|
+
]),
|
|
196
|
+
default: t(() => [
|
|
197
|
+
a(T, {
|
|
198
|
+
ref_key: "payInfoFormRef",
|
|
199
|
+
ref: s,
|
|
200
|
+
model: o(l),
|
|
201
|
+
"label-width": "120px",
|
|
202
|
+
rules: L
|
|
203
|
+
}, {
|
|
204
|
+
default: t(() => [
|
|
205
|
+
a(n, null, {
|
|
206
|
+
default: t(() => [
|
|
207
|
+
a(k, { span: 24 }, {
|
|
208
|
+
default: t(() => [
|
|
209
|
+
a(w, {
|
|
210
|
+
label: r.$t("payInfo.payName"),
|
|
211
|
+
prop: "payName"
|
|
212
|
+
}, {
|
|
213
|
+
default: t(() => [
|
|
214
|
+
a(y, {
|
|
215
|
+
modelValue: o(l).payName,
|
|
216
|
+
"onUpdate:modelValue": i[0] || (i[0] = (c) => o(l).payName = c),
|
|
217
|
+
placeholder: r.$t("payInfo.payNameRequired"),
|
|
218
|
+
maxlength: "30",
|
|
219
|
+
"show-word-limit": "",
|
|
220
|
+
clearable: ""
|
|
221
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["label"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
a(k, { span: 24 }, {
|
|
229
|
+
default: t(() => [
|
|
230
|
+
a(w, {
|
|
231
|
+
label: r.$t("payInfo.payMode"),
|
|
232
|
+
prop: "payMode"
|
|
233
|
+
}, {
|
|
234
|
+
default: t(() => [
|
|
235
|
+
a(m, {
|
|
236
|
+
modelValue: o(l).payMode,
|
|
237
|
+
"onUpdate:modelValue": i[1] || (i[1] = (c) => o(l).payMode = c),
|
|
238
|
+
placeholder: r.$t("payInfo.payModeRequired"),
|
|
239
|
+
clearable: "",
|
|
240
|
+
"type-code": o(ue).PAY_MODE,
|
|
241
|
+
style: { width: "100% !important" }
|
|
242
|
+
}, null, 8, ["modelValue", "placeholder", "type-code"])
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["label"])
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}),
|
|
249
|
+
a(k, { span: 24 }, {
|
|
250
|
+
default: t(() => [
|
|
251
|
+
a(w, {
|
|
252
|
+
label: r.$t("payInfo.mchId"),
|
|
253
|
+
prop: "mchId"
|
|
254
|
+
}, {
|
|
255
|
+
default: t(() => [
|
|
256
|
+
a(y, {
|
|
257
|
+
modelValue: o(l).mchId,
|
|
258
|
+
"onUpdate:modelValue": i[2] || (i[2] = (c) => o(l).mchId = c),
|
|
259
|
+
placeholder: r.$t("payInfo.mchIdRequired"),
|
|
260
|
+
maxlength: "30",
|
|
261
|
+
"show-word-limit": "",
|
|
262
|
+
clearable: ""
|
|
263
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
264
|
+
]),
|
|
265
|
+
_: 1
|
|
266
|
+
}, 8, ["label"])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}),
|
|
270
|
+
a(k, { span: 24 }, {
|
|
271
|
+
default: t(() => [
|
|
272
|
+
a(w, {
|
|
273
|
+
label: r.$t("payInfo.termNo"),
|
|
274
|
+
prop: "termNo"
|
|
275
|
+
}, {
|
|
276
|
+
default: t(() => [
|
|
277
|
+
a(y, {
|
|
278
|
+
modelValue: o(l).termNo,
|
|
279
|
+
"onUpdate:modelValue": i[3] || (i[3] = (c) => o(l).termNo = c),
|
|
280
|
+
placeholder: r.$t("payInfo.termNoRequired"),
|
|
281
|
+
maxlength: "30",
|
|
282
|
+
"show-word-limit": "",
|
|
283
|
+
clearable: ""
|
|
284
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
285
|
+
]),
|
|
286
|
+
_: 1
|
|
287
|
+
}, 8, ["label"])
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}),
|
|
291
|
+
a(k, { span: 24 }, {
|
|
292
|
+
default: t(() => [
|
|
293
|
+
a(w, {
|
|
294
|
+
label: r.$t("payInfo.privateKey"),
|
|
295
|
+
prop: "privateKey"
|
|
296
|
+
}, {
|
|
297
|
+
default: t(() => [
|
|
298
|
+
a(y, {
|
|
299
|
+
modelValue: o(l).privateKey,
|
|
300
|
+
"onUpdate:modelValue": i[4] || (i[4] = (c) => o(l).privateKey = c),
|
|
301
|
+
type: "textarea",
|
|
302
|
+
autosize: { minRows: 10 },
|
|
303
|
+
placeholder: r.$t("payInfo.privateKeyRequired"),
|
|
304
|
+
clearable: ""
|
|
305
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
}, 8, ["label"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
})
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
})
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
}, 8, ["model", "rules"])
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
}, 8, ["modelValue"]);
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
}), ce = { class: "app-container" }, ye = { class: "search-container" }, fe = ["onClick"], he = ["onClick"], Ne = /* @__PURE__ */ Y({
|
|
324
|
+
__name: "index",
|
|
325
|
+
setup(x) {
|
|
326
|
+
const { t: e } = G(), u = se();
|
|
327
|
+
H.shopBizPartDict.useValues();
|
|
328
|
+
const s = R({
|
|
329
|
+
curPage: 1,
|
|
330
|
+
pageSize: 10,
|
|
331
|
+
shopId: u.query.shopId
|
|
332
|
+
}), {
|
|
333
|
+
tableHooks: l,
|
|
334
|
+
multipleTableRef: L,
|
|
335
|
+
queryFormRef: f,
|
|
336
|
+
listLoading: $,
|
|
337
|
+
tableData: S,
|
|
338
|
+
total: C
|
|
339
|
+
} = re(e, B, s);
|
|
340
|
+
let b = R([
|
|
341
|
+
{
|
|
342
|
+
label: "payInfo.payName",
|
|
343
|
+
prop: "payName",
|
|
344
|
+
isColumn: !0
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
label: "payInfo.payMode",
|
|
348
|
+
prop: "payMode",
|
|
349
|
+
slotName: "payMode",
|
|
350
|
+
columnType: "slot",
|
|
351
|
+
isColumn: !0,
|
|
352
|
+
align: "center"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
label: "payInfo.mchId",
|
|
356
|
+
prop: "mchId",
|
|
357
|
+
isColumn: !0
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
label: "payInfo.termNo",
|
|
361
|
+
prop: "termNo",
|
|
362
|
+
isColumn: !0
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
label: "payInfo.status",
|
|
366
|
+
prop: "status",
|
|
367
|
+
slotName: "status",
|
|
368
|
+
columnType: "slot",
|
|
369
|
+
isColumn: !0,
|
|
370
|
+
align: "center"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
label: "common.operate",
|
|
374
|
+
slotName: "operation",
|
|
375
|
+
columnType: "slot",
|
|
376
|
+
fixed: "right",
|
|
377
|
+
isColumn: !0,
|
|
378
|
+
align: "center"
|
|
379
|
+
}
|
|
380
|
+
]);
|
|
381
|
+
const h = R({
|
|
382
|
+
title: e("common.edit"),
|
|
383
|
+
visible: !1
|
|
384
|
+
}), M = R("");
|
|
385
|
+
let r = E({});
|
|
386
|
+
function i() {
|
|
387
|
+
r = E({}), M.value = u.query.shopId, h.value.title = e("common.add"), h.value.visible = !0;
|
|
388
|
+
}
|
|
389
|
+
function y(m) {
|
|
390
|
+
r.shopPayId = m.shopPayId, M.value = u.query.shopId, h.value.title = e("common.edit"), h.value.visible = !0;
|
|
391
|
+
}
|
|
392
|
+
function w(m) {
|
|
393
|
+
l.selectionRows.value = m;
|
|
394
|
+
}
|
|
395
|
+
function k(m) {
|
|
396
|
+
m && l.getList();
|
|
397
|
+
}
|
|
398
|
+
return l.getList(), (m, n) => {
|
|
399
|
+
const T = p("jmash-select"), P = p("el-form-item"), q = p("el-col"), c = p("el-button"), O = p("el-row"), J = p("el-form"), Z = p("jmash-column-select"), ee = p("el-switch"), ae = p("jmash-table"), te = p("jmash-pagination"), le = p("el-card"), D = oe("hasPerm");
|
|
400
|
+
return V(), F("div", ce, [
|
|
401
|
+
z("div", ye, [
|
|
402
|
+
a(J, {
|
|
403
|
+
ref_key: "queryFormRef",
|
|
404
|
+
ref: f,
|
|
405
|
+
model: s.value,
|
|
406
|
+
inline: !0,
|
|
407
|
+
onSubmit: n[3] || (n[3] = ne(() => {
|
|
408
|
+
}, ["prevent"]))
|
|
409
|
+
}, {
|
|
410
|
+
default: t(() => [
|
|
411
|
+
a(O, null, {
|
|
412
|
+
default: t(() => [
|
|
413
|
+
a(q, { span: 6 }, {
|
|
414
|
+
default: t(() => [
|
|
415
|
+
a(P, {
|
|
416
|
+
label: m.$t("payInfo.status"),
|
|
417
|
+
prop: "status"
|
|
418
|
+
}, {
|
|
419
|
+
default: t(() => [
|
|
420
|
+
a(T, {
|
|
421
|
+
modelValue: s.value.status,
|
|
422
|
+
"onUpdate:modelValue": n[0] || (n[0] = (d) => s.value.status = d),
|
|
423
|
+
placeholder: m.$t("payInfo.statusRequired"),
|
|
424
|
+
data: o(H).enableDict.values,
|
|
425
|
+
clearable: ""
|
|
426
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
427
|
+
]),
|
|
428
|
+
_: 1
|
|
429
|
+
}, 8, ["label"])
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
}),
|
|
433
|
+
a(q, { span: 18 }, {
|
|
434
|
+
default: t(() => [
|
|
435
|
+
a(P, { class: "search-btn" }, {
|
|
436
|
+
default: t(() => [
|
|
437
|
+
a(c, {
|
|
438
|
+
type: "primary",
|
|
439
|
+
onClick: n[1] || (n[1] = (d) => o(l).handleQuery())
|
|
440
|
+
}, {
|
|
441
|
+
default: t(() => [
|
|
442
|
+
N(v(m.$t("common.search")), 1)
|
|
443
|
+
]),
|
|
444
|
+
_: 1
|
|
445
|
+
}),
|
|
446
|
+
a(c, {
|
|
447
|
+
onClick: n[2] || (n[2] = (d) => o(l).resetQuery())
|
|
448
|
+
}, {
|
|
449
|
+
default: t(() => [
|
|
450
|
+
N(v(m.$t("common.reset")), 1)
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
453
|
+
})
|
|
454
|
+
]),
|
|
455
|
+
_: 1
|
|
456
|
+
})
|
|
457
|
+
]),
|
|
458
|
+
_: 1
|
|
459
|
+
})
|
|
460
|
+
]),
|
|
461
|
+
_: 1
|
|
462
|
+
})
|
|
463
|
+
]),
|
|
464
|
+
_: 1
|
|
465
|
+
}, 8, ["model"]),
|
|
466
|
+
n[11] || (n[11] = z("div", { class: "clear" }, null, -1))
|
|
467
|
+
]),
|
|
468
|
+
a(le, {
|
|
469
|
+
shadow: "never",
|
|
470
|
+
class: "table-container"
|
|
471
|
+
}, {
|
|
472
|
+
header: t(() => [
|
|
473
|
+
a(O, null, {
|
|
474
|
+
default: t(() => [
|
|
475
|
+
a(q, { span: 17 }, {
|
|
476
|
+
default: t(() => [
|
|
477
|
+
j((V(), U(c, {
|
|
478
|
+
type: "primary",
|
|
479
|
+
onClick: i
|
|
480
|
+
}, {
|
|
481
|
+
default: t(() => [
|
|
482
|
+
N(v(m.$t("common.add")), 1)
|
|
483
|
+
]),
|
|
484
|
+
_: 1
|
|
485
|
+
})), [
|
|
486
|
+
[D, ["shop:pay_info:add"]]
|
|
487
|
+
]),
|
|
488
|
+
j((V(), U(c, {
|
|
489
|
+
type: "primary",
|
|
490
|
+
onClick: n[4] || (n[4] = (d) => o(l).deleteRecords())
|
|
491
|
+
}, {
|
|
492
|
+
default: t(() => [
|
|
493
|
+
N(v(m.$t("common.batchDelete")), 1)
|
|
494
|
+
]),
|
|
495
|
+
_: 1
|
|
496
|
+
})), [
|
|
497
|
+
[D, ["shop:pay_info:delete"]]
|
|
498
|
+
])
|
|
499
|
+
]),
|
|
500
|
+
_: 1
|
|
501
|
+
}),
|
|
502
|
+
a(q, {
|
|
503
|
+
span: 7,
|
|
504
|
+
class: "container-float"
|
|
505
|
+
}, {
|
|
506
|
+
default: t(() => [
|
|
507
|
+
a(Z, {
|
|
508
|
+
modelValue: o(b),
|
|
509
|
+
"onUpdate:modelValue": n[5] || (n[5] = (d) => A(b) ? b.value = d : b = d),
|
|
510
|
+
"label-name": "shop/shop-pay-info"
|
|
511
|
+
}, null, 8, ["modelValue"])
|
|
512
|
+
]),
|
|
513
|
+
_: 1
|
|
514
|
+
})
|
|
515
|
+
]),
|
|
516
|
+
_: 1
|
|
517
|
+
})
|
|
518
|
+
]),
|
|
519
|
+
footer: t(() => [
|
|
520
|
+
o(C) > 0 ? (V(), U(te, {
|
|
521
|
+
key: 0,
|
|
522
|
+
total: o(C),
|
|
523
|
+
"onUpdate:total": n[6] || (n[6] = (d) => A(C) ? C.value = d : null),
|
|
524
|
+
"current-page": s.value.curPage,
|
|
525
|
+
"onUpdate:currentPage": n[7] || (n[7] = (d) => s.value.curPage = d),
|
|
526
|
+
"page-size": s.value.pageSize,
|
|
527
|
+
"onUpdate:pageSize": n[8] || (n[8] = (d) => s.value.pageSize = d),
|
|
528
|
+
onPagination: n[9] || (n[9] = (d) => o(l).getList())
|
|
529
|
+
}, null, 8, ["total", "current-page", "page-size"])) : Q("", !0)
|
|
530
|
+
]),
|
|
531
|
+
default: t(() => [
|
|
532
|
+
a(ae, {
|
|
533
|
+
ref_key: "multipleTableRef",
|
|
534
|
+
ref: L,
|
|
535
|
+
"row-key": "mchId",
|
|
536
|
+
"list-loading": o($),
|
|
537
|
+
data: o(S),
|
|
538
|
+
"table-label": o(b),
|
|
539
|
+
onSelectionChange: w
|
|
540
|
+
}, {
|
|
541
|
+
payMode: t((d) => [
|
|
542
|
+
z("span", null, v(o(H).payModeDict.getDictValue(d.data.row.payMode)), 1)
|
|
543
|
+
]),
|
|
544
|
+
status: t((d) => [
|
|
545
|
+
a(ee, {
|
|
546
|
+
modelValue: d.data.row.status,
|
|
547
|
+
"onUpdate:modelValue": (K) => d.data.row.status = K,
|
|
548
|
+
onChange: (K) => o(l).enableRecord(d.data.row, d.data.row.status)
|
|
549
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
550
|
+
]),
|
|
551
|
+
operation: t((d) => [
|
|
552
|
+
j((V(), F("span", {
|
|
553
|
+
class: "el-button-color",
|
|
554
|
+
onClick: (K) => y(d.data.row)
|
|
555
|
+
}, [
|
|
556
|
+
N(v(m.$t("common.edit")), 1)
|
|
557
|
+
], 8, fe)), [
|
|
558
|
+
[D, ["shop:pay_info:update"]]
|
|
559
|
+
]),
|
|
560
|
+
j((V(), F("span", {
|
|
561
|
+
class: "el-button-color dropdown-left",
|
|
562
|
+
onClick: (K) => o(l).deleteRecord(d.data.row)
|
|
563
|
+
}, [
|
|
564
|
+
N(v(m.$t("common.delete")), 1)
|
|
565
|
+
], 8, he)), [
|
|
566
|
+
[D, ["shop:pay_info:delete"]]
|
|
567
|
+
])
|
|
568
|
+
]),
|
|
569
|
+
_: 1
|
|
570
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
571
|
+
]),
|
|
572
|
+
_: 1
|
|
573
|
+
}),
|
|
574
|
+
h.value.visible ? (V(), U(me, {
|
|
575
|
+
key: 0,
|
|
576
|
+
modelValue: h.value.visible,
|
|
577
|
+
"onUpdate:modelValue": n[10] || (n[10] = (d) => h.value.visible = d),
|
|
578
|
+
title: h.value.title,
|
|
579
|
+
"entity-key": o(r),
|
|
580
|
+
shopId: M.value,
|
|
581
|
+
onRefresh: k,
|
|
582
|
+
width: "800px"
|
|
583
|
+
}, null, 8, ["modelValue", "title", "entity-key", "shopId"])) : Q("", !0)
|
|
584
|
+
]);
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
export {
|
|
589
|
+
Ne as default
|
|
590
|
+
};
|