Commit ad4e61d7e7bde642c0cfa35cc54d7b9e9a2eba03
1 parent
76ec3d1b
修复页面开启音频失败
Showing
1 changed file
with
5 additions
and
5 deletions
web_src/src/components/channelList.vue
| ... | ... | @@ -100,9 +100,9 @@ |
| 100 | 100 | <span v-show="!scope.row.edit">{{ scope.row.location }}</span> |
| 101 | 101 | </template> |
| 102 | 102 | </el-table-column> |
| 103 | - <el-table-column prop="PTZType" label="云台类型" min-width="100"> | |
| 103 | + <el-table-column prop="ptztype" label="云台类型" min-width="100"> | |
| 104 | 104 | <template v-slot:default="scope"> |
| 105 | - <el-select v-show="scope.row.edit" v-model="scope.row.PTZType" | |
| 105 | + <el-select v-show="scope.row.edit" v-model="scope.row.ptztype" | |
| 106 | 106 | placeholder="云台类型" filterable> |
| 107 | 107 | <el-option |
| 108 | 108 | v-for="(value, key) in ptzTypes" |
| ... | ... | @@ -111,7 +111,7 @@ |
| 111 | 111 | :value="key" |
| 112 | 112 | /> |
| 113 | 113 | </el-select> |
| 114 | - <div v-show="!scope.row.edit">{{ scope.row.PTZTypeText }}</div> | |
| 114 | + <div v-show="!scope.row.edit">{{ scope.row.ptztypeText }}</div> | |
| 115 | 115 | </template> |
| 116 | 116 | </el-table-column> |
| 117 | 117 | <el-table-column label="开启音频" min-width="100"> |
| ... | ... | @@ -312,7 +312,7 @@ export default { |
| 312 | 312 | that.total = res.data.data.total; |
| 313 | 313 | that.deviceChannelList = res.data.data.list; |
| 314 | 314 | that.deviceChannelList.forEach(e => { |
| 315 | - e.PTZType = e.PTZType + ""; | |
| 315 | + e.ptztype = e.ptztype + ""; | |
| 316 | 316 | that.$set(e, "edit", false); |
| 317 | 317 | that.$set(e, "location", ""); |
| 318 | 318 | if (e.longitude && e.latitude) { |
| ... | ... | @@ -460,7 +460,7 @@ export default { |
| 460 | 460 | this.total = res.data.data.total; |
| 461 | 461 | this.deviceChannelList = res.data.data.list; |
| 462 | 462 | this.deviceChannelList.forEach(e => { |
| 463 | - e.PTZType = e.PTZType + ""; | |
| 463 | + e.ptztype = e.ptztype + ""; | |
| 464 | 464 | this.$set(e, "edit", false); |
| 465 | 465 | this.$set(e, "location", ""); |
| 466 | 466 | if (e.longitude && e.latitude) { | ... | ... |