123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLR90500_ab결과선택.xrw
- * 설 명 : ab결과선택
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.05.30
- * 수정이력 :
- * 기 타 :
- -->
- <?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>Abnormal Result</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <TestInfo>
- <abnormallist>
- <chk/>
- <testcd/>
- <tclsscrnm/>
- </abnormallist>
- </TestInfo>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- <abnormalresult/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var testcd = model.getvalue("/root/main/TestInfo/testcd");
-
- datagrid3.nodeset = "/root/main/TestInfo/abnormallist[testcd2='" + testcd + "']"
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- function fAbResult(){
- var cnt = getNodesetCount("/root/main/TestInfo/abnormallist");
- abCnt = 1;
- var abTF = false;
- for(i = 1; i<=cnt ; i++){
- if(model.getvalue("/root/main/TestInfo/abnormallist["+i+"]/chk") == "true"){
-
- model.makeNode("/root/hidden/abnormalresult/abnormallist["+abCnt+"]");
- model.copyNode("/root/hidden/abnormalresult/abnormallist["+abCnt+"]" , "/root/main/TestInfo/abnormallist["+i+"]");
-
- abCnt++;
-
- abTF = true;
- }
- }
-
- if(abTF){
- //window.opener.model.copyNode("root/hidden/abresult", "root/hidden/abresult");
-
- //opener.model.copyNode("/root/hidden/abresult" , "/root/hidden/abresult");
-
- model.copyNode(opener.root.hidden.abresult , root.hidden.abnormalresult);
- window.close();
- }
- else{
- messageBox("검사항목을","C002","") ;
- return;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="350" pageheight="370" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:330px; height:312px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:325px; y2:26px; "/>
- <datagrid id="datagrid3" nodeset="/root/main/TestInfo/abnormallist" caption="선택^검사코드^검사항목명" colwidth="34, 81, 163" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:31px; width:325px; height:278px; ">
- <col ref="chk" type="checkbox" checkvalue="true,false"/>
- <col ref="testcd"/>
- <col ref="tclsscrnm" format="yyyy-mm-dd"/>
- </datagrid>
- <caption id="caption3" class="tit_2" style="left:5px; top:11px; width:123px; height:14px; ">Abnormal Result</caption>
- </group>
- <group id="group3" style="left:0px; top:315px; width:330px; height:27px; ">
- <button id="button1" class="btn4_letter2" visibility="visible" style="left:210px; top:5px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAbResult();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:269px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:325px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|