updates history exec
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
<Panel class="mt-6">
|
<Panel class="mt-6">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<span class="font-bold">Hermione Response</span>
|
<span class="font-bold">Hermione Response of Execution ID {{execution_id.id}}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #icons>
|
<template #icons>
|
||||||
|
|||||||
@@ -14,7 +14,16 @@
|
|||||||
</Button> -->
|
</Button> -->
|
||||||
</div>
|
</div>
|
||||||
<h2 class="text-xl font-bold mt-6">Executions List</h2>
|
<h2 class="text-xl font-bold mt-6">Executions List</h2>
|
||||||
<DataTable :value="scenario_execution_store.scenariosExecution" :loading="loading_data" class="mt-6">
|
<DataTable :value="scenario_execution_store.scenariosExecution"
|
||||||
|
:loading="loading_data"
|
||||||
|
class="mt-6"
|
||||||
|
:rows="10"
|
||||||
|
paginator
|
||||||
|
:paginatorTemplate="paginatorTemplate"
|
||||||
|
:totalRecords="scenario_execution_store.scenariosExecution.length"
|
||||||
|
:first="first"
|
||||||
|
@page="onPage"
|
||||||
|
>
|
||||||
<Column field="id" header="Execution ID" />
|
<Column field="id" header="Execution ID" />
|
||||||
<Column field="scenario.name" header="Name" />
|
<Column field="scenario.name" header="Name" />
|
||||||
<Column field="" header="Execution Date" />
|
<Column field="" header="Execution Date" />
|
||||||
@@ -46,7 +55,7 @@ import { useRoute, useRouter } from 'vue-router';
|
|||||||
import { ScenarioExecutionStore } from '../../stores/ScenarioExecutionStore.js';
|
import { ScenarioExecutionStore } from '../../stores/ScenarioExecutionStore.js';
|
||||||
|
|
||||||
|
|
||||||
|
const first = ref(0);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const value = ref('');
|
const value = ref('');
|
||||||
@@ -76,6 +85,11 @@ const goToScenarioExec = (execScenarioItem) => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function onPage(event) {
|
||||||
|
first.value = event.first;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user