Enhance simulation functionality and frontend components for improved user experience

- Updated the simulation API to include a new 'force' parameter, allowing users to restart simulations while cleaning up previous logs.
- Enhanced the simulation status detail retrieval to include all actions and platform-specific actions for better monitoring.
- Introduced a new SimulationRunView component to manage the simulation process, providing a clear interface for users to start and monitor simulations.
- Improved the Step3Simulation component with detailed logging and progress indicators, ensuring users receive real-time updates during the simulation.
- Added new API endpoints for retrieving simulation posts and actions, enhancing the overall functionality and user engagement.
This commit is contained in:
666ghj
2025-12-12 14:44:10 +08:00
parent aad01f0252
commit f8a58819fa
8 changed files with 2024 additions and 74 deletions

View File

@@ -2,6 +2,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'
import SimulationRunView from '../views/SimulationRunView.vue'
const routes = [
{
@@ -20,6 +21,12 @@ const routes = [
name: 'Simulation',
component: SimulationView,
props: true
},
{
path: '/simulation/:simulationId/start',
name: 'SimulationRun',
component: SimulationRunView,
props: true
}
]