How mynameisly/hotelmanagement works
This Vue/Element UI application is a hotel-operations management frontend. Staff sign in, navigate the management workspace, and use domain screens to manage rooms, guests’ stays and checkout, employees, guest services, and finances. Those screens call backend endpoints through API modules and a shared Axios client. The graph includes documented capabilities and routed screens; edges are limited to relationships shown in the excerpts, SOURCE INDEX references, or README, so unsampled screen-to-API calls are not inferred.
Main entry points: index.js Route registry · request.js HTTP client · checkin/index.vue Check-in management · searchroom/index.vue Room search
Components 29
Application shell
- Route registry
src/router/index.js - Management workspace
src/components/common/Home.vue - Login and logout
src/components/page/Login.vue - Dashboard
src/components/page/Dashboard.vue
Guest stays
- Check-in management
src/pub/checkin/index.vue - Stay forms and details
src/pub/checkin/addCheckin.vue - Checkout records
src/pub/checkout/index.vue - Checkout details
src/pub/checkout/details.vue
Hotel operations
- Room management
src/pub/room - Room search
src/pub/searchroom/index.vue
Staff and finance
- Employee management
src/pub/employee - Financial management
src/pub/finance/index.vue
Guest services
- Guest service management
src/pub/roomservice/index.vue - Service entry
src/pub/roomservice/addService.vue - Service history
src/pub/roomservice/historyService.vue
State and API
- Authentication API
src/api/login.js - Check-in API
src/api/checkin.js - Checkout API
src/api/checkout.js - Room API
src/api/room.js - Room type API
src/api/roomtype.js - Category API
src/api/category.js - Employee API
src/api/employee.js - Position API
src/api/position.js - Service API
src/api/service.js - Finance API
src/api/finance.js - HTTP client
src/utils/request.js - Vuex store
src/store/index.js
Other components
- Hotel staff
- Hotel backend
Connections 44
- Hotel staff → Login and logout: signs in
- Route registry → Login and logout: routes to
src/router/index.js - Route registry → Management workspace: hosts routes
src/router/index.js - Route registry → Dashboard: routes to
src/router/index.js - Route registry → Check-in management: routes to
src/router/index.js - Route registry → Checkout records: routes to
src/router/index.js - Route registry → Room management: routes to
src/router/index.js - Route registry → Room search: routes to
src/router/index.js - Route registry → Employee management: routes to
src/router/index.js - Route registry → Guest service management: routes to
src/router/index.js - Route registry → Financial management: routes to
src/router/index.js - Login and logout → Authentication API: authenticates through
src/components/page/Login.vue - Management workspace → Vuex store: uses state
- Check-in management → Stay forms and details: opens forms
src/pub/checkin/index.vue - Check-in management → Check-in API: manages stays
src/pub/checkin/index.vue - Check-in management → Checkout API: initiates checkout
src/pub/checkin/index.vue - Check-in management → Category API: loads categories
src/pub/checkin/index.vue - Checkout records → Checkout details: opens details
src/pub/checkout/index.vue - Checkout records → Checkout API: loads records
src/pub/checkout/index.vue - Stay forms and details → Room API: loads rooms
src/pub/checkin/addCheckin.vue - Guest service management → Service entry: opens entry
- Guest service management → Service history: opens history
- Service entry → Employee API: loads employees
src/pub/roomservice/addService.vue - Service entry → Category API: loads categories
src/pub/roomservice/addService.vue - Service entry → Position API: imports API
src/pub/roomservice/addService.vue - Service history → Service API: queries history
src/pub/roomservice/historyService.vue - Room search → Room API: queries rooms
src/pub/searchroom/index.vue - Room search → Room type API: queries room types
src/pub/searchroom/index.vue - Room search → Category API: queries categories
src/pub/searchroom/index.vue - Employee management → Employee API: uses endpoints
- Employee management → Position API: uses endpoints
- Financial management → Finance API: loads finances
src/pub/finance/index.vue - Authentication API → HTTP client: sends requests
src/api/login.js - Check-in API → HTTP client: sends requests
src/api/checkin.js - Checkout API → HTTP client: sends requests
src/api/checkout.js - Room API → HTTP client: sends requests
src/api/room.js - Room type API → HTTP client: sends requests
src/api/roomtype.js - Category API → HTTP client: sends requests
src/api/category.js - Employee API → HTTP client: sends requests
src/api/employee.js - Position API → HTTP client: sends requests
src/api/position.js - Service API → HTTP client: sends requests
src/api/service.js - Finance API → HTTP client: sends requests
src/api/finance.js - HTTP client → Hotel backend: sends HTTP
- Vuex store → Login and logout: holds user state