10/02/23 - 12h
parent
fbbf8d4614
commit
b11a942763
|
@ -1742,7 +1742,8 @@ function GestionAdministrative(props) {
|
||||||
const stored_cookie = getCookie('tokenmysypart');
|
const stored_cookie = getCookie('tokenmysypart');
|
||||||
|
|
||||||
|
|
||||||
var url = process.env.REACT_APP_API_URL + "myclass/api/DownloadParticipantsList/" + stored_cookie + "/" + mysession;
|
|
||||||
|
var url = process.env.REACT_APP_API_URL + "myclass/api/DownloadParticipantsList/" + stored_cookie + "/" + mysession+"/"+internal_url;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1752,6 +1753,23 @@ function GestionAdministrative(props) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function PrintEvaluationDetail() {
|
||||||
|
|
||||||
|
var filedetail = "detail_evaluation.xlsx"
|
||||||
|
|
||||||
|
const stored_cookie = getCookie('tokenmysypart');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var url = process.env.REACT_APP_API_URL + "myclass/api/DownloadEvaluationList/" + stored_cookie + "/" + mysession+"/"+internal_url;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
axios.get(url, { responseType: 'blob', },)
|
||||||
|
.then((res) => {
|
||||||
|
fileDownload(res.data, filedetail)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
function ConfirmEnvoiListEmargement() {
|
function ConfirmEnvoiListEmargement() {
|
||||||
confirmAlert({
|
confirmAlert({
|
||||||
|
@ -2899,7 +2917,7 @@ function GestionAdministrative(props) {
|
||||||
|
|
||||||
|
|
||||||
<div className="div_row" style={{ "textAlign": "right", "marginTop": "0.5rem" }}>
|
<div className="div_row" style={{ "textAlign": "right", "marginTop": "0.5rem" }}>
|
||||||
<Button className="bton_emarge" onClick={"ConfirmInitListEmargement"}>Exporter (excel)</Button>
|
<Button className="bton_emarge" onClick={PrintEvaluationDetail}>Exporter (excel)</Button>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -560,6 +560,7 @@ function Inscription_Information(props) {
|
||||||
formData.append('eval_note', RatingValue);
|
formData.append('eval_note', RatingValue);
|
||||||
formData.append('eval_pedagogie', RatinpedagogiegValue);
|
formData.append('eval_pedagogie', RatinpedagogiegValue);
|
||||||
formData.append('eval_eval', message);
|
formData.append('eval_eval', message);
|
||||||
|
formData.append('class_internal_url', class_internal_url);
|
||||||
|
|
||||||
fetch(
|
fetch(
|
||||||
url,
|
url,
|
||||||
|
|
Loading…
Reference in New Issue