Commit 560bd427d20382373eeae5293859245864210ac9
1 parent
31e340e8
通道列表添加经纬度信息
Showing
1 changed file
with
8 additions
and
2 deletions
web_src/src/components/channelList.vue
| @@ -54,6 +54,12 @@ | @@ -54,6 +54,12 @@ | ||
| 54 | </el-table-column> | 54 | </el-table-column> |
| 55 | <el-table-column prop="subCount" label="子节点数"> | 55 | <el-table-column prop="subCount" label="子节点数"> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | + <el-table-column label="位置信息" align="center"> | ||
| 58 | + <template slot-scope="scope"> | ||
| 59 | + <span>{{scope.row.longitude}},{{scope.row.latitude}}</span> | ||
| 60 | + </template> | ||
| 61 | + </el-table-column> | ||
| 62 | + <el-table-column prop="ptztypeText" label="云台类型"/> | ||
| 57 | <el-table-column label="开启音频" align="center"> | 63 | <el-table-column label="开启音频" align="center"> |
| 58 | <template slot-scope="scope"> | 64 | <template slot-scope="scope"> |
| 59 | <el-switch @change="updateChannel(scope.row)" v-model="scope.row.hasAudio" active-color="#409EFF"> | 65 | <el-switch @change="updateChannel(scope.row)" v-model="scope.row.hasAudio" active-color="#409EFF"> |
| @@ -68,8 +74,8 @@ | @@ -68,8 +74,8 @@ | ||
| 68 | </div> | 74 | </div> |
| 69 | </template> | 75 | </template> |
| 70 | </el-table-column> | 76 | </el-table-column> |
| 71 | - <el-table-column prop="ptztypeText" label="云台类型"> | ||
| 72 | - </el-table-column> | 77 | + |
| 78 | + | ||
| 73 | <el-table-column label="操作" width="280" align="center" fixed="right"> | 79 | <el-table-column label="操作" width="280" align="center" fixed="right"> |
| 74 | <template slot-scope="scope"> | 80 | <template slot-scope="scope"> |
| 75 | <el-button-group> | 81 | <el-button-group> |