import config from "@/config";

//系统路由
const routes = [
	{
		name: "layout",
		path: "/",
		component: () => import(/* webpackChunkName: "layout" */ "@/layout"),
		redirect: config.DASHBOARD_URL || "/procurement",
		children: []
	},
	{
		path: "/login",
		component: () => import(/* webpackChunkName: "login" */ "@/views/login"),
		meta: {
			title: "登录"
		}
	},
	{
		path: "/redirect",
		component: () => import(/* webpackChunkName: "login" */ "@/layout/other/empty"),
		hidden: true
	},
	{
		path: "/process-form-view",
		component: () => import(/* webpackChunkName: "login" */ "@/layout/other/iframe/form"),
		hidden: true
	},
	{
		path: "/supplier-evaluation-detail",
		component: () => import(/* webpackChunkName: "login" */ "@/layout/other/iframe/dialog"),
		hidden: true
	}
]

export default routes;