SPMNR05100_기본간호 미해당 사유등록.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. <cond>
  11. <baseclsflag/>
  12. <supbasetypecd/>
  13. </cond>
  14. <nurseactinfo>
  15. <recdd/>
  16. <rectm/>
  17. <actremarkcd/>
  18. <actingyn/>
  19. <etcactremark/>
  20. </nurseactinfo>
  21. </main>
  22. <send/>
  23. <hidden/>
  24. <init>
  25. <baseinfo>
  26. </baseinfo>
  27. </init>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. fInitialize();
  33. ]]>
  34. </script>
  35. <submission id="TRMNR05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/basinfo"/>
  36. </model>
  37. <script type="javascript" src="../../../emr/carerecweb/js/SPMNR05100.js"/>
  38. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  42. </xhtml:head>
  43. <xhtml:body pagewidth="326" pageheight="360" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  44. <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:309px; y2:25px; "/>
  45. <caption id="caption4" class="tit_2" style="left:0px; top:10px; width:211px; height:14px; ">기본간호 수행 등록 및 변경</caption>
  46. <button id="button2" class="btn5_letter2" navindex="3" style="left:222px; top:5px; width:42px; height:19px; ">
  47. <caption>저장</caption>
  48. <script type="javascript" ev:event="DOMActivate">
  49. <![CDATA[
  50. fDbClickRemark();
  51. ]]>
  52. </script>
  53. </button>
  54. <line id="line6" class="line_3" style="x1:0px; y1:340px; x2:309px; y2:340px; "/>
  55. <caption id="caption9" class="tit_2" style="left:0px; top:64px; width:90px; height:13px; ">미해당 사유</caption>
  56. <caption id="caption10" class="cell_1" style="left:0px; top:85px; width:80px; height:255px; vertical-align:middle; ">
  57. <![CDATA[미해당사유
  58. 리스트]]>
  59. </caption>
  60. <line id="line7" class="line_1" style="x1:0px; y1:80px; x2:309px; y2:80px; "/>
  61. <button id="button4" class="btn2_letter2" navindex="3" style="left:267px; top:5px; width:41px; height:19px; ">
  62. <caption>취소</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. opener.javascript.setParameter("SPMNR03400_RtnParamYN", "N");
  66. model.close();
  67. ]]>
  68. </script>
  69. </button>
  70. <input id="input7" ref="/root/main/nurseactinfo/recdd" class="input_default" inputtype="date" style="left:82px; top:31px; width:90px; height:19px; "/>
  71. <input id="input3" ref="/root/main/nurseactinfo/rectm" class="input_default" format="hh:nn" style="left:174px; top:31px; width:40px; height:19px; "/>
  72. <caption id="caption1" class="cell_1" style="left:0px; top:30px; width:80px; height:23px; vertical-align:middle; ">등록시간</caption>
  73. <line id="line1" class="line_3" style="x1:0px; y1:53px; x2:309px; y2:53px; "/>
  74. <datagrid id="grd_actremark" nodeset="/root/init/baseinfo/baselist" caption="사유^사유코드" colsep="^" colwidth="204, 0" focuscolor="#ffcc00" mergecellsfixedrows="bycolrec" rowsep="|" style="left:82px; top:85px; width:227px; height:170px; ">
  75. <col ref="typenm" format="yyyy-mm-dd" style="text-align:left; "/>
  76. <col ref="basetypecd"/>
  77. <script type="javascript" ev:event="ondblclick">
  78. <![CDATA[
  79. fDbClickRemark();
  80. ]]>
  81. </script>
  82. <script type="javascript" ev:event="onclick">
  83. <![CDATA[
  84. fClickRemark();
  85. ]]>
  86. </script>
  87. </datagrid>
  88. <select1 id="rdo_actingyn" ref="/root/main/nurseactinfo/actingyn" appearance="full" cols="2" overflow="visible" style="left:100px; top:62px; width:100px; height:15px; border-style:none; ">
  89. <choices>
  90. <item>
  91. <label>수행</label>
  92. <value>Y</value>
  93. </item>
  94. <item>
  95. <label>미해당</label>
  96. <value>N</value>
  97. </item>
  98. </choices>
  99. <script type="javascript" ev:event="xforms-value-changed">
  100. <![CDATA[
  101. if( rdo_actingyn.value == "Y" ){
  102. grd_actremark.visible = false;
  103. grd_actremark.row = 0;
  104. textarea1.value = "";
  105. textarea1.disabled = true;
  106. }else{
  107. grd_actremark.visible = true;
  108. if( !isNull(model.getValue(xPathNurseActInfo + "/actingyn")) && model.getValue(xPathNurseActInfo + "/actingyn") == "N" ){
  109. actremarkcd = model.getValue(xPathNurseActInfo + "/actremarkcd");
  110. var row = grd_actremark.findRow(actremarkcd, 1, grd_actremark.colRef("basetypecd"));
  111. grd_actremark.select(row, 1, row,grd_actremark.cols-1) = true;
  112. if(actremarkcd.substr(1,1) == "9"){
  113. textarea1.disabled = false;
  114. textarea1.value = etcactremark;
  115. }
  116. }else{
  117. grd_actremark.visible = false;
  118. grd_actremark.row = 0;
  119. }
  120. }
  121. ]]>
  122. </script>
  123. </select1>
  124. <textarea id="textarea1" ref="/root/main/nurseactinfo/etcactremark" disabled="true" maxlength="165" style="left:82px; top:256px; width:228px; height:83px; "/>
  125. </xhtml:body>
  126. </xhtml:html>