From 8b6c0c05d60b1cbd89209366dc68d1800e03f1c2 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 17 Feb 2025 12:57:37 +0100 Subject: [PATCH] refactor: refs #8606 modified table width and order --- src/pages/Zone/ZoneList.vue | 152 +++++++++++++++++++++--------------- 1 file changed, 88 insertions(+), 64 deletions(-) diff --git a/src/pages/Zone/ZoneList.vue b/src/pages/Zone/ZoneList.vue index cbe0d516d20..d6297e9734a 100644 --- a/src/pages/Zone/ZoneList.vue +++ b/src/pages/Zone/ZoneList.vue @@ -65,7 +65,6 @@ const tableFilter = { const columns = computed(() => [ { - align: 'left', name: 'id', label: t('list.id'), chip: { @@ -75,6 +74,8 @@ const columns = computed(() => [ columnFilter: { inWhere: true, }, + columnClass: 'shrink-column', + component: 'number', }, { align: 'left', @@ -106,7 +107,6 @@ const columns = computed(() => [ format: (row, dashIfEmpty) => dashIfEmpty(row?.agencyMode?.name), }, { - align: 'left', name: 'price', label: t('list.price'), cardVisible: true, @@ -114,6 +114,8 @@ const columns = computed(() => [ columnFilter: { inWhere: true, }, + columnClass: 'shrink-column', + component: 'number', }, { align: 'center', @@ -177,68 +179,73 @@ function formatRow(row) { - - - - +
+
+ + + + +
+
@@ -246,3 +253,20 @@ es: Search zone: Buscar zona You can search zones by id or name: Puedes buscar zonas por id o nombre + +