File tree Expand file tree Collapse file tree 3 files changed +21
-22
lines changed
Expand file tree Collapse file tree 3 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 11<template lang="pug">
2- div
3- q-toolbar
4- q-breadcrumbs
5- q-breadcrumbs-el( to ="/" ) Accueil
6- q-breadcrumbs-el( to ="/tickets" ) Tickets
7- q-breadcrumbs-el( :label ="sequence" )
8- q-expansion-item( label ="Autres sections" ) .bg-gray -4
9- q-card.bg-gray -4
10- q-separator( inset )
11- q-card-actions( align ="center" vertical )
12- q-btn( color ="primary" flat ) Mes tickets
13- q-btn( color ="primary" flat ) Tout les tickets
14- q-separator( inset )
15- q-card-actions( align ="center" vertical )
16- q-btn( v-for ="projet in projets.data" color ="primary" flat :key ="projet.id" : to= "`/ticket/${projet.id}`" ) {{ projet.name }}
2+ //- .row
3+ //- q-toolbar
4+ //- q-breadcrumbs
5+ //- q-breadcrumbs-el(to="/") Accueil
6+ //- q-breadcrumbs-el(to="/tickets") Tickets
7+ //- q-breadcrumbs-el(:label="sequence")
8+ //- q-expansion-item(label="Autres sections").bg-grey -4
9+ //- q-card.bg-grey -4
10+ //- q-separator(inset)
11+ //- q-card-actions(align="center" vertical)
12+ //- q-btn(color="primary" flat) Mes tickets
13+ //- q-btn(color="primary" flat) Tout les tickets
14+ //- q-separator(inset)
15+ //- q-card-actions(align="center" vertical)
16+ //- q-btn(v-for="projet in projets.data" color="primary" flat :key="projet.id" :to="`/ticket/${projet.id}`") {{ projet.name }}
1717 </template >
1818
1919<script lang="ts" setup>
20- import { ref , onMounted , computed } from ' vue'
21- import { useHttpApi } from ' ~/composables/useHttpApi' ;
20+ import { useHttpApi } from ' ~/composables' ;
2221
2322const { data : projets } = await useHttpApi (` core/project ` )
2423defineProps ({
Original file line number Diff line number Diff line change 33 tk-appbar
44 q-page-container
55 nuxt-page
6- tk-footer
6+ //- tk-footer
77 </template >
88
99<style >
Original file line number Diff line number Diff line change 22q-page.row.items-stretch
33 .col-12
44 .row ( style ="height: 100%" )
5- .col-12.col-md-2.q-pa-sm
6- tk-ticketLeftPanel( :sequence ="ticketData.data.sequence" )
7- .col-12.col-md-6 .q-pa-sm
5+ //- .col-12.col-md-2.q-pa-sm
6+ //- tk-ticketLeftPanel(:sequence="ticketData.data.sequence")
7+ .col-12.col-md-9 .q-pa-sm
88 tk-ticketMainPanel( :sequence ="ticketData.data.sequence" : subject= "ticketData.data.subject" : disabled= "disabled" )
9- .col-12.col-md-4 .q-pa-sm
9+ .col-12.col-md-3 .q-pa-sm
1010 tk-ticketRightPanel( :ticketData ="ticketData.data" @update:ticket-data ="onUpdateTicketData" : disabled= "disabled" )
1111</template >
1212
You can’t perform that action at this time.
0 commit comments