123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?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>
- <list>
- <msg>
- <emplno/>
- <name/>
- <deptnm/>
- <jobopsnm/>
- <issdg/>
- <issresn/>
- <eqmpos/>
- <issdd/>
- </msg>
- </list>
- </main>
- <send>
- <issdds/>
- <issdde/>
- <issno/>
- <issresn/>
- <emplno/>
- <name/>
- <offset/>
- <pagesize>200</pagesize>
- </send>
- <properties>
- <error>
- <msg/>
- </error>
- </properties>
- <temp/>
- <init>
- <eqmset>
- <itemlist>
- <eqmpos/>
- <issno/>
- </itemlist>
- </eqmset>
- <issresn>
- <itemlist>
- <cdid/>
- <cdnm/>
- </itemlist>
- </issresn>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRDRE00102");
- submit("TRDRE00103");
- // 당일날짜 세팅
- model.setValue("/root/send/issdds", getCurrentDate());
- model.setValue("/root/send/issdde", getCurrentDate());
- model.removeNodeset("/root/main/list/msg");
- addComboItem("cmb_eqmpos");
- addComboItem("cmb_issresn");
- model.refresh();
- ]]>
- </script>
- <submission id="TRDRE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/eqmset"/>
- <submission id="TRDRE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/issresn"/>
- <submission id="TRDRE00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" 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"/>
- <script type="javascript" src="../../../crd/miscardissueweb/js/crdcommon.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,1195;2,34;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">직원외 카드발급 이력</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:545px; top:10px; width:80px; height:17px; ">발급구분</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:10px; 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{
- model.removeNodeset("/root/main/list/msg");
- model.setValue("/root/send/offset", 0);
- submit("TRDRE00501");
- var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
- subMessage = intComma(subMessage);
- setSystemMessage(subMessage+"건이 조회 되었습니다.");
- }
- ]]>
- </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/issno" class="combo_search" appearance="minimal" style="left:415px; top:10px; width:115px; 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:320px; top:11px; width:90px; height:17px; vertical-align:middle; ">발급장비명</caption>
- <caption id="caption8" class="search_name" style="left:730px; top:10px; width:76px; height:17px; ">사원번호</caption>
- <input id="input2" ref="/root/send/emplno" class="input_search" maxlength="10" format="9999999999" style="left:810px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <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" format="yyyy-mm-dd" style="left:205px; top:10px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:925px; top:10px; width:76px; height:17px; ">성명</caption>
- <input id="input4" ref="/root/send/name" class="input_search" maxlength="10" style="left:980px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_no_b" style="left:190px; top:10px; width:15px; height:17px; ">~</caption>
- <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_issresn" ref="/root/send/issresn" class="combo_search" appearance="minimal" style="left:630px; top:10px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/issresn/itemlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:60px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 정보 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
- <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="사원번호^성명^부서^직위^발급차수^발급구분^발급장비명^발급일" colsep="^" colwidth="107, 136, 180, 142, 101, 150, 170, 150" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:80px; width:1194px; height:660px; ">
- <col explorerbar="sortshowmove" ref="emplno" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="name" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="deptnm" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="jobopsnm" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issdg" style="text-align:center; "/>
- <col explorerbar="sortshowmove" disabled="true" ref="issresn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/issresn/itemlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshowmove" disabled="true" ref="eqmpos" type="combo" style="left:698px; top:23px; width:386px; height:23px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/eqmset/itemlist">
- <label ref="eqmpos"/>
- <value ref="eqmpos"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshowmove" ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- if(grd_scrnlist.vscroll.attribute("max") == grd_scrnlist.vscroll.attribute("pos")) {
- // end of scroll
- model.setValue("/root/send/offset", grd_scrnlist.rows-grd_scrnlist.fixedRows); // grid의 header row는 제외
- submit("TRDRE00101");
- var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
- subMessage = intComma(subMessage);
- setSystemMessage(subMessage+"건이 조회 되었습니다.");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1125px; top:745px; 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>
- <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1130px; top:55px; 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+"]/emplno");
- 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>
- </group>
- </xhtml:body>
- </xhtml:html>
|