SPPIJ04400_KDRG분류관리.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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>KDRG분류관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <drgalist>
  11. <drga/>
  12. </drgalist>
  13. </main>
  14. <send>
  15. <instcd>031</instcd>
  16. <drgcd/>
  17. <drgtype/>
  18. <hngnm/>
  19. </send>
  20. </root>
  21. </instance>
  22. <script type="javascript" ev:event="xforms-ready">
  23. <![CDATA[
  24. // 화면을 초기화한다.
  25. fInitialize();
  26. ]]>
  27. </script>
  28. <submission id="TRPIJ04400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  29. </model>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  33. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  36. <script type="javascript">
  37. <![CDATA[
  38. function fInitialize() {
  39. model.refresh();
  40. btn_select.dispatch("DOMActivate");
  41. }
  42. function fGetDocuList() {
  43. var chk = true;
  44. if (chk == true) {
  45. submit("TRPIJ04400");
  46. }
  47. }
  48. ]]>
  49. </script>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="960" pageheight="660" guideline="1,1163;2,727;2,739;1,106;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <group id="grp_tle" style="left:0px; top:0px; width:865px; height:13px; ">
  53. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:216px; height:15px; ">KDRG 분류관리</caption>
  54. </group>
  55. <group id="grp_biz" scroll="auto" style="left:0px; top:28px; width:942px; height:592px; ">
  56. <datagrid id="grd_drgalist" nodeset="/root/main/drgalist/drga" class="datagrid3" caption="INSTCD^분류^KDRG번호^KDRG명^KDRG명" colsep="^" colwidth="56, 84, 75, 315, 364" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:77px; width:940px; height:514px; ">
  57. <col ref="instcd" type="input" maxlength="5" style="text-align:left; "/>
  58. <col ref="drgtype" type="combo" maxlength="5" style="text-align:left; ">
  59. <choices>
  60. <item>
  61. <label/>
  62. <value/>
  63. </item>
  64. <item>
  65. <label>전문</label>
  66. <value>1</value>
  67. </item>
  68. <item>
  69. <label>일반</label>
  70. <value>2</value>
  71. </item>
  72. <item>
  73. <label>단순</label>
  74. <value>3</value>
  75. </item>
  76. </choices>
  77. </col>
  78. <col ref="drgcd" type="input" style="text-align:left; "/>
  79. <col ref="hngnm" type="input" style="text-align:left; "/>
  80. <col ref="engnm" type="input" maxlength="2" style="text-align:left; "/>
  81. </datagrid>
  82. <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:234px; height:15px; ">DRG기준자료 리스트</caption>
  83. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:940px; y2:72px; "/>
  84. <group id="group1" style="left:0px; top:5px; width:940px; height:40px; vertical-align:top; ">
  85. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:940px; height:40px; "/>
  86. <button id="btn_select" class="btn1_letter2" navindex="32" style="left:875px; top:10px; width:56px; height:22px; ">
  87. <caption>조회</caption>
  88. <script type="javascript" ev:event="DOMActivate">
  89. <![CDATA[
  90. fGetDocuList();
  91. ]]>
  92. </script>
  93. </button>
  94. <line id="line3" class="line_4" style="x1:860px; y1:5px; x2:860px; y2:38px; "/>
  95. <input id="ipt_drgno" ref="/root/send/drgcd" imemode="disabled" _chartype="upper" style="left:100px; top:10px; width:100px; height:19px; ">
  96. <script type="javascript" ev:event="onkeypress">
  97. <![CDATA[
  98. if (event.keyCode == 13) {
  99. setInputNodeCurText(",");
  100. fGetDocuList();
  101. }
  102. ]]>
  103. </script>
  104. </input>
  105. <caption id="caption30" class="search_name" style="left:8px; top:11px; width:95px; height:17px; ">KDRG번호 :</caption>
  106. <caption id="caption1" class="search_name" style="left:435px; top:10px; width:140px; height:17px; ">KDRG 명 :</caption>
  107. <input id="ipt_hngnm" ref="/root/send/hngnm" style="left:530px; top:10px; width:295px; height:19px; ">
  108. <script type="javascript" ev:event="onkeypress">
  109. <![CDATA[
  110. if (event.keyCode == 13) {
  111. setInputNodeCurText(",");
  112. fGetDocuList();
  113. }
  114. ]]>
  115. </script>
  116. </input>
  117. <select1 id="cmb_drgtype" ref="/root/send/drgtype" class="combo_search" appearance="minimal" style="left:315px; top:10px; width:95px; height:19px; ">
  118. <script type="javascript" ev:event="onkeypress">
  119. <![CDATA[
  120. if (event.keyCode == 13) {
  121. setInputNodeCurText(",");
  122. fGetDocuList();
  123. }
  124. ]]>
  125. </script>
  126. <choices>
  127. <item>
  128. <label/>
  129. <value/>
  130. </item>
  131. <item>
  132. <label>전문</label>
  133. <value>1</value>
  134. </item>
  135. <item>
  136. <label>일반</label>
  137. <value>2</value>
  138. </item>
  139. <item>
  140. <label>단순</label>
  141. <value>3</value>
  142. </item>
  143. </choices>
  144. </select1>
  145. <caption id="caption2" class="search_name" style="left:218px; top:11px; width:95px; height:17px; ">KDRG 분류 :</caption>
  146. </group>
  147. <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:875px; top:50px; width:64px; height:19px; ">
  148. <caption>엑셀저장</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. grd_drgalist.gridToInstance();
  152. if (grd_drgalist.rows > 1) {
  153. var fileName = window.fileDialog("save", "", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  154. if (fileName != "") {
  155. grd_drgalist.saveExcel(fileName, "sheetname:;colhiddenextend:true;rowhiddenextend:false;col_3:label;col_4:label;col_5:label;col_6:label;", true, true, "", "", true);
  156. }
  157. } else {
  158. messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. </group>
  164. <button id="btn_cancel" class="btn4_letter2" style="left:884px; top:622px; width:56px; height:22px; ">
  165. <caption>종료</caption>
  166. <close ev:event="DOMActivate"/>
  167. </button>
  168. </xhtml:body>
  169. </xhtml:html>