fix: eslint
This commit is contained in:
parent
0d0ec255a5
commit
cc1fc9b45b
@ -1,71 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="canvas">
|
|
||||||
<Probleme class="Probleme" />
|
|
||||||
<Segments class="Segments" />
|
|
||||||
<Valeur class="Valeur" />
|
|
||||||
<Solution class="Solution" />
|
|
||||||
<Avantage class="Avantage" />
|
|
||||||
<Canaux class="Canaux" />
|
|
||||||
<Indicateurs class="Indicateurs" />
|
|
||||||
<Couts class="Couts" />
|
|
||||||
<Revenus class="Revenus" />
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import Probleme from "./Probleme.vue";
|
|
||||||
import Segments from "./Segments.vue";
|
|
||||||
import Solution from "./Solution.vue";
|
|
||||||
import Valeur from "./Valeur.vue";
|
|
||||||
import Canaux from "./Canaux.vue";
|
|
||||||
import Revenus from "./Revenus.vue";
|
|
||||||
import Couts from "./Couts.vue";
|
|
||||||
import Indicateurs from "./Indicateurs.vue";
|
|
||||||
import Avantage from "./Avantage.vue";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: {
|
|
||||||
Probleme,
|
|
||||||
Segments,
|
|
||||||
Solution,
|
|
||||||
Valeur,
|
|
||||||
Canaux,
|
|
||||||
Revenus,
|
|
||||||
Couts,
|
|
||||||
Indicateurs,
|
|
||||||
Avantage
|
|
||||||
}
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.canvas {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(10, 1fr);
|
|
||||||
grid-template-rows: repeat(6, 1fr);
|
|
||||||
gap: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Probleme { grid-column: 1 / 3; grid-row: 1 / 5; }
|
|
||||||
.Segments { grid-column: 9 / 11; grid-row: 1 / 5; }
|
|
||||||
.Valeur { grid-column: 5 / 7; grid-row: 1 / 5; }
|
|
||||||
.Solution { grid-column: 3 / 5; grid-row: 1 / 3; }
|
|
||||||
.Avantage { grid-column: 7 / 9; grid-row: 1 / 3; }
|
|
||||||
.Canaux { grid-column: 7 / 9; grid-row: 3 / 5; }
|
|
||||||
.Indicateurs { grid-column: 3 / 5; grid-row: 3 / 5; }
|
|
||||||
.Couts { grid-column: 1 / 6; grid-row: 5 / 7; }
|
|
||||||
.Revenus { grid-column: 6 / 11; grid-row: 5 / 7; }
|
|
||||||
|
|
||||||
.expanded {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%; /* Remplit toute la zone sans dépassement */
|
|
||||||
height: 100%;
|
|
||||||
transition: all 0.3s ease;
|
|
||||||
z-index: 10;
|
|
||||||
background: white; /* S'assurer que le contenu s'affiche correctement */
|
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optionnel : un petit effet visuel */
|
|
||||||
}
|
|
||||||
</style>
|
|
@ -1,7 +1,7 @@
|
|||||||
import { type AxiosError, type AxiosResponse } from "axios";
|
import { type AxiosError, type AxiosResponse } from "axios";
|
||||||
import Report from "@/ApiClasses/Repport";
|
import Report from "@/ApiClasses/Repport";
|
||||||
import ProjectDecision from "@/ApiClasses/ProjectDecision";
|
import ProjectDecision from "@/ApiClasses/ProjectDecision";
|
||||||
import UserAdmin from "@/ApiClasses/UserAdmin";
|
//import UserAdmin from "@/ApiClasses/UserAdmin";
|
||||||
import {
|
import {
|
||||||
axiosInstance,
|
axiosInstance,
|
||||||
defaultApiErrorHandler,
|
defaultApiErrorHandler,
|
||||||
@ -320,7 +320,6 @@ function createAdmin(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
axiosInstance,
|
axiosInstance,
|
||||||
//requestJoinProject, // Not yet implemented [cite: 4]
|
//requestJoinProject, // Not yet implemented [cite: 4]
|
||||||
|
@ -47,7 +47,7 @@ import PendingRequestsManager from "@/components/PendingRequestsManager.vue";
|
|||||||
import { createAdmin } from "@/services/Apis/Admin";
|
import { createAdmin } from "@/services/Apis/Admin";
|
||||||
import Project from "@/ApiClasses/Project";
|
import Project from "@/ApiClasses/Project";
|
||||||
import UserEntrepreneur from "@/ApiClasses/UserEntrepreneur";
|
import UserEntrepreneur from "@/ApiClasses/UserEntrepreneur";
|
||||||
import UserAdmin from "@/ApiClasses/UserAdmin";
|
//import UserAdmin from "@/ApiClasses/UserAdmin";
|
||||||
//import AllEntrep from "../components/AllEntrep.vue";
|
//import AllEntrep from "../components/AllEntrep.vue";
|
||||||
const projects = ref<
|
const projects = ref<
|
||||||
{
|
{
|
||||||
@ -57,8 +57,6 @@ const projects = ref<
|
|||||||
}[]
|
}[]
|
||||||
>([]);
|
>([]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const fallbackProjects = [
|
const fallbackProjects = [
|
||||||
{
|
{
|
||||||
name: "Projet Alpha",
|
name: "Projet Alpha",
|
||||||
@ -78,7 +76,10 @@ const createFirstAdmin = () => {
|
|||||||
console.log("Admin créé avec succès :", response.data);
|
console.log("Admin créé avec succès :", response.data);
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
console.error("Erreur lors de la création de l'admin :", error.message);
|
console.error(
|
||||||
|
"Erreur lors de la création de l'admin :",
|
||||||
|
error.message
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -136,7 +137,6 @@ const fetchProjects = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const pendingProjects = ref<Project[]>([]);
|
const pendingProjects = ref<Project[]>([]);
|
||||||
|
|
||||||
const mockPendingProjects = [
|
const mockPendingProjects = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user