SPLLF90500_검체정보설정.xrw 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLLF90500_검체정보설정.xrw
  4. * 설 명 : 검체정보설정
  5. * 설 계 자 : (주)에이씨케이 박정은
  6. * 작 성 자 : (주)에이씨케이 박정은
  7. * 작 성 일 : 2007.06.20
  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>검체정보설정</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <spccdlist>
  20. <chk/>
  21. <cd/>
  22. <nm/>
  23. </spccdlist>
  24. </main>
  25. <send>
  26. <data1/>
  27. </send>
  28. <init/>
  29. <hidden>
  30. <spckind>A</spckind>
  31. <spccdnm>
  32. <cd/>
  33. <nm/>
  34. <row/>
  35. </spccdnm>
  36. </hidden>
  37. </root>
  38. </instance>
  39. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  40. <script type="javascript" ev:event="xforms-model-construct-done">
  41. <![CDATA[
  42. //grd_SpcList.deleteRow(1);
  43. model.refresh();
  44. ]]>
  45. </script>
  46. </model>
  47. <script type="javascript">
  48. <![CDATA[
  49. // 확인 버튼 클릭
  50. function fSetSpcListSend(){
  51. var sRow = 0;
  52. var sSpccd = "";
  53. var sSpcnm = "";
  54. for(i=1; i<grd_SpcList.rows; i++){
  55. // 선택된 검체만
  56. if(model.getValue("/root/main/spccdlist["+i+"]/chk")=="Y"){
  57. sRow += 1;
  58. sSpccd += "▦" + model.getValue("/root/main/spccdlist["+i+"]/cd");
  59. sSpcnm += "▦" + model.getValue("/root/main/spccdlist["+i+"]/nm");
  60. }
  61. }
  62. model.setValue("/root/hidden/spccdnm/cd", sSpccd);
  63. model.setValue("/root/hidden/spccdnm/nm", sSpcnm);
  64. model.setValue("/root/hidden/spccdnm/row", sRow);
  65. model.copyNode(opener.root.hidden.spccdnm, root.hidden.spccdnm);
  66. //opener.ipt_tclscdlist.refresh();
  67. window.close();
  68. }
  69. ]]>
  70. </script>
  71. </xhtml:head>
  72. <xhtml:body pagewidth="320" pageheight="360" guideline="1,1194;" style="font-family:굴림체; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  73. <group id="group2" style="left:0px; top:311px; width:300px; height:27px; ">
  74. <button id="button4" class="btn4_letter2" style="left:184px; top:5px; width:56px; height:22px; ">
  75. <caption>확인</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. fSetSpcListSend();
  79. ]]>
  80. </script>
  81. </button>
  82. <button id="button9" class="btn4_letter2" style="left:243px; top:5px; width:56px; height:22px; ">
  83. <caption>취소</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. window.close();
  87. ]]>
  88. </script>
  89. </button>
  90. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:299px; y2:0px; "/>
  91. </group>
  92. <group id="group1" style="left:0px; top:0px; width:300px; height:311px; ">
  93. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:299px; y2:26px; "/>
  94. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">검체목록</caption>
  95. <datagrid id="grd_SpcList" nodeset="/root/main/spccdlist" visibility="visible" caption="^검체코드^검체명" colwidth="30, 60, 160" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:31px; width:299px; height:278px; ">
  96. <col ref="chk" type="checkbox" checkvalue="Y,N"/>
  97. <col ref="cd"/>
  98. <col ref="nm"/>
  99. </datagrid>
  100. </group>
  101. </xhtml:body>
  102. </xhtml:html>