From e025e61cd76b836071387c937a2ea9b5163a2f0b Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 01 八月 2024 09:59:33 +0800 Subject: [PATCH] Merge pull request #1554 from iwanlebron/iwanlebron-patch-3 --- web_src/src/components/map.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web_src/src/components/map.vue b/web_src/src/components/map.vue old mode 100644 new mode 100755 index 20adff0..64ae0e2 --- a/web_src/src/components/map.vue +++ b/web_src/src/components/map.vue @@ -22,10 +22,10 @@ <el-descriptions-item label="琛屾斂鍖哄煙" >{{channel.civilCode}}</el-descriptions-item> <el-descriptions-item label="璁惧褰掑睘" >{{channel.owner}}</el-descriptions-item> <el-descriptions-item label="瀹夎鍦板潃" >{{channel.address == null?'鏈煡': channel.address}}</el-descriptions-item> - <el-descriptions-item label="浜戝彴绫诲瀷" >{{channel.ptztypeText}}</el-descriptions-item> - <el-descriptions-item label="鐘舵��"> - <el-tag size="small" v-if="channel.status === 1">鍦ㄧ嚎</el-tag> - <el-tag size="small" type="info" v-if="channel.status === 0">绂荤嚎</el-tag> + <el-descriptions-item label="浜戝彴绫诲瀷" >{{channel.PTZTypeText}}</el-descriptions-item> + <el-descriptions-item label="閫氶亾鐘舵��"> + <el-tag size="small" v-if="channel.status === true">鍦ㄧ嚎</el-tag> + <el-tag size="small" type="info" v-if="channel.status === false">绂荤嚎</el-tag> </el-descriptions-item> </el-descriptions> <div style="padding-top: 10px"> @@ -243,7 +243,7 @@ }, getImageByChannel: function (channel) { let src = "static/images/gis/camera.png" - switch (channel.ptztype) { + switch (channel.ptzType) { case 1: if (channel.status === 1) { src = "static/images/gis/camera1.png" @@ -298,7 +298,7 @@ let that = this; this.$axios({ method: 'get', - url: './api/play/start/' + deviceId + '/' + channelId + url: '/api/play/start/' + deviceId + '/' + channelId }).then(function (res) { that.isLoging = false; if (res.data.code === 0) { -- Gitblit v1.8.0