feat: 施設担当者CSVダウンロード画面にローディングを適用

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-08-18 12:06:54 +09:00
parent f4730195b4
commit 9b3ef38a01
3 changed files with 7 additions and 5 deletions

View File

@ -293,6 +293,8 @@ function checkNumberOnlyForm($this)
// 機能概要:マスターメンテメニュー画面に遷移する
function backToMainteMenu(){
sessionStorage.clear();
// ローディング表示
showLoading();
location.href = "/masterMainte/masterMainteMenu";
}

View File

@ -29,7 +29,7 @@
function Form_Submit_Disp_Dialog(){
var msg = 'CSVファイルを出力しますか';
if (confirmDialog(msg)) {
document.getElementById("loading").style.display = "block";
showLoading();
document.getElementById("csvOutputMsg").style.display = "none";
} else {
return false;
@ -179,9 +179,9 @@
<div id="csvOutputMsg" class="csvOutputMessage">{{mainte_csv_dl.result_msg}}</div>
{% endif %}
{% endif %}
<div id="loading" class="csvOutputMessage" style="display:none;">
<p>処理中...<br>しばらくお待ち下さい。</p>
</div>
</p>
{% with progress_message = '処理中...しばらくお待ち下さい。'%}
{% include '_loading.html' %}
{% endwith %}
</body>
</html>

View File

@ -200,7 +200,7 @@
</div>
{% endif %}
</p>
{% with progress_message = '処理中...\nしばらくお待ち下さい。'%}
{% with progress_message = '処理中...しばらくお待ち下さい。'%}
{% include '_loading.html' %}
{% endwith %}
</body>