|
@@ -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,
|
|
@@ -299,19 +299,19 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/calling-message',
|
|
|
- // component: Layout,
|
|
|
- // redirect: '/calling-message/index',
|
|
|
- // children: [
|
|
|
- // {
|
|
|
- // path: 'index',
|
|
|
- // component: () => import('@/views/calling-message/index'),
|
|
|
- // name: 'CallingMessage',
|
|
|
- // meta: { title: '留言设置', icon: 'email', noCache: true }
|
|
|
- // }
|
|
|
- // ]
|
|
|
- // },
|
|
|
+ {
|
|
|
+ path: '/calling-message',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/calling-message/index',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ component: () => import('@/views/calling-message/index'),
|
|
|
+ name: 'CallingMessage',
|
|
|
+ meta: { title: '留言设置', icon: 'email', noCache: true }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '',
|
|
|
component: Layout,
|
|
@@ -340,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 +375,20 @@ 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,
|
|
@@ -403,19 +403,19 @@ export const partRoutes = [
|
|
|
],
|
|
|
hidden: uiVersion === 1
|
|
|
},
|
|
|
- // {
|
|
|
- // path: '/calling-deviceregisterparams',
|
|
|
- // component: Layout,
|
|
|
- // redirect: '/deviceregisterparams/index',
|
|
|
- // children: [
|
|
|
- // {
|
|
|
- // path: 'index',
|
|
|
- // component: () => import('@/views/calling-deviceRegisterParam/index'),
|
|
|
- // name: 'deviceRegisterParam',
|
|
|
- // meta: { title: '设备自动注册参数', icon: 'params', noCache: true }
|
|
|
- // }
|
|
|
- // ]
|
|
|
- // },
|
|
|
+ {
|
|
|
+ path: '/calling-deviceregisterparams',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/deviceregisterparams/index',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ component: () => import('@/views/calling-deviceRegisterParam/index'),
|
|
|
+ name: 'deviceRegisterParam',
|
|
|
+ meta: { title: '设备自动注册参数', icon: 'params', noCache: true }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/ncs-interaction-chars',
|
|
|
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 = [
|