diff --git a/src/components/Jurys.js b/src/components/Jurys.js index edf9573..f5ec43c 100644 --- a/src/components/Jurys.js +++ b/src/components/Jurys.js @@ -2904,8 +2904,6 @@ const Jury = (props) => { setDialog_Jury_Membre_open(false); settab_selected_users([]); setp_detail_member_role(""); - - }; const fixedVal = []; diff --git a/src/components/Module_Ent_Message_Public.js b/src/components/Module_Ent_Message_Public.js index fb2d5da..2a6f3d2 100644 --- a/src/components/Module_Ent_Message_Public.js +++ b/src/components/Module_Ent_Message_Public.js @@ -215,11 +215,11 @@ const Module_Ent_Message_Public = (props) => { var form = new FormData(); - const stored_cookie = getCookie('tokenmysych'); + const stored_cookie = getCookie('tokenmysypart'); form.append("token", stored_cookie); - var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Published_Ent_Alert_Message/"; + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Get_List_Ent_Alert_Message/"; axios.post(myurl, form).then(res => { // console.log(" In Get_All_Ent_Message_Public res.data.status = " + res.data.status); @@ -250,7 +250,7 @@ const Module_Ent_Message_Public = (props) => { }, []) - + const [gridline_id, setgridline_id] = useState(""); const [display_alert_mysy, setdisplay_alert_mysy] = useState(""); const [alert_message, setalert_message] = useState(""); @@ -285,10 +285,11 @@ const Module_Ent_Message_Public = (props) => { {/*** FIN Affichage des messages d'alerte*/} -
+
- {Get_All_Notes_Of_Evaluations_result && Get_All_Notes_Of_Evaluations_result.length > 0 &&
+ {Get_All_Ent_Message_Public_result && Get_All_Ent_Message_Public_result.length > 0 && +
  + + + ); +} + + const useStyles = makeStyles((theme) => ({ @@ -3390,6 +3406,18 @@ function UpdateParnterInfo(props) { setdisplay_alert_mysy(""); } + const [Dialog_Message_Ent_open, setDialog_Message_Ent_open] = React.useState(false); + + const Dialog_Message_Ent_handleClose = () => { + + }; + + const Dialog_Message_Ent_handleClose_buton = () => { + setDialog_Message_Ent_open(false); + }; + + + return (
@@ -3494,6 +3522,82 @@ function UpdateParnterInfo(props) { {/*** Fin ajout pickup Color */} + {/*** Dialog Gestion Message ENT */} + + null} + + PaperProps={{ + + + className: classes.paper, // Apply the paper style + style: { + overflowY: 'unset', + position: 'absolute', + top: '10rem', + margin: "2px", + width:'70rem' + }, + }} + hideBackdrop={true} + disableScrollLock + classes={{ + paper: classes.dialog + }} + + PaperComponent={PaperComponent} + aria-labelledby="draggable-dialog-title" + > + + Message ENT + + + + + + + + + + + +
+
+ + +
+ +
+ +
+ + + +
+ + + + +
+ +
+ + {/*** Fin Dialog Gestion Message ENT */} + +
@@ -3616,15 +3720,12 @@ function UpdateParnterInfo(props) { > -     +