SPLLF10400_통합검사중분류조회.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. <testmdllist>
  20. <testlrgcd/>
  21. <testmdlcd/>
  22. <testmdlnm/>
  23. <testmdlscrnnm/>
  24. <testmdlabbrnm/>
  25. <testmdlprntnm/>
  26. <testmdllblnm/>
  27. </testmdllist>
  28. </main>
  29. <send>
  30. <refgbn/>
  31. <testlrgcd/>
  32. <sectdata/>
  33. <tsectdata/>
  34. <deptflag/>
  35. <codeflag/>
  36. </send>
  37. <init>
  38. </init>
  39. <hidden>
  40. <ref>
  41. <refgbn>1</refgbn>
  42. </ref>
  43. <deptflagcd/>
  44. <addlist>
  45. <addstring/>
  46. </addlist>
  47. </hidden>
  48. <temp>
  49. <tlrginfo/>
  50. </temp>
  51. </root>
  52. </instance>
  53. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  54. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  55. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  56. <!-- 대분류코드 리스트 조회-->
  57. <submission id="TRLLF10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testlrglist"/>
  58. <!-- 중분류코드 리스트 조회-->
  59. <submission id="TRLLF10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sliplist"/>
  60. <!-- 계코드 수정,등록-->
  61. <!-- 검사계코드 수정,등록-->
  62. <submission id="TXLLF10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sectlist"/>
  63. <submission id="TXLLF10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tsectlist"/>
  64. <!--<submission id="TRLZZ00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>-->
  65. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  66. <script ev:event="xforms-ready" type="javascript">
  67. <![CDATA[
  68. // 권한 설정
  69. //var auth = model.getValue("/root/properties/auth");
  70. //checkAuth(auth);
  71. //btn_save.disabled = !checkAuth("X") ;
  72. // 초기정보 조회
  73. model.setValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
  74. submit("TRLZZ00101");
  75. fSetInit();
  76. fGetTmdlList();
  77. ]]>
  78. </script>
  79. </model>
  80. <script type="javascript">
  81. <![CDATA[
  82. // 초기화 버튼
  83. function fSetInit() {
  84. //model.reset();
  85. model.removeNodeset("/root/main/testmdllist");
  86. model.refresh();
  87. }
  88. // 계리스트 조회
  89. function fGetTmdlList(){
  90. grd_testmdl.rebuildstyle();
  91. model.setValue("/root/send/testlrgcd", model.getValue("/root/temp/tlrginfo/testlrgcd"));
  92. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  93. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  94. submit("TRLLF10202");
  95. }
  96. function fAddRow(){
  97. var AddRowString = "";
  98. for(i = 1 ; i < grd_testmdl.rows ; i++ ){
  99. if(model.getValue("/root/main/testmdllist["+i+"]/chk") == "true"){
  100. AddRowString = AddRowString + model.getValue("/root/main/testmdllist["+i+"]/testlrgcd") + "▦"
  101. + model.getValue("/root/main/testmdllist["+i+"]/testmdlcd") + "▦"
  102. + model.getValue("/root/main/testmdllist["+i+"]/testmdlnm") + "▦"
  103. + model.getValue("/root/main/testmdllist["+i+"]/testmdlscrnnm") + "▦"
  104. + model.getValue("/root/main/testmdllist["+i+"]/testmdlabbrnm") + "▦"
  105. + model.getValue("/root/main/testmdllist["+i+"]/testmdlprntnm") + "▦"
  106. + model.getValue("/root/main/testmdllist["+i+"]/testmdllblnm") + "▩" ;
  107. }
  108. }
  109. model.setValue("/root/hidden/addlist/addstring" , AddRowString);
  110. model.copyNode(opener.root.temp.addlist,root.hidden.addlist);
  111. window.close();
  112. }
  113. ]]>
  114. </script>
  115. </xhtml:head>
  116. <xhtml:body pagewidth="700" pageheight="320" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  117. <group id="group3" scroll="auto" style="left:0px; top:0px; width:680px; height:290px; ">
  118. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:160px; height:14px; ">통합검사중분류코드목록</caption>
  119. <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:665px; y2:20px; "/>
  120. <datagrid id="grd_testmdl" nodeset="/root/main/testmdllist" 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; ">
  121. <col ref="chk" type="checkbox"/>
  122. <col ref="testlrgcd" type="output" style="text-align:center; "/>
  123. <col ref="testmdlcd" type="output" style="text-align:center; "/>
  124. <col ref="testmdlnm" type="output"/>
  125. <col ref="testmdlscrnnm" type="output"/>
  126. <col ref="testmdlabbrnm" type="output"/>
  127. <col ref="testmdlprntnm" type="output"/>
  128. <col ref="testmdllblnm" type="output"/>
  129. <script ev:event="onaftersort" type="javascript">
  130. <![CDATA[
  131. grd_testmdl.gridToInstance();
  132. ]]>
  133. </script>
  134. </datagrid>
  135. <button id="button1" class="btn4_letter2" style="left:551px; top:257px; width:56px; height:22px; ">
  136. <caption>추가</caption>
  137. <script ev:event="onclick" type="javascript">
  138. <![CDATA[
  139. fAddRow()
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="btn_cfm" class="btn4_letter2" style="left:610px; top:257px; width:56px; height:22px; ">
  144. <caption>닫기</caption>
  145. <script ev:event="onclick" type="javascript">
  146. <![CDATA[
  147. window.close();
  148. ]]>
  149. </script>
  150. </button>
  151. </group>
  152. </xhtml:body>
  153. </xhtml:html>