123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMI03600" position="absolute 0 0 689 408" titletext="접수취소환자현황" onload="SPPMI03600_onload">
- <Layouts>
- <Layout>
- <Static text="접수취소환자현황" position="absolute 0 0 160 25" id="caption6" class="tit_1"/>
- <Button position="absolute 624 376 680 398" id="btn_cancel" class="btn4" taborder="3" text="닫기" onclick="btn_cancel_onclick"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 68 680 74" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="datagrid1" taborder="4" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 0 72 680 367">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="67"/>
- <Column size="67"/>
- <Column size="27"/>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="74"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="차트번호"/>
- <Cell col="2" colspan="3" text="성명/나이/성별" taborder="undefined"/>
- <Cell col="5" text="입원일자"/>
- <Cell col="6" text="진료과"/>
- <Cell col="7" text="전문의"/>
- <Cell col="8" text="최종수정자"/>
- <Cell col="9" text="최종수정일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:age"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:medispclnm"/>
- <Cell col="8" text="bind:lastupdtrnm"/>
- <Cell col="9" displaytype="date" style="align:center middle;" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp" taborder="7" position="absolute 0 25 680 60" class="div_SA">
- <Layouts>
- <Layout width="680" height="35">
- <Static id="caption1" text="입원일자" class="search_name" position="absolute 13 9 98 26"/>
- <Button id="button1" taborder="2" text="조회" class="btn1" position="absolute 608 7 664 29" onclick="grp_button1_onclick"/>
- <Calendar id="input1" taborder="3" position="absolute 95 8 195 27" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" onkillfocus="grp_input1_onkillfocus"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_incncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="전문의"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일"/>
- </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="indd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="indd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SPPMI03600_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기화
- frmf_initForm(obj);
- // 초기값 설정
- ds_send.setColumn(0, 'indd', utlf_getCurrentDate());
- // 조회
- grp.button1.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 입원일자 캘린더 포커스 상실 이벤트
- ****************************************************************************************/
- function grp_input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo){
- // 조회
- grp.button1.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_button1_onclick(obj:Button, e:ClickEventInfo){
- var value = utlf_transNullToEmpty(ds_send.getColumn(0, 'indd'));
-
- // 필수 체크
- if(value == ''){
- sysf_messageBox('입원일자는 필수입니다.', 'C000');
- return;
- }
-
- ds_main_incncllist.clearData();
- ds_main_incncllist.addRow();
-
- var oParam = {};
- oParam.id = "TRPMI03600";
- oParam.service = "ipatmngtapp.IPatRef";
- oParam.method = "reqGetInCnclList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_incncllist=resultlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI03600";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument :
- * Description : 닫기 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|