10/02/23 - 12h
parent
fbbf8d4614
commit
b11a942763
|
@ -1741,8 +1741,9 @@ function GestionAdministrative(props) {
|
|||
//form.append("token","K3cw63eKokKSbV4spjQ48SUNnfy80yrXfA");
|
||||
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() {
|
||||
confirmAlert({
|
||||
|
@ -2899,7 +2917,7 @@ function GestionAdministrative(props) {
|
|||
|
||||
|
||||
<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>
|
||||
|
|
|
@ -560,6 +560,7 @@ function Inscription_Information(props) {
|
|||
formData.append('eval_note', RatingValue);
|
||||
formData.append('eval_pedagogie', RatinpedagogiegValue);
|
||||
formData.append('eval_eval', message);
|
||||
formData.append('class_internal_url', class_internal_url);
|
||||
|
||||
fetch(
|
||||
url,
|
||||
|
|
Loading…
Reference in New Issue