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>
- <intvpracpntsumlist>
- <examno/>
- <korname/>
- <absnexamyn/>
- <hopeflag1/>
- <hopeflag2/>
- <intvpnt/>
- <pracpnt/>
- <intvpracsum/>
- <apntinfono/>
- <rregno/>
- <scrngflag/>
- </intvpracpntsumlist>
- </main>
- <send>
- <apntyy/>
- <supinfqurtyyflag>1</supinfqurtyyflag>
- <fstlattrmflag>1</fstlattrmflag>
- <trngflag>I</trngflag>
- <dentyn>1</dentyn>
- <scrngflag>2</scrngflag>
- <intvpracpntsumlist/>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사용자 권한
- fCheckAuth();
-
-
- // 2007-11-16 년도 디폴트설정 acwon수정
- /*//년도 세팅
- var curDate = getCurrentDate();
- var curMM = curDate.toDate().getDateFormat("MM");
- var curYY = curDate.toDate().getDateFormat("YYYY");
- //var addYY =getCurrentDate().toDate().getAddDate(1,'Y').getDateFormat("YYYY");
-
-
- if( curMM > 10 ) { // 10월 이후에 조회할 경우는 다음해 채용으로 생각함.
- curYY = getCurrentDate().toDate().getAddDate(1,'Y').getDateFormat("YYYY");
- //alert(curYY);
- }
-
- model.setValue("/root/send/apntyy", curYY);*/
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- if (cur_mm >= 11)
- cur_yy++;
-
- model.setValue("/root/send/apntyy", cur_yy);
- ipt_apntyy.refresh();
- //end
-
- //그리드 초기화
- misfGridInit(grd_intvpracpntlist);
-
- //데이타 셋
- misfMsterDetailSet(grd_intvpracpntlist,null, "TRRTR00701" ,"Y");
-
- misfComboComCdListMulti("R0237,R0238,R0151,R0239,R0240", "cmb_supinfqurtyyflag,cmb_fstlattrmflag,cmb_trngflag,cmb_dentyn,cmb_scrngflag");
-
- model.refresh();
-
- //그리드의 타이틀을 누르면 sort되는 기능
- grd_intvpracpntlist.explorerbar = "sort";
-
-
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
-
- function fIntvPranPntListSave() {
-
- var updtdata = getGridUpdateData(grd_intvpracpntlist);
- if (updtdata == "")
- {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- // null값 체크하는 부분이 없음.
- //checkKeyColumn( "grd_intvpracpntlist" );
-
- model.setValue("/root/send/intvpracpntsumlist",grd_intvpracpntlist.getUpdateData());
-
- if(messageBox("","Q002") != 6 ) {
- return false;
- }
-
- misfSave("TXRTR00701");
- misfMsterDetailRetrieve();
-
- }
-
-
- ]]>
- </script>
- <submission id="TRRTR00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/intv_pracpntlist"/>
- <bind id="bind_input1" ref="/root/main/intvpracpntsumlist/intvpracsum" calculate="../intvpnt + ../pracpnt"/>
- <submission id="TXRTR00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/intvpracpntsumlist"/>
- <bind id="bind_input2" ref="/root/main/intvpracpntsumlist/intvpnt" readonly="../absnexamyn = 'Y'"/>
- <bind id="bind_input3" ref="/root/main/intvpracpntsumlist/pracpnt" readonly="../absnexamyn = 'Y'"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body 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:0px; width:800px; height:14px; ">면접 실기 점수 등록</caption>
- </group>
- <caption id="caption10" style="left:725px; top:705px; width:350px; height:25px; vertical-align:middle; ">상태 : 가입, 탈퇴, 보임</caption>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="group4" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1125px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //리스트 조회
- misfMsterDetailRetrieve();
- //결시체크된 사항에 대해서 색깔 변화
- setRowStyle("grd_intvpracpntlist", "4", "Y", "absnexamyn");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:164px; top:10px; width:112px; height:17px; ">상하반기구분 :</caption>
- <caption id="caption2" class="search_name" style="left:895px; top:10px; width:94px; height:17px; ">전형구분 :</caption>
- <select1 id="cmb_supinfqurtyyflag" ref="/root/send/supinfqurtyyflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:277px; top:9px; width:85px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_trngflag" ref="/root/send/trngflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:653px; top:9px; width:85px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:367px; top:10px; width:99px; height:17px; ">전후기구분 :</caption>
- <select1 id="cmb_fstlattrmflag" ref="/root/send/fstlattrmflag" class="combo_s_essential" navindex="2" appearance="minimal" style="left:468px; top:9px; width:78px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">년 도 :</caption>
- <input id="ipt_apntyy" ref="/root/send/apntyy" class="input_s_essential" style="left:98px; top:9px; width:60px; height:19px; "/>
- <caption id="cap_dentyn" class="search_name" style="left:746px; top:10px; width:96px; height:17px; ">치과여부 :</caption>
- <select1 id="cmb_dentyn" ref="/root/send/dentyn" class="combo_s_essential" navindex="5" appearance="minimal" style="left:835px; top:9px; width:55px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_scrngflag" class="search_name" style="left:553px; top:9px; width:99px; height:17px; ">전공의구분 :</caption>
- <select1 id="cmb_scrngflag" ref="/root/send/scrngflag" class="combo_s_essential" navindex="6" appearance="minimal" style="left:983px; top:8px; width:107px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_intvpracpntlist" nodeset="/root/main/intvpracpntsumlist" caption="수험번호^성명^결시^희망병원^희망과^면접점수^실기점수^총점^채용정보번호^주민등록번호^전형구분" colsep="^" colwidth="155, 134, 43, 173, 227, 152, 137, 136, 100, 100, 64" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:74px; width:1195px; height:660px; ">
- <col ref="examno"/>
- <col ref="korname"/>
- <col checkvalue="Y,N" ref="absnexamyn" type="checkbox"/>
- <col ref="hopeflag1"/>
- <col ref="hopeflag2"/>
- <col imemode="disabled" ref="intvpnt" type="input" format="###.##"/>
- <col imemode="disabled" ref="pracpnt" type="input" format="###.##"/>
- <col ref="intvpracsum" format="###.##"/>
- <col ref="apntinfono" visibility="hidden" style="left:1178px; top:23px; width:100px; height:23px; "/>
- <col ref="rregno" visibility="hidden"/>
- <col ref="scrngflag" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- //엑터를 치면 다음 input컬럼으로 이동함.
- if( grd_intvpracpntlist.colType(grd_intvpracpntlist.col) == "input" ) {
- if( grd_intvpracpntlist.col == 6 && event.keyCode != 9) {
- grd_intvpracpntlist.col = 7;
- }
- else if ( grd_intvpracpntlist.col == 7 && event.keyCode != 9) {
- var rows = grd_intvpracpntlist.row;
- grd_intvpracpntlist.row = rows+1;
- grd_intvpracpntlist.col = 6;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //결시 체크할 경우 면접점수 와 실기점수를 0으로 세팅하고 수정 불가능.
-
- if(model.getValue("/root/main/intvpracpntsumlist["+grd_intvpracpntlist.row+"]/absnexamyn") == 'Y') {
- model.setValue("/root/main/intvpracpntsumlist["+grd_intvpracpntlist.row+"]/intvpnt", 0.0);
- model.setValue("/root/main/intvpracpntsumlist["+grd_intvpracpntlist.row+"]/pracpnt",0.0);
- setRowStyle("grd_intvpracpntlist", "4", "Y", "absnexamyn");
- } else {
- //바탕색을 흰색을 변환
- grd_intvpracpntlist.rowstyle(grd_intvpracpntlist.row,"data", "background-color") ="#FFFFFF";
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <caption id="caption9" class="tit_2" style="left:10px; top:54px; width:235px; height:13px; ">지원자 리스트</caption>
- <button id="button4" class="btn2_letter4" style="left:1056px; top:49px; 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_intvpracpntlist.saveExcel(fileName, "", false, true);
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:1123px; top:49px; width:64px; height:19px; vertical-align:bottom; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 안진수 수정 엑셀입력시 첫 번째 row 삭제
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") {
- grd_intvpracpntlist.loadExcel(fileName, 1, false);
- grd_intvpracpntlist.deleteRow(1);
- grd_intvpracpntlist.refresh();
-
- var sCnt = grd_intvpracpntlist.rows;
- grd_intvpracpntlist.clearStatus();
- for ( var i = 1; i < sCnt; i++) {
- grd_intvpracpntlist.rowStatus(i) = 2;
- }
- }
-
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1131px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fIntvPranPntListSave();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|