import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/dst-indexappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: 'ea02fe6a8591138f0393bf1defd90aa0',
	name: 'menuitem3',
	text: '模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '765f22c56a7f34e69232e3a9ebafa6ed',
	name: 'menuitem2',
	text: '数据源',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '数据源',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc2',
	resourcetag: '',
},
		{
	id: '093e1120800258595fd0e79f313d98c6',
	name: 'menuitem14',
	text: '系统',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc12',
	resourcetag: '',
},
		{
	id: '8440526e47edfe59a78318369faa7cb6',
	name: 'menuitem1',
	text: '实体',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '实体',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc',
	resourcetag: '',
},
		{
	id: 'cec0e6983bf01188e9f57b50930d6758',
	name: 'menuitem9',
	text: '模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc9',
	resourcetag: '',
},
		{
	id: '8D525541-4B33-4CAF-8C03-CF02655CCE3D',
	name: 'menuitem15',
	text: '同步',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '同步',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc13',
	resourcetag: '',
},
		{
	id: '5D7C29BF-5EDC-43E6-8D7D-75FBAE31ACE9',
	name: 'menuitem16',
	text: '字典',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '字典',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc14',
	resourcetag: '',
},
	],
},
            {
	id: '2487b51e48ec6f08939715c67395c61f',
	name: 'menuitem4',
	text: '规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '94de025e0619949ae819e5bfa55ff693',
	name: 'menuitem10',
	text: '规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc7',
	resourcetag: '',
},
		{
	id: '72d3bb2c87f098f61bd94d4f5b493f90',
	name: 'menuitem11',
	text: '引擎',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '引擎',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc8',
	resourcetag: '',
},
		{
	id: 'e311a6c443c63696d7e917523da1af76',
	name: 'menuitem12',
	text: '结果',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '结果',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc10',
	resourcetag: '',
},
		{
	id: '93f960468eaa7b76c603e7782da6e0db',
	name: 'menuitem13',
	text: '日志',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '日志',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc11',
	resourcetag: '',
},
	],
},
            {
	id: '0dfa4d13fb6096447791f1672c4d2959',
	name: 'menuitem5',
	text: '分析',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '分析',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '654f43aaf2869dbb0d687d9f3c995322',
	name: 'menuitem6',
	text: '构建',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '构建',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc3',
	resourcetag: '',
},
		{
	id: 'c5695c96dbede4175152dd4b96b8274a',
	name: 'menuitem7',
	text: '报表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '报表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc4',
	resourcetag: '',
},
		{
	id: 'f6f6ee07056eb4673f5ff7454ee4c36c',
	name: 'menuitem8',
	text: '图表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '图表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc6',
	resourcetag: '',
},
	],
},
        ],
    }];
});

