123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- <?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>
- <masterscholexp>
- <scholexplist>
- <emplno/>
- <emplnm/>
- <dutdeptnm/>
- <chldrnnm/>
- <payappmm/>
- <scholflagnm/>
- <schoolnm/>
- <schoolyy/>
- <scholexppayamt/>
- </scholexplist>
- </masterscholexp>
- <send>
- <payyy/>
- <qurtyy/>
- <payappmm_s/>
- <dutplceinst/>
- <payappmm_e/>
- <scholflag/>
- <selectinstnm/>
- <workgbn/>
- <schoolyy/>
- </send>
- <temp/>
- <init>
- <scholflaglist>
- <label>전체</label>
- <value/>
- <label>중학교</label>
- <value>02</value>
- <label>고등학교</label>
- <value>03</value>
- <label>대학교</label>
- <value>05</value>
- </scholflaglist>
- <workgbnlist>
- <label>전체</label>
- <value>01</value>
- <label>최고금액</label>
- <value>02</value>
- </workgbnlist>
- </init>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize()
- misfGridInit(grd_scholexplist);
- misfComboComCdList('Z0007', cmb_instcd_s,"Y");
- misfComboComCdList('R0165', ipt_schoolyy,"Y");
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- cmb_instcd_s.value=dutplceinstcd;
- var curDate = getCurrentDate().toDate();
- var curyymm=curDate.getDateFormat('YYYYMM')
- model.setValue("/root/main/send/payyy", curDate.getDateFormat('YYYY'));
- ipt_payappmm_s.value=ipt_payappmm.value;
- ipt_payappmm_e.value=ipt_payappmm.value;
- cmb_workgbn.value='01';
-
- ]]>
- </script>
- <submission id="TRRPA02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/send" resultref="/root/main/masterscholexp"/>
- </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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/masterscholexp/scholexplist");
- model.removeNodeset("/root/main/gvnoffcorddetl/gvnoffcorddetllist");
- model.resetInstanceNode("/root/main/send");
- model.resetInstanceNode("/root/main/gvnoffcorddetldata/gvnoffcorddetllist");
- model.refresh();
-
- }
- function fDeleteSelectedRows(grd,markonly) {
- var rowIdx;
- if (grd.selectedRows > 0) {
- var selectedRows = Array(grd.selectedRows);
- for(i=0;i<grd.selectedRows;i++) {
- selectedRows[i] = grd.selectedRow(i);
- }
- if (markonly != null && markonly == true) { // mark delete
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
- grd.deleterow(rowIdx,false);
- } else {
- grd.addStatus(rowIdx,"delete");
- }
- }
- } else {
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- grd.deleterow(rowIdx,false);
- }
- }
- }
- }
- function fPrint() {
-
- exeReportPreview("RPRPA02400", "XMLSTR", "/root/main/send");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1350;1,1349;" style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:800px; height:13px; ">학력별,분기별 최고금액</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:39px; "/>
- <button id="button19" class="btn2_letter4" style="left:1131px; top:48px; 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_scholexplist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <caption id="caption14" class="tit_2" style="left:5px; top:54px; width:335px; height:13px; ">학력별,분기별 최고금액(특수목적학교,해외유학제외)</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <datagrid id="grd_scholexplist" nodeset="/root/main/masterscholexp/scholexplist" caption="사원번호^사원명^근무기관^근무부서^자녀명^학력구분^학년^학과^학교명^금액" colsep="^" colwidth="118, 88, 128, 152, 110, 105, 47, 100, 181, 114" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1195px; height:660px; text-align:center; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="dutplceinst"/>
- <col ref="dutdeptnm"/>
- <col ref="chldrnnm" style="text-align:center; "/>
- <col ref="scholflagnm"/>
- <col ref="schoolyy" style="text-align:center; "/>
- <col ref="sbjnm"/>
- <col ref="schoolnm"/>
- <col ref="scholexppayamt" format="#,###" style="text-align:right; "/>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:17px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var payappmm=ipt_payappmm.value;
- if(payappmm =="") {
- messageBox("지급년월은","I003");
- return;
- }else if(cmb_qurtyy.value==""){
- messageBox("분기는","I003");
- return;
- }
- submit("TRRPA02401");
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd_s" ref="/root/main/send/dutplceinst" class="combo_default" appearance="minimal" style="left:100px; top:18; width:151px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:15px; top:19; width:85px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_qurtyy" ref="/root/main/send/qurtyy" class="combo_default" appearance="minimal" style="left:516px; top:18px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>1분기</label>
- <value>1</value>
- </item>
- <item>
- <label>2분기</label>
- <value>2</value>
- </item>
- <item>
- <label>3분기</label>
- <value>3</value>
- </item>
- <item>
- <label>4분기</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var qurtyy=cmb_qurtyy.value;
- if(qurtyy=='1'){
- ipt_payappmm_s.value=ipt_payappmm.value+"01";
- ipt_payappmm_e.value=ipt_payappmm.value+"03";
- }else if(qurtyy=='2'){
- ipt_payappmm_s.value=ipt_payappmm.value+"04";
- ipt_payappmm_e.value=ipt_payappmm.value+"06";
- }else if(qurtyy=='3'){
- ipt_payappmm_s.value=ipt_payappmm.value+"07";
- ipt_payappmm_e.value=ipt_payappmm.value+"09";
- }else if(qurtyy=='4'){
- ipt_payappmm_s.value=ipt_payappmm.value+"10";
- ipt_payappmm_e.value=ipt_payappmm.value+"12";
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:267px; top:19px; width:93px; height:17px; ">지급년도 :</caption>
- <caption id="caption3" class="search_name" style="left:447px; top:19px; width:86px; height:17px; ">분 기 :</caption>
- <input id="ipt_payappmm" ref="/root/main/send/payyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:362px; top:18px; width:68px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_payappmm_s.value=ipt_payappmm.value;
- ipt_payappmm_e.value=ipt_payappmm.value;
- var qurtyy=cmb_qurtyy.value;
- if(qurtyy=='1'){
- ipt_payappmm_s.value=ipt_payappmm.value+"01";
- ipt_payappmm_e.value=ipt_payappmm.value+"03";
- }else if(qurtyy=='2'){
- ipt_payappmm_s.value=ipt_payappmm.value+"04";
- ipt_payappmm_e.value=ipt_payappmm.value+"06";
- }else if(qurtyy=='3'){
- ipt_payappmm_s.value=ipt_payappmm.value+"07";
- ipt_payappmm_e.value=ipt_payappmm.value+"09";
- }else if(qurtyy=='4'){
- ipt_payappmm_s.value=ipt_payappmm.value+"10";
- ipt_payappmm_e.value=ipt_payappmm.value+"12";
- }
-
-
- var instcd = cmb_instcd_s.value;
- if( getStringLength(ipt_payappmm.value) == "4" ) {
- model.removeNodeset(cmb_instcd_s.attribute("ref"));
- model.makeNode("/root/main/send/dutplceinst");
- misfComboInstCdListMulti("cmb_instcd_s",ipt_payappmm.value,"","Y");
- cmb_instcd_s.value = instcd;
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_payappmm_s" ref="/root/main/send/payappmm_s" visibility="hidden" style="left:450px; top:40px; width:86px; height:19px; "/>
- <input id="ipt_payappmm_e" ref="/root/main/send/payappmm_e" visibility="hidden" style="left:360px; top:40px; width:86px; height:19px; "/>
- <select1 id="cmb_scholflag" ref="/root/main/send/scholflag" class="combo_default" appearance="minimal" style="left:675px; top:18px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init/scholflaglist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:612px; top:19px; width:86px; height:17px; ">학력 :</caption>
- <caption id="caption5" class="search_name" style="left:917px; top:20px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="cmb_workgbn" ref="/root/main/send/workgbn" class="combo_default" appearance="minimal" style="left:1005px; top:18px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init/workgbnlist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:785px; top:20px; width:60px; height:17px; ">학년 :</caption>
- <select1 id="ipt_schoolyy" ref="/root/main/send/schoolyy" class="combo_default" appearance="minimal" style="left:845px; top:18px; width:55px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button9" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="button10" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_scholexplist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRPA02400", "XMLSTR", "", "", "", "true", "", "", "", "");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter5" style="left:1033px; top:3px; width:92px; height:22px; ">
- <caption>내역서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|