16/11/25 - 16h30

branche_01062025
Cherif 2025-11-16 16:33:20 +01:00
parent d9429343c6
commit 89258f2e4a
2 changed files with 22 additions and 11 deletions

View File

@ -213,7 +213,16 @@ const Module_Session_Notes_Classement = (props) => {
{ field: 'nom', headerName: 'Nom', minwidth: 200, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'prenom', headerName: 'Prenom', minwidth: 200, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{ field: 'rang', headerName: 'Rang', minwidth: 100, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />, },
{
field: 'rang', headerName: 'Rang', minwidth: 100, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />,
valueFormatter: (params) => {
if (params.value)
return parseInt(String(params.rang))
else
return -1
},
},
{
field: 'note_finale', headerName: 'Note finale', minwidth: 100, flex: 1, hide: false, editable: false, renderCell: (params) => <ExpandableCell_50 {...params} />,
@ -1923,7 +1932,7 @@ const Module_Session_Notes_Classement = (props) => {
function getExcelData(apiRef) {
// Select rows and columns
const filteredSortedRowIds = gridFilteredSortedRowIdsSelector(apiRef);
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__" );
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__");
// Format the data. Here we only keep the value
const data = filteredSortedRowIds.map((id) => {
@ -1948,7 +1957,7 @@ const Module_Session_Notes_Classement = (props) => {
function handleExport(apiRef, data_colums) {
const data = getExcelData(apiRef);
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__" );
const visibleColumnsField = gridVisibleColumnFieldsSelector(apiRef).filter((data) => (data) !== "__check__");
const local_config = {
@ -2183,12 +2192,12 @@ const Module_Session_Notes_Classement = (props) => {
//console.log(rowss[myid]['external_code']);
}
// console.log(" ### tab_inscrit_ids = ", tab_inscrit_ids)
// console.log(" ### tab_inscrit_ids = ", tab_inscrit_ids)
var url = process.env.REACT_APP_API_URL + "myclass/api/Prepare_and_Send_Inscrit_Bulletin_Note_By_PDF/" + stored_cookie + "/" + tab_inscrit_ids ;
var url = process.env.REACT_APP_API_URL + "myclass/api/Prepare_and_Send_Inscrit_Bulletin_Note_By_PDF/" + stored_cookie + "/" + tab_inscrit_ids;
console.log(" ## url = ", url);
setLoading(true);
axios.get(url, { responseType: 'blob', },)
.then((res) => {
@ -2673,7 +2682,7 @@ const Module_Session_Notes_Classement = (props) => {
<div className="div_row" style={{ paddingRight: '10px' }}>
<div className="session_data">
<div style={{ "border": "None" }}>
<div style={{ "border": "None" }}>
<div style={{ height: 550, width: '100%', paddingRight: '5px' }}>

View File

@ -1090,7 +1090,7 @@ const Notes_Evaluation = (props) => {
var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Participant_To_Evaluation/";
setNew_Getall_Evaluation_Participant_List_result([]);
axios.post(myurl, form).then(res => {
@ -1155,10 +1155,12 @@ const Notes_Evaluation = (props) => {
"convocation_send_date": "",
"convocation_send_type": "",
};
// new_data2.push(node);
// new_data2.push(node);
if (new_data2.length > 0)
setNew_Getall_Evaluation_Participant_List_result(new_data2);
else
setNew_Getall_Evaluation_Participant_List_result([]);
}
else {
@ -6051,7 +6053,7 @@ const Notes_Evaluation = (props) => {
if (value && value.value) {
if (String(value.value) === "delete_inscr" || String(value.value) === "send_convocation"
|| String(value.value) === "publish_note"
|| String(value.value) === "un_publish_note") {
|| String(value.value) === "un_publish_note") {
setactionmass_eval_inscr_val(value.value);
}
else {
@ -6105,7 +6107,7 @@ const Notes_Evaluation = (props) => {
<font> Confirmer la <b> la publication des notes sur l'ENT</b> en masse pour {selectionModel_evalutions_participant.length} lignes.
</font>}
{String(actionmass_eval_inscr_val) === "un_publish_note" &&
{String(actionmass_eval_inscr_val) === "un_publish_note" &&
<font> Confirmer la <b> la DE-publication des notes sur l'ENT</b> en masse pour {selectionModel_evalutions_participant.length} lignes.
</font>}