SPLQF10100_핵의학QC물질레벨(팝업).xrw 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLQF00500_QC물질레벨관리.xrw
  4. * 설 명 : QC물질레벨관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 윤재한
  7. * 작 성 일 : 2007.11.01
  8. * 수정이력 :
  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>QC Standard 및 Coltrol수</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <getlevel>
  20. <chk/>
  21. <levlcd/>
  22. <levlnm/>
  23. <oclevlcd/>
  24. </getlevel>
  25. </main>
  26. <send>
  27. <codeflag/>
  28. <levldata/>
  29. <userdeptcd/>
  30. </send>
  31. <init/>
  32. <hidden>
  33. <cont/>
  34. </hidden>
  35. <tmp>
  36. <addcontrol/>
  37. </tmp>
  38. </root>
  39. </instance>
  40. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  41. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  42. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  43. <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
  44. <script src="../../../lis/commonweb/js/LZZ001.js" type="javascript"/>
  45. <script src="../../../lis/commonweb/js/LPZ001.js" type="javascript"/>
  46. <script ev:event="xforms-ready" type="javascript">
  47. <![CDATA[
  48. fSetInit();
  49. ]]>
  50. </script>
  51. <submission id="TRLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getlevel"/>
  52. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0000"/>
  53. <submission id="TXLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  54. </model>
  55. <script type="javascript">
  56. <![CDATA[
  57. // 초기화
  58. function fSetInit() {
  59. model.setValue("/root/send/codeflag", "0000|");
  60. submit("TRLZZ00101");
  61. model.removenode("/root/main/getlevel");
  62. fGetLevel();
  63. }
  64. //조회
  65. function fGetLevel() {
  66. model.setValue("/root/send/userdeptcd", model.getValue("/root/init/LB0000/nm"));
  67. submit("TRLQF00501");
  68. grd_levllist.isReadOnly(1, 2, grd_levllist.rows-1, 3)= true;
  69. }
  70. function fupload(){
  71. var cotrol = model.getValue("/root/hidden/cont");
  72. if(cotrol != ""){
  73. var allstring = "";
  74. for(i = 1 ; i < grd_levllist.rows ; i++){
  75. var chk = model.getValue("/root/main/getlevel["+i+"]/chk");
  76. if(chk == "true"){
  77. allstring = allstring + model.getValue("/root/main/getlevel["+i+"]/levlcd") + "@";
  78. }
  79. }
  80. model.makeValue("/root/tmp/addcontrol/levlcd", allstring);
  81. model.makeValue("/root/tmp/addcontrol/matrcd", model.getValue("/root/hidden/cont"));
  82. model.copyNode(opener.root.tmp.addcontrol, root.tmp.addcontrol);
  83. window.close();
  84. }else{
  85. alert("Control 코드를 입력해 주십시요.");
  86. }
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="500" pageheight="600" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="group3" scroll="auto" style="left:0px; top:0px; width:460px; height:515px; ">
  93. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:195px; height:13px; ">Standard 및 Control수</caption>
  94. <datagrid id="grd_levllist" nodeset="/root/main/getlevel" caption="^Standard 및 Control수 코드^Standard 및 Control수^OnCall레벨코드" colsep="^" colwidth="28,200, 200, 150" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" style="left:0px; top:25px; width:450px; height:455px; ">
  95. <col checkvalue="true,false" ref="chk" type="checkbox"/>
  96. <col ref="levlcd" type="input"/>
  97. <col ref="levlnm" type="input"/>
  98. <col ref="oclevlcd" type="input" visibility="hidden"/>
  99. </datagrid>
  100. <input id="opt_matrfromdd" ref="/root/hidden/cont" appearance="input" style="left:158px; top:488px; width:237px; height:19px; "/>
  101. <caption id="cap_regno" class="cell_1" style="left:0px; top:486px; width:155px; height:23px; text-align:center; ">Control 코드</caption>
  102. <line id="line9" class="line_3" style="x1:0px; y1:510px; x2:450px; y2:510px; "/>
  103. <line id="line1" class="line_3" style="x1:0px; y1:484px; x2:450px; y2:484px; "/>
  104. <button id="button52" class="btn2_letter3" style="left:397px; top:488px; width:53px; height:19px; ">
  105. <caption>행추가</caption>
  106. <script ev:event="DOMActivate" type="javascript">
  107. <![CDATA[
  108. fupload();
  109. ]]>
  110. </script>
  111. </button>
  112. </group>
  113. </xhtml:body>
  114. </xhtml:html>