|
@@ -93,95 +93,100 @@ export const partRoutes = [
|
|
component: () => import('@/views/ncs-clerk-frame-manage/index'),
|
|
component: () => import('@/views/ncs-clerk-frame-manage/index'),
|
|
name: 'clerk-frame-manage',
|
|
name: 'clerk-frame-manage',
|
|
meta: { title: i18n.t('tab.staffManageFrames'), icon: 'frame_manage', noCache: true }
|
|
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: '/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',
|
|
path: '/clerk',
|
|
@@ -327,20 +332,22 @@ export const partRoutes = [
|
|
hidden: 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: '/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',
|
|
path: '/settings',
|
|
component: Layout,
|
|
component: Layout,
|
|
redirect: '/settings/index',
|
|
redirect: '/settings/index',
|
|
@@ -361,18 +368,27 @@ export const partRoutes = [
|
|
name: 'nurse-config',
|
|
name: 'nurse-config',
|
|
meta: { title: i18n.t('tab.nurseConfig'), icon: 'care1', noCache: true }, // 护理参数
|
|
meta: { title: i18n.t('tab.nurseConfig'), icon: 'care1', noCache: true }, // 护理参数
|
|
hidden: uiVersion !== 1
|
|
hidden: uiVersion !== 1
|
|
- }, {
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
path: 'channel',
|
|
path: 'channel',
|
|
- component: () => import('@/views/ncs-channel/index'),
|
|
|
|
|
|
+ component: () => import('@/views/hospitalFrame/index'),
|
|
name: 'channel',
|
|
name: 'channel',
|
|
|
|
+ redirect: '/settings/channel/index',
|
|
meta: { title: i18n.t('tab.channelManage'), icon: 'el-icon-mobile-phone', noCache: true },
|
|
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
|
|
|
|
- }
|
|
|
|
|
|
+ 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',
|
|
path: 'event_list',
|
|
@@ -673,7 +689,7 @@ export const adminRoutes = [
|
|
meta: { title: i18n.t('tab.systemConfig'), icon: 'nested', noCache: true }
|
|
meta: { title: i18n.t('tab.systemConfig'), icon: 'nested', noCache: true }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- },{
|
|
|
|
|
|
+ }, {
|
|
path: '/menu',
|
|
path: '/menu',
|
|
component: Layout,
|
|
component: Layout,
|
|
redirect: '/menu/index',
|
|
redirect: '/menu/index',
|
|
@@ -696,7 +712,7 @@ export const adminRoutes = [
|
|
component: () => import('@/views/ncs-orginazition/index'),
|
|
component: () => import('@/views/ncs-orginazition/index'),
|
|
name: 'admin-organization',
|
|
name: 'admin-organization',
|
|
meta: { title: i18n.t('tab.organization'), icon: 'tree', noCache: true }
|
|
meta: { title: i18n.t('tab.organization'), icon: 'tree', noCache: true }
|
|
- },{
|
|
|
|
|
|
+ }, {
|
|
path: 'index/:id?',
|
|
path: 'index/:id?',
|
|
component: () => import('@/views/ncs-orginazition/partInfoSetting'),
|
|
component: () => import('@/views/ncs-orginazition/partInfoSetting'),
|
|
name: 'admin-part-settings',
|
|
name: 'admin-part-settings',
|