123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- <?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>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <mm/>
- <instcd/>
- <valueflag/>
- </req>
- <exe>
- <valueflag/>
- <valueyy/>
- <dutvaluemm/>
- </exe>
- </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");
-
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
- misfComboComCdList("R0009", cmb_mm);
-
- model.makeValue("/root/temp/cmbmm_nodeset", cmb_mm.choices.itemset.attribute("nodeset"));
-
- var today = getCurrentDate();
- var cur_yy = today.substring(0, 4);
- var cur_mm = today.substring(4, 6);
-
- model.setValue("/root/send/req/yy", cur_yy);
- model.setValue("/root/send/req/mm", cur_mm.getLeftPad(2, "0"));
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRRTS00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/intn"/>
- <submission id="TRRTS00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/resi"/>
- <submission id="TXRTS00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/exe"/>
- </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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fDefaultInstSetting(control)
- {
- var sDutplceInstcd = getUserInfo("dutplceinstcd");
- var sInstcd = control.value;
-
- if(checkAuth("P")){}
- else{
- if(sDutplceInstcd != sInstcd){
- messageBox(control.label + "을(를) 조회 할 수 " , "I004");
- control.value = sDutplceInstcd;
- return;
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </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="cap_instcd" class="search_name" style="left:560px; top:15px; width:100px; height:17px; ">근무병원 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" appearance="minimal" style="left:649px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDefaultInstSetting(cmb_instcd);
- ]]>
- </script>
- </select1>
- <datagrid id="grd_intn" nodeset="/root/main/intn/mmintndutscorlist" visibility="hidden" caption="사원번호^성명^확정^기본소양^기본소양^기본소양^기본술기^기본술기^기본술기^학구적태도^학구적태도^학구적태도^책임관념^책임관념^책임관념^합계^합계|사원번호^성명^확정^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자"" colsep="^" colwidth="77, 80, 40, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 80" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:45px; width:1193px; height:697px; ">
- <col ref="emplno"/>
- <col ref="name" style="text-align:center; "/>
- <col ref="cfrmyn" style="text-align:center; "/>
- <col ref="itemflag01" style="text-align:center; "/>
- <col ref="itemgrde01" style="text-align:center; "/>
- <col ref="valupsnnm01" style="text-align:center; "/>
- <col ref="itemflag02" style="text-align:center; "/>
- <col ref="itemgrde02" style="text-align:center; "/>
- <col ref="valupsnnm02" style="text-align:center; "/>
- <col ref="itemflag03" style="text-align:center; "/>
- <col ref="itemgred03" style="text-align:center; "/>
- <col ref="valupsnnm03" style="text-align:center; "/>
- <col ref="itemflag04" style="text-align:center; "/>
- <col ref="itemgred04" style="text-align:center; "/>
- <col ref="valupsnnm04" style="text-align:center; "/>
- <col ref="itemflagtot" style="text-align:center; "/>
- <col ref="itemgredtot" style="text-align:center; "/>
- </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", "ipt_mm", "rdo_valueflag", "cmb_instcd") ) {
- return false;
- }
-
- if (model.getValue("/root/send/req/valueflag") == "12")
- {
- var mm = model.getValue("/root/send/req/mm");
- if (!(mm == "05" || mm == "08" || mm == "11" || mm == "02"))
- {
- messageBox("레지던트 근무평가월은 [ 5 , 8 , 11 , 2 ] 월 입니다.", "I", "");
- return;
- }
- }
-
- if (model.getValue("/root/send/req/valueflag") == "11")
- {
- submit("TRRTS00901");
- }
- else if (model.getValue("/root/send/req/valueflag") == "12")
- {
- submit("TRRTS00902");
- }
- ]]>
- </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/resi/mmresidutscorlist" visibility="hidden" caption="사원번호^성명^전공^년차^확정^인품^인품^인품^근무태도^근무태도^근무태도^책임관념^책임관념^책임관념^학구적태도^학구적태도^학구적태도^전공과목적성도^전공과목적성도^전공과목적성도^합계^합계|사원번호^성명^전공^년차^확정^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자^점수^등급^평가자" colsep="^" colwidth="60, 70, 90, 20, 20, 50, 50, 55, 50, 50, 55, 50, 50, 55, 50, 50, 55, 50, 50, 55, 55, 55" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:120px; width:1193px; height:275px; ">
- <col ref="emplno"/>
- <col ref="name" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; word-wrap:none; "/>
- <col ref="anual" style="text-align:center; "/>
- <col ref="cfrmyn" style="text-align:center; "/>
- <col ref="itemflag01" style="text-align:center; "/>
- <col ref="itemgrde01" style="text-align:center; "/>
- <col ref="valupsnnm01" style="text-align:center; "/>
- <col ref="itemflag02" style="text-align:center; "/>
- <col ref="itemgrde02" style="text-align:center; "/>
- <col ref="valupsnnm02" style="text-align:center; "/>
- <col ref="itemflag03" style="text-align:center; "/>
- <col ref="itemgred03" style="text-align:center; "/>
- <col ref="valupsnnm03" style="text-align:center; "/>
- <col ref="itemflag04" style="text-align:center; "/>
- <col ref="itemgred04" style="text-align:center; "/>
- <col ref="valupsnnm04" style="text-align:center; "/>
- <col ref="itemflag05" style="text-align:center; "/>
- <col ref="itemgred05" style="text-align:center; "/>
- <col ref="valupsnnm05" style="text-align:center; "/>
- <col ref="itemflagtot" style="text-align:center; "/>
- <col ref="itemgredtot" style="text-align:center; "/>
- </datagrid>
- <select1 id="rdo_valueflag" ref="/root/send/req/valueflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:419px; top:16px; 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")
- {
- grd_intn.attribute("visibility") = "visible";
- grd_resi.attribute("visibility") = "hidden";
-
- if (model.getValue("/root/temp/selvalulistflag") != "cdlist11")
- {
- cmb_mm.choices.itemset.attribute("nodeset") = model.getValue("/root/temp/cmbmm_nodeset");
- }
- }
- else if (rdo_valueflag.value == "12")
- {
- grd_intn.attribute("visibility") = "hidden";
- grd_resi.attribute("visibility") = "visible";
-
- if (model.getValue("/root/temp/selvalulistflag") != "cdlist12")
- {
- cmb_mm.choices.itemset.attribute("nodeset") = model.getValue("/root/temp/cmbmm_nodeset") + "[cdid='05' or cdid='08' or cdid='11' or cdid='02']";
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_valueflag" class="search_name" style="left:305px; top:15px; width:120px; height:17px; ">근무평가구분 :</caption>
- <caption id="cap_mm" class="search_name" style="left:160px; top:15px; width:75px; height:17px; ">근무월 :</caption>
- <select1 id="cmb_mm" ref="/root/send/req/mm" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:232px; top:14px; 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="btn_choipsn" class="btn2_letter7" style="left:1090px; top:5px; width:97px; height:19px; ">
- <caption>근무성적 확정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("근무성적을 확정 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- model.setValue("/root/send/exe/valueflag", model.getValue("/root/send/req/valueflag"));
- model.setValue("/root/send/exe/valueyy", model.getValue("/root/send/req/yy"));
- model.setValue("/root/send/exe/dutvaluemm", model.getValue("/root/send/req/mm"));
-
- if (submit("TXRTS00901"))
- {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" visibility="visible" style="left:1020px; top:5px; 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>
- </group>
- </xhtml:body>
- </xhtml:html>
|