123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?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>VS정보조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <vsinfo>
- </vsinfo>
- <cond>
- <flag>B</flag>
- <pid/>
- <fromdd/>
- <todd/>
- <org_flag/>
- </cond>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- <init>
- <initdate>
- <today/>
- </initdate>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- var flag = model.getValue("/root/main/cond/flag");
- model.makeValue("/root/main/cond/org_flag", flag);
- flag = flag.substr(0, 1);
- model.removeNodeset("/root/main/vsinfo");
- model.refresh();
- ]]>
- </script>
- <submission id="TRASB02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/vsinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- var today = getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(-1, "M");
- model.setValue("/root/init/initdate/today", today);
- model.makeValue("/root/send/cond/fromdd", peveDate.getDateFormat());
- model.makeValue("/root/send/cond/todd", today);
- model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="660" pageheight="437" style="margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:0px; width:642px; height:410px; ">
- <line id="line56" class="line_3" style="x1:0px; y1:410px; x2:420px; y2:410px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:7px; width:100px; height:14px; ">V/S정보조회</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:640px; y2:22px; "/>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_s_essential" disabled="true" maxlength="10" style="left:56px; top:29px; width:90px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:478px; top:27px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( !isRequiredControls("ipt_pid","ipt_fromdd","ipt_todd") ){
- return;
- }
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRASB02001");
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:338px; top:30px; width:15px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:351px; top:29px; width:113px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:220px; top:29px; width:113px; height:19px; "/>
- <datagrid id="grd_vslist" nodeset="/root/main/vsinfo/vslist" caption="등록번호^이름^기록일자^기록시간^혈압^체온^호흡^맥박" colsep="^" colwidth="100, 100, 80, 80, 78, 60, 60, 60" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:53px; width:640px; height:352px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="recdd" format="yyyy-mm-dd"/>
- <col ref="rectm" format="hh:nn"/>
- <col ref="bp"/>
- <col ref="bt"/>
- <col ref="breth"/>
- <col ref="pulse"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if((grd_vslist.mouseRow > 0) && ( grd_vslist.mouseRow <= grd_vslist.rows )) {
- var iRow = grd_vslist.row;
- var flag = model.getValue("/root/main/cond/org_flag");
- if (flag == "BP"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdate1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdd"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptesttime1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/bp"));
- }
- else if (flag == "BT1"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdt1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdd") + model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/rectm"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestrslt1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/bt"));
- }
- else if (flag == "BT2"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdt2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdd") + model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/rectm"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestrslt2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/bt"));
- }
- else if (flag == "BR"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/brethdate2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdd"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/brethtime2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/breth"));
- }
- else if (flag == "PU"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/pulsedate2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdd"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/pulsetime2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/pulse"));
- }
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_vslist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_fromdd" class="cell_1" visibility="hidden" style="left:149px; top:27px; width:69px; height:23px; vertical-align:middle; ">조회기간</caption>
- <caption id="cap_todd" class="cell_1" style="left:149px; top:27px; width:69px; height:23px; vertical-align:middle; ">조회기간</caption>
- <caption id="cap_pid" class="cell_1" style="left:0px; top:27px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="input1" ref="/root/main/cond/flag" class="input_s_essential" visibility="hidden" maxlength="10" style="left:105px; top:30px; width:24px; height:19px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:51px; x2:640px; y2:51px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:410px; width:640px; height:27px; ">
- <button id="btn_cnfm" class="btn4_letter2" style="left:526px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_vslist.row;
- var flag = model.getValue("/root/main/cond/org_flag");
- if (flag == "BT1"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdate1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdt"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptesttime1", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/bt"));
- }
- else if (flag == "BT2"){
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptestdate2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/recdt"));
- opener.model.setValue("/root/main/hospinfcinfo/hospinfc/info/bdtptesttime2", model.getValue("/root/main/vsinfo/vslist[" + iRow + "]/bt"));
- }
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn4_letter2" style="left:583px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|