123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW15300" position="absolute 0 0 517 700" titletext="정맥염관찰기록기준자료" oninit="SPMNW15300_oninit" onload="SPMNW15300_onload" onbeforeclose="SPMNW15300_onbeforeclose">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 510 680" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 8 505 678" align="align:center middle;" id="grd_userlist" binddataset="ds_main_detlgrup_getVO" extendsizetype="row" autosizingtype="row" oncellclick="grp_sea_grd_userlist_oncellclick" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="47"/>
- <Column size="120"/>
- <Column size="220"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="필드"/>
- <Cell col="1" text="선택"/>
- <Cell col="2" text="코드명"/>
- <Cell col="3" text="코드설명"/>
- <Cell col="4" text="그룹코드"/>
- <Cell col="5" text="코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:grupnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:cdnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="3" displaytype="text" style="padding:2 2 2 2;" text="bind:detlinfo" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" text="bind:grupcd"/>
- <Cell col="5" text="bind:cd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 465 680 507 699" id="button1" class="btn2" text="확인" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_detlgrup_getVO" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlgrup_getVO_oncolumnchanged">
- <ColumnInfo>
- <Column id="grupnm" type="STRING"/>
- <Column id="sel" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- <Column id="detlinfo" type="STRING"/>
- <Column id="grupcd" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256" sumtext="기준일자(발생일자)"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_param" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etc" type="STRING" size="256"/>
- <Column id="dressing" type="STRING" size="256"/>
- <Column id="grupcd" type="STRING" size="256"/>
- <Column id="genrplceEtcStr" type="STRING" size="256"/>
- <Column id="causeEtcStr" type="STRING" size="256"/>
- <Column id="interventionEtcStr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SPMNW15300
- * Creator : yjh
- * Make Date : 2016-10-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-19 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_wardcarexp::SPMNW15300.xjs"; //yjh : 커밋
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var wincloseButton = false;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15300
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNW15300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNW15300_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- //grd_userlist.mergecol(grd_userlist.colRef("sel")) = false;
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15300
- * Event : onbeforeclose
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 닫기전
- ****************************************************************************************/
- function SPMNW15300_onbeforeclose(obj:Form, e:CloseEventInfo)
- {
- if( !wincloseButton ){
- opener.frmf_setParameter("returnnull", "close");
- } else {
- opener.frmf_setParameter("returnnull", "confirmbutton");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_userlist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_sea_grd_userlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //기타입력영역을 보여준다.
- fShowEtcInputArea();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_detlgrup_getVO
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_detlgrup_getVO_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var grupcd = ds_main_detlgrup_getVO.getColumn(e.row, "grupcd");
-
- if( e.columnid == "detlinfo" ){
- if( grupcd == "00000001" ){
- ds_param.setColumn(0, "genrplceEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- } else if( grupcd == "00000002" ){
- ds_param.setColumn(0, "causeEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- } else if( grupcd == "00000003" ){
- ds_param.setColumn(0, "stageEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- }else if( grupcd == "00000004" ){
- ds_param.setColumn(0, "interventionEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- }
-
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopClose();
- }
- ]]></Script>
- </Form>
- </FDL>
|