01/06/2024 - 14h30
parent
367d1a2bba
commit
b5d47bf4c6
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -262,6 +262,91 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
{ "id": "", "label": "", "value": "" },
|
||||
]
|
||||
|
||||
|
||||
|
||||
|
||||
const [New_Getall_Groupe_Membres_result, setNew_Getall_Groupe_Membres_result] = useState([]);
|
||||
|
||||
const [Getall_Groupe_Membres_api, setGetall_Groupe_Membres_api] = useState();
|
||||
const [Getall_Groupe_Membres_message, setGetall_Groupe_Membres_message] = useState();
|
||||
const [Getall_Groupe_Membres_result, setGetall_Groupe_Membres_result] = useState([]);
|
||||
function Getall_Groupe_Membres(local_groupe_id) {
|
||||
|
||||
var evalutaion_id = "";
|
||||
|
||||
var form = new FormData();
|
||||
|
||||
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
form.append("_id", local_groupe_id);
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Given_Groupe_Membres/";
|
||||
|
||||
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Groupe_Membres res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Groupe_Membres res.data.message r_class = " + res.data.message);
|
||||
setGetall_Groupe_Membres_api("true");
|
||||
setGetall_Groupe_Membres_result(res.data.message);
|
||||
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
// /!\ : ici on met l'inscription dans le '_id' exceptionnellement.
|
||||
// Ca permet de rester cohérent avec la recherche venant de la collection 'inscription', pas de recherche depuis un groupe de TD ou TP...
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x).inscription_id;
|
||||
var local_nom = JSON.parse(x).nom;
|
||||
var local_prenom = JSON.parse(x).prenom;
|
||||
var local_email = JSON.parse(x).email;
|
||||
var local_inscription_id = JSON.parse(x).inscription_id;
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_nom,
|
||||
"nom": local_nom,
|
||||
"prenom": local_prenom,
|
||||
"email": local_email,
|
||||
"groupe": "",
|
||||
"inscription_id": local_inscription_id,
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
|
||||
if (new_data2) {
|
||||
setNew_Getall_Groupe_Membres_result(new_data2);
|
||||
setNew_GetListePreinscrit_insc_result(new_data2);
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
setGetall_Groupe_Membres_api("false");
|
||||
setGetall_Groupe_Membres_message(res.data.message);
|
||||
alert(res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Getall_Groupe_Membres = ', error);
|
||||
setGetall_Groupe_Membres_api("false");
|
||||
alert(" Impossible de recuperer la liste des membres du groupe");
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const [New_GetListePreinscrit_insc_result, setNew_GetListePreinscrit_insc_result] = useState([]);
|
||||
|
||||
const [GetListePreinscrit_insc_api, setGetListePreinscrit_insc_api] = useState();
|
||||
const [GetListePreinscrit_insc_meassage, setGetListePreinscrit_insc_meassage] = useState();
|
||||
const [GetListePreinscrit_insc_result, setGetListePreinscrit_insc_result] = useState([])
|
||||
|
@ -291,8 +376,39 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
if (String(data['status']) === String("true")) {
|
||||
//console.log("erreur rrrr:" + data['status'])
|
||||
setGetListePreinscrit_insc_api("true");
|
||||
// setnb_stagiaire_Inscrit(data['message'].length);
|
||||
//console.log(" ### setnb_stagiaire_Inscrit = ", data['message'].length);
|
||||
|
||||
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = data['message'].map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_nom = JSON.parse(x).apprenant_nom;
|
||||
var local_prenom = JSON.parse(x).apprenant_prenom;
|
||||
var local_email = JSON.parse(x).apprenant_email;
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_nom + " " + local_prenom,
|
||||
"nom": local_nom,
|
||||
"prenom": local_prenom,
|
||||
"email": local_email,
|
||||
"groupe": "",
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
|
||||
if (new_data2) {
|
||||
setNew_GetListePreinscrit_insc_result(new_data2);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
} else if (String(data['status']) === String("Err_Connexion")) {
|
||||
alert('Erreur: ' + data['message']);
|
||||
|
@ -318,6 +434,11 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
if (String(p_filtre1_value) === "user") {
|
||||
GetListeInscrit();
|
||||
}
|
||||
|
||||
if (String(p_filtre1_value) === "user_group") {
|
||||
Getall_Groupe_Membres(p_filtre2_value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
const [gridline_id, setgridline_id] = useState("");
|
||||
|
@ -346,21 +467,18 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
|
||||
var liste_preinscr_id = GetSelectedRows_PreInsc_Ids();
|
||||
|
||||
//console.log(" liste_preinscr_id = ", liste_preinscr_id);
|
||||
|
||||
|
||||
|
||||
|
||||
var tab_mongo_preins_ids = [];
|
||||
|
||||
for (var i = 0; i < liste_preinscr_id.length; i++) {
|
||||
|
||||
var line = GetListePreinscrit_insc_result[liste_preinscr_id[i]]
|
||||
var line = New_GetListePreinscrit_insc_result[liste_preinscr_id[i]]
|
||||
|
||||
|
||||
var line_json = JSON.parse(line)
|
||||
//console.log(" line_json['prenom'] = ", line_json['prenom']);
|
||||
var line_json = line;
|
||||
console.log(" line_json = ", line_json);
|
||||
//console.log(" line_json['_id'] = ", line_json['_id']);
|
||||
tab_mongo_preins_ids.push(line_json['_id'])
|
||||
tab_mongo_preins_ids.push(line_json._id)
|
||||
|
||||
}
|
||||
|
||||
|
@ -722,11 +840,351 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
const [inscription_list_ue, setinscription_list_ue] = useState([]);
|
||||
const [inscription_list_ue_eval, setinscription_list_ue_eval] = useState([]);
|
||||
|
||||
|
||||
|
||||
const [New_Getall_Partner_Session_Reduice_Fields_result, setNew_Getall_Partner_Session_Reduice_Fields_result] = useState([]);
|
||||
|
||||
const [Getall_Partner_Session_Reduice_Fields_api, setGetall_Partner_Session_Reduice_Fields_api] = useState();
|
||||
const [Getall_Partner_Session_Reduice_Fields_message, setGetall_Partner_Session_Reduice_Fields_message] = useState();
|
||||
const [Getall_Partner_Session_Reduice_Fields_result, setGetall_Partner_Session_Reduice_Fields_result] = useState();
|
||||
function Getall_Partner_Session_Reduice_Fields(event) {
|
||||
|
||||
var form = new FormData();
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_Session_Ftion_Reduice_Fields/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Partner_Session_Reduice_Fields res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Partner_Session_Reduice_Fields res.data.message r_class = " + res.data.message);
|
||||
setGetall_Partner_Session_Reduice_Fields_api("true");
|
||||
setGetall_Partner_Session_Reduice_Fields_result(res.data.message);
|
||||
setRows(res.data.message);
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_code_session = JSON.parse(x).code_session;
|
||||
var local_titre = JSON.parse(x).titre;
|
||||
var local_class_internal_url = JSON.parse(x).class_internal_url;
|
||||
|
||||
var local_date_debut = JSON.parse(x).date_debut;
|
||||
var local_date_fin = JSON.parse(x).date_fin;
|
||||
|
||||
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_code_session,
|
||||
"code_session": local_code_session,
|
||||
"titre": local_titre,
|
||||
"class_internal_url": local_class_internal_url,
|
||||
"date_debut": local_date_debut,
|
||||
"date_fin": local_date_fin,
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"code_session": "",
|
||||
"titre": "",
|
||||
"class_internal_url": "",
|
||||
"date_debut": "",
|
||||
"date_fin": "",
|
||||
};
|
||||
new_data2.push(node);
|
||||
|
||||
|
||||
if (new_data2.length > 0)
|
||||
setNew_Getall_Partner_Session_Reduice_Fields_result(new_data2);
|
||||
|
||||
}
|
||||
else {
|
||||
setGetall_Partner_Session_Reduice_Fields_api("false");
|
||||
setGetall_Partner_Session_Reduice_Fields_message(res.data.message);
|
||||
alert(res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Getall_Partner_Session_Reduice_Fields = ', error);
|
||||
setGetall_Partner_Session_Reduice_Fields_api("false");
|
||||
alert(" Impossible de recuperer la liste des sessions de formation (classe)");
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
const [New_Getall_Partner_Class_Reduice_Fields_result, setNew_Getall_Partner_Class_Reduice_Fields_result] = useState([]);
|
||||
|
||||
const [Getall_Partner_Class_Reduice_Fields_api, setGetall_Partner_Class_Reduice_Fields_api] = useState();
|
||||
const [Getall_Partner_Class_Reduice_Fields_message, setGetall_Partner_Class_Reduice_Fields_message] = useState();
|
||||
const [Getall_Partner_Class_Reduice_Fields_result, setGetall_Partner_Class_Reduice_Fields_result] = useState();
|
||||
function Getall_Partner_Class_Reduice_Fields(event) {
|
||||
|
||||
var form = new FormData();
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Partner_All_Class_Few_Fields/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Partner_Class_Reduice_Fields res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Partner_Class_Reduice_Fields res.data.message r_class = " + res.data.message);
|
||||
setGetall_Partner_Class_Reduice_Fields_api("true");
|
||||
setGetall_Partner_Class_Reduice_Fields_result(res.data.message);
|
||||
setRows(res.data.message);
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_external_code = JSON.parse(x).external_code;
|
||||
var local_internal_code = JSON.parse(x).internal_code;
|
||||
var local_internal_url = JSON.parse(x).internal_url;
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_external_code,
|
||||
"external_code": local_external_code,
|
||||
"internal_code": local_internal_code,
|
||||
"internal_url": local_internal_url
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"external_code": "",
|
||||
"internal_code": "",
|
||||
"internal_url": ""
|
||||
};
|
||||
new_data2.push(node);
|
||||
|
||||
|
||||
if (new_data2.length > 0)
|
||||
setNew_Getall_Partner_Class_Reduice_Fields_result(new_data2);
|
||||
|
||||
}
|
||||
else {
|
||||
setGetall_Partner_Class_Reduice_Fields_api("false");
|
||||
setGetall_Partner_Class_Reduice_Fields_message(res.data.message);
|
||||
alert(res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Getall_Partner_Class_Reduice_Fields = ', error);
|
||||
setGetall_Partner_Class_Reduice_Fields_api("false");
|
||||
alert(" Impossible de recuperer la liste des formations");
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const [New_Getall_Partner_Groupe_Inscrit_result, setNew_Getall_Partner_Groupe_Inscrit_result] = useState([]);
|
||||
|
||||
const [Getall_Partner_Groupe_Inscrit_api, setGetall_Partner_Groupe_Inscrit_api] = useState();
|
||||
const [Getall_Partner_Groupe_Inscrit_message, setGetall_Partner_Groupe_Inscrit_message] = useState();
|
||||
const [Getall_Partner_Groupe_Inscrit_result, setGetall_Partner_Groupe_Inscrit_result] = useState([]);
|
||||
function Getall_Partner_Groupe_Inscrit(event) {
|
||||
|
||||
var form = new FormData();
|
||||
|
||||
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
form.append("session_id", props.session_id);
|
||||
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Groupe_Inscrit_With_Filter/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Partner_Groupe_Inscrit res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Partner_Groupe_Inscrit res.data.message r_class = " + res.data.message);
|
||||
setGetall_Partner_Groupe_Inscrit_api("true");
|
||||
setGetall_Partner_Groupe_Inscrit_result(res.data.message);
|
||||
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_code = JSON.parse(x).code;
|
||||
var local_nom = JSON.parse(x).nom;
|
||||
var local_type_groupe_code = JSON.parse(x).type_groupe_code;
|
||||
var local_class_id = JSON.parse(x).class_id;
|
||||
var local_session_id = JSON.parse(x).session_id;
|
||||
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_code,
|
||||
"code": local_code,
|
||||
"nom": local_nom,
|
||||
"type_groupe_code": local_type_groupe_code,
|
||||
"class_id": local_class_id,
|
||||
"session_id": local_session_id,
|
||||
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"code": "",
|
||||
"nom": "",
|
||||
"type_groupe_code": "",
|
||||
"class_id": "",
|
||||
"session_id": "",
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
|
||||
if (new_data2.length > 0)
|
||||
setNew_Getall_Partner_Groupe_Inscrit_result(new_data2);
|
||||
|
||||
}
|
||||
else {
|
||||
setGetall_Partner_Groupe_Inscrit_api("false");
|
||||
setGetall_Partner_Groupe_Inscrit_message(res.data.message);
|
||||
alert(res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Getall_Partner_Groupe_Inscrit = ', error);
|
||||
setGetall_Partner_Groupe_Inscrit_api("false");
|
||||
alert(" Impossible de recuperer la liste des groupes d'inscrits");
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Get_List_UE_From_Class_Id(props.class_id);
|
||||
Getall_Class_List_Evalution(props.class_id);
|
||||
}, [])
|
||||
|
||||
|
||||
Getall_Partner_Class_Reduice_Fields();
|
||||
Getall_Partner_Session_Reduice_Fields();
|
||||
|
||||
Getall_Groupe_Apprenant_Type();
|
||||
|
||||
Getall_Partner_Groupe_Inscrit();
|
||||
|
||||
|
||||
|
||||
}, []);
|
||||
|
||||
const [New_Getall_Groupe_Apprenant_Type_result, setNew_Getall_Groupe_Apprenant_Type_result] = useState([]);
|
||||
|
||||
const [Getall_Groupe_Apprenant_Type_api, setGetall_Groupe_Apprenant_Type_api] = useState();
|
||||
const [Getall_Groupe_Apprenant_Type_message, setGetall_Groupe_Apprenant_Type_message] = useState();
|
||||
const [Getall_Groupe_Apprenant_Type_result, setGetall_Groupe_Apprenant_Type_result] = useState();
|
||||
function Getall_Groupe_Apprenant_Type(event) {
|
||||
|
||||
var form = new FormData();
|
||||
const stored_cookie = getCookie('tokenmysypart');
|
||||
form.append("token", stored_cookie);
|
||||
|
||||
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_Type_Groupe_Apprenant/";
|
||||
|
||||
axios.post(myurl, form).then(res => {
|
||||
|
||||
if (String(res.data.status) === String("true")) {
|
||||
//console.log(" In Getall_Groupe_Apprenant_Type res.data.status = " + res.data.status);
|
||||
//console.log(" In Getall_Groupe_Apprenant_Type res.data.message r_class = " + res.data.message);
|
||||
setGetall_Groupe_Apprenant_Type_api("true");
|
||||
setGetall_Groupe_Apprenant_Type_result(res.data.message);
|
||||
setRows(res.data.message);
|
||||
|
||||
var new_data2 = [];
|
||||
const new_data = res.data.message.map((x) => {
|
||||
|
||||
//---
|
||||
var localid = JSON.parse(x).id;
|
||||
var local_id = JSON.parse(x)._id;
|
||||
var local_code = JSON.parse(x).code;
|
||||
var local_description = JSON.parse(x).description;
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": local_id,
|
||||
"id": localid,
|
||||
"label": local_code + " - " + local_description,
|
||||
"code": local_code,
|
||||
"description": local_description,
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
});
|
||||
|
||||
|
||||
//---
|
||||
var node = {
|
||||
"_id": "",
|
||||
"id": "",
|
||||
"label": "",
|
||||
"code": "",
|
||||
"description": "",
|
||||
|
||||
};
|
||||
new_data2.push(node);
|
||||
|
||||
|
||||
if (new_data2.length > 0)
|
||||
setNew_Getall_Groupe_Apprenant_Type_result(new_data2);
|
||||
|
||||
}
|
||||
else {
|
||||
setGetall_Groupe_Apprenant_Type_api("false");
|
||||
setGetall_Groupe_Apprenant_Type_message(res.data.message);
|
||||
alert(res.data.message);
|
||||
}
|
||||
|
||||
}).catch((error) => {
|
||||
console.warn('Not good man :( Getall_Groupe_Apprenant_Type = ', error);
|
||||
setGetall_Groupe_Apprenant_Type_api("false");
|
||||
alert(" Impossible de recuperer la liste des type de groupe d'apprenants");
|
||||
//setmyApimyApiMessage("")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
const icon = <CheckBoxOutlineBlankIcon fontSize="small" />;
|
||||
const checkedIcon = <CheckBoxIcon fontSize="small" />;
|
||||
|
@ -820,17 +1278,18 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
</div>
|
||||
<div className="div_row_droite texte_area_filter_value" style={{ "marginTop": "0.5rem" }}>
|
||||
{p_filtre1_value && String(p_filtre1_value) === "user_group" &&
|
||||
New_Getall_Partner_Groupe_Inscrit_result && New_Getall_Partner_Groupe_Inscrit_result.length > 0 &&
|
||||
|
||||
<Autocomplete
|
||||
disablePortal
|
||||
name="filtre2_value"
|
||||
id="filtre2_value"
|
||||
className="disabled_style"
|
||||
value={New_Option_type_goupe.filter((data) => (data).value === String(p_filtre2_value))[0].label}
|
||||
options={New_Option_type_goupe}
|
||||
value={New_Getall_Partner_Groupe_Inscrit_result.filter((data) => (data)._id === String(p_filtre2_value))[0].label}
|
||||
options={New_Getall_Partner_Groupe_Inscrit_result}
|
||||
onChange={(event, value) => {
|
||||
if (value && value.value) {
|
||||
setp_filtre2_value(value.value);
|
||||
if (value && value._id) {
|
||||
setp_filtre2_value(value._id);
|
||||
} else {
|
||||
setp_filtre2_value("");
|
||||
}
|
||||
|
@ -987,15 +1446,15 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
selectionModel={selectionModel_participants}
|
||||
|
||||
localeText={frFR.components.MuiDataGrid.defaultProps.localeText}
|
||||
rows={GetListePreinscrit_insc_result.map((item, index) => (
|
||||
rows={New_GetListePreinscrit_insc_result.map((item, index) => (
|
||||
{
|
||||
id: index,
|
||||
_id: JSON.parse(item)._id,
|
||||
code: JSON.parse(item).code,
|
||||
email: JSON.parse(item).apprenant_email,
|
||||
nom: JSON.parse(item).apprenant_nom,
|
||||
prenom: JSON.parse(item).apprenant_prenom,
|
||||
groupe: JSON.parse(item).groupe,
|
||||
_id: (item)._id,
|
||||
code: (item).code,
|
||||
email: (item).email,
|
||||
nom: (item).nom,
|
||||
prenom: (item).prenom,
|
||||
groupe: (item).groupe,
|
||||
}
|
||||
))}
|
||||
|
||||
|
@ -1145,7 +1604,7 @@ const Module_Selection_Evaluation_Apprenants = (props) => {
|
|||
|
||||
<div className="div_row" style={{ "border": "None" }}>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -271,7 +271,7 @@ const Notes_Evaluation = (props) => {
|
|||
<div className="gest_content">
|
||||
{' '}
|
||||
|
||||
En confirmant cette opération, l'employé sera <i><font color="red"> définitivement supprimé</font></i>. <br />
|
||||
En confirmant cette opération, l'évaluation sera <i><font color="red"> définitivement supprimée</font></i>. <br />
|
||||
|
||||
</div>
|
||||
<div className="gest_actions">
|
||||
|
@ -2038,6 +2038,7 @@ const Notes_Evaluation = (props) => {
|
|||
|
||||
const New_Option_PreInscription = [
|
||||
{ "id": "delete_inscr", "label": "Supprimer", "value": "delete_inscr" },
|
||||
{ "id": "", "label": "", "value": "" },
|
||||
]
|
||||
|
||||
|
||||
|
@ -2464,7 +2465,7 @@ const Notes_Evaluation = (props) => {
|
|||
setLoading(false);
|
||||
//console.log(" In Export_Dashbord_to_CSV res.data = " + res.data);
|
||||
if (String(res.data) === String("false")) {
|
||||
alert("Impossible d'exporter les réponses (2) ");
|
||||
alert("Impossible d'exporter les notes (2) ");
|
||||
} else {
|
||||
fileDownload(res.data, nom_fichier_cmd)
|
||||
|
||||
|
@ -3564,12 +3565,12 @@ const Notes_Evaluation = (props) => {
|
|||
|
||||
</div>
|
||||
|
||||
<div className="session_caract"> <b> titre </b> <br />
|
||||
<div className="session_caract"> <b> Titre </b> <br />
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
required
|
||||
name="detail_titre_01"
|
||||
id="detail_titre_01"
|
||||
name="detail_titre"
|
||||
id="detail_titre"
|
||||
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
|
@ -3841,7 +3842,7 @@ const Notes_Evaluation = (props) => {
|
|||
|
||||
</div>
|
||||
|
||||
<div className="session_caract"> <b> titre </b> <br />
|
||||
<div className="session_caract"> <b> Titre </b> <br />
|
||||
<TextField
|
||||
sx={{ '& legend': { display: 'none' }, '& fieldset': { top: 0 }, }}
|
||||
required
|
||||
|
@ -5269,6 +5270,7 @@ const Notes_Evaluation = (props) => {
|
|||
<div className="div_row" style={{ "border": "None" }}>
|
||||
|
||||
</div>
|
||||
|
||||
</div>}
|
||||
|
||||
</div >
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -114,4 +114,5 @@
|
|||
@import "./components/partner_ftion_initiale_configuration";
|
||||
@import "./components/note_evaluation";
|
||||
@import "./components/moduleselectionevaluationapprenants";
|
||||
@import "./components/groupe_apprenant";
|
||||
@import "./components/groupe_apprenant";
|
||||
@import "./components/moduleselectionapprenants";
|
Loading…
Reference in New Issue