import { type ModuleConfig } from '/@/cool';

export default (): ModuleConfig => {
	return {
		name: 'audit',
		label: '审核订单管理',
		order: 90,
		views: [
			{
				path: '/audit/orders',
				meta: { label: '审核订单' },
				component: () => import('./views/order-list.vue')
			},
			{
				path: '/audit/detail',
				meta: { label: '审核详情' },
				component: () => import('./views/order-detail.vue')
			},
			{
				path: '/audit/dashboard',
				meta: { label: '审核统计' },
				component: () => import('./views/dashboard.vue')
			},
			{
				path: '/audit/config',
				meta: { label: '审核配置' },
				component: () => import('./views/config.vue')
			}
		]
	};
};
