48 lines
1.1 KiB
JavaScript
Raw Normal View History

2025-10-30 15:34:23 +08:00
import component from 'element-plus/es/components/tree-select/src/tree-select-option.mjs'
2025-10-15 14:07:39 +08:00
import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
name: 'Home',
2025-11-07 18:13:40 +08:00
component: () => import('../views/Home.vue')
},
{
path: '/cockpit',
name: 'Cockpit',
component: () => import('../views/cockpit/index.vue')
},
2025-10-30 15:34:23 +08:00
{
2025-10-31 16:27:41 +08:00
path: '/yhz',
name: 'yhz',
2025-10-30 15:34:23 +08:00
component: () => import('../views/ServiceStationManagePage/index.vue')
2025-11-03 11:33:56 +08:00
},
{
2025-11-06 14:23:28 +08:00
path: '/yhzsb/:data?',
2025-11-03 11:33:56 +08:00
name: 'yhzsb',
component: () => import('../views/EquipmentManagement/index.vue')
2025-11-04 10:13:02 +08:00
},
{
2025-11-06 14:23:28 +08:00
path: '/yhzwz/:data?',
2025-11-04 10:13:02 +08:00
name: 'yhzwz',
component: () => import('../views/MaterialManagement/index.vue')
2025-11-06 14:23:28 +08:00
},
2025-11-10 16:52:03 +08:00
{
path: '/yhzry/:data?',
name: 'yhzry',
component: () => import('../views/PersonManagement/index.vue')
},
2025-11-06 14:23:28 +08:00
{
path: '/yhzevent',
name: 'yhzevent',
component: () => import('../views/SnowEventManagement/index.vue')
},
2025-10-15 14:07:39 +08:00
]
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
2025-10-15 14:07:39 +08:00
routes
})
export default router