From 89f3c3f9548dc53b1cff487a7f500c85d9ae1694 Mon Sep 17 00:00:00 2001 From: jtubau Date: Wed, 19 Feb 2025 15:24:02 +0100 Subject: [PATCH 01/10] fix: refs #8616 update binding syntax for is-editable prop in AgencyList.vue --- src/pages/Route/Agency/AgencyList.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/Route/Agency/AgencyList.vue b/src/pages/Route/Agency/AgencyList.vue index 5c2904bf3..6ce41cfde 100644 --- a/src/pages/Route/Agency/AgencyList.vue +++ b/src/pages/Route/Agency/AgencyList.vue @@ -82,11 +82,10 @@ const columns = computed(() => [ From bb928a0c763d0a6a191e2573b164268dd7c2c386 Mon Sep 17 00:00:00 2001 From: jtubau Date: Thu, 20 Feb 2025 08:53:37 +0100 Subject: [PATCH 02/10] refactor: refs #8616 update routing components for AgencyList and RouteRoadmap in route.js --- src/pages/Route/Agency/AgencyList.vue | 1 + src/router/modules/route.js | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/Route/Agency/AgencyList.vue b/src/pages/Route/Agency/AgencyList.vue index 6ce41cfde..26849a593 100644 --- a/src/pages/Route/Agency/AgencyList.vue +++ b/src/pages/Route/Agency/AgencyList.vue @@ -86,6 +86,7 @@ const columns = computed(() => [ :right-search="false" :use-model="true" redirect="route/agency" + default-mode="card" /> diff --git a/src/router/modules/route.js b/src/router/modules/route.js index 835324d20..c84795a98 100644 --- a/src/router/modules/route.js +++ b/src/router/modules/route.js @@ -220,7 +220,6 @@ export default { path: '', name: 'RouteIndexMain', redirect: { name: 'RouteList' }, - component: () => import('src/pages/Route/RouteList.vue'), children: [ { name: 'RouteList', @@ -229,6 +228,7 @@ export default { title: 'list', icon: 'view_list', }, + component: () => import('src/pages/Route/RouteList.vue'), }, routeCard, ], @@ -268,7 +268,6 @@ export default { title: 'RouteRoadmap', icon: 'vn:troncales', }, - component: () => import('src/pages/Route/RouteRoadmap.vue'), children: [ { name: 'RoadmapList', @@ -277,6 +276,7 @@ export default { title: 'list', icon: 'view_list', }, + component: () => import('src/pages/Route/RouteRoadmap.vue'), }, roadmapCard, ], @@ -298,7 +298,6 @@ export default { title: 'agency', icon: 'garage_home', }, - component: () => import('src/pages/Route/Agency/AgencyList.vue'), children: [ { name: 'AgencyList', @@ -307,6 +306,8 @@ export default { title: 'list', icon: 'view_list', }, + component: () => + import('src/pages/Route/Agency/AgencyList.vue'), }, agencyCard, ], @@ -319,7 +320,6 @@ export default { title: 'vehicle', icon: 'directions_car', }, - component: () => import('src/pages/Route/Vehicle/VehicleList.vue'), children: [ { path: 'list', @@ -328,6 +328,8 @@ export default { title: 'vehicleList', icon: 'directions_car', }, + component: () => + import('src/pages/Route/Vehicle/VehicleList.vue'), }, vehicleCard, ], From 9fa21cbaff07285435ffb3df2ea8f51c9c418d8e Mon Sep 17 00:00:00 2001 From: jtubau Date: Thu, 20 Feb 2025 09:08:53 +0100 Subject: [PATCH 03/10] fix: refs #8616 add conditional for SupplierDescriptorProxy and bind attributes in CardDescriptor --- src/components/ui/CardDescriptor.vue | 2 +- src/pages/Route/Vehicle/Card/VehicleSummary.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 6f122ecd2..14fd4d14d 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -120,7 +120,7 @@ const toModule = computed(() =>