Added Logo

Added Document Download
Added zipjs
This commit is contained in:
2023-12-11 12:04:32 +01:00
parent 6ffc4f01d9
commit 5503c572f1
10 changed files with 528 additions and 22 deletions

View File

@@ -0,0 +1,51 @@
<template>
<div id="main">
<UButton @click="router.push(`/jobs/create/`)">+ Job</UButton>
<UTable
:rows="jobs"
:columns="columns"
@select="selectJob"
/>
</div>
</template>
<script setup>
definePageMeta({
middleware: "auth"
})
const router = useRouter()
const {jobs } = storeToRefs(useDataStore())
const mode = ref("show")
const columns = [
{
key: "title",
label: "Titel",
sortable: true
},{
key: "state",
label: "Status",
sortable: true
},{
key: "customer",
label: "Kunde",
sortable: true
}
]
const selectJob = (job) => {
console.log(job)
router.push(`/jobs/show/${job.id} `)
}
</script>
<style scoped>
</style>