123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLJ90200" position="absolute 0 0 344 157" titletext="Urine Volume" onload="SPLLJ90200_onload">
- <Layouts>
- <Layout>
- <Div id="div" position="absolute 0 0 343 147" anchor="default" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption2" class="cell_1" position="absolute 13 97 113 121" anchor="default" text="Urine Volume" positiontype="position"/>
- <Shape id="line1" class="line_1" position="absolute 0 26 310 26" anchor="default" linetype="horizontal" positiontype="position"/>
- <Shape id="line2" class="line_2" position="absolute 0 77 310 77" anchor="default" linetype="horizontal" positiontype="position"/>
- <Shape id="line6" class="line_2" position="absolute 0 53 310 53" anchor="default" linetype="horizontal" positiontype="position"/>
- <Shape id="line8" class="line_3" position="absolute 0 101 310 101" anchor="default" linetype="horizontal" positiontype="position"/>
- <Static id="caption3" class="cell_1" position="absolute 13 47 113 71" anchor="default" text="검체번호" positiontype="position"/>
- <Static id="caption4" class="cell_1" position="absolute 13 72 113 96" anchor="default" text="Urine 수거시간" positiontype="position"/>
- <Button id="btn_cnfm" class="btn5" position="absolute 271 125 315 145" anchor="default" text="확인" onclick="div_btn_cnfm_onclick" positiontype="position"/>
- <Edit readonly="true" id="edt_bcno" position="absolute 116 49 311 69" anchor="default" maxlength="9" positiontype="position"/>
- <Radio id="rdo_urine" columncount="4" position="absolute 118 74 339 94" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" value="24" index="0" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">24</Col>
- <Col id="datacolumn">24Hr</Col>
- </Row>
- <Row>
- <Col id="codecolumn">16</Col>
- <Col id="datacolumn">16Hr</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12Hr</Col>
- </Row>
- <Row>
- <Col id="codecolumn">8</Col>
- <Col id="datacolumn">8Hr</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <MaskEdit id="edt_volume" class="input_essential" mask="#####" position="absolute 116 99 311 119" anchor="default" onkeydown="div_edt_volume_onkeydown" autoselect="true" style="align:left middle;" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SPLLJ90200_UrineVolume.xfdl
- * Creator :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //콜백함수
- function cbf_SPLLJ90200(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- if(strSvcID == "TXLLJ90201" && nErrorCode==0){
- close("return value");
- }
- }
- function lf_setUrineVolume(){
- var vVol = div.edt_volume.value;
- if(utlf_isNull(vVol)){
- sysf_messageBox("Urine Volume 값을", "C001", "");
- return;
- }
- if(vVol.isFloat){
- sysf_messageBox("Urine Volume 값은 수치만입력 가능합니다.", "C");
- div.edt_volume.value = "";
- return;
- }
-
- div.edt_bcno.value = ds_parm.getColumn(0, "bcno");
- div.rdo_urine.value = ds_parm.getColumn(0, "urinedt");
-
- trace("bcno:"+ds_parm.getColumn(0, "bcno"));
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "bcno", val: ds_parm.getColumn(0, "bcno")}
- , {col: "urinetm", val: ds_parm.getColumn(0, "urinedt")}
- , {col: "urinevol", val: div.edt_volume.value}]);
-
- trace( ds_temp_search.saveXML());
- // 서브밋호출
- tranf_submit({ id: "TXLLJ90201"
- , service: "acptmngtapp.AcptMngt"
- , method: "reqSetUrineVolume"
- , inds : "cond="+sInDsName
- , callback: "cbf_SPLLJ90200"
- , async: false
- });
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPLLJ90200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPLLJ90200_onload(obj:Form, e:LoadEventInfo){
- //폼 초기화 함수
- frmf_initForm(obj);
-
- ds_hidden.copyData(arg_ds_hidden);
- div.edt_bcno.value = ds_hidden.getColumn(0,"bcno");
- dsf_createDs("ds_parm"
- , [{col: "bcno"}
- , {col: "urinedt"}]);
-
-
- var nRow = ds_parm.addRow();
- ds_parm.setColumn(nRow, "bcno", ds_hidden.getColumn(0,"bcno"));
- ds_parm.setColumn(nRow, "urinedt", "24");
-
- div.edt_volume.setFocus();
- }
- /****************************************************************************************
- * Components :
- * Components ID : edt_volume
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function div_edt_volume_onkeydown(obj:MaskEdit, e:KeyEventInfo){
- if(e.keycode == 13){
- lf_setUrineVolume();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_cnfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function div_btn_cnfm_onclick(obj:Button, e:ClickEventInfo){
- lf_setUrineVolume();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_exit
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_exit_onclick(obj:Button, e:ClickEventInfo){
- close("return value");
- }
- ]]></Script>
- </Form>
- </FDL>
|