SPADB61800_신체계측조회.xrw 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <vslist>
  11. <item>
  12. <vsdd>20070518</vsdd>
  13. <ht>150</ht>
  14. <wt>45</wt>
  15. </item>
  16. </vslist>
  17. </main>
  18. <send>
  19. <pid/>
  20. </send>
  21. <init/>
  22. <hidden>
  23. <receiveref/>
  24. </hidden>
  25. </root>
  26. </instance>
  27. <submission id="TRADB61801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/vslist"/>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. model.setValue("/root/send/pid", opener.javascript.getParameter("pid") );
  31. model.refresh();
  32. submit("TRADB61801");
  33. ]]>
  34. </script>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. </xhtml:head>
  38. <xhtml:body pagewidth="352" pageheight="400" guideline="1,332;2,410;">
  39. <group id="grp_biz" scroll="auto" style="left:4px; top:0px; width:330px; height:370px; ">
  40. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:140px; height:13px; ">신체계측조회</caption>
  41. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:325px; y2:25px; "/>
  42. <datagrid id="grd_vslist" nodeset="/root/main/vslist/item" caption="일시^신장^체중" colsep="^" colwidth="191, 53, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:30px; width:325px; height:335px; ">
  43. <col ref="vsdd" type="output" format="yyyy-mm-dd hh:nn:ss"/>
  44. <col ref="ht"/>
  45. <col ref="wt"/>
  46. <script type="javascript" ev:event="ondblclick">
  47. <![CDATA[
  48. var receiveref = model.getValue("/root/hidden/receiveref");
  49. if ( checkOpener() ) {
  50. opener.model.setValue(receiveref + "/ht", model.getValue("/root/main/vslist/item["+grd_vslist.row+"]/ht"));
  51. opener.model.setValue(receiveref + "/wt", model.getValue("/root/main/vslist/item["+grd_vslist.row+"]/wt"));
  52. opener.model.refresh();
  53. window.close();
  54. } else {
  55. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  56. }
  57. ]]>
  58. </script>
  59. </datagrid>
  60. </group>
  61. <group id="grp_btn" scroll="auto" style="left:4px; top:369px; width:330px; height:27px; ">
  62. <button id="btn_cfm" class="btn4_letter2" style="left:211px; top:4px; width:56px; height:22px; ">
  63. <caption>확인</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. if ( model.getValue("/root/main/data/subtrvolresn") ==""){
  67. messageBox("사유를 ","C001");
  68. return;
  69. }
  70. model.copyNode ( opener.root.hidden.subtrvol , root.main.data );
  71. window.close();
  72. ]]>
  73. </script>
  74. </button>
  75. <button id="btn_can" class="btn4_letter2" style="left:270px; top:4px; width:56px; height:22px; ">
  76. <caption>취소</caption>
  77. <close ev:event="DOMActivate"/>
  78. </button>
  79. </group>
  80. </xhtml:body>
  81. </xhtml:html>