|
@@ -704,7 +704,7 @@ function gotoPatientInfo() {
|
|
|
}
|
|
|
|
|
|
function getExcel(type) {
|
|
|
- const phrType = (type === "") ? $("#phrTypeSelect option:selected").val() : type;
|
|
|
+ const phrType = (type === "") ? "all" : type;
|
|
|
|
|
|
const url = "./excel?patientIdx=" + mPatientIdx + "&phrType=" + phrType;
|
|
|
window.open(url);
|
|
@@ -1198,9 +1198,8 @@ $(document).ready(function() {
|
|
|
<div id="home" class="card">
|
|
|
<div class="row mb-3">
|
|
|
<div class="col-12">
|
|
|
- <!-- <div class="text-right"> -->
|
|
|
- <button class="btn btn-lg btn-secondary" onclick="gotoList()"><i class="mdi mdi-backburger"></i> 대시보드</button>
|
|
|
- <!-- </div> -->
|
|
|
+ <button class="btn btn-lg btn-secondary mr-2" onclick="gotoList()"><i class="mdi mdi-backburger"></i> 대시보드</button>
|
|
|
+ <button id="downloadData" type="button" class="btn btn-lg btn-success" onclick="getExcel('');"><i class="mdi mdi-file-excel-outline"></i> 건강정보 다운로드</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="toggle">
|