SMMNP00204_수술 전처치 및 간호상태 확인 도움말 기준자료관리.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. <instcd/>
  12. <cdid/>
  13. <opreadychk/>
  14. <delyn/>
  15. </cond>
  16. <opchkinfo>
  17. <opchklist/>
  18. </opchkinfo>
  19. </main>
  20. <send>
  21. <reqdata/>
  22. <savedata/>
  23. </send>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. var instcd = getUserInfo("dutplceinstcd");
  29. model.setValue("/root/main/cond/instcd",instcd);
  30. fSearch() ;
  31. ]]>
  32. </script>
  33. <submission id="TRMNP00229" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/opchkinfo"/>
  34. <submission id="TXMNP00209" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript">
  40. <![CDATA[
  41. function fSearch() {
  42. if(model.getValue("/root/main/cond/opreadychk").length > 0 ){
  43. if(model.getValue("/root/main/cond/opreadychk").length < 2 ){
  44. messageBox("검색어는 2자 이상","C001");
  45. model.setFocus("ipt_dietnm");
  46. return;
  47. }
  48. }
  49. model.copyNode("/root/send/reqdata", "/root/main/cond");
  50. submit("TRMNP00229");
  51. }
  52. ]]>
  53. </script>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="1120" pageheight="800" style="font-family:굴림, Arial; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="group3" style="left:0px; top:0px; width:1100px; height:785px; font-family:굴림; vertical-align:middle; ">
  57. <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:323px; height:14px; font-family:굴림; vertical-align:middle; ">환자 수술전 처치 및 간호상태 확인 도움말 기준자료</caption>
  58. <line id="line4" class="line_1" style="x1:0px; y1:95px; x2:1095px; y2:95px; font-family:굴림; "/>
  59. <datagrid id="grd_opchklist" nodeset="/root/main/opchkinfo/opchklist" autoresize="true" caption="^코드ID^정렬^수술상태 확인 내역^예^아니요^해당무^시작일자^종료일자" colsep="^" colwidth="0,50, 30, 115, 225, 225, 225, 90, 90" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:100px; width:1095px; height:680px; font-family:굴림; ">
  60. <col ref="seqno" type="input" style="font-family:굴림; "/>
  61. <col ref="cdid" type="input" style="font-family:굴림; text-align:center; "/>
  62. <col ref="sortseq" type="input" style="font-family:굴림; text-align:center; "/>
  63. <col ref="opreadychk" type="input" style="font-family:굴림; "/>
  64. <col ref="readyyes" type="input" style="font-family:굴림; "/>
  65. <col ref="readyno" type="input" style="font-family:굴림; text-align:left; "/>
  66. <col ref="readynothing" type="input" style="font-family:굴림; "/>
  67. <col ref="valifromdd" type="inputdate" style="font-family:굴림; text-align:center; "/>
  68. <col ref="valitodd" type="inputdate" style="font-family:굴림; text-align:center; "/>
  69. </datagrid>
  70. <caption id="caption10" class="tit_2" style="left:5px; top:80px; width:339px; height:14px; font-family:굴림체; ">환자 수술전 처치 및 간호상태 확인 도움말 리스트</caption>
  71. <button id="button7" class="btn2_letter3" style="left:940px; top:75px; width:53px; height:19px; font-family:굴림; ">
  72. <caption>행추가</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. var dt = getCurrentDate();
  76. if (grd_opchklist.rows > 1 ){
  77. grd_opchklist.insertRow(1, "above");
  78. }else if (grd_opchklist.rows == 1 ){
  79. grd_opchklist.addRow(true, true);
  80. }
  81. grd_opchklist.valuematrix(grd_opchklist.row, grd_opchklist.colRef("valifromdd")) = dt;
  82. grd_opchklist.valuematrix(grd_opchklist.row, grd_opchklist.colRef("valitodd")) = '99991231';
  83. ]]>
  84. </script>
  85. </button>
  86. <button id="button6" class="btn2_letter3" style="left:995px; top:75px; width:53px; height:19px; font-family:굴림; ">
  87. <caption>행삭제</caption>
  88. <script type="javascript" ev:event="DOMActivate">
  89. <![CDATA[
  90. // if (grd_opchklist.rowStatus(grd_opchklist.row) =='1'){
  91. // grd_opchklist.deleteItem(grd_opchklist.row);
  92. // }
  93. //
  94. var xPathOpChkList= "/root/main/opchkinfo/opchklist";
  95. if ( model.getValue(xPathOpChkList+"[" + grd_opchklist.row + "]/sortseq") != "") {
  96. grd_opchklist.addStatus(grd_opchklist.row, "delete");
  97. } else {
  98. grd_opchklist.deleteItem(grd_opchklist.row);
  99. }
  100. ]]>
  101. </script>
  102. </button>
  103. <button id="btn_save" class="btn5_letter2" style="left:1050px; top:75px; width:42px; height:19px; font-family:굴림; ">
  104. <caption>저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. var cdidcnt= 0;
  108. var cdid;
  109. for(var i=grd_opchklist.fixedRows; i <grd_opchklist.rows; i++) {
  110. if(grd_opchklist.rowStatus(i) == 1 || grd_opchklist.rowStatus(i) == 2 ){
  111. cdid = grd_opchklist.valueMatrix(i, grd_opchklist.colRef("cdid"));
  112. valifromdd = grd_opchklist.valueMatrix(i, grd_opchklist.colRef("valifromdd"));
  113. if(cdid == ""){ //코드ID
  114. cdidcnt++;
  115. }
  116. }
  117. }
  118. if(cdidcnt > 0){
  119. messageBox("코드ID는 필수 입력사항입니다.", "E");
  120. return;
  121. }else{
  122. var data = getGridUpdateData(grd_opchklist) ;
  123. if(data == "") {
  124. messageBox("저장 할 내역이", "I004");
  125. return;
  126. }
  127. model.makeValue("/root/send/savedata/opchklist", data);
  128. submit("TXMNP00209");
  129. fSearch() ;
  130. }
  131. ]]>
  132. </script>
  133. </button>
  134. <group id="grp_sea" style="left:0px; top:25px; width:1095px; height:40px; font-family:굴림; vertical-align:top; ">
  135. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1095px; height:40px; font-family:굴림; "/>
  136. <caption id="caption1" class="search_name" style="left:15px; top:10px; width:65px; height:17px; font-family:굴림; ">코드 :</caption>
  137. <input id="input1" ref="/root/main/cond/cdid" style="left:80px; top:10px; width:115px; height:19px; "/>
  138. <button id="btn_ref" class="btn1_letter2" navindex="7" style="left:1010px; top:10px; width:56px; height:22px; font-family:굴림; ">
  139. <caption>조회</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. fSearch() ;
  143. ]]>
  144. </script>
  145. </button>
  146. <line id="line2" class="line_4" border-eft-style="solid" style="x1:1000px; y1:9px; x2:1000px; y2:35px; font-family:굴림; border-color:#ffe4bb; "/>
  147. <caption id="caption3" class="search_name" style="left:260px; top:10px; width:148px; height:17px; font-family:굴림; ">수술상태 확인 내역 :</caption>
  148. <input id="input2" ref="/root/main/cond/opreadychk" style="left:414px; top:10px; width:320px; height:19px; "/>
  149. <select id="checkbox1" ref="/root/main/cond/delyn" overflow="visible" appearance="full" style="left:750px; top:13px; width:85px; height:15px; border-style:none; ">
  150. <choices>
  151. <item>
  152. <label>삭제포함</label>
  153. <value>Y</value>
  154. </item>
  155. </choices>
  156. </select>
  157. </group>
  158. </group>
  159. </xhtml:body>
  160. </xhtml:html>