| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- import { resultSuccess } from '../_util';
- const list = [
- {
- children: [
- {
- children: [],
- component: '/todo/todo',
- id: 1019,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '菜单1',
- },
- name: ' ',
- parentId: 1018,
- path: 'menu1',
- redirect: '',
- },
- ],
- component: 'MENU_LAYOUT',
- id: 1018,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: 'ApartmentOutlined',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '院内安全态势',
- },
- name: 'Scene',
- parentId: -1,
- path: '/institute-safety',
- redirect: '',
- },
- {
- children: [
- {
- children: [],
- component: '/todo/todo',
- id: 1023,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '生产安全菜单1',
- },
- name: 'DeviceCamera',
- parentId: 1022,
- path: 'camera',
- redirect: '',
- },
- {
- children: [],
- component: '/todo/todo',
- id: 1024,
- meta: {
- activeMenu: null,
- alwaysShow: false,
- frameSrc: '',
- hidden: false,
- icon: '',
- isFrame: 0,
- isRoot: false,
- noCache: false,
- query: '',
- title: '生产安全菜单2',
- },
- name: 'DeviceNVR',
- parentId: 1022,
- path: 'nvr',
- 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: 'Device',
- parentId: -1,
- path: '/safety',
- redirect: '',
- },
- ];
- export default [
- {
- url: '/eye_api_bak/api/admin/menu/getRouters',
- timeout: 1000,
- method: 'get',
- response: () => {
- return resultSuccess(list);
- },
- },
- ];
|