feat(Route): add DescriptorMenu
This commit is contained in:
parent
af32a4d512
commit
0aa75043b8
|
@ -52,7 +52,7 @@ async function actualizeVolume() {
|
|||
const params = { isOk: true };
|
||||
await axios.post(`Routes/${routeId}/updateVolume`, params);
|
||||
quasar.notify({
|
||||
message: t('globals.dataUpdated'),
|
||||
message: t('globals.dataSaved'),
|
||||
type: 'positive',
|
||||
});
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ import CustomerDescriptorProxy from 'pages/Customer/Card/CustomerDescriptorProxy
|
|||
import TicketDescriptorProxy from 'pages/Ticket/Card/TicketDescriptorProxy.vue';
|
||||
import VnLv from 'components/ui/VnLv.vue';
|
||||
import VnTitle from 'src/components/common/VnTitle.vue';
|
||||
import RouteDescriptorMenu from './RouteDescriptorMenu.vue';
|
||||
|
||||
const $props = defineProps({
|
||||
id: {
|
||||
|
@ -128,6 +129,9 @@ const ticketColumns = ref([
|
|||
<template #header="{ entity }">
|
||||
<span>{{ `${entity?.route.id} - ${entity?.route?.description}` }}</span>
|
||||
</template>
|
||||
<template #menu="{ entity }">
|
||||
<RouteDescriptorMenu :route="entity.route" />
|
||||
</template>
|
||||
<template #body="{ entity }">
|
||||
<QCard class="vn-max">
|
||||
<VnTitle
|
||||
|
|
Loading…
Reference in New Issue