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 | 44 | <el-table-column label="状态" width="180" align="center"> |
| 45 | 45 | <template slot-scope="scope"> |
| 46 | 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 | 49 | </div> |
| 50 | 50 | </template> |
| 51 | 51 | </el-table-column> |
| ... | ... | @@ -99,14 +99,14 @@ export default { |
| 99 | 99 | total: 0, |
| 100 | 100 | beforeUrl: "/videoList", |
| 101 | 101 | isLoging: false, |
| 102 | - autoList: false | |
| 102 | + autoList: true | |
| 103 | 103 | }; |
| 104 | 104 | }, |
| 105 | 105 | |
| 106 | 106 | mounted() { |
| 107 | 107 | this.initData(); |
| 108 | 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 | 179 | |
| 180 | 180 | //通知设备上传媒体流 |
| 181 | 181 | sendDevicePush: function (itemData) { |
| 182 | - console.log(itemData) | |
| 182 | + console.log(itemData); | |
| 183 | 183 | let deviceId = this.deviceId; |
| 184 | 184 | this.isLoging = true; |
| 185 | 185 | let channelId = itemData.channelId; | ... | ... |