123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <?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>
- <list>
- <grid>
- <emplno/>
- <workym/>
- <seqno/>
- <fromym/>
- <toym/>
- <stdemplno/>
- <appinstnm/>
- <stdsubjnm/>
- <payamt/>
- <paytotamt/>
- <payappyn/>
- <insurappyn/>
- <payappinst/>
- <rregno/>
- <stdrregno/>
- <hospnm/>
- <stdhospnm/>
- <deptnm/>
- <duthospnm/>
- <dutdeptnm/>
- <usernm/>
- </grid>
- <item>
- <notiyy/>
- </item>
- </list>
- <srch>
- <usernm/>
- <userid/>
- <stdusernm/>
- <stdemplno/>
- <startmonth/>
- <endmonth/>
- </srch>
- </main>
- <send>
- <data/>
- </send>
- <init>
- <grupjob>
- <item>
- <cdid/>
- <cdnm/>
- </item>
- </grupjob>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- input_startdd.value = new Date().getDateFormat();
- input_enddd.value = new Date().getDateFormat().substring(0,6) + new Date().getMonthDay();
- fSearch();
-
- submit("TRICE00106");
- ]]>
- </script>
- <submission id="TRICU01605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/list"/>
- <submission id="TRICE00106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/grupjob"/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
- model.copyNode("/root/send/data", "/root/main/srch");
- submit("TRICU01605", false);
- model.refresh();
- }
-
- function trim(data){
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <datagrid id="totalgrid" nodeset="/root/main/list/grid" caption="작업월^사원번호^성명^주민번호^소속기관^부서명^근무기관명^근무부서명^직군^계약기간^계약기간^책임연구자^책임연구자^책임연구자^과제번호^연구과제명^총계약금액^월급여액^재정지원기관^입사일자^퇴직일자^휴대전화|작업월^사원번호^성명^주민번호^소속기관^부서명^근무기관명^근무부서명^직군^시작일^종료일^소속기관^사번^성명^과제번호^연구과제명^총계약금액^월급여액^재정지원기관^입사일자^퇴직일자^휴대전화" colsep="^" colwidth="53, 60, 56, 60, 102, 90, 102, 90, 67, 55, 55, 99, 60, 64, 100, 100, 70, 70, 100, 70, 70, 75, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:90px; width:1175px; height:631px; ">
- <col ref="workym" format="9999-99" style="left:20px; top:63px; width:40px; height:23px; text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="rregno" format="999999-9" style="text-align:center; "/>
- <col ref="hospnm"/>
- <col ref="deptnm"/>
- <col ref="duthospnm"/>
- <col ref="dutdeptnm"/>
- <col ref="grupjoblncd" type="combo" disabled="true" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/grupjob/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fromym" format="9999-99" style="text-align:center; "/>
- <col ref="toym" format="9999-99" style="text-align:center; "/>
- <col ref="stdhospnm"/>
- <col ref="stdemplno" style="text-align:center; "/>
- <col ref="stdusernm" style="text-align:center; "/>
- <col/>
- <col ref="stdsubjnm"/>
- <col ref="paytotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payappinst"/>
- <col ref="entcodd" format="9999-99-99"/>
- <col ref="usertodd" format="9999-99-99"/>
- <col ref="mpphonno"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="enddd" visibility="hidden"/>
- <col ref="userseqno" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- //스크롤 조작시 온클릭 이벤트 안타도록
- if( isDataCell() ){
- if ( datagrid3.col == datagrid3.colRef("usernm") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("rrgstno1") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("rrgstno2") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("sosok") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("workplceaddr") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("cmpytelno") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("email") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("depor") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("bankcd") ) {
- datagrid3.editCell();
- //return;
- }
- if ( datagrid3.col == datagrid3.colRef("acntno") ) {
- datagrid3.editCell();
- //return;
- }
- model.setValue("/root/send/data1/subjid", model.getValue("/root/main/list/grid1[" + datagrid3.row + "]/subjid"));
- model.setValue("/root/send/data1/instcd", model.getValue("/root/main/list/grid1[" + datagrid3.row + "]/instcd"));
- model.setValue("/root/send/data1/userid", model.getValue("/root/main/list/grid1[" + datagrid3.row + "]/userid"));
- model.setValue("/root/send/enddd", model.getValue("/root/main/list/grid1[" + datagrid3.row + "]/enddd"));
-
- readfunc();
-
- if (datagrid3.rows > 0){
- button1.disabled = false;
- button2.disabled = false;
- btn_save.disabled = false;
- }
-
- }
-
- for(var j=1; j<datagrid2.rows; j++){
- for(var i=1; i<datagrid1.rows; i++){
- if ( model.getValue("/root/main/list2/grid2["+ i +"]/userid")== model.getValue("/root/main/list3/grid3["+ j +"]/userid") &&
- model.getValue("/root/main/list2/grid2["+ i +"]/paydd") == model.getValue("/root/main/list3/grid3["+ j +"]/paydd")) {
- model.setValue("/root/main/list2/grid2["+ i +"]/chk","Y");
- }
- }
- }
-
- model.refresh();
- */
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_3" style="x1:5px; y1:723px; x2:1180px; y2:723px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:20px; width:1177px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button2" class="btn1_letter2" style="left:1105px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">계약연구원 급여 현황 조회</caption>
- <caption id="caption74" class="search_name" style="left:20px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업월 :</caption>
- <caption id="caption1" class="search_name" style="left:340px; top:30px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사원번호 :</caption>
- <caption id="caption2" class="search_name" style="left:657px; top:30px; width:130px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">책임연구원 사번 :</caption>
- <input id="input_startdd" ref="/root/main/srch/startmonth" class="input_search" inputtype="date" format="yyyy-mm" style="left:95px; top:30px; width:100px; height:19px; "/>
- <input id="input_enddd" ref="/root/main/srch/endmonth" class="input_search" inputtype="date" format="yyyy-mm" style="left:215px; top:30px; width:100px; height:19px; "/>
- <button id="button1" class="icon_search" style="left:514px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.load("../../../crc/comsubjweb/xrw/SPIMR00210_계약연구원관련조회.xrw","modal","code", "left:300px; top:300px; width:600px; height:540px;min:hidden;max:hidden;resize:false;");
- model.setValue("/root/main/srch/usernm", getParameter("usernm"));
- model.setValue("/root/main/srch/userid", getParameter("userid"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input20" ref="/root/main/srch/userid" class="input_search" style="left:430px; top:30px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fSearch();
- }
- ]]>
- </script>
- </input>
- <caption id="caption142" class="search_n_b" style="left:199px; top:34px; width:12px; height:13px; font-weight:bolder; ">~</caption>
- <input id="input1" ref="/root/main/srch/usernm" class="input_search" style="left:533px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fSearch();
- }
- ]]>
- </script>
- </input>
- <button id="button3" class="icon_search" style="left:873px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.load("../../../crc/comsubjweb/xrw/SPIMR00210_계약연구원관련조회.xrw","modal","code", "left:300px; top:300px; width:600px; height:540px;min:hidden;max:hidden;resize:false;");
- model.setValue("/root/main/srch/stdemplno", getParameter("userid"));
- model.setValue("/root/main/srch/stdusernm", getParameter("usernm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/srch/stdemplno" class="input_search" style="left:789px; top:30px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fSearch();
- }
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/main/srch/stdusernm" class="input_search" style="left:892px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fSearch();
- }
- ]]>
- </script>
- </input>
- <button id="btn_excel" class="btn2_letter3" style="left:1107px; top:69px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var getDate = new Date().getDateFormat();
- var fileName = window.fileDialog("save",",",false,"계약연구원급여현황_" + getDate,"xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if(fileName !=""){
- totalgrid.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|