123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?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>
- <lpcmspcm>
- <lpcmspcmlist>
- <status/>
- <spccd/>
- <spcnm/>
- <orddeptcd/>
- <spckind/>
- <spckindno/>
- </lpcmspcmlist>
- </lpcmspcm>
- </main>
- <lpcmspcmsrch>
- <lpcmspcmlist>
- <status/>
- <spccd/>
- <spcnm/>
- <orddeptcd/>
- <spckind/>
- <spckindno/>
- </lpcmspcmlist>
- </lpcmspcmsrch>
- <clinccmt>
- <clinccmtlist>
- <status/>
- <cdkind/>
- <cdno/>
- <etccnts/>
- <orddeptcd/>
- </clinccmtlist>
- </clinccmt>
- <init>
- <msrght>
- <mouserght>
- <label>삭제</label>
- <func>fDeleteRow</func>
- </mouserght>
- </msrght>
- <spcmsrght>
- <mouserght>
- <label>삭제</label>
- <func>fSpcDeleteRow</func>
- </mouserght>
- </spcmsrght>
- <deptlist>
- <orddept/>
- </deptlist>
- <orddeptcd/>
- </init>
- <send>
- <cond1/>
- <cond2/>
- </send>
- <reset>
- <clinccmtlist>
- <status>I</status>
- <cdkind/>
- <cdno/>
- <etccnts/>
- <orddeptcd/>
- </clinccmtlist>
- </reset>
- <dept/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- model.setValue ( "/root/send/cond1", getUserInfo("dutplcecd"));
- model.setValue ( "/root/send/cond2", opener.javascript.getParameter ( "SPMMB02400_cond2" ));
- submit ( "TRMMB02302" );
- ]]>
- </script>
- <submission id="TRMMB02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/lpcmspcm"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="390" pageheight="482" guideline="1,778;2,514;1,390;">
- <datagrid id="grd_uselpcmspcm" nodeset="/root/main/lpcmspcm/lpcmspcmlist" caption="^검체명" colsep="^" colwidth="0, 355" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" tooltip="true" style="left:4px; top:5px; width:380px; height:445px; ">
- <col disabled="true" ref="status" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>신규</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="spcnm" type="output"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_uselpcmspcm.isCell(event.target) && grd_uselpcmspcm.row >= grd_uselpcmspcm.fixedRows ){
- var spccd = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spccd" );
- var spcnm = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spcnm" );
- opener.javascript.setParameter ( "SPMMB02400_spc", spccd + "|" + spcnm );
- model.close();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line7" class="line_1" style="x1:4px; y1:0px; x2:383px; y2:0px; "/>
- <button id="button1" class="btn4_letter2" style="left:267px; top:456px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_uselpcmspcm.row >= grd_uselpcmspcm.fixedRows ){
- var spccd = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spccd" );
- var spcnm = model.getValue ( "/root/main/lpcmspcm/lpcmspcmlist[" + grd_uselpcmspcm.row + "]/spcnm" );
- opener.javascript.setParameter ( "SPMMB02400_spc", spccd + "▦" + spcnm );
- model.close();
- } else {
- messageBox ( "선택된 검체가", "I004" );
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:327px; top:456px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|