123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?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>
- <dschanalyhist>
- <dschanalyinfo>
- <histstat/>
- </dschanalyinfo>
- </dschanalyhist>
- <traninfo/>
- </main>
- <temp>
- </temp>
- <hidden>
- </hidden>
- <send>
- <indxlist/>
- </send>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fSetColor(){
- var cnt = getNodesetCount("/root/main/traninfo/tranlist");
-
- var histstat = "";
-
- for(var i=1; i<=cnt; i++){
- histstat = model.getValue("/root/main/traninfo/tranlist["+i+"]/histstat");
-
- grd_tranlist.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
-
- if("Y" != histstat){
- grd_tranlist.rowstyle( i , "data" , "background-color" ) = "#CCCCCC";
- }
-
- }
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRMRD00419");
- fSetColor();
- ]]>
- </script>
- <submission id="TRMRD00419" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/dschanalyhist" replace="instance" resultref="/root/main/traninfo"/>
- </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"/>
- </xhtml:head>
- <xhtml:body pagewidth="750" pageheight="330" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <line id="line1" class="line_1" style="x1:3px; y1:19px; x2:711px; y2:19px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:147px; height:15px; ">원무 전과전실 정보</caption>
- <line id="line4" class="line_3" style="x1:3px; y1:307px; x2:711px; y2:307px; "/>
- <datagrid id="grd_tranlist" nodeset="/root/main/traninfo/tranlist" caption="환자번호^입원일자^생성번호^시작일^종료일^부서^병동^병실^주치교수^이력^최초입력자^최초입력일^최종수정자^최종수성일" colsep="^" colwidth="69, 82, 5, 81, 79, 86, 94, 63, 66, 54, 100, 100, 100, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:2px; top:25px; width:708px; height:280px; ">
- <col ref="pid" type="output"/>
- <col ref="indd" type="output" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="cretno" type="output" visibility="hidden"/>
- <col ref="fromdd" type="output" visibility="visible" format="yyyy-mm-dd"/>
- <col ref="todd" type="output" visibility="visible" format="yyyy-mm-dd"/>
- <col ref="orddept" type="output" visibility="visible"/>
- <col ref="ward" type="output" visibility="visible"/>
- <col ref="roomcd" type="output" visibility="visible"/>
- <col ref="medispcl"/>
- <col ref="histstat"/>
- <col ref="fstrgstnm" type="output" visibility="hidden"/>
- <col ref="fstrgstdt" type="output" visibility="hidden"/>
- <col ref="lastupdtnm" type="output" visibility="hidden"/>
- <col ref="lastupdtdt" type="output" visibility="hidden"/>
- </datagrid>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/dschanalyhist/dschanalyinfo/histstat" style="left:145px; top:0px; width:40px; height:20px; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //model.setValue("/root/main/dschanalyhist/dschanalyinfo/histstat",val);
- submit("TRMRD00419");
- fSetColor();
- ]]>
- </script>
- </bool>
- <caption id="caption1" style="left:179px; top:2px; width:100px; height:20px; ">날짜 단위로보기</caption>
- </xhtml:body>
- </xhtml:html>
|