hrms-user/src/modules/06_evaluate/router.ts

57 lines
1.1 KiB
TypeScript
Raw Normal View History

const evaluateMain = () =>
import("@/modules/06_evaluate/views/EvaluateMain.vue");
const evaluateStep = () =>
import("@/modules/06_evaluate/components/EvaluateStepMain.vue");
2024-06-28 16:51:48 +07:00
const expertPage = () =>
import("@/modules/06_evaluate/components/ExpertPage.vue");
const expertPageDetail = () =>
import("@/modules/06_evaluate/components/ExpertPageDetail.vue");
2023-12-14 14:49:27 +07:00
export default [
{
path: "/evaluate",
name: "evaluate",
component: evaluateMain,
meta: {
Auth: true,
Key: [7],
},
},
{
2023-12-26 16:27:59 +07:00
path: "/evaluate/add/:type",
name: "evaluate-add",
component: evaluateStep,
meta: {
Auth: true,
Key: [7],
},
},
{
2023-12-27 12:08:36 +07:00
path: "/evaluate/detail/:type/:id",
name: "evaluate-detail",
component: evaluateStep,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/evaluate/expert",
name: "evaluate-expert",
component: expertPage,
meta: {
Auth: true,
Key: [7],
},
},
{
path: "/evaluate/detail/expertise/:id",
name: "evaluate-expert-detail",
component: expertPageDetail,
meta: {
Auth: true,
Key: [7],
},
},
2023-12-14 14:49:27 +07:00
];