SPAHA03190_사전질의코드관리.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHB00100.xrw
  4. * 설 명 : 검사코드관리
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 박원희
  7. * 작 성 일 : 2007.03.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <sel/>
  22. <inqrcd/>
  23. <inqrnm/>
  24. <answcnt/>
  25. <useyn/>
  26. <inqrdispseq/>
  27. <lastupdtrid/>
  28. <lastupdtdt/>
  29. </item>
  30. </inqrlst>
  31. </main>
  32. <send>
  33. <srchinqrcd/>
  34. <srchinqrcnts/>
  35. <save>
  36. <saveinqrcd/>
  37. <instcd/>
  38. <inqrflag/>
  39. <userid/>
  40. <saveinqrans/>
  41. <inqrcd/>
  42. </save>
  43. <ansinqrcd/>
  44. </send>
  45. <init>
  46. <baseinfo>
  47. <inqrflaglst/>
  48. <answflaglst/>
  49. </baseinfo>
  50. </init>
  51. <hidden/>
  52. </root>
  53. </instance>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  58. <submission id="TRAHB03191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inqrlst"/>
  59. <submission id="TRZBC00101"/>
  60. <script type="javascript" ev:event="xforms-ready">
  61. <![CDATA[
  62. fGetinqrlst();
  63. ]]>
  64. </script>
  65. <submission id="TRAHA03181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/inqrlst"/>
  66. </model>
  67. <script type="javascript">
  68. <![CDATA[
  69. function fGetinqrlst(){
  70. submit("TRAHB03191")
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body pagewidth="600" pageheight="800" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  76. <group id="grp_tle" style="left:0px; top:0px; width:600px; height:13px; ">
  77. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">패키지별 사전질의 관리</caption>
  78. </group>
  79. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:600px; height:744px; ">
  80. <group id="grp_sea" style="left:0px; top:10px; width:600px; height:35px; vertical-align:top; ">
  81. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:600px; height:35px; "/>
  82. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:87px; height:17px; ">항목코드 :</caption>
  83. <input id="ipt_inqrcnts" ref="/root/send/srchinqrcnts" class="input_search" style="left:284px; top:7px; width:161px; height:19px; "/>
  84. <button id="btn_search" class="btn1_letter2" style="left:530px; top:5px; width:56px; height:22px; ">
  85. <caption>조회</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. model.removenode("/root/main/anslst");
  89. model.removenode("/root/main/inqrlst");
  90. fGetinqrlst();
  91. ]]>
  92. </script>
  93. </button>
  94. <caption id="caption5" class="search_name" style="left:193px; top:8px; width:87px; height:17px; ">항목내용 :</caption>
  95. <input id="input1" ref="/root/send/srchinqrcd" class="input_search" style="left:107px; top:8px; width:78px; height:19px; "/>
  96. </group>
  97. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">사전질의 코드</caption>
  98. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:600px; y2:70px; "/>
  99. <datagrid id="grd_inqrlst" nodeset="/root/main/inqrlst/item" caption="선택^코드^사전질의내역^답안선택수^사용여부^최종수정자^최종수정일시" colsep="^" colwidth="49, 70, 260, 80, 50, 100, 100" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:595px; height:660px; ">
  100. <col ref="sel" type="checkbox"/>
  101. <col ref="inqrcd"/>
  102. <col ref="inqrnm"/>
  103. <col ref="answcnt"/>
  104. <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
  105. <col ref="lastupdtrid"/>
  106. <col ref="lastupdtdt" type="input"/>
  107. <script type="javascript" ev:event="onclick">
  108. <![CDATA[
  109. model.refresh();
  110. ]]>
  111. </script>
  112. </datagrid>
  113. </group>
  114. <group id="grp_btn" style="left:0px; top:757px; width:600px; height:27px; ">
  115. <button id="btn_save" class="btn4_letter2" style="left:540px; top:2px; width:56px; height:22px; ">
  116. <caption>확인</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. model.makeNode("/root/temp/inqrlst");
  120. var desCnt = parseInt(opener.model.getXPathValue("count(/root/main/pkgtestcdlst/iteminqr)"));
  121. for(var i = 1; i < grd_inqrlst.rows; i++)
  122. {
  123. if(model.getValue("/root/main/inqrlst/item[" + i + "]/sel") != "true")
  124. {
  125. continue;
  126. }
  127. desCnt = desCnt + 1;
  128. opener.grd_inqrlst.addRow();
  129. opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/pkgflag", opener.model.getValue("/root/send/srchpkgflag"));
  130. opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/pkgcd", opener.model.getValue("/root/send/srchpkgcd2"));
  131. opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/inqrcd", model.getValue("/root/main/inqrlst/item[" + i + "]/inqrcd"));
  132. opener.model.makeValue("/root/main/pkgtestcdlst/iteminqr[" + desCnt + "]/inqrnm", model.getValue("/root/main/inqrlst/item[" + i + "]/inqrnm"));
  133. }
  134. window.close();
  135. ]]>
  136. </script>
  137. </button>
  138. </group>
  139. </xhtml:body>
  140. </xhtml:html>