123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <?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>
- <menu>
- <item>
- <name>근무보고 삭제</name>
- <func>fDelete</func>
- </item>
- </menu>
- </hidden>
- <temp>
- <title>
- <instnm/>
- <deptnm/>
- </title>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <trngflag/>
- <anual>1</anual>
- <instcd/>
- <orddeptcd/>
- </req>
- <del>
- <yy/>
- <frommm/>
- <emplno/>
- </del>
- <reqdept>
- <blankrowyn>Y</blankrowyn>
- </reqdept>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fFormReady();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- // 초기화
- function fDefaultDeptSetting(control)
- {
- var sPosdeptcd = getUserInfo("posdeptcd");
- var sDeptcd = control.value;
-
- // 주임교수이면서 핵의학과 교수일때
- if(sPosdeptcd == "2180000000" || sPosdeptcd == "2160000000")
- {
- if(sDeptcd == "2180000000" || sDeptcd == "2160000000")
- {}
- else
- {
- messageBox(control.label+ "을 선택", "E001");
- control.value = sPosdeptcd;
- // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
- }
- }
-
- // 주임교수이면서 치과 교수일때
- else if(sPosdeptcd == "2240000000")
- {
- if(sDeptcd == "2240000000" || sDeptcd == "2240500000" || sDeptcd == "2240200000" || sDeptcd == "2240400000")
- {}
- else
- {
- messageBox(control.label+ "을 선택", "E001");
- control.value = sPosdeptcd;
- // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
- }
- }
-
- else if(sPosdeptcd == "2010300000" || sPosdeptcd == "2010400000" || sPosdeptcd == "2010500000" || sPosdeptcd == "2010600000" || sPosdeptcd == "2010700000" || sPosdeptcd == "2010800000" || sPosdeptcd == "2010900000" || sPosdeptcd == "2011000000" || sPosdeptcd == "2011100000")
- {
- if(sDeptcd != "2010000000")
- {
- messageBox(control.label+ "을 선택", "E001");
- sPosdeptcd = "2010000000";
- control.value = sPosdeptcd;
- // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
- }
- }
-
- else
- {
- if(checkAuth("P"))
- {}
- else
- {
- if(sPosdeptcd != sDeptcd)
- {
- messageBox(control.label+ "을 선택", "E001");
- control.value = sPosdeptcd;
- }
- }
- }
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRRTS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutreptstatlist"/>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
- <submission id="TXRTS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/del" resultref="/root/main/del"/>
- </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/miscommonweb/js/RSZ001.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:13px; width:1195px; height:764px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cmb_orddeptcd" ref="/root/send/req/orddeptcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:737px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/tisorddeptcdlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDefaultDeptSetting(cmb_orddeptcd);
- ]]>
- </script>
- </select1>
- <caption id="caption117" class="search_name" style="left:665px; top:15px; width:75px; height:17px; ">임상과 :</caption>
- <caption id="cap_trngflag" class="search_name" style="left:160px; top:15px; width:110px; height:17px; ">전공의구분 :</caption>
- <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>
- <select1 id="cmb_trngflag" ref="/root/send/req/trngflag" class="combo_s_essential" appearance="minimal" style="left:258px; top:14px; width:90px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/req/trngflag") == "I")
- {
- cmb_anual.disabled = true;
- model.setValue("/root/send/req/anual", "");
- }
- else if (model.getValue("/root/send/req/trngflag") == "R")
- {
- cmb_anual.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:360px; top:15px; width:70px; height:17px; ">년차 :</caption>
- <caption id="caption2" class="search_name" style="left:490px; top:15px; width:75px; height:17px; ">병원 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:549px; top:14px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_anual" ref="/root/send/req/anual" class="combo_s_essential" disabled="true" appearance="minimal" style="left:419px; top:14px; width:51px; height:19px; ">
- <choices>
- <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>
- <datagrid id="grd_dutreptstatlist" nodeset="/root/main/dutreptstatlist" caption="년도^상하반기^사원번호^성명^03월^04월^05월^06월^07월^08월^09월^10월^11월^12월^01월^02월" colsep="^" colwidth="0, 30, 60, 70, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="100" rowsep="|" selectionmode="byrow" style="left:0px; top:64px; width:1193px; height:699px; ">
- <col ref="yy"/>
- <col ref="supinfqurtyyflag"/>
- <col ref="emplno"/>
- <col ref="name"/>
- <col ref="mm03" style="word-wrap:none; "/>
- <col ref="mm04" style="word-wrap:none; "/>
- <col ref="mm05" style="word-wrap:none; "/>
- <col ref="mm06" style="word-wrap:none; "/>
- <col ref="mm07" style="word-wrap:none; "/>
- <col ref="mm08" style="word-wrap:none; "/>
- <col ref="mm09" style="word-wrap:none; "/>
- <col ref="mm10" style="word-wrap:none; "/>
- <col ref="mm11" style="word-wrap:none; "/>
- <col ref="mm12" style="word-wrap:none; "/>
- <col ref="mm01" style="word-wrap:none; "/>
- <col ref="mm02" style="word-wrap:none; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3)
- {
- fShowCnxtMenu();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_dutreptstatlist.gridToInstance();
- ]]>
- </script>
- </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[
- fRefDutReptStatList();
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_excel" class="btn2_letter4" style="left:1125px; top:43px; width:64px; height:19px; vertical-align:middle; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {;
- grd_dutreptstatlist.saveExcel(fileName, "", false, true);
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|