|
|
|
|
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: "enterpriseInspectionList",
|
|
|
|
|
component: () => import("@/views/enterprise/enterpriseInspectionList.vue"),
|
|
|
|
|
},
|
|
|
|
|
// 投诉案件选择列表
|
|
|
|
|
{
|
|
|
|
|
path: "/registrationSelectList",
|
|
|
|
|
name: "registrationSelectList",
|
|
|
|
|
component: () => import("@/views/enterprise/registrationSelectList.vue"),
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export { routes };
|