From e03257f6fbdd5c010eeed3158d1e2d305cbdef0b Mon Sep 17 00:00:00 2001 From: bartool Date: Thu, 30 Apr 2026 16:37:04 +0200 Subject: [PATCH] refaktoryzacja paneli i widokow --- frontend/src/components/OrderCard.vue | 118 +++--------- frontend/src/components/ProductionPreview.vue | 91 +++++++++ .../right-drawer/RightDrawerHost.vue | 48 +++++ .../panels/AdvancedSearchPanel.vue | 105 +++++++++++ .../panels/ProductSpecificationPanel.vue | 178 ++++++++++++++++++ .../panels/ProductionStatusesPanel.vue | 122 ++++++++++++ frontend/src/layouts/MainLayout.vue | 22 +++ frontend/src/pages/IndexPage.vue | 166 +++++++++++----- 8 files changed, 709 insertions(+), 141 deletions(-) create mode 100644 frontend/src/components/ProductionPreview.vue create mode 100644 frontend/src/components/right-drawer/RightDrawerHost.vue create mode 100644 frontend/src/components/right-drawer/panels/AdvancedSearchPanel.vue create mode 100644 frontend/src/components/right-drawer/panels/ProductSpecificationPanel.vue create mode 100644 frontend/src/components/right-drawer/panels/ProductionStatusesPanel.vue diff --git a/frontend/src/components/OrderCard.vue b/frontend/src/components/OrderCard.vue index 05555b7..193a6c3 100644 --- a/frontend/src/components/OrderCard.vue +++ b/frontend/src/components/OrderCard.vue @@ -3,60 +3,45 @@
- {{ order.orderId }} -

{{ order.model }}

-

{{ order.client }}

+ {{ product.orderId }} +

{{ product.model }}

+

{{ product.client }}

- {{ assignedOrder }} + {{ productionList }}
- {{ order.finish }} -
-
-
-
- Deska -
-
-
- - -
-
-
-
- Gryf -
-
-
- - + {{ product.finish }}
+ + diff --git a/frontend/src/components/ProductionPreview.vue b/frontend/src/components/ProductionPreview.vue new file mode 100644 index 0000000..e37a618 --- /dev/null +++ b/frontend/src/components/ProductionPreview.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/frontend/src/components/right-drawer/RightDrawerHost.vue b/frontend/src/components/right-drawer/RightDrawerHost.vue new file mode 100644 index 0000000..33af2f5 --- /dev/null +++ b/frontend/src/components/right-drawer/RightDrawerHost.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/frontend/src/components/right-drawer/panels/AdvancedSearchPanel.vue b/frontend/src/components/right-drawer/panels/AdvancedSearchPanel.vue new file mode 100644 index 0000000..d53c8fc --- /dev/null +++ b/frontend/src/components/right-drawer/panels/AdvancedSearchPanel.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/frontend/src/components/right-drawer/panels/ProductSpecificationPanel.vue b/frontend/src/components/right-drawer/panels/ProductSpecificationPanel.vue new file mode 100644 index 0000000..3b1545d --- /dev/null +++ b/frontend/src/components/right-drawer/panels/ProductSpecificationPanel.vue @@ -0,0 +1,178 @@ + + + + + diff --git a/frontend/src/components/right-drawer/panels/ProductionStatusesPanel.vue b/frontend/src/components/right-drawer/panels/ProductionStatusesPanel.vue new file mode 100644 index 0000000..76cf443 --- /dev/null +++ b/frontend/src/components/right-drawer/panels/ProductionStatusesPanel.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 9a57f67..a9e9de4 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -21,6 +21,16 @@ + + + + @@ -30,7 +40,9 @@