first commit

This commit is contained in:
Florinda
2024-10-18 17:42:55 +02:00
parent d99d89c135
commit ba02737680
9 changed files with 383 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
import axios from 'axios';
export const ProjectService = {
getUserProjects() {
return axios.get('/userProjects')
}
,
getUserApplications() {
return axios.get('/userApplications')
}
,
updateSelectedProject(data) {
return axios.post('/updateSelectedProject', data)
}
/* {
projectName: selectedProjectName
}*/
}

View File

@@ -4,5 +4,14 @@ export const ScenarioService = {
getScenarios() {
return axios.get('/scenarios')
}
},
getScenariosProject(projectId) {
return axios.post('/scenariosProject' , projectId)
},
getScenariosApplication(app) {
return axios.post('/scenariosByApp' , app)
},
}