123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?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">
- <script type="javascript">
- <![CDATA[
-
- function fInitialize()
- {
-
- model.removeNodeset("/root/main/list");
- model.makeNode("/root/main/list");
- //날자 입력 항목에 오늘 날자 세팅
- //model.setValue("/root/send/data1/reffromdd",getCurrentDate());
- //model.setValue("/root/send/data1/reftodd",getCurrentDate());
-
- model.refresh();
- }
- //자체기초코드 조회
- function fComCDRef()
- {
- submit("TRPMI00106");
- model.refresh();
- }
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>신체감정회신통계</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <reffromdd/>
- <reftodd/>
- </data1>
- <data2>
- <sess_posinstcd>012</sess_posinstcd>
- </data2>
- </send>
- <main>
- <list>
- <grdrepltermstatslist/>
- </list>
- </main>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <currentDate/>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC03200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize(); // 기본데이터 초기화
- fComCDRef(); // 코드 조회
-
- var curDate = getCurrentDate();
- model.setValue("/root/hidden/currentDate", curDate); //시스템 날자
-
- //기간 기본값 설정
- var prviousDate = getCurrentDate();
- prviousDate = prviousDate.toDate().getAddDate(-7,"D");
- var previousDay = prviousDate.getFullYear();
- previousDay = previousDay.toString() + (( prviousDate.getMonth() + 1 > 9 ) ? prviousDate.getMonth() + 1 : "0" + (prviousDate.getMonth() + 1));
- previousDay = previousDay.toString() + (( prviousDate.getDate() > 9 ) ? prviousDate.getDate() : "0" + prviousDate.getDate()) ;
-
- model.setValue("/root/send/data1/reffromdd", previousDay) ;
- //model.setValue("/root/send/data1/reffromdd", model.getValue("/root/hidden/currentDate")) ;
- model.setValue("/root/send/data1/reftodd", model.getValue("/root/hidden/currentDate")) ;
-
- model.refresh();
- ]]>
- </script>
- </model>
- <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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="769" pageheight="581" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:752px; height:580px; ">
- <group id="group2" style="left:0px; top:10px; width:752px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:752px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption32" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회기간 :</caption>
- <input id="ipt_reffromdd" ref="/root/send/data1/reffromdd" class="input_search" inputtype="date" style="left:108px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_reftodd" ref="/root/send/data1/reftodd" class="input_search" inputtype="date" style="left:226px; top:8px; width:100px; height:19px; "/>
- <caption id="caption1" style="left:211px; top:10px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:681px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 신체감정회신통계 조회
- if(submit("TRPMC03200")) {
- var patrefcnt = getNodesetCount("/root/hidden/rcv/list/grdrepltermstatslist");
- if (patrefcnt > 0) {
- copyNodeType("/root/main/list","/root/hidden/rcv/list","replace");
- } else {
- model.removeNodeset("/root/main/list");
- model.makeNode("/root/main/list");
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:666px; y1:5px; x2:666px; y2:27px; border-color:#ffcc99; border-style:solid; "/>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">회신기간통계</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:752px; y2:70px; "/>
- <button id="button3" class="btn2_letter4" style="left:688px; top:50px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_repltermstats.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- <group id="group3" style="left:0px; top:553px; width:752px; height:27px; ">
- <button id="button2" class="btn4_letter2" style="left:696px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:752px; y2:0px; "/>
- </group>
- <!-- 20100201 JHP 컬럼명변경 : 감정서작성일자 >> 결과작성일, 컬럼삭제(일단히든) : 법원보관금, 특이사항 -->
- <datagrid id="grd_repltermstats" nodeset="/root/main/list/grdrepltermstatslist" caption="진료과^담당의사^접수일자^진료일자^감정서작성일자^기간^법원보관금^특이사항" colsep="^" colwidth="204, 108, 108, 108, 108, 108, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:75px; width:752px; height:478px; ">
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="atdoctid" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="courtacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsltworkdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="term" style="text-align:right; "/>
- <col ref="clamamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="spcffact" visibility="hidden"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|