SPMNR02900_Nursing Diagnosis 조회.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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>Nursing Diagnosis 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <stmtlist>
  11. <stmtinfo>
  12. <stmtcnts/>
  13. <stmtcd/>
  14. </stmtinfo>
  15. </stmtlist>
  16. <cond>
  17. <stmtnm/>
  18. <dnar/>
  19. </cond>
  20. </main>
  21. <send/>
  22. <hidden>
  23. <refinfo/>
  24. <stmtinfo/>
  25. </hidden>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. fSearchNursDiag();
  31. ]]>
  32. </script>
  33. <submission id="TRMNR02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtlist"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. <script type="javascript">
  38. <![CDATA[
  39. function fSearchNursDiag(){
  40. model.setValue("/root/main/cond/dnar","2N");
  41. model.removeNodeset("/root/main/stmtlist/stmtinfo");
  42. model.removenode("/root/send");
  43. model.makeNode("/root/send");
  44. model.copyNode("/root/send", "/root/main/cond");
  45. submit("TRMNR02901");
  46. }
  47. function fSendStmtInfo(){
  48. var iRow = grd_stmtinfo.row;
  49. if(iRow < 1) {
  50. messageBox("진술문장을 하나 ",C002);
  51. return;
  52. }
  53. model.copyNode("/root/hidden/stmtinfo", "/root/main/stmtlist/stmtinfo["+iRow+"]");
  54. if(checkOpener()){
  55. model.copyNode(opener.root.hidden.retinfo.stmtinfo, root.hidden.stmtinfo);
  56. }else{
  57. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  58. }
  59. model.close();
  60. }
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="600" pageheight="400" guideline="1,21;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="grp_biz" scroll="auto" style="left:0px; top:35px; width:580px; height:326px; ">
  66. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:194px; height:14px; ">Nursing Diagnosis 조회</caption>
  67. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:576px; y2:25px; "/>
  68. <datagrid id="grd_stmtinfo" nodeset="/root/main/stmtlist/stmtinfo" class="datagrid2" caption="진술문장^stmtcd" colsep="^" colwidth="552, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:30px; width:576px; height:290px; ">
  69. <col ref="stmtcnts" style="text-align:left; "/>
  70. <col ref="stmtcd" visibility="hidden"/>
  71. <script type="javascript" ev:event="ondblclick">
  72. <![CDATA[
  73. fSendStmtInfo();
  74. ]]>
  75. </script>
  76. </datagrid>
  77. </group>
  78. <group id="group2" style="left:0px; top:0px; width:581px; height:35px; vertical-align:top; ">
  79. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35px; "/>
  80. <line id="line13" class="line_4" style="x1:515px; y1:7px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  81. <button id="btn_search" class="btn1_letter2" style="left:520px; top:7px; width:56px; height:22px; ">
  82. <caption>조회</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. fSearchNursDiag();
  86. ]]>
  87. </script>
  88. </button>
  89. <input id="input3" ref="/root/main/cond/stmtnm" class="input_default" style="left:84px; top:8px; width:182px; height:19px; ">
  90. <script type="javascript" ev:event="onkeyup">
  91. <![CDATA[
  92. inputEnterKey("btn_search", "DOMActivate");
  93. ]]>
  94. </script>
  95. </input>
  96. <caption id="caption4" class="search_name" style="left:0px; top:9px; width:80px; height:17px; ">검색어 :</caption>
  97. </group>
  98. <group id="group1" scroll="auto" style="left:0px; top:356px; width:580px; height:27px; ">
  99. <button id="btn_select" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
  100. <caption>선택</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. fSendStmtInfo();
  104. ]]>
  105. </script>
  106. </button>
  107. <button id="btn_close" class="btn4_letter2" style="left:520px; top:3px; width:56px; height:22px; ">
  108. <caption>닫기</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. model.close();
  112. ]]>
  113. </script>
  114. </button>
  115. </group>
  116. </xhtml:body>
  117. </xhtml:html>