Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/assets/vue/router/attendance.js

44 lines
1.3 KiB

export default {
path: "/resources/attendance/:node/",
meta: { requiresAuth: true, showBreadcrumb: true },
name: "attendance",
component: () => import("../components/layout/SimpleRouterViewLayout.vue"),
redirect: { name: "AttendanceList" },
children: [
{
name: "AttendanceList",
path: "",
component: () => import("../views/attendance/AttendanceList.vue"),
},
{
name: "CreateAttendance",
path: "create",
component: () => import("../views/attendance/AttendanceCreate.vue"),
},
{
name: "EditAttendance",
path: "edit/:id",
component: () => import("../views/attendance/AttendanceEdit.vue"),
},
{
name: "AttendanceSheetList",
path: ":id?/sheet-list",
component: () => import("../views/attendance/AttendanceSheetList.vue"),
},
{
name: "CalendarList",
path: ":id?/calendar",
component: () => import("../views/attendance/AttendanceCalendarList.vue"),
},
{
name: "AddCalendarEvent",
path: ":id?/calendar/create",
component: () => import("../views/attendance/AttendanceCalendarAdd.vue"),
},
{
name: "ExportToPdf",
path: ":id?/export/pdf",
component: () => import("../views/attendance/AttendanceExport.vue"),
},
],
}