|
@@ -57,7 +57,7 @@
|
|
|
v-model.trim="searchForm.search"
|
|
|
clearable
|
|
|
@keyup.enter.native="
|
|
|
- (e) => {
|
|
|
+ e => {
|
|
|
e.target.blur();
|
|
|
$refs.searchForm.save();
|
|
|
search();
|
|
@@ -95,15 +95,27 @@
|
|
|
prop="studentName"
|
|
|
label="学员姓名"
|
|
|
></el-table-column>
|
|
|
- <el-table-column align="center" prop="organName" label="分部"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="organName"
|
|
|
+ label="分部"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column align="center" prop="musicGroupName" label="乐团">
|
|
|
<template slot-scope="scope">
|
|
|
<tooltip :content="scope.row.musicGroupName" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="center" prop="phone" label="手机号"></el-table-column>
|
|
|
- <el-table-column align="center" prop="subName" label="声部"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="phone"
|
|
|
+ label="手机号"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="subName"
|
|
|
+ label="声部"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
prop="joinTime"
|
|
@@ -164,7 +176,7 @@
|
|
|
>
|
|
|
<!-- activeUrl -->
|
|
|
<div class="activeVideoWrap">
|
|
|
- <vue-core-video-player
|
|
|
+ <!-- <vue-core-video-player
|
|
|
v-if="activeVideo.os == 'mobile' && activeVideo.videoType != 'm3u8'"
|
|
|
style="width: 480px"
|
|
|
:src="activeVideo.url"
|
|
@@ -197,25 +209,30 @@
|
|
|
ref="dialogVideo"
|
|
|
>
|
|
|
您的浏览器不支持视频播放
|
|
|
- </vue-core-video-player>
|
|
|
+ </vue-core-video-player> -->
|
|
|
+ <videoTcplayer class="ql-video" :src="activeVideo.url" />
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import videoTcplayer from "@/components/video-tcplayer";
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import cleanDeep from "clean-deep";
|
|
|
import qs from "qs";
|
|
|
-import { getLiveBroadcastRoomDetail, getLiveBroadcastRoomDetailList } from "./api";
|
|
|
+import {
|
|
|
+ getLiveBroadcastRoomDetail,
|
|
|
+ getLiveBroadcastRoomDetailList
|
|
|
+} from "./api";
|
|
|
import { Export } from "@/utils/downLoadFile";
|
|
|
import videoPlace from "./images/video-place.png";
|
|
|
import HLSCore from "@core-player/playcore-hls";
|
|
|
export default {
|
|
|
- components: { pagination },
|
|
|
+ components: { pagination, videoTcplayer },
|
|
|
data() {
|
|
|
return {
|
|
|
searchForm: {
|
|
|
- search: "",
|
|
|
+ search: ""
|
|
|
},
|
|
|
tableList: [],
|
|
|
detail: {
|
|
@@ -226,27 +243,27 @@ export default {
|
|
|
speakerName: "",
|
|
|
totalLikeNum: 0,
|
|
|
totalLiveTime: 0,
|
|
|
- totalLookNum: 0,
|
|
|
+ totalLookNum: 0
|
|
|
},
|
|
|
rules: {
|
|
|
// 分页规则
|
|
|
limit: 10, // 限制显示条数
|
|
|
page: 1, // 当前页
|
|
|
total: 0, // 总条数
|
|
|
- page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
+ page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
|
},
|
|
|
videoList: [],
|
|
|
payVisible: false,
|
|
|
videoVisible: false,
|
|
|
activeVideo: { endTime: "" },
|
|
|
HLSCore,
|
|
|
- videoPlace,
|
|
|
+ videoPlace
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getDetail();
|
|
|
this.getList();
|
|
|
- console.log(HLSCore, "HLSCore");
|
|
|
+ // console.log(HLSCore, "HLSCore");
|
|
|
},
|
|
|
methods: {
|
|
|
onCancel() {
|
|
@@ -267,7 +284,7 @@ export default {
|
|
|
rows: this.rules.limit,
|
|
|
page: this.rules.page,
|
|
|
roomUid: this.$route.query.roomUid,
|
|
|
- search: this.searchForm.search,
|
|
|
+ search: this.searchForm.search
|
|
|
};
|
|
|
const res = await getLiveBroadcastRoomDetailList(obj);
|
|
|
this.tableList = res.data.rows;
|
|
@@ -279,7 +296,7 @@ export default {
|
|
|
async getDetail() {
|
|
|
try {
|
|
|
let obj = {
|
|
|
- roomUid: this.$route.query.roomUid,
|
|
|
+ roomUid: this.$route.query.roomUid
|
|
|
};
|
|
|
|
|
|
const res = await getLiveBroadcastRoomDetail(obj);
|
|
@@ -299,7 +316,7 @@ export default {
|
|
|
rows: this.rules.limit,
|
|
|
page: this.rules.page,
|
|
|
roomUid: this.$route.query.roomUid,
|
|
|
- search: this.searchForm.search,
|
|
|
+ search: this.searchForm.search
|
|
|
};
|
|
|
Export(
|
|
|
this,
|
|
@@ -307,12 +324,12 @@ export default {
|
|
|
url: "/api-web/export/liveBroadcastRoomMember",
|
|
|
fileName: `"${this.detail.roomTitle}"参与学员.xls`,
|
|
|
method: "post",
|
|
|
- params: qs.stringify(cleanDeep(obj)),
|
|
|
+ params: qs.stringify(cleanDeep(obj))
|
|
|
},
|
|
|
`您确定导出"${this.detail.roomTitle}"参与学员?`
|
|
|
);
|
|
|
- },
|
|
|
- },
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
@@ -421,4 +438,7 @@ export default {
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+/deep/.video-js {
|
|
|
+ height: 400px;
|
|
|
+}
|
|
|
</style>
|