|
@@ -88,12 +88,13 @@ export const partRoutes = [
|
|
|
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: '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 }
|
|
|
+ // }
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -109,41 +110,41 @@ export const partRoutes = [
|
|
|
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: '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'),
|
|
@@ -165,73 +166,73 @@ export const partRoutes = [
|
|
|
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: 'device_menu_detail/:id',
|
|
|
- component: () => import('@/views/ncs-device-menu-detail/index'),
|
|
|
- name: 'device-menu-detail',
|
|
|
- meta: { title: i18n.t('tab.deviceMenuDetail'), icon: 'el-icon-tickets', noCache: true },
|
|
|
- hidden: 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: '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-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,
|
|
|
- redirect: '/clerk/list',
|
|
|
- name: 'part-clerk',
|
|
|
- meta: { title: i18n.t('tab.clerkManage'), icon: 'peoples', noCache: true },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'list',
|
|
|
- component: () => import('@/views/ncs-clerk/clerkManagement'),
|
|
|
- name: 'clerk-list',
|
|
|
- meta: { title: i18n.t('tab.clerkManage'), icon: 'el-icon-user-solid', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'nfc_interaction_list',
|
|
|
- component: () => import('@/views/nfc-interaction/index'),
|
|
|
- name: 'nfc-interaction-list',
|
|
|
- meta: { title: i18n.t('tab.clerkCalendar'), icon: 'el-icon-date', noCache: true }
|
|
|
- }
|
|
|
+ // {
|
|
|
+ // path: 'device_menu_detail/:id',
|
|
|
+ // component: () => import('@/views/ncs-device-menu-detail/index'),
|
|
|
+ // name: 'device-menu-detail',
|
|
|
+ // meta: { title: i18n.t('tab.deviceMenuDetail'), icon: 'el-icon-tickets', noCache: true },
|
|
|
+ // hidden: 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: '/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-list',
|
|
|
- meta: { title: i18n.t('tab.entraceguardUser'), icon: 'pass_through', noCache: true },
|
|
|
- hidden: !enableEntraceguard
|
|
|
- }]
|
|
|
- },
|
|
|
+ // // 职员相关
|
|
|
+ // {
|
|
|
+ // path: '/clerk',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/clerk/list',
|
|
|
+ // name: 'part-clerk',
|
|
|
+ // meta: { title: i18n.t('tab.clerkManage'), icon: 'peoples', noCache: true },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'list',
|
|
|
+ // component: () => import('@/views/ncs-clerk/clerkManagement'),
|
|
|
+ // name: 'clerk-list',
|
|
|
+ // meta: { title: i18n.t('tab.clerkManage'), icon: 'el-icon-user-solid', noCache: true }
|
|
|
+ // }
|
|
|
+ // {
|
|
|
+ // path: 'nfc_interaction_list',
|
|
|
+ // component: () => import('@/views/nfc-interaction/index'),
|
|
|
+ // name: 'nfc-interaction-list',
|
|
|
+ // meta: { title: i18n.t('tab.clerkCalendar'), icon: 'el-icon-date', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // // 门禁
|
|
|
+ // {
|
|
|
+ // 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-list',
|
|
|
+ // meta: { title: i18n.t('tab.entraceguardUser'), icon: 'pass_through', noCache: true },
|
|
|
+ // hidden: !enableEntraceguard
|
|
|
+ // }]
|
|
|
+ // },
|
|
|
// 客户信息
|
|
|
{
|
|
|
path: '/customer',
|
|
@@ -267,13 +268,13 @@ export const partRoutes = [
|
|
|
name: 'advice',
|
|
|
meta: { title: i18n.t('tab.customerAdvice'), icon: 'area', noCache: true },
|
|
|
hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/customer_affair',
|
|
|
- component: () => import('@/views/ncs-customer-affair/index'),
|
|
|
- name: 'customer-affair',
|
|
|
- meta: { title: i18n.t('zy20240530.customerAffair'), icon: 'el-icon-notebook-2', noCache: true }
|
|
|
}
|
|
|
+ // {
|
|
|
+ // path: '/customer_affair',
|
|
|
+ // component: () => import('@/views/ncs-customer-affair/index'),
|
|
|
+ // name: 'customer-affair',
|
|
|
+ // meta: { title: i18n.t('zy20240530.customerAffair'), icon: 'el-icon-notebook-2', noCache: true }
|
|
|
+ // }
|
|
|
]
|
|
|
},
|
|
|
// 便签
|
|
@@ -292,20 +293,20 @@ export const partRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- // 文档管理
|
|
|
- {
|
|
|
- path: '/file-manager',
|
|
|
- component: Layout,
|
|
|
- redirect: '/file-manager/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/ncs-file-manager/index'),
|
|
|
- name: 'file-manager',
|
|
|
- meta: { title: i18n.t('wu20240322.fileManager'), icon: 'el-icon-folder-opened', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // // 文档管理
|
|
|
+ // {
|
|
|
+ // path: '/file-manager',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/file-manager/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/ncs-file-manager/index'),
|
|
|
+ // name: 'file-manager',
|
|
|
+ // meta: { title: i18n.t('wu20240322.fileManager'), icon: 'el-icon-folder-opened', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
// 任务
|
|
|
{
|
|
|
path: '/task',
|
|
@@ -323,92 +324,93 @@ export const partRoutes = [
|
|
|
]
|
|
|
},
|
|
|
// 交互信息
|
|
|
- {
|
|
|
- path: '/interaction',
|
|
|
- component: Layout,
|
|
|
- redirect: '/interaction/history',
|
|
|
- name: 'interaction',
|
|
|
- meta: { title: i18n.t('tab.interaction'), icon: 'list', noCache: true },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'history',
|
|
|
- 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',
|
|
|
- meta: { title: i18n.t('tab.interactionChars'), icon: 'el-icon-pie-chart', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- // 消息中心
|
|
|
- {
|
|
|
- path: '/message-center',
|
|
|
- component: Layout,
|
|
|
- // redirect: '/interaction/history',
|
|
|
- name: 'message-center',
|
|
|
- meta: { title: i18n.t('mc.messageCenter'), icon: 'el-icon-message', noCache: true },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'message-type',
|
|
|
- component: () => import('@/views/message-center/message-type/index'),
|
|
|
- name: 'message-type',
|
|
|
- meta: { title: i18n.t('mc.messageType'), icon: 'messageType', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'messages',
|
|
|
- component: () => import('@/views/message-center/messages/index'),
|
|
|
- name: 'messages',
|
|
|
- meta: { title: i18n.t('mc.messages'), icon: 'messageList', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'messages-edit/:id?',
|
|
|
- component: () => import('@/views/message-center/messages/message-edit'),
|
|
|
- name: 'message-edit',
|
|
|
- meta: { title: i18n.t('mc.messagesModule.addMessage'), icon: 'messageList', noCache: true },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'template-param',
|
|
|
- component: () => import('@/views/message-center/template-paramer/index'),
|
|
|
- name: 'template-param',
|
|
|
- meta: { title: i18n.t('mc.templateParamer'), icon: 'templateParamer', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'message-template',
|
|
|
- component: () => import('@/views/message-center/message-template/index'),
|
|
|
- name: 'message-template',
|
|
|
- meta: { title: i18n.t('mc.messageTemplate'), icon: 'messageTemplate', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
-
|
|
|
- // 广播
|
|
|
- {
|
|
|
- path: '/broadcast',
|
|
|
- component: Layout,
|
|
|
- name: 'broadcast',
|
|
|
- redirect: '/broadcast/index',
|
|
|
- hidden: !enableBroadcast || uiVersion !== 1,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/ncs-broadcast/index'),
|
|
|
- name: 'broadcast-list',
|
|
|
- meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }, // 广播设置
|
|
|
- hidden: !enableBroadcast || uiVersion !== 1
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'edit/:id?',
|
|
|
- component: () => import('@/views/ncs-broadcast/broadcastEdit'),
|
|
|
- name: 'broadcast-edit',
|
|
|
- meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
|
|
|
- hidden: true
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/interaction',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/interaction/history',
|
|
|
+ // name: 'interaction',
|
|
|
+ // meta: { title: i18n.t('tab.interaction'), icon: 'list', noCache: true },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'history',
|
|
|
+ // 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',
|
|
|
+ // meta: { title: i18n.t('tab.interactionChars'), icon: 'el-icon-pie-chart', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // // 消息中心
|
|
|
+ // {
|
|
|
+ // path: '/message-center',
|
|
|
+ // component: Layout,
|
|
|
+ // // redirect: '/interaction/history',
|
|
|
+ // name: 'message-center',
|
|
|
+ // meta: { title: i18n.t('mc.messageCenter'), icon: 'el-icon-message', noCache: true },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'message-type',
|
|
|
+ // component: () => import('@/views/message-center/message-type/index'),
|
|
|
+ // name: 'message-type',
|
|
|
+ // meta: { title: i18n.t('mc.messageType'), icon: 'messageType', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'messages',
|
|
|
+ // component: () => import('@/views/message-center/messages/index'),
|
|
|
+ // name: 'messages',
|
|
|
+ // meta: { title: i18n.t('mc.messages'), icon: 'messageList', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'messages-edit/:id?',
|
|
|
+ // component: () => import('@/views/message-center/messages/message-edit'),
|
|
|
+ // name: 'message-edit',
|
|
|
+ // meta: { title: i18n.t('mc.messagesModule.addMessage'), icon: 'messageList', noCache: true },
|
|
|
+ // hidden: true
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'template-param',
|
|
|
+ // component: () => import('@/views/message-center/template-paramer/index'),
|
|
|
+ // name: 'template-param',
|
|
|
+ // meta: { title: i18n.t('mc.templateParamer'), icon: 'templateParamer', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'message-template',
|
|
|
+ // component: () => import('@/views/message-center/message-template/index'),
|
|
|
+ // name: 'message-template',
|
|
|
+ // meta: { title: i18n.t('mc.messageTemplate'), icon: 'messageTemplate', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ //
|
|
|
+ // // 广播
|
|
|
+ // {
|
|
|
+ // path: '/broadcast',
|
|
|
+ // component: Layout,
|
|
|
+ // name: 'broadcast',
|
|
|
+ // redirect: '/broadcast/index',
|
|
|
+ // hidden: !enableBroadcast || uiVersion !== 1,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/ncs-broadcast/index'),
|
|
|
+ // name: 'broadcast-list',
|
|
|
+ // meta: { title: i18n.t('tab.broadcastManage'), icon: 'el-icon-headset', noCache: true }, // 广播设置
|
|
|
+ // hidden: !enableBroadcast || uiVersion !== 1
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'edit/:id?',
|
|
|
+ // component: () => import('@/views/ncs-broadcast/broadcastEdit'),
|
|
|
+ // name: 'broadcast-edit',
|
|
|
+ // meta: { title: i18n.t('tab.broadcastEdit'), icon: 'area', noCache: true },
|
|
|
+ // hidden: true
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
// {
|
|
|
// path: '/infoboard_designer',
|
|
|
// component: Layout,
|
|
@@ -423,119 +425,119 @@ export const partRoutes = [
|
|
|
// ],
|
|
|
// hidden: true
|
|
|
// },
|
|
|
- {
|
|
|
- path: '/settings',
|
|
|
- component: Layout,
|
|
|
- redirect: '/settings/index',
|
|
|
- name: 'settings',
|
|
|
- meta: {
|
|
|
- title: i18n.t('tab.settings'),
|
|
|
- icon: 'el-icon-s-tools'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- 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/hospitalFrame/index'),
|
|
|
- name: 'channel',
|
|
|
- redirect: '/settings/channel/index',
|
|
|
- meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
|
|
|
- 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',
|
|
|
- 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.bedsideInteraction'),
|
|
|
- icon: 'component'
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'function_mapping',
|
|
|
- component: () => import('@/views/function-mapping/index'),
|
|
|
- name: 'function-mapping',
|
|
|
- meta: { title: i18n.t('tab.functionRoleMapping'), icon: 'function', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'interaction_chain',
|
|
|
- component: () => import('@/views/interaction-chain/index'),
|
|
|
- name: 'interaction-chain',
|
|
|
- meta: { title: i18n.t('tab.interactionChain'), icon: 'squence', noCache: true } // 交互接收顺序
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'countdonw',
|
|
|
- component: () => import('@/views/ncs-countdown-config/index'),
|
|
|
- name: 'countdown-config',
|
|
|
- meta: { title: i18n.t('tab.countdownConfig'), icon: 'countdown', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'screentip',
|
|
|
- component: () => import('@/views/ncs-screentip/index'),
|
|
|
- name: 'screen-tip',
|
|
|
- meta: { title: i18n.t('tab.screentip'), icon: 'screen_tip', noCache: true }
|
|
|
- }
|
|
|
- ]
|
|
|
- }, {
|
|
|
- path: '/frame_group',
|
|
|
- component: () => import('@/views/hospitalFrame/index'),
|
|
|
- name: 'frame-group-manager',
|
|
|
- redirect: '/frame_group/index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: () => import('@/views/hospitalFrame/frameGroup'),
|
|
|
- name: 'frame-group',
|
|
|
- meta: { title: i18n.t('tab.frameGroupManage'), icon: 'area', noCache: true }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'edit/:id?',
|
|
|
- component: () => import('@/views/hospitalFrame/frameGroupEdit'),
|
|
|
- name: 'frame-group-edit',
|
|
|
- meta: { title: i18n.t('tab.frameGroupEdit'), icon: 'area', noCache: true },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'watch_frame/:id?',
|
|
|
- component: () => import('@/views/hospitalFrame/nurse_watch_frame'),
|
|
|
- name: 'nurse-watch-frame',
|
|
|
- meta: { title: i18n.t('tab.watchFrameManage'), icon: 'area', noCache: true },
|
|
|
- hidden: true
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: '/settings',
|
|
|
+ // component: Layout,
|
|
|
+ // redirect: '/settings/index',
|
|
|
+ // name: 'settings',
|
|
|
+ // meta: {
|
|
|
+ // title: i18n.t('tab.settings'),
|
|
|
+ // icon: 'el-icon-s-tools'
|
|
|
+ // },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // 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/hospitalFrame/index'),
|
|
|
+ // name: 'channel',
|
|
|
+ // redirect: '/settings/channel/index',
|
|
|
+ // meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
|
|
|
+ // 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',
|
|
|
+ // 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.bedsideInteraction'),
|
|
|
+ // icon: 'component'
|
|
|
+ // },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'function_mapping',
|
|
|
+ // component: () => import('@/views/function-mapping/index'),
|
|
|
+ // name: 'function-mapping',
|
|
|
+ // meta: { title: i18n.t('tab.functionRoleMapping'), icon: 'function', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'interaction_chain',
|
|
|
+ // component: () => import('@/views/interaction-chain/index'),
|
|
|
+ // name: 'interaction-chain',
|
|
|
+ // meta: { title: i18n.t('tab.interactionChain'), icon: 'squence', noCache: true } // 交互接收顺序
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'countdonw',
|
|
|
+ // component: () => import('@/views/ncs-countdown-config/index'),
|
|
|
+ // name: 'countdown-config',
|
|
|
+ // meta: { title: i18n.t('tab.countdownConfig'), icon: 'countdown', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'screentip',
|
|
|
+ // component: () => import('@/views/ncs-screentip/index'),
|
|
|
+ // name: 'screen-tip',
|
|
|
+ // meta: { title: i18n.t('tab.screentip'), icon: 'screen_tip', noCache: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }, {
|
|
|
+ // path: '/frame_group',
|
|
|
+ // component: () => import('@/views/hospitalFrame/index'),
|
|
|
+ // name: 'frame-group-manager',
|
|
|
+ // redirect: '/frame_group/index',
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: () => import('@/views/hospitalFrame/frameGroup'),
|
|
|
+ // name: 'frame-group',
|
|
|
+ // meta: { title: i18n.t('tab.frameGroupManage'), icon: 'area', noCache: true }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'edit/:id?',
|
|
|
+ // component: () => import('@/views/hospitalFrame/frameGroupEdit'),
|
|
|
+ // name: 'frame-group-edit',
|
|
|
+ // meta: { title: i18n.t('tab.frameGroupEdit'), icon: 'area', noCache: true },
|
|
|
+ // hidden: true
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'watch_frame/:id?',
|
|
|
+ // component: () => import('@/views/hospitalFrame/nurse_watch_frame'),
|
|
|
+ // name: 'nurse-watch-frame',
|
|
|
+ // meta: { title: i18n.t('tab.watchFrameManage'), icon: 'area', noCache: true },
|
|
|
+ // hidden: true
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{ path: '*', redirect: '/404', hidden: true }
|
|
|
]
|
|
|
export const hospitalRoutes = [
|