123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?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>치료실별치료사관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <excuroominfo>
- <excuroomlist>
- <Item/>
- <m1/>
- <m2/>
- <m3/>
- <m4/>
- <m5/>
- <m6/>
- <m7/>
- <m8/>
- <m9/>
- <m10/>
- <m11/>
- <m12/>
- </excuroomlist>
- </excuroominfo>
- </main>
- <send>
- <searchItem/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <searchdate/>
- <sdate/>
- </send>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRAER02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excuroominfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/workHistory");
- var syymm = getCurrentDate();
- syymm = syymm.substr(0, 6);
- model.setValue("/root/send/searchdate", syymm);
- model.setValue("/root/send/sdate", syymm);
- model.setValue("/root/send/searchItem", "1");
- GridHeader();
- btn_sea.dispatch("DOMActivate");
- model.refresh();
-
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function GridHeader() {
- var setDate = model.getValue("/root/send/sdate");
- var sysDate = setDate.toDate("YYYYMM");
- var nowDate = sysDate.getAddDate(-12,"M");
- var scaption = "구분";
- for (var i = 1; i < 13; i ++){
- var nowDate = sysDate.getAddDate(1,"M");
- nowDate = nowDate.getDateFormat("YYYY-MM");
- scaption = scaption + "^" + nowDate + " 월";
- }
- grd_cureroomlist.caption = scaption;
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <datagrid id="grd_cureroomlist" nodeset="/root/main/excuroominfo/excuroomlist" caption="구분^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="100, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90" mergecells="bycol" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:85px; width:1193px; height:675px; ">
- <col ref="Item"/>
- <col ref="m1"/>
- <col ref="m2"/>
- <col ref="m3"/>
- <col ref="m4"/>
- <col ref="m5"/>
- <col ref="m6"/>
- <col ref="m7"/>
- <col ref="m8"/>
- <col ref="m9"/>
- <col ref="m10"/>
- <col ref="m11"/>
- <col ref="m12"/>
- </datagrid>
- <group id="group2" style="left:0px; top:25px; width:1193; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:1111px; y1:7px; x2:1111px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1127px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (submit("TRAER02001", false)){
- grd_cureroomlist.mergeCol(0) = true;
- grd_cureroomlist.mergeCol(1) = false;
- grd_cureroomlist.mergeCol(2) = false;
- grd_cureroomlist.mergeCol(3) = false;
- grd_cureroomlist.mergeCol(4) = false;
- grd_cureroomlist.mergeCol(5) = false;
- grd_cureroomlist.mergeCol(6) = false;
- grd_cureroomlist.mergeCol(7) = false;
- grd_cureroomlist.mergeCol(8) = false;
- grd_cureroomlist.mergeCol(9) = false;
- grd_cureroomlist.mergeCol(10) = false;
- grd_cureroomlist.mergeCol(11) = false;
- grd_cureroomlist.mergeCol(12) = false;
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_acptdd" ref="/root/send/searchdate" class="input_default" editable="false" inputtype="date" format="yyyy-mm" style="left:417px; top:7px; width:85px; height:19px; text-align:center; "/>
- <caption id="caption4" class="search_name" style="left:326px; top:9px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회기간 :</caption>
- <select1 id="radio1" ref="/root/send/searchItem" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:114px; top:9px; width:167px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>근무지</label>
- <value>1</value>
- </item>
- <item>
- <label>근무자</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회조건 :</caption>
- </group>
- <line id="line10" class="line_1" style="x1:0px; y1:85px; x2:1193; y2:85px; "/>
- <caption id="caption18" class="tit_2" style="left:0px; top:70px; width:205px; height:14px; ">이력 상세 정보</caption>
- <button id="btn_Next" class="icon_next" style="left:1181px; top:66px; width:13px; height:15px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 기준일자
- var setDate = model.getValue("/root/send/sdate");
- var sysDate = setDate.toDate("YYYYMM");
-
- // 익월
- var nowDate = sysDate.getAddDate(1,"M");
- nowDate = nowDate.getDateFormat("YYYYMM");
-
- model.setValue("/root/send/sdate", nowDate);
- GridHeader();
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_Previous" class="icon_pre" style="left:1072px; top:66px; width:13px; height:15px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 기준일자
- var setDate = model.getValue("/root/send/sdate");
- var sysDate = setDate.toDate("YYYYMM");
-
- // 익월
- var nowDate = sysDate.getAddDate(-1,"M");
- nowDate = nowDate.getDateFormat("YYYYMM");
-
- model.setValue("/root/send/sdate", nowDate);
- GridHeader();
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- <caption/>
- </button>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:235px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">근무이력관리</caption>
- <input id="input1" ref="/root/send/sdate" disabled="true" format="yyyy-mm" style="left:1090px; top:63px; width:85px; height:19px; text-align:center; "/>
- <button id="button3" class="btn2_letter4" style="left:990px; top:64px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- grd_cureroomlist.saveExcel(file, "sheet1");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|