|
@@ -213,33 +213,33 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/ncs-user-watch',
|
|
|
- component: Layout,
|
|
|
- redirect: '/ncs-device/user_watch',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/ncs-device/user_watch'),
|
|
|
- name: 'user_watch',
|
|
|
- meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch', noCache: true }
|
|
|
- }
|
|
|
- ],
|
|
|
- hidden: uiVersion === 1
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/ncs-sos-device',
|
|
|
- component: Layout,
|
|
|
- redirect: '/ncs-device/sos_device',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
|
|
|
- name: 'sos-device-setting',
|
|
|
- meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/ncs-user-watch',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/ncs-device/user_watch',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/ncs-device/user_watch'),
|
|
|
+ // name: 'user_watch',
|
|
|
+ // meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch', noCache: true }
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // hidden: uiVersion === 1
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/ncs-sos-device',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/ncs-device/sos_device',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
|
|
|
+ // name: 'sos-device-setting',
|
|
|
+ // meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/ncs-channel',
|
|
|
component: Layout,
|
|
@@ -258,8 +258,7 @@ export const partRoutes = [
|
|
|
meta: { title: i18n.t('tab.channelImHistory'), icon: 'area', noCache: true },
|
|
|
hidden: true
|
|
|
}
|
|
|
- ],
|
|
|
- hidden: uiVersion !== 2
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/remark',
|
|
@@ -341,27 +340,27 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '',
|
|
|
- component: Layout,
|
|
|
- redirect: '/broadcast/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/broadcast/index',
|
|
|
- component: () => import('@/views/ncs-broadcast/index'),
|
|
|
- name: 'Broadcast',
|
|
|
- meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/broadcast/edit/:id?',
|
|
|
- component: () => import('@/views/ncs-broadcast/broadcastEdit'),
|
|
|
- name: 'broadcastEdit',
|
|
|
- meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
|
|
|
- hidden: true
|
|
|
- }
|
|
|
- ],
|
|
|
- hidden: uiVersion !== 1
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/broadcast/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: '/broadcast/index',
|
|
|
+ // component: () => import('@/views/ncs-broadcast/index'),
|
|
|
+ // name: 'Broadcast',
|
|
|
+ // meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: '/broadcast/edit/:id?',
|
|
|
+ // component: () => import('@/views/ncs-broadcast/broadcastEdit'),
|
|
|
+ // name: 'broadcastEdit',
|
|
|
+ // meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
|
|
|
+ // hidden: true
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // hidden: uiVersion !== 1
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/ncs-nurse-config',
|
|
|
component: Layout,
|
|
@@ -375,20 +374,21 @@ export const partRoutes = [
|
|
|
}
|
|
|
],
|
|
|
hidden: uiVersion !== 1
|
|
|
- }, {
|
|
|
- path: '/calling-board',
|
|
|
- component: Layout,
|
|
|
- redirect: '/calling-board/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/calling-board/index'),
|
|
|
- name: 'CallingBoard',
|
|
|
- meta: { title: i18n.t('tab.boardManage'), icon: 'el-icon-data-board', noCache: true }
|
|
|
- }
|
|
|
- ],
|
|
|
- hidden: uiVersion === 2
|
|
|
},
|
|
|
+ // {
|
|
|
+ // path: '/calling-board',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/calling-board/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/calling-board/index'),
|
|
|
+ // name: 'CallingBoard',
|
|
|
+ // meta: { title: i18n.t('tab.boardManage'), icon: 'el-icon-data-board', noCache: true }
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // hidden: uiVersion === 2
|
|
|
+ // },
|
|
|
{
|
|
|
path: '/ncs-event',
|
|
|
component: Layout,
|
|
@@ -442,20 +442,20 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/ncs_led',
|
|
|
- component: Layout,
|
|
|
- redirect: '/ncs_led/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/ncs-led/ledManager'),
|
|
|
- name: 'part_led',
|
|
|
- meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }
|
|
|
- }
|
|
|
- ],
|
|
|
- hidden: uiVersion !== 1
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/ncs_led',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/ncs_led/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/ncs-led/ledManager'),
|
|
|
+ // name: 'part_led',
|
|
|
+ // meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // hidden: uiVersion !== 1
|
|
|
+ // },
|
|
|
{ path: '*', redirect: '/404', hidden: true }
|
|
|
]
|
|
|
export const hospitalRoutes = [
|