2025-11-17 17:58:19 +08:00

52 lines
1.1 KiB
JavaScript

import component from 'element-plus/es/components/tree-select/src/tree-select-option.mjs'
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')
},
{
path: '/yhz',
name: 'yhz',
component: () => import('../views/ServiceStationManagePage/index.vue')
},
{
path: '/yhzsb/:data?',
name: 'yhzsb',
component: () => import('../views/EquipmentManagement/index.vue')
},
{
path: '/yhzwz/:data?',
name: 'yhzwz',
component: () => import('../views/MaterialManagement/index.vue')
},
{
path: '/yhzevent',
name: 'yhzevent',
component: () => import('../views/SnowEventManagement/index.vue')
},
{
path: '/airSkyLand',
name: 'airskyland',
meta: {
screen: true
},
component: () => import('../views/airSkyLand/AirSkyLand.vue')
}
]
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes
})
export default router