123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?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>
- <cond>
- <srchdd/>
- <srchbasedd/>
- <wardcd/>
- <wardnm/>
- </cond>
- <nbabyinfo>
- <nbabylsit>
- <patnm/>
- <weightbefore/>
- <weightunitcd1/>
- <weighttoday/>
- <weightunitcd2/>
- <pid/>
- </nbabylsit>
- </nbabyinfo>
- </main>
- <init>
- <unitinfo>
- <unitlist>
- <itemnm>kg</itemnm>
- <itemcd>1</itemcd>
- </unitlist>
- <unitlist>
- <itemnm>g</itemnm>
- <itemcd>2</itemcd>
- </unitlist>
- </unitinfo>
- <iteminfo>
- <itemlist>
- <cdid/>
- <cdnm/>
- </itemlist>
- </iteminfo>
- </init>
- <send/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
- finit();
- ]]>
- </script>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- function finit(){
- submit("TRMNN01802");
-
- model.removeNodeset("/root/main/nbabyinfo/nbabylsit");
- model.setValue("/root/main/cond/srchbasedd", getCurrentDate());
- model.setValue("/root/main/cond/srchdd", getDateCalc(getCurrentDate(), 1));
- //model.setValue("/root/main/cond/srchflag", "020" );
- fSrchData();
- }
-
- function fSrchData(){
- model.removeNodeset("/root/main/nbabyinfo");
- model.copyNode("/root/send", "/root/main/cond");
-
- var ddcol1 = model.getValue("/root/main/cond/srchdd");
- var ddcol2 = model.getValue("/root/main/cond/srchbasedd");
-
- var sHeaderInfo = "신생아 이름^체중^체중^체중^체중|신생아 이름^";
- sHeaderInfo += ddcol1.substr(0,4) + "-" + ddcol1.substr(4,2) +"-"+ ddcol1.substr(6, 2)+"^"
- + ddcol1.substr(0,4) + "-" + ddcol1.substr(4,2) +"-"+ ddcol1.substr(6, 2)+"^"
- + ddcol2.substr(0,4) + "-" + ddcol2.substr(4,2) +"-"+ ddcol2.substr(6, 2)+"^"
- + ddcol2.substr(0,4) + "-" + ddcol2.substr(4,2) +"-"+ ddcol2.substr(6, 2) ;
-
-
- grd_nbabylist.caption = sHeaderInfo;
-
- submit("TRMNN01801");
-
- for(var i = 0 ; i < grd_nbabylist.rows; i++){
- grd_nbabylist.isReadOnly(i, grd_nbabylist.colRef("weightunitcd1"), i, grd_nbabylist.colRef("weightunitcd2")) = true;
- }
- }
- ]]>
- </script>
- <submission id="TRMNN01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nbabylsit"/>
- <submission id="TRMNN01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/iteminfo"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="400" pageheight="600" guideline="1,5;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group4" scroll="auto" style="left:0px; top:0px; width:381px; height:575px; ">
- <group id="group5" style="left:0px; top:0px; width:381px; height:65px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:381px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption36" class="search_name" style="left:10px; top:40px; width:89px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">업무일자 :</caption>
- <button id="button5" class="btn1_letter2" style="left:315px; top:35px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchData();
- ]]>
- </script>
- </button>
- <input id="ipt_orddd" ref="/root/main/cond/srchbasedd" class="input_search" inputtype="date" style="left:101px; top:38px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/cond/srchdd", getDateCalc( model.getValue("/root/main/cond/srchbasedd"), 1));
- ]]>
- </script>
- </input>
- <button id="button1" class="btn1_letter2" style="left:315px; top:10px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send","/root/main");
- exeReportPreview("RPMNN01801","XMLSTR","");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:10px; top:10px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병 동 :</caption>
- <select1 id="cmb_wardlist" ref="/root/main/cond/wardcd" appearance="minimal" style="left:100px; top:9px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/iteminfo/itemlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/cond/wardnm", cmb_wardlist.label);
- fSrchData();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line5" class="line_1" style="x1:0px; y1:90px; x2:381px; y2:90px; "/>
- <caption id="caption42" class="tit_2" style="left:0px; top:75px; width:149px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">오늘의 체중</caption>
- <datagrid id="grd_nbabylist" nodeset="/root/main/nbabyinfo/nbabylsit" backcoloralternate="transparent" caption="신생아 이름^체중^체중^체중^체중|신생아 이름^2008-01-01^2008-01-01^2008-01-02^2008-01-02" colsep="^" colwidth="120, 60, 60, 60, 60" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:94px; width:380px; height:481px; ">
- <col ref="patnm"/>
- <col ref="weightbefore" style="text-align:right; border-right-width:0; "/>
- <col ref="weightunitcd1" type="combo" style="text-align:left; border-left-width:0; ">
- <choices>
- <itemset nodeset="/root/init/unitinfo/unitlist">
- <label ref="itemnm"/>
- <value ref="itemcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="weighttoday" style="text-align:right; border-right-width:0; "/>
- <col ref="weightunitcd2" type="combo" style="text-align:left; border-left-width:0; ">
- <choices>
- <itemset nodeset="/root/init/unitinfo/unitlist">
- <label ref="itemnm"/>
- <value ref="itemcd"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|