123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <?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>
- <ngdtamt/>
- </main>
- <hidden>
- </hidden>
- <temp>
- </temp>
- <init/>
- <send>
- <req>
- <yy/>
- <mm/>
- <deptcd/>
- <instcd/>
- <ym/>
- </req>
- <save/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfComboComCdListMulti("Z0007", "cmb_instcd");
-
- submit("TRRTS00602");
-
- var today = getCurrentDate();
- var cur_mm = parseInt(today.substring(4, 6));
- var cur_yy = parseInt(today.substring(0, 4));
-
- model.setValue("/root/send/req/yy", cur_yy);
- model.setValue("/root/send/req/mm", cur_mm);
- ipt_yy.refresh();
- ipt_mm.refresh();
-
- //model.setValue("/root/send/req/deptcd", getUserInfo("posdeptcd"));
- //cmb_deptcd.refresh();
-
- btn_search.disabled = !checkAuth("R") ;
- btn_cret.disabled = !checkAuth("X") ;
- btn_save.disabled = !checkAuth("X") ;
-
- model.setValue("/root/send/req/instcd", getUserInfo("dutplceinstcd"));
- cmb_instcd.disabled = !checkAuth("P") ;
- ]]>
- </script>
- <submission id="TRRTS01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/ngdtamt"/>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/ngdtcdlist"/>
- <submission id="TXRTS01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save"/>
- <submission id="TXRTS01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
- <bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>
- </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">
- <![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; "/>
- <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>
- <datagrid id="grd_ngdtamtlist" nodeset="/root/main/ngdtamt/ngdtamtlist" caption="년월^기관코드^부서코드^사원번호^성명^전공의구분^년차^평일당직수^휴일당직수^당직비" colsep="^" colwidth="20, 20, 20, 70, 100, 80, 40, 90, 90, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:670px; ">
- <col ref="ym" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="emplno"/>
- <col ref="name"/>
- <col ref="trngflagnm"/>
- <col ref="anual" style="text-align:center; "/>
- <col ref="weekno" type="input" style="text-align:center; "/>
- <col ref="holino" type="input" style="text-align:center; "/>
- <col ref="ngdtamt" format="#,###" 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[
- if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_deptcd", "cmb_instcd") ) {
- return false;
- }
- model.setValue("/root/send/req/mm", model.getValue("/root/send/req/mm").getLeftPad(2, "0"));
- ipt_mm.refresh();
-
- model.setValue("/root/send/req/ym", model.getValue("/root/send/req/yy") + model.getValue("/root/send/req/mm"));
-
- submit("TRRTS01301");
- ]]>
- </script>
- </button>
- <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:387px; top:14px; 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:315px; top:15px; width:75px; height:17px; ">임상과 :</caption>
- <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:1190px; y2:66px; "/>
- <input id="ipt_mm" ref="/root/send/req/mm" class="input_s_essential" style="left:234px; top:14px; width:50px; height:19px; "/>
- <caption id="cap_mm" class="search_name" style="left:160px; top:15px; width:86px; height:17px; ">근무월 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:587px; top:14px; width:148px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:501px; top:15px; width:94px; height:17px; ">근무병원 :</caption>
- <button id="btn_cret" class="btn2_letter6" style="left:1101px; top:44px; width:86px; height:19px; text-align:center; ">
- <caption>당직비 생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("당직비 생성을 ", "Q004");
- if ( retMes != 6) {
- return;
- }
-
- if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_deptcd", "cmb_instcd") ) {
- return false;
- }
- model.setValue("/root/send/req/mm", model.getValue("/root/send/req/mm").getLeftPad(2, "0"));
- ipt_mm.refresh();
-
- model.setValue("/root/send/req/ym", model.getValue("/root/send/req/yy") + model.getValue("/root/send/req/mm"));
-
- submit("TXRTS01302");
- ]]>
- </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:1130px; top:3px; width:56px; height:22px; text-align:left; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("", "Q002");
- if ( retMes != 6) {
- return;
- }
-
- model.setValue("/root/send/save", grd_ngdtamtlist.getUpdateData("update"));
-
- if (submit("TXRTS01301"))
- {
- grd_ngdtamtlist.clearStatus();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|