Browse Source

重命名设备管理组件

pull/74/head
panlinlin 4 years ago
parent
commit
9a4b0de1af
  1. 0
      web_src/src/components/DeviceList.vue
  2. 2
      web_src/src/components/UiHeader.vue
  3. 6
      web_src/src/router/index.js

0
web_src/src/components/videoList.vue → web_src/src/components/DeviceList.vue

2
web_src/src/components/UiHeader.vue

@ -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>

6
web_src/src/router/index.js

@ -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',

Loading…
Cancel
Save