Profil Menu #83
@ -1,6 +1,6 @@
 | 
				
			|||||||
<script setup>
 | 
					<script setup>
 | 
				
			||||||
  import {reactive, ref} from 'vue'
 | 
					  import {reactive, ref} from 'vue'
 | 
				
			||||||
  import {getUser,register} from '../rest/Users.js'
 | 
					  import {getUser} from '../rest/Users.js'
 | 
				
			||||||
 /* 
 | 
					 /* 
 | 
				
			||||||
  const user = getUser(); 
 | 
					  const user = getUser(); 
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
@ -11,14 +11,15 @@
 | 
				
			|||||||
  role:"student",
 | 
					  role:"student",
 | 
				
			||||||
  address: "Radiator Springs",
 | 
					  address: "Radiator Springs",
 | 
				
			||||||
  email:"ClydeGhost@gmail.com",
 | 
					  email:"ClydeGhost@gmail.com",
 | 
				
			||||||
  cursus:{
 | 
					  cursus:[
 | 
				
			||||||
  cours1:{  "id": 12,
 | 
					  {
 | 
				
			||||||
 | 
					  "id": 12,
 | 
				
			||||||
  "name": "Math pour l'info",
 | 
					  "name": "Math pour l'info",
 | 
				
			||||||
  "credits": 11,
 | 
					  "credits": 11,
 | 
				
			||||||
  "faculty": "science",
 | 
					  "faculty": "science",
 | 
				
			||||||
  "teacher": 42,
 | 
					  "teacher": 42,
 | 
				
			||||||
  "Assistants": []},
 | 
					  "Assistants": []},
 | 
				
			||||||
  cours2:{ 
 | 
					  {
 | 
				
			||||||
  "id": 42,
 | 
					  "id": 42,
 | 
				
			||||||
  "name": "Fonctionnement des ordinateurs",
 | 
					  "name": "Fonctionnement des ordinateurs",
 | 
				
			||||||
  "credits": 11,
 | 
					  "credits": 11,
 | 
				
			||||||
@ -26,7 +27,7 @@
 | 
				
			|||||||
  "teacher": 42,
 | 
					  "teacher": 42,
 | 
				
			||||||
  "Assistants": []},
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  },
 | 
					  ],
 | 
				
			||||||
  option:"IT",
 | 
					  option:"IT",
 | 
				
			||||||
  degree:"BAC1",
 | 
					  degree:"BAC1",
 | 
				
			||||||
  password:"CeciEstUnMotDePasse123",
 | 
					  password:"CeciEstUnMotDePasse123",
 | 
				
			||||||
@ -41,14 +42,14 @@
 | 
				
			|||||||
  role:"teacher",
 | 
					  role:"teacher",
 | 
				
			||||||
  address: "Radiator Springs",
 | 
					  address: "Radiator Springs",
 | 
				
			||||||
  email:"ClydeGhost@gmail.com",
 | 
					  email:"ClydeGhost@gmail.com",
 | 
				
			||||||
  coursesOwned:{
 | 
					  coursesOwned:[
 | 
				
			||||||
  cours1:{  
 | 
					  {  
 | 
				
			||||||
  "id": 12,
 | 
					  "id": 12,
 | 
				
			||||||
  "name": "Math pour l'info",
 | 
					  "name": "Math pour l'info",
 | 
				
			||||||
  "faculty": "science",
 | 
					  "faculty": "science",
 | 
				
			||||||
  "teacher": 42,
 | 
					  "teacher": 42,
 | 
				
			||||||
  "Assistants": []},
 | 
					  "Assistants": []},
 | 
				
			||||||
  cours2:{ 
 | 
					  { 
 | 
				
			||||||
  "id": 42,
 | 
					  "id": 42,
 | 
				
			||||||
  "name": "Fonctionnement des ordinateurs",
 | 
					  "name": "Fonctionnement des ordinateurs",
 | 
				
			||||||
  "credits": 11,
 | 
					  "credits": 11,
 | 
				
			||||||
@ -56,7 +57,7 @@
 | 
				
			|||||||
  "teacher": 42,
 | 
					  "teacher": 42,
 | 
				
			||||||
  "Assistants": []},
 | 
					  "Assistants": []},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  },
 | 
					  ],
 | 
				
			||||||
  faculty:"Science",
 | 
					  faculty:"Science",
 | 
				
			||||||
  })*/
 | 
					  })*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user