| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- /**
- * @description 导航常量
- */
- import { RouteRecordString, HOME_PAGE } from '@/router/full-routes';
- import { useGlobSetting } from '@/hooks/setting';
- const { skyeyePlatformHost, tiansuoHost } = useGlobSetting();
- // 首页导航列表 根据后端返回权限控制(首页永远存在)
- export const NAV_LIST: Array<RouteRecordString> = [
- {
- ...HOME_PAGE,
- },
- {
- name: 'InstituteSafety',
- path: '/institute-safety',
- meta: {
- title: '院区安全态势',
- },
- },
- {
- name: 'WorkSafety',
- path: '/work-safety/responsibility-implementation/responsibility-agree-manage-dept',
- meta: {
- title: '生产安全',
- },
- },
- {
- name: 'Traffic',
- path: '/traffic',
- meta: {
- title: '交通安全',
- },
- },
- {
- name: 'SecurityConfidentiality',
- path: '/security-confidentiality',
- meta: {
- title: '保卫保密',
- },
- },
- {
- name: 'DisasterPrevention',
- path: '/disaster-prevention',
- meta: {
- title: '灾害防范',
- },
- },
- {
- name: 'EmergencyManagement',
- path: '/emergency-management',
- meta: {
- title: '应急管理',
- },
- },
- {
- name: 'Platform',
- path: '/platform',
- meta: {
- title: '平台管理',
- },
- },
- {
- name: 'Skyeye',
- path: skyeyePlatformHost || '403',
- meta: {
- isExternalLink: true,
- title: '实时监控',
- },
- },
- {
- name: 'Tiansuo',
- path: tiansuoHost || '403',
- meta: {
- isExternalLink: true,
- title: '物联集成',
- },
- },
- ];
|