SPMNW04702_피부욕창관찰기록기준자료팝업.xrw 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>피부욕창관찰기록기준자료</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <detlgrup>
  12. <getVO>
  13. </getVO>
  14. </detlgrup>
  15. <list>
  16. <userlist/>
  17. </list>
  18. <item>
  19. <temp/>
  20. </item>
  21. </main>
  22. <send>
  23. <reqdata>
  24. <jobkindcd/>
  25. <instcd/>
  26. <deptcd/>
  27. <flag/>
  28. </reqdata>
  29. <grupcd/>
  30. </send>
  31. <init>
  32. <searchitem/>
  33. <flag>
  34. <lable>사용자ID</lable>
  35. <value>userid</value>
  36. </flag>
  37. <flag>
  38. <lable>사용자명</lable>
  39. <value>usernm</value>
  40. </flag>
  41. </init>
  42. <popinfo>
  43. <refinfo>
  44. <serchitem/>
  45. </refinfo>
  46. </popinfo>
  47. <param>
  48. <etc/>
  49. <dressing/>
  50. <grupcd/>
  51. </param>
  52. </root>
  53. </instance>
  54. <script type="javascript">
  55. <![CDATA[
  56. var wincloseButton = false;
  57. ]]>
  58. </script>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. fInitialize();
  62. grd_userlist.mergecol(grd_userlist.colRef("sel")) = false;
  63. img1.visible = false;
  64. img2.visible = false;
  65. img3.visible = false;
  66. img4.visible = false;
  67. img5.visible = false;
  68. img6.visible = false;
  69. ]]>
  70. </script>
  71. <submission id="TRMNW04730" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
  72. <script type="javascript" ev:event="xforms-close">
  73. <![CDATA[
  74. if( !wincloseButton){
  75. opener.javascript.setParameter("returnnull","close");
  76. } else {
  77. opener.javascript.setParameter("returnnull","confirmbutton");
  78. }
  79. ]]>
  80. </script>
  81. <bind id="bind_img6"/>
  82. </model>
  83. <script type="javascript" src="../../../emr/wardcareweb/js/SPMNW04700.js"/>
  84. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. </xhtml:head>
  89. <xhtml:body pagewidth="620" pageheight="895" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  90. <group id="grp_sea" style="left:0px; top:0px; width:604px; height:825px; vertical-align:top; ">
  91. <datagrid id="grd_userlist" nodeset="/root/main/detlgrup/getVO" autoresize="true" caption="필드^선택^코드명^코드설명^그룹코드^코드" colwidth="100, 47, 161, 275, 100, 100" dataheight="25" explorerbar="sortshow" fixedcols="1" mergecells="byrestriccol" mergecellsfixedcols="byrestriccol" mergecellsfixedrows="byrestriccol" style="left:0px; top:0px; width:604px; height:825px; margin:8; margin-left:0; margin-top:8; margin-right:0; ">
  92. <col ref="grupnm" style="text-align:center; "/>
  93. <col checkvalue="true,false" ref="sel" type="checkbox" style="text-align:left; "/>
  94. <col ref="cdnm" style="text-align:left; "/>
  95. <col ref="detlinfo" type="input" style="text-align:left; "/>
  96. <col ref="grupcd" visibility="hidden"/>
  97. <col ref="cd" visibility="hidden"/>
  98. <script type="javascript" ev:event="onclick">
  99. <![CDATA[
  100. img1.visible = false;
  101. img2.visible = false;
  102. img3.visible = false;
  103. img4.visible = false;
  104. img5.visible = false;
  105. img6.visible = false;
  106. //기타입력영역을 보여준다.
  107. fShowEtcInputArea();
  108. //dressing영역의 str을 변경한다.
  109. var cdNm = model.getValue('/root/main/detlgrup/getVO[' + grd_userlist.row + ']/cdnm');
  110. var isChecked = model.getValue('/root/main/detlgrup/getVO[' + grd_userlist.row + ']/sel');
  111. if(grd_userlist.col == grd_userlist.colRef("sel") ) {
  112. fChangeDressingStr(cdNm, isChecked);
  113. }
  114. var grupcd = model.getValue('/root/main/detlgrup/getVO[' + grd_userlist.row + ']/grupcd');
  115. if (grupcd == "00000002" && grd_userlist.mouseCol == "3") {
  116. if (cdNm.substr(0, 1) == "1") {
  117. img1.visible = true;
  118. } else if (cdNm.substr(0, 1) == "2") {
  119. img2.visible = true;
  120. } else if (cdNm.substr(0, 1) == "3") {
  121. img3.visible = true;
  122. } else if (cdNm.substr(0, 1) == "4") {
  123. img4.visible = true;
  124. } else if (cdNm.substr(0, 1) == "5") {
  125. img5.visible = true;
  126. } else if (cdNm.substr(0, 1) == "6") {
  127. img6.visible = true;
  128. } else {
  129. img1.visible = false;
  130. img2.visible = false;
  131. img3.visible = false;
  132. img4.visible = false;
  133. img5.visible = false;
  134. img6.visible = false;
  135. }
  136. }
  137. ]]>
  138. </script>
  139. <script type="javascript" ev:event="xforms-value-changed">
  140. <![CDATA[
  141. var grupcd = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("grupcd"));
  142. if(grd_userlist.col == grd_userlist.colRef("detlinfo") ) {
  143. if(grupcd == "00000001") {
  144. model.setValue("/root/param/causeEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  145. } else if(grupcd == "00000002") {
  146. model.setValue("/root/param/stageEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  147. } else if(grupcd == "00000003") {
  148. model.setValue("/root/param/colorEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  149. } else if(grupcd == "00000004") {
  150. model.setValue("/root/param/stateEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  151. } else if(grupcd == "00000005") {
  152. model.setValue("/root/param/amountEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  153. } else if(grupcd == "00000006") {
  154. model.setValue("/root/param/symptomEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  155. } else if(grupcd == "00000008") {
  156. model.setValue("/root/param/dressingEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  157. }else if(grupcd == "00000009") { //20090220_SMY추가
  158. model.setValue("/root/param/genrplceEtcStr", grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("detlinfo")));
  159. }
  160. }
  161. ]]>
  162. </script>
  163. </datagrid>
  164. </group>
  165. <group id="grp_etcarea" visibility="hidden" style="left:5px; top:725px; width:475px; height:30px; ">
  166. <caption id="caption2" style="left:5px; top:5px; width:65px; height:20px; ">기타 입력 :</caption>
  167. <input id="input1" ref="/root/param/etc" style="left:75px; top:5px; width:390px; height:19px; "/>
  168. </group>
  169. <group id="grp_dressingarea" visibility="hidden" style="left:0px; top:827px; width:560px; height:40px; ">
  170. <caption id="caption1" style="left:5px; top:5px; width:65px; height:20px; ">Dressing :</caption>
  171. <textarea id="textarea1" ref="/root/param/dressing" disabled="true" scroll="autovscroll" editable="false" style="left:75px; top:7px; width:435px; height:30px; "/>
  172. </group>
  173. <button id="button1" class="btn2_letter2" style="left:515px; top:842px; width:42px; height:19px; ">
  174. <caption>확인</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. wincloseButton = true ;
  178. fPopClose();
  179. ]]>
  180. </script>
  181. </button>
  182. <img id="img1" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd1.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  183. <img id="img2" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd2.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  184. <img id="img3" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd3.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  185. <img id="img4" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd4.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  186. <img id="img5" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd5.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  187. <img id="img6" visibility="hidden" src="../../../emr/wardcareweb/images/dergrd6.jpg" style="left:150px; top:50px; width:392px; height:267px; background-stretch:stretch; border-width:1px; border-style:solid; "/>
  188. <caption id="caption3" style="left:0px; top:871px; width:540px; height:20px; color:#0000ff; border-color:#ffffff; border-style:solid; ">※ 1~4단계 사정 및 종료 시에는 단계 변경이 불가능 합니다. 재사정 단계를 입력하시기 바랍니다.</caption>
  189. </xhtml:body>
  190. </xhtml:html>