123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?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>
- <mtrainfo>
- <troplist/>
- </mtrainfo>
- </main>
- <send>
- </send>
- <init>
- <srch_kind>2</srch_kind>
- <srch_startdd/>
- <srch_enddd/>
- <srch_outrmcdyn/>
- <srch_gbn>1</srch_gbn>
- <srch_excel/>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMMO08021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/troplist"/>
- <submission id="TRMNE05805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/userinfo"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/mtrainfo/troplist");
-
- var sSdate = getCurrentDate().substr(0, 6) + "01";
- var sEdate = getCurrentDate();
-
-
- model.makeValue("/root/init/srch_startdd", sSdate);
- model.makeValue("/root/init/srch_enddd", sEdate);
-
- model.refresh();
-
- model.makeValue("/root/send/userid", getUserInfo("userid"));
- model.makeValue("/root/send/dutplcecd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/workdd", getCurrentDate());
- submit("TRMNE05805");
-
- var sSuperUser = model.getValue("/root/main/userinfo/superuser");
-
- if (sSuperUser == "Y") {
- btn_excel.disabled = false;
- } else {
- btn_excel.disabled = true;
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- <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/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/-->
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1180px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1180px; y2:65px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1042px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeSet ("/root/send" );
- model.makeValue("/root/send/cond/srch_kind", model.getValue("/root/init/srch_kind") );
- model.makeValue("/root/send/cond/srch_startdd", model.getValue("/root/init/srch_startdd") );
- model.makeValue("/root/send/cond/srch_enddd", model.getValue("/root/init/srch_enddd") );
- model.makeValue("/root/send/cond/srch_gbn", model.getValue("/root/init/srch_gbn") );
- model.makeValue("/root/send/cond/srch_excel", "N");
- model.removeNodeSet ("/root/main/mtrainfo/troplist");
- submit("TRMMO08021");
- ]]>
- </script>
- </button>
- <datagrid id="grd_troplist" nodeset="/root/main/mtrainfo/troplist" class="datagrid2" autoresize="true" caption="집도과^월^환자번호^환자명^성별/나이^수술일^수술명^진단명^집도의^내원일시^내원일시^head^face^chest^abdomen^extremity^external^iss" colsep="^" colwidth="110, 60, 60, 70, 65, 70, 275, 275, 60, 70, 40, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:70px; width:1180px; height:675px; ">
- <col ref="perfdept"/>
- <col ref="dategbn" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="opnm"/>
- <col ref="dgnm"/>
- <col ref="perfdr"/>
- <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chostm" format="hh:nn" style="text-align:center; "/>
- <col ref="head" visibility="hidden"/>
- <col ref="face" visibility="hidden"/>
- <col ref="chest" visibility="hidden"/>
- <col ref="abdomen" visibility="hidden"/>
- <col ref="extremity" visibility="hidden"/>
- <col ref="external" visibility="hidden"/>
- <col ref="iss" visibility="hidden"/>
- </datagrid>
- <select1 id="combo3" ref="/root/init/srch_kind" class="combo_search" appearance="minimal" style="left:100px; top:31px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>퇴원일</label>
- <value>1</value>
- </item>
- <item>
- <label>내원일</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/init/srch_startdd" class="input_search" inputtype="date" style="left:200px; top:31px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/init/srch_enddd" class="input_search" inputtype="date" style="left:318px; top:31px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:300px; top:31px; width:20px; height:20px; ">~</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:31px; width:95px; height:17px; ">검색조건 :</caption>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:13px; ">권역 외상센터 대상자 수술리스트</caption>
- <line id="line2" style="x1:1022px; y1:29px; x2:1022px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="radio1" ref="/root/init/srch_gbn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:505px; top:32px; width:270px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급실 내 수술만</label>
- <value>1</value>
- </item>
- <item>
- <label>입원기간 내 전체수술</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:435px; top:31px; width:95px; height:17px; ">구 분:</caption>
- <datagrid id="grd_troplist_ex" nodeset="/root/main/mtrainfo/troplist_ex" class="datagrid2" visibility="hidden" autoresize="true" caption="집도과^월^환자번호^환자명^성별/나이^수술일^수술명^진단명^집도의^내원일시^내원일시^head^face^chest^abdomen^extremity^external^iss" colsep="^" colwidth="110, 60, 60, 70, 65, 70, 275, 275, 60, 70, 40, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:170px; top:295px; width:815px; height:260px; ">
- <col ref="perfdept"/>
- <col ref="dategbn" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="opschedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="opnm"/>
- <col ref="dgnm"/>
- <col ref="perfdr"/>
- <col ref="chosdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chostm" format="hh:nn" style="text-align:center; "/>
- <col ref="head"/>
- <col ref="face"/>
- <col ref="chest"/>
- <col ref="abdomen"/>
- <col ref="extremity"/>
- <col ref="external"/>
- <col ref="iss"/>
- </datagrid>
- <button id="btn_excel" class="btn1_letter3" style="left:1100px; top:30px; width:68px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeSet ("/root/send" );
- model.makeValue("/root/send/cond/srch_kind", model.getValue("/root/init/srch_kind") );
- model.makeValue("/root/send/cond/srch_startdd", model.getValue("/root/init/srch_startdd") );
- model.makeValue("/root/send/cond/srch_enddd", model.getValue("/root/init/srch_enddd") );
- model.makeValue("/root/send/cond/srch_gbn", model.getValue("/root/init/srch_gbn") );
- model.makeValue("/root/send/cond/srch_excel", "E");
- model.removeNodeSet ("/root/main/mtrainfo/troplist");
- submit("TRMMO08021");
-
- /*
- var fileName = window.fileDialog("save", ",", false, "권역외상센터수술리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(fileName != ""){
- grd_troplist_ex.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- */
-
-
- //20160503 수정
- var fileName = window.fileDialog("save", ",", false, "권역외상센터수술리스트" + input3.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_troplist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|