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: 'FB7FCEEC-E119-40CA-9289-8F3DB7A8EAB6',
	name: 'menuitem3',
	text: '模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '74a33204e965b655cae5e019a39cee5f',
	name: 'menuitem2',
	text: '数据源',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '数据源',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc2',
	resourcetag: '',
},
		{
	id: '36FFC4E0-AE22-4ECE-BA54-279C5AFB3442',
	name: 'menuitem14',
	text: '系统',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '系统',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc12',
	resourcetag: '',
},
		{
	id: 'b9f1d604d37a54d51660aee235359816',
	name: 'menuitem1',
	text: '实体',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '实体',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc',
	resourcetag: '',
},
		{
	id: '79a83249232b5b664331e51872836aae',
	name: 'menuitem9',
	text: '模型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '模型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc9',
	resourcetag: '',
},
	],
},
            {
	id: '0699877D-7768-4E54-B4F3-FFBFE881C61D',
	name: 'menuitem4',
	text: '规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'C3D3BFAC-5B20-4CDE-AE38-4C13CA0E3B4B',
	name: 'menuitem10',
	text: '规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc7',
	resourcetag: '',
},
		{
	id: '2FAAE4AC-E26B-4547-A7B3-85CC7D3B47D6',
	name: 'menuitem11',
	text: '引擎',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '引擎',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc8',
	resourcetag: '',
},
		{
	id: '91318BCC-16F6-4C47-BDB9-D1A8D30D622B',
	name: 'menuitem12',
	text: '结果',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '结果',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc10',
	resourcetag: '',
},
		{
	id: '7D22B9FE-F7A8-4198-ACB0-EFA8EC7CACA5',
	name: 'menuitem13',
	text: '日志',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '日志',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc11',
	resourcetag: '',
},
	],
},
            {
	id: '16E9D2F8-4584-426F-9503-BC35AF45BCE7',
	name: 'menuitem5',
	text: '分析',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '分析',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'CD376B73-4DA5-4328-A0FF-70C619BFBF59',
	name: 'menuitem6',
	text: '构建',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '构建',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc3',
	resourcetag: '',
},
		{
	id: '45319624-52F4-48C9-A543-3760A8F72EDD',
	name: 'menuitem7',
	text: '报表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '报表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc4',
	resourcetag: '',
},
		{
	id: '8C2A60A0-502A-4532-A1C1-9A5A5FFCC83B',
	name: 'menuitem8',
	text: '图表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '图表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc6',
	resourcetag: '',
},
	],
},
        ],
    }];
});

