SPAHR00500_문진조회.xrw 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAHR00400.xrw
  4. * 설 명 : 결과예문선택
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.08.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>문진조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <inqrlst>
  20. <item>
  21. <inqrcd/>
  22. <inqrnm/>
  23. <answcd/>
  24. <answcnts/>
  25. <remcnts/>
  26. <answflag/>
  27. <inptflag/>
  28. <inqrflag/>
  29. </item>
  30. </inqrlst>
  31. </main>
  32. <send>
  33. <srchinstcd/>
  34. <srchhealexamflag/>
  35. <srchorddd/>
  36. <srchrsrvdd/>
  37. <srchrsrvno/>
  38. <srchpid/>
  39. <srchinqrflag/>
  40. </send>
  41. <init/>
  42. <hidden/>
  43. </root>
  44. </instance>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../ast/commonweb/js/AHA001.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" ev:event="xforms-ready">
  49. <![CDATA[
  50. fInit();
  51. ]]>
  52. </script>
  53. <submission id="TRAHR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inqrlst"/>
  54. </model>
  55. <script type="javascript">
  56. <![CDATA[
  57. /**
  58. @desc : 초기화
  59. */ function fInit(){
  60. model.resetInstanceNode("/root/main/inqrlst");
  61. fGetInqrCdList();
  62. }
  63. /**
  64. *SPAHR00200_PARAM1 : 건진구분
  65. SPAHR00200_PARAM2 : 등록번호
  66. SPAHR00200_PARAM3 : 건진일자
  67. SPAHR00200_PARAM4 : 예약일자
  68. SPAHR00200_PARAM5 : 예약번호
  69. SPAHR00200_PARAM6 : 기관코드
  70. SPAHR00200_PARAM7 : 문진구분
  71. */
  72. function fGetInqrCdList(){
  73. var healExamFlag = opener.javascript.getParameter("SPAHR00500_PARAM1");
  74. var pid = opener.javascript.getParameter("SPAHR00500_PARAM2");
  75. var orddd = opener.javascript.getParameter("SPAHR00500_PARAM3");
  76. var rsrvdd = opener.javascript.getParameter("SPAHR00500_PARAM4");
  77. var rsrvno = opener.javascript.getParameter("SPAHR00500_PARAM5");
  78. var instcd = opener.javascript.getParameter("SPAHR00500_PARAM6");
  79. var inqrFlag = opener.javascript.getParameter("SPAHR00500_PARAM7");
  80. model.removeNodeset(grd_inqrlst.nodeset);
  81. if(healExamFlag == "" || pid == "" || orddd == "" || rsrvdd == "" || rsrvno == "" ) {
  82. messageBox("건진자 정보가 존재하지","E007");
  83. }
  84. if(instcd == "") {
  85. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  86. }
  87. if(inqrFlag == "") {
  88. model.setValue("/root/send/srchinqrflag","T");
  89. }
  90. model.setValue("/root/send/srchhealexamflag", healExamFlag);
  91. model.setValue("/root/send/srchpid" , pid);
  92. model.setValue("/root/send/srchorddd" , orddd);
  93. model.setValue("/root/send/srchrsrvdd" , rsrvdd);
  94. model.setValue("/root/send/srchrsrvno" , rsrvno);
  95. model.setValue("/root/send/srchinstcd" , instcd);
  96. model.setValue("/root/send/srchinqrflag" , inqrFlag);
  97. submit("TRAHR01003");
  98. }
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body pagewidth="740" pageheight="780" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  103. <group id="group3" scroll="auto" style="left:0px; top:0px; width:720px; height:720px; ">
  104. <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:717px; y2:23px; "/>
  105. <datagrid id="grd_inqrlst" nodeset="/root/main/inqrlst/item" caption="문진코드^문진내용^답안선택^답안내역^비고^anstype^문진구분" colsep="^" colwidth="83, 337, 63, 87, 108, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:28px; width:717px; height:690px; ">
  106. <col ref="inqrcd"/>
  107. <col ref="inqrnm"/>
  108. <col ref="answcd"/>
  109. <col ref="answcnts"/>
  110. <col class="gridinput" ref="remcnts" type="input"/>
  111. <col disabled="true" ref="answflag" type="combo" visibility="hidden">
  112. <choices>
  113. <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
  114. <label ref="cdnm"/>
  115. <value ref="cdid"/>
  116. </itemset>
  117. </choices>
  118. </col>
  119. <col disabled="true" ref="inptflag" type="combo" visibility="hidden">
  120. <choices>
  121. <itemset nodeset="/root/init/baseinfo/inqrflag/A0106">
  122. <label ref="cdnm"/>
  123. <value ref="cdid"/>
  124. </itemset>
  125. </choices>
  126. </col>
  127. </datagrid>
  128. <caption id="caption19" class="tit_2" style="left:4px; top:5px; width:159px; height:14px; ">문진조회</caption>
  129. </group>
  130. <group id="grp_btn" scroll="auto" style="left:0px; top:726px; width:713px; height:27px; ">
  131. <button id="btn_confirm" class="btn4_letter2" style="left:652px; top:5px; width:56px; height:22px; ">
  132. <caption>확인</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. window.close();
  136. ]]>
  137. </script>
  138. </button>
  139. </group>
  140. </xhtml:body>
  141. </xhtml:html>