Add simulation API and environment setup components

- Introduced simulation.js API for creating and managing simulations, including methods for creating, preparing, and retrieving simulation statuses.
- Added Step1GraphBuild.vue and Step2EnvSetup.vue components to facilitate the graph building and environment setup processes, enhancing user interaction and workflow.
- Updated MainView.vue to integrate new components and manage the simulation workflow, including step indicators and navigation between steps.
- Created SimulationView.vue for displaying simulation details and managing the simulation environment, improving overall user experience and functionality.
This commit is contained in:
666ghj
2025-12-11 15:09:24 +08:00
parent 860677b104
commit fc95cc6595
6 changed files with 1564 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Process from '../views/MainView.vue'
import SimulationView from '../views/SimulationView.vue'
const routes = [
{
@@ -13,6 +14,12 @@ const routes = [
name: 'Process',
component: Process,
props: true
},
{
path: '/simulation/:simulationId',
name: 'Simulation',
component: SimulationView,
props: true
}
]