123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?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>
- <main>
- <lglydisreptinfo>
- </lglydisreptinfo>
- <cond>
- <fromdd/>
- <todd/>
- <lglydiskind/>
- <flag>A</flag>
- </cond>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <init>
- <initdate>
- <today/>
- </initdate>
- <P0149list>
- <P0149>
- <cdid/>
- <cdnm/>
- </P0149>
- </P0149list>
- <P0160list>
- <P0160>
- <cdid/>
- <cdnm/>
- </P0160>
- </P0160list>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRASI01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/lglydisreptinfo"/>
- </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" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- model.removeNodeset("/root/main/lglydisreptinfo");
- //zbcfGetCodeList(new Array("P0149", "P0160"), new Array("/root/init/initdata/P0149list", "/root/init/initdata/P0160list"));
-
- model.makeNode("/root/init/curdt");
- model.makeValue("/root/init/curdt/curdt", getCurrentDate());
-
- var idate=new Date();
- var frDate=idate.getAddDate(-1, "M");
-
- model.setValue("/root/main/cond/fromdd", frDate.getDateFormat());
- model.setValue("/root/main/cond/todd", model.getValue("/root/init/curdt/curdt"));
- model.refresh();
- //submit("TRASI01401");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,0;" idprefix="import" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
- <group id="group2" style="left:0px; top:0px; width:1195px; height:784px; vertical-align:top; ">
- <line id="line4" class="line_3" style="x1:0px; y1:781px; x2:1194px; y2:781px; "/>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; ">법정전염병 전귀보고조회</caption>
- </group>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/lglydisreptinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line8" class="line_4" style="x1:1110px; y1:10px; x2:1110px; y2:28px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:11px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( (model.getValue("/root/main/cond/fromdd") == "") || model.getValue("/root/main/cond/todd") == "" ) {
- messageBox("일자는", "I003");
- return;
- }
-
- model.makeNode("/root/send/cond");
- model.copyNode("/root/send/cond", "/root/main/cond");
- submit("TRASI01401");
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:760px; top:10px; width:66px; height:17px; ">구분 :</caption>
- <select id="chk_lglydiskind" ref="/root/main/cond/lglydiskind" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:540px; top:10px; width:155px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1군</label>
- <value>1</value>
- </item>
- <item>
- <label>2군(일본뇌염)</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <caption id="caption4" style="left:220px; top:15px; width:20px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_default" inputtype="date" appearance="input" style="left:240px; top:10px; width:115px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:15px; top:9px; width:78px; height:17px; ">진단일 :</caption>
- <select id="chk_flag" ref="/root/main/cond/flag" overflow="visible" appearance="full" cellspacing="10" cols="4" style="left:835px; top:10px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </select>
- <caption id="caption15" class="search_name" style="left:405px; top:10px; width:130px; height:17px; ">법정전염병 종류 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_default" inputtype="date" appearance="input" style="left:98px; top:10px; width:115px; height:19px; "/>
- </group>
- <button id="btn_excel" class="btn2_letter2" style="left:1151px; top:47px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var fileName = window.fileDialog("save", ",", false, "법정전염병전귀보고", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // if (fileName != ""){
- // grd_lglydisrept.saveExcel(fileName, "SheetName", false, false, "", "", false);
- // }
- var fileName = window.fileDialog("save", ",", false, "법정전염병전귀보고", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_lglydisrept.saveExcel(fileName, "법정전염병전귀보고", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:68px; x2:1193px; y2:68px; "/>
- <datagrid id="grd_lglydisrept" nodeset="/root/main/lglydisreptinfo/lglydisreptlist" caption="등록번호^환자명^진료과^종류^신고^신고일자^전귀보고^전귀보고일^구분" colsep="^" colwidth="150, 150, 150, 150, 150, 130, 80, 130, 80" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:73px; width:1193px; height:668px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddept"/>
- <col ref="kind"/>
- <col ref="rept"/>
- <col ref="reptdd" format="yyyy-mm-dd"/>
- <col ref="lglydisrept"/>
- <col ref="lglydisreptdd" format="yyyy-mm-dd"/>
- <col ref="flag"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_lglydisrept.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|