123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- <?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>
- <dutrept/>
- <reptinfo/>
- <savelist/>
- </main>
- <hidden/>
- <temp>
- <title>
- <instnm/>
- <deptnm/>
- </title>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <mm/>
- <valueflag/>
- <valupsnidnm/>
- <emplno/>
- <instcd/>
- <deptcd/>
- <valueitemflagcd/>
- </req>
- <reqlist>
- <valueflag/>
- <valueyy/>
- <dutvaluemm/>
- <valupsnidnm/>
- <checkflag/>
- <instcd/>
- <deptcd/>
- </reqlist>
- <check/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fFormReady();
-
- // 실무자 모드 설정
- if(checkAuth("X") && checkAuth("P"))
- {
- model.setValue("/root/send/check", "실무자 모드입니다. ※인턴일 경우 분과대신 본과를 선택해서 조회하십시오.(ex: 순환기내과->내과)");
- model.setValue("/root/send/reqlist/checkflag", "X");
-
- grd_dutemplist.colHidden(grd_dutemplist.colRef("recyn")) = true;
- cap_valupsnidnm.visible = false;
- ipt_valupsnidnm.visible = false;
- btn_helppsn.visible = false;
- } else {
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm1")) = true;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm2")) = true;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm3")) = true;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm4")) = true;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm5")) = true;
- }
-
- var sUserId = getUserInfo("userid");
- ipt_valupsnidnm.value = sUserId;
- ipt_valupsnidnm.disabled = true;
- ipt_valupsnidnm.refresh();
-
- //그리드의 타이틀을 누르면 sort되는 기능
- grd_dutemplist.explorerbar = "sort";
-
- ]]>
- </script>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
- <submission id="TRRTS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutinfo"/>
- <submission id="TRRTS00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlist" resultref="/root/main/dutemp"/>
- <submission id="TXRTS00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/savelist"/>
- <submission id="TRRTS00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlist" resultref="/root/main/confirminfo"/>
- </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/SMRTS00700.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:850px; 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:1195; height:744; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_valupsnidnm" class="search_name" style="left:945px; top:15px; width:86px; height:17px; ">평가자 :</caption>
- <input id="ipt_valupsnidnm" ref="/root/send/reqlist/valupsnidnm" class="output_fix" style="left:1020px; top:13px; width:70px; height:19px; "/>
- <group id="grup_base" style="left:475px; top:70px; width:710px; height:666px; "/>
- <datagrid id="grd_saverept" nodeset="/root/main/dutinfo/dutqestlist" visibility="hidden" caption="valueflag^valueyy^valueitemflagcd^valupsnflag^valupsnidnm^dutvaluemm^emplno^valueitemcd^valueitemgrde^valueitempnt^cmt" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:620px; top:115px; width:325px; height:425px; ">
- <col ref="status"/>
- <col ref="valueflag"/>
- <col ref="valueyy"/>
- <col ref="valueitemflagcd"/>
- <col ref="valupsnflag"/>
- <col ref="valupsnidnm"/>
- <col ref="dutvaluemm"/>
- <col ref="emplno"/>
- <col ref="valueitemcd"/>
- <col ref="valueitemgrde"/>
- <col ref="valueitempnt"/>
- <col ref="cmt"/>
- </datagrid>
- <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:470px; top:65px; width:720px; height:675px; "/>
- <datagrid id="grd_dutemplist" nodeset="/root/main/dutemp/dutemplist" caption="평가구분^평가년도^평가항목구분^근무평가월^평가자 ID (사원번호 또는 평가자명)^deptcd^임상과^사번^성명^작성여부^인품^근무태도^책임관념^학구적태도^전공과목적성도" colsep="^" colwidth="72, 56, 120, 80, 88, 77, 150, 77, 80, 50, 80, 80, 80, 80, 90" dataheight="25" extendlastcol="scroll" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:70px; width:455px; height:670px; ">
- <col ref="valueflag" visibility="hidden"/>
- <col ref="valueyy" visibility="hidden"/>
- <col ref="valueitemflagcd" visibility="hidden"/>
- <col ref="dutvaluemm" visibility="hidden"/>
- <col ref="valupsnidnm" visibility="hidden" style="left:348px; top:23px; width:88px; height:23px; "/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="depthngnm"/>
- <col ref="emplno"/>
- <col ref="name"/>
- <col ref="recyn"/>
- <col checkvalue="Y,N" ref="valueitemflagnm1" type="checkbox"/>
- <col checkvalue="Y,N" ref="valueitemflagnm2" type="checkbox"/>
- <col checkvalue="Y,N" ref="valueitemflagnm3" type="checkbox"/>
- <col checkvalue="Y,N" ref="valueitemflagnm4" type="checkbox"/>
- <col checkvalue="Y,N" ref="valueitemflagnm5" type="checkbox"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
-
- if (model.getValue("/root/send/reqlist/checkflag") == "X") {
- if (rdo_valueflag.value == "11") {
- grp_imultiinst.visible = true;
- grp_rmultiinst.visible = false;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm5")) = true;
- grd_dutemplist.caption = "평가구분^평가년도^평가항목구분^근무평가월^평가자 ID (사원번호 또는 평가자명)^deptcd^임상과^사번^성명^작성여부^기본소양^기본술기^학구적태도^책임관렴^전공과목적성도";
- } else if (rdo_valueflag.value == "12") {
- grp_imultiinst.visible = false;
- grp_rmultiinst.visible = true;
- grd_dutemplist.colHidden(grd_dutemplist.colRef("valueitemflagnm5")) = false;
- grd_dutemplist.caption = "평가구분^평가년도^평가항목구분^근무평가월^평가자 ID (사원번호 또는 평가자명)^deptcd^임상과^사번^성명^작성여부^인품^근무태도^책임관념^학구적태도^전공과목적성도";
- }
- }
-
- var rowidx = grd_dutemplist.row;
-
- model.setValue("/root/send/req/yy", grd_dutemplist.valueMatrix(rowidx, grd_dutemplist.colRef("valueyy")));
- model.setValue("/root/send/req/mm", grd_dutemplist.valueMatrix(rowidx, grd_dutemplist.colRef("dutvaluemm")));
- model.setValue("/root/send/req/valueflag", grd_dutemplist.valueMatrix(rowidx, grd_dutemplist.colRef("valueflag")));
- model.setValue("/root/send/req/valueitemflagcd", grd_dutemplist.valueMatrix(rowidx, grd_dutemplist.colRef("valueitemflagcd")));
- model.setValue("/root/send/req/emplno", grd_dutemplist.valueMatrix(rowidx, grd_dutemplist.colRef("emplno")));
-
- fRefDutRept();
- if (model.getValue("/root/send/reqlist/valueflag") == 12 && model.getValue("/root/main/confirminfo/confirmorlist/cfremplno") == "") {
- model.setValue("/root/send/reqlist/instcd", model.getValue("/root/send/req/instcd"));
- model.setValue("/root/send/reqlist/deptcd", model.getValue("/root/send/req/deptcd"));
- submit("TRRTS00703");
- }
-
- grd_dutemplist.dispatch("onmouseup");
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:48px; width:140px; height:13px; font-size:10pt; ">성적입력 대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:455px; y2:66px; "/>
- <caption id="caption7" class="tit_2" style="left:475px; top:48px; width:140px; height:13px; font-size:10pt; ">성적입력</caption>
- <line id="line13" class="line_4" style="x1:1118px; y1:12px; x2:1118px; y2:34px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1133px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //필수 입력 항목 체크(공통 ftHelper.js)
- if ( !isRequiredControls("rdo_valueflag", "ipt_yy", "cmb_mm", "ipt_valupsnidnm") ) {
- return false;
- }
- if(checkAuth("X"))
- {
- model.setValue("/root/send/reqlist/instcd", model.getValue("/root/send/req/instcd"));
- model.setValue("/root/send/reqlist/deptcd", model.getValue("/root/send/req/deptcd"));
- }
- if (model.getValue("/root/send/reqlist/valueflag") == "12")
- {
- var mm = model.getValue("/root/send/reqlist/dutvaluemm");
- if (!(mm == "05" || mm == "08" || mm == "11" || mm == "02"))
- {
- messageBox("레지던트 근무평가월은 [ 5 , 8 , 11 , 2 ] 월 입니다.", "I", "");
- return;
- }
- }
- //확인자 노드존재시 제거
- if (model.getValue("/root/main/confirminfo/confirmorlist/cfremplno") != "") {
- model.removenode("/root/main/confirminfo/confirmorlist");
- }
-
- submit("TRRTS00702");
- ]]>
- </script>
- </button>
- <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:820px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/tisorddeptcdlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_valueflag" ref="/root/send/reqlist/valueflag" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:413px; 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")
- {
- 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")
- {
- 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>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" appearance="minimal" style="left:637px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_deptcd" class="search_name" style="left:748px; top:15px; width:75px; height:17px; ">임상과 :</caption>
- <caption id="cap_instcd" class="search_name" style="left:551px; top:15px; width:94px; height:17px; ">근무병원 :</caption>
- <caption id="cap_valueflag" class="search_name" style="left:300px; top:15px; width:120px; height:17px; ">근무평가구분 :</caption>
- <input id="ipt_yy" ref="/root/send/reqlist/valueyy" class="input_search" style="left:95px; top:14px; width:55px; height:19px; "/>
- <caption id="cap_mm" class="search_name" style="left:159px; top:15px; width:75px; height:17px; ">근무월 :</caption>
- <caption id="cap_yy" class="search_name" style="left:9px; top:15px; width:90px; height:17px; ">근무년도 :</caption>
- <button id="btn_helppsn" class="icon_search" style="left:1095px; top:15px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("rdo_valueflag", "ipt_yy", "cmb_mm", "cmb_instcd", "cmb_deptcd") ) {
- return false;
- }
-
- if (model.getValue("/root/send/reqlist/valueflag") == "12")
- {
- var mm = model.getValue("/root/send/reqlist/dutvaluemm");
- if (!(mm == "05" || mm == "08" || mm == "11" || mm == "02"))
- {
- messageBox("레지던트 근무평가월은 [ 5 , 8 , 11 , 2 ] 월 입니다.", "I", "");
- return;
- }
- }
-
- fOpenPsnHelp();
- ]]>
- </script>
- </button>
- <select1 id="cmb_mm" ref="/root/send/reqlist/dutvaluemm" 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 id="grp_imultiinst" visibility="hidden" style="left:745px; top:43px; width:375px; height:22px; ">
- <button id="btn_su" class="btn2_letter4" style="left:8px; top:2px; width:64px; height:19px; ">
- <caption>매우우수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A");
- ]]>
- </script>
- </button>
- <button id="btn_woo" class="btn2_letter2" style="left:90px; top:2px; width:42px; height:19px; ">
- <caption>우수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B");
- ]]>
- </script>
- </button>
- <button id="btn_me" class="btn2_letter2" style="left:150px; top:2px; width:42px; height:19px; ">
- <caption>보통</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("C");
- ]]>
- </script>
- </button>
- <button id="btn_yang" class="btn2_letter2" style="left:210px; top:2px; width:42px; height:19px; ">
- <caption>부족</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("D");
- ]]>
- </script>
- </button>
- <button id="btn_ga" class="btn2_letter4" style="left:270px; top:2px; width:64px; height:19px; ">
- <caption>매우부족</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("E");
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1133px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/send/check" style="left:3px; top:5; width:600px; height:19px; font-weight:bold; color:#0000ff; "/>
- </group>
- <group id="grp_rmultiinst" visibility="hidden" style="left:675px; top:80px; width:520px; height:22px; ">
- <button id="btn_Ap" class="btn2_letter2" style="left:25px; top:2px; width:42px; height:19px; ">
- <caption>A+</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A+");
- ]]>
- </script>
- </button>
- <button id="btn_A" class="btn2_letter2" style="left:75px; top:2px; width:42px; height:19px; ">
- <caption>A</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A");
- ]]>
- </script>
- </button>
- <button id="btn_Am" class="btn2_letter2" style="left:125px; top:2px; width:42px; height:19px; ">
- <caption>A-</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A-");
- ]]>
- </script>
- </button>
- <button id="btn_Bp" class="btn2_letter2" style="left:175px; top:2px; width:42px; height:19px; ">
- <caption>B+</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B+");
- ]]>
- </script>
- </button>
- <button id="btn_B" class="btn2_letter2" style="left:225px; top:1px; width:42px; height:19px; ">
- <caption>B</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B");
- ]]>
- </script>
- </button>
- <button id="btn_Bm" class="btn2_letter2" style="left:275px; top:1px; width:42px; height:19px; ">
- <caption>B-</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B-");
- ]]>
- </script>
- </button>
- <button id="btn_Cp" class="btn2_letter2" style="left:325px; top:1px; width:42px; height:19px; ">
- <caption>C+</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("C+");
- ]]>
- </script>
- </button>
- <button id="btn_C" class="btn2_letter2" style="left:375px; top:1px; width:42px; height:19px; ">
- <caption>C</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("C");
- ]]>
- </script>
- </button>
- <button id="btn_Cm" class="btn2_letter2" style="left:425px; top:1px; width:42px; height:19px; ">
- <caption>C-</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("C-");
- ]]>
- </script>
- </button>
- <button id="btn_D" class="btn2_letter2" style="left:475px; top:1px; width:42px; height:19px; ">
- <caption>D</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("D");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter2" style="left:75px; top:1px; width:42px; height:19px; ">
- <caption>A</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:225px; top:0px; width:42px; height:19px; ">
- <caption>B</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:125px; top:1px; width:42px; height:19px; ">
- <caption>A-</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A-");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:475px; top:1px; width:42px; height:19px; ">
- <caption>D</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("D");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" style="left:175px; top:1px; width:42px; height:19px; ">
- <caption>B+</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("B+");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:25px; top:1px; width:42px; height:19px; ">
- <caption>A+</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetMultiPnt("A+");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|