123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZMI00401" position="absolute 0 0 430 367" titletext="보낸 메시지 읽기" class="frm_POP" enable="true" onload="SPZMI00401_onload">
- <Layouts>
- <Layout>
- <Static id="Static08" position="absolute 12 46 418 122" class="sta_DA_box"/>
- <Static id="cap_sender" text="받는이" class="cell_1" position="absolute 13 47 86 71"/>
- <Static id="cap_senderid" text="받는이 ID" class="cell_1" position="absolute 13 72 86 96"/>
- <Static id="cap_pname" text="환자명" class="cell_1" position="absolute 215 47 288 71" onclick="cap_msgcnts05_onclick"/>
- <Button id="btn_mainClose" taborder="2" text="닫기" class="btn4" position="absolute 361 335 417 355" onclick="btn_mainClose_onclick"/>
- <Edit id="edt_hngnm" taborder="6" lengthunit="utf8" class="input_essential" position="absolute 291 49 414 69" imemode="hangul" readonly="true"/>
- <Edit id="edt_recvrnm" taborder="5" lengthunit="utf8" class="input_essential" position="absolute 89 49 212 69" imemode="alpha" readonly="true"/>
- <Edit id="edt_recvrid" taborder="7" lengthunit="utf8" class="input_essential" position="absolute 89 74 212 94" imemode="alpha" readonly="true"/>
- <TextArea id="tar_msgcnts" taborder="10" position="absolute 12 132 418 332" class="input_essential" readonly="true"/>
- <Static id="stt_titleText" text="보낸 메시지 읽기" class="sta_POP_title" position="absolute 12 8 161 28"/>
- <Button id="btn_close" taborder="13" class="btn_POP_cls" position="absolute 399 12 413 25" onclick="btn_close_onclick"/>
- <Static id="cap_pid" text="환자 ID" onclick="cap_msgcnts05_onclick" class="cell_1" position="absolute 215 72 288 96"/>
- <Edit id="edt_pid" taborder="15" imemode="hangul" lengthunit="utf8" class="input_essential" position="absolute 291 74 414 94" readonly="true"/>
- <Static id="cap_sendtime" text="송신시간" class="cell_1" position="absolute 13 97 86 121"/>
- <Edit id="edt_trsmreqdt" taborder="16" imemode="alpha" lengthunit="utf8" class="input_essential" position="absolute 89 99 212 119" readonly="true"/>
- <Static id="cap_msgtype" text="메시지 종류" onclick="cap_msgcnts05_onclick" class="cell_1" position="absolute 215 97 288 121"/>
- <Edit id="edt_msgtype" taborder="17" imemode="hangul" lengthunit="utf8" class="input_essential" position="absolute 291 99 414 119" readonly="true"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filedata" type="BLOB" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_msg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="contents" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_fromaddress" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromaddress" type="STRING" size="256"/>
- <Column id="fromname" type="STRING" size="256"/>
- <Column id="toaddress" type="STRING" size="256"/>
- <Column id="ccaddress" type="STRING" size="256"/>
- <Column id="subject" type="STRING" size="256"/>
- <Column id="msg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[/************************************************************************************************
- * 파 일 명 : SPZMI00401_보낸메시지읽기.xfdl
- * 작 성 자 : 임준호
- * 작 성 일 : 2014.07.25
- * 설 명 : 보낸메시지읽기 팝업
- * 수 정 자 :
- * 수정이력 :
- ************************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- /************************************************************************************************
- ******************************** Form Variable **************************************************
- ************************************************************************************************/
- /************************************************************************************************
- ******************************** Form Function **************************************************
- ************************************************************************************************/
- /************************************************************************************************
- ******************************** Form Event *****************************************************
- ************************************************************************************************/
- /********************************************************************************
- * 설 명 : form onload
- * --팝업 인자값--
- * plgv_pid - 환자ID
- * plgv_hngnm - 환자명
- * plgv_recvrnm - 받는사람
- * plgv_recvrid - 수신자ID
- * plgv_msgtype - 메시지종류
- * plgv_msgcnts - 메시지내용
- * plgv_trsmreqdt - 도착시간
- * argument : 01.obj
- * : 02.e
- ********************************************************************************/
- function SPZMI00401_onload(obj:Form, e:LoadEventInfo){
-
- frmf_initForm(obj);
-
- edt_pid.value = plgv_pid //환자ID
- edt_hngnm.value = plgv_hngnm //환자명
- edt_recvrnm.value = plgv_recvrnm //받는사람
- edt_recvrid.value = plgv_recvrid //수신자ID
- edt_msgtype.value = plgv_msgtype //메시지종류
- tar_msgcnts.value = plgv_msgcnts //메시지내용
-
- var sTrsmreqdt = plgv_trsmreqdt //도착시간
- edt_trsmreqdt.value = sTrsmreqdt.substring(-1,4) + "."
- + sTrsmreqdt.substring(4,6) + "."
- + sTrsmreqdt.substring(6,8) + " "
- + sTrsmreqdt.substring(8,10) + ":"
- + sTrsmreqdt.substring(10,12); //도착시간
- }
- /********************************************************************************
- * 설 명 : 타이틀바 닫기 버튼
- * argument : 01.obj
- * : 02.e
- ********************************************************************************/
- function btn_close_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- /********************************************************************************
- * 설 명 : form 하단 닫기 버튼
- * argument : 01.obj
- * : 02.e
- ********************************************************************************/
- function btn_mainClose_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|