fix bugs
This commit is contained in:
@@ -22,15 +22,23 @@
|
||||
:paginatorTemplate="paginatorTemplate"
|
||||
:totalRecords="scenario_execution_store.scenariosExecution.length"
|
||||
:first="first"
|
||||
@page="onPage"
|
||||
@page="onPage"
|
||||
:filters="filters"
|
||||
>
|
||||
<Column field="id" header="Execution ID" />
|
||||
<Column field="scenario.name" header="Name" />
|
||||
<Column field="" header="Execution Date" />
|
||||
<Column field="id" header="Execution ID" filter filterPlaceholder="Search by ID" />
|
||||
<Column field="scenario.name" header="Scenario Name" />
|
||||
<Column field="execSharedMap.user_input.selected_project" header="Project Input" />
|
||||
<Column field="execSharedMap.user_input.selected_application" header="Application Input" />
|
||||
<Column field="scenario.id" header="Scenario ID" />
|
||||
<Column field="" header="Start Date" />
|
||||
<Column field="" header="End Date" />
|
||||
<Column field="" header="Model AI" />
|
||||
<Column field="" header="Version" />
|
||||
<Column header="Output Type">
|
||||
<template #body="slotProps">
|
||||
{{ slotProps.data.scenario.outputType || 'text' }}
|
||||
</template>
|
||||
</Column>
|
||||
<Column field="" header="Rating" />
|
||||
<Column field="id">
|
||||
<template #body="slotProps">
|
||||
<Button label="View" @click="goToScenarioExec(slotProps.data)" class="mt-9 ml-4" />
|
||||
@@ -89,6 +97,14 @@ function onPage(event) {
|
||||
first.value = event.first;
|
||||
}
|
||||
|
||||
const filters = ref({
|
||||
id: { value: null, matchMode: 'contains' },
|
||||
//scenario: { value: null, matchMode: 'contains' },
|
||||
//'execSharedMap.user_input.selected_project': { value: null, matchMode: 'contains' },
|
||||
//'execSharedMap.user_input.selected_application': { value: null, matchMode: 'contains' },
|
||||
// Aggiungi altri filtri come preferisci
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user