From e8111502c009c823f927d4fa817a83f17dbeb355 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 25 Jun 2024 10:28:48 +0200 Subject: [PATCH] refactor: refs #7014 deleted main files and changed route files --- src/pages/Account/AccountMain.vue | 7 ------- src/pages/Claim/ClaimMain.vue | 7 ------- src/pages/Customer/CustomerMain.vue | 7 ------- src/pages/Entry/EntryMain.vue | 7 ------- src/pages/InvoiceIn/InvoiceInMain.vue | 7 ------- src/pages/InvoiceOut/InvoiceOutMain.vue | 7 ------- src/pages/Item/ItemMain.vue | 7 ------- src/pages/Monitor/MonitorMain.vue | 7 ------- src/pages/Order/OrderMain.vue | 7 ------- src/pages/Shelving/ShelvingMain.vue | 7 ------- src/pages/Supplier/SupplierMain.vue | 7 ------- src/pages/Ticket/TicketMain.vue | 7 ------- src/pages/Travel/TravelMain.vue | 7 ------- src/pages/Wagon/WagonMain.vue | 7 ------- src/pages/Worker/WorkerMain.vue | 7 ------- src/router/modules/Supplier.js | 2 +- src/router/modules/account.js | 2 +- src/router/modules/claim.js | 2 +- src/router/modules/customer.js | 2 +- src/router/modules/entry.js | 2 +- src/router/modules/invoiceIn.js | 2 +- src/router/modules/invoiceOut.js | 2 +- src/router/modules/item.js | 2 +- src/router/modules/monitor.js | 2 +- src/router/modules/order.js | 2 +- src/router/modules/route.js | 2 +- src/router/modules/shelving.js | 2 +- src/router/modules/ticket.js | 2 +- src/router/modules/travel.js | 2 +- src/router/modules/wagon.js | 2 +- src/router/modules/worker.js | 2 +- src/router/modules/zone.js | 2 +- 32 files changed, 17 insertions(+), 122 deletions(-) delete mode 100644 src/pages/Account/AccountMain.vue delete mode 100644 src/pages/Claim/ClaimMain.vue delete mode 100644 src/pages/Customer/CustomerMain.vue delete mode 100644 src/pages/Entry/EntryMain.vue delete mode 100644 src/pages/InvoiceIn/InvoiceInMain.vue delete mode 100644 src/pages/InvoiceOut/InvoiceOutMain.vue delete mode 100644 src/pages/Item/ItemMain.vue delete mode 100644 src/pages/Monitor/MonitorMain.vue delete mode 100644 src/pages/Order/OrderMain.vue delete mode 100644 src/pages/Shelving/ShelvingMain.vue delete mode 100644 src/pages/Supplier/SupplierMain.vue delete mode 100644 src/pages/Ticket/TicketMain.vue delete mode 100644 src/pages/Travel/TravelMain.vue delete mode 100644 src/pages/Wagon/WagonMain.vue delete mode 100644 src/pages/Worker/WorkerMain.vue diff --git a/src/pages/Account/AccountMain.vue b/src/pages/Account/AccountMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Account/AccountMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Claim/ClaimMain.vue b/src/pages/Claim/ClaimMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Claim/ClaimMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Customer/CustomerMain.vue b/src/pages/Customer/CustomerMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Customer/CustomerMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Entry/EntryMain.vue b/src/pages/Entry/EntryMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Entry/EntryMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/InvoiceIn/InvoiceInMain.vue b/src/pages/InvoiceIn/InvoiceInMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/InvoiceIn/InvoiceInMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/InvoiceOut/InvoiceOutMain.vue b/src/pages/InvoiceOut/InvoiceOutMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/InvoiceOut/InvoiceOutMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Item/ItemMain.vue b/src/pages/Item/ItemMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Item/ItemMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Monitor/MonitorMain.vue b/src/pages/Monitor/MonitorMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Monitor/MonitorMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Order/OrderMain.vue b/src/pages/Order/OrderMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Order/OrderMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Shelving/ShelvingMain.vue b/src/pages/Shelving/ShelvingMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Shelving/ShelvingMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Supplier/SupplierMain.vue b/src/pages/Supplier/SupplierMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Supplier/SupplierMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Ticket/TicketMain.vue b/src/pages/Ticket/TicketMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Ticket/TicketMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Travel/TravelMain.vue b/src/pages/Travel/TravelMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Travel/TravelMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Wagon/WagonMain.vue b/src/pages/Wagon/WagonMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Wagon/WagonMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/pages/Worker/WorkerMain.vue b/src/pages/Worker/WorkerMain.vue deleted file mode 100644 index c6a38a77a..000000000 --- a/src/pages/Worker/WorkerMain.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/router/modules/Supplier.js b/src/router/modules/Supplier.js index da45aad2f..b711066b2 100644 --- a/src/router/modules/Supplier.js +++ b/src/router/modules/Supplier.js @@ -29,7 +29,7 @@ export default { { path: '', name: 'SupplierMain', - component: () => import('src/pages/Supplier/SupplierMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'SupplierList' }, children: [ { diff --git a/src/router/modules/account.js b/src/router/modules/account.js index 6f3f8c25b..3faa00fbc 100644 --- a/src/router/modules/account.js +++ b/src/router/modules/account.js @@ -34,7 +34,7 @@ export default { { path: '', name: 'AccountMain', - component: () => import('src/pages/Account/AccountMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'AccountList' }, children: [ { diff --git a/src/router/modules/claim.js b/src/router/modules/claim.js index 65c714418..cced9e24d 100644 --- a/src/router/modules/claim.js +++ b/src/router/modules/claim.js @@ -26,7 +26,7 @@ export default { { name: 'ClaimMain', path: '', - component: () => import('src/pages/Claim/ClaimMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'ClaimList' }, children: [ { diff --git a/src/router/modules/customer.js b/src/router/modules/customer.js index 3aece0dfe..2e4f24d94 100644 --- a/src/router/modules/customer.js +++ b/src/router/modules/customer.js @@ -38,7 +38,7 @@ export default { { path: '', name: 'CustomerMain', - component: () => import('src/pages/Customer/CustomerMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'CustomerList' }, children: [ { diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js index 67fc41824..a5d4fc229 100644 --- a/src/router/modules/entry.js +++ b/src/router/modules/entry.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'EntryMain', - component: () => import('src/pages/Entry/EntryMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'EntryList' }, children: [ { diff --git a/src/router/modules/invoiceIn.js b/src/router/modules/invoiceIn.js index 75d0612aa..cd8f7de9c 100644 --- a/src/router/modules/invoiceIn.js +++ b/src/router/modules/invoiceIn.js @@ -25,7 +25,7 @@ export default { { path: '', name: 'InvoiceInMain', - component: () => import('src/pages/InvoiceIn/InvoiceInMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'InvoiceInList' }, children: [ { diff --git a/src/router/modules/invoiceOut.js b/src/router/modules/invoiceOut.js index 7c05b82e6..f3c916281 100644 --- a/src/router/modules/invoiceOut.js +++ b/src/router/modules/invoiceOut.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'InvoiceOutMain', - component: () => import('src/pages/InvoiceOut/InvoiceOutMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'InvoiceOutList' }, children: [ { diff --git a/src/router/modules/item.js b/src/router/modules/item.js index 6e8659747..732997318 100644 --- a/src/router/modules/item.js +++ b/src/router/modules/item.js @@ -35,7 +35,7 @@ export default { { path: '', name: 'ItemMain', - component: () => import('src/pages/Item/ItemMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'ItemList' }, children: [ { diff --git a/src/router/modules/monitor.js b/src/router/modules/monitor.js index 6c388a474..f0db8d3f3 100644 --- a/src/router/modules/monitor.js +++ b/src/router/modules/monitor.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'MonitorMain', - component: () => import('src/pages/Monitor/MonitorMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'MonitorList' }, children: [ { diff --git a/src/router/modules/order.js b/src/router/modules/order.js index eb5424e75..15bc98757 100644 --- a/src/router/modules/order.js +++ b/src/router/modules/order.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'OrderMain', - component: () => import('src/pages/Order/OrderMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'OrderList' }, children: [ { diff --git a/src/router/modules/route.js b/src/router/modules/route.js index 8e08d7222..862ec538b 100644 --- a/src/router/modules/route.js +++ b/src/router/modules/route.js @@ -18,7 +18,7 @@ export default { { path: '/route', name: 'RouteMain', - component: () => import('src/pages/Route/RouteMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'RouteList' }, children: [ { diff --git a/src/router/modules/shelving.js b/src/router/modules/shelving.js index d20ce40f4..70145dfb4 100644 --- a/src/router/modules/shelving.js +++ b/src/router/modules/shelving.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'ShelvingMain', - component: () => import('src/pages/Shelving/ShelvingMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'ShelvingList' }, children: [ { diff --git a/src/router/modules/ticket.js b/src/router/modules/ticket.js index 71b926308..a08f16206 100644 --- a/src/router/modules/ticket.js +++ b/src/router/modules/ticket.js @@ -18,7 +18,7 @@ export default { { name: 'TicketMain', path: '', - component: () => import('src/pages/Ticket/TicketMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'TicketList' }, children: [ { diff --git a/src/router/modules/travel.js b/src/router/modules/travel.js index e1a08e9de..627692be8 100644 --- a/src/router/modules/travel.js +++ b/src/router/modules/travel.js @@ -18,7 +18,7 @@ export default { { path: '', name: 'TravelMain', - component: () => import('src/pages/Travel/TravelMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'TravelList' }, children: [ { diff --git a/src/router/modules/wagon.js b/src/router/modules/wagon.js index 6f9a4c819..681e9b6a6 100644 --- a/src/router/modules/wagon.js +++ b/src/router/modules/wagon.js @@ -18,7 +18,7 @@ export default { { path: '/wagon', name: 'WagonMain', - component: () => import('src/pages/Wagon/WagonMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'WagonList' }, children: [ { diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index 927d11802..36ee55d8e 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -29,7 +29,7 @@ export default { { path: '', name: 'WorkerMain', - component: () => import('src/pages/Worker/WorkerMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'WorkerList' }, children: [ { diff --git a/src/router/modules/zone.js b/src/router/modules/zone.js index fd6fa959b..889b47464 100644 --- a/src/router/modules/zone.js +++ b/src/router/modules/zone.js @@ -29,7 +29,7 @@ export default { { path: '/zone', name: 'ZoneMain', - component: () => import('src/pages/Zone/ZoneMain.vue'), + component: () => import('src/components/common/VnSectionMain.vue'), redirect: { name: 'ZoneList' }, children: [ {