From 9207b374197efc7c2a559c8efdde7689bdcec0e3 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 24 Jun 2024 13:46:06 +0200 Subject: [PATCH] refactor: refs #7014 refactor Main.vue --- src/components/common/VnSectionMain.vue | 17 +++++++++++++++++ src/pages/Account/AccountMain.vue | 14 ++------------ src/pages/Claim/ClaimMain.vue | 14 ++------------ src/pages/Customer/CustomerMain.vue | 14 ++------------ src/pages/Entry/EntryMain.vue | 15 ++------------- src/pages/InvoiceIn/InvoiceInMain.vue | 14 ++------------ src/pages/InvoiceOut/InvoiceOutMain.vue | 14 ++------------ src/pages/Item/ItemMain.vue | 15 ++------------- src/pages/Monitor/MonitorMain.vue | 15 ++------------- src/pages/Order/OrderMain.vue | 14 ++------------ src/pages/Route/RouteMain.vue | 11 ++--------- src/pages/Shelving/ShelvingMain.vue | 14 ++------------ src/pages/Supplier/SupplierMain.vue | 14 ++------------ src/pages/Ticket/TicketMain.vue | 14 ++------------ src/pages/Travel/TravelMain.vue | 14 ++------------ src/pages/Wagon/WagonMain.vue | 14 ++------------ src/pages/Worker/WorkerMain.vue | 14 ++------------ src/pages/Zone/ZoneMain.vue | 13 ++----------- 18 files changed, 51 insertions(+), 203 deletions(-) create mode 100644 src/components/common/VnSectionMain.vue diff --git a/src/components/common/VnSectionMain.vue b/src/components/common/VnSectionMain.vue new file mode 100644 index 000000000..f0dc2e500 --- /dev/null +++ b/src/components/common/VnSectionMain.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/pages/Account/AccountMain.vue b/src/pages/Account/AccountMain.vue index f0dc2e500..c6a38a77a 100644 --- a/src/pages/Account/AccountMain.vue +++ b/src/pages/Account/AccountMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Claim/ClaimMain.vue b/src/pages/Claim/ClaimMain.vue index f0dc2e500..c6a38a77a 100644 --- a/src/pages/Claim/ClaimMain.vue +++ b/src/pages/Claim/ClaimMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Customer/CustomerMain.vue b/src/pages/Customer/CustomerMain.vue index f0dc2e500..c6a38a77a 100644 --- a/src/pages/Customer/CustomerMain.vue +++ b/src/pages/Customer/CustomerMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Entry/EntryMain.vue b/src/pages/Entry/EntryMain.vue index c1f2a31db..c6a38a77a 100644 --- a/src/pages/Entry/EntryMain.vue +++ b/src/pages/Entry/EntryMain.vue @@ -1,18 +1,7 @@ diff --git a/src/pages/InvoiceIn/InvoiceInMain.vue b/src/pages/InvoiceIn/InvoiceInMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/InvoiceIn/InvoiceInMain.vue +++ b/src/pages/InvoiceIn/InvoiceInMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/InvoiceOut/InvoiceOutMain.vue b/src/pages/InvoiceOut/InvoiceOutMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/InvoiceOut/InvoiceOutMain.vue +++ b/src/pages/InvoiceOut/InvoiceOutMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Item/ItemMain.vue b/src/pages/Item/ItemMain.vue index c1f2a31db..c6a38a77a 100644 --- a/src/pages/Item/ItemMain.vue +++ b/src/pages/Item/ItemMain.vue @@ -1,18 +1,7 @@ diff --git a/src/pages/Monitor/MonitorMain.vue b/src/pages/Monitor/MonitorMain.vue index c1f2a31db..c6a38a77a 100644 --- a/src/pages/Monitor/MonitorMain.vue +++ b/src/pages/Monitor/MonitorMain.vue @@ -1,18 +1,7 @@ diff --git a/src/pages/Order/OrderMain.vue b/src/pages/Order/OrderMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Order/OrderMain.vue +++ b/src/pages/Order/OrderMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Route/RouteMain.vue b/src/pages/Route/RouteMain.vue index bbf19068e..e3d1ecf38 100644 --- a/src/pages/Route/RouteMain.vue +++ b/src/pages/Route/RouteMain.vue @@ -1,6 +1,6 @@ diff --git a/src/pages/Shelving/ShelvingMain.vue b/src/pages/Shelving/ShelvingMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Shelving/ShelvingMain.vue +++ b/src/pages/Shelving/ShelvingMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Supplier/SupplierMain.vue b/src/pages/Supplier/SupplierMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Supplier/SupplierMain.vue +++ b/src/pages/Supplier/SupplierMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Ticket/TicketMain.vue b/src/pages/Ticket/TicketMain.vue index f0dc2e500..c6a38a77a 100644 --- a/src/pages/Ticket/TicketMain.vue +++ b/src/pages/Ticket/TicketMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Travel/TravelMain.vue b/src/pages/Travel/TravelMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Travel/TravelMain.vue +++ b/src/pages/Travel/TravelMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Wagon/WagonMain.vue b/src/pages/Wagon/WagonMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Wagon/WagonMain.vue +++ b/src/pages/Wagon/WagonMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Worker/WorkerMain.vue b/src/pages/Worker/WorkerMain.vue index 66ce78f23..c6a38a77a 100644 --- a/src/pages/Worker/WorkerMain.vue +++ b/src/pages/Worker/WorkerMain.vue @@ -1,17 +1,7 @@ diff --git a/src/pages/Zone/ZoneMain.vue b/src/pages/Zone/ZoneMain.vue index 68ff9a5d1..b6f3fb74e 100644 --- a/src/pages/Zone/ZoneMain.vue +++ b/src/pages/Zone/ZoneMain.vue @@ -1,11 +1,9 @@