123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <msg>
- <eqmpos/>
- <isstotal/>
- <issddmin/>
- <issddmax/>
- </msg>
- </list>
- </main>
- <send>
- <issdds/>
- <issdde/>
- <eqmpos/>
- <issddselect/>
- </send>
- <properties>
- <error>
- <msg/>
- </error>
- </properties>
- <temp>
- </temp>
- <init>
- <eqmset>
- <itemlist>
- <eqmpos/>
- <issno/>
- </itemlist>
- </eqmset>
- </init>
- <total>
- <issdgtotal/>
- </total>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/total/issdgtotal", 0);
- model.setValue("/root/send/issdds", getCurrentDate());
- model.setValue("/root/send/issdde", getCurrentDate());
- model.removenode("/root/main/list/msg");
- submit("TRDRP00102");
- addComboItem( "cmb_eqmpos");
- model.refresh();
- ]]>
- </script>
- <submission id="TRDRP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/eqmset"/>
- <submission id="TRDRP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,80;1,11753;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:3px; width:1175px; height:717px; ">
- <group id="group2" style="left:0px; top:5px; width:1173px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1173px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1105px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var issddsDate = input11.value;
- var issddeDate = input12.value;
- if(issddsDate>issddeDate){
- messageBox("조회 하고자 하는 발급일자를 제대로", "C001");
- }else if(issddsDate.length<8 | issddeDate.length<8){
- messageBox("조회하고자 하는 발급 일자를 제대로", "C001");
- }else{
- submit("TRDRP00401");
- var vRow = grd_scrnlist.rows;
- var issdgtotal=0;
- for(var i = 1; i<vRow; i++){
- if((model.getValue("/root/main/list/msg["+i+"]/isstotal"))==""){
- issdgtotal +=0;
- }else{
- issdgtotal +=parseInt(model.getValue("/root/main/list/msg["+i+"]/isstotal"));
- }
- }
- model.setValue("/root/total/issdgtotal", issdgtotal);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:5px; top:11px; width:84px; height:17px; ">발급기간</caption>
- <select1 id="cmb_eqmpos" ref="/root/send/eqmpos" class="combo_search" appearance="minimal" style="left:420px; top:10px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/eqmset/itemlist">
- <label ref="eqmpos"/>
- <value ref="issno"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:325px; top:11px; width:100px; height:17px; vertical-align:middle; ">발급장비명</caption>
- <input id="input11" ref="/root/send/issdds" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:10px; width:100px; height:19px; "/>
- <input id="input12" ref="/root/send/issdde" class="input_s_essential" editable="true" inputtype="date" style="left:210px; top:10px; width:100px; height:19px; "/>
- <line id="line2" class="line_4" style="x1:1090px; y1:7px; x2:1090px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="search_no_b" style="left:195px; top:10px; width:15px; height:17px; ">~</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 통계 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1173px; y2:70px; "/>
- <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="발급장비명^발급건수^발급시작일^발급최종일" colsep="^" colwidth="142, 156, 117, 100" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:75px; width:1173px; height:612px; ">
- <col explorerbar="sortshowmove" disabled="true" ref="eqmpos" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/eqmset/itemlist">
- <label ref="eqmpos"/>
- <value ref="eqmpos"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshowmove" ref="isstotal" format="#,###" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issddmin" format="yyyy-mm-dd" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issddmax" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1106px; top:690px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.reset();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_issddselect" ref="/root/send/issddselect" class="combo_search" appearance="minimal" style="left:655px; top:15px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>- 선택 -</label>
- <value/>
- </item>
- <item>
- <label>일</label>
- <value>D</value>
- </item>
- <item>
- <label>주</label>
- <value>W</value>
- </item>
- <item>
- <label>월</label>
- <value>M</value>
- </item>
- <item>
- <label>년</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var issddSelect = model.getValue("/root/send/issddselect");
- var date2 = (model.getValue("/root/send/issdde"));
- var issddedate = date2.toDate();
-
- if(issddSelect =='D'){
- model.setValue("/root/send/issdds" , (issddedate.getAddDate(0,"D")).getDateFormat());
- }else if(issddSelect =='W'){
- model.setValue("/root/send/issdds" , (issddedate.getAddDate(-6,"D")).getDateFormat());
- }else if(issddSelect =='M'){
- model.setValue("/root/send/issdds" , (issddedate.getAddDate(-1,"M")).getDateFormat());
- }else if(issddSelect =='Y'){
- model.setValue("/root/send/issdds" , (issddedate.getAddDate(-1,"Y")).getDateFormat());
- }else{
- model.setValue("/root/send/issdds" ,"20060101");
- model.setValue("/root/send/issdde", getCurrentDate());
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:570px; top:15px; width:76px; height:17px; vertical-align:middle; ">기간선택</caption>
- <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1050px; top:48px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dataYn = model.getValue("/root/main/list/msg["+1+"]/eqmpos");
- if(dataYn == ""){
- messageBox("조회된 ", "E013");
- return;
- }else{
- var fileName = window.fileDialog("save",",",false,"보고서-진료카드발급통계","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
- }
- if(fileName !=""){
- grd_scrnlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <output id="input1" ref="/root/total/issdgtotal" class="output_fix" format="#,###" style="left:95px; top:696px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption7" class="output_text" style="left:155px; top:699px; width:30px; height:13px; ">건</caption>
- <button id="btn_print" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:1118px; top:47px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dataYn = model.getValue("/root/main/list/msg["+1+"]/eqmpos");
- if(dataYn == ""){
- messageBox("조회된 ", "E013");
- return;
- }else{
- exeReportPreview("RPDRP00401", "XMLSTR" , "/root/main/list/msg");
- }
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:0px; top:696px; width:94px; height:17px; vertical-align:middle; ">발급 총건수</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|