SMAEB04000_환자Comment관리.xrw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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>환자Comment코드관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cnclcodelist>
  11. <cnclcode>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basecdflag/>
  17. </cnclcode>
  18. </cnclcodelist>
  19. </main>
  20. <send>
  21. <cnclcd/>
  22. <req>
  23. <data/>
  24. </req>
  25. <globalinstance>
  26. <instance1/>
  27. </globalinstance>
  28. </send>
  29. <init/>
  30. <hidden>
  31. <count/>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <submission id="TRAEB04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cnclcodelist"/>
  36. <submission id="TXAEB04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. aezfSetSuppDeptcd();
  40. model.removeNodeset("/root/main/cnclcodelist/cnclcode");
  41. model.refresh();
  42. model.setFocus("ipt_basecd");
  43. ]]>
  44. </script>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  49. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  50. </xhtml:head>
  51. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:125px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">환자Comment관리</caption>
  53. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:15px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  54. <line id="line2" class="line_1" style="x1:2px; y1:78px; x2:1195px; y2:78px; "/>
  55. <button id="btn_sea" class="btn1_letter2" style="left:1132px; top:21px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  56. <caption>조회</caption>
  57. <script type="javascript" ev:event="DOMActivate">
  58. <![CDATA[
  59. submit("TRAEB04001");
  60. ]]>
  61. </script>
  62. </button>
  63. <button id="btn_grdadd" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1087px; top:54px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  64. <caption>행추가</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. grd_cnclcode.addRow();
  68. var irow = grd_cnclcode.row;
  69. grd_cnclcode.row = irow;
  70. grd_cnclcode.topRow = irow;
  71. model.setValue("/root/main/cnclcodelist/cnclcode[" + irow + "]/basecdflag", "Y");
  72. model.refresh();
  73. ]]>
  74. </script>
  75. </button>
  76. <button id="btn_grddel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1142px; top:54px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
  77. <caption>행삭제</caption>
  78. <script type="javascript" ev:event="DOMActivate">
  79. <![CDATA[
  80. //grd_cnclcode.addStatus(grd_cnclcode.row,"delete");
  81. deleteSelectedRows(grd_cnclcode, true);
  82. ]]>
  83. </script>
  84. </button>
  85. <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1139px; top:762px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  86. <caption>저장</caption>
  87. <script type="javascript" ev:event="DOMActivate">
  88. <![CDATA[
  89. if ( messageBox("","Q002")==6 ) {
  90. var update = getGridUpdateData(grd_cnclcode);
  91. if(update == ""){
  92. messageBox("업데이트 정보가 없습니다.", "I");
  93. } else {
  94. model.setValue("/root/send/req/data",update);
  95. submit("TXAEB04001");
  96. }
  97. }
  98. submit("TRAEB04001");
  99. ]]>
  100. </script>
  101. <script type="javascript" ev:event="DOMFocusIn">
  102. <![CDATA[
  103. checkKeyColumn("grd_cnclcode");
  104. ]]>
  105. </script>
  106. </button>
  107. <caption id="caption1" class="search_name" style="left:20px; top:25px; width:139px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">환자Comment코드:</caption>
  108. <input id="ipt_basecd" ref="/root/send/cnclcd" class="input_search" _chartype="upper" style="left:165px; top:23px; width:115px; height:19px; ">
  109. <script type="javascript" ev:event="onkeydown">
  110. <![CDATA[
  111. inputEnterKey("btn_sea","DOMActivate");
  112. ]]>
  113. </script>
  114. </input>
  115. <datagrid id="grd_cnclcode" nodeset="/root/main/cnclcodelist/cnclcode" caption="순번 ^Comment코드^환자Comment^비고^Comment구분" colsep="^" colwidth="100, 144, 432, 463, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:2px; top:83px; width:1193px; height:674px; ">
  116. <col ref="sortno" type="input" format="####"/>
  117. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  118. <col ref="basecdflagdesc" type="input" maxlength="300"/>
  119. <col ref="basecdcnts" type="input" maxlength="3000"/>
  120. <col ref="basecdflag" type="combo" visibility="hidden">
  121. <choices>
  122. <item>
  123. <label>예약취소</label>
  124. <value>A</value>
  125. </item>
  126. <item>
  127. <label>접수취소</label>
  128. <value>C</value>
  129. </item>
  130. </choices>
  131. </col>
  132. <!--<script type="javascript" ev:event="onentercell">
  133. <![CDATA[
  134. if (grd_cnclcode.rowStatus(grd_cnclcode.row) == 0) {
  135. grd_cnclcode.isReadOnly(grd_cnclcode.row, grd_cnclcode.colRef("basecd"),grd_cnclcode.row,grd_cnclcode.colRef("basecd")) = true;
  136. }
  137. ]]>
  138. </script>-->
  139. </datagrid>
  140. </xhtml:body>
  141. </xhtml:html>