123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364 |
- <?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>
- <residenteduclist>
- <residentindfact/>
- <residenteducfact/>
- </residenteduclist>
- <guidapprtcdrlist/>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <emplno/>
- </req>
- <scincconfentry/>
- <treatiseprst/>
- <anodeptdispat/>
- <valueexam/>
- <treq>
- <emplno/>
- </treq>
- <valu/>
- <cmt/>
- <rreq>
- <emplno/>
- <emplnm/>
- <dutplceinst/>
- <residentanual/>
- <guidmedispcldremplno/>
- <deptcd/>
- </rreq>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRRTS00602");
- addComboItem( "cmb_deptcd", "전체", "", "above");
- fAuthCheck();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fAuthCheck(){
- var sJobpos = getUserInfo("jobposcd");
-
- // 관리자가 로그인시
- if( checkAuth("R") && checkAuth("X") && checkAuth("P")) {
- model.toggle("case2");
- fTchrSetting(true);
- btn_search1.dispatch("DOMActivate");
- }
-
- // 전공의(레지던트) 로그인시
- else if(checkAuth("R") && !checkAuth("X") && !checkAuth("P")){
- model.toggle("case1");
- fResidentSetting();
- btn_search.dispatch("DOMActivate");
- }
-
- // 전공의가 아닌 사람이 로그인시
- else if(checkAuth("R") && checkAuth("X") && !checkAuth("P")){
- model.toggle("case2");
- fTchrSetting(false);
- btn_search1.dispatch("DOMActivate");
- }
- }
-
- // 전공의(레지던트) 로그인시 화면 및 컨트롤 세팅
- function fResidentSetting(){
- misfGridInit(grd_residentindfact);
- misfGridInit(grd_residenteducfact);
-
- var today = getCurrentDate();
- var cur_yy = parseInt(today.substring(0, 4));
-
- model.setValue("/root/send/req/yy", cur_yy);
-
- // model.setValue("/root/send/req/emplno","10400837");
- model.setValue("/root/send/req/emplno",getUserInfo("userid"));
- model.refresh();
- }
-
- // 전공의가 아닌 사람이 로그인시 화면 및 컨트롤 세팅
- function fTchrSetting(check){
- misfGridInit(grd_guidapprtcdrlist);
-
- if(!check){
- model.setValue("/root/send/rreq/guidmedispcldremplno",getUserInfo("userid"));
- }
-
- misfComboComCdList("R0305", cmb_dutplceinst,"Y");
- }
- ]]>
- </script>
- <submission id="TRRTS01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/residenteduclist"/>
- <submission id="TRRTS01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rreq" resultref="/root/main/guidapprtcdrlist"/>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tisorddeptcdlist"/>
- </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/humtrafactmngtweb/js/RPB001.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:20; width:1195px; height:763; ">
- <switch id="switch1" style="left:0px; top:0px; width:1195; height:763; ">
- <case id="case1">
- <group id="group3" style="left:0px; top:0; width:1190; height:760; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:0; width:1190; height:30; "/>
- <caption id="cap_yy" class="search_name" style="left:5px; top:7; width:190px; height:17px; ">교육 프로그램 조회 년도 :</caption>
- <input id="ipt_yy" ref="/root/send/req/yy" style="left:190px; top:6px; width:130px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:4; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_yy") ) {
- return false;
- }
- submit("TRRTS01601");
-
- if(grd_residenteducfact.rows - grd_residenteducfact.fixedRows > 0 )
- {
- model.setValue("/root/send/scincconfentry", grd_residenteducfact.valueMatrix(grd_residenteducfact.rows - grd_residenteducfact.fixedRows + 1, grd_residenteducfact.colRef("scincconfentry")));
- model.setValue("/root/send/treatiseprst", grd_residenteducfact.valueMatrix(grd_residenteducfact.rows - grd_residenteducfact.fixedRows + 1, grd_residenteducfact.colRef("treatiseprst")));
- model.setValue("/root/send/anodeptdispat", grd_residenteducfact.valueMatrix(grd_residenteducfact.rows - grd_residenteducfact.fixedRows + 1, grd_residenteducfact.colRef("anodeptdispat")));
- model.setValue("/root/send/valueexam", grd_residenteducfact.valueMatrix(grd_residenteducfact.rows - grd_residenteducfact.fixedRows + 1, grd_residenteducfact.colRef("valueexam")));
- }
-
- misfSetReadOnlyCol(grd_residentindfact, "guidmedispcldremplno", true);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/req/emplno" visibility="hidden" style="left:325px; top:5px; width:100px; height:19px; "/>
- <datagrid id="grd_residentindfact" nodeset="/root/main/residenteduclist/residentindfact" visibility="visible" caption="전공과목^년차^성명^사번^주민등록번호^지도전문의^지도전문의사번" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:55; width:1190; height:48; ">
- <col ref="frmrmert" style="text-align:center; "/>
- <col ref="residentanual" style="text-align:center; "/>
- <col ref="name" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="rregno" format="999999-9999999" style="text-align:center; "/>
- <col ref="tname" style="text-align:center; cursor:hand; "/>
- <col ref="templno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 지도전문의 클릭시 지도전문의의 정보를 보여준다
- if(grd_residentindfact.col == grd_residentindfact.colRef("tname")){
-
- var sTname = grd_residentindfact.valueMatrix(grd_residentindfact.row, grd_residentindfact.colRef("tname"));
-
- if(sTname == null || sTname == "")
- {
- return;
- }
-
- model.setValue("/root/send/treq/emplno", grd_residentindfact.valueMatrix(grd_residentindfact.row, grd_residentindfact.colRef("templno")));
- ipt_templno.refresh();
-
- modal("SMRTS01610","20","20","","popup", "/root/send/treq" ,"/root/temp");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="cap_list" class="tit_2" style="left:0px; top:35px; width:162px; height:14px; ">개 인 사 항</caption>
- <caption id="caption1" class="tit_2" style="left:0px; top:115; width:162px; height:13px; ">교 육 사 항</caption>
- <datagrid id="grd_residenteducfact" nodeset="/root/main/residenteduclist/residenteducfact" autoresize="true" caption="교육과목^월^순환근무병원^교과내용^교과내용^교과내용^(히든)^(히든)^(히든)^(히든)|교육과목^월^순환근무병원^교육목표^이론^술기^학술회의참석^논문제출^타과파견^평가시험" colsep="^" colwidth="150, 40, 130, 350, 250, 250, 100, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:135; width:1190; height:495; ">
- <col ref="educnm"/>
- <col ref="mm"/>
- <col ref="instcd"/>
- <col ref="educgoal"/>
- <col ref="therycnts"/>
- <col ref="praccnts"/>
- <col ref="scincconfentry" visibility="hidden"/>
- <col ref="treatiseprst" visibility="hidden"/>
- <col ref="anodeptdispat" visibility="hidden"/>
- <col ref="valueexam" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_residenteducfact.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="cap_depthngnm" class="cell_1" style="left:0px; top:665px; width:100px; height:45px; vertical-align:middle; ">평가</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:711px; width:100px; height:45px; vertical-align:middle; ">비고</caption>
- <input id="ipt_scincconfentry" ref="/root/send/scincconfentry" disabled="true" style="left:730px; top:666px; width:455; height:19px; "/>
- <input id="ipt_treatiseprst" ref="/root/send/treatiseprst" disabled="true" style="left:730px; top:689px; width:455; height:19px; "/>
- <input id="ipt_anodeptdispat" ref="/root/send/anodeptdispat" disabled="true" style="left:730px; top:712px; width:455; height:19px; "/>
- <input id="ipt_valueexam" ref="/root/send/valueexam" disabled="true" style="left:730px; top:735px; width:455; height:19px; "/>
- <input id="ipt_templno" ref="/root/send/treq/emplno" visibility="hidden" style="left:720px; top:5px; width:100px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:628; top:665px; width:100px; height:22; vertical-align:middle; ">1. 학술회의 참석</caption>
- <caption id="caption5" class="cell_1" style="left:628; top:688px; width:100px; height:22; vertical-align:middle; ">2. 논문제출</caption>
- <caption id="caption7" class="cell_1" style="left:628; top:711px; width:100px; height:22; vertical-align:middle; ">3. 타과파견</caption>
- <caption id="caption8" class="cell_1" style="left:628; top:734px; width:100px; height:22; vertical-align:middle; ">4. 평가시험</caption>
- <textarea id="tar_valu" ref="/root/send/valu" style="left:102px; top:666px; width:520; height:44px; "/>
- <textarea id="tar_cmt" ref="/root/send/cmt" style="left:102px; top:712px; width:520; height:44px; "/>
- <line id="line15" class="line_1" style="x1:0px; y1:50; x2:1190; y2:50; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:130; x2:1190; y2:130; "/>
- <caption id="caption9" class="tit_2" style="left:0px; top:645px; width:162px; height:14px; ">기 타 사 항</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:660px; x2:1190; y2:660px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:756; x2:1190; y2:756; "/>
- <button id="btn_back" class="btn2_letter4" visibility="hidden" style="left:1120px; top:30px; width:64px; height:19px; ">
- <caption>돌아가기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case2");
- btn_back.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </case>
- <case id="case2" selected="true">
- <group id="group4" style="left:0px; top:0; width:1190px; height:760; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:0; width:1190; height:30; "/>
- <button id="btn_search1" class="btn1_letter2" style="left:1130px; top:4; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRTS01602");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:0px; top:35px; width:162px; height:14px; ">지 도 학 생</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:50; x2:1190; y2:50; "/>
- <input id="input1" ref="/root/send/rreq/emplnm" class="input_essential" disabled="false" navindex="21" style="left:170px; top:5px; width:85px; height:19px; "/>
- <input id="ipt_emplno_resi" ref="/root/send/rreq/emplno" class="input_essential" disabled="false" navindex="20" maxlength="10" style="left:75px; top:5px; width:69px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- ]]>
- </script>
- </input>
- <button id="button2" class="icon_search" disabled="false" style="left:149px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno_resi, recv_list,"","Y");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:0px; top:6; width:75px; height:17px; ">사 번 :</caption>
- <select1 id="cmb_dutplceinst" ref="/root/send/rreq/dutplceinst" appearance="minimal" style="left:390px; top:5px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/send/rreq/residentanual" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:840px; top:6px; width:275px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>1년차</label>
- <value>1</value>
- </item>
- <item>
- <label>2년차</label>
- <value>2</value>
- </item>
- <item>
- <label>3년차</label>
- <value>3</value>
- </item>
- <item>
- <label>4년차</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:290px; top:6px; width:96px; height:17px; ">근무 병원 :</caption>
- <caption id="caption12" class="search_name" style="left:765px; top:6px; width:75px; height:17px; ">년 차 :</caption>
- <button id="btn_go3" class="btn1_letter2" visibility="hidden" style="left:1130px; top:30px; width:56px; height:22px; ">
- <caption>go3</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_guidapprtcdrlist" nodeset="/root/main/guidapprtcdrlist" caption="이름^사번^년차^임상과^현근무병원" colsep="^" colwidth="100, 100, 100, 150, 200" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:55px; width:1190; height:695px; ">
- <col ref="name" style="cursor:hand; "/>
- <col ref="emplno" style="cursor:hand; "/>
- <col ref="residentanual"/>
- <col ref="frmrmert"/>
- <col ref="dutplceinst"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(!grd_guidapprtcdrlist.isCell(event.target)){
- return;
- }
- if(grd_guidapprtcdrlist.col == grd_guidapprtcdrlist.colRef("name") || grd_guidapprtcdrlist.col == grd_guidapprtcdrlist.colRef("emplno")){
-
- var sEmplno = grd_guidapprtcdrlist.valueMatrix(grd_guidapprtcdrlist.row, grd_guidapprtcdrlist.colRef("emplno"));
-
- if(sEmplno == null || sEmplno == "")
- {
- return;
- }
-
- model.setValue("/root/send/req/emplno",sEmplno);
- ipt_emplno.refresh();
-
- var today = getCurrentDate();
- var cur_yy = parseInt(today.substring(0, 4));
-
- model.setValue("/root/send/req/yy", cur_yy);
-
- model.toggle("case1");
- btn_back.visible = true;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_guidmedispcldremplno" ref="/root/send/rreq/guidmedispcldremplno" visibility="hidden" style="left:250px; top:30px; width:100px; height:19px; "/>
- <select1 id="cmb_deptcd" ref="/root/send/rreq/deptcd" class="combo_search" appearance="minimal" style="left:615px; top:5px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/tisorddeptcdlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_deptcd" class="search_name" style="left:530px; top:6px; width:90px; height:17px; ">임 상 과 :</caption>
- </group>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|