|
@@ -34,57 +34,63 @@
|
|
|
<el-tag :type="row.isRecord ? '' : 'info'">{{ row.isRecord }}</el-tag>
|
|
<el-tag :type="row.isRecord ? '' : 'info'">{{ row.isRecord }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isPostExamGuide" label="是否明显位置张贴《考试简章》">
|
|
|
|
|
|
|
+ <el-table-column prop="isPostExamGuide" label="《考试简章》">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isPostExamGuide ? '' : 'info'">{{ row.isPostExamGuide }}</el-tag>
|
|
<el-tag :type="row.isPostExamGuide ? '' : 'info'">{{ row.isPostExamGuide }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isPerfectDeviceServices" label="考场服务设备是否完善">
|
|
|
|
|
|
|
+ <el-table-column prop="isPerfectDeviceServices" label="考场服务设备">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isPerfectDeviceServices ? '' : 'info'">{{ row.isPerfectDeviceServices }}</el-tag>
|
|
<el-tag :type="row.isPerfectDeviceServices ? '' : 'info'">{{ row.isPerfectDeviceServices }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isHaveTheSameTime" label="考试时间与备案考试时间是否一致">
|
|
|
|
|
|
|
+ <el-table-column prop="isHaveTheSameTime" label="考试时间">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isHaveTheSameTime ? '' : 'info'">{{ row.isHaveTheSameTime }}</el-tag>
|
|
<el-tag :type="row.isHaveTheSameTime ? '' : 'info'">{{ row.isHaveTheSameTime }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isSameAddress" label="考试地点与备案考试地点是否一致">
|
|
|
|
|
|
|
+ <el-table-column prop="isSameAddress" label="考试地点">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isSameAddress ? '' : 'info'">{{ row.isSameAddress }}</el-tag>
|
|
<el-tag :type="row.isSameAddress ? '' : 'info'">{{ row.isSameAddress }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isExaminer" label="是否有无相关专业考官且佩戴考官证">
|
|
|
|
|
|
|
+ <el-table-column prop="isExaminer" label="考官证">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isExaminer ? '' : 'info'">{{ row.isExaminer }}</el-tag>
|
|
<el-tag :type="row.isExaminer ? '' : 'info'">{{ row.isExaminer }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isRate" label="是否现场对艺术水平做出评定">
|
|
|
|
|
|
|
+ <el-table-column prop="isRate" label="做出评定">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isRate ? '' : 'info'">{{ row.isRate }}</el-tag>
|
|
<el-tag :type="row.isRate ? '' : 'info'">{{ row.isRate }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isSureContent" label="是否是所属考级机构教材确定的考级内容">
|
|
|
|
|
|
|
+ <el-table-column prop="isSureContent" label="考级内容">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isSureContent ? '' : 'info'">{{ row.isSureContent }}</el-tag>
|
|
<el-tag :type="row.isSureContent ? '' : 'info'">{{ row.isSureContent }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isPostPoster" label="是否在明显位置张贴《疫情防控指南》海报">
|
|
|
|
|
|
|
+ <el-table-column prop="isPostPoster" label="《疫情防控指南》海报">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isPostPoster ? '' : 'info'">{{ row.isPostPoster }}</el-tag>
|
|
<el-tag :type="row.isPostPoster ? '' : 'info'">{{ row.isPostPoster }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isHaveThermometer" label="考点是否配备测量体温设备,且专人值守">
|
|
|
|
|
|
|
+ <el-table-column prop="isHaveThermometer" label="测量体温设备">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isHaveThermometer ? '' : 'info'">{{ row.isHaveThermometer }}</el-tag>
|
|
<el-tag :type="row.isHaveThermometer ? '' : 'info'">{{ row.isHaveThermometer }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column prop="isSchedule" label="考场是否实施预约限流措施">
|
|
|
|
|
|
|
+ <el-table-column prop="isSchedule" label="预约限流">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag :type="row.isSchedule ? '' : 'info'">{{ row.isSchedule }}</el-tag>
|
|
<el-tag :type="row.isSchedule ? '' : 'info'">{{ row.isSchedule }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column prop="other" label="其他"> </el-table-column>
|
|
<el-table-column prop="other" label="其他"> </el-table-column>
|
|
|
|
|
+ <el-table-column label="视频" min-width="100">
|
|
|
|
|
+ <el-button type="primary" size="mini" plain @click="dialogVisible = true">查看视频</el-button>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="直播" min-width="100">
|
|
|
|
|
+ <el-button type="primary" size="mini" plain @click="showViedo = true">查看直播</el-button>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" fixed="right" min-width="150">
|
|
<el-table-column label="操作" align="center" fixed="right" min-width="150">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
<el-button @click="editRow(row)" type="primary" size="mini" plain>详情</el-button>
|
|
<el-button @click="editRow(row)" type="primary" size="mini" plain>详情</el-button>
|
|
@@ -113,6 +119,41 @@
|
|
|
>
|
|
>
|
|
|
</el-pagination>
|
|
</el-pagination>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <el-dialog title="视频列表" :visible.sync="dialogVisible" width="600px" center>
|
|
|
|
|
+ <el-table :data="vurl">
|
|
|
|
|
+ <el-table-column prop="name" label="名称"></el-table-column>
|
|
|
|
|
+ <el-table-column prop="url" label="地址" min-width="200px"></el-table-column>
|
|
|
|
|
+ <el-table-column label="操作"
|
|
|
|
|
+ ><template slot-scope="{ row }">
|
|
|
|
|
+ <el-button @click="playVideo(row)">播放</el-button>
|
|
|
|
|
+ </template></el-table-column
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ class="videoDialog"
|
|
|
|
|
+ destroy-on-close
|
|
|
|
|
+ center
|
|
|
|
|
+ append-to-body
|
|
|
|
|
+ :visible.sync="showViedo"
|
|
|
|
|
+ @close="closeEvent"
|
|
|
|
|
+ width="80%"
|
|
|
|
|
+ >
|
|
|
|
|
+ <video
|
|
|
|
|
+ :src="videoUrl"
|
|
|
|
|
+ controlsList="nodownload noremote footbar"
|
|
|
|
|
+ controls="controls"
|
|
|
|
|
+ style="height: 100%; max-width: 100%"
|
|
|
|
|
+ oncontextmenu="return false;"
|
|
|
|
|
+ onmouseleave="leaveVideo(this)"
|
|
|
|
|
+ ref="video"
|
|
|
|
|
+ v-if="showViedo"
|
|
|
|
|
+ >
|
|
|
|
|
+ 您的浏览器不支持 video 标签。
|
|
|
|
|
+ </video>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="close" @click="showViedo = false">关闭</div>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -127,13 +168,40 @@ export default {
|
|
|
multipleMode: false,
|
|
multipleMode: false,
|
|
|
search: '',
|
|
search: '',
|
|
|
url: '/regulatory/all',
|
|
url: '/regulatory/all',
|
|
|
- downloading: false
|
|
|
|
|
|
|
+ downloading: false,
|
|
|
|
|
+ showViedo: false,
|
|
|
|
|
+ dialogVisible: false,
|
|
|
|
|
+ videoUrl: 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4',
|
|
|
|
|
+ vurl: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '舞蹈艺考',
|
|
|
|
|
+ url: 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '表演艺考',
|
|
|
|
|
+ url: 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-47-24CxnKwMnv.mp4'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '舞蹈艺考',
|
|
|
|
|
+ url: 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-47-40sDbsFufH.mp4'
|
|
|
|
|
+ }
|
|
|
|
|
+ // {
|
|
|
|
|
+ // name: '唱歌艺考',
|
|
|
|
|
+ // url: 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-48-22BtOKfvcx.mp4'
|
|
|
|
|
+ // }
|
|
|
|
|
+ ]
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
selection() {
|
|
selection() {
|
|
|
return this.$refs.table.selection.map(i => i.id);
|
|
return this.$refs.table.selection.map(i => i.id);
|
|
|
}
|
|
}
|
|
|
|
|
+ // videoUrl() {
|
|
|
|
|
+ // return 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4';
|
|
|
|
|
+ // // return 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4';
|
|
|
|
|
+ // // return 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4';
|
|
|
|
|
+ // // return 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4';
|
|
|
|
|
+ // }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
beforeGetData() {
|
|
beforeGetData() {
|
|
@@ -208,8 +276,66 @@ export default {
|
|
|
this.$message.error(e.error);
|
|
this.$message.error(e.error);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ },
|
|
|
|
|
+ distribute(content) {
|
|
|
|
|
+ this.$alert(content, '提示', {
|
|
|
|
|
+ confirmButtonText: '确定'
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ closeEvent() {
|
|
|
|
|
+ document.exitPictureInPicture();
|
|
|
|
|
+ this.videoUrl =
|
|
|
|
|
+ 'https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/video/2021-03-19-14-33-40dhjGRCso.mp4';
|
|
|
|
|
+ },
|
|
|
|
|
+ playVideo(row) {
|
|
|
|
|
+ this.dialogVisible = false;
|
|
|
|
|
+ this.showViedo = true;
|
|
|
|
|
+ this.videoUrl = row.url;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
-<style lang="less" scoped></style>
|
|
|
|
|
|
|
+<style lang="less" scoped>
|
|
|
|
|
+.videoDialog {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ .el-dialog {
|
|
|
|
|
+ max-width: 900px;
|
|
|
|
|
+ margin-top: 0px;
|
|
|
|
|
+
|
|
|
|
|
+ .close {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ right: 0px;
|
|
|
|
|
+ top: -42px;
|
|
|
|
|
+ width: 71px;
|
|
|
|
|
+ height: 32px;
|
|
|
|
|
+ background: #00000015;
|
|
|
|
|
+
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #fdffff;
|
|
|
|
|
+ line-height: 32px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background: #00000055;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .el-dialog__header {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-dialog__body {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+
|
|
|
|
|
+ video {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ height: auto;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|