2021-08-21 17:32:36 +00:00
|
|
|
<template>
|
|
|
|
<div class="single-ticket">
|
2021-08-22 14:37:12 +00:00
|
|
|
<div class="header-bar">
|
|
|
|
<button>
|
|
|
|
{{ t('upschooling', 'Ticket Schließen') }}
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
{{ t('upschooling', 'Speichern') }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2021-08-21 17:32:36 +00:00
|
|
|
<h2>Ticket "ding"</h2>
|
2021-08-22 14:37:12 +00:00
|
|
|
<KeyValueTable :data-rows="{Name: 'Bernd', Status: 'Offen', Ablaufdatum: 'gestern'}" />
|
2021-08-21 17:32:36 +00:00
|
|
|
<br>
|
2021-08-22 14:37:12 +00:00
|
|
|
<label for="description">{{ t('upschooling', 'Beschreibung') }}</label>
|
|
|
|
<textarea id="description" v-model.trim.lazy="description" rows="15" />
|
2021-08-21 17:38:46 +00:00
|
|
|
<br>
|
2021-08-21 17:58:03 +00:00
|
|
|
<button @click="save">
|
|
|
|
Speichern
|
|
|
|
</button>
|
2021-08-21 17:38:46 +00:00
|
|
|
<hr>
|
2021-08-22 14:37:12 +00:00
|
|
|
<div class="placeholder" />
|
2021-08-21 17:32:36 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-08-22 14:37:12 +00:00
|
|
|
import KeyValueTable from './components/KeyValueTable'
|
2021-08-21 17:32:36 +00:00
|
|
|
export default {
|
|
|
|
name: 'Ticket',
|
2021-08-22 14:37:12 +00:00
|
|
|
components: { KeyValueTable },
|
2021-08-21 17:58:03 +00:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
description: '',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
save() {},
|
|
|
|
},
|
2021-08-21 17:32:36 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2021-08-22 14:37:12 +00:00
|
|
|
margin: 0;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.placeholder {
|
|
|
|
height: 400px;
|
|
|
|
width: 100%;
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-bar {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: row-reverse;
|
2021-08-21 17:32:36 +00:00
|
|
|
}
|
|
|
|
</style>
|