xyvcard-live 0.0.27 → 0.0.29
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/{add-DIYvlEOy.mjs → add-W2GK4AFt.mjs} +3 -3
- package/dist/{index-DUOIlG09.mjs → index-ACNeG3vN.mjs} +97 -101
- package/dist/{index-Dck0ltXR.mjs → index-Bb5vgL1a.mjs} +1 -1
- package/dist/{index-B5thAnnz.mjs → index-BquFhBAk.mjs} +143 -149
- package/dist/{index-DoZf5B2N.mjs → index-C3zeNDwT.mjs} +5 -5
- package/dist/{index-CJQ1nVj2-idfffEIf.mjs → index-CJQ1nVj2-CeABbCTr.mjs} +1 -1
- package/dist/{index-DJm81lAY.mjs → index-Cn8UDPmW.mjs} +1 -1
- package/dist/{index-x5d5ue9e.mjs → index-DPsepUqx.mjs} +1 -1
- package/dist/{index-vwXJ6krp.mjs → index-DYCldZhq.mjs} +1 -1
- package/dist/{index-KMVMe9ZJ-C3NNys-j.mjs → index-KMVMe9ZJ-Bi-Egta2.mjs} +1 -1
- package/dist/{index-DVP09hFz.mjs → index-SYN4LRUq.mjs} +1355 -1360
- package/dist/{index-9hR8a9Gq.mjs → index-ZfxEc127.mjs} +59 -59
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BT9AvTXW.mjs → index.vue_vue_type_script_setup_true_lang-BQmqw4LY.mjs} +1 -1
- package/dist/{info-ByXTOGCn-m2MkMNtZ.mjs → info-ByXTOGCn-Cozbgavy.mjs} +2 -2
- package/dist/{info-C_OAyZk9-0B163Y_h.mjs → info-C_OAyZk9-DdKVtHww.mjs} +2 -2
- package/dist/{info-aiHQLi0f.mjs → info-Cufdspkc.mjs} +156 -137
- package/dist/{info-ZydxPcdx-DELVirrc.mjs → info-ZydxPcdx-lFJ_eo1v.mjs} +2 -2
- package/dist/{lives-C_lBMvdl.mjs → lives-DEBgksRm.mjs} +1 -1
- package/dist/{statistics-MqOv92Am.mjs → statistics-DnThoKIl.mjs} +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -2,10 +2,10 @@ import { defineComponent as ye, ref as U, reactive as x, watch as B, computed as
|
|
|
2
2
|
import { ElMessage as h } from "element-plus";
|
|
3
3
|
import { routerUtil as ee } from "jmash-core";
|
|
4
4
|
import { useRouter as Ve, useRoute as Ee } from "vue-router";
|
|
5
|
-
import { D as V, C as d, l as F, p as A, _ as _e } from "./index-
|
|
5
|
+
import { D as V, C as d, l as F, p as A, _ as _e } from "./index-C3zeNDwT.mjs";
|
|
6
6
|
import { useI18n as ge } from "vue-i18n";
|
|
7
|
-
import be from "./lives-
|
|
8
|
-
import { V as he } from "./index-
|
|
7
|
+
import be from "./lives-DEBgksRm.mjs";
|
|
8
|
+
import { V as he } from "./index-Bb5vgL1a.mjs";
|
|
9
9
|
import { s as J, a as k, t as le } from "./timeConvert-DSKES6ZM.mjs";
|
|
10
10
|
const Pe = { class: "app-container" }, Se = { class: "search-container" }, we = {
|
|
11
11
|
key: 0,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { g as
|
|
3
|
-
import { ElDialog as
|
|
4
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as he, getCurrentInstance as ge, ref as d, resolveComponent as n, resolveDirective as ke, createElementBlock as $, openBlock as y, createElementVNode as i, createVNode as l, createBlock as T, createCommentVNode as z, withCtx as a, createTextVNode as m, toDisplayString as c, withDirectives as Ve, withModifiers as I, unref as k, nextTick as Ce } from "vue";
|
|
2
|
+
import { g as G, E as $e, C as J, l as F, _ as Ie } from "./index-C3zeNDwT.mjs";
|
|
3
|
+
import { ElDialog as Ue, ElMessage as p, ElMessageBox as De } from "element-plus";
|
|
4
|
+
import { useI18n as Te } from "vue-i18n";
|
|
5
5
|
import "jmash-core";
|
|
6
|
-
import { p as
|
|
7
|
-
import { V as
|
|
8
|
-
import { useRoute as
|
|
9
|
-
const
|
|
6
|
+
import { p as Fe, e as Re } from "./index-D8SgFAny.mjs";
|
|
7
|
+
import { V as xe } from "./index-Bb5vgL1a.mjs";
|
|
8
|
+
import { useRoute as Me } from "vue-router";
|
|
9
|
+
const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee = { class: "transcode-info-container" }, Pe = ["onClick"], Ye = ["onClick"], qe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "empty-transcode"
|
|
12
|
-
},
|
|
12
|
+
}, ze = { class: "cover-wrapper" }, Be = { class: "cover-img-box" }, Ae = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "cover-placeholder"
|
|
15
|
-
},
|
|
15
|
+
}, Ke = { class: "file-name-text" }, je = ["onClick"], He = ["onClick"], Oe = ["onClick"], Qe = { class: "el-dropdown-link" }, Ge = { class: "preview-video-wrapper" }, Je = ["src", "poster"], Le = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "video-empty"
|
|
18
|
-
},
|
|
18
|
+
}, We = /* @__PURE__ */ he({
|
|
19
19
|
__name: "index",
|
|
20
20
|
emits: ["select-row"],
|
|
21
|
-
setup(
|
|
22
|
-
const R =
|
|
21
|
+
setup(Xe, { emit: Ze }) {
|
|
22
|
+
const R = Me(), { proxy: x } = ge(), { t: M } = Te(), V = d(0), u = d({
|
|
23
23
|
likeFileName: "",
|
|
24
24
|
startTime: void 0,
|
|
25
25
|
endTime: void 0,
|
|
@@ -27,7 +27,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
27
27
|
// 默认第1页
|
|
28
28
|
pageSize: 10
|
|
29
29
|
// 默认每页10条
|
|
30
|
-
}), U = d([]), N = d([]), S = d(!1), E = d(),
|
|
30
|
+
}), U = d([]), N = d([]), S = d(!1), E = d(), C = d(), L = d(null), W = d(""), g = d({
|
|
31
31
|
title: M("common.edit"),
|
|
32
32
|
visible: !1
|
|
33
33
|
}), B = d({}), D = d([]), v = d({
|
|
@@ -36,39 +36,36 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
36
36
|
// 预览视频地址
|
|
37
37
|
coverUrl: ""
|
|
38
38
|
// 视频封面地址
|
|
39
|
-
}),
|
|
39
|
+
}), X = (e, o) => {
|
|
40
40
|
D.value = o.map((s) => s.fileId);
|
|
41
41
|
};
|
|
42
|
-
function
|
|
42
|
+
function Z(e) {
|
|
43
43
|
U.value = e, e && e.length === 2 && (u.value.startTime = x.$moment.formatDate(
|
|
44
44
|
e[0],
|
|
45
|
-
|
|
45
|
+
J.RPC_FORMAT
|
|
46
46
|
), u.value.endTime = x.$moment.formatDate(
|
|
47
47
|
e[1],
|
|
48
|
-
|
|
48
|
+
J.RPC_FORMAT
|
|
49
49
|
), f());
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const ee = () => {
|
|
52
52
|
f();
|
|
53
53
|
}, f = async () => {
|
|
54
54
|
var e, o;
|
|
55
55
|
try {
|
|
56
56
|
S.value = !0;
|
|
57
57
|
const s = await F.liveVideoResource(u.value);
|
|
58
|
-
N.value = ((e = s.data) == null ? void 0 : e.mediaInfoSet) || [],
|
|
59
|
-
|
|
58
|
+
N.value = ((e = s.data) == null ? void 0 : e.mediaInfoSet) || [], V.value = ((o = s.data) == null ? void 0 : o.totalCount) || 0, Ce(() => {
|
|
59
|
+
C.value && (C.value.clearSelection(), console.log("数据加载完成,清空默认选中")), D.value = [];
|
|
60
60
|
});
|
|
61
61
|
} catch (s) {
|
|
62
|
-
p.error(M("common.queryFail") + s.message), N.value = [],
|
|
62
|
+
p.error(M("common.queryFail") + s.message), N.value = [], V.value = 0;
|
|
63
63
|
} finally {
|
|
64
64
|
S.value = !1;
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
f();
|
|
68
|
-
|
|
69
|
-
A();
|
|
70
|
-
}
|
|
71
|
-
const A = () => {
|
|
68
|
+
const oe = () => {
|
|
72
69
|
E.value && E.value.resetFields(), U.value = [], u.value = {
|
|
73
70
|
likeFileName: "",
|
|
74
71
|
startTime: void 0,
|
|
@@ -77,19 +74,19 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
77
74
|
// 重置为第1页
|
|
78
75
|
pageSize: 10
|
|
79
76
|
// 重置为默认页大小
|
|
80
|
-
},
|
|
77
|
+
}, W.value = "", L.value = null, D.value = [], C.value && C.value.clearSelection(), f();
|
|
81
78
|
};
|
|
82
|
-
function
|
|
79
|
+
function le(e) {
|
|
83
80
|
g.value.title = M("common.edit"), g.value.visible = !0, B.value = e;
|
|
84
81
|
}
|
|
85
|
-
function
|
|
82
|
+
function A(e) {
|
|
86
83
|
if (!e || e.trim() === "") {
|
|
87
84
|
p.warning("暂无可用的视频预览地址");
|
|
88
85
|
return;
|
|
89
86
|
}
|
|
90
87
|
v.value.videoUrl = e, v.value.visible = !0;
|
|
91
88
|
}
|
|
92
|
-
function
|
|
89
|
+
function K(e, o) {
|
|
93
90
|
if (!e || e.trim() === "") {
|
|
94
91
|
p.warning("暂无可用的视频下载地址");
|
|
95
92
|
return;
|
|
@@ -108,20 +105,20 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
108
105
|
), window.open(e, "_blank");
|
|
109
106
|
}
|
|
110
107
|
}
|
|
111
|
-
function
|
|
108
|
+
function te() {
|
|
112
109
|
v.value.visible = !1, v.value.videoUrl = "", v.value.coverUrl = "";
|
|
113
110
|
}
|
|
114
|
-
function
|
|
111
|
+
function ae(e) {
|
|
115
112
|
e && f();
|
|
116
113
|
}
|
|
117
|
-
const P = d(!1),
|
|
114
|
+
const P = d(!1), ne = () => {
|
|
118
115
|
P.value = !0;
|
|
119
|
-
},
|
|
116
|
+
}, ie = (e) => {
|
|
120
117
|
console.log("上传成功结果:", e), f();
|
|
121
|
-
},
|
|
118
|
+
}, re = (e) => {
|
|
122
119
|
console.error("上传失败:", e);
|
|
123
120
|
};
|
|
124
|
-
async function
|
|
121
|
+
async function se(e) {
|
|
125
122
|
try {
|
|
126
123
|
const o = {
|
|
127
124
|
tenant: R.query.tenant,
|
|
@@ -135,7 +132,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
135
132
|
p.error(`解锁失败:${o.message}`);
|
|
136
133
|
}
|
|
137
134
|
}
|
|
138
|
-
async function
|
|
135
|
+
async function de(e) {
|
|
139
136
|
try {
|
|
140
137
|
const o = {
|
|
141
138
|
tenant: R.query.tenant,
|
|
@@ -149,9 +146,9 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
149
146
|
p.error(`禁播失败:${o.message}`);
|
|
150
147
|
}
|
|
151
148
|
}
|
|
152
|
-
async function
|
|
149
|
+
async function ce(e) {
|
|
153
150
|
try {
|
|
154
|
-
await
|
|
151
|
+
await De.confirm("确定要删除该条视频吗?", "提示", {
|
|
155
152
|
confirmButtonText: "确定",
|
|
156
153
|
cancelButtonText: "取消",
|
|
157
154
|
type: "warning"
|
|
@@ -167,17 +164,17 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
167
164
|
}
|
|
168
165
|
}
|
|
169
166
|
return (e, o) => {
|
|
170
|
-
const s = n("el-input"), r = n("el-form-item"), h = n("el-col"),
|
|
171
|
-
return y(), $("div",
|
|
172
|
-
i("div",
|
|
173
|
-
l(
|
|
167
|
+
const s = n("el-input"), r = n("el-form-item"), h = n("el-col"), ue = n("el-date-picker"), Y = n("el-button"), j = n("el-row"), me = n("el-form"), _ = n("el-table-column"), H = n("el-table"), pe = n("el-image"), O = n("el-icon"), q = n("el-dropdown-item"), ve = n("el-dropdown-menu"), fe = n("el-dropdown"), _e = n("jmash-pagination"), we = n("el-card"), ye = ke("loading");
|
|
168
|
+
return y(), $("div", Ne, [
|
|
169
|
+
i("div", Se, [
|
|
170
|
+
l(me, {
|
|
174
171
|
ref_key: "queryFormRef",
|
|
175
172
|
ref: E,
|
|
176
173
|
model: u.value,
|
|
177
174
|
inline: !0
|
|
178
175
|
}, {
|
|
179
176
|
default: a(() => [
|
|
180
|
-
l(
|
|
177
|
+
l(j, null, {
|
|
181
178
|
default: a(() => [
|
|
182
179
|
l(h, { span: 6 }, {
|
|
183
180
|
default: a(() => [
|
|
@@ -203,7 +200,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
203
200
|
label: e.$t("liveVideo.startTime")
|
|
204
201
|
}, {
|
|
205
202
|
default: a(() => [
|
|
206
|
-
l(
|
|
203
|
+
l(ue, {
|
|
207
204
|
modelValue: U.value,
|
|
208
205
|
"onUpdate:modelValue": o[1] || (o[1] = (t) => U.value = t),
|
|
209
206
|
type: "daterange",
|
|
@@ -211,8 +208,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
211
208
|
"end-placeholder": e.$t("liveVideo.endTime"),
|
|
212
209
|
format: "YYYY-MM-DD",
|
|
213
210
|
"value-format": "YYYY-MM-DD",
|
|
214
|
-
onChange:
|
|
215
|
-
onClear: le
|
|
211
|
+
onChange: Z
|
|
216
212
|
}, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
|
|
217
213
|
]),
|
|
218
214
|
_: 1
|
|
@@ -234,7 +230,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
234
230
|
_: 1
|
|
235
231
|
}),
|
|
236
232
|
l(Y, {
|
|
237
|
-
onClick: o[3] || (o[3] = (t) =>
|
|
233
|
+
onClick: o[3] || (o[3] = (t) => oe())
|
|
238
234
|
}, {
|
|
239
235
|
default: a(() => [
|
|
240
236
|
m(c(e.$t("common.reset")), 1)
|
|
@@ -254,18 +250,18 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
254
250
|
_: 1
|
|
255
251
|
}, 8, ["model"])
|
|
256
252
|
]),
|
|
257
|
-
l(
|
|
253
|
+
l(we, {
|
|
258
254
|
shadow: "never",
|
|
259
255
|
class: "table-container"
|
|
260
256
|
}, {
|
|
261
257
|
header: a(() => [
|
|
262
|
-
l(
|
|
258
|
+
l(j, null, {
|
|
263
259
|
default: a(() => [
|
|
264
260
|
l(h, { span: 24 }, {
|
|
265
261
|
default: a(() => [
|
|
266
262
|
l(Y, {
|
|
267
263
|
type: "primary",
|
|
268
|
-
onClick:
|
|
264
|
+
onClick: ne
|
|
269
265
|
}, {
|
|
270
266
|
default: a(() => [
|
|
271
267
|
m(c(e.$t("liveVideo.uploadVideo")), 1)
|
|
@@ -280,27 +276,27 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
280
276
|
})
|
|
281
277
|
]),
|
|
282
278
|
footer: a(() => [
|
|
283
|
-
|
|
279
|
+
V.value > 0 ? (y(), T(_e, {
|
|
284
280
|
key: 0,
|
|
285
|
-
total:
|
|
286
|
-
"onUpdate:total": o[4] || (o[4] = (t) =>
|
|
281
|
+
total: V.value,
|
|
282
|
+
"onUpdate:total": o[4] || (o[4] = (t) => V.value = t),
|
|
287
283
|
"current-page": u.value.curPage,
|
|
288
284
|
"onUpdate:currentPage": o[5] || (o[5] = (t) => u.value.curPage = t),
|
|
289
285
|
"page-size": u.value.pageSize,
|
|
290
286
|
"onUpdate:pageSize": o[6] || (o[6] = (t) => u.value.pageSize = t),
|
|
291
|
-
onPagination:
|
|
287
|
+
onPagination: ee
|
|
292
288
|
}, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
|
|
293
289
|
]),
|
|
294
290
|
default: a(() => [
|
|
295
|
-
Ve((y(), T(
|
|
291
|
+
Ve((y(), T(H, {
|
|
296
292
|
ref_key: "multipleTableRef",
|
|
297
|
-
ref:
|
|
293
|
+
ref: C,
|
|
298
294
|
data: N.value,
|
|
299
295
|
"row-key": "fileId",
|
|
300
296
|
style: { width: "100%" },
|
|
301
297
|
"row-style": { height: "100px" },
|
|
302
298
|
"expand-row-keys": D.value,
|
|
303
|
-
onExpandChange:
|
|
299
|
+
onExpandChange: X
|
|
304
300
|
}, {
|
|
305
301
|
default: a(() => [
|
|
306
302
|
l(_, {
|
|
@@ -308,10 +304,10 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
308
304
|
width: "50"
|
|
309
305
|
}, {
|
|
310
306
|
default: a((t) => {
|
|
311
|
-
var b,
|
|
307
|
+
var b, Q;
|
|
312
308
|
return [
|
|
313
|
-
i("div",
|
|
314
|
-
l(
|
|
309
|
+
i("div", Ee, [
|
|
310
|
+
l(H, {
|
|
315
311
|
data: ((b = t.row.transcodeInfo) == null ? void 0 : b.transcodeSet) || [],
|
|
316
312
|
border: "",
|
|
317
313
|
size: "small",
|
|
@@ -343,19 +339,19 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
343
339
|
default: a((w) => [
|
|
344
340
|
i("span", {
|
|
345
341
|
class: "el-button-color",
|
|
346
|
-
onClick: I((
|
|
347
|
-
}, " 预览 ", 8,
|
|
342
|
+
onClick: I((be) => A(w.row.url), ["prevent"])
|
|
343
|
+
}, " 预览 ", 8, Pe),
|
|
348
344
|
i("span", {
|
|
349
345
|
class: "el-button-color",
|
|
350
|
-
onClick: I((
|
|
351
|
-
}, " 下载 ", 8,
|
|
346
|
+
onClick: I((be) => K(w.row.url), ["prevent"])
|
|
347
|
+
}, " 下载 ", 8, Ye)
|
|
352
348
|
]),
|
|
353
349
|
_: 1
|
|
354
350
|
})
|
|
355
351
|
]),
|
|
356
352
|
_: 1
|
|
357
353
|
}, 8, ["data"]),
|
|
358
|
-
!((
|
|
354
|
+
!((Q = t.row.transcodeInfo) != null && Q.transcodeSet) || t.row.transcodeInfo.transcodeSet.length === 0 ? (y(), $("div", qe, " 暂无转码信息 ")) : z("", !0)
|
|
359
355
|
])
|
|
360
356
|
];
|
|
361
357
|
}),
|
|
@@ -367,29 +363,29 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
367
363
|
width: "500px"
|
|
368
364
|
}, {
|
|
369
365
|
default: a((t) => [
|
|
370
|
-
i("div",
|
|
371
|
-
i("div",
|
|
372
|
-
t.row.basicInfo.coverUrl ? (y(), T(
|
|
366
|
+
i("div", ze, [
|
|
367
|
+
i("div", Be, [
|
|
368
|
+
t.row.basicInfo.coverUrl ? (y(), T(pe, {
|
|
373
369
|
key: 0,
|
|
374
|
-
src: k(
|
|
370
|
+
src: k(G)(t.row.basicInfo.coverUrl, 80, 80),
|
|
375
371
|
"preview-src-list": [
|
|
376
|
-
k(
|
|
372
|
+
k(G)(t.row.basicInfo.coverUrl)
|
|
377
373
|
],
|
|
378
374
|
"preview-teleported": "",
|
|
379
375
|
"hide-on-click-modal": "",
|
|
380
376
|
fit: "cover",
|
|
381
377
|
class: "cover-img"
|
|
382
|
-
}, null, 8, ["src", "preview-src-list"])) : (y(), $("div",
|
|
383
|
-
l(
|
|
378
|
+
}, null, 8, ["src", "preview-src-list"])) : (y(), $("div", Ae, [
|
|
379
|
+
l(O, { class: "placeholder-icon" }, {
|
|
384
380
|
default: a(() => [
|
|
385
|
-
l(k(
|
|
381
|
+
l(k(Fe))
|
|
386
382
|
]),
|
|
387
383
|
_: 1
|
|
388
384
|
}),
|
|
389
385
|
o[10] || (o[10] = i("span", { class: "placeholder-text" }, "无封面", -1))
|
|
390
386
|
]))
|
|
391
387
|
]),
|
|
392
|
-
i("div",
|
|
388
|
+
i("div", Ke, c(t.row.basicInfo.name || "无文件名"), 1)
|
|
393
389
|
])
|
|
394
390
|
]),
|
|
395
391
|
_: 1
|
|
@@ -420,27 +416,27 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
420
416
|
i("span", {
|
|
421
417
|
type: "primary",
|
|
422
418
|
class: "el-button-color",
|
|
423
|
-
onClick: I((b) =>
|
|
424
|
-
}, " 预览 ", 8,
|
|
419
|
+
onClick: I((b) => A(t.row.basicInfo.mediaUrl), ["prevent"])
|
|
420
|
+
}, " 预览 ", 8, je),
|
|
425
421
|
i("span", {
|
|
426
422
|
type: "primary",
|
|
427
423
|
class: "el-button-color",
|
|
428
|
-
onClick: I((b) =>
|
|
429
|
-
}, " 下载 ", 8,
|
|
424
|
+
onClick: I((b) => K(t.row.basicInfo.mediaUrl), ["prevent"])
|
|
425
|
+
}, " 下载 ", 8, He),
|
|
430
426
|
i("span", {
|
|
431
427
|
type: "primary",
|
|
432
428
|
class: "el-button-color",
|
|
433
|
-
onClick: I((b) =>
|
|
434
|
-
}, " 删除 ", 8,
|
|
435
|
-
l(
|
|
429
|
+
onClick: I((b) => ce(t.row), ["prevent"])
|
|
430
|
+
}, " 删除 ", 8, Oe),
|
|
431
|
+
l(fe, { class: "dropdown-left" }, {
|
|
436
432
|
dropdown: a(() => [
|
|
437
|
-
l(
|
|
433
|
+
l(ve, null, {
|
|
438
434
|
default: a(() => [
|
|
439
435
|
i("div", null, [
|
|
440
436
|
l(q, {
|
|
441
437
|
type: "primary",
|
|
442
438
|
class: "el-button-color edit-link",
|
|
443
|
-
onClick: (b) =>
|
|
439
|
+
onClick: (b) => le(t.row)
|
|
444
440
|
}, {
|
|
445
441
|
default: a(() => [
|
|
446
442
|
m(c(e.$t("common.edit")), 1)
|
|
@@ -452,7 +448,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
452
448
|
l(q, {
|
|
453
449
|
type: "primary",
|
|
454
450
|
class: "el-button-color edit-link",
|
|
455
|
-
onClick: (b) =>
|
|
451
|
+
onClick: (b) => se(t.row)
|
|
456
452
|
}, {
|
|
457
453
|
default: a(() => [
|
|
458
454
|
m(c(e.$t("liveVideo.unban")), 1)
|
|
@@ -464,7 +460,7 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
464
460
|
l(q, {
|
|
465
461
|
type: "primary",
|
|
466
462
|
class: "el-button-color edit-link",
|
|
467
|
-
onClick: (b) =>
|
|
463
|
+
onClick: (b) => de(t.row)
|
|
468
464
|
}, {
|
|
469
465
|
default: a(() => [
|
|
470
466
|
m(c(e.$t("liveVideo.banned")), 1)
|
|
@@ -477,11 +473,11 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
477
473
|
}, 1024)
|
|
478
474
|
]),
|
|
479
475
|
default: a(() => [
|
|
480
|
-
i("span",
|
|
476
|
+
i("span", Qe, [
|
|
481
477
|
m(c(e.$t("common.more")) + " ", 1),
|
|
482
|
-
l(
|
|
478
|
+
l(O, { class: "el-icon--right" }, {
|
|
483
479
|
default: a(() => [
|
|
484
|
-
l(k(
|
|
480
|
+
l(k(Re))
|
|
485
481
|
]),
|
|
486
482
|
_: 1
|
|
487
483
|
})
|
|
@@ -495,30 +491,30 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
495
491
|
]),
|
|
496
492
|
_: 1
|
|
497
493
|
}, 8, ["data", "expand-row-keys"])), [
|
|
498
|
-
[
|
|
494
|
+
[ye, S.value]
|
|
499
495
|
])
|
|
500
496
|
]),
|
|
501
497
|
_: 1
|
|
502
498
|
}),
|
|
503
|
-
g.value.visible ? (y(), T(
|
|
499
|
+
g.value.visible ? (y(), T($e, {
|
|
504
500
|
key: 0,
|
|
505
501
|
modelValue: g.value.visible,
|
|
506
502
|
"onUpdate:modelValue": o[7] || (o[7] = (t) => g.value.visible = t),
|
|
507
503
|
title: g.value.title,
|
|
508
504
|
entityKey: B.value,
|
|
509
|
-
onRefresh:
|
|
505
|
+
onRefresh: ae,
|
|
510
506
|
width: "600px"
|
|
511
507
|
}, null, 8, ["modelValue", "title", "entityKey"])) : z("", !0),
|
|
512
|
-
l(k(
|
|
508
|
+
l(k(Ue), {
|
|
513
509
|
modelValue: v.value.visible,
|
|
514
510
|
"onUpdate:modelValue": o[8] || (o[8] = (t) => v.value.visible = t),
|
|
515
511
|
title: "视频预览",
|
|
516
512
|
width: "80%",
|
|
517
513
|
top: "5vh",
|
|
518
|
-
onClose:
|
|
514
|
+
onClose: te
|
|
519
515
|
}, {
|
|
520
516
|
default: a(() => [
|
|
521
|
-
i("div",
|
|
517
|
+
i("div", Ge, [
|
|
522
518
|
v.value.videoUrl ? (y(), $("video", {
|
|
523
519
|
key: 0,
|
|
524
520
|
src: v.value.videoUrl,
|
|
@@ -529,21 +525,21 @@ const Se = { class: "app-container" }, Ee = { class: "search-container" }, Pe =
|
|
|
529
525
|
preload: "auto",
|
|
530
526
|
poster: v.value.coverUrl,
|
|
531
527
|
class: "preview-video"
|
|
532
|
-
}, " 您的浏览器不支持视频播放,请升级浏览器后重试 ", 8,
|
|
528
|
+
}, " 您的浏览器不支持视频播放,请升级浏览器后重试 ", 8, Je)) : (y(), $("div", Le, "暂无有效视频地址"))
|
|
533
529
|
])
|
|
534
530
|
]),
|
|
535
531
|
_: 1
|
|
536
532
|
}, 8, ["modelValue"]),
|
|
537
|
-
l(
|
|
533
|
+
l(xe, {
|
|
538
534
|
modelValue: P.value,
|
|
539
535
|
"onUpdate:modelValue": o[9] || (o[9] = (t) => P.value = t),
|
|
540
|
-
onUploadSuccess:
|
|
541
|
-
onUploadFail:
|
|
536
|
+
onUploadSuccess: ie,
|
|
537
|
+
onUploadFail: re
|
|
542
538
|
}, null, 8, ["modelValue"])
|
|
543
539
|
]);
|
|
544
540
|
};
|
|
545
541
|
}
|
|
546
|
-
}),
|
|
542
|
+
}), so = /* @__PURE__ */ Ie(We, [["__scopeId", "data-v-a39202d2"]]);
|
|
547
543
|
export {
|
|
548
|
-
|
|
544
|
+
so as default
|
|
549
545
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createElementBlock, createVNode, createTextVNode, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElMessage } from "element-plus";
|
|
3
|
-
import { l as liveVideoApi, _ as _export_sfc } from "./index-
|
|
3
|
+
import { l as liveVideoApi, _ as _export_sfc } from "./index-C3zeNDwT.mjs";
|
|
4
4
|
import { c as commonjsGlobal } from "./_commonjsHelpers-BVfed4GL.mjs";
|
|
5
5
|
import require$$3 from "axios";
|
|
6
6
|
var tc_vod = {}, uploader = {}, sha1 = { exports: {} };
|