You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
|
3 years ago
|
import Home from "@/views/Home.vue";
|
||
|
|
import login from "@/views/login.vue";
|
||
|
|
const routes = [
|
||
|
|
{
|
||
|
|
path: "/login",
|
||
|
|
name: "login",
|
||
|
|
component: login,
|
||
|
|
meta: {},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/home",
|
||
|
|
name: "Home",
|
||
|
|
component: Home,
|
||
|
|
meta: {
|
||
|
|
isKeepAlive: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: "/goodsDetail",
|
||
|
|
name: "goodsDetail",
|
||
|
|
component: () => import("@/views/common/goodsDetail.vue"),
|
||
|
|
meta: {
|
||
|
|
isRouterKeepAlive: true,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
// 企业信息登记
|
||
|
|
{
|
||
|
|
path: "/enterprise/register",
|
||
|
|
name: "enterpriseRegister",
|
||
|
|
component: () => import("@/views/enterprise/register.vue"),
|
||
|
|
},
|
||
|
|
// 执法监督码
|
||
|
|
{
|
||
|
|
path: "/enterprise/qrCode",
|
||
|
|
name: "enterpriseQrCode",
|
||
|
|
component: () => import("@/views/enterprise/qrCode.vue"),
|
||
|
|
},
|
||
|
|
|
||
|
|
//历史执法信息
|
||
|
|
{
|
||
|
|
path: "/enterprise/registrationList",
|
||
|
|
name: "registrationList",
|
||
|
|
component: () => import("@/views/enterprise/registrationList.vue"),
|
||
|
|
},
|
||
|
|
// 在线投诉
|
||
|
|
{
|
||
|
|
path: "/enterprise/complaint",
|
||
|
|
name: "complaint",
|
||
|
|
component: () => import("@/views/enterprise/complaint.vue"),
|
||
|
|
},
|
||
|
|
// 在线投诉
|
||
|
|
{
|
||
|
|
path: "/enterprise/enterpriseInspectionList",
|
||
|
|
name: "complaint",
|
||
|
|
component: () => import("@/views/enterprise/enterpriseInspectionList.vue"),
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
export { routes };
|