123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?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>
- <dutbaseinfo>
- <dutbaseinfolist>
- <flag/>
- <dutym/>
- <instcd/>
- <orddeptcd/>
- <orddeptnm/>
- <partcd/>
- <rowcnt/>
- </dutbaseinfolist>
- </dutbaseinfo>
- </main>
- <send>
- <req>
- <dutym/>
- <instcd/>
- <orddeptcd/>
- </req>
- <dutbaseinfolist/>
- </send>
- <init>
- <deptcond>
- <deptcond/>
- </deptcond>
- <orddeptinfo>
- <orddeptinfo>
- <orddeptcd/>
- <orddeptnm/>
- </orddeptinfo>
- </orddeptinfo>
- </init>
- <hidden>
- <deptcond/>
- </hidden>
- <temp>
- <selvalulistflag/>
- <valueitemflagcdlist/>
- <outpsn/>
- <popupgbn/>
- <outpnotice/>
- </temp>
- </root>
- </instance>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
- <submission id="TRRTC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutvaluepsn"/>
- <submission id="TXRTC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutvaluepsn"/>
- <submission id="TXRTC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
- <submission id="TRRTS02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/init/orddeptcd"/>
- <submission id="TRRTS02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutbaseinfo"/>
- <submission id="TRRTS02703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutbaseinfo"/>
- <submission id="TXRTS02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXRTS02702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp"/>
- </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/stringHelper.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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/req/dutym", getCurrentDate());
- model.setValue("/root/send/req/instcd", getUserInfo("dutplceinstcd"));
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
- model.removeNodeset("/root/init/orddeptinfo/orddeptinfo");
- submit("TRRTS02701");
- rszGridAddComboItem( "cmb_orddeptcd", "전체", "", "above" );
- model.refresh();
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- btn_delrow.disabled = !checkAuth("X") ;
- btn_copy.disabled = !(checkAuth("X"));
-
- cmb_instcd.disabled = !(checkAuth("P"));
- }
-
- ]]>
- </script>
- </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>
- <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:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/dutbaseinfo/dutbaseinfolist");
- submit("TRRTS02702");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="cap_yy" class="search_name" style="left:15px; top:19px; width:91px; height:17px; ">근무 년월 :</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:54px; width:144px; height:14px; ">근무 기준 정보</caption>
- <button id="btn_copy" class="btn2_letter5" style="left:1105px; top:47px; width:75px; height:19px; ">
- <caption>전월 copy</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("이전에 등록된 기준 정보가 있을 경우 전부 삭제 됩니다.", "I");
- if (messageBox("전월 근무 기준 정보를 " ,"Q002") != 6) return;
-
- var savedata = grd_dutbaseinfo.getUpdateData();
- model.setValue("/root/send/dutbaseinfolist", savedata);
- submit("TXRTS02702")
- model.refresh();
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:366px; top:18px; width:135px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/orddeptinfo/orddeptinfo");
- submit("TRRTS02701");
- rszGridAddComboItem( "cmb_orddeptcd", "전체", "", "above" );
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:265px; top:19px; width:95px; height:17px; ">근무 기관 :</caption>
- <datagrid id="grd_dutbaseinfo" nodeset="/root/main/dutbaseinfo/dutbaseinfolist" visibility="visible" caption="근무 년월^기관명^임상코드^임상과^기존 분과코드^분과 코드^칸수^flag" colsep="^" colwidth="100, 206, 100, 207, 100, 149, 74, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1190px; height:665px; ">
- <col ref="dutym" format="yyyy/mm" style="text-align:center; "/>
- <col disabled="true" ref="instcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/lavelcombo/R03140/R03140">
- <label ref="detldesc"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm" style="text-align:left; "/>
- <col ref="oldpartcd" type="input" visibility="hidden" style="text-align:left; "/>
- <col ref="partcd" type="input" style="text-align:left; "/>
- <col ref="rowcnt" type="input" style="text-align:center; "/>
- <col ref="flag" visibility="hidden"/>
- </datagrid>
- <button id="btn_delrow" class="btn2_letter3" style="left:1045px; top:47px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var firstRow = grd_dutbaseinfo.selectedRow(0);
- var lastRow = grd_dutbaseinfo.selectedRow(grd_dutbaseinfo.selectedRows-1);
- for(var i=lastRow; i>=firstRow; i--){
- if (grd_dutbaseinfo.valueMatrix(grd_dutbaseinfo.row, grd_dutbaseinfo.colRef("flag"))=='X'){
- grd_dutbaseinfo.rowStatus(i) = 4;
- }else{
- grd_dutbaseinfo.deleteRow(i);
- }
- }
- ]]>
- </script>
- </button>
- <input id="dt_dutym" ref="/root/send/req/dutym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:115px; top:18px; width:125px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/send/req/orddeptcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:606px; top:18px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptinfo/orddeptinfo">
- <label ref="orddeptnm"/>
- <value ref="orddeptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:525px; top:19px; width:95px; height:17px; ">임상과 :</caption>
- <button id="button7" class="btn2_letter10" style="left:909px; top:47px; width:130px; height:19px; ">
- <caption>전공의 정보 가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/dutbaseinfo/dutbaseinfolist");
- submit("TRRTS02703");
- for(var i = grd_dutbaseinfo.fixedRows ; i < grd_dutbaseinfo.rows ; i++ ){
- grd_dutbaseinfo.rowStatus(i) = "1";
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" visibility="hidden" style="left:985px; top:47px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_dutbaseinfo.insertRow(grd_dutbaseinfo.Row, "below");
-
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/flag", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row-1) + "]/flag" ));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/dutym", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" +(grd_dutbaseinfo.Row-1)+ "]/dutym" ));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/instcd", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row-1) + "]/instcd" ));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/orddeptcd", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row-1) + "]/orddeptcd"));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/orddeptnm", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row-1) + "]/orddeptnm"));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/partcd", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" +(grd_dutbaseinfo.Row-1) + "]/partcd" ));
- model.setValue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row) + "]/rowcnt", model.getvalue("/root/main/dutbaseinfo/dutbaseinfolist[" + (grd_dutbaseinfo.Row-1) + "]/rowcnt" ));
-
- //grd_dutbaseinfo.removeStatus(grd_dutbaseinfo.Row, "insert");
- ]]>
- </script>
- </button>
- </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:1139px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (messageBox("근무 기준 정보를 " ,"Q002") != 6) return;
-
- /* for(var i = grd_dutbaseinfo.fixedRows ; i < grd_dutbaseinfo.rows ; i++ ){
- if (grd_dutbaseinfo.rowStatus(i) != "4"){
- grd_dutbaseinfo.rowStatus(i) = "2";
- }
- }*/
-
- var savedata = grd_dutbaseinfo.getUpdateData();
- model.setValue("/root/send/dutbaseinfolist", savedata);
- submit("TXRTS02701")
- model.refresh();
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <output id="outp_notice" ref="/root/temp/outpnotice" style="left:3px; top:5; width:600px; height:19px; font-weight:bold; color:#0000ff; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|