123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <snwoplist>
- <icdcd/>
- <cd/>
- <hngnm/>
- <engnm/>
- </snwoplist>
- </main>
- <send>
- <search>
- <refcond/>
- <refstatement/>
- </search>
- </send>
- <hidden>
- <sppmc04400>
- <rslt>
- <icdcd/>
- <cd/>
- <hngnm/>
- <engnm/>
- </rslt>
- </sppmc04400>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/snwoplist");
- model.removeNodeset("/root/hidden/sppmc04400/rslt");
- var refcond = model.getValue("/root/send/search/refcond");
- if(refcond == "1" || refcond == "2" ||refcond == "3" || refcond == "4"){
- submit("TRPMC04401");
- model.refresh();
- }//if end
- ]]>
- </script>
- <submission id="TRPMC04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/snwoplist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="880" pageheight="350" guideline="2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:5px; top:0px; width:850px; height:290px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:120px; height:13px; ">상벙/수술 리스트</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:845px; y2:25px; "/>
- <datagrid id="grd_snwop" nodeset="/root/main/snwoplist" caption="코드명^상병/수술명^한글명^영문명" colsep="^" colwidth="50, 92, 281, 406" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:5px; top:30px; width:840px; height:250px; ">
- <col ref="icdcd"/>
- <col ref="cd"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_snwop.row;
- if( row > 0 ){
- if( getNodesetCount("/root/main/snwoplist") > 0 ){
- opener.model.copyNode("/root/hidden/sppmc04400/rslt", grd_snwop.getNode( row ));
- opener.model.refresh();
- window.close();
- }
- }
- //20090102 홍성주 추가 작업시작
- else{
- /*
- opener.model.removeNodeset("/root/main/iscl/grdisclinfo");
- opener.model.removeNodeset("/root/send/search/refstatement");
- opener.model.removeNodeset("/root/main/totaldisplay");
- opener.model.refresh();
- window.close();*/
- model.reset();
- }
- //20090102 홍성주 추가 작업종료
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- row = grd_snwop.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/snwoplist") > 0 ){
- model.copyNode("/root/hidden/sppmc04400/rslt", grd_snwop.getNode( row ));
- }
-
- }
- //20090102 홍성주 추가 작업시작
- else{
- /*
- opener.model.removeNodeset("/root/main/iscl/grdisclinfo");
- opener.model.removeNodeset("/root/send/search/refstatement");
- opener.model.removeNodeset("/root/main/totaldisplay");
- opener.model.refresh();
- window.close();
- */
- model.reset();
- }
- //20090102 홍성주 추가 작업종료
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:295px; width:845px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:785px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.javascript.setParameter("SMPAI00400_param", "@");
- model.reset();
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|