feat: 施設情報画面にローディングを追加

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-08-18 14:37:35 +09:00
parent f94593de91
commit 5d9e9720b8

View File

@ -41,13 +41,13 @@
<!-- 上部のボタン -->
<table class="instHeaderTable">
<tr>
<form name="docSearch" method="post" action="/ultmarc/docSearch">
<form name="docSearch" method="post" action="/ultmarc/docSearch" onsubmit="showLoading()">
<td class="instHeaderTd">
<input type="hidden" name="ctrl_dcf_dsf_inst_cd" value="{{ultmarc.inst_info_data.dcf_dsf_inst_cd or ''}}">
<input name="docSearchBt" class="transitionBt" type="submit" value="勤務医師" {{ultmarc.is_disabled_doctor_wrkplace()}}>
</td>
</form>
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/instInfo">
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/instInfo" onsubmit="showLoading()">
<input type="hidden" name="inst_id" value="{{ultmarc.inst_id}}">
<input type="hidden" name="page_num" id="page_num" value="{{ultmarc.page_num}}">
<td class="instHeaderTd">
@ -86,6 +86,8 @@
}else{
$('#instSearch').attr('method', 'POST');
}
// ローディングを表示
showLoading();
return true;
}
</script>
@ -283,5 +285,9 @@
</tr>
</tbody>
</table>
<!-- ローディング -->
{% with progress_message = ''%}
{% include '_loading.html' %}
{% endwith %}
</body>
</html>