SPZMI00401_보낸메시지읽기.xfdl 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZMI00401" position="absolute 0 0 430 367" titletext="보낸 메시지 읽기" class="frm_POP" enable="true" onload="SPZMI00401_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="Static08" position="absolute 12 46 418 122" class="sta_DA_box"/>
  8. <Static id="cap_sender" text="받는이" class="cell_1" position="absolute 13 47 86 71"/>
  9. <Static id="cap_senderid" text="받는이 ID" class="cell_1" position="absolute 13 72 86 96"/>
  10. <Static id="cap_pname" text="환자명" class="cell_1" position="absolute 215 47 288 71" onclick="cap_msgcnts05_onclick"/>
  11. <Button id="btn_mainClose" taborder="2" text="닫기" class="btn4" position="absolute 361 335 417 355" onclick="btn_mainClose_onclick"/>
  12. <Edit id="edt_hngnm" taborder="6" lengthunit="utf8" class="input_essential" position="absolute 291 49 414 69" imemode="hangul" readonly="true"/>
  13. <Edit id="edt_recvrnm" taborder="5" lengthunit="utf8" class="input_essential" position="absolute 89 49 212 69" imemode="alpha" readonly="true"/>
  14. <Edit id="edt_recvrid" taborder="7" lengthunit="utf8" class="input_essential" position="absolute 89 74 212 94" imemode="alpha" readonly="true"/>
  15. <TextArea id="tar_msgcnts" taborder="10" position="absolute 12 132 418 332" class="input_essential" readonly="true"/>
  16. <Static id="stt_titleText" text="보낸 메시지 읽기" class="sta_POP_title" position="absolute 12 8 161 28"/>
  17. <Button id="btn_close" taborder="13" class="btn_POP_cls" position="absolute 399 12 413 25" onclick="btn_close_onclick"/>
  18. <Static id="cap_pid" text="환자 ID" onclick="cap_msgcnts05_onclick" class="cell_1" position="absolute 215 72 288 96"/>
  19. <Edit id="edt_pid" taborder="15" imemode="hangul" lengthunit="utf8" class="input_essential" position="absolute 291 74 414 94" readonly="true"/>
  20. <Static id="cap_sendtime" text="송신시간" class="cell_1" position="absolute 13 97 86 121"/>
  21. <Edit id="edt_trsmreqdt" taborder="16" imemode="alpha" lengthunit="utf8" class="input_essential" position="absolute 89 99 212 119" readonly="true"/>
  22. <Static id="cap_msgtype" text="메시지 종류" onclick="cap_msgcnts05_onclick" class="cell_1" position="absolute 215 97 288 121"/>
  23. <Edit id="edt_msgtype" taborder="17" imemode="hangul" lengthunit="utf8" class="input_essential" position="absolute 291 99 414 119" readonly="true"/>
  24. </Layout>
  25. </Layouts>
  26. <Objects>
  27. <Dataset id="ds_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  28. <ColumnInfo>
  29. <Column id="filenm" type="STRING" size="256"/>
  30. <Column id="filesize" type="STRING" size="256"/>
  31. <Column id="filedata" type="BLOB" size="256"/>
  32. <Column id="filetype" type="STRING" size="256"/>
  33. </ColumnInfo>
  34. </Dataset>
  35. <Dataset id="ds_msg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  36. <ColumnInfo>
  37. <Column id="contents" type="STRING" size="256"/>
  38. </ColumnInfo>
  39. </Dataset>
  40. <Dataset id="ds_fromaddress" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  41. <ColumnInfo>
  42. <Column id="fromaddress" type="STRING" size="256"/>
  43. <Column id="fromname" type="STRING" size="256"/>
  44. <Column id="toaddress" type="STRING" size="256"/>
  45. <Column id="ccaddress" type="STRING" size="256"/>
  46. <Column id="subject" type="STRING" size="256"/>
  47. <Column id="msg" type="STRING" size="256"/>
  48. </ColumnInfo>
  49. </Dataset>
  50. </Objects>
  51. <Bind/>
  52. <Script type="xscript4.0"><![CDATA[/************************************************************************************************
  53. * 파 일 명 : SPZMI00401_보낸메시지읽기.xfdl
  54. * 작 성 자 : 임준호
  55. * 작 성 일 : 2014.07.25
  56. * 설 명 : 보낸메시지읽기 팝업
  57. * 수 정 자 :
  58. * 수정이력 :
  59. ************************************************************************************************/
  60. include "com_commonxp::comm_main.xjs"
  61. /************************************************************************************************
  62. ******************************** Form Variable **************************************************
  63. ************************************************************************************************/
  64. /************************************************************************************************
  65. ******************************** Form Function **************************************************
  66. ************************************************************************************************/
  67. /************************************************************************************************
  68. ******************************** Form Event *****************************************************
  69. ************************************************************************************************/
  70. /********************************************************************************
  71. * 설 명 : form onload
  72. * --팝업 인자값--
  73. * plgv_pid - 환자ID
  74. * plgv_hngnm - 환자명
  75. * plgv_recvrnm - 받는사람
  76. * plgv_recvrid - 수신자ID
  77. * plgv_msgtype - 메시지종류
  78. * plgv_msgcnts - 메시지내용
  79. * plgv_trsmreqdt - 도착시간
  80. * argument : 01.obj
  81. * : 02.e
  82. ********************************************************************************/
  83. function SPZMI00401_onload(obj:Form, e:LoadEventInfo){
  84. frmf_initForm(obj);
  85. edt_pid.value = plgv_pid //환자ID
  86. edt_hngnm.value = plgv_hngnm //환자명
  87. edt_recvrnm.value = plgv_recvrnm //받는사람
  88. edt_recvrid.value = plgv_recvrid //수신자ID
  89. edt_msgtype.value = plgv_msgtype //메시지종류
  90. tar_msgcnts.value = plgv_msgcnts //메시지내용
  91. var sTrsmreqdt = plgv_trsmreqdt //도착시간
  92. edt_trsmreqdt.value = sTrsmreqdt.substring(-1,4) + "."
  93. + sTrsmreqdt.substring(4,6) + "."
  94. + sTrsmreqdt.substring(6,8) + " "
  95. + sTrsmreqdt.substring(8,10) + ":"
  96. + sTrsmreqdt.substring(10,12); //도착시간
  97. }
  98. /********************************************************************************
  99. * 설 명 : 타이틀바 닫기 버튼
  100. * argument : 01.obj
  101. * : 02.e
  102. ********************************************************************************/
  103. function btn_close_onclick(obj:Button, e:ClickEventInfo){
  104. this.close();
  105. }
  106. /********************************************************************************
  107. * 설 명 : form 하단 닫기 버튼
  108. * argument : 01.obj
  109. * : 02.e
  110. ********************************************************************************/
  111. function btn_mainClose_onclick(obj:Button, e:ClickEventInfo){
  112. this.close();
  113. }
  114. ]]></Script>
  115. </Form>
  116. </FDL>