|
|
|
export default {
|
|
|
|
path: "/knowledgeCentre",
|
|
|
|
name: "knowledgeCentre",
|
|
|
|
redirect: "/knowledgeCentre/submission",
|
|
|
|
meta: {
|
|
|
|
title: "知识中心",
|
|
|
|
icon: 1,
|
|
|
|
rank: 5
|
|
|
|
},
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "/knowledgeCentre/submission",
|
|
|
|
name: "submission",
|
|
|
|
component: () => import("@/views/knowledgeCentre/submission/index.vue"),
|
|
|
|
meta: {
|
|
|
|
title: "知识报送",
|
|
|
|
showLink: true,
|
|
|
|
showParent: true,
|
|
|
|
roles: ["admin", "common"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
path: "/knowledgeCentre/addSubmission",
|
|
|
|
name: "addSubmission",
|
|
|
|
component: () =>
|
|
|
|
import("@/views/knowledgeCentre/submission/add/index.vue"),
|
|
|
|
meta: {
|
|
|
|
title: "新建报送",
|
|
|
|
|
|
|
|
showLink: false,
|
|
|
|
showParent: false,
|
|
|
|
roles: ["admin", "common"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/knowledgeCentre/editSubmission",
|
|
|
|
name: "editSubmission",
|
|
|
|
component: () =>
|
|
|
|
import("@/views/knowledgeCentre/submission/edit/index.vue"),
|
|
|
|
meta: {
|
|
|
|
title: "编辑报送",
|
|
|
|
|
|
|
|
showLink: false,
|
|
|
|
showParent: false,
|
|
|
|
roles: ["admin", "common"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: "/knowledgeCentre/approval",
|
|
|
|
name: "approval",
|
|
|
|
component: () => import("@/views/knowledgeCentre/approval/index.vue"),
|
|
|
|
meta: {
|
|
|
|
title: "知识审批",
|
|
|
|
showLink: true,
|
|
|
|
showParent: true,
|
|
|
|
roles: ["admin", "common"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
} as RouteConfigsTable;
|