123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLMR90400_항균제조회.xrw
- * 설 명 : 환자특이사항 관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.04.23
- * 수정력 :
- * 기 타 :
- -->
- <?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>
- <main>
- <AntiBio>
- <antibiolist>
- <chk/>
- <antibiocd/>
- <antibioscrnnm/>
- </antibiolist>
- </AntiBio>
- </main>
- <send>
- <data1/>
- <code/>
- <select>1</select>
- </send>
- <init>
- <LB0204>
- <cd/>
- <nm/>
- </LB0204>
- <LB0201>
- <cd/>
- <nm/>
- </LB0201>
- </init>
- <hidden>
- <cd/>
- <AntiBio/>
- <ref>
- <testcd/>
- <baccd/>
- </ref>
- <select>1</select>
- <code/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_AntibioList.fixedcellcheckbox(0,1)=true;
- fBaseInfoRef("0201|");
- fAntiBioRef();
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLMR90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/AntiBio"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fAntiBioRef(){
- model.makeValue("/root/send/bacgenscd" ,model.getvalue("/root/hidden/cd"));
- submit("TRLMR90401");
- }
-
-
-
- // 확인버튼 클릭시
- function fSetpatspcflist(){
- model.copyNode("/root/hidden/AntiBio","/root/main/AntiBio");
- var row = grd_AntibioList.rows - 1
- for(i=row;;i--){
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/antibiorslt", "");
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/antibioref", "");
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/panicmark", "");
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/deltamark", "");
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/testcd", model.getValue("/root/hidden/ref/testcd"));
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/baccd", model.getValue("/root/hidden/ref/baccd"));
- model.makeValue("/root/hidden/AntiBio/antibiolist["+i+"]/bacgenscd", model.getValue("/root/hidden/cd"));
- if(model.getvalue("/root/hidden/AntiBio/antibiolist["+i+"]/chk") != "true"){
- model.removeNodeset("/root/hidden/AntiBio/antibiolist["+i+"]");
- }
-
- if(i==1) break;
- }
- model.copyNode(opener.root.hidden.bacgensantibio,root.hidden.AntiBio);
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="370" pageheight="450" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:325px; height:430px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:11px; width:100px; height:14px; ">항균제추가</caption>
- <button id="button9" class="btn4_letter2" style="left:260px; top:395px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:26px; x2:315px; y2:26px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:31px; width:72px; height:23px; ">균속코드</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:53px; x2:315px; y2:53px; "/>
- <select1 id="combo1" ref="/root/hidden/cd" class="combo_default" appearance="minimal" style="left:74px; top:32px; width:241px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0201">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fAntiBioRef();
- ]]>
- </script>
- </select1>
- <button id="btn_cfm" class="btn4_letter2" style="left:200px; top:395px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetpatspcflist();
- ]]>
- </script>
- </button>
- <datagrid id="grd_AntibioList" nodeset="/root/main/AntiBio/antibiolist" visibility="visible" caption="^코드^항균제명" colsep="^" colwidth="22, 60, 187" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:79px; width:320px; height:310px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="antibiocd"/>
- <col ref="antibioscrnnm"/>
- </datagrid>
- <caption id="caption1" class="cell_1" style="left:0px; top:54px; width:72px; height:23px; ">구 분</caption>
- <line id="line1" class="line_3" style="x1:0px; y1:77px; x2:315px; y2:77px; "/>
- <select1 id="combo2" ref="/root/hidden/select" appearance="minimal" style="left:73px; top:56px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>1</value>
- </item>
- <item>
- <label>향균제명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <input id="ipt_search" ref="/root/hidden/code" class="input_button" navindex="1" imemode="disabled" inputtype="button" style="left:153px; top:56px; width:162px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13"){
-
- model.setValue("/root/hidden/code", ipt_search.currentText);
- model.setvalue("/root/send/code",model.getValue("/root/hidden/code"));
- model.setValue("/root/send/select",model.getValue("/root/hidden/select"))
-
- fAntiBioRef();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.setValue("/root/send/select", model.getValue("/root/hidden/select"));
- model.setValue("/root/send/code", model.getValue("/root/hidden/code"));
- model.setValue("/root/send/select",model.getValue("/root/hidden/select"))
-
- fAntiBioRef();
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|