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>FIND 불가사유</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <srchflag>C</srchflag>
- <srchnm/>
- </condition>
- <impsilist>
- <info>
- <impsicd/>
- <impsinm/>
- </info>
- </impsilist>
- </main>
- <hidden>
- <receiveref/>
- <setdata>
- <cd/>
- <nm/>
- </setdata>
- </hidden>
- <send>
- </send>
- <init>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/impsilist");
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetimpsiList(){
- model.resetInstanceNode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- if(model.getValue("/root/main/condition/srchflag") == "N") {
- var srchnm = model.getValue("/root/main/condition/srchnm");
- srchnm = srchnm.toUpperCase( );
- model.makeValue("/root/send/reqdata/srchnm", srchnm);
- } else if(model.getValue("/root/main/condition/srchflag") == "C") {
- if( (model.getValue("/root/main/condition/srchnm") != "") || (model.getValue("/root/main/condition/srchnm") != null))
- model.makeValue("/root/send/reqdata/srchflag", "");
- model.makeValue("/root/send/reqdata/srchflag", model.getValue("/root/main/condition/srchnm"));
- }
-
- submit("TRMMD02101");
- }
- ]]>
- </script>
- <submission id="TRMMD02101" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/impsilist"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="536" pageheight="343" style="margin-left:8; margin-right:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
- <group id="group2" style="left:0px; top:0px; width:518px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:517px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
- <button id="btn_search" navindex="3" class="btn1_letter2" style="left:450px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetimpsiList();
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:439px; y1:7px; x2:439px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input3" ref="/root/main/condition/srchnm" navindex="2" class="input_search" style="left:254px; top:8px; width:176px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/main/condition/srchflag" visibility="1" overflow="visible" appearance="full" cols="2" style="left:105px; top:8px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사유코드</label>
- <value>C</value>
- </item>
- <item>
- <label>사유내역</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:115px; height:14px; ">불가사유 list</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:517px; y2:60px; "/>
- <datagrid id="grd_impsilist" nodeset="/root/main/impsilist/info" caption="코드^사유내역" colwidth="105, 400" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:65px; width:517px; height:230px; ">
- <col ref="impsicd"/>
- <col ref="impsinm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = grd_impsilist.row;
- var cd = model.getValue("/root/main/impsilist/info[" + iRow + "]/impsicd");
- var nm = model.getValue("/root/main/impsilist/info[" + iRow + "]/impsinm");
- opener.model.makeValue("/root/hidden/getdata/cd", cd);
- opener.model.makeValue("/root/hidden/getdata/nm", nm);
- window.close();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:402px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_impsilist.row;
- if(iRow == null || iRow == "") {
- var msg = messageBox("처방을 ", "C002");
- return;
- } else{
- var iRow = grd_impsilist.row;
- var cd = model.getValue("/root/main/impsilist/info[" + iRow + "]/impsicd");
- var nm = model.getValue("/root/main/impsilist/info[" + iRow + "]/impsinm");
- opener.model.setValue("/root/hidden/getdata/cd", cd);
- opener.model.setValue("/root/hidden/getdata/nm", nm);
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|