123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <?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>Nursing Diagnosis 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <stmtlist>
- <stmtinfo>
- <stmtcnts/>
- <stmtcd/>
- </stmtinfo>
- </stmtlist>
- <cond>
- <stmtnm/>
- <dnar/>
- </cond>
- </main>
- <send/>
- <hidden>
- <refinfo/>
- <stmtinfo/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSearchNursDiag();
- ]]>
- </script>
- <submission id="TRMNR02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/stmtlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearchNursDiag(){
- model.setValue("/root/main/cond/dnar","2N");
- model.removeNodeset("/root/main/stmtlist/stmtinfo");
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.copyNode("/root/send", "/root/main/cond");
- submit("TRMNR02901");
- }
-
- function fSendStmtInfo(){
- var iRow = grd_stmtinfo.row;
- if(iRow < 1) {
- messageBox("진술문장을 하나 ",C002);
- return;
- }
- model.copyNode("/root/hidden/stmtinfo", "/root/main/stmtlist/stmtinfo["+iRow+"]");
- if(checkOpener()){
- model.copyNode(opener.root.hidden.retinfo.stmtinfo, root.hidden.stmtinfo);
- }else{
- alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
- }
- model.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="400" guideline="1,21;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:35px; width:580px; height:326px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:194px; height:14px; ">Nursing Diagnosis 조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:576px; y2:25px; "/>
- <datagrid id="grd_stmtinfo" nodeset="/root/main/stmtlist/stmtinfo" class="datagrid2" caption="진술문장^stmtcd" colsep="^" colwidth="552, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:30px; width:576px; height:290px; ">
- <col ref="stmtcnts" style="text-align:left; "/>
- <col ref="stmtcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSendStmtInfo();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group2" style="left:0px; top:0px; width:581px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35px; "/>
- <line id="line13" class="line_4" style="x1:515px; y1:7px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:520px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchNursDiag();
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/main/cond/stmtnm" class="input_default" style="left:84px; top:8px; width:182px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:0px; top:9px; width:80px; height:17px; ">검색어 :</caption>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:356px; width:580px; height:27px; ">
- <button id="btn_select" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSendStmtInfo();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:520px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|