123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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 xmlns="">
- <main>
- <hospicerecd>
- <recdlist>
- <pid/>
- <hngnm/>
- <cretdd/>
- <crettm/>
- </recdlist>
- </hospicerecd>
- </main>
- <cond>
- <pid/>
- <flag>1</flag>
- </cond>
- <send/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.makeNode("/root/main/paminfo");
- var node = getGlobalVariable("paminfo");
- setCSVToNode("/root/main/paminfo", node);
-
- var pid = model.getValue("/root/main/paminfo/list/pid");
- if(pid != ""){
- input1.value = pid;
- fSearch();
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNH03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/recdlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSearch(){
- model.removeNodeset("/root/main/hospicerecd/recdlist");
- model.removenode("/root/send");
- model.makeValue("/root/send/pid",model.getValue("/root/cond/pid"));
- model.makeValue("/root/send/flag",model.getValue("/root/cond/flag"));
-
- submit("TRMNH03601");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="320" pageheight="300" guideline="1,1232;1,1228;1,1234;1,1246;1,1226;1,-3;2,604;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:230px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">호스피스 기록이력조회</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:297px; height:267px; ">
- <datagrid id="grd_hospicelist" nodeset="/root/main/hospicerecd/recdlist" scroll="auto" caption="등록번호^환자명^생성일자^시간^cretdt^recdd" colsep="^" colwidth="68, 79, 78, 42" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:4px; top:64px; width:289px; height:192px; ">
- <col ref="pid"/>
- <col disabled="true" ref="hngnm"/>
- <col ref="cretdd" format="yyyy-mm-dd"/>
- <col ref="crettm" format="mm:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //기록지 연결. key pid,cretdt,instcd
- setParameter("pid",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/pid"));
- setParameter("cretdd",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/cretdd"));
- setParameter("crettm",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/crettm"));
-
- var flag = model.getValue(rdo_flag.attribute("ref"));
-
- if(flag == "1") {
- modal("SMMNH01500",1,50,50);
- } else {
- modal("SMMNH06700");
- }
- window.close();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_hospicelist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:4px; y1:59px; x2:292px; y2:59px; "/>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:6px; width:287px; height:33px; "/>
- <caption id="caption5" class="search_name" style="left:11px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter2" navindex="5" style="left:225px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:215px; y1:10px; x2:215px; y2:32px; "/>
- <input id="ipt_pid" ref="/root/cond/pid" visibility="visible" style="left:100px; top:13px; width:100px; height:19px; "/>
- <input id="input1" ref="/root/cond/pid" visibility="visible" maxlength="10" format="9999999999" style="left:100px; top:13px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode== 13){
- model.setFocus("button1");
- fSearch();
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:11px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
- <select1 id="rdo_flag" ref="/root/cond/flag" appearance="full" cols="2" overflow="visible" style="left:95px; top:40px; width:185px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>호스피스기록</label>
- <value>1</value>
- </item>
- <item>
- <label>사별가족기록</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:4px; top:55px; width:100px; height:13px; ">기록지이력</caption>
- </xhtml:body>
- </xhtml:html>
|