Add recap page

This commit is contained in:
mcarquigny
2025-06-27 17:50:22 +02:00
parent 9fe860b526
commit d656bb15ff
4 changed files with 159 additions and 2 deletions

View File

@ -230,7 +230,7 @@
<span>{{ getDate(selectedHistory.created) }}</span>
</div>
</q-card-section>
<q-card-section>
<q-card-section v-if="selectedHistory.type === 'issue' && !selectedHistory.solved_at">
<q-btn outline color="secondary" label="Marquer comme terminé" @click="setTaskDone(selectedHistory)"></q-btn>
</q-card-section>
<q-separator/>
@ -391,10 +391,16 @@ export default {
collection: 'history',
itemId: history.id,
data: {
...history,
id: history.id,
solved_at: new Date().toISOString(),
solved_by: this.username
}
}).then(_ => {
this.$store.dispatch('core/loadAppData').then(_ => {
this.loadItem()
this.showHistory = false
this.selectedHistory = null
})
})
},
async uploadFile (file) {