xyvcard-live 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/add-CZ-qxdyj.mjs +784 -0
- package/dist/index-BEKuxMN9.mjs +4223 -0
- package/dist/index-BnJNPqw0.mjs +3249 -0
- package/dist/index-DLHRpKZf.mjs +4 -0
- package/dist/index-Jusy_c5g.mjs +1438 -0
- package/dist/index-fkh3q-6C.mjs +4 -0
- package/dist/index.mjs +6 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-B2Da7LnF.mjs +494 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-BM5U87cI.mjs +456 -0
- package/dist/info-DhG0Tqwk.mjs +404 -0
- package/dist/lives copy-Di8sUdq4.mjs +286 -0
- package/dist/lives-ftiJP8LL.mjs +70 -0
- package/dist/style.css +1 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/live/index.d.ts +12 -0
- package/dts/src/api/live/zb-live-comment/index.d.ts +22 -0
- package/dts/src/api/live/zb-live-comment/types.d.ts +82 -0
- package/dts/src/api/live/zb-live-user/index.d.ts +22 -0
- package/dts/src/api/live/zb-live-user/types.d.ts +108 -0
- package/dts/src/api/live/zb-live-video/index.d.ts +14 -0
- package/dts/src/api/live/zb-live-video/types.d.ts +124 -0
- package/dts/src/components/VideoUpload/index.vue.d.ts +41 -0
- package/dts/src/components/liveList/index.vue.d.ts +73 -0
- package/dts/src/constant.d.ts +53 -0
- package/dts/src/index.d.ts +7 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/lang/live/en.d.ts +59 -0
- package/dts/src/lang/live/zh-cn.d.ts +97 -0
- package/dts/src/main.d.ts +5 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/utils/copy.d.ts +1 -0
- package/dts/src/utils/timePlugin.d.ts +5 -0
- package/dts/src/views/live/zb-live-comment/index.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-user/index.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-video/add.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-video/index.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-video/info.vue.d.ts +2 -0
- package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +15 -0
- package/dts/src/views/live/zb-live-video/lives.vue.d.ts +16 -0
- package/package.json +58 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
import { defineComponent as ne, getCurrentInstance as oe, ref as S, resolveComponent as p, resolveDirective as le, createElementBlock as w, openBlock as _, Fragment as ae, createVNode as m, createElementVNode as me, withCtx as a, withKeys as I, unref as r, createTextVNode as f, toDisplayString as g, withDirectives as V, createBlock as x, createCommentVNode as B, isRef as R } from "vue";
|
|
2
|
+
import { useUserStore as u, clearEmpty as d, request as c, useTableHooks as re, fileApi as j } from "jmash-core";
|
|
3
|
+
import { useI18n as ie } from "vue-i18n";
|
|
4
|
+
import { q as L } from "./index-Jusy_c5g.mjs";
|
|
5
|
+
import { D as k } from "./index-BnJNPqw0.mjs";
|
|
6
|
+
import { useRoute as se } from "vue-router";
|
|
7
|
+
class ue {
|
|
8
|
+
getKey(e) {
|
|
9
|
+
return {
|
|
10
|
+
commentId: e.commentId
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
// 查询翻页信息直播评论
|
|
14
|
+
findPage(e) {
|
|
15
|
+
const l = u().user.tenant;
|
|
16
|
+
return d(e), c({
|
|
17
|
+
url: "/v1/live/live_comment/page/" + l,
|
|
18
|
+
method: "get",
|
|
19
|
+
params: e
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
// 查询列表信息直播评论
|
|
23
|
+
findList(e) {
|
|
24
|
+
const l = u().user.tenant;
|
|
25
|
+
return d(e), c({
|
|
26
|
+
url: "/v1/live/live_comment/list/" + l,
|
|
27
|
+
method: "get",
|
|
28
|
+
params: e
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
// 查询直播评论
|
|
32
|
+
findById(e) {
|
|
33
|
+
const l = u().user.tenant;
|
|
34
|
+
return d(e), c({
|
|
35
|
+
url: "/v1/live/live_comment/id/" + l + "/" + e.commentId,
|
|
36
|
+
method: "get"
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
// 创建实体直播评论
|
|
40
|
+
create(e) {
|
|
41
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
42
|
+
url: "/v1/live/live_comment",
|
|
43
|
+
method: "post",
|
|
44
|
+
data: e
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
// 修改实体直播评论
|
|
48
|
+
update(e) {
|
|
49
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
50
|
+
url: "/v1/live/live_comment",
|
|
51
|
+
method: "patch",
|
|
52
|
+
data: e
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
// 置顶
|
|
56
|
+
top(e) {
|
|
57
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
58
|
+
url: "/v1/live/live_comment/top",
|
|
59
|
+
method: "put",
|
|
60
|
+
data: e
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
// 屏蔽
|
|
64
|
+
block(e) {
|
|
65
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
66
|
+
url: "/v1/live/live_comment/block",
|
|
67
|
+
method: "put",
|
|
68
|
+
data: e
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
// 上移下移
|
|
72
|
+
move(e, l) {
|
|
73
|
+
let i = { ...e };
|
|
74
|
+
return i.tenant = u().user.tenant, i.up = l, d(i), c({
|
|
75
|
+
url: "/v1/live/live_comment/move",
|
|
76
|
+
method: "put",
|
|
77
|
+
data: i
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
// 启用/禁用
|
|
81
|
+
enable(e, l) {
|
|
82
|
+
let i = { ...e };
|
|
83
|
+
return i.tenant = u().user.tenant, i.enable = l, d(i), c({
|
|
84
|
+
url: "/v1/live/live_comment/enable",
|
|
85
|
+
method: "put",
|
|
86
|
+
data: i
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
// 删除直播评论
|
|
90
|
+
delete(e) {
|
|
91
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
92
|
+
url: "/v1/live/live_comment/id",
|
|
93
|
+
method: "delete",
|
|
94
|
+
params: e
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
// 批量删除直播评论
|
|
98
|
+
batchDelete(e) {
|
|
99
|
+
const l = e.map((b) => b.commentId), i = {
|
|
100
|
+
tenant: u().user.tenant,
|
|
101
|
+
commentId: l
|
|
102
|
+
};
|
|
103
|
+
return d(i), c({
|
|
104
|
+
url: "/v1/live/live_comment/batch",
|
|
105
|
+
method: "put",
|
|
106
|
+
data: i
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
// 下载导入模板直播评论
|
|
110
|
+
downloadTemplate() {
|
|
111
|
+
const e = u().user.tenant;
|
|
112
|
+
return c({
|
|
113
|
+
url: "/v1/live/live_comment/" + e + "/template.xlsx",
|
|
114
|
+
method: "get",
|
|
115
|
+
responseType: "blob",
|
|
116
|
+
params: {
|
|
117
|
+
tenant: u().user.tenant
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
// 导入直播评论
|
|
122
|
+
importExcel(e) {
|
|
123
|
+
return e.tenant = u().user.tenant, d(e), c({
|
|
124
|
+
url: "/v1/live/live_comment/import",
|
|
125
|
+
method: "patch",
|
|
126
|
+
data: e
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
// 导出直播评论Excel文件
|
|
130
|
+
exportExcel(e) {
|
|
131
|
+
const l = u().user.tenant;
|
|
132
|
+
d(e);
|
|
133
|
+
const i = L.stringify(e, {
|
|
134
|
+
arrayFormat: "brackets",
|
|
135
|
+
allowDots: !0
|
|
136
|
+
});
|
|
137
|
+
return c({
|
|
138
|
+
url: "/v1/live/live_comment/" + l + "/live_comments.xlsx?" + i,
|
|
139
|
+
method: "get",
|
|
140
|
+
responseType: "blob"
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
// 打印直播评论PDF文件
|
|
144
|
+
exportPdf(e) {
|
|
145
|
+
const l = u().user.tenant;
|
|
146
|
+
d(e);
|
|
147
|
+
const i = L.stringify(e, {
|
|
148
|
+
arrayFormat: "brackets",
|
|
149
|
+
allowDots: !0
|
|
150
|
+
});
|
|
151
|
+
return c({
|
|
152
|
+
url: "/v1/live/live_comment/" + l + "/live_comments.pdf?" + i,
|
|
153
|
+
method: "get",
|
|
154
|
+
responseType: "blob"
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
const D = new ue(), ce = ["onClick"], de = ["onClick"], pe = ["onClick"], he = /* @__PURE__ */ ne({
|
|
159
|
+
__name: "index",
|
|
160
|
+
setup(M) {
|
|
161
|
+
const { proxy: e } = oe(), { t: l } = ie(), i = se(), b = S([]), s = S({
|
|
162
|
+
liveId: i.query.liveId
|
|
163
|
+
});
|
|
164
|
+
function P(o) {
|
|
165
|
+
b.value = o, o && o.length === 2 ? (s.value.createTimeStart = new Date(o[0]).toISOString().replace("Z", "+08:00"), s.value.createTimeEnd = new Date(o[1]).toISOString().replace("Z", "+08:00")) : (s.value.createTimeStart = void 0, s.value.createTimeEnd = void 0);
|
|
166
|
+
}
|
|
167
|
+
const { tableHooks: v, listLoading: z, tableData: H, total: T } = re(
|
|
168
|
+
l,
|
|
169
|
+
D,
|
|
170
|
+
s
|
|
171
|
+
);
|
|
172
|
+
let C = S([
|
|
173
|
+
{
|
|
174
|
+
label: "liveComment.headImage",
|
|
175
|
+
prop: "headImage",
|
|
176
|
+
slotName: "headImage",
|
|
177
|
+
columnType: "slot",
|
|
178
|
+
width: "150",
|
|
179
|
+
isColumn: !0
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: "liveComment.nickName",
|
|
183
|
+
prop: "nickName",
|
|
184
|
+
width: "150",
|
|
185
|
+
isColumn: !0
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
label: "liveComment.commentType",
|
|
189
|
+
prop: "commentType",
|
|
190
|
+
slotName: "commentType",
|
|
191
|
+
columnType: "slot",
|
|
192
|
+
width: "150",
|
|
193
|
+
isColumn: !0
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
label: "liveComment.content",
|
|
197
|
+
prop: "content",
|
|
198
|
+
minWidth: "150",
|
|
199
|
+
isColumn: !0
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: "liveComment.createTimeStart",
|
|
203
|
+
prop: "createTime",
|
|
204
|
+
slotName: "createTimeStart",
|
|
205
|
+
columnType: "slot",
|
|
206
|
+
width: "150",
|
|
207
|
+
isColumn: !0
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
label: "liveComment.status",
|
|
211
|
+
prop: "status",
|
|
212
|
+
slotName: "status",
|
|
213
|
+
columnType: "slot",
|
|
214
|
+
width: "150",
|
|
215
|
+
isColumn: !0
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
label: "common.operate",
|
|
219
|
+
width: "150",
|
|
220
|
+
slotName: "operation",
|
|
221
|
+
columnType: "slot",
|
|
222
|
+
fixed: "right",
|
|
223
|
+
isColumn: !0
|
|
224
|
+
}
|
|
225
|
+
]);
|
|
226
|
+
function Q(o) {
|
|
227
|
+
v.selectionRows.value = o;
|
|
228
|
+
}
|
|
229
|
+
function K(o) {
|
|
230
|
+
v.handleSort(o.prop, o.order);
|
|
231
|
+
}
|
|
232
|
+
const q = async (o) => {
|
|
233
|
+
await e.$confirm(
|
|
234
|
+
l("liveComment.topConfirmMessage"),
|
|
235
|
+
l("liveComment.top"),
|
|
236
|
+
{
|
|
237
|
+
confirmButtonText: l("common.confirm"),
|
|
238
|
+
cancelButtonText: l("common.cancel"),
|
|
239
|
+
type: "warning"
|
|
240
|
+
}
|
|
241
|
+
), await D.top({
|
|
242
|
+
commentId: o.commentId
|
|
243
|
+
}), e.$message.success(l("liveComment.topSuccess")), v.getList();
|
|
244
|
+
}, A = async (o) => {
|
|
245
|
+
await e.$confirm(
|
|
246
|
+
l("liveComment.blockConfirmMessage"),
|
|
247
|
+
l("liveComment.block"),
|
|
248
|
+
{
|
|
249
|
+
confirmButtonText: l("common.confirm"),
|
|
250
|
+
cancelButtonText: l("common.cancel"),
|
|
251
|
+
type: "warning"
|
|
252
|
+
}
|
|
253
|
+
), await D.block({
|
|
254
|
+
commentId: o.commentId
|
|
255
|
+
}), e.$message.success(l("common.blockSuccess")), v.getList();
|
|
256
|
+
};
|
|
257
|
+
function F() {
|
|
258
|
+
b.value = [], s.value.createTimeStart = void 0, s.value.createTimeEnd = void 0, v.resetQuery();
|
|
259
|
+
}
|
|
260
|
+
return v.getList(), (o, n) => {
|
|
261
|
+
const Y = p("jmash-select"), h = p("el-form-item"), y = p("el-col"), Z = p("el-input"), O = p("el-date-picker"), E = p("el-row"), N = p("el-button"), W = p("el-form"), G = p("jmash-column-select"), J = p("el-image"), X = p("jmash-table"), ee = p("jmash-pagination"), te = p("el-card"), $ = le("hasPerm");
|
|
262
|
+
return _(), w(ae, null, [
|
|
263
|
+
m(W, {
|
|
264
|
+
ref: "queryFormRef",
|
|
265
|
+
model: s.value,
|
|
266
|
+
inline: !0
|
|
267
|
+
}, {
|
|
268
|
+
default: a(() => [
|
|
269
|
+
m(E, null, {
|
|
270
|
+
default: a(() => [
|
|
271
|
+
m(y, { span: 6 }, {
|
|
272
|
+
default: a(() => [
|
|
273
|
+
m(h, {
|
|
274
|
+
label: o.$t("liveComment.commentType"),
|
|
275
|
+
prop: "commentType"
|
|
276
|
+
}, {
|
|
277
|
+
default: a(() => [
|
|
278
|
+
m(Y, {
|
|
279
|
+
modelValue: s.value.commentType,
|
|
280
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => s.value.commentType = t),
|
|
281
|
+
data: r(k).commentType.values,
|
|
282
|
+
placeholder: o.$t("liveComment.commentTypeRequired"),
|
|
283
|
+
onKeyup: n[1] || (n[1] = I((t) => r(v).handleQuery(), ["enter"])),
|
|
284
|
+
class: "!w-[203px]"
|
|
285
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
286
|
+
]),
|
|
287
|
+
_: 1
|
|
288
|
+
}, 8, ["label"])
|
|
289
|
+
]),
|
|
290
|
+
_: 1
|
|
291
|
+
}),
|
|
292
|
+
m(y, { span: 6 }, {
|
|
293
|
+
default: a(() => [
|
|
294
|
+
m(h, {
|
|
295
|
+
label: o.$t("liveComment.content"),
|
|
296
|
+
prop: "likeContent"
|
|
297
|
+
}, {
|
|
298
|
+
default: a(() => [
|
|
299
|
+
m(Z, {
|
|
300
|
+
modelValue: s.value.likeContent,
|
|
301
|
+
"onUpdate:modelValue": n[2] || (n[2] = (t) => s.value.likeContent = t),
|
|
302
|
+
placeholder: o.$t("liveComment.contentRequired"),
|
|
303
|
+
onKeyup: n[3] || (n[3] = I((t) => r(v).handleQuery(), ["enter"])),
|
|
304
|
+
class: "!w-[203px]"
|
|
305
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
}, 8, ["label"])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}),
|
|
312
|
+
m(y, { span: 6 }, {
|
|
313
|
+
default: a(() => [
|
|
314
|
+
m(h, {
|
|
315
|
+
label: o.$t("liveComment.status"),
|
|
316
|
+
prop: "status"
|
|
317
|
+
}, {
|
|
318
|
+
default: a(() => [
|
|
319
|
+
m(Y, {
|
|
320
|
+
modelValue: s.value.status,
|
|
321
|
+
"onUpdate:modelValue": n[4] || (n[4] = (t) => s.value.status = t),
|
|
322
|
+
data: r(k).commentStatus.values,
|
|
323
|
+
placeholder: o.$t("liveComment.statusRequired"),
|
|
324
|
+
onKeyup: n[5] || (n[5] = I((t) => r(v).handleQuery(), ["enter"])),
|
|
325
|
+
class: "!w-[203px]"
|
|
326
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
}, 8, ["label"])
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
}),
|
|
333
|
+
m(y, { span: 6 }, {
|
|
334
|
+
default: a(() => [
|
|
335
|
+
m(h, {
|
|
336
|
+
label: o.$t("liveComment.createTimeStart"),
|
|
337
|
+
prop: "createTimeStart"
|
|
338
|
+
}, {
|
|
339
|
+
default: a(() => [
|
|
340
|
+
m(O, {
|
|
341
|
+
modelValue: b.value,
|
|
342
|
+
"onUpdate:modelValue": n[6] || (n[6] = (t) => b.value = t),
|
|
343
|
+
type: "daterange",
|
|
344
|
+
"start-placeholder": o.$t("liveVideo.startTime"),
|
|
345
|
+
"end-placeholder": o.$t("liveVideo.endTime"),
|
|
346
|
+
format: "YYYY-MM-DD",
|
|
347
|
+
"value-format": "YYYY-MM-DDTHH:mm:ssZZ",
|
|
348
|
+
onChange: P,
|
|
349
|
+
class: "!w-[203px]"
|
|
350
|
+
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
}, 8, ["label"])
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
})
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}),
|
|
360
|
+
m(h, { class: "search-btn" }, {
|
|
361
|
+
default: a(() => [
|
|
362
|
+
m(N, {
|
|
363
|
+
type: "primary",
|
|
364
|
+
onClick: n[7] || (n[7] = (t) => r(v).handleQuery())
|
|
365
|
+
}, {
|
|
366
|
+
default: a(() => [
|
|
367
|
+
f(g(o.$t("common.search")), 1)
|
|
368
|
+
]),
|
|
369
|
+
_: 1
|
|
370
|
+
}),
|
|
371
|
+
m(N, {
|
|
372
|
+
onClick: n[8] || (n[8] = (t) => F())
|
|
373
|
+
}, {
|
|
374
|
+
default: a(() => [
|
|
375
|
+
f(g(o.$t("common.reset")), 1)
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
})
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
})
|
|
382
|
+
]),
|
|
383
|
+
_: 1
|
|
384
|
+
}, 8, ["model"]),
|
|
385
|
+
n[14] || (n[14] = me("div", { class: "clear" }, null, -1)),
|
|
386
|
+
m(te, {
|
|
387
|
+
shadow: "never",
|
|
388
|
+
class: "table-container"
|
|
389
|
+
}, {
|
|
390
|
+
header: a(() => [
|
|
391
|
+
m(E, null, {
|
|
392
|
+
default: a(() => [
|
|
393
|
+
m(y, {
|
|
394
|
+
span: 24,
|
|
395
|
+
class: "container-float"
|
|
396
|
+
}, {
|
|
397
|
+
default: a(() => [
|
|
398
|
+
m(G, {
|
|
399
|
+
modelValue: r(C),
|
|
400
|
+
"onUpdate:modelValue": n[9] || (n[9] = (t) => R(C) ? C.value = t : C = t),
|
|
401
|
+
"label-name": "live/zb-live-comment"
|
|
402
|
+
}, null, 8, ["modelValue"])
|
|
403
|
+
]),
|
|
404
|
+
_: 1
|
|
405
|
+
})
|
|
406
|
+
]),
|
|
407
|
+
_: 1
|
|
408
|
+
})
|
|
409
|
+
]),
|
|
410
|
+
footer: a(() => [
|
|
411
|
+
r(T) > 0 ? (_(), x(ee, {
|
|
412
|
+
key: 0,
|
|
413
|
+
total: r(T),
|
|
414
|
+
"onUpdate:total": n[10] || (n[10] = (t) => R(T) ? T.value = t : null),
|
|
415
|
+
"current-page": s.value.curPage,
|
|
416
|
+
"onUpdate:currentPage": n[11] || (n[11] = (t) => s.value.curPage = t),
|
|
417
|
+
"page-size": s.value.pageSize,
|
|
418
|
+
"onUpdate:pageSize": n[12] || (n[12] = (t) => s.value.pageSize = t),
|
|
419
|
+
onPagination: n[13] || (n[13] = (t) => r(v).getList())
|
|
420
|
+
}, null, 8, ["total", "current-page", "page-size"])) : B("", !0)
|
|
421
|
+
]),
|
|
422
|
+
default: a(() => [
|
|
423
|
+
m(X, {
|
|
424
|
+
ref: "multipleTableRef",
|
|
425
|
+
"row-key": "commentId",
|
|
426
|
+
"list-loading": r(z),
|
|
427
|
+
data: r(H),
|
|
428
|
+
"table-label": r(C),
|
|
429
|
+
onSelectionChange: Q,
|
|
430
|
+
onSortChange: K
|
|
431
|
+
}, {
|
|
432
|
+
headImage: a((t) => [
|
|
433
|
+
t.data.row.headImage ? (_(), x(J, {
|
|
434
|
+
key: 0,
|
|
435
|
+
src: r(j).imageUrl(t.data.row.headImage, 180, 180),
|
|
436
|
+
"preview-src-list": [
|
|
437
|
+
r(j).imageUrl(t.data.row.headImage)
|
|
438
|
+
],
|
|
439
|
+
"preview-teleported": "",
|
|
440
|
+
"hide-on-click-modal": "",
|
|
441
|
+
fit: "cover",
|
|
442
|
+
class: "preview-img"
|
|
443
|
+
}, null, 8, ["src", "preview-src-list"])) : B("", !0)
|
|
444
|
+
]),
|
|
445
|
+
commentType: a((t) => [
|
|
446
|
+
f(g(r(k).commentType.getEnumValue(t.data.row.commentType)), 1)
|
|
447
|
+
]),
|
|
448
|
+
status: a((t) => [
|
|
449
|
+
f(g(r(k).commentStatus.getEnumValue(t.data.row.status)), 1)
|
|
450
|
+
]),
|
|
451
|
+
createTimeStart: a((t) => [
|
|
452
|
+
f(g(r(e).$moment.formatDate(
|
|
453
|
+
t.data.row.createTime,
|
|
454
|
+
"YYYY-MM-DD HH:mm"
|
|
455
|
+
)), 1)
|
|
456
|
+
]),
|
|
457
|
+
operation: a((t) => [
|
|
458
|
+
V((_(), w("span", {
|
|
459
|
+
class: "el-button-color",
|
|
460
|
+
onClick: (U) => q(t.data.row)
|
|
461
|
+
}, [
|
|
462
|
+
f(g(o.$t("liveComment.top")), 1)
|
|
463
|
+
], 8, ce)), [
|
|
464
|
+
[$, ["live:live_comment:top"]]
|
|
465
|
+
]),
|
|
466
|
+
V((_(), w("span", {
|
|
467
|
+
class: "el-button-color",
|
|
468
|
+
onClick: (U) => A(t.data.row)
|
|
469
|
+
}, [
|
|
470
|
+
f(g(o.$t("liveComment.block")), 1)
|
|
471
|
+
], 8, de)), [
|
|
472
|
+
[$, ["live:live_comment:block"]]
|
|
473
|
+
]),
|
|
474
|
+
V((_(), w("span", {
|
|
475
|
+
class: "el-button-color",
|
|
476
|
+
onClick: (U) => r(v).deleteRecord(t.data.row)
|
|
477
|
+
}, [
|
|
478
|
+
f(g(o.$t("common.delete")), 1)
|
|
479
|
+
], 8, pe)), [
|
|
480
|
+
[$, ["live:live_comment:delete"]]
|
|
481
|
+
])
|
|
482
|
+
]),
|
|
483
|
+
_: 1
|
|
484
|
+
}, 8, ["list-loading", "data", "table-label"])
|
|
485
|
+
]),
|
|
486
|
+
_: 1
|
|
487
|
+
})
|
|
488
|
+
], 64);
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
export {
|
|
493
|
+
he as _
|
|
494
|
+
};
|