SPLLF10300_통합검사대분류조회.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLF00100_계검사계코드관리.xrw
  4. * 설 명 : 검사시행부서코드관리 조회 및 등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.04.10
  8. * 수정이력 : 2007.07.27 박정은 lastupdtdt 수정함
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>검사시행부서코드관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <testlrglist>
  20. <testlrgfromdd/>
  21. <testlrgtodd/>
  22. <testlrgcd/>
  23. <testlrgkind/>
  24. <testlrgnm/>
  25. <testlrgscrnnm/>
  26. <testlrgabbrnm/>
  27. <testlrgprntnm/>
  28. <testlrglblnm/>
  29. </testlrglist>
  30. </main>
  31. <send>
  32. <refgbn/>
  33. <sectcd/>
  34. <sectdata/>
  35. <tsectdata/>
  36. <deptflag/>
  37. <codeflag/>
  38. </send>
  39. <init>
  40. </init>
  41. <hidden>
  42. <ref>
  43. <refgbn>1</refgbn>
  44. </ref>
  45. <deptflagcd/>
  46. <addlist>
  47. <addstring/>
  48. </addlist>
  49. </hidden>
  50. <temp>
  51. <sectinfo/>
  52. </temp>
  53. </root>
  54. </instance>
  55. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  56. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  57. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  58. <!-- 대분류코드 리스트 조회-->
  59. <submission id="TRLLF10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testlrglist"/>
  60. <!-- 중분류코드 리스트 조회-->
  61. <submission id="TRLLF10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sliplist"/>
  62. <!-- 계코드 수정,등록-->
  63. <!-- 검사계코드 수정,등록-->
  64. <submission id="TXLLF10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
  65. <submission id="TXLLF10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
  66. <!--<submission id="TRLZZ00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>-->
  67. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  68. <script ev:event="xforms-ready" type="javascript">
  69. <![CDATA[
  70. // 권한 설정
  71. //var auth = model.getValue("/root/properties/auth");
  72. //checkAuth(auth);
  73. //btn_save.disabled = !checkAuth("X") ;
  74. // 초기정보 조회
  75. model.setValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
  76. submit("TRLZZ00101");
  77. fSetInit();
  78. fGetTLrgList();
  79. ]]>
  80. </script>
  81. </model>
  82. <script type="javascript">
  83. <![CDATA[
  84. // 초기화 버튼
  85. function fSetInit() {
  86. //model.reset();
  87. model.removeNodeset("/root/main/testlrglist");
  88. model.refresh();
  89. }
  90. // 계리스트 조회
  91. function fGetTLrgList(){
  92. grd_testlrg.rebuildstyle();
  93. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  94. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  95. submit("TRLLF10201");
  96. }
  97. function fAddRow(){
  98. var AddRowString = "";
  99. for(i = 1 ; i < grd_testlrg.rows ; i++ ){
  100. if(model.getValue("/root/main/testlrglist["+i+"]/chk") == "true"){
  101. AddRowString = AddRowString + model.getValue("/root/main/testlrglist["+i+"]/testlrgcd") + "▦"
  102. + model.getValue("/root/main/testlrglist["+i+"]/testlrgkind") + "▦"
  103. + model.getValue("/root/main/testlrglist["+i+"]/testlrgnm") + "▦"
  104. + model.getValue("/root/main/testlrglist["+i+"]/testlrgscrnnm") + "▦"
  105. + model.getValue("/root/main/testlrglist["+i+"]/testlrgabbrnm") + "▦"
  106. + model.getValue("/root/main/testlrglist["+i+"]/testlrgprntnm") + "▦"
  107. + model.getValue("/root/main/testlrglist["+i+"]/testlrglblnm") + "▩" ;
  108. }
  109. }
  110. model.setValue("/root/hidden/addlist/addstring" , AddRowString);
  111. model.copyNode(opener.root.temp.addlist,root.hidden.addlist);
  112. window.close();
  113. }
  114. ]]>
  115. </script>
  116. </xhtml:head>
  117. <xhtml:body pagewidth="700" pageheight="320" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  118. <group id="group3" scroll="auto" style="left:0px; top:0px; width:680px; height:290px; ">
  119. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:160px; height:14px; ">통합검사대분류코드목록</caption>
  120. <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:665px; y2:20px; "/>
  121. <datagrid id="grd_testlrg" nodeset="/root/main/testlrglist" caption="^대분류코드^대분류유형^대분류명^대분류명(화면)^대분류명(약어)^대분류명(출력)^대분류명(라벨)" colwidth="20, 85, 100, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:25px; width:665px; height:230px; ">
  122. <col ref="chk" type="checkbox" style="text-align:center; "/>
  123. <col ref="testlrgcd" type="output" style="text-align:center; "/>
  124. <col disabled="true" ref="testlrgkind" type="combo">
  125. <choices>
  126. <item>
  127. <label/>
  128. <value>-</value>
  129. </item>
  130. <item>
  131. <label>미생물</label>
  132. <value>M</value>
  133. </item>
  134. <item>
  135. <label>혈액은행</label>
  136. <value>B</value>
  137. </item>
  138. <item>
  139. <label>분자/세포 유전</label>
  140. <value>G</value>
  141. </item>
  142. <item>
  143. <label>핵의학-체외</label>
  144. <value>N</value>
  145. </item>
  146. </choices>
  147. </col>
  148. <col ref="testlrgnm" type="output"/>
  149. <col ref="testlrgscrnnm" type="output"/>
  150. <col ref="testlrgabbrnm" type="output"/>
  151. <col ref="testlrgprntnm" type="output"/>
  152. <col ref="testlrglblnm" type="output"/>
  153. <script ev:event="onaftersort" type="javascript">
  154. <![CDATA[
  155. grd_testlrg.gridToInstance();
  156. ]]>
  157. </script>
  158. </datagrid>
  159. <button id="button1" class="btn4_letter2" style="left:551px; top:257px; width:56px; height:22px; ">
  160. <caption>추가</caption>
  161. <script ev:event="onclick" type="javascript">
  162. <![CDATA[
  163. fAddRow()
  164. ]]>
  165. </script>
  166. </button>
  167. <button id="btn_cfm" class="btn4_letter2" style="left:610px; top:257px; width:56px; height:22px; ">
  168. <caption>닫기</caption>
  169. <script ev:event="onclick" type="javascript">
  170. <![CDATA[
  171. window.close();
  172. ]]>
  173. </script>
  174. </button>
  175. </group>
  176. </xhtml:body>
  177. </xhtml:html>