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>
- <masterinfo/>
- <condition>
- <srchflag>C</srchflag>
- <srchnm/>
- </condition>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- submit("TRMMD02801");
- grd_masterinfo.fixedcellcheckbox(0, grd_masterinfo.colRef("chk")) = true;
- ]]>
- </script>
- <submission id="TRMMD02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/masterinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fAddOpener(){
- var checkNodeList = instance1.selectNodes("/root/main/masterinfo/info[chk='Y']");
- if( checkNodeList != null && checkNodeList.length > 0 ){
- var csv = getNodeListCSV(checkNodeList);
- opener.javascript.setParameter("saveparam", csv);
- }
- opener.javascript.fSetAntibioAdd();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="626" pageheight="705" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:610px; height:675px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:70px; width:115px; height:13px; ">항생제조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:87px; x2:610px; y2:87px; "/>
- <datagrid id="grd_masterinfo" nodeset="/root/main/masterinfo/info" autoresize="true" caption="^항생제코드^처방명^한글상품명" colsep="^" colwidth="38, 119, 237, 161" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:92px; width:610px; height:583px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="hngnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var selRow = grd_masterinfo.row;
- if( selRow > 0 && selRow <= grd_masterinfo.rows ){
- model.setValue("/root/main/masterinfo/info["+selRow+"]/chk", "Y");
- model.refresh();
- fAddOpener();
-
- model.setValue("/root/main/masterinfo/info["+selRow+"]/chk", "N");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:30px; width:610px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:610px; height:35px; "/>
- <line id="line13" style="x1:529px; y1:5px; x2:529px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:6px; width:86px; height:17px; ">검색조건 :</caption>
- <input id="ipt_srchnm" ref="/root/main/condition/srchnm" class="input_search" navindex="2" style="left:315px; top:6px; width:205px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/main/condition/srchflag" visibility="1" appearance="full" cols="3" overflow="visible" style="left:105px; top:6px; width:205px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>처방코드</label>
- <value>C</value>
- </item>
- <item>
- <label>처방명</label>
- <value>N</value>
- </item>
- <item>
- <label>한글상품명</label>
- <value>H</value>
- </item>
- </choices>
- <!-- 2008.03.11 정연우 "검색어 먼저 입력하고 옵션선택할수 있으므로 옵션 선택시 검색어 Clear 기능 제거" 요청에 의해 수정 -->
- <!--script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/condition/srchnm","");
- model.setFocus("ipt_srchnm");
- model.refresh();
- ]]>
- </script-->
- </select1>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:540px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var strCdNm = model.getValue("/root/main/condition/srchnm");
- if( strCdNm.length > 0 && strCdNm.length < 2 ){
- messageBox("두자리 이상 ","C001");
- return;
- }
- submit("TRMMD02801");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption26" class="hand" style="left:0px; top:0px; width:604px; height:28px; vertical-align:middle; ">원내보유 항생제중 여기에서 항생제 조회가 되지 않는 경우는 일반처방에서 처방하시기 바랍니다.</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:676px; width:610px; height:27px; ">
- <button id="button4" class="btn4_letter2" style="left:495px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddOpener();
- // 2008.09.12 항생제추가화면이 한번 닫히면 다시 추가사유 입력 창이 발생해야 함
- var nodeList = opener.instance1.selectNodes("/root/main/antibiotics/antibioticslist[addyn='Y']");
- if(nodeList.length > 0) {
- opener.model.setValue("/root/main/antibiotics/antibioticslist/addyn", "N")
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:554px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2008.09.12 항생제추가화면이 한번 닫히면 다시 추가사유 입력 창이 발생해야 함
- var nodeList = opener.instance1.selectNodes("/root/main/antibiotics/antibioticslist[addyn='Y']");
- if(nodeList.length > 0) {
- opener.model.setValue("/root/main/antibiotics/antibioticslist/addyn", "N")
- }
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|