SPAHA05010_검사코드조회.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <testcdlst>
  11. <item>
  12. <testcd/>
  13. <testnm/>
  14. </item>
  15. </testcdlst>
  16. </main>
  17. <send>
  18. <testroomcd/>
  19. <testroomnm/>
  20. <srchgubn/>
  21. <srchnm/>
  22. </send>
  23. <popdata>
  24. <testroomcd/>
  25. <testroomnm/>
  26. </popdata>
  27. <temp>
  28. <list/>
  29. </temp>
  30. </root>
  31. </instance>
  32. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  34. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  35. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  36. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. model.setFocus("ipt_cdnm");
  40. model.setValue("/root/send/testroomcd", model.getValue("/root/popdata/testroomcd"));
  41. model.setValue("/root/send/testroomnm", model.getValue("/root/popdata/testroomnm"));
  42. model.setValue("/root/send/srchgubn", "nm");
  43. readfunc();
  44. ]]>
  45. </script>
  46. <submission id="TRAHA05011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testcdlst"/>
  47. <submission id="TRZBC00101"/>
  48. </model>
  49. <script type="javascript">
  50. <![CDATA[
  51. function readfunc(){
  52. model.removeNodeset("/root/main/testcdlst/item");
  53. submit("TRAHA05011");
  54. }
  55. ]]>
  56. </script>
  57. </xhtml:head>
  58. <xhtml:body pagewidth="590" pageheight="780" guideline="1,1194;1,586;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  59. <group id="group3" scroll="auto" style="left:0px; top:0px; width:565px; height:730px; ">
  60. <group id="group2" style="left:0px; top:0px; width:554px; height:65px; vertical-align:top; ">
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:554px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <caption id="caption2" class="search_name" style="left:6px; top:34px; width:86px; height:17px; ">검색조건 :</caption>
  63. <button id="btn_search" class="btn1_letter2" style="left:480px; top:20px; width:56px; height:22px; ">
  64. <caption>조회</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. readfunc();
  68. ]]>
  69. </script>
  70. </button>
  71. <line id="line13" style="x1:459px; y1:6px; x2:459px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
  72. <select1 id="cmb_srchcond2" ref="/root/send/srchgubn" class="combo_search" appearance="minimal" style="left:98px; top:33px; width:80px; height:19px; ">
  73. <choices>
  74. <item>
  75. <label>코드</label>
  76. <value>cd</value>
  77. </item>
  78. <item>
  79. <label>명칭</label>
  80. <value>nm</value>
  81. </item>
  82. </choices>
  83. <script type="javascript" ev:event="xforms-select">
  84. <![CDATA[
  85. model.setFocus("ipt_cdnm");
  86. ]]>
  87. </script>
  88. </select1>
  89. <input id="ipt_cdnm" ref="/root/send/srchnm" class="input_search" _chartype="upper" style="left:181px; top:33px; width:262px; height:19px; ">
  90. <script type="javascript" ev:event="onkeyup">
  91. <![CDATA[
  92. inputEnterKey("btn_search", "DOMActivate");
  93. ]]>
  94. </script>
  95. </input>
  96. <caption id="caption1" class="search_name" style="left:6px; top:9px; width:86px; height:17px; ">검 사 실 :</caption>
  97. <input id="input1" ref="/root/send/testroomcd" disabled="true" style="left:98px; top:9px; width:80px; height:19px; "/>
  98. <input id="input2" ref="/root/send/testroomnm" disabled="true" style="left:181px; top:9px; width:262px; height:19px; "/>
  99. </group>
  100. <switch id="swt_acptlst" style="left:0px; top:70px; width:554px; height:640px; border-color:#c7a3cf; border-style:solid; ">
  101. <case id="case_pkg" style="left:0px; top:0px; width:553px; height:648px; ">
  102. <datagrid id="grd_pkglst" nodeset="/root/main/testcdlst/item" caption="검사코드^검사코드명" colsep="^" colwidth="100, 408" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:0px; width:550px; height:635px; ">
  103. <col ref="testcd"/>
  104. <col ref="testnm"/>
  105. <script type="javascript" ev:event="ondblclick">
  106. <![CDATA[
  107. if (isDataCell()) {
  108. var testcd = model.property("testcd");
  109. var testnm = model.property("testnm");
  110. if(testcd != ""){
  111. parent.model.setValue(testcd,model.getValue("/root/main/testcdlst/item["+ grd_pkglst.row +"]/testcd"));
  112. }
  113. if(testnm != ""){
  114. parent.model.setValue(testnm,model.getValue("/root/main/testcdlst/item["+ grd_pkglst.row +"]/testnm"));
  115. }
  116. opener.model.refresh();
  117. window.close();
  118. }
  119. ]]>
  120. </script>
  121. </datagrid>
  122. </case>
  123. </switch>
  124. </group>
  125. <group id="group4" scroll="auto" style="left:6px; top:740px; width:542px; height:28px; ">
  126. <button id="button9" class="btn4_letter2" style="left:481px; top:3px; width:56px; height:22px; ">
  127. <caption>취소</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. window.close();
  131. ]]>
  132. </script>
  133. </button>
  134. </group>
  135. </xhtml:body>
  136. </xhtml:html>