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

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

// 获取应用数据
mock.onGet('v7/indexappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'appmenu',
        items:  [
            {
	id: '496ae88f464f3b5b92ad0c56837ab365',
	name: 'menuitem1',
	text: '考勤管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤管理',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinshezhi.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '5df0e4c112e8ed6209cc09a3bbefa9cf',
	name: 'menuitem2',
	text: '考勤规则',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤规则',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/jiejiariguanli.png',
	textcls: '',
	appfunctag: 'Auto40',
	resourcetag: '',
},
		{
	id: '3ba41207470dd547f5c6d88f76773637',
	name: 'menuitem3',
	text: '考勤设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinshezhi.png',
	textcls: '',
	appfunctag: 'Auto45',
	resourcetag: '',
},
		{
	id: 'c64b8c77577482ee1ffbe9e84b3af923',
	name: 'menuitem4',
	text: '考勤记录',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤记录',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinjilu.png',
	textcls: '',
	appfunctag: 'Auto27',
	resourcetag: '',
},
		{
	id: '85761a76d5629f450fe810317eab2fba',
	name: 'menuitem5',
	text: '考勤月报',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤月报',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinyuebao.png',
	textcls: '',
	appfunctag: 'Auto26',
	resourcetag: '',
},
		{
	id: '1209eebba2af3d7aacfcb14c099e6720',
	name: 'menuitem6',
	text: '考勤汇总',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤汇总',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinhuizong.png',
	textcls: '',
	appfunctag: 'Auto31',
	resourcetag: '',
},
		{
	id: '0474b0d7b94418a579dd327a03ed557a',
	name: 'menuitem7',
	text: '员工考勤设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '员工考勤设置',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/pzgl/1/tuixiuguanli.png',
	textcls: '',
	appfunctag: 'Auto22',
	resourcetag: '',
},
		{
	id: 'a4c684979e99605fe8dd573bf7e5fe52',
	name: 'menuitem8',
	text: '非员工终止考勤',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '非员工终止考勤',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/guazhidaoqiguanli.png',
	textcls: '',
	appfunctag: 'Auto35',
	resourcetag: '',
},
	],
},
            {
	id: 'e11fef47f9a4b67586341a741d523720',
	name: 'menuitem9',
	text: '休假管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '休假管理',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/qingjiaguanli.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: '0ea05baf76edc03cc53ff3804bcf3123',
	name: 'menuitem11',
	text: '请假管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '请假管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/qingjiaguanli.png',
	textcls: '',
	appfunctag: 'Auto43',
	resourcetag: '',
},
		{
	id: 'ef45d6fd8b5555fcc81584d07f389aa6',
	name: 'menuitem12',
	text: '年休假查询',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '年休假查询',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/shengyunianjiatongji.png',
	textcls: '',
	appfunctag: 'Auto33',
	resourcetag: '',
},
	],
},
            {
	id: '56d401521ec9c2b46a8050746d2e714b',
	name: 'menuitem10',
	text: '标准化数据设置',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '标准化数据设置',
	expanded: true,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/pzgl/1/xuliegangweiguanxi.png',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
	items: [
		{
	id: 'b17eb726e7369a1f817d99eb07b30332',
	name: 'menuitem13',
	text: '休假类型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '休假类型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/xiujialeixing.png',
	textcls: '',
	appfunctag: 'Auto21',
	resourcetag: '',
},
		{
	id: 'a0cdba975c2142c439ae7ce5ba9eda42',
	name: 'menuitem14',
	text: '考勤类型',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '考勤类型',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: '../../../img/newimage/1/kaoqinleixing.png',
	textcls: '',
	appfunctag: 'Auto42',
	resourcetag: '',
},
	],
},
        ],
    }];
});

