123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLC90300" position="absolute 0 0 758 490" titletext="채취일시등록" oninit="model1_oninit" onload="SPLLC90300_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 758 490" anchor="all" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 0 67 73 87" anchor="default" text="환자정보" positiontype="position"/>
- <Shape id="line1" class="line_1" position="absolute 0 70 700 70" anchor="default" linetype="horizontal" positiontype="position"/>
- <Grid id="grd_extrdtreg" position="absolute 0 89 758 468" anchor="all" autofittype="col" binddataset="ds_grid_grd_extrdtreg" cellmovingtype="none" autosizingtype="none" cellsizingtype="col" class="CSS::lis.css" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="84"/>
- <Column size="123"/>
- <Column size="62"/>
- <Column size="68"/>
- <Column size="50"/>
- <Column size="105"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="바코드번호"/>
- <Cell col="2" text="채취일시"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="진료과"/>
- <Cell col="6" text="병동/병실"/>
- <Cell col="7" text="상태"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" text="bind:bcno"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:bcolldt" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="6" text="bind:wardroom"/>
- <Cell col="7" style="align:left;" text="bind:chmsg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group00" taborder="1" class="div_SA" position="absolute 0 25 758 61" anchor="left top right">
- <Layouts>
- <Layout>
- <MaskEdit id="input1" taborder="1" class="input_essential" position="absolute 520 8 585 28" anchor="default" imemode="" transparenthittest="false" limitbymask="none" mask="@@:@@" type="string" style="align:center middle;" positiontype="position"/>
- <Calendar id="input6" taborder="2" class="input_essential" position="absolute 417 8 517 28" dateformat="yyyy-MM-dd " value="null" anchor="default" oneditclick="group1_group00_input6_oneditclick" style="viewyearspin:true;" positiontype="position"/>
- <Static id="caption8" text="채취일시" class="search_name" position="absolute 344 8 434 28" anchor="default" positiontype="position"/>
- <CheckBox id="checkbox2" taborder="3" text="자동등록" truevalue="1" class="checkbox_search" position="absolute 248 8 320 28" anchor="default" visible="true" value="1" positiontype="position"/>
- <Edit id="iptSearch" taborder="4" class="input_s_button" position="absolute 101 8 245 28" anchor="default" imemode="alpha" inputmode="upper" onkeydown="group1_group00_iptSearch_onkeydown" useime="none" autoselect="true" positiontype="position"/>
- <Static id="caption10" text="바코드번호" class="search_name" position="absolute 20 8 97 28" anchor="default" positiontype="position"/>
- </Layout>
- </Layouts>
- <InitValue/>
- </Div>
- <Shape id="line00" class="line_10" position="absolute 0 84 758 90" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="stt_titleText1" text="채취일시등록" class="tit_1" position="absolute 0 0 110 25"/>
- <Button id="button9" taborder="2" text="닫기" class="btn5" visible="true" position="absolute 714 470 758 490" onclick="button9_onclick" anchor="right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_extrdtreg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="bcolldt" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="chmsg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="bcolldt" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="chmsg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SPLLC90300_채취일시등록.xfdl
- * Creator :
- * Make Date :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //저장
- function lf_getpatinfo(){
-
- var sInDsName = dsf_createDsRow("in_ds_search"
- , [{col: "bcno", val: group1.group00.iptSearch.value}
- , {col: "extrdd", val: group1.group00.input6.value}
- , {col: "extrtm", val: group1.group00.input1.value}
- , {col: "autoreg", val: group1.group00.checkbox2.value}]);
-
- var extrtm = group1.group00.input1.value;
- var ctime = utlf_getCurrentTime();
- var ctimess = ctime.substr(4,2);
-
- if ((extrtm.length) < 5 ){
- in_ds_search.setColumn(0,"extrtm",extrtm+ctimess);
- }
- // 서브밋호출
- var oParam = {};
- oParam.id = "TXLLC90301";
- oParam.service = "bcollmngtapp.BCollMngt";
- oParam.method = "reqGetExtraction";
- oParam.inds = "ExtrData="+sInDsName
- oParam.outds = "ds_grid_grd_hidden=getextrdtreg";
- oParam.async = false;
- oParam.callback = "cf_TXLLC90301";
- tranf_submit(oParam);
-
- if(ds_grid_grd_hidden.getColumn(0,"bcno") != ""){
- var nRow=ds_grid_grd_extrdtreg.addRow();
- ds_grid_grd_extrdtreg.setColumn(nRow,"bcno",ds_grid_grd_hidden.getColumn(0,"bcno")); //바코드번호
- ds_grid_grd_extrdtreg.setColumn(nRow,"bcolldt",ds_grid_grd_hidden.getColumn(0,"bcolldt")); //채취일시
- ds_grid_grd_extrdtreg.setColumn(nRow,"pid",ds_grid_grd_hidden.getColumn(0,"pid")); // 등록번호
- ds_grid_grd_extrdtreg.setColumn(nRow,"patnm",ds_grid_grd_hidden.getColumn(0,"patnm")); // 환자명
- ds_grid_grd_extrdtreg.setColumn(nRow,"orddeptnm",ds_grid_grd_hidden.getColumn(0,"orddeptnm")); // 진료과
- ds_grid_grd_extrdtreg.setColumn(nRow,"wardroom",ds_grid_grd_hidden.getColumn(0,"wardroom")); // 병동/병실
- ds_grid_grd_extrdtreg.setColumn(nRow,"chmsg",ds_grid_grd_hidden.getColumn(0,"chmsg")); // 상태
-
- }
-
- group1.group00.input6.setFocus();
- group1.group00.iptSearch.setFocus();
- //group1.group00.iptSearch.value='';
- }
- function cf_TXLLC90301(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPLLC90300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPLLC90300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- group1.group00.input6.value= utlf_getCurrentDate(); //채취 일
- group1.group00.input1.value= utlf_getCurrentTime(); // 채취 시
-
- group1.group00.iptSearch.setFocus();
- }
- /****************************************************************************************
- * Components :
- * Components ID : group1_group00_iptSearch
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- //바코드번호 입력 후 엔터
- function group1_group00_iptSearch_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode =="13"){
-
- lf_getpatinfo();
-
- }
- }
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|