| | |
| | | <span v-show="!scope.row.edit">{{ scope.row.location }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="PTZType" label="云台类型" min-width="100"> |
| | | <el-table-column prop="ptztype" label="云台类型" min-width="100"> |
| | | <template v-slot:default="scope"> |
| | | <el-select v-show="scope.row.edit" v-model="scope.row.PTZType" |
| | | <el-select v-show="scope.row.edit" v-model="scope.row.ptztype" |
| | | placeholder="云台类型" filterable> |
| | | <el-option |
| | | v-for="(value, key) in ptzTypes" |
| | |
| | | :value="key" |
| | | /> |
| | | </el-select> |
| | | <div v-show="!scope.row.edit">{{ scope.row.PTZTypeText }}</div> |
| | | <div v-show="!scope.row.edit">{{ scope.row.ptztypeText }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="开启音频" min-width="100"> |
| | |
| | | that.total = res.data.data.total; |
| | | that.deviceChannelList = res.data.data.list; |
| | | that.deviceChannelList.forEach(e => { |
| | | e.PTZType = e.PTZType + ""; |
| | | e.ptztype = e.ptztype + ""; |
| | | that.$set(e, "edit", false); |
| | | that.$set(e, "location", ""); |
| | | if (e.longitude && e.latitude) { |
| | |
| | | this.total = res.data.data.total; |
| | | this.deviceChannelList = res.data.data.list; |
| | | this.deviceChannelList.forEach(e => { |
| | | e.PTZType = e.PTZType + ""; |
| | | e.ptztype = e.ptztype + ""; |
| | | this.$set(e, "edit", false); |
| | | this.$set(e, "location", ""); |
| | | if (e.longitude && e.latitude) { |