123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- <?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>근무 종합성적 환산 및 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <intncolgdutscorlist/>
- <resicolgdutscorlist/>
- <intnbasedatalist/>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <instcd/>
- <valueflag/>
- <supinfqurtyyflag/>
- <acptlastdd/>
- <totcnt/>
- </req>
- <intncolgdutscorlist/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_resi.attribute("top") = grd_intn.attribute("top");
- grd_resi.attribute("height") = grd_intn.attribute("height");
- btn_report.visible = "false";
- caption1.visible="false";
- ipt_acptlastdd.visible="false";
-
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- if (cur_mm < 3)
- {
- cur_yy--;
- }
-
- model.setValue("/root/send/req/yy", cur_yy);
- ipt_yy.refresh();
-
- ]]>
- </script>
- <submission id="TRRTS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/intncolgdutscorlist"/>
- <submission id="TRRTS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/resicolgdutscorlist"/>
- <submission id="TXRTS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
- <submission id="TXRTS00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
- <submission id="TRRTS00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/intnbasedatalist"/>
- <submission id="TXRTS00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/intncolgdutscorlist"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- </xhtml:head>
- <xhtml:body>
- <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>
- <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:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:90px; top:14px; width:55px; height:19px; "/>
- <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:866px; top:11px; width:75px; height:17px; ">병원 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:925px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_intn" nodeset="/root/main/intncolgdutscorlist" visibility="hidden" caption="사원번호^성명^군보^03월^04월^05월^06월^07월^08월^09월^10월^11월^12월^01월^02월^총점^평균^환산총점^환산평균^환산석차^환산등급^기존석차^기존등급^전반기병원^후반기병원^출신교^주민등록번호^전공의 등록번호^근무평가기간^전공의 수료일^년도^상하반기" colsep="^" colwidth="60, 80, 70, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 55, 55, 55, 55, 55, 55, 95, 95, 95, 100, 100, 88, 90, 100, 80, 80" dataheight="25" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:65; width:1193px; height:677; ">
- <col ref="emplno"/>
- <col ref="name" style="text-align:center; "/>
- <col ref="armyflag" style="text-align:center; "/>
- <col ref="pnt03" style="text-align:right; padding-right:5; "/>
- <col ref="pnt04" style="text-align:right; padding-right:5; "/>
- <col ref="pnt05" style="text-align:right; padding-right:5; "/>
- <col ref="pnt06" style="text-align:right; padding-right:5; "/>
- <col ref="pnt07" style="text-align:right; padding-right:5; "/>
- <col ref="pnt08" style="text-align:right; padding-right:5; "/>
- <col ref="pnt09" style="text-align:right; padding-right:5; "/>
- <col ref="pnt10" style="text-align:right; padding-right:5; "/>
- <col ref="pnt11" style="text-align:right; padding-right:5; "/>
- <col ref="pnt12" style="text-align:right; padding-right:5; "/>
- <col ref="pnt01" style="text-align:right; padding-right:5; "/>
- <col ref="pnt02" style="text-align:right; padding-right:5; "/>
- <col ref="pnt" format="#,###.0" mask="include" style="text-align:right; padding-right:5; "/>
- <col ref="valueavg" format="#,###.00" mask="include" style="text-align:right; padding-right:5; "/>
- <col editable="false" ref="exchtotpnt" type="input" format="#,###.000" mask="include" style="text-align:right; padding-right:5; "/>
- <col editable="false" ref="exchavg" type="input" format="#,###.000" mask="include" style="text-align:right; padding-right:5; "/>
- <col editable="false" ref="rank" type="input" style="text-align:center; "/>
- <col editable="false" ref="grde" type="input" style="text-align:center; "/>
- <col ref="existingrank" style="text-align:center; "/>
- <col ref="existinggrde" style="text-align:center; "/>
- <col ref="firstinstcd" style="text-align:center; "/>
- <col ref="secondinstcd" style="text-align:center; "/>
- <col ref="schoolnm" style="text-align:center; "/>
- <col ref="rregno" visibility="hidden"/>
- <col ref="welfprtno1" visibility="hidden"/>
- <col ref="valuterm" visibility="hidden"/>
- <col ref="trngdd" visibility="hidden"/>
- <col ref="educyy" visibility="hidden"/>
- <col ref="supinfqurtyyflag" visibility="hidden"/>
- </datagrid>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_yy", "rdo_valueflag") ) {
- return false;
- }
-
- if (model.getValue("/root/send/req/valueflag") == "11")
- {
- submit("TRRTS00801");
- }
- else if (model.getValue("/root/send/req/valueflag") == "12")
- {
- submit("TRRTS00802");
- }
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <datagrid id="grd_resi" nodeset="/root/main/resicolgdutscorlist" visibility="hidden" caption="사원번호^성명^군보^전공^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^총점^평균^등급" colsep="^" colwidth="60, 80, 70, 100, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 65, 65, 65" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:105px; width:1193px; height:275px; ">
- <col ref="emplno"/>
- <col ref="name" style="text-align:center; "/>
- <col ref="armyflag" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="pnt01" style="text-align:right; padding-right:5; "/>
- <col ref="pnt02" style="text-align:right; padding-right:5; "/>
- <col ref="pnt03" style="text-align:right; padding-right:5; "/>
- <col ref="pnt04" style="text-align:right; padding-right:5; "/>
- <col ref="pnt05" style="text-align:right; padding-right:5; "/>
- <col ref="pnt06" style="text-align:right; padding-right:5; "/>
- <col ref="pnt07" style="text-align:right; padding-right:5; "/>
- <col ref="pnt08" style="text-align:right; padding-right:5; "/>
- <col ref="pnt09" style="text-align:right; padding-right:5; "/>
- <col ref="pnt10" style="text-align:right; padding-right:5; "/>
- <col ref="pnt11" style="text-align:right; padding-right:5; "/>
- <col ref="pnt12" style="text-align:right; padding-right:5; "/>
- <col ref="pnt13" style="text-align:right; padding-right:5; "/>
- <col ref="pnt14" style="text-align:right; padding-right:5; "/>
- <col ref="pnt15" style="text-align:right; padding-right:5; "/>
- <col ref="pnt16" style="text-align:right; padding-right:5; "/>
- <col ref="pnt" style="text-align:right; padding-right:5; "/>
- <col ref="valueavg" style="text-align:right; padding-right:5; "/>
- <col ref="grde" style="text-align:center; "/>
- </datagrid>
- <select1 id="rdo_valueflag" ref="/root/send/req/valueflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:550px; top:15px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>인턴</label>
- <value>11</value>
- </item>
- <item>
- <label>레지던트</label>
- <value>12</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (rdo_valueflag.value == "11")
- {
- button1.visible = true;
- button2.visible = true;
- button3.visible = true;
- grd_intn.attribute("visibility") = "visible";
- grd_resi.attribute("visibility") = "hidden";
- btn_report.visible = "true";
- caption1.visible="true";
- ipt_acptlastdd.visible="true";
- }
- else if (rdo_valueflag.value == "12")
- {
- button1.visible = true;
- button2.visible = false;
- button3.visible = false;
- grd_intn.attribute("visibility") = "hidden";
- grd_resi.attribute("visibility") = "visible";
- btn_report.visible = "false";
- caption1.visible="false";
- ipt_acptlastdd.visible="false";
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_valueflag" class="search_name" style="left:436px; top:14px; width:120px; height:17px; ">근무평가구분 :</caption>
- <select1 id="rdo_supinfqurtyyflag" ref="/root/send/req/supinfqurtyyflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:289px; top:16px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>상반기</label>
- <value>1</value>
- </item>
- <item>
- <label>하반기</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (rdo_valueflag.value == "11")
- {
- grd_intn.attribute("visibility") = "visible";
- grd_resi.attribute("visibility") = "hidden";
- }
- else if (rdo_valueflag.value == "12")
- {
- grd_intn.attribute("visibility") = "hidden";
- grd_resi.attribute("visibility") = "visible";
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_supinfqurtyyflag" class="search_name" style="left:175px; top:15px; width:120px; height:17px; ">상하반기구분 :</caption>
- <button id="button1" class="btn2_letter4" visibility="hidden" style="left:1052px; top:44px; 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(rdo_valueflag.value == "11")
- {
- if (fileName != "") {;
- grd_intn.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;");
- }
- }
- else if(rdo_valueflag.value == "12")
- {
- if (fileName != "") {;
- grd_resi.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" visibility="hidden" style="left:1121px; top:44px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") {
- grd_intn.loadExcel(fileName, 1, false);
- grd_intn.deleteRow(1);
- grd_intn.refresh();
-
- grd_intn.colAttribute(grd_intn.colRef("exchtotpnt"), "editable") = true;
- grd_intn.colAttribute(grd_intn.colRef("exchavg"), "editable") = true;
- grd_intn.colAttribute(grd_intn.colRef("rank"), "editable") = true;
- grd_intn.colAttribute(grd_intn.colRef("grde"), "editable") = true;
-
- var sCnt = grd_intn.rows;
- grd_intn.clearStatus();
- for ( var i = 1; i < sCnt; i++) {
- grd_intn.rowStatus(i) = 2;
- grd_intn.valueMatrix(i, grd_intn.colRef("educyy")) = ipt_yy.value;
- grd_intn.valueMatrix(i, grd_intn.colRef("supinfqurtyyflag")) = rdo_supinfqurtyyflag.value;
- }
- btn_save.visible = true;
- }
- ]]>
- </script>
- </button>
- <input id="ipt_acptlastdd" ref="/root/send/req/acptlastdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:779px; top:14px; width:125px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:685px; top:14px; width:91px; height:17px; ">접수 기한 :</caption>
- <datagrid id="grd_basedata" nodeset="/root/main/intnbasedatalist" visibility="hidden" caption="사원번호^성명^주민번호^출신교^전반기병원^후반기병원^병원^군보^근무월^원점수^임상과" colsep="^" colwidth="60, 80, 96, 137, 129, 125, 113, 76, 58, 66, 83" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:150px; width:1164px; height:275px; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="rregno" style="text-align:center; "/>
- <col ref="schoolnm" style="text-align:center; "/>
- <col ref="firstinstnm" style="text-align:center; "/>
- <col ref="secondinstnm" style="text-align:center; "/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="armyflag" style="text-align:center; "/>
- <col ref="mm" style="text-align:center; "/>
- <col ref="pnt" style="text-align:center; "/>
- <col ref="ordclsdeptcd" style="text-align:center; "/>
- </datagrid>
- <button id="btn_save" class="btn5_letter2" visibility="hidden" style="left:912px; top:44px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_intn);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- if (messageBox("","Q002") != 6 ) {
- return false;
- }
-
- model.setValue("/root/send/intncolgdutscorlist",grd_intn.getUpdateData());
-
- misfSave("TXRTS00803");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" visibility="hidden" style="left:961px; top:44px; width:86px; height:19px; ">
- <caption>기초자료저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( !isRequiredControls("ipt_yy", "rdo_supinfqurtyyflag") ) {
- return false;
- }
-
- submit("TRRTS00803");
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {;
- grd_basedata.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;");
- }
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_choipsn" class="btn2_letter6" style="left:1100px; top:5px; width:86px; height:19px; ">
- <caption>종합성적 생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("종합성적을 생성합니다.\n\n", "Q004");
- if ( retMes != 6) {
- return;
- }
-
- if ( !isRequiredControls("ipt_yy", "rdo_valueflag") ) {
- return false;
- }
-
- if (model.getValue("/root/send/req/valueflag") == "11")
- {
- submit("TXRTS00801");
- }
- else if (model.getValue("/root/send/req/valueflag") == "12")
- {
- submit("TXRTS00802");
- }
- ]]>
- </script>
- </button>
- <button id="btn_report" class="btn2_letter9" style="left:975px; top:5px; width:119px; height:19px; ">
- <caption>(인턴) 근무 평가표</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt=0;
-
- if (model.getValue("/root/send/req/acptlastdd")==''){
- messageBox("접수 기한을" ,"C001");
- return;
- }
- for(var i = grd_intn.fixedRows ; i < grd_intn.rows ; i++ ){
- if (!(grd_intn.valueMatrix(i, grd_intn.colRef("rank")) == "" || grd_intn.valueMatrix(i, grd_intn.colRef("rank")) == null)){
- ++cnt;
- }
- }
- model.setValue("/root/send/req/totcnt", cnt);
- exeReportPreview( "RPRTS00800", "XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|