|
@@ -76,113 +76,118 @@ export const constantRoutes = [
|
|
|
]
|
|
|
// 科室级页面
|
|
|
export const partRoutes = [
|
|
|
- //空间设备相关
|
|
|
+ // 空间设备相关
|
|
|
{
|
|
|
path: '/frame',
|
|
|
component: Layout,
|
|
|
redirect: '/frame/tree',
|
|
|
- name: 'part-frame-tree',
|
|
|
+ name: 'frame-tree',
|
|
|
meta: { title: i18n.t('tab.frameManage'), icon: 'tree', noCache: true },
|
|
|
children: [{
|
|
|
- path: 'tree',
|
|
|
- component: () => import('@/views/hospitalFrame/frameTreeView'),
|
|
|
- name: 'part-frame-tree',
|
|
|
- meta: { title: i18n.t('tab.frameManage'), icon: 'tree', noCache: true } // 空间位置
|
|
|
- },{
|
|
|
- path: 'clerk_frame_manage',
|
|
|
- component: () => import('@/views/ncs-clerk-frame-manage/index'),
|
|
|
- name: 'clerk-frame-manage',
|
|
|
- meta: { title: i18n.t('tab.staffManageFrames'), icon: 'frame_manage', noCache: true }
|
|
|
- },{
|
|
|
- path: 'device',
|
|
|
- name: 'part-device',
|
|
|
- component: () => import('@/views/ncs-device/index'),
|
|
|
- redirect: '/frame/device/list',
|
|
|
- meta: {
|
|
|
- title: i18n.t('deviceManage.deviceManage'),
|
|
|
- icon: 'devices'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- component: () => import('@/views/ncs-device/deviceManagement'),
|
|
|
- name: 'device-list',
|
|
|
- meta: { title: i18n.t('tab.deviceManage'), icon: 'component', noCache: true } // 所有设备
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'mobile',
|
|
|
- component: () => import('@/views/ncs-device/nurse_watch'),
|
|
|
- name: 'device-mobile',
|
|
|
- hidden: !enableMobile,
|
|
|
- meta: { title: i18n.t('tab.mobileDeviceManage'), icon: 'el-icon-watch', noCache: true } // 移动设备
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'user_watch',
|
|
|
- component: () => import('@/views/ncs-device/user_watch'),
|
|
|
- name: 'user-watch',
|
|
|
- hidden: !enableCustomerDevice,
|
|
|
- meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch-1', noCache: true } // 用户设备
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'sos',
|
|
|
- component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
|
|
|
- name: 'sos-device',
|
|
|
- hidden: !enableSosDevice,
|
|
|
- meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true } // 报警设备
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'map',
|
|
|
- component: () => import('@/views/customer/myMapHtml'),
|
|
|
- name: 'device-map',
|
|
|
- meta: { title: i18n.t('customerManage.footprint'), icon: 'area', noCache: true }, // 足迹
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'nbdevice_condition',
|
|
|
- component: () => import('@/views/ncs-device/nbDeviceCondition'),
|
|
|
- name: 'nbdevice-condition',
|
|
|
- meta: { title: i18n.t('tab.nbiotDeviceStatus'), icon: 'iot', noCache: true },
|
|
|
- hidden: !enableNBiot
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'information_board',
|
|
|
- component: () => import('@/views/calling-board/index'),
|
|
|
- name: 'information-board',
|
|
|
- meta: { title: i18n.t('tab.boardManage'), icon: 'infomation_board', noCache: true },
|
|
|
- hidden: uiVersion === 2
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'custom_infoboard',
|
|
|
- component: () => import('@/views/custom-infoboard/board-title'),
|
|
|
- name: 'board-title',
|
|
|
- meta: { title: i18n.t('tab.customBoardManage'), icon: 'designer', noCache: true },
|
|
|
- hidden: uiVersion === 2
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'device_menu',
|
|
|
- component: () => import('@/views/ncs-device-menu/index'),
|
|
|
- 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-control',
|
|
|
- component: () => import('@/views/ncs-led/ledControl'),
|
|
|
- name: 'led-control',
|
|
|
- meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }, // LED点阵屏
|
|
|
- hidden: true
|
|
|
- }
|
|
|
- ]
|
|
|
+ path: 'tree',
|
|
|
+ component: () => import('@/views/hospitalFrame/frameTreeView'),
|
|
|
+ name: 'part-frame-tree',
|
|
|
+ meta: { title: i18n.t('tab.frameManage'), icon: 'tree', noCache: true } // 空间位置
|
|
|
+ }, {
|
|
|
+ path: 'clerk_frame_manage',
|
|
|
+ component: () => import('@/views/ncs-clerk-frame-manage/index'),
|
|
|
+ name: 'clerk-frame-manage',
|
|
|
+ meta: { title: i18n.t('tab.staffManageFrames'), icon: 'frame_manage', noCache: true }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/device',
|
|
|
+ name: 'part-device',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/device/list',
|
|
|
+ meta: { title: i18n.t('deviceManage.deviceManage'), icon: 'devices' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ component: () => import('@/views/ncs-device/deviceManagement'),
|
|
|
+ name: 'device-list',
|
|
|
+ meta: { title: i18n.t('tab.deviceManage'), icon: 'component', noCache: true } // 所有设备
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'mobile',
|
|
|
+ component: () => import('@/views/ncs-device/nurse_watch'),
|
|
|
+ name: 'device-mobile',
|
|
|
+ hidden: !enableMobile,
|
|
|
+ meta: { title: i18n.t('tab.mobileDeviceManage'), icon: 'el-icon-watch', noCache: true } // 移动设备
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'user_watch',
|
|
|
+ component: () => import('@/views/ncs-device/user_watch'),
|
|
|
+ name: 'user-watch',
|
|
|
+ hidden: !enableCustomerDevice,
|
|
|
+ meta: { title: i18n.t('tab.userLocationManage'), icon: 'el-icon-watch-1', noCache: true } // 用户设备
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'sos',
|
|
|
+ component: () => import('@/views/ncs-sos-device-setting/sos_device_setting'),
|
|
|
+ name: 'sos-device',
|
|
|
+ hidden: !enableSosDevice,
|
|
|
+ meta: { title: i18n.t('tab.sosDeviceSettingManage'), icon: 'el-icon-s-help', noCache: true } // 报警设备
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'map',
|
|
|
+ component: () => import('@/views/customer/myMapHtml'),
|
|
|
+ name: 'device-map',
|
|
|
+ meta: { title: i18n.t('customerManage.footprint'), icon: 'area', noCache: true }, // 足迹
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'nbdevice_condition',
|
|
|
+ component: () => import('@/views/ncs-device/nbDeviceCondition'),
|
|
|
+ name: 'nbdevice-condition',
|
|
|
+ meta: { title: i18n.t('tab.nbiotDeviceStatus'), icon: 'iot', noCache: true },
|
|
|
+ hidden: !enableNBiot
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'information_board',
|
|
|
+ component: () => import('@/views/calling-board/index'),
|
|
|
+ name: 'information-board',
|
|
|
+ meta: { title: i18n.t('tab.boardManage'), icon: 'infomation_board', noCache: true },
|
|
|
+ hidden: uiVersion === 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'custom_infoboard',
|
|
|
+ component: () => import('@/views/custom-infoboard/board-title'),
|
|
|
+ name: 'board-title',
|
|
|
+ meta: { title: i18n.t('tab.customBoardManage'), icon: 'designer', noCache: true },
|
|
|
+ hidden: uiVersion === 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'index/:id?',
|
|
|
+ component: () => import('@/views/custom-infoboard/infoboard-designer'), // 自定义看板 component: () => import('@/views/custom-infoboard/infoboard-designer'),资阳 component: () => import('@/views/custom-infoboard/screen-designer')
|
|
|
+ name: 'infoboard-designer-manager',
|
|
|
+ meta: { title: i18n.t('tab.customBoardDesigner'), icon: 'el-icon-data-board', noCache: true },
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'device_menu',
|
|
|
+ component: () => import('@/views/ncs-device-menu/index'),
|
|
|
+ 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-control',
|
|
|
+ component: () => import('@/views/ncs-led/ledControl'),
|
|
|
+ name: 'led-control',
|
|
|
+ meta: { title: i18n.t('tab.ledDevice'), icon: 'el-icon-message-solid', noCache: true }, // LED点阵屏
|
|
|
+ hidden: true
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //职员相关
|
|
|
+ // 职员相关
|
|
|
{
|
|
|
path: '/clerk',
|
|
|
component: Layout,
|
|
@@ -204,32 +209,33 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //门禁
|
|
|
+ // 门禁
|
|
|
{
|
|
|
path: '/entrace_guard',
|
|
|
component: Layout,
|
|
|
name: 'entrace-guard',
|
|
|
+ redirect: '/entrace_guard/users',
|
|
|
hidden: !enableEntraceguard,
|
|
|
children: [
|
|
|
{
|
|
|
path: 'users',
|
|
|
component: () => import('@/views/entrace-guard/users'),
|
|
|
- name: 'entrace-guard',
|
|
|
+ name: 'entrace-guard-list',
|
|
|
meta: { title: i18n.t('tab.entraceguardUser'), icon: 'pass_through', noCache: true },
|
|
|
hidden: !enableEntraceguard
|
|
|
}]
|
|
|
},
|
|
|
- //客户信息
|
|
|
+ // 客户信息
|
|
|
{
|
|
|
path: '/customer',
|
|
|
component: Layout,
|
|
|
redirect: '/customer/list',
|
|
|
- name: 'customer',
|
|
|
+ name: 'customer-manager',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'list',
|
|
|
component: () => uiVersion === 1 ? import('@/views/customer/patientManagement') : uiVersion === 2 ? import('@/views/customer/customerManagement') : import('@/views/customer/elderlyCareManagement'),
|
|
|
- name: 'customer-manager',
|
|
|
+ name: 'customer-list',
|
|
|
meta: {
|
|
|
title: uiVersion === 1 ? i18n.t('tab.patientManage') : i18n.t('tab.customerManage'),
|
|
|
icon: 'el-icon-s-custom',
|
|
@@ -240,7 +246,7 @@ export const partRoutes = [
|
|
|
path: 'map',
|
|
|
component: () => import('@/views/customer/allMap'),
|
|
|
name: 'map',
|
|
|
- meta: { title: '用户分布', icon: 'area', noCache: true },
|
|
|
+ meta: { title: i18n.t('tab.CustomerDistribution'), icon: 'area', noCache: true },
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
@@ -252,11 +258,12 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //便签
|
|
|
+ // 便签
|
|
|
{
|
|
|
path: '/remark',
|
|
|
component: Layout,
|
|
|
- name: 'remark-list',
|
|
|
+ name: 'remark',
|
|
|
+ redirect: '/remark/list',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'list',
|
|
@@ -266,11 +273,12 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //任务
|
|
|
+ // 任务
|
|
|
{
|
|
|
path: '/task',
|
|
|
component: Layout,
|
|
|
- name: 'task-list',
|
|
|
+ name: 'task',
|
|
|
+ redirect: '/task/list',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'list',
|
|
@@ -280,7 +288,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //交互信息
|
|
|
+ // 交互信息
|
|
|
{
|
|
|
path: '/interaction',
|
|
|
component: Layout,
|
|
@@ -293,7 +301,7 @@ export const partRoutes = [
|
|
|
component: () => import('@/views/ncs-interaction/index'),
|
|
|
name: 'interaction-history',
|
|
|
meta: { title: i18n.t('tab.interactionHistory'), icon: 'list', noCache: true }
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: 'chars',
|
|
|
component: () => import('@/views/ncs-chars/index'),
|
|
|
name: 'interaction-chars',
|
|
@@ -301,17 +309,18 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //广播
|
|
|
+ // 广播
|
|
|
{
|
|
|
path: '/broadcast',
|
|
|
component: Layout,
|
|
|
name: 'broadcast',
|
|
|
+ redirect: '/broadcast/index',
|
|
|
hidden: !enableBroadcast || uiVersion !== 1,
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
|
component: () => import('@/views/ncs-broadcast/index'),
|
|
|
- name: 'broadcast',
|
|
|
+ name: 'broadcast-list',
|
|
|
meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }, // 广播设置
|
|
|
hidden: !enableBroadcast || uiVersion !== 1
|
|
|
},
|
|
@@ -323,24 +332,26 @@ export const partRoutes = [
|
|
|
hidden: true
|
|
|
}
|
|
|
]
|
|
|
- },{
|
|
|
- path: '/infoboard_designer',
|
|
|
- component: Layout,
|
|
|
- name: 'infoboard-designer',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index/:id?',
|
|
|
- component: () => import('@/views/custom-infoboard/infoboard-designer'), // 自定义看板 component: () => import('@/views/custom-infoboard/infoboard-designer'),资阳 component: () => import('@/views/custom-infoboard/screen-designer')
|
|
|
- name: 'infoboard-designer',
|
|
|
- meta: { title: i18n.t('tab.customBoardDesigner'), icon: 'el-icon-data-board', noCache: true }
|
|
|
- }
|
|
|
- ],
|
|
|
- hidden: true
|
|
|
- },{
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // path: '/infoboard_designer',
|
|
|
+ // component: Layout,
|
|
|
+ // name: 'infoboard-designer',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index/:id?',
|
|
|
+ // component: () => import('@/views/custom-infoboard/infoboard-designer'), // 自定义看板 component: () => import('@/views/custom-infoboard/infoboard-designer'),资阳 component: () => import('@/views/custom-infoboard/screen-designer')
|
|
|
+ // name: 'infoboard-designer-manager',
|
|
|
+ // meta: { title: i18n.t('tab.customBoardDesigner'), icon: 'el-icon-data-board', noCache: true }
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // hidden: true
|
|
|
+ // },
|
|
|
+ {
|
|
|
path: '/settings',
|
|
|
component: Layout,
|
|
|
redirect: '/settings/index',
|
|
|
- name: 'part-settings',
|
|
|
+ name: 'settings',
|
|
|
meta: {
|
|
|
title: i18n.t('tab.settings'),
|
|
|
icon: 'el-icon-s-tools'
|
|
@@ -351,18 +362,27 @@ export const partRoutes = [
|
|
|
component: () => import('@/views/calling-setting/index'),
|
|
|
name: 'part-settings',
|
|
|
meta: { title: i18n.t('tab.partSettings'), icon: 'el-icon-s-tools', noCache: true } // 机构设置
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: 'nurse_config',
|
|
|
component: () => import('@/views/ncs-nurse-config/index'),
|
|
|
name: 'nurse-config',
|
|
|
meta: { title: i18n.t('tab.nurseConfig'), icon: 'care1', noCache: true }, // 护理参数
|
|
|
hidden: uiVersion !== 1
|
|
|
- },{
|
|
|
+ },
|
|
|
+ {
|
|
|
path: 'channel',
|
|
|
- component: () => import('@/views/ncs-channel/index'),
|
|
|
+ component: () => import('@/views/hospitalFrame/index'),
|
|
|
name: 'channel',
|
|
|
+ redirect: '/settings/channel/index',
|
|
|
meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
|
|
|
- children: [{
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'index',
|
|
|
+ component: () => import('@/views/ncs-channel/index'),
|
|
|
+ name: 'channel-im',
|
|
|
+ meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true }
|
|
|
+ },
|
|
|
+ {
|
|
|
path: 'history/:id?',
|
|
|
component: () => import('@/views/ncs-channel/channelImHistory'),
|
|
|
name: 'channel-im-history',
|
|
@@ -370,18 +390,18 @@ export const partRoutes = [
|
|
|
hidden: true
|
|
|
}
|
|
|
]
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: 'event_list',
|
|
|
component: () => import('@/views/ncs-event/index'),
|
|
|
name: 'event-list',
|
|
|
meta: { title: i18n.t('tab.eventManage'), icon: 'el-icon-notebook-2', noCache: true }
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: 'components',
|
|
|
component: () => import('@/views/hospitalFrame/index'),
|
|
|
redirect: '/settings/components/function_mapping',
|
|
|
name: 'beds-side',
|
|
|
meta: {
|
|
|
- title: i18n.t('tab.bedsideInteration'),
|
|
|
+ title: i18n.t('tab.bedsideInteraction'),
|
|
|
icon: 'component'
|
|
|
},
|
|
|
children: [
|
|
@@ -410,10 +430,11 @@ export const partRoutes = [
|
|
|
meta: { title: i18n.t('tab.screentip'), icon: 'screen_tip', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: '/frame_group',
|
|
|
component: () => import('@/views/hospitalFrame/index'),
|
|
|
- name: 'frame-group',
|
|
|
+ name: 'frame-group-manager',
|
|
|
+ redirect: '/frame_group/index',
|
|
|
children: [
|
|
|
{
|
|
|
path: 'index',
|
|
@@ -443,70 +464,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 = [
|
|
@@ -657,7 +689,7 @@ export const adminRoutes = [
|
|
|
meta: { title: i18n.t('tab.systemConfig'), icon: 'nested', noCache: true }
|
|
|
}
|
|
|
]
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: '/menu',
|
|
|
component: Layout,
|
|
|
redirect: '/menu/index',
|
|
@@ -680,7 +712,7 @@ export const adminRoutes = [
|
|
|
component: () => import('@/views/ncs-orginazition/index'),
|
|
|
name: 'admin-organization',
|
|
|
meta: { title: i18n.t('tab.organization'), icon: 'tree', noCache: true }
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: 'index/:id?',
|
|
|
component: () => import('@/views/ncs-orginazition/partInfoSetting'),
|
|
|
name: 'admin-part-settings',
|