Working calender/service

This commit is contained in:
2025-08-22 14:48:28 -04:00
parent 7eed45ab32
commit 4bcff598e6
9 changed files with 629 additions and 466 deletions

View File

@@ -1,8 +1,7 @@
import ServiceHome from './ServiceHome.vue' // Adjust the import path
// Import the new component at the top
import ServiceHome from './ServiceHome.vue'
import CalendarCustomer from './calender/CalendarCustomer.vue'
import ServiceCalendar from './ServiceCalendar.vue'
const serviceRoutes = [
{
@@ -11,14 +10,20 @@ const serviceRoutes = [
component: ServiceHome
},
// --- NEW ROUTE FOR THE MASTER CALENDAR ---
{
path: '/service/calendar', // Note: No '/:id' parameter
name: 'ServiceCalendar',
component: ServiceCalendar,
},
// -----------------------------------------
{
path: '/service/calender/:id',
name: 'CalenderCustomer',
component: CalendarCustomer,
},
{
path: '/service/calender/:id', // Note the typo, should likely be 'calendar'
name: 'CalenderCustomer',
component: CalendarCustomer,
},
]
export default serviceRoutes
//sourceMappingURL=index.ts.map
//sourceMappingURL=index.ts.map