SPZMI00401_보낸메시지읽기.xrw 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  5. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  6. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  7. <xhtml:head>
  8. <xhtml:title>보낸 메시지 읽기</xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <main/>
  13. <temp/>
  14. </root>
  15. </instance>
  16. <script type="javascript" ev:event="xforms-ready">
  17. <![CDATA[
  18. if (!checkAuth("x")) { // 화면 권한 체크
  19. var tdate = model.getValue("/root/main/trsmreqdt");//도착시간
  20. opt_pid.value = model.getValue("/root/main/pid"); //환자 id
  21. opt_hngnm.value = model.getValue("/root/main/hngnm"); //환자명
  22. opt_recvrnm.value = model.getValue("/root/main/recvrnm"); //보낸사람
  23. opt_recvrid.value = model.getValue("/root/main/recvrid"); //송신자 ID
  24. opt_rdate.value = tdate.substring(-1,4) + "." + tdate.substring(4,6) + "." +tdate.substring(6,8) +" " + tdate.substring(8,10) + ":" +tdate.substring(10,12); //도착시간
  25. opt_msgtype.value = model.getValue("/root/main/msgtype"); // 메세지 종류
  26. tar_msgcnts.value = model.getValue("/root/main/msgcnts"); //메세지
  27. }
  28. ]]>
  29. </script>
  30. <submission id="TRZMI00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/target" replace="instance" resultref="/root/temp"/>
  31. </model>
  32. </xhtml:head>
  33. <xhtml:body pagewidth="425" pageheight="410">
  34. <textarea id="tar_msgcnts" disabled="true" style="left:15px; top:130px; width:395px; height:240px; "/>
  35. <caption id="caption3" class="tit_2" style="left:10px; top:8px; width:118px; height:14px; ">보낸 메세지 읽기</caption>
  36. <output id="opt_recvrnm" style="left:112px; top:37px; width:100px; height:19px; "/>
  37. <output id="opt_rdate" style="left:112px; top:87px; width:100px; height:19px; "/>
  38. <output id="opt_msgtype" style="left:322px; top:87px; width:90px; height:19px; "/>
  39. <output id="opt_recvrid" style="left:112px; top:62px; width:100px; height:19px; "/>
  40. <output id="opt_hngnm" style="left:322px; top:37px; width:90px; height:19px; "/>
  41. <output id="opt_pid" style="left:322px; top:62px; width:90px; height:19px; "/>
  42. <button id="btn_close" class="btn4_letter2" disabled="false" style="left:355px; top:380px; width:56px; height:22px; ">
  43. <caption>닫기</caption>
  44. <script type="javascript" ev:event="DOMActivate">
  45. <![CDATA[
  46. model.close();
  47. ]]>
  48. </script>
  49. </button>
  50. <caption id="caption10" class="cell_1" style="left:12px; top:86px; width:100px; height:23px; vertical-align:middle; ">송신시간</caption>
  51. <caption id="caption11" class="cell_1" style="left:12px; top:61px; width:100px; height:23px; vertical-align:middle; ">받는이 ID</caption>
  52. <caption id="caption12" class="cell_1" style="left:222px; top:86px; width:100px; height:23px; vertical-align:middle; ">메시지 종류</caption>
  53. <caption id="caption13" class="cell_1" style="left:222px; top:61px; width:100px; height:23px; vertical-align:middle; ">환자 ID</caption>
  54. <caption id="caption14" class="cell_1" style="left:222px; top:36px; width:100px; height:23px; font-family:돋움; vertical-align:middle; ">환자명</caption>
  55. <line id="line1" class="line_1" style="x1:12px; y1:32px; x2:412px; y2:32px; "/>
  56. <caption id="caption9" class="cell_1" style="left:12px; top:36px; width:100px; height:23px; font-family:돋움; vertical-align:middle; ">받는이</caption>
  57. </xhtml:body>
  58. </xhtml:html>