123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <?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>
- <ngdtschedule>
- <ngdtschedulelist/>
- </ngdtschedule>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init>
- <systemflag>T</systemflag>
- </init>
- <send>
- <req>
- <deptcd/>
- <instcd/>
- <apprtcdrflag/>
- <ngdtymfrom/>
- <ngdtymto/>
- <emplno/>
- <emplnm/>
- </req>
- <save/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사용자 권한
- fCheckAuth();
-
- misfGridInit(grd_ngdtschedule);
- misfMsterDetailSet(grd_ngdtschedule, null, "TRRTS03501", "Y");
-
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/send/req/instcd", dutplceinstcd);
-
- misfComboComCdListMulti("R0234,R0151", "cmb_deptcd,cmb_apprtcdrflag");
- addComboItem( "cmb_deptcd", "전체", "", "above");
- model.setValue(cmb_deptcd.attribute("ref"), "");
- addComboItem( "cmb_apprtcdrflag", "전체", "", "above");
- model.setValue(cmb_apprtcdrflag.attribute("ref"), "");
-
- var today = getCurrentDate();
- var cur_yymm = parseInt(today.substring(0,6));
- model.setValue("/root/send/req/ngdtymfrom", cur_yymm);
- model.setValue("/root/send/req/ngdtymto", cur_yymm);
-
- if (dutplceinstcd == "001" && getUserInfo("dutplcecd") == "4110100000") {
- cmb_instcd.disabled = false;
- }else{
- cmb_instcd.disabled = true;
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/ngdtcdlist"/>
- <bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>
- <submission id="TXRTS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
- <submission id="TRRTS03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/ngdtschedule"/>
- </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/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </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; "/>
- <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:67px; height:17px; ">기간 :</caption>
- <datagrid id="grd_ngdtschedule" nodeset="/root/main/ngdtschedule/ngdtschedulelist" caption="임상과^당직파트^당직일자^사번^성명^년차^I/R^bp^핸드폰|임상과^당직파트^당직일자^사번^성명^년차^I/R^bp^핸드폰" colsep="^" colwidth="100, 214, 129, 147, 135, 100, 100, 148, 174" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:670px; ">
- <col ref="deptnm" type="output"/>
- <col ref="ngdtcd" type="output">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="ngdtdd" type="output"/>
- <col ref="emplno" type="output"/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="anual"/>
- <col ref="apprtcdrflag"/>
- <col ref="bpno" style="text-align:center; "/>
- <col ref="mpphonno" 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[
- submit("TRRTS03501");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:1190px; y2:67px; "/>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:335px; top:14px; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:249px; top:14px; width:94px; height:17px; ">근무병원 :</caption>
- <input id="ipt_ngdtymfrom" ref="/root/send/req/ngdtymfrom" inputtype="date" format="yyyy-mm" style="left:65px; top:14px; width:80px; height:19px; "/>
- <button id="btn_execl" class="btn2_letter4" style="left:1125px; top:45px; 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 (fileName != "") {
- grd_ngdtschedule.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:535px; top:14px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:459px; top:14px; width:94px; height:17px; ">임상과 :</caption>
- <caption id="caption2" class="search_name" style="left:664px; top:15px; width:99px; height:17px; ">전공의구분 :</caption>
- <select1 id="cmb_apprtcdrflag" ref="/root/send/req/apprtcdrflag" class="combo_s_essential" disabled="false" appearance="minimal" style="left:765px; top:15px; width:125px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplnm" ref="/root/send/req/emplnm" class="input_default" style="left:1045px; top:15px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
- inputEnterKey("ipt_emplnm", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNM", recv_list);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:1024px; top:15px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"ipt_systemflag","N");
-
- model.refresh();
-
- if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/req/emplno" class="input_default" style="left:950px; top:15px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
- inputEnterKey("ipt_emplno", "xforms-value-changed");
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:893px; top:15px; width:57px; height:17px; ">사번:</caption>
- <input id="ipt_ngdtymto" ref="/root/send/req/ngdtymto" inputtype="date" format="yyyy-mm" style="left:160px; top:14px; width:80px; height:19px; "/>
- <caption id="caption3" style="left:148px; top:14px; width:10px; height:20px; ">-</caption>
- <input id="ipt_systemflag" ref="/root/init/systemflag" visibility="hidden" style="left:65px; top:45px; width:90px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|