# Conflicts:
#	src/views/pages/ScenarioExec.vue
This commit is contained in:
paola.trabucco
2024-08-08 15:07:23 +02:00
4 changed files with 57 additions and 4 deletions

View File

@@ -127,7 +127,8 @@ const debug_modal = ref(false)
onMounted(() => {
loading.value = true
const id = route.params.id;
axios.get('http://localhost:8081/scenarios/' + id )
axios.get('/scenarios/' + id )
.then(response => {
loading.value = false
scenario.value = response.data
@@ -156,7 +157,7 @@ onMounted(() => {
inputs: { ...formData.value }
};
axios.post('http://localhost:8081/scenarios/execute', data)
axios.post('/scenarios/execute', data)
.then(response => {
loading_data.value = false;
data_loaded.value = true;
@@ -174,7 +175,8 @@ onMounted(() => {
}
const openDebug = () => {
axios.get('http://localhost:8081/scenarios/execute/'+ exec_id.value).then(resp =>{
axios.get('/scenarios/execute/'+ exec_id.value).then(resp =>{
exec_scenario.value = resp.data
debug_modal.value = true
})