123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <?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>
- <data>
- <item>
- <pid/>
- <hngnm/>
- <wardcd/>
- <roomcd/>
- <birthday/>
- </item>
- </data>
- </main>
- <send>
- <searchitem>
- <appdd/>
- </searchitem>
- </send>
- <send1>
- <list>
- <prid/>
- </list>
- </send1>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <submission id="TRANT02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/data"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function finit() {
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/send");
- model.removeNodeset("/root/main/data");
- model.setValue("/root/send/searchitem/appdd", getCurrentDate().toDate().getAddDate(+1,"D").getDateFormat("YYYYMMDD"));
- btn_search.dispatch("DOMActivate");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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:200px; height:14px; ">생일자명단</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:770px; ">
- <group id="group1" style="left:5px; top:10px; width:1180px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1178px; height:35px; background-color:#fffbf2; "/>
- <caption id="caption3" class="search_name" style="left:25px; top:9px; width:65px; height:17px; ">일자 :</caption>
- <line id="line14" class="line_4" style="x1:1095px; y1:7px; x2:1095px; y2:29px; "/>
- <input id="ipt_appdd" ref="/root/send/searchitem/appdd" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:9px; width:115px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_before" class="icon_pre" style="left:210px; top:12px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ym = model.getValue("/root/send/searchitem/appdd");
- ym = ym.toDate().getAddDate(-1, "D");
- ym = ym.getDateFormat();
- model.setValue("/root/send/searchitem/appdd", ym);
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_next" class="icon_next" style="left:223px; top:12px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ym = model.getValue("/root/send/searchitem/appdd");
- ym = ym.toDate().getAddDate(1, "D");
- ym = ym.getDateFormat();
- model.setValue("/root/send/searchitem/appdd", ym);
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" style="left:1110px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/data/item");
- model.resetInstanceNode("/root/main/appdd");
- var appdd = model.getValue("/root/send/searchitem/appdd");
-
- if (isValidDateTime(appdd, "YYYYMMDD") == false) {
- messageBox("조회일자의 형식이", "E016");
- model.setFocus("ipt_appdd");
- return;
- }
-
- submit("TRANT02701");
- ]]>
- </script>
- </button>
- </group>
- <line id="line2" class="line_1" style="x1:5px; y1:50px; x2:1185px; y2:50px; "/>
- <datagrid id="grd_data" nodeset="/root/main/data/item" caption="환자번호^성명^병동^병실^생년월일" colsep="^" colwidth="96, 90, 228, 93, 121" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:55px; width:1180px; height:685px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="wardcd" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="birthday" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:5px; top:745px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- grd_data.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|