How yyhsong/ivue2pro works
iVue2Pro is a Vue 2 enterprise-data analysis dashboard. A user navigates among operating, financial, and tax analysis views; each view requests local JSON through ApiSrv and displays the returned data in ECharts. The graph includes the app shell, routing, and user-state layer. The README identifies the Vue/Element UI/ECharts stack; detailed behavior for the finance view is only partially excerpted, so its sub-analyses are summarized rather than expanded.
Main entry points: index.js Page router · App.vue App shell · ApiSrv.js JSON API service · main.js Vue bootstrap
Components 11
Dashboard shell
- Vue bootstrap
src/main.js - App shell
src/App.vue - Main menu
src/components/MainMenu.vue - Page router
src/router/index.js - User state
src/store/index.js
Business analysis
- Operating analysis
src/views/CompanyOperation.vue - Financial analysis
src/views/CompanyFinance.vue - Tax analysis
src/views/CompanyTaxation.vue
Analysis data
- JSON API service
src/api/ApiSrv.js - Analysis JSON datasets
static/data
Other components
- Dashboard user
Connections 14
- Dashboard user → App shell: uses dashboard
src/App.vue - Vue bootstrap → App shell: mounts
src/main.js - Vue bootstrap → Page router: registers
src/main.js - Vue bootstrap → User state: registers
src/main.js - App shell → Main menu: renders
src/App.vue - App shell → User state: reads user
src/App.vue - Main menu → Page router: links routes
src/components/MainMenu.vue - Page router → Operating analysis: routes to
src/router/index.js - Page router → Financial analysis: routes to
src/router/index.js - Page router → Tax analysis: routes to
src/router/index.js - Operating analysis → JSON API service: requests datasets
src/views/CompanyOperation.vue - Financial analysis → JSON API service: requests datasets
src/views/CompanyFinance.vue - Tax analysis → JSON API service: requests datasets
src/views/CompanyTaxation.vue - JSON API service → Analysis JSON datasets: fetches JSON
src/api/ApiSrv.js