SMLQF10500_핵의학QC물질레벨관리.xrw 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <levlcd/>
  21. <levlnm/>
  22. <oclevlcd/>
  23. </getlevel>
  24. </main>
  25. <send>
  26. <codeflag/>
  27. <levldata/>
  28. <userdeptcd/>
  29. </send>
  30. <init/>
  31. <hidden>
  32. </hidden>
  33. </root>
  34. </instance>
  35. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  36. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  37. <script ev:event="xforms-ready" type="javascript">
  38. <![CDATA[
  39. fSetInit();
  40. ]]>
  41. </script>
  42. <submission id="TRLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getlevel"/>
  43. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0000"/>
  44. <submission id="TXLQF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  45. </model>
  46. <script type="javascript">
  47. <![CDATA[
  48. // 초기화
  49. function fSetInit() {
  50. model.setValue("/root/send/codeflag", "0000|");
  51. submit("TRLZZ00101");
  52. model.removenode("/root/main/getlevel");
  53. fGetLevel();
  54. }
  55. //조회
  56. function fGetLevel() {
  57. model.setValue("/root/send/userdeptcd", model.getValue("/root/init/LB0000/nm"));
  58. submit("TRLQF00501");
  59. grd_levllist.isReadOnly(1, 1, grd_levllist.rows-1, 1)= true;
  60. }
  61. //저장
  62. function fInsLevel() {
  63. model.setValue("/root/send/levldata", getGridUpdateData(grd_levllist));
  64. model.setValue("/root/send/userdeptcd", model.getValue("/root/init/LB0000/nm"));
  65. submit("TXLQF00501");
  66. fGetLevel();
  67. }
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  72. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  73. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  74. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:195px; height:13px; ">Standard 및 Control수</caption>
  75. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  76. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  77. <button id="button3" class="btn1_letter2" style="left:1123px; top:7px; width:57px; height:22px; ">
  78. <caption>조회</caption>
  79. <script ev:event="DOMActivate" type="javascript">
  80. <![CDATA[
  81. fGetLevel();
  82. ]]>
  83. </script>
  84. </button>
  85. <line id="line3" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; "/>
  86. </group>
  87. <datagrid id="grd_levllist" nodeset="/root/main/getlevel" caption="Standard 및 Control수 코드^Standard 및 Control수^OnCall레벨코드" colsep="^" colwidth="200, 300, 150" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:644px; ">
  88. <col ref="levlcd" type="input"/>
  89. <col ref="levlnm" type="input"/>
  90. <col ref="oclevlcd" type="input" visibility="hidden"/>
  91. </datagrid>
  92. <button id="btn_addrow" class="btn2_letter3" style="left:1141px; top:49px; width:53px; height:19px; ">
  93. <caption>행추가</caption>
  94. <script ev:event="DOMActivate" type="javascript">
  95. <![CDATA[
  96. grd_levllist.addItem();
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </button>
  101. </group>
  102. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  103. <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  104. <caption>초기화</caption>
  105. <script ev:event="onclick" type="javascript">
  106. <![CDATA[
  107. window.reload();
  108. ]]>
  109. </script>
  110. </button>
  111. <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  112. <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  113. <caption>저장</caption>
  114. <script ev:event="DOMActivate" type="javascript">
  115. <![CDATA[
  116. fInsLevel();
  117. ]]>
  118. </script>
  119. </button>
  120. </group>
  121. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  122. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">Standard 및 Control수</caption>
  123. </group>
  124. </xhtml:body>
  125. </xhtml:html>