Commit 42450af8853bb001e422392387b2c5da3de4ee89
1 parent
a47a7ccb
修改通道在线/离线描述,避免歧义
Showing
1 changed file
with
5 additions
and
5 deletions
web_src/src/components/channelList.vue
| @@ -44,8 +44,8 @@ | @@ -44,8 +44,8 @@ | ||
| 44 | <el-table-column label="状态" width="180" align="center"> | 44 | <el-table-column label="状态" width="180" align="center"> |
| 45 | <template slot-scope="scope"> | 45 | <template slot-scope="scope"> |
| 46 | <div slot="reference" class="name-wrapper"> | 46 | <div slot="reference" class="name-wrapper"> |
| 47 | - <el-tag size="medium" v-if="scope.row.status == 1">在线</el-tag> | ||
| 48 | - <el-tag size="medium" type="info" v-if="scope.row.status == 0">离线</el-tag> | 47 | + <el-tag size="medium" v-if="scope.row.status == 1">开启</el-tag> |
| 48 | + <el-tag size="medium" type="info" v-if="scope.row.status == 0">关闭</el-tag> | ||
| 49 | </div> | 49 | </div> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| @@ -99,14 +99,14 @@ export default { | @@ -99,14 +99,14 @@ export default { | ||
| 99 | total: 0, | 99 | total: 0, |
| 100 | beforeUrl: "/videoList", | 100 | beforeUrl: "/videoList", |
| 101 | isLoging: false, | 101 | isLoging: false, |
| 102 | - autoList: false | 102 | + autoList: true |
| 103 | }; | 103 | }; |
| 104 | }, | 104 | }, |
| 105 | 105 | ||
| 106 | mounted() { | 106 | mounted() { |
| 107 | this.initData(); | 107 | this.initData(); |
| 108 | if (this.autoList) { | 108 | if (this.autoList) { |
| 109 | - this.updateLooper = setInterval(this.initData, 1500); | 109 | + this.updateLooper = setInterval(this.initData, 5000); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | }, | 112 | }, |
| @@ -179,7 +179,7 @@ export default { | @@ -179,7 +179,7 @@ export default { | ||
| 179 | 179 | ||
| 180 | //通知设备上传媒体流 | 180 | //通知设备上传媒体流 |
| 181 | sendDevicePush: function (itemData) { | 181 | sendDevicePush: function (itemData) { |
| 182 | - console.log(itemData) | 182 | + console.log(itemData); |
| 183 | let deviceId = this.deviceId; | 183 | let deviceId = this.deviceId; |
| 184 | this.isLoging = true; | 184 | this.isLoging = true; |
| 185 | let channelId = itemData.channelId; | 185 | let channelId = itemData.channelId; |