123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patlist>
- <pid/>
- <patnm/>
- <wardroom/>
- </patlist>
- <ylist>
- <m1/>
- <m2/>
- <m3/>
- <m4/>
- <m5/>
- <m6/>
- <m7/>
- <m8/>
- <m9/>
- <m10/>
- <m11/>
- <m12/>
- <sum/>
- <monthsum/>
- </ylist>
- <mlist>
- <sun value=""/>
- <mon value=""/>
- <tue value=""/>
- <wed>
- <value/>
- </wed>
- <thu value=""/>
- <fri value=""/>
- <sat value=""/>
- <sun_memo/>
- <mon_memo/>
- <tue_memo/>
- <wed_memo/>
- <thu_memo/>
- <fri_memo/>
- <sat_memo/>
- </mlist>
- <montdt/>
- <year/>
- </main>
- <send>
- <year/>
- <month/>
- <yymmdd/>
- </send>
- <init/>
- <hidden>
- <ref>
- <searchyear/>
- <searchmonth/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script ev:event="xforms-model-construct-done" type="javascript">
- <![CDATA[
- fnowdd();
- fgetmonthdata();
-
- ]]>
- </script>
- <submission id="TRLVJ90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mlist"/>
- <submission id="TRLVJ90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patlist"/>
- <submission id="TRLVJ90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ylist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExeCancel() {
- window.close();
- }
-
- function fnowdd() {
- var nowdd = getCurrentDate();
- var nowyy = nowdd.substr(0, 4);
- var nowmm = nowdd.substr(4, 6);
- nowmm = nowmm.substr(0, 2);
- model.setValue("/root/hidden/ref/searchyear", nowyy);
- model.setValue("/root/main/year", nowyy);
- model.setValue("/root/hidden/ref/searchmonth", nowmm);
- }
- function fchkyear(num) {
- var nn = model.getValue("/root/hidden/ref/searchyear");
- var mm = model.getValue("/root/hidden/ref/searchmonth");
- if(mm.charAt(0) == '0'){
- mm = mm.substr(1, 1);
- }
- var ns = parseInt(nn);
- var ms = parseInt(mm);
- if(num == 1){
- ns = ns-1;
- model.setValue("/root/hidden/ref/searchyear", ns);
- model.setValue("/root/main/year", ns);
- }
- else if(num == 2){
- ns = ns+1;
- model.setValue("/root/hidden/ref/searchyear", ns);
- model.setValue("/root/main/year", ns);
- }
- else if(num == 3){
- ms = ms - 1;
- if(ms == 0){
- ms = 12;
- ns = ns -1;
- model.setValue("/root/hidden/ref/searchyear", ns);
- model.setValue("/root/main/year", ns);
- }
- model.setValue("/root/hidden/ref/searchmonth", ms);
- }
- else{
- ms = ms + 1;
- if(ms == 13){
- ms = 1;
- ns = ns + 1;
- model.setValue("/root/hidden/ref/searchyear", ns);
- model.setValue("/root/main/year", ns);
- }
- model.setValue("/root/hidden/ref/searchmonth", ms);
- }
- fgetmonthdata();
- }
- function fgetmonthdata() {
- var mm = model.getValue("/root/hidden/ref/searchmonth");
- if(mm.length == 1){
- mm = '0' + mm;
- model.setValue("/root/hidden/ref/searchmonth", mm);
- }
- model.setValue("/root/send/year", model.getValue(" /root/hidden/ref/searchyear"));
- model.setValue("/root/send/month", model.getValue("/root/hidden/ref/searchmonth"));
- submit("TRLVJ90401");
- submit("TRLVJ90403");
- }
-
- function fgetclickday() {
- var row = mlist.row;
- var col = mlist.col;
- if(col == 0){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/sun/@value"));
- }
- else if(col == 1){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/mon/@value"));
- }
- else if(col == 2){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/tue/@value"));
- }
- else if(col == 3){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/wed/@value"));
- }
- else if(col == 4){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/thu/@value"));
- }
- else if(col == 5){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/fri/@value"));
- }
- else if(col == 6){
- model.setValue("/root/send/yymmdd", model.getValue("/root/main/mlist["+row+"]/sat/@value"));
- }
- var dateyy = model.getValue("/root/send/yymmdd");
- var datemm = dateyy.substr(4,6);
- var datedd = datemm.substr(2,4);
- dateyy = dateyy.substr(0,4);
- datemm = datemm.substr(0,2);
- model.setValue("/root/main/montdt", dateyy + "년 " + datemm + "월 " + datedd + "일");
- submit("TRLVJ90402");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="800" pageheight="700" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:722px; height:555px; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:134px; height:13px; ">월별 현황</caption>
- <output id="output3" ref="/root/main/montdt" style="left:430px; top:31px; width:287px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; color:#000000; text-align:center; "/>
- <datagrid id="datagrid2" nodeset="/root/main/ylist" caption="1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60" dataheight="25" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:474px; width:722px; height:48px; ">
- <col ref="m1" style="text-align:center; "/>
- <col ref="m2" style="left:50px; top:25px; width:50px; height:25px; text-align:center; "/>
- <col ref="m3" style="text-align:center; "/>
- <col ref="m4" style="text-align:center; "/>
- <col ref="m5" style="left:200px; top:25px; width:50px; height:25px; text-align:center; "/>
- <col ref="m6" style="text-align:center; "/>
- <col ref="m7" style="text-align:center; "/>
- <col ref="m8" style="text-align:center; "/>
- <col ref="m9" style="text-align:center; "/>
- <col ref="m10" style="text-align:center; "/>
- <col ref="m11" style="text-align:center; "/>
- <col ref="m12" style="text-align:center; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:352px; y2:25px; "/>
- <line id="line1" class="line_1" style="x1:357px; y1:25px; x2:722px; y2:25px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:469px; x2:722px; y2:469px; "/>
- <output id="output2" ref="/root/main/ylist/sum" style="left:123px; top:530px; width:60px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; color:#000000; text-align:right; "/>
- <caption id="caption2" class="tit_2" style="left:362px; top:10px; width:175px; height:13px; ">일별 종합검증 환자 리스트</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:424px; width:120px; height:23px; font-family:돋움; ">월별 합계</caption>
- <caption id="caption3" class="cell_1" style="left:357px; top:30px; width:70px; height:23px; font-family:돋움; text-align:left; ">조회일자</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:446px; x2:352px; y2:446px; "/>
- <output id="output4" ref="/root/main/ylist/monthsum" style="left:123px; top:425px; width:209px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; color:#000000; text-align:right; "/>
- <caption id="caption4" style="left:335px; top:425px; width:20px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; text-align:left; ">명</caption>
- <datagrid id="datagrid1" nodeset="/root/main/patlist" caption="등록번호^환자명^진료과/병실" colsep="^" colwidth="100, 100, 142" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:357px; top:55px; width:365px; height:393px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="wardroom"/>
- </datagrid>
- <caption id="caption6" class="tit_2" style="left:5px; top:454px; width:134px; height:13px; ">연별 현황</caption>
- <line id="line5" class="line_2" style="x1:357px; y1:52px; x2:722px; y2:52px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:529px; width:120px; height:23px; font-family:돋움; text-align:right; vertical-align:middle; ">년 검증인원</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:551px; x2:722px; y2:551px; "/>
- <output id="output1" ref="/root/main/year" style="left:3px; top:530px; width:45px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; color:#000000; text-align:right; "/>
- <caption id="caption8" style="left:185px; top:531px; width:20px; height:19px; font-family:돋움; font-size:12pt; font-weight:bold; text-align:left; ">명</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:419px; x2:352px; y2:419px; "/>
- <line id="line10" class="line_1" style="x1:0px; y1:524px; x2:722px; y2:524px; "/>
- <line id="line6" class="line_3" style="x1:357px; y1:52px; x2:722px; y2:52px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:30px; width:355px; height:60px; ">
- <shape id="rectangle2" class="calendar_header" appearance="rectangle" style="left:0px; top:2px; width:353px; height:58px; "/>
- <output id="opt_year" ref="/root/hidden/ref/searchyear" class="calendar_output" style="left:130px; top:2px; width:30px; height:19px; "/>
- <output id="opt_month" ref="/root/hidden/ref/searchmonth" class="calendar_output" style="left:182px; top:2px; width:20px; height:19px; "/>
- <caption id="caption24" class="calendar_output" style="left:160px; top:2px; width:20px; height:19px; ">년</caption>
- <caption id="caption25" class="calendar_output" style="left:202px; top:2px; width:20px; height:19px; ">월</caption>
- <button id="button126" class="icon_month" style="left:261px; top:29px; width:27px; height:27px; ">
- <caption>10</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 10);
- fgetmonthdata()
- ]]>
- </script>
- </button>
- <button id="button127" class="icon_month" style="left:289px; top:29px; width:27px; height:27px; ">
- <caption>11</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 11);
- fgetmonthdata()
- ]]>
- </script>
- </button>
- <button id="button128" class="icon_month" style="left:317px; top:29px; width:27px; height:27px; ">
- <caption>12</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 12);
- fgetmonthdata() ;
- ]]>
- </script>
- </button>
- <button id="button117" class="icon_month" style="left:10px; top:29px; width:27px; height:27px; ">
- <caption>1</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 1);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button118" class="icon_month" style="left:37px; top:29px; width:27px; height:27px; ">
- <caption>2</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 2);
- fgetmonthdata() ;
- ]]>
- </script>
- </button>
- <button id="button119" class="icon_month" style="left:65px; top:29px; width:27px; height:27px; ">
- <caption>3</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 3);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button120" class="icon_month" style="left:93px; top:29px; width:27px; height:27px; ">
- <caption>4</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 4);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button121" class="icon_month" style="left:121px; top:29px; width:27px; height:27px; ">
- <caption>5</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 5);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button122" class="icon_month" style="left:149px; top:29px; width:27px; height:27px; ">
- <caption>6</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 6);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button123" class="icon_month" style="left:177px; top:29px; width:27px; height:27px; ">
- <caption>7</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 7);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button124" class="icon_month" style="left:205px; top:29px; width:27px; height:27px; ">
- <caption>8</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 8);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button125" class="icon_month" style="left:233px; top:29px; width:27px; height:27px; ">
- <caption>9</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setValue("/root/hidden/ref/searchmonth", 9);
- fgetmonthdata();
- ]]>
- </script>
- </button>
- <button id="button55" class="icon_pre_year" style="left:88px; top:4px; width:16px; height:16px; ">
- <caption/>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fchkyear(1);
- ]]>
- </script>
- </button>
- <button id="button56" class="icon_next_year" style="left:243px; top:4px; width:16px; height:16px; ">
- <caption/>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fchkyear(2);
- ]]>
- </script>
- </button>
- <button id="button57" class="icon_pre_month" style="left:108px; top:4px; width:16px; height:16px; ">
- <caption/>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fchkyear(3);
- ]]>
- </script>
- </button>
- <button id="button58" class="icon_next_month" style="left:223px; top:4px; width:16px; height:16px; ">
- <caption/>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fchkyear(4);
- ]]>
- </script>
- </button>
- </group>
- <multilinegrid id="mlist" nodeset="/root/main/mlist" class="gridcalendar" autoresize="true" caption="일^월^화^수^목^금^토" colsep="^" colwidth="50, 50, 50, 50, 50, 50, 50" dataheight="20" extendlastcol="noscroll" focuscolor="transparent" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:92px; width:353px; height:323px; ">
- <row>
- <col class="color_sun" ref="sun" style="border-bottom-width:0px; "/>
- <col ref="mon" style="border-bottom-width:0px; "/>
- <col ref="tue" style="border-bottom-width:0px; "/>
- <col ref="wed" style="border-bottom-width:0px; "/>
- <col ref="thu" style="border-bottom-width:0px; "/>
- <col ref="fri" style="border-bottom-width:0px; "/>
- <col class="color_sat" ref="sat" style="border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo" type="input" style="border-top-width:0px; "/>
- <col ref="mon_memo" type="input" style="border-top-width:0px; "/>
- <col ref="tue_memo" type="input" style="border-top-width:0px; "/>
- <col ref="wed_memo" type="input" style="border-top-width:0px; "/>
- <col ref="thu_memo" type="input" style="border-top-width:0px; "/>
- <col ref="fri_memo" type="input" style="border-top-width:0px; "/>
- <col ref="sat_memo" type="input" style="border-top-width:0px; "/>
- </row>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fgetclickday();
- ]]>
- </script>
- </multilinegrid>
- </group>
- <group id="group2" style="left:0px; top:555px; width:722px; height:27px; ">
- <button id="button31" class="btn4_letter4" style="left:584px; top:5px; width:80px; height:22px; ">
- <caption>월별집계</caption>
- </button>
- <button id="button32" class="btn4_letter2" style="left:666px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- </button>
- <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:722px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|