重命名设备管理组件

This commit is contained in:
panlinlin 2021-03-25 17:48:20 +08:00
parent b37a77f23f
commit 9a4b0de1af
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<div id="UiHeader"> <div id="UiHeader">
<el-menu router :default-active="this.$route.path" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b" mode="horizontal"> <el-menu router :default-active="this.$route.path" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b" mode="horizontal">
<el-menu-item index="/">控制台</el-menu-item> <el-menu-item index="/">控制台</el-menu-item>
<el-menu-item index="/videoList">设备列表</el-menu-item> <el-menu-item index="/deviceList">设备列表</el-menu-item>
<el-menu-item index="/parentPlatformList/15/1">国标级联</el-menu-item> <el-menu-item index="/parentPlatformList/15/1">国标级联</el-menu-item>
<el-switch v-model="alarmNotify" active-text="报警信息推送" style="display: block float: right" @change="sseControl"></el-switch> <el-switch v-model="alarmNotify" active-text="报警信息推送" style="display: block float: right" @change="sseControl"></el-switch>
<el-menu-item style="float: right;" @click="loginout">退出</el-menu-item> <el-menu-item style="float: right;" @click="loginout">退出</el-menu-item>

View File

@ -2,7 +2,7 @@ import Vue from 'vue'
import VueRouter from 'vue-router' import VueRouter from 'vue-router'
import control from '../components/control.vue' import control from '../components/control.vue'
import videoList from '../components/videoList.vue' import deviceList from '../components/DeviceList.vue'
import channelList from '../components/channelList.vue' import channelList from '../components/channelList.vue'
import devicePosition from '../components/devicePosition.vue' import devicePosition from '../components/devicePosition.vue'
import login from '../components/Login.vue' import login from '../components/Login.vue'
@ -24,8 +24,8 @@ export default new VueRouter({
component: control, component: control,
}, },
{ {
path: '/videoList', path: '/deviceList',
component: videoList, component: deviceList,
}, },
{ {
path: '/login', path: '/login',