|
@@ -74,113 +74,113 @@ 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'
|
|
|
+ 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 } // 所有设备
|
|
|
},
|
|
|
- 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: '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: '/clerk',
|
|
|
component: Layout,
|
|
@@ -202,7 +202,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //门禁
|
|
|
+ // 门禁
|
|
|
{
|
|
|
path: '/entrace_guard',
|
|
|
component: Layout,
|
|
@@ -212,17 +212,17 @@ export const partRoutes = [
|
|
|
{
|
|
|
path: 'users',
|
|
|
component: () => import('@/views/entrace-guard/users'),
|
|
|
- name: 'entrace-guard',
|
|
|
+ name: 'entrace-guard-manage',
|
|
|
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',
|
|
@@ -238,7 +238,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
|
|
|
},
|
|
|
{
|
|
@@ -250,7 +250,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //便签
|
|
|
+ // 便签
|
|
|
{
|
|
|
path: '/remark',
|
|
|
component: Layout,
|
|
@@ -264,7 +264,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //任务
|
|
|
+ // 任务
|
|
|
{
|
|
|
path: '/task',
|
|
|
component: Layout,
|
|
@@ -278,7 +278,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //交互信息
|
|
|
+ // 交互信息
|
|
|
{
|
|
|
path: '/interaction',
|
|
|
component: Layout,
|
|
@@ -291,7 +291,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',
|
|
@@ -299,7 +299,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- //广播
|
|
|
+ // 广播
|
|
|
{
|
|
|
path: '/broadcast',
|
|
|
component: Layout,
|
|
@@ -321,7 +321,7 @@ export const partRoutes = [
|
|
|
hidden: true
|
|
|
}
|
|
|
]
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: '/infoboard_designer',
|
|
|
component: Layout,
|
|
|
name: 'infoboard-designer',
|
|
@@ -334,7 +334,7 @@ export const partRoutes = [
|
|
|
}
|
|
|
],
|
|
|
hidden: true
|
|
|
- },{
|
|
|
+ }, {
|
|
|
path: '/settings',
|
|
|
component: Layout,
|
|
|
redirect: '/settings/index',
|
|
@@ -349,37 +349,37 @@ 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'),
|
|
|
name: 'channel',
|
|
|
meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
|
|
|
children: [{
|
|
|
- path: 'history/:id?',
|
|
|
- component: () => import('@/views/ncs-channel/channelImHistory'),
|
|
|
- name: 'channel-im-history',
|
|
|
- meta: { title: i18n.t('tab.channelImHistory'), icon: 'area', noCache: true },
|
|
|
- hidden: true
|
|
|
- }
|
|
|
+ path: 'history/:id?',
|
|
|
+ component: () => import('@/views/ncs-channel/channelImHistory'),
|
|
|
+ name: 'channel-im-history',
|
|
|
+ meta: { title: i18n.t('tab.channelImHistory'), icon: 'area', noCache: true },
|
|
|
+ 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: [
|
|
@@ -408,7 +408,7 @@ 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',
|