Commit e0eb295a79f94fb481e17dead03a38c174861be4
1 parent
6f2cd3ec
离线设备禁用通道查看,避免后续无效操作
Showing
1 changed file
with
1 additions
and
1 deletions
web_src/src/components/videoList.vue
| ... | ... | @@ -52,7 +52,7 @@ |
| 52 | 52 | <el-table-column label="操作" width="240" align="center" fixed="right"> |
| 53 | 53 | <template slot-scope="scope"> |
| 54 | 54 | <el-button size="mini" :ref="scope.row.deviceId + 'refbtn' " icon="el-icon-refresh" @click="refDevice(scope.row)">刷新通道</el-button> |
| 55 | - <el-button size="mini" icon="el-icon-s-open" type="primary" @click="showChannelList(scope.row)">查看通道</el-button> | |
| 55 | + <el-button size="mini" icon="el-icon-s-open" v-bind:disabled="scope.row.online==0" type="primary" @click="showChannelList(scope.row)">查看通道</el-button> | |
| 56 | 56 | </template> |
| 57 | 57 | </el-table-column> |
| 58 | 58 | </el-table> | ... | ... |