From a0b19f8e7947bd9c500cf35a00a63110a75796df Mon Sep 17 00:00:00 2001 From: provira Date: Fri, 27 Dec 2024 13:43:33 +0100 Subject: [PATCH] refactor: refs #8322 changed Route component to use VnSection/VnCardBeta --- src/pages/Route/Card/RouteCard.vue | 17 +--- src/pages/Route/RouteList.vue | 64 +++++++------- src/pages/Route/locale/en.yml | 2 + src/pages/Route/locale/es.yml | 2 + src/router/modules/route.js | 130 +++++++++++++++-------------- 5 files changed, 109 insertions(+), 106 deletions(-) diff --git a/src/pages/Route/Card/RouteCard.vue b/src/pages/Route/Card/RouteCard.vue index 461f2d95e..4df0278a6 100644 --- a/src/pages/Route/Card/RouteCard.vue +++ b/src/pages/Route/Card/RouteCard.vue @@ -1,19 +1,8 @@ diff --git a/src/pages/Route/RouteList.vue b/src/pages/Route/RouteList.vue index b82d1468e..259cacd16 100644 --- a/src/pages/Route/RouteList.vue +++ b/src/pages/Route/RouteList.vue @@ -3,17 +3,16 @@ import { computed, ref } from 'vue'; import { useI18n } from 'vue-i18n'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import { toHour } from 'src/filters'; - -import RouteSearchbar from 'pages/Route/Card/RouteSearchbar.vue'; import RouteSummary from 'pages/Route/Card/RouteSummary.vue'; -import RightMenu from 'src/components/common/RightMenu.vue'; import RouteFilter from 'pages/Route/Card/RouteFilter.vue'; import VnTable from 'components/VnTable/VnTable.vue'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const { t } = useI18n(); const { viewSummary } = useSummaryDialog(); const tableRef = ref([]); +const dataKey = 'RouteList'; const routeFilter = { include: [ { @@ -110,32 +109,41 @@ const columns = computed(() => [ ]);