SPAEA04000_가예약현황조회.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  11. <item>
  12. <opdd/>
  13. <optm/>
  14. <excuroomnm/>
  15. <pid/>
  16. <hngnm/>
  17. <roomcd/>
  18. <diagnm/>
  19. <opnm/>
  20. <usernm/>
  21. <atdoctcmt/>
  22. </item>
  23. </list>
  24. <patinfo>
  25. <patinfolist/>
  26. </patinfo>
  27. <popupendflag/>
  28. </main>
  29. <send>
  30. <opfromdd/>
  31. <optodd/>
  32. <pid/>
  33. <hngnm/>
  34. <sex/>
  35. <age/>
  36. </send>
  37. <inti/>
  38. <hidden/>
  39. </root>
  40. </instance>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  46. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  47. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  48. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  49. <submission id="TRZBC00101"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. ipt_opfromdd.value = getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD") ;
  53. ipt_optodd.value = getCurrentDate();
  54. model.refresh();
  55. ]]>
  56. </script>
  57. <submission id="TRAEA04001" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/list"/>
  58. </model>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="900" pageheight="630" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="grp_tle" style="left:0px; top:0px; width:875px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">가예약 현황 조회</caption>
  63. </group>
  64. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:875px; height:580px; ">
  65. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:200px; height:14px; ">가예약 현황 조회</caption>
  66. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:873px; y2:70px; "/>
  67. <group id="grp_sea" style="left:0px; top:10px; width:875px; height:35px; vertical-align:top; ">
  68. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:873px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  69. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">예약일자 :</caption>
  70. <line id="line13" class="line_4" style="x1:785px; y1:7px; x2:785px; y2:29px; "/>
  71. <button id="btn_sea" navindex="4" class="btn1_letter2" style="left:800px; top:7px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. submit("TRAEA04001");
  76. model.refresh();
  77. ]]>
  78. </script>
  79. </button>
  80. <input id="ipt_optodd" ref="/root/send/optodd" navindex="2" class="input_default" inputtype="date" style="left:222px; top:9px; width:100px; height:19px; "/>
  81. <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
  82. <input id="ipt_opfromdd" ref="/root/send/opfromdd" navindex="1" class="input_default" inputtype="date" style="left:104px; top:9px; width:100px; height:19px; "/>
  83. <caption id="caption3" class="search_name" style="left:345px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  84. <input id="input1" ref="/root/send/pid" class="input_search" style="left:435px; top:9px; width:100px; height:19px; ">
  85. <script type="javascript" ev:event="onkeyup">
  86. <![CDATA[
  87. inputEnterKey("btn_sea", "DOMActivate");
  88. ]]>
  89. </script>
  90. </input>
  91. <button id="button33" class="icon_search" style="left:540px; top:9px; width:16px; height:16px; ">
  92. <caption/>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  96. if (model.getValue("/root/main/popupendflag") == "ok") {
  97. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  98. model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  99. model.setValue("/root/send/sex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  100. model.setValue("/root/send/age", model.getValue("/root/main/patinfo/patinfolist/age"));
  101. model.refresh();
  102. }
  103. ]]>
  104. </script>
  105. </button>
  106. <output id="output1" ref="/root/send/hngnm" class="output_fix" style="left:560px; top:9px; width:80px; height:19px; "/>
  107. <output id="output3" ref="/root/send/age" class="output_fix" style="left:710px; top:9px; width:50px; height:19px; "/>
  108. <select1 id="combo1" ref="/root/send/sex" class="combo_default" appearance="minimal" style="left:645px; top:9px; width:60px; height:19px; ">
  109. <choices>
  110. <item>
  111. <label>남자</label>
  112. <value>M</value>
  113. </item>
  114. <item>
  115. <label>여자</label>
  116. <value>F</value>
  117. </item>
  118. </choices>
  119. </select1>
  120. </group>
  121. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="예약일자^예약일시^예약검사실^등록번호^환자명^병실코드^진단명^수술명^주치의^비고" colwidth="85, 85, 85, 85, 85, 85, 85, 85, 85, 85" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" navindex="5" style="left:0px; top:75px; width:872px; height:500px; text-align:center; ">
  122. <col ref="opdd" type="inputdate"/>
  123. <col ref="optm"/>
  124. <col ref="excuroomnm"/>
  125. <col ref="pid"/>
  126. <col ref="hngnm"/>
  127. <col ref="roomcd"/>
  128. <col ref="diagnm"/>
  129. <col ref="opnm"/>
  130. <col ref="usernm"/>
  131. <col ref="atdoctcmt"/>
  132. </datagrid>
  133. <button id="btn_excsave" class="btn2_letter4" style="left:808px; top:50px; width:64px; height:19px; ">
  134. <caption>엑셀저장</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  138. if (fileName != "")
  139. {
  140. grd_list.saveExcel(fileName);
  141. }
  142. ]]>
  143. </script>
  144. </button>
  145. </group>
  146. </xhtml:body>
  147. </xhtml:html>