123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLJ90200_UrineVolume.xrw
- * 설 명 : UrineVolume 유린정보입력
- * 설 계 자 : (주)에이씨케이 - 박정은
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.02.26
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Urine Volume</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <getSpcInfo>
- <bcno/>
- <urinetm/>
- <urinevol/>
- </getSpcInfo>
- <msg/>
- </main>
- <send>
- <bcno/>
- <urinedt/>
- <urinevol/>
- </send>
- <init>
- </init>
- <hidden>
- <urinedt>24</urinedt>
- <urinevol/>
- <bcno/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <submission id="TXLLJ90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setFocus("ipt_volume");
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 유린정보 입력
- function fSetUrineVolume(){
-
- var vVol = model.getValue("/root/hidden/urinevol") ;
- if(vVol == "") {
- messageBox("Urine Volume 값을", "C001");
- return;
- }
- if(!vVol.isFloat()){
- messageBox("Urine Volume 값은 수치만입력 가능합니다.", "C");
- ipt_volume.value = "";
- return;
- }
-
- model.setValue("/root/send/bcno", model.getValue("/root/hidden/bcno"));
- model.setValue("/root/send/urinedt", model.getValue("/root/hidden/urinedt"));
-
- //if(model.getValue("/root/hidden/urinedt")=="1"){
- // var dt1 = 24;
- //}else if(model.getValue("/root/hidden/urinedt")=="2"){
- // var dt1 = 12;
- //}else{
- // var dt1 = 8;
- //}
-
- //model.setValue("/root/send/Data2", dt1);
- model.setValue("/root/send/urinevol", model.getValue("/root/hidden/urinevol"));
- //alert("TXLLJ90201");
- if(submit("TXLLJ90201") == true){
- window.close();
- }
- }
-
- // 엔터키 이벤트
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
- if(event.target=="ipt_volume"){
- model.setvalue("/root/hidden/urinevol", ipt_volume.currentText);
- fSetUrineVolume();
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="327" pageheight="160" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:311px; height:134px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:123px; height:13px; ">Urine 정보 입력</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:79px; width:100px; height:23px; ">Urine Volume</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:310px; y2:26px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:77px; x2:310px; y2:77px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:53px; x2:310px; y2:53px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:101px; x2:310px; y2:101px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:31px; width:100px; height:23px; ">검체번호</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:55px; width:100px; height:23px; ">Urine 수거시간</caption>
- <button id="btn_cancel" class="btn4_letter2" visibility="hidden" style="left:254px; top:107px; width:56px; height:22px; ">
- <caption>취소</caption>
- <!--<script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>-->
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_cnfm" class="btn4_letter2" style="left:254px; top:107px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUrineVolume();
- ]]>
- </script>
- </button>
- <output id="opt_bcno" ref="/root/hidden/bcno" class="output_fix" style="left:103px; top:32px; width:207px; height:19px; "/>
- <select1 id="rdo_urine" ref="/root/hidden/urinedt" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:105px; top:59px; width:195px; height:14px; border-style:none; ">
- <choices>
- <item>
- <label>24Hr</label>
- <value>24</value>
- </item>
- <item>
- <label>12Hr</label>
- <value>12</value>
- </item>
- <item>
- <label>8Hr</label>
- <value>8</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_volume" ref="/root/hidden/urinevol" class="input_essential" style="left:103px; top:80px; width:207px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|