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

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

// 获取应用数据
mock.onGet('v7/centralappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: 'd15157cb8d73af87f553f85887fdcbf8',
	name: 'user_menus',
	text: '用户菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '用户菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '76d07a396b5ff6dfe8156b969ef9fb6a',
	name: 'menuitem3',
	text: '设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-newspaper-o',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: '150d5d0c57788f79b3a22edbea800198',
	name: 'menuitem4',
	text: '注销',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '注销',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-level-down',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
	],
},
            {
	id: 'e5dcbd32f6a4050109f54d97de44b715',
	name: 'top_menus',
	text: '顶部菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '顶部菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '4aea3655e93af303beba942116b04a31',
	name: 'left_exp',
	text: '左侧菜单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '左侧菜单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'bc7e54efebeacbb9d7de317c5b049c33',
	name: 'menuitem17',
	text: '主页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '主页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-home',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: '1a17fc650d716d88e6a694b4ef927d08',
	name: 'menuitem18',
	text: '最近',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '最近',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-clock-o',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: '397f15992c5f2d89eb45c2db2a30b61b',
	name: 'menuitem19',
	text: '固定',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '固定',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-thumb-tack',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
		{
	id: 'b6776d6c3b5b271b7bb8b34238fe989c',
	name: 'menuitem16',
	text: '我的工作',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '我的工作',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-legal',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '1f0a683ed841fe47b32eea5b3f90dab2',
	name: 'menuitem1',
	text: '仪表盘',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '仪表盘',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-line-chart',
	icon: '',
	textcls: '',
	appfunctag: '_3',
	resourcetag: '',
},
		{
	id: '35fdbf18942b76c215e68e7563687801',
	name: 'menuitem2',
	text: '活动',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '活动',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-paper-plane',
	icon: '',
	textcls: '',
	appfunctag: 'Auto9',
	resourcetag: '',
},
	],
},
		{
	id: 'b45e8d47cc61dc640b358b367ae5e0f8',
	name: 'menuitem20',
	text: '客户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '客户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-sitemap',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'b96d9b68c2d32e8433bc1a6544acec35',
	name: 'menuitem5',
	text: '客户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '客户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-users',
	icon: '',
	textcls: '',
	appfunctag: 'Auto4',
	resourcetag: '',
},
		{
	id: '881cab98a5418e8ff6448f06bf437646',
	name: 'menuitem7',
	text: '联系人',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '联系人',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-user',
	icon: '',
	textcls: '',
	appfunctag: 'Auto7',
	resourcetag: '',
},
	],
},
		{
	id: 'b3053fbb709cb27d1f51ce6a905a5c8c',
	name: 'menuitem21',
	text: '销售',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '销售',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-credit-card',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'dc4e1933767eadfd04742c451d0db341',
	name: 'menuitem8',
	text: '潜在客户',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '潜在客户',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-phone',
	icon: '',
	textcls: '',
	appfunctag: 'Auto14',
	resourcetag: '',
},
		{
	id: '5c49ce38bd48f0679e6b8dd88bade670',
	name: 'menuitem9',
	text: '商机',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '商机',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-envelope-o',
	icon: '',
	textcls: '',
	appfunctag: 'Auto10',
	resourcetag: '',
},
		{
	id: '1bdda8185850a0ffa37bec44707b2047',
	name: 'menuitem10',
	text: '竞争对手',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '竞争对手',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-user-secret',
	icon: '',
	textcls: '',
	appfunctag: 'Auto12',
	resourcetag: '',
},
	],
},
		{
	id: '7acd98cbdc56f35c7bbd79c5d35826b2',
	name: 'menuitem22',
	text: '宣传资料',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '宣传资料',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-book',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '3902e57b8693cb2bf8e518bb01984ed6',
	name: 'menuitem11',
	text: '报价单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '报价单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-file-text-o',
	icon: '',
	textcls: '',
	appfunctag: 'Auto5',
	resourcetag: '',
},
		{
	id: '8582688e1e8d8bca7d5bf880366ba945',
	name: 'menuitem12',
	text: '订单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '订单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-file-text-o',
	icon: '',
	textcls: '',
	appfunctag: 'Auto3',
	resourcetag: '',
},
		{
	id: 'c74b2398822a0ebfe19d7df699a40088',
	name: 'menuitem13',
	text: '发票',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '发票',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-newspaper-o',
	icon: '',
	textcls: '',
	appfunctag: 'Auto6',
	resourcetag: '',
},
		{
	id: '3830c93006e965fa62c660c2c7a8f9d6',
	name: 'menuitem6',
	text: '产品',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '产品',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-cube',
	icon: '',
	textcls: '',
	appfunctag: 'Auto11',
	resourcetag: '',
},
		{
	id: '299fff0321c1099c0b3879c034987a38',
	name: 'menuitem14',
	text: '销售宣传资料',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '销售宣传资料',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-book',
	icon: '',
	textcls: '',
	appfunctag: 'Auto2',
	resourcetag: '',
},
	],
},
		{
	id: '91125f38268e87fdf3f2a532d5cab0b3',
	name: 'menuitem23',
	text: '市场营销',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '市场营销',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-shopping-cart',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '05EC84AA-5E79-47BD-B4B3-4DDAC4971BC1',
	name: 'menuitem30',
	text: '市场活动',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '市场活动',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list',
	icon: '',
	textcls: '',
	appfunctag: '_2',
	resourcetag: '',
},
		{
	id: '9d8a95a162adb059740db3cd304dfd3b',
	name: 'menuitem15',
	text: '市场营销列表',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '市场营销列表',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list',
	icon: '',
	textcls: '',
	appfunctag: 'Auto1',
	resourcetag: '',
},
		{
	id: '5bcda52e467d81ca235e117c389c2f1e',
	name: 'menuitem29',
	text: '快速市场活动',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '快速市场活动',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
	],
},
		{
	id: 'd122b1507a020737aad8946695937ce8',
	name: 'menuitem24',
	text: '绩效',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '绩效',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-slack',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '7865cc7821cd0417f5260b765479666c',
	name: 'menuitem25',
	text: '目标',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '目标',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-flag-checkered',
	icon: '',
	textcls: '',
	appfunctag: 'Auto13',
	resourcetag: '',
},
		{
	id: '9014c07bd1da4beac8c7fc4f34c54eec',
	name: 'menuitem26',
	text: '预测',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '预测',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-dot-circle-o',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
	],
},
		{
	id: '359e8fadad16fed7538b6017cfe73c38',
	name: 'menuitem27',
	text: '服务',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '服务',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-skyatlas',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '528dbb5c73152a802042ab2376a6fb31',
	name: 'menuitem28',
	text: '服务案例',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '服务案例',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: 'fa fa-list',
	icon: '',
	textcls: '',
	appfunctag: 'Auto8',
	resourcetag: '',
},
	],
},
	],
},
            {
	id: 'a204fcf70ab1a00c493e7128f2cfcd81',
	name: 'bottom_exp',
	text: '底部内容',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部内容',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '1c23002189e603110b9858de93d5a01d',
	name: 'footer_left',
	text: '底部左侧',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部左侧',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '28eaf24dc5f9fec02d69fc36e74b1713',
	name: 'footer_center',
	text: '底部中间',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部中间',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
            {
	id: '908c555e923dbc2137a9998e1065a700',
	name: 'footer_right',
	text: '底部右侧',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '底部右侧',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
        ],
    }];
});

