From 64d28b718fd3b61f765e248210c6622dcc8ba147 Mon Sep 17 00:00:00 2001 From: kazhamiakin Date: Fri, 20 Oct 2023 14:00:15 +0200 Subject: [PATCH] UI fixes --- .../specific-modals/CompanyFormModal.vue | 38 +++++++++---------- .../src/components/stats-views/DataTable.vue | 24 ++++++++++-- .../src/pages/companies/Company.vue | 6 +-- .../src/pages/employees/Employee.vue | 4 +- .../src/pages/employees/Employees.vue | 6 ++- .../src/services/viewStat.services.js | 12 ++++-- console_aziendale/src/store/modal.module.js | 1 + 7 files changed, 58 insertions(+), 33 deletions(-) diff --git a/console_aziendale/src/components/modal/specific-modals/CompanyFormModal.vue b/console_aziendale/src/components/modal/specific-modals/CompanyFormModal.vue index b0c2a8b1..f5a9a5a9 100644 --- a/console_aziendale/src/components/modal/specific-modals/CompanyFormModal.vue +++ b/console_aziendale/src/components/modal/specific-modals/CompanyFormModal.vue @@ -54,21 +54,18 @@ - + > t); + this.territoryIds = res.items.filter(t => t.territoryId); } }, }, - created() { + mounted() { this.setModalData(); this.getTerritories(); }, diff --git a/console_aziendale/src/components/stats-views/DataTable.vue b/console_aziendale/src/components/stats-views/DataTable.vue index c0be6497..d260f00f 100644 --- a/console_aziendale/src/components/stats-views/DataTable.vue +++ b/console_aziendale/src/components/stats-views/DataTable.vue @@ -8,16 +8,25 @@ -