Initial commit

This commit is contained in:
andrea.terzani
2024-07-30 15:12:56 +02:00
commit f9472a4197
202 changed files with 28556 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<template>
<div className="card">
<h5>Ks document</h5>
</div>
</template>
<script setup>
import { ref } from 'vue';
import { onMounted } from 'vue'
import axios from 'axios';
const ksdocuments = ref(null);
onMounted(() => {
axios.get('http://localhost:8082/ksdocuments/'+$route.params.id)
.then(response => {
console.log(response.data);
ksdocuments.value = response.data;
});
});
const getStatus = (data) => {
if (data.ingestionStatus === 'INGESTED') {
return 'success';
} else if (data.ingestionStatus === 'NEW') {
return 'danger';
} else {
return 'warning';
}
}
</script>