SPADB63000_TDM기준정보조회.xrw 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <![CDATA[">]]>
  6. <xhtml:title>TDM기준정보</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <testlist>
  12. <item>
  13. <testcd/>
  14. <testnm/>
  15. </item>
  16. </testlist>
  17. </main>
  18. <send>
  19. <srchinfo>
  20. <srchcnts/>
  21. <srchcond/>
  22. <srchioflag/>
  23. </srchinfo>
  24. </send>
  25. <hidden>
  26. <receiveref/>
  27. </hidden>
  28. <init>
  29. </init>
  30. <temp/>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. var ioflag = model.getValue("/root/hidden/receiveref/ioflag");
  36. if(ioflag != ""){
  37. model.setValue("/root/send/srchinfo/srchioflag",ioflag);
  38. }
  39. submit("TRADB62202");
  40. ]]>
  41. </script>
  42. <submission id="TRADB62202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/testlist"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  47. </xhtml:head>
  48. <xhtml:body pagewidth="460" pageheight="380" guideline="1,434;2,380;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  49. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:21px; width:431px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  50. <caption id="caption2" class="tit_2" style="left:0px; top:0px; width:140px; height:18px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">TDM 기준정보조회</caption>
  51. <caption id="caption3" class="search_name" style="left:15px; top:30px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검 색 어 :</caption>
  52. <line id="line1" style="x1:354px; y1:27px; x2:354px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  53. <input id="input1" ref="/root/send/srchinfo/srchcnts" class="input_search" style="left:104px; top:29px; width:159px; height:19px; ">
  54. <script type="javascript" ev:event="onkeypress">
  55. <![CDATA[
  56. inputEnterKey("btn_req", "DOMActivate");
  57. ]]>
  58. </script>
  59. </input>
  60. <line id="line3" class="line_1" style="x1:4px; y1:58px; x2:435px; y2:58px; "/>
  61. <button id="btn_req" class="btn1_letter2" style="left:366px; top:28px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  62. <caption>조회</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. submit("TRADB62202");
  66. ]]>
  67. </script>
  68. </button>
  69. <button id="btn_cfm" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:324px; top:354px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  70. <caption>확인</caption>
  71. </button>
  72. <button id="btn_can" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:381px; top:354px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  73. <caption>취소</caption>
  74. <close ev:event="DOMActivate"/>
  75. </button>
  76. <select1 id="combo1" ref="/root/send/srchinfo/srchcond" class="combo_search" disabled="false" appearance="minimal" style="left:265px; top:29px; width:80px; height:19px; ">
  77. <choices>
  78. <item>
  79. <label>검사코드</label>
  80. <value>1</value>
  81. </item>
  82. <item>
  83. <label>검사명</label>
  84. <value>2</value>
  85. </item>
  86. </choices>
  87. </select1>
  88. <datagrid id="grd_testlist" nodeset="/root/main/testlist/item" caption="검사코드^검사명" colsep="^" colwidth="100, 309" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:4px; top:63px; width:431px; height:284px; background-color:#ffffff; border-color:#B0B0B0; ">
  89. <col ref="testcd"/>
  90. <col ref="testnm"/>
  91. <script type="javascript" ev:event="ondblclick">
  92. <![CDATA[
  93. if ( checkOpener() ) {
  94. opener.model.setValue("/root/temp/testinfo/testcd",model.getValue( "/root/main/testlist/item["+grd_testlist.row+"]/testcd"));
  95. opener.model.setValue("/root/temp/testinfo/testnm",model.getValue( "/root/main/testlist/item["+grd_testlist.row+"]/testnm"));
  96. window.close();
  97. } else {
  98. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  99. }
  100. ]]>
  101. </script>
  102. </datagrid>
  103. </xhtml:body>
  104. </xhtml:html>