| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- import { resultSuccess } from '../_util';
- const list = [
- {
- children: [
- {
- component: '/disaster/overview/PageOverview',
- id: 1025,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: true,
- icon: 'OverviewIcon',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '总览',
- },
- name: '/disaster-prevention/overview',
- parentId: 1022,
- path: 'overview',
- redirect: '',
- },
- {
- component: '/disaster/monitor/PageMonitor',
- id: 1026,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'RiskPointMonitoringIcon',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '重点区域监测',
- },
- name: '/disaster-prevention/risk-point-monitoring',
- parentId: 1022,
- path: 'risk-point-monitoring',
- redirect: '',
- },
- {
- children: [
- {
- component: '/disaster/disaster-warning/PageWarningInfo',
- id: 1035,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '预警信息',
- },
- name: '/disaster-prevention/disaster-warning/warning-info',
- parentId: 1027,
- path: 'warning-info',
- redirect: '',
- },
- {
- component: '/disaster/disaster-warning/PageDefenseNotice',
- id: 1037,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '防御通知',
- },
- name: '/disaster-prevention/disaster-warning/defense-notice',
- parentId: 1027,
- path: 'defense-notice',
- redirect: '',
- },
- ],
- component: '',
- id: 1027,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'DisasterWarningIcon',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '灾害预警',
- },
- name: '/disaster-prevention/disaster-warning',
- parentId: 1022,
- path: 'disaster-warning',
- redirect: '',
- },
- {
- children: [
- {
- component: '/disaster/disaster-precaution/PageTaskManagement',
- id: 1029,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '任务管理',
- },
- name: '/disaster-prevention/disaster-precaution/task-management',
- parentId: 1028,
- path: 'task-management',
- redirect: '',
- },
- {
- component: '/disaster/disaster-precaution/PageTaskItem',
- id: 1033,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: true,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '任务列表详情',
- },
- name: '/disaster-prevention/disaster-precaution/task-item',
- parentId: 1028,
- path: 'task-item',
- redirect: '',
- },
- {
- component: '/disaster/disaster-precaution/PageTaskExecution',
- id: 1030,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '任务执行',
- },
- name: '/disaster-prevention/disaster-precaution/task-execution',
- parentId: 1028,
- path: 'task-execution',
- redirect: '',
- },
- {
- component: '/disaster/disaster-precaution/PageTaskTemplate',
- id: 1031,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '任务模板',
- },
- name: '/disaster-prevention/disaster-precaution/task-template',
- parentId: 1028,
- path: 'task-template',
- redirect: '',
- },
- {
- component: '/disaster/disaster-precaution/PageTaskTemplateDetail',
- id: 1032,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: true,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '任务模板详情',
- },
- name: '/disaster-prevention/disaster-precaution/template-detail',
- parentId: 1028,
- path: 'template-detail/:id',
- redirect: '',
- },
- ],
- component: '',
- id: 1028,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'DisasterPrecaution',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '预防检查',
- // OverviewIcon: renderSvg('overview'),
- // DisasterWarningIcon: renderSvg('disaster-warning'),
- // DisasterControlIcon: renderSvg('disaster-control'),
- },
- name: '/disaster-prevention/disaster-precaution',
- parentId: 1022,
- path: 'disaster-precaution',
- redirect: '',
- },
- {
- component: '/disaster/disaster-control/PageDisasterControl',
- id: 1032,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'DisasterControlIcon',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '灾害处置',
- },
- name: '/disaster-prevention/disaster-control',
- parentId: 1022,
- path: 'disaster-control',
- redirect: '',
- },
- ],
- component: 'MENU_LAYOUT',
- id: 1022,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'CameraOutlined',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '灾害防范',
- },
- name: 'DisasterPrevention',
- parentId: -1,
- path: '/disaster-prevention',
- redirect: '',
- },
- ];
- export default [
- {
- url: '/eye_api_bak/api/admin/menu/getRouters',
- timeout: 1000,
- method: 'get',
- response: () => {
- return resultSuccess(list);
- },
- },
- ];
|