38 lines
857 B
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',
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
},
{
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
},
{
path: '/yhzwz/:data',
2025-11-04 10:13:02 +08:00
name: 'yhzwz',
component: () => import('../views/MaterialManagement/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