[1078] 合并主线
This commit is contained in:
@@ -95,24 +95,16 @@ export const constantRoutes = [
|
||||
component: () => import('@/views/device/channel/record'),
|
||||
},
|
||||
{
|
||||
path: '/jtDevice',
|
||||
component: Layout,
|
||||
redirect: '/jtDevice',
|
||||
onlyIndex: 0,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'JTDevice',
|
||||
component: () => import('@/views/jtDevice/index'),
|
||||
meta: { title: '部标设备', icon: 'jtDevice' }
|
||||
},
|
||||
{
|
||||
path: '/jtDevice/record/:phoneNumber/:channelId',
|
||||
name: 'JTDeviceRecord',
|
||||
component: () => import('@/views/jtDevice/channel/record'),
|
||||
}
|
||||
]
|
||||
},
|
||||
path: '/jtDevice',
|
||||
name: 'JTDevice',
|
||||
component: () => import('@/views/jtDevice/index'),
|
||||
meta: { title: '部标设备', icon: 'jtDevice' }
|
||||
},
|
||||
{
|
||||
path: '/jtDevice/record/:phoneNumber/:channelId',
|
||||
name: 'JTDeviceRecord',
|
||||
component: () => import('@/views/jtDevice/channel/record')
|
||||
},
|
||||
{
|
||||
path: '/push',
|
||||
name: 'PushList',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div id="device" class="app-container">
|
||||
<div id="JTDevice" class="app-container">
|
||||
<deviceList v-show="show === 'device'" @show-channel="showChannelList" @show-param="showParam" />
|
||||
<channelList v-if="show === 'channel'" :device-id="deviceId" @show-device="showDevice" />
|
||||
<deviceParam v-if="show === 'param'" :phone-number="phoneNumber" @show-device="showDevice" />
|
||||
@@ -12,7 +12,7 @@ import channelList from './channel/index.vue'
|
||||
import deviceParam from './jtDeviceParam.vue'
|
||||
|
||||
export default {
|
||||
name: 'Device',
|
||||
name: 'JTDevice',
|
||||
components: {
|
||||
deviceList,
|
||||
channelList,
|
||||
|
||||
Reference in New Issue
Block a user