dddd
parent
e5a216d744
commit
aff1b876c6
|
@ -1905,6 +1905,10 @@ const DisplayPartnerSession = (props) => {
|
|||
setsubmenu("preinscrit");
|
||||
GetListePreinscrit(selected_session_id, selected_internal_url);
|
||||
|
||||
submenu_color_management("preinscrit");
|
||||
|
||||
/*
|
||||
|
||||
if (document.getElementById("preinscrit")) {
|
||||
document.getElementById("preinscrit").style.backgroundColor = "#104277";
|
||||
document.getElementById("preinscrit").style.color = "white";
|
||||
|
@ -1952,6 +1956,7 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function submenu_inscrit() {
|
||||
|
@ -1959,6 +1964,9 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
GetListeInscrit(selected_session_id, selected_internal_url);
|
||||
|
||||
submenu_color_management("inscrit");
|
||||
|
||||
/*
|
||||
if (document.getElementById("inscrit")) {
|
||||
document.getElementById("inscrit").style.backgroundColor = "#104277";
|
||||
document.getElementById("inscrit").style.color = "white";
|
||||
|
@ -2018,12 +2026,15 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
async function submenu_detail_session() {
|
||||
setsubmenu("detail_session");
|
||||
|
||||
submenu_color_management("detail_session");
|
||||
/*
|
||||
//await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
|
@ -2089,11 +2100,15 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
async function submenu_sequence_session() {
|
||||
setsubmenu("sequence_session");
|
||||
|
||||
submenu_color_management("sequence_session");
|
||||
/*
|
||||
//await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
|
@ -2159,14 +2174,16 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function submenu_emargement() {
|
||||
setsubmenu("emargement");
|
||||
|
||||
//await sleep(5);
|
||||
submenu_color_management("emargement");
|
||||
|
||||
/* //await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
}
|
||||
|
@ -2232,14 +2249,16 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function submenu_piece_jointe() {
|
||||
setsubmenu("piece_jointe");
|
||||
|
||||
// await sleep(5);
|
||||
submenu_color_management("piece_jointe");
|
||||
|
||||
/* // await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
}
|
||||
|
@ -2312,16 +2331,17 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("emargement").style.color = "black";
|
||||
document.getElementById("emargement").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
async function submenu_historique() {
|
||||
setsubmenu("historique");
|
||||
|
||||
submenu_color_management("historique");
|
||||
// await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
if (document.getElementById("historique")) {
|
||||
document.getElementById("historique").style.backgroundColor = "#104277";
|
||||
|
@ -2390,79 +2410,111 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function submenu_color_management(current_menu) {
|
||||
const list_sous_menu = ["historique", "attestation", "evaluation", "editique", "emargement", "sequence_session", "detail_session", "inscrit",
|
||||
"preinscrit", "emargement", "piece_jointe", "q_positionnement"]
|
||||
|
||||
for (let i = 0; i < list_sous_menu.length; i++) {
|
||||
|
||||
var sous_menu = list_sous_menu[i];
|
||||
if (String(sous_menu) !== current_menu) {
|
||||
if (document.getElementById(sous_menu)) {
|
||||
document.getElementById(sous_menu).style.backgroundColor = "#d8edfc";
|
||||
document.getElementById(sous_menu).style.color = "black";
|
||||
document.getElementById(sous_menu).style.fontWeight = "normal";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (document.getElementById(current_menu)) {
|
||||
document.getElementById(current_menu).style.backgroundColor = "#104277";
|
||||
document.getElementById(current_menu).style.color = "white";
|
||||
document.getElementById(current_menu).style.fontWeight = "bold";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function submenu_editique() {
|
||||
setsubmenu("editique");
|
||||
submenu_color_management("editique");
|
||||
|
||||
if (document.getElementById("editique")) {
|
||||
document.getElementById("editique").style.backgroundColor = "#104277";
|
||||
document.getElementById("editique").style.color = "white";
|
||||
document.getElementById("editique").style.fontWeight = "bold";
|
||||
|
||||
}
|
||||
|
||||
if (document.getElementById("inscrit")) {
|
||||
document.getElementById("inscrit").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("inscrit").style.color = "black";
|
||||
document.getElementById("inscrit").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("attestation")) {
|
||||
document.getElementById("attestation").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("attestation").style.color = "black";
|
||||
document.getElementById("attestation").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("evaluation")) {
|
||||
document.getElementById("evaluation").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("evaluation").style.color = "black";
|
||||
document.getElementById("evaluation").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("detail_session")) {
|
||||
document.getElementById("detail_session").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("detail_session").style.color = "black";
|
||||
document.getElementById("detail_session").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("preinscrit")) {
|
||||
document.getElementById("preinscrit").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("preinscrit").style.color = "black";
|
||||
document.getElementById("preinscrit").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("sequence_session")) {
|
||||
document.getElementById("sequence_session").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("sequence_session").style.color = "black";
|
||||
document.getElementById("sequence_session").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("historique")) {
|
||||
document.getElementById("historique").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("historique").style.color = "black";
|
||||
document.getElementById("historique").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("emargement")) {
|
||||
document.getElementById("emargement").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("emargement").style.color = "black";
|
||||
document.getElementById("emargement").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("piece_jointe")) {
|
||||
document.getElementById("piece_jointe").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
/*
|
||||
if (document.getElementById("editique")) {
|
||||
document.getElementById("editique").style.backgroundColor = "#104277";
|
||||
document.getElementById("editique").style.color = "white";
|
||||
document.getElementById("editique").style.fontWeight = "bold";
|
||||
|
||||
}
|
||||
|
||||
if (document.getElementById("inscrit")) {
|
||||
document.getElementById("inscrit").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("inscrit").style.color = "black";
|
||||
document.getElementById("inscrit").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("attestation")) {
|
||||
document.getElementById("attestation").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("attestation").style.color = "black";
|
||||
document.getElementById("attestation").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("evaluation")) {
|
||||
document.getElementById("evaluation").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("evaluation").style.color = "black";
|
||||
document.getElementById("evaluation").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("detail_session")) {
|
||||
document.getElementById("detail_session").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("detail_session").style.color = "black";
|
||||
document.getElementById("detail_session").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("preinscrit")) {
|
||||
document.getElementById("preinscrit").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("preinscrit").style.color = "black";
|
||||
document.getElementById("preinscrit").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("sequence_session")) {
|
||||
document.getElementById("sequence_session").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("sequence_session").style.color = "black";
|
||||
document.getElementById("sequence_session").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("historique")) {
|
||||
document.getElementById("historique").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("historique").style.color = "black";
|
||||
document.getElementById("historique").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("emargement")) {
|
||||
document.getElementById("emargement").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("emargement").style.color = "black";
|
||||
document.getElementById("emargement").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
if (document.getElementById("piece_jointe")) {
|
||||
document.getElementById("piece_jointe").style.backgroundColor = "#d8edfc";
|
||||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
async function submenu_evaluation() {
|
||||
setsubmenu("evaluation");
|
||||
|
||||
submenu_color_management("evaluation");
|
||||
/*
|
||||
//await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
|
@ -2530,7 +2582,7 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.color = "black";
|
||||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
*/
|
||||
GetListeEvaluation(selected_session_id);
|
||||
|
||||
}
|
||||
|
@ -2615,7 +2667,8 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
async function submenu_q_positionnement() {
|
||||
setsubmenu("positionnement");
|
||||
|
||||
submenu_color_management("q_positionnement");
|
||||
/*
|
||||
//await sleep(5);
|
||||
if (!edit_session_form) {
|
||||
desableSessionFields();
|
||||
|
@ -2691,7 +2744,7 @@ const DisplayPartnerSession = (props) => {
|
|||
document.getElementById("piece_jointe").style.fontWeight = "normal";
|
||||
}
|
||||
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
@ -10013,8 +10066,8 @@ const DisplayPartnerSession = (props) => {
|
|||
/* Recuperation des evaluations */
|
||||
const [selectionModel_evaluation, setSelectionModel_evaluation] = React.useState([]);
|
||||
const [rowss_evaluation, setRows_evaluation] = useState([]);
|
||||
|
||||
|
||||
|
||||
|
||||
const [GetListePreinscrit_evaluation_api, setGetListePreinscrit_evaluation_api] = useState();
|
||||
const [GetListePreinscrit_evaluation_meassage, setGetListePreinscrit_evaluation_meassage] = useState();
|
||||
const [GetListePreinscrit_evaluation_result, setGetListePreinscrit_evaluation_result] = useState([])
|
||||
|
@ -11979,9 +12032,9 @@ const DisplayPartnerSession = (props) => {
|
|||
<Button variant="outlined" onClick={submenu_emargement} className="detail_class_submenu" id='emargement' name='emargement'>Emargement </Button>
|
||||
<Button variant="outlined" onClick={submenu_evaluation} className="detail_class_submenu" id='menu_eval' name='menu_eval'>Les avis</Button>
|
||||
<Button variant="outlined" onClick={submenu_attestation} className="detail_class_submenu" id='menu_eval' name='menu_eval'>Attestation</Button>
|
||||
<Button variant="outlined" onClick={submenu_q_positionnement} className="detail_class_submenu" id='q_positionnement' name='q_positionnement'>Positionnement </Button>
|
||||
<Button variant="outlined" onClick={submenu_q_positionnement} className="detail_class_submenu" id='q_positionnement' name='q_positionnement'>Q. Position </Button>
|
||||
<Button variant="outlined" onClick={submenu_piece_jointe} className="detail_class_submenu" id='piece_jointe' name='piece_jointe'>Pièces Jointes </Button>
|
||||
<Button variant="outlined" onClick={submenu_historique} className="detail_class_submenu" id='historique' name='historique'>Historique </Button>
|
||||
{/*<Button variant="outlined" onClick={submenu_historique} className="detail_class_submenu" id='historique' name='historique'>Historique </Button>*/}
|
||||
|
||||
|
||||
</div>}
|
||||
|
|
|
@ -1137,6 +1137,17 @@ const Module_Editique = (props) => {
|
|||
};
|
||||
|
||||
|
||||
const [Dialog_Q_POSITIONNEMENT_open, setDialog_Q_POSITIONNEMENT_open] = React.useState(false);
|
||||
const Dialog_Q_POSITIONNEMENT_handleClose = () => {
|
||||
|
||||
};
|
||||
|
||||
const Dialog_Q_POSITIONNEMENT_handleClose_buton = () => {
|
||||
setDialog_Q_POSITIONNEMENT_open(false);
|
||||
};
|
||||
|
||||
|
||||
|
||||
const [Dialog_FACTURATION_FORMATION_open, setDialog_FACTURATION_FORMATION_open] = React.useState(false);
|
||||
const Dialog_FACTURATION_FORMATION_handleClose = () => {
|
||||
|
||||
|
@ -2100,6 +2111,46 @@ const Module_Editique = (props) => {
|
|||
{/* FIN Dialog pour gerer les conventions */}
|
||||
|
||||
|
||||
{/* Dialog pour gerer les Q_POSITIONNEMENT */}
|
||||
<Dialog
|
||||
open={Dialog_Q_POSITIONNEMENT_open}
|
||||
onClose={Dialog_Q_POSITIONNEMENT_handleClose}
|
||||
className="displaypartnersession"
|
||||
>
|
||||
|
||||
<DialogTitle>MySy Information</DialogTitle>
|
||||
<DialogContent className="DialogContent_width" style={{ "minHeight": "10rem" }}>
|
||||
<DialogContentText>
|
||||
<div style={{ "textAlign": "left" }}>
|
||||
Cliquez sur l'onglet 'Q_POSITIONNEMENT' pour la gestion des questions de positionnement :<br />
|
||||
<ul>
|
||||
|
||||
<li> Choisir et envoyer les questionnaires de positionnement </li>
|
||||
<li> Visualiser et exporter les resultats </li>
|
||||
<li> etc </li>
|
||||
</ul>
|
||||
</div>
|
||||
</DialogContentText>
|
||||
</DialogContent>
|
||||
|
||||
<DialogActions>
|
||||
<div className="div_row">
|
||||
<div className="div_row_gauche">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div className="div_row_droite" style={{ "textAlign": 'center' }}>
|
||||
<Button onClick={Dialog_Q_POSITIONNEMENT_handleClose_buton} className="bton_annule_dialog" >Fermer</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</DialogActions>
|
||||
|
||||
</Dialog>
|
||||
|
||||
{/* FIN Dialog pour gerer les Q_POSITIONNEMENT */}
|
||||
|
||||
|
||||
{/* Dialog pour gerer les FACTURATION_FORMATION */}
|
||||
<Dialog
|
||||
|
@ -2262,6 +2313,11 @@ const Module_Editique = (props) => {
|
|||
setDialog_EVALUATION_FORMATION_open(true);
|
||||
}
|
||||
|
||||
else if (String(JSON.parse(document).courrier_template_ref_interne) === "QUESTION_POSITIONNEMENT") {
|
||||
setDialog_Q_POSITIONNEMENT_open(true);
|
||||
}
|
||||
|
||||
|
||||
else if (String(JSON.parse(document).courrier_template_ref_interne) === "FACTURATION_SESSION") {
|
||||
|
||||
setDialog_FACTURATION_FORMATION_open(true);
|
||||
|
|
Loading…
Reference in New Issue