Commit 9a4b0de1af957d3ab9b53c06599fc62f42c14152
1 parent
b37a77f2
重命名设备管理组件
Showing
3 changed files
with
4 additions
and
4 deletions
web_src/src/components/videoList.vue renamed to web_src/src/components/DeviceList.vue
web_src/src/components/UiHeader.vue
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | <div id="UiHeader"> | 2 | <div id="UiHeader"> |
| 3 | <el-menu router :default-active="this.$route.path" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b" mode="horizontal"> | 3 | <el-menu router :default-active="this.$route.path" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b" mode="horizontal"> |
| 4 | <el-menu-item index="/">控制台</el-menu-item> | 4 | <el-menu-item index="/">控制台</el-menu-item> |
| 5 | - <el-menu-item index="/videoList">设备列表</el-menu-item> | 5 | + <el-menu-item index="/deviceList">设备列表</el-menu-item> |
| 6 | <el-menu-item index="/parentPlatformList/15/1">国标级联</el-menu-item> | 6 | <el-menu-item index="/parentPlatformList/15/1">国标级联</el-menu-item> |
| 7 | <el-switch v-model="alarmNotify" active-text="报警信息推送" style="display: block float: right" @change="sseControl"></el-switch> | 7 | <el-switch v-model="alarmNotify" active-text="报警信息推送" style="display: block float: right" @change="sseControl"></el-switch> |
| 8 | <el-menu-item style="float: right;" @click="loginout">退出</el-menu-item> | 8 | <el-menu-item style="float: right;" @click="loginout">退出</el-menu-item> |
web_src/src/router/index.js
| @@ -2,7 +2,7 @@ import Vue from 'vue' | @@ -2,7 +2,7 @@ import Vue from 'vue' | ||
| 2 | import VueRouter from 'vue-router' | 2 | import VueRouter from 'vue-router' |
| 3 | 3 | ||
| 4 | import control from '../components/control.vue' | 4 | import control from '../components/control.vue' |
| 5 | -import videoList from '../components/videoList.vue' | 5 | +import deviceList from '../components/DeviceList.vue' |
| 6 | import channelList from '../components/channelList.vue' | 6 | import channelList from '../components/channelList.vue' |
| 7 | import devicePosition from '../components/devicePosition.vue' | 7 | import devicePosition from '../components/devicePosition.vue' |
| 8 | import login from '../components/Login.vue' | 8 | import login from '../components/Login.vue' |
| @@ -24,8 +24,8 @@ export default new VueRouter({ | @@ -24,8 +24,8 @@ export default new VueRouter({ | ||
| 24 | component: control, | 24 | component: control, |
| 25 | }, | 25 | }, |
| 26 | { | 26 | { |
| 27 | - path: '/videoList', | ||
| 28 | - component: videoList, | 27 | + path: '/deviceList', |
| 28 | + component: deviceList, | ||
| 29 | }, | 29 | }, |
| 30 | { | 30 | { |
| 31 | path: '/login', | 31 | path: '/login', |