SPMRJ00900_의사임상권한첨부상세조회.xrw 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <xhtml:head>
  5. <xhtml:title>임상권한첨부상세조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <attach>
  11. <imgedata/>
  12. <beforeseq/>
  13. <nextseq/>
  14. <fileseq/>
  15. <authno/>
  16. </attach>
  17. </main>
  18. <send>
  19. <reqdata>
  20. <authno/>
  21. <fileseq/>
  22. </reqdata>
  23. </send>
  24. <hidden/>
  25. <init/>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. model.setValue("/root/send/reqdata/authno", opener.model.getValue("/root/send/reqdata/authno"));
  31. model.setValue("/root/send/reqdata/fileseq", opener.model.getValue("/root/send/reqdata/fileseq"));
  32. fAttachView();
  33. ]]>
  34. </script>
  35. <script type="javascript">
  36. <![CDATA[
  37. function fAttachView() {
  38. var authno = model.getValue("/root/send/reqdata/authno");
  39. var fileseq = model.getValue("/root/send/reqdata/fileseq");
  40. img1.src = "";
  41. img1.refresh();
  42. button3.visible = false;
  43. button4.visible = false;
  44. if ( fileseq == "" ) return;
  45. img1.src = "/himed/webapps/cmc/web/xrw/.live?submit_id=TRMRJ00803&business_id=emr&screen_id=SMMRJ00300&macaddr=123456798&authno=" + authno + "&fileseq=" + fileseq;
  46. img1.refresh();
  47. submit("TRMRJ00804");
  48. var beforeseq = model.getValue("/root/main/attach/beforeseq");
  49. var nextseq = model.getValue("/root/main/attach/nextseq");
  50. if ( beforeseq != null && beforeseq != "" ) {
  51. button3.visible = true;
  52. } else {
  53. button3.visible = false;
  54. }
  55. if ( nextseq != null && nextseq != "" ) {
  56. button4.visible = true;
  57. } else {
  58. button4.visible = false;
  59. }
  60. model.refresh();
  61. }
  62. ]]>
  63. </script>
  64. <submission id="TRMRJ00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/attach"/>
  65. <submission id="TRMRJ00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/attach"/>
  66. </model>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  69. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  70. </xhtml:head>
  71. <xhtml:body pagewidth="800" pageheight="1180" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  72. <line id="line8" class="line_1" style="x1:0px; y1:16px; x2:773px; y2:14px; "/>
  73. <caption id="caption25" class="tit_2" style="left:0px; top:1px; width:147px; height:14px; ">임상권한첨부상세조회</caption>
  74. <button id="button2" class="btn4_letter2" style="left:717px; top:1155px; width:56px; height:22px; ">
  75. <caption>닫기</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. window.close();
  79. ]]>
  80. </script>
  81. </button>
  82. <img id="img1" style="left:5px; top:25px; width:768px; height:1120px; background-stretch:stretch; border-width:1px; "/>
  83. <button id="button3" class="btn3_letter2" visibility="hidden" style="left:355px; top:1155px; width:56px; height:22px; ">
  84. <caption>이전</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. var fileseq = model.getValue("/root/main/attach/beforeseq");
  88. if ( fileseq != null && fileseq != "" ) {
  89. model.makeValue("/root/send/reqdata/fileseq", fileseq);
  90. fAttachView();
  91. }
  92. ]]>
  93. </script>
  94. </button>
  95. <button id="button4" class="btn4_letter2" visibility="hidden" style="left:415px; top:1155px; width:56px; height:22px; ">
  96. <caption>다음</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. var fileseq = model.getValue("/root/main/attach/nextseq");
  100. if ( fileseq != null && fileseq != "" ) {
  101. model.makeValue("/root/send/reqdata/fileseq", fileseq);
  102. fAttachView();
  103. }
  104. ]]>
  105. </script>
  106. </button>
  107. </xhtml:body>
  108. </xhtml:html>