123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRI02000" position="absolute 0 0 445 405" titletext="New Form" oninit="SPMRI02000_oninit" onload="SPMRI02000_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 385 383 441 405" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
- <Grid position="absolute 0 0 445 150" id="datagrid1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="전달사항"/>
- </Band>
- <Band id="body">
- <Cell/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <TextArea position="absolute 0 25 445 380" id="tar_comncnts" enable="true" wordwrap="char" autoskip="true" lengthunit="ascii" maxlength="200"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_unprepmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="tar_comncnts" propid="value" datasetid="ds_main_unprepmngt" columnid="cnts"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-10-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-10-20 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sKey : 코드아이디
- * : 02.sValue : 코드명
- * Description : 공통코드를 가져온다.
- ****************************************************************************************/
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- function cf_(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- arErrorCode.push(sSvcId, nErrorCode);
- sysf_trace("***** cf_*****");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMRI02000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMRI02000_onload(obj:Form, e:LoadEventInfo)
- {
- if(frmf_checkOpener()){
- var scrnflag = opener.frmf_getParameter("SPMRI02000_scrnflag");
- var alertcnts = opener.frmf_getParameter("SPMRI02000_alertcnts");
- if(scrnflag == "m"){ //의사 from 의무기록(의무기록전달사항)
- this.titletext = "의무기록 전달사항";
-
- }else{ //의무기록 from 의사(의사전달사항)
- this.titletext = "의사 전달사항";
- }
- ds_main_unprepmngt.setColumn(0, "cnts", alertcnts);
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|