|
@@ -164,13 +164,13 @@ export const partRoutes = [
|
|
|
name: 'device-menu',
|
|
|
meta: { title: i18n.t('tab.deviceMenuManager'), icon: 'el-icon-menu', noCache: true }
|
|
|
},
|
|
|
- {
|
|
|
- path: 'led',
|
|
|
- component: () => import('@/views/ncs-led/ledDeviceManagement'),
|
|
|
- name: 'led-manager',
|
|
|
- meta: { title: i18n.t('tab.ledDeviceManager'), icon: 'led', noCache: true },
|
|
|
- hidden: uiVersion === 2
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: 'led',
|
|
|
+ // component: () => import('@/views/ncs-led/ledDeviceManagement'),
|
|
|
+ // name: 'led-manager',
|
|
|
+ // meta: { title: i18n.t('tab.ledDeviceManager'), icon: 'led', noCache: true },
|
|
|
+ // hidden: uiVersion === 2
|
|
|
+ // },
|
|
|
{
|
|
|
path: 'led-control',
|
|
|
component: () => import('@/views/ncs-led/ledControl'),
|
|
@@ -418,7 +418,7 @@ export const partRoutes = [
|
|
|
path: '/frame_group',
|
|
|
component: () => import('@/views/hospitalFrame/index'),
|
|
|
name: 'frame-group-manager',
|
|
|
- redirect: '/hospitalFrame/frameGroup',
|
|
|
+ redirect: '/frame_group/index',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
@@ -448,70 +448,81 @@ export const partRoutes = [
|
|
|
]
|
|
|
export const hospitalRoutes = [
|
|
|
{
|
|
|
- path: '/hospital/ncs_frame',
|
|
|
+ path: '/hospital/frame',
|
|
|
component: Layout,
|
|
|
- redirect: '/ncs_frame/index',
|
|
|
+ redirect: '/hospital/frame/index',
|
|
|
+ name: 'hospital-frame',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
|
- component: () => import('@/views/hospital/ncs_frame/frameTreeView'),
|
|
|
- name: 'hospital_frameTreeView',
|
|
|
+ component: () => import('@/views/hospital/frame/frameTreeView'),
|
|
|
+ name: 'hospital-frame-tree',
|
|
|
meta: { title: i18n.t('tab.frameManage'), icon: 'tree', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/hospital/ncs_device',
|
|
|
+ path: '/hospital/device',
|
|
|
component: Layout,
|
|
|
- redirect: '/ncs_device/index',
|
|
|
+ redirect: '/hospital/device/index',
|
|
|
+ name: 'hospital-device-manager',
|
|
|
+ meta: { title: i18n.t('deviceManage.deviceManage'), icon: 'devices' },
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
|
component: () => import('@/views/hospital/deviceManagement'),
|
|
|
- name: 'hospital_deviceList',
|
|
|
+ name: 'hospital-device-list',
|
|
|
meta: { title: i18n.t('tab.deviceManage'), icon: 'component', noCache: true }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'led_control',
|
|
|
+ component: () => import('@/views/hospital/ledControl'),
|
|
|
+ name: 'hospital-led-control',
|
|
|
+ meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/hospital/ncs_clerk',
|
|
|
+ path: '/hospital/clerk',
|
|
|
component: Layout,
|
|
|
- redirect: '/ncs_clerk/index',
|
|
|
+ redirect: '/hospital/clerk/index',
|
|
|
+ name: 'hospital-clerk-manager',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
|
component: () => import('@/views/hospital/clerkManager'),
|
|
|
- name: 'hospital_clerkList',
|
|
|
+ name: 'hospital-clerk-list',
|
|
|
meta: { title: i18n.t('tab.clerkManage'), icon: 'peoples', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/hospital/ncs_customer',
|
|
|
+ path: '/hospital/customer',
|
|
|
component: Layout,
|
|
|
- redirect: '/ncs_customer/index',
|
|
|
+ redirect: '/hospital/customer/index',
|
|
|
+ name: 'hospital-customer-manager',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
|
component: () => import('@/views/hospital/customerManagement'),
|
|
|
- name: 'customer-list',
|
|
|
+ name: 'hospital-customer-list',
|
|
|
meta: { title: i18n.t('tab.customerManage'), icon: 'el-icon-s-custom', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: '/hospital/ncs_led',
|
|
|
- component: Layout,
|
|
|
- redirect: '/ncs_led/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/hospital/ledControl'),
|
|
|
- name: 'hospital_led',
|
|
|
- meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/hospital/led',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/hospital/led/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/hospital/ledControl'),
|
|
|
+ // name: 'hospital_led',
|
|
|
+ // meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{ path: '*', redirect: '/404', hidden: true }
|
|
|
]
|
|
|
export const adminRoutes = [
|