SMMNV03400_성가그림.xrw 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <menuitems>
  11. <gnrlmenu>
  12. <item>
  13. <name>종료</name>
  14. <func>fCloseBoard</func>
  15. </item>
  16. </gnrlmenu>
  17. </menuitems>
  18. <date>
  19. <tdate/>
  20. <ttime/>
  21. </date>
  22. </main>
  23. <send>
  24. <reqdata/>
  25. </send>
  26. <init>
  27. </init>
  28. <hidden>
  29. <title>수술 및 분만 진행현황 안내</title>
  30. <time/>
  31. <callmsg/>
  32. <patlist/>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <submission id="TRMNV06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/hidden/patlist"/>
  37. <script type="javascript" ev:event="xforms-model-construct-done">
  38. <![CDATA[
  39. fInitialize();
  40. ]]>
  41. </script>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript">
  47. <![CDATA[
  48. var submitIntervalTime = 15 * 1000 ; // 15초
  49. var getlListInterval = ""
  50. var count = 0;
  51. function fInitialize(){
  52. clockID = window.setInterval("clock();" , 1000); //1초
  53. getlListInterval = window.setInterval("fGetNextOpPatList()", submitIntervalTime); //15초
  54. // fGetNextOpPatList
  55. }
  56. function fGetNextOpPatList() {
  57. if (count >= 1 ) {
  58. if(!isNull(getlListInterval)) {
  59. window.clearInterval(getlListInterval);
  60. opener.window.javaScript.fOpInit();
  61. }
  62. } else {
  63. count++
  64. }
  65. model.refresh()
  66. }
  67. function fCloseBoard(){
  68. if (getlListInterval != "") window.clearInterval(getlListInterval);
  69. opener.window.close();
  70. }
  71. function clock() {
  72. var tdate = getCurrentDateTime().substring(0, 4) + "년 "
  73. + getCurrentDateTime().substring(4, 6) + "월 "
  74. + getCurrentDateTime().substring(6, 8) + "일 "
  75. // + getCurrentDate().toDate("YYYYMMDD").getDayOfWeek("K") + "요일 "
  76. var ttime = getCurrentDateTime().substring(8, 11) + ":"
  77. + getCurrentDateTime().substring(11, 13) + ":"
  78. + getCurrentDateTime().substring(13, 15)
  79. model.setValue("/root/main/date/tdate", tdate) ;
  80. model.setValue("/root/main/date/ttime", ttime) ;
  81. model.refresh();
  82. }
  83. ]]>
  84. </script>
  85. </xhtml:head>
  86. <xhtml:body pagewidth="1024" pageheight="634" guideline="1,1001;2,640;2,100;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  87. <caption id="caption1" style="left:0px; top:0px; width:1001px; height:75px; font-family:HY헤드라인M; font-size:36pt; font-weight:bold; color:#000080; text-align:center; vertical-align:middle; ">수술 진행현황 안내</caption>
  88. <img id="img1" src="../../../emr/waitguideweb/images/his014pic.jpg" style="left:0px; top:70px; width:1001px; height:560px; background-stretch:stretch; "/>
  89. <script type="javascript" ev:event="onmousedown">
  90. <![CDATA[
  91. if(event.button == 3) {
  92. window.setPopupMenu(true, "/root/main/menuitems/gnrlmenu/item", "name", "func", false);
  93. }
  94. ]]>
  95. </script>
  96. <script type="javascript" ev:event="DOMFocusOut">
  97. <![CDATA[
  98. window.setPopupMenu(false);
  99. ]]>
  100. </script>
  101. <img id="img2" src="../../../emr/waitguideweb/images/his014logo.jpg" style="left:0px; top:0px; width:166; height:68; background-stretch:stretch; "/>
  102. <caption id="caption3" ref="/root/main/date/tdate" style="left:685px; top:5px; width:310px; height:30px; font-family:HY각헤드라인M; font-size:18pt; text-align:right; "/>
  103. <caption id="caption6" ref="/root/main/date/ttime" style="left:770px; top:35px; width:215px; height:30px; font-family:HY각헤드라인M; font-size:18pt; text-align:right; "/>
  104. </xhtml:body>
  105. </xhtml:html>