|
@@ -27,13 +27,17 @@
|
|
|
{{scope.row.verify?scope.row.verify:'无'}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="center" prop="operator" width="100">
|
|
|
+ <el-table-column label="操作" align="center" prop="operator" width="190">
|
|
|
<template slot-scope="scope">
|
|
|
- <div class="button-box">
|
|
|
+ <div class="button-box" style="display: flex">
|
|
|
<p class="table-min-button"
|
|
|
style="margin:0!important;"
|
|
|
- @click="lockVideo(scope.row)"
|
|
|
+ @click="lockVideo(1,scope.row)"
|
|
|
>操作视频</p>
|
|
|
+ <p class="table-min-button"
|
|
|
+ style="margin:0!important;"
|
|
|
+ @click="lockVideo(2,scope.row)"
|
|
|
+ >开关锁视频</p>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -195,16 +199,28 @@
|
|
|
},
|
|
|
methods: {
|
|
|
//视频按钮
|
|
|
- lockVideo(row){
|
|
|
- if(!row.joinVideo){
|
|
|
- this.msgError('操作视频异常无法观看');
|
|
|
- return
|
|
|
- }
|
|
|
- let obj = {
|
|
|
- url:row.joinVideo
|
|
|
+ lockVideo(type,row){
|
|
|
+ if(type == 1){
|
|
|
+ if(!row.joinVideo){
|
|
|
+ this.msgError('操作视频异常无法观看');
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let obj = {
|
|
|
+ url:row.joinVideo
|
|
|
+ }
|
|
|
+ this.$set(this,'videoData',obj);
|
|
|
+ this.videoType = true;
|
|
|
+ }else if(type == 2){
|
|
|
+ if(!row.joinVideo){
|
|
|
+ this.msgError('开关锁视频异常无法观看');
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let obj = {
|
|
|
+ url:row.joinVideo
|
|
|
+ }
|
|
|
+ this.$set(this,'videoData',obj);
|
|
|
+ this.videoType = true;
|
|
|
}
|
|
|
- this.$set(this,'videoData',obj);
|
|
|
- this.videoType = true;
|
|
|
},
|
|
|
//获取属性列表
|
|
|
getHxpClassifyattribute(){
|