|
@@ -124,6 +124,12 @@ function saveAlarmValue() {
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
$(document).on('click','#displaySave',function(){
|
|
|
+
|
|
|
+ var checkCount = $('input:checkbox[name="displayItem"]:checked').length;
|
|
|
+ if (checkCount == 0) {
|
|
|
+ alert("대시보드에는 하나 이상의 항목을 표시하여야 합니다.");
|
|
|
+ return;
|
|
|
+ }
|
|
|
const result = confirm("대시보드 표시항목을 선택하신 항목으로 설정합니다.\n\n이 항목은 해당 생활치료센터 의료진 화면에 즉시 적용됩니다.");
|
|
|
if(result){
|
|
|
saveDisplayItem();
|
|
@@ -193,12 +199,12 @@ $(document).ready(function() {
|
|
|
<c:set var="bloodSugarCheck" value="${config.bloodSugarDisplayYN == 'Y' ? 'checked' : ''}" />
|
|
|
<c:set var="symptomCheck" value="${config.symptomDisplayYN == 'Y' ? 'checked' : ''}" />
|
|
|
|
|
|
- <li class="displayItem"><label><input id="displayItemTemperature" type="checkbox" name="" value="Y" <c:out value="${temperatureCheck}" />><span>체온</span></label></li>
|
|
|
- <li class="displayItem"><label><input id="displayItemBloodPressure" type="checkbox" name="" value="Y" <c:out value="${bloodPressureCheck}" />><span>혈압</span></label></li>
|
|
|
- <li class="displayItem"><label><input id="displayItemPulseRate" type="checkbox" name="" value="Y" <c:out value="${pulseRateCheck}" />><span>맥박</span></label></li>
|
|
|
- <li class="displayItem"><label><input id="displayItemOxygenSaturation" type="checkbox" name="" value="Y" <c:out value="${oxygenSaturationCheck}" />><span>산소포화도</span></label></li>
|
|
|
- <li class="displayItem"><label><input id="displayItemBloodSugar" type="checkbox" name="" value="Y" <c:out value="${bloodSugarCheck}" />><span>혈당</span></label></li>
|
|
|
- <li class="displayItem"><label><input id="displayItemSymptom" type="checkbox" name="" value="Y" <c:out value="${symptomCheck}" />><span>임상증상</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemTemperature" type="checkbox" name="displayItem" value="Y" <c:out value="${temperatureCheck}" />><span>체온</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemBloodPressure" type="checkbox" name="displayItem" value="Y" <c:out value="${bloodPressureCheck}" />><span>혈압</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemPulseRate" type="checkbox" name="displayItem" value="Y" <c:out value="${pulseRateCheck}" />><span>맥박</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemOxygenSaturation" type="checkbox" name="displayItem" value="Y" <c:out value="${oxygenSaturationCheck}" />><span>산소포화도</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemBloodSugar" type="checkbox" name="displayItem" value="Y" <c:out value="${bloodSugarCheck}" />><span>혈당</span></label></li>
|
|
|
+ <li class="displayItem"><label><input id="displayItemSymptom" type="checkbox" name="displayItem" value="Y" <c:out value="${symptomCheck}" />><span>임상증상</span></label></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|