From 0a03ef69ea044b1ce1750f6abfbc9476c80b0b76 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Thu, 15 Feb 2024 01:23:31 -0300 Subject: [PATCH] Create roadmap basic data page --- src/i18n/en/index.js | 2 + src/i18n/es/index.js | 2 + src/pages/Route/Roadmap/RoadmapBasicData.vue | 144 +++++++++++++++++++ src/router/modules/roadmap.js | 11 +- 4 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 src/pages/Route/Roadmap/RoadmapBasicData.vue diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 5889a1728..8e7e8409a 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -884,12 +884,14 @@ export default { pageTitles: { roadmap: 'Roadmap', summary: 'Summary', + basicData: 'Basic Data', }, }, roadmap: { pageTitles: { roadmap: 'Roadmap', summary: 'Summary', + basicData: 'Basic Data', }, }, route: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 7fd58d82a..1e548362d 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -938,12 +938,14 @@ export default { pageTitles: { roadmap: 'Troncales', summary: 'Resumen', + basicData: 'Datos básicos', }, }, roadmap: { pageTitles: { roadmap: 'Troncales', summary: 'Resumen', + basicData: 'Datos básicos', }, }, route: { diff --git a/src/pages/Route/Roadmap/RoadmapBasicData.vue b/src/pages/Route/Roadmap/RoadmapBasicData.vue new file mode 100644 index 000000000..5084eefa7 --- /dev/null +++ b/src/pages/Route/Roadmap/RoadmapBasicData.vue @@ -0,0 +1,144 @@ + + + +es: + Roadmap: Troncal + ETD date: Fecha ETD + ETD hour: Hora ETD + Tractor plate: Placa tractor + Trailer plate: Placa trailer + Carrier: Transportista + Price: Precio + Driver name: Nombre del conductor + Phone: Teléfono + Observations: Observaciones + diff --git a/src/router/modules/roadmap.js b/src/router/modules/roadmap.js index 9b3b8b9ca..fa63dbd44 100644 --- a/src/router/modules/roadmap.js +++ b/src/router/modules/roadmap.js @@ -10,7 +10,7 @@ export default { component: RouterView, redirect: { name: 'RouteMain' }, menus: { - card: [], + card: ['RoadmapBasicData'], }, children: [ { @@ -28,6 +28,15 @@ export default { }, component: () => import('pages/Route/Roadmap/RoadmapSummary.vue'), }, + { + name: 'RoadmapBasicData', + path: 'basic-data', + meta: { + title: 'basicData', + icon: 'vn:settings', + }, + component: () => import('pages/Route/Roadmap/RoadmapBasicData.vue'), + }, ], }, ],