From 0c4ff92fd5a49a030d6b321cbfaf77f5b258b9f7 Mon Sep 17 00:00:00 2001 From: Nyavokevin <42602932+nyavokevin@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:43:18 +0300 Subject: [PATCH] add defunt et intervention --- .../Organism/Defunts/DefuntPresentation.vue | 23 ++ .../InterventionPresentation.vue | 23 ++ .../interventionDetailsPresentation.vue | 71 +++++ .../components/atoms/Defunts/DefuntCard.vue | 161 ++++++++++ .../atoms/Interventions/CardInterventions.vue | 113 +++++++ .../molecules/Defunts/DefuntsList.vue | 178 +++++++++++ .../Interventions/interventionDetails.vue | 298 ++++++++++++++++++ .../Interventions/interventionsList.vue | 187 +++++++++++ .../src/components/molecules/thanat | 205 ------------ .../src/components/molecules/thanatopract | 76 ----- .../templates/Defunts/DefuntDetails.vue | 3 + .../Employee => Defunts/DefuntsTemplate.vue} | 8 +- .../InterventionDetailsTemplate.vue | 16 + .../Interventions/InterventionsTemplate.vue | 23 ++ .../src/examples/BotMessageConfigurator.vue | 174 +++++----- .../src/examples/Sidenav/SidenavList.vue | 16 + thanasoft-front/src/router/index.js | 16 + .../pages/Defunts/Defunts.vue} | 0 .../src/views/pages/Defunts/ListeDefunts.vue | 6 + .../Interventions/InterventionDetails.vue | 6 + .../pages/Interventions/Interventions.vue | 6 + 21 files changed, 1240 insertions(+), 369 deletions(-) create mode 100644 thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue create mode 100644 thanasoft-front/src/components/Organism/Interventions/InterventionPresentation.vue create mode 100644 thanasoft-front/src/components/Organism/Interventions/interventionDetailsPresentation.vue create mode 100644 thanasoft-front/src/components/atoms/Defunts/DefuntCard.vue create mode 100644 thanasoft-front/src/components/atoms/Interventions/CardInterventions.vue create mode 100644 thanasoft-front/src/components/molecules/Defunts/DefuntsList.vue create mode 100644 thanasoft-front/src/components/molecules/Interventions/interventionDetails.vue create mode 100644 thanasoft-front/src/components/molecules/Interventions/interventionsList.vue delete mode 100644 thanasoft-front/src/components/molecules/thanat delete mode 100644 thanasoft-front/src/components/molecules/thanatopract create mode 100644 thanasoft-front/src/components/templates/Defunts/DefuntDetails.vue rename thanasoft-front/src/components/templates/{CRM/Employee => Defunts/DefuntsTemplate.vue} (69%) create mode 100644 thanasoft-front/src/components/templates/Interventions/InterventionDetailsTemplate.vue create mode 100644 thanasoft-front/src/components/templates/Interventions/InterventionsTemplate.vue rename thanasoft-front/src/{components/templates/CRM/ThanatopractitionerDetail => views/pages/Defunts/Defunts.vue} (100%) create mode 100644 thanasoft-front/src/views/pages/Defunts/ListeDefunts.vue create mode 100644 thanasoft-front/src/views/pages/Interventions/InterventionDetails.vue create mode 100644 thanasoft-front/src/views/pages/Interventions/Interventions.vue diff --git a/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue b/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue new file mode 100644 index 0000000..8853f07 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue @@ -0,0 +1,23 @@ + + diff --git a/thanasoft-front/src/components/Organism/Interventions/InterventionPresentation.vue b/thanasoft-front/src/components/Organism/Interventions/InterventionPresentation.vue new file mode 100644 index 0000000..68a4caa --- /dev/null +++ b/thanasoft-front/src/components/Organism/Interventions/InterventionPresentation.vue @@ -0,0 +1,23 @@ + + diff --git a/thanasoft-front/src/components/Organism/Interventions/interventionDetailsPresentation.vue b/thanasoft-front/src/components/Organism/Interventions/interventionDetailsPresentation.vue new file mode 100644 index 0000000..91cd5e3 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Interventions/interventionDetailsPresentation.vue @@ -0,0 +1,71 @@ + + diff --git a/thanasoft-front/src/components/atoms/Defunts/DefuntCard.vue b/thanasoft-front/src/components/atoms/Defunts/DefuntCard.vue new file mode 100644 index 0000000..244526f --- /dev/null +++ b/thanasoft-front/src/components/atoms/Defunts/DefuntCard.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/thanasoft-front/src/components/atoms/Interventions/CardInterventions.vue b/thanasoft-front/src/components/atoms/Interventions/CardInterventions.vue new file mode 100644 index 0000000..2e2f19b --- /dev/null +++ b/thanasoft-front/src/components/atoms/Interventions/CardInterventions.vue @@ -0,0 +1,113 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Defunts/DefuntsList.vue b/thanasoft-front/src/components/molecules/Defunts/DefuntsList.vue new file mode 100644 index 0000000..aa333eb --- /dev/null +++ b/thanasoft-front/src/components/molecules/Defunts/DefuntsList.vue @@ -0,0 +1,178 @@ + + + + diff --git a/thanasoft-front/src/components/molecules/Interventions/interventionDetails.vue b/thanasoft-front/src/components/molecules/Interventions/interventionDetails.vue new file mode 100644 index 0000000..d652b3f --- /dev/null +++ b/thanasoft-front/src/components/molecules/Interventions/interventionDetails.vue @@ -0,0 +1,298 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Interventions/interventionsList.vue b/thanasoft-front/src/components/molecules/Interventions/interventionsList.vue new file mode 100644 index 0000000..e579a65 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Interventions/interventionsList.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/thanat b/thanasoft-front/src/components/molecules/thanat deleted file mode 100644 index b6cd7d6..0000000 --- a/thanasoft-front/src/components/molecules/thanat +++ /dev/null @@ -1,205 +0,0 @@ - - - - - diff --git a/thanasoft-front/src/components/molecules/thanatopract b/thanasoft-front/src/components/molecules/thanatopract deleted file mode 100644 index 64e1d23..0000000 --- a/thanasoft-front/src/components/molecules/thanatopract +++ /dev/null @@ -1,76 +0,0 @@ - - - \ No newline at end of file diff --git a/thanasoft-front/src/components/templates/Defunts/DefuntDetails.vue b/thanasoft-front/src/components/templates/Defunts/DefuntDetails.vue new file mode 100644 index 0000000..ecce517 --- /dev/null +++ b/thanasoft-front/src/components/templates/Defunts/DefuntDetails.vue @@ -0,0 +1,3 @@ + diff --git a/thanasoft-front/src/components/templates/CRM/Employee b/thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue similarity index 69% rename from thanasoft-front/src/components/templates/CRM/Employee rename to thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue index fe2a9d3..f92a394 100644 --- a/thanasoft-front/src/components/templates/CRM/Employee +++ b/thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue @@ -2,19 +2,19 @@
- +
- +
-
- +
+
diff --git a/thanasoft-front/src/components/templates/Interventions/InterventionDetailsTemplate.vue b/thanasoft-front/src/components/templates/Interventions/InterventionDetailsTemplate.vue new file mode 100644 index 0000000..73c3304 --- /dev/null +++ b/thanasoft-front/src/components/templates/Interventions/InterventionDetailsTemplate.vue @@ -0,0 +1,16 @@ + diff --git a/thanasoft-front/src/components/templates/Interventions/InterventionsTemplate.vue b/thanasoft-front/src/components/templates/Interventions/InterventionsTemplate.vue new file mode 100644 index 0000000..b79250e --- /dev/null +++ b/thanasoft-front/src/components/templates/Interventions/InterventionsTemplate.vue @@ -0,0 +1,23 @@ + + diff --git a/thanasoft-front/src/examples/BotMessageConfigurator.vue b/thanasoft-front/src/examples/BotMessageConfigurator.vue index b4014c4..7d4ebf5 100644 --- a/thanasoft-front/src/examples/BotMessageConfigurator.vue +++ b/thanasoft-front/src/examples/BotMessageConfigurator.vue @@ -1,7 +1,7 @@ - diff --git a/thanasoft-front/src/examples/Sidenav/SidenavList.vue b/thanasoft-front/src/examples/Sidenav/SidenavList.vue index 5c99d18..f470f41 100644 --- a/thanasoft-front/src/examples/Sidenav/SidenavList.vue +++ b/thanasoft-front/src/examples/Sidenav/SidenavList.vue @@ -135,6 +135,22 @@ export default { miniIcon: "C", route: { name: "Gestion contacts" }, }, + { + id: "interventions", + type: "single", + text: "Interventions", + icon: "Office", + miniIcon: "I", + route: { name: "Interventions" }, + }, + { + id: "Defunts", + type: "single", + text: "Defunts", + icon: "Office", + miniIcon: "I", + route: { name: "Defunts" }, + }, { id: "gestion-section", type: "section-header", diff --git a/thanasoft-front/src/router/index.js b/thanasoft-front/src/router/index.js index 9aa5a96..08a25d3 100644 --- a/thanasoft-front/src/router/index.js +++ b/thanasoft-front/src/router/index.js @@ -569,6 +569,22 @@ const routes = [ "@/views/pages/Thanatopractitioners/ThanatopractitionerDetails.vue" ), }, + { + path: "/interventions", + name: "Interventions", + component: () => import("@/views/pages/Interventions/Interventions.vue"), + }, + { + path: "/intervention", + name: "Intervention details", + component: () => + import("@/views/pages/Interventions/InterventionDetails.vue"), + }, + { + path: "/defunts", + name: "Defunts", + component: () => import("@/views/pages/Defunts/ListeDefunts.vue"), + }, // Paramétrage { path: "/parametrage/droits", diff --git a/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetail b/thanasoft-front/src/views/pages/Defunts/Defunts.vue similarity index 100% rename from thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetail rename to thanasoft-front/src/views/pages/Defunts/Defunts.vue diff --git a/thanasoft-front/src/views/pages/Defunts/ListeDefunts.vue b/thanasoft-front/src/views/pages/Defunts/ListeDefunts.vue new file mode 100644 index 0000000..364cb06 --- /dev/null +++ b/thanasoft-front/src/views/pages/Defunts/ListeDefunts.vue @@ -0,0 +1,6 @@ + + diff --git a/thanasoft-front/src/views/pages/Interventions/InterventionDetails.vue b/thanasoft-front/src/views/pages/Interventions/InterventionDetails.vue new file mode 100644 index 0000000..43ef681 --- /dev/null +++ b/thanasoft-front/src/views/pages/Interventions/InterventionDetails.vue @@ -0,0 +1,6 @@ + + diff --git a/thanasoft-front/src/views/pages/Interventions/Interventions.vue b/thanasoft-front/src/views/pages/Interventions/Interventions.vue new file mode 100644 index 0000000..7ef52e4 --- /dev/null +++ b/thanasoft-front/src/views/pages/Interventions/Interventions.vue @@ -0,0 +1,6 @@ + +