123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLF90500_검체정보설정.xrw
- * 설 명 : 검체정보설정
- * 설 계 자 : (주)에이씨케이 박정은
- * 작 성 자 : (주)에이씨케이 박정은
- * 작 성 일 : 2007.06.20
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>검체정보설정</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <spccdlist>
- <chk/>
- <cd/>
- <nm/>
- </spccdlist>
- </main>
- <send>
- <data1/>
- </send>
- <init/>
- <hidden>
- <spckind>A</spckind>
- <spccdnm>
- <cd/>
- <nm/>
- <row/>
- </spccdnm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- //grd_SpcList.deleteRow(1);
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- // 확인 버튼 클릭
- function fSetSpcListSend(){
- var sRow = 0;
- var sSpccd = "";
- var sSpcnm = "";
-
- for(i=1; i<grd_SpcList.rows; i++){
- // 선택된 검체만
- if(model.getValue("/root/main/spccdlist["+i+"]/chk")=="Y"){
- sRow += 1;
- sSpccd += "▦" + model.getValue("/root/main/spccdlist["+i+"]/cd");
- sSpcnm += "▦" + model.getValue("/root/main/spccdlist["+i+"]/nm");
-
- }
- }
-
- model.setValue("/root/hidden/spccdnm/cd", sSpccd);
- model.setValue("/root/hidden/spccdnm/nm", sSpcnm);
- model.setValue("/root/hidden/spccdnm/row", sRow);
-
- model.copyNode(opener.root.hidden.spccdnm, root.hidden.spccdnm);
-
- //opener.ipt_tclscdlist.refresh();
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="320" pageheight="360" guideline="1,1194;" style="font-family:굴림체; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group2" style="left:0px; top:311px; width:300px; height:27px; ">
- <button id="button4" class="btn4_letter2" style="left:184px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSpcListSend();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:243px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:299px; y2:0px; "/>
- </group>
- <group id="group1" style="left:0px; top:0px; width:300px; height:311px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:299px; y2:26px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">검체목록</caption>
- <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; ">
- <col ref="chk" type="checkbox" checkvalue="Y,N"/>
- <col ref="cd"/>
- <col ref="nm"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|