123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO50300" position="absolute 0 0 680 500" titletext="DRG조회" onload="SPMMO50300_onload">
- <Layouts>
- <Layout>
- <Static text="DRG조회" position="absolute 18 5 103 18" id="caption1" class="tit_2"/>
- <Grid position="absolute 15 70 662 475" align="align:center middle;" id="drg_grd" binddataset="ds_drg_grd" oncelldblclick="drg_grd_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="530"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <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="DRG명"/>
- <Cell col="2" text="양안"/>
- <Cell col="3" text="소절개"/>
- <Cell col="4" text="복강경"/>
- <Cell col="5" text="연령시작"/>
- <Cell col="6" text="연령종료"/>
- </Band>
- <Band id="body">
- <Cell text="bind:drgno"/>
- <Cell col="1" style="align:left;" text="bind:drgnm"/>
- <Cell col="2" text="bind:drgboth"/>
- <Cell col="3" text="bind:drgmin"/>
- <Cell col="4" text="bind:drgcel"/>
- <Cell col="5" text="bind:drgagefrom"/>
- <Cell col="6" text="bind:drgageto"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group1" taborder="4" class="div_SA" position="absolute 15 25 553 60">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 470 6 526 28" anchor="default" onclick="btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" position="absolute 456 6 462 28" anchor="default"/>
- <Edit id="input1" taborder="4" class="input_search" position="absolute 76 7 447 26" anchor="default" onkeydown="input1_onkeydown"/>
- <Static id="caption2" text="DRG명:" class="search_name" position="absolute 4 9 73 26" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_drg_grd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drgno" type="STRING"/>
- <Column id="drgnm" type="STRING"/>
- <Column id="drgboth" type="STRING"/>
- <Column id="drgmin" type="STRING"/>
- <Column id="drgcel" type="STRING"/>
- <Column id="drgagefrom" type="STRING"/>
- <Column id="drgageto" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="srchnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KNUH2.0
- * Job Name : EMR
- * Creator :
- * Make Date : 2014-08-28
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-28 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::MMO001.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO50300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로드시 초기화 함수 실행
- ****************************************************************************************/
- function SPMMO50300_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- var deptcd=opener.frmf_getParameter("deptcd");
- //deptcd = "2040000000" ;
- if(deptcd=="" || deptcd == null){
- sysf_messageBox("부서 정보가 없습니다.", "I", "");
- this.close();
- //return;
- }else{
- ds_req.clearData();
- ds_req.setColumn(ds_req.addRow(), "orddeptcd", deptcd);
- }
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 실행
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 실행
- ****************************************************************************************/
- function input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- ds_req.setColumn(0, "srchnm", obj.value);
- var e = new ClickEventInfo;
- frmf_inputEnterKey("btn_search", "onclick", e);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : drg_grd
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 더블클릭 하여 모화면 데이터 전송
- ****************************************************************************************/
- function drg_grd_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(frmf_checkOpener()){
- dsf_copyDs(opener.ds_tmp, ds_drg_grd, "replace");
- }else{
- sysf_messageBox("상위화면이 변경되어 데이터를 전달","E001");
- return;
- }
- this.close();
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : fInitialize
- * Description : 초기화시 조회실행.
- * Argument :
- * :
- * return type :
- * Creator :
- ****************************************************************************************/
- function fInitialize(){
- tranf_submit({id:"TRMMO50001"
- , service:"prcpmngtapp.EtcPrcpMngt"
- , method:"reqGetDgrInfo"
- , inds:"req=ds_req"
- , outds:"ds_drg_grd=item"
- , args:""
- , callback:""
- , sync:"true"
- });
- }
- ]]></Script>
- </Form>
- </FDL>
|