Commit 2c70065e36062f56b40530000057e5de9d363bd3

Authored by Lawrence
1 parent 51a91d94

具有子节点的通道保留播放按钮,避免部分NVR无法查看直播流

web_src/src/components/channelList.vue
@@ -54,7 +54,8 @@ @@ -54,7 +54,8 @@
54 <el-table-column label="操作" width="280" align="center" fixed="right"> 54 <el-table-column label="操作" width="280" align="center" fixed="right">
55 <template slot-scope="scope"> 55 <template slot-scope="scope">
56 <el-button-group> 56 <el-button-group>
57 - <el-button size="mini" icon="el-icon-video-play" v-if="scope.row.parental == 0" @click="sendDevicePush(scope.row)">播放</el-button> 57 + <!-- <el-button size="mini" icon="el-icon-video-play" v-if="scope.row.parental == 0" @click="sendDevicePush(scope.row)">播放</el-button> -->
  58 + <el-button size="mini" icon="el-icon-video-play" @click="sendDevicePush(scope.row)">播放</el-button>
58 <el-button size="mini" icon="el-icon-switch-button" type="danger" v-if="scope.row.play" @click="stopDevicePush(scope.row)">停止</el-button> 59 <el-button size="mini" icon="el-icon-switch-button" type="danger" v-if="scope.row.play" @click="stopDevicePush(scope.row)">停止</el-button>
59 <el-button size="mini" icon="el-icon-s-open" type="primary" v-if="scope.row.parental == 1" @click="changeSubchannel(scope.row)">查看</el-button> 60 <el-button size="mini" icon="el-icon-s-open" type="primary" v-if="scope.row.parental == 1" @click="changeSubchannel(scope.row)">查看</el-button>
60 <!-- <el-button size="mini" icon="el-icon-video-camera" type="primary" >设备录象</el-button>--> 61 <!-- <el-button size="mini" icon="el-icon-video-camera" type="primary" >设备录象</el-button>-->