Commit ad4e61d7e7bde642c0cfa35cc54d7b9e9a2eba03

Authored by 648540858
1 parent 76ec3d1b

修复页面开启音频失败

web_src/src/components/channelList.vue
@@ -100,9 +100,9 @@ @@ -100,9 +100,9 @@
100 <span v-show="!scope.row.edit">{{ scope.row.location }}</span> 100 <span v-show="!scope.row.edit">{{ scope.row.location }}</span>
101 </template> 101 </template>
102 </el-table-column> 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 <template v-slot:default="scope"> 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 placeholder="云台类型" filterable> 106 placeholder="云台类型" filterable>
107 <el-option 107 <el-option
108 v-for="(value, key) in ptzTypes" 108 v-for="(value, key) in ptzTypes"
@@ -111,7 +111,7 @@ @@ -111,7 +111,7 @@
111 :value="key" 111 :value="key"
112 /> 112 />
113 </el-select> 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 </template> 115 </template>
116 </el-table-column> 116 </el-table-column>
117 <el-table-column label="开启音频" min-width="100"> 117 <el-table-column label="开启音频" min-width="100">
@@ -312,7 +312,7 @@ export default { @@ -312,7 +312,7 @@ export default {
312 that.total = res.data.data.total; 312 that.total = res.data.data.total;
313 that.deviceChannelList = res.data.data.list; 313 that.deviceChannelList = res.data.data.list;
314 that.deviceChannelList.forEach(e => { 314 that.deviceChannelList.forEach(e => {
315 - e.PTZType = e.PTZType + ""; 315 + e.ptztype = e.ptztype + "";
316 that.$set(e, "edit", false); 316 that.$set(e, "edit", false);
317 that.$set(e, "location", ""); 317 that.$set(e, "location", "");
318 if (e.longitude && e.latitude) { 318 if (e.longitude && e.latitude) {
@@ -460,7 +460,7 @@ export default { @@ -460,7 +460,7 @@ export default {
460 this.total = res.data.data.total; 460 this.total = res.data.data.total;
461 this.deviceChannelList = res.data.data.list; 461 this.deviceChannelList = res.data.data.list;
462 this.deviceChannelList.forEach(e => { 462 this.deviceChannelList.forEach(e => {
463 - e.PTZType = e.PTZType + ""; 463 + e.ptztype = e.ptztype + "";
464 this.$set(e, "edit", false); 464 this.$set(e, "edit", false);
465 this.$set(e, "location", ""); 465 this.$set(e, "location", "");
466 if (e.longitude && e.latitude) { 466 if (e.longitude && e.latitude) {