123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- <?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>SMRTS03800_당직일자등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dutdate>
- <dutdatelist/>
- </dutdate>
- </main>
- <send>
- <dutdate>
- <instcd/>
- <baseym/>
- </dutdate>
- <save>
- <dutdatelist/>
- </save>
- </send>
- <init/>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_dutdatelist);
- misfMsterDetailSet(grd_dutdatelist, null, "TRRTS03801" ,"Y");
- rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
- misfComboComCdListMulti("P0033","grd_dutdatelist.dayflag");
- misfGetAndSetUserInfo();
-
- model.setValue("/root/send/dutdate/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/dutdate/baseym", getCurrentDate().substr(0, 6));
-
- if (getUserInfo("dutplceinstcd") == "001" && getUserInfo("dutplcecd") == "4110100000") {
- cmb_instcd.disabled = false;
- }else{
- cmb_instcd.disabled = true;
- }
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // function fInit()
- // {
- // misfGridInit(grd_dutdatelist);
- // misfMsterDetailSet(grd_dutdatelist, null, "TRRTS03801" ,"Y");
- //
- // misfComboComCdListMulti("Z0007,P0033","cmb_instcd,grd_dutdatelist.dayflag");
- // misfGetAndSetUserInfo();
- //
- // model.setValue("/root/send/dutdate/instcd", getUserInfo("dutplceinstcd"));
- // model.setValue("/root/send/dutdate/baseym", getCurrentDate().substr(0, 6));
- //
- // if(getUserInfo("dutplceinstcd") == "001" && DUTY_PART_YN == "Y")
- // {
- // cmb_instcd.disabled = false;
- // }
- // else
- // {
- // cmb_instcd.disabled = true;
- // }
- // btn_search.dispatch("DOMActivate");
- // }
- ]]>
- </script>
- <submission id="TRRTS03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dutdate" resultref="/root/main/dutdate"/>
- <submission id="TXRTS03801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
- </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"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">당직일자관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
-
- for(var i=1; i<grd_dutdatelist.rows; i++)
- {
- if(grd_dutdatelist.valueMatrix(i, grd_dutdatelist.colRef("holiflag")) == "0")
- {
- grd_dutdatelist.rowStyle(i, "data", "color") = "#FF0000";
- }
- else if(grd_dutdatelist.valueMatrix(i, grd_dutdatelist.colRef("holiflag")) == "4")
- {
- grd_dutdatelist.rowStyle(i, "data", "color") = "#0000FF";
- }
- else
- {
- grd_dutdatelist.rowStyle(i, "data", "color") = "#000000";
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="top:7; x1:1110px; y1:8px; x2:1110px; y2:30px; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:308px; top:9px; width:73px; height:17px; ">기준월 :</caption>
- <input id="ipt_baseym" ref="/root/send/dutdate/baseym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:385px; top:8px; width:130px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_instcd" ref="/root/send/dutdate/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:99px; top:8px; width:155px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">근무병원:</caption>
- </group>
- <datagrid id="grd_dutdatelist" nodeset="/root/main/dutdate/dutdatelist" caption="기관코드^기준일자^휴일구분^휴일명^요일구분^비고^명절여부^반휴여부^기관코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시|기관코드^기준일자^휴일구분^휴일명^요일구분^비고^명절여부^반휴여부^기관코드^최초등록자ID^최초등록일시^최종수정자ID^최종수정일시" colsep="^" colwidth="0, 120, 130, 150, 120, 629, 33, 33, 73, 80, 154, 88" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="basedd" type="inputdate" style="text-align:center; "/>
- <col ref="holiflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>평일</label>
- <value>8</value>
- </item>
- <item>
- <label>토요일</label>
- <value>4</value>
- </item>
- <item>
- <label>공휴일</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="holinm" type="input"/>
- <col ref="dayflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input"/>
- <col checkvalue="Y,N" ref="natiholiyn" type="checkbox" visibility="hidden"/>
- <col checkvalue="Y,N" ref="halfholiyn" type="checkbox" visibility="hidden"/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_dutdatelist.col == grd_dutdatelist.colRef("holiflag"))
- {
- if(grd_dutdatelist.valueMatrix(grd_dutdatelist.row, grd_dutdatelist.colRef("holiflag")) == "0")
- {
- grd_dutdatelist.rowStyle(grd_dutdatelist.row, "data", "color") = "#FF0000";
- }
- else if(grd_dutdatelist.valueMatrix(grd_dutdatelist.row, grd_dutdatelist.colRef("holiflag")) == "4")
- {
- grd_dutdatelist.rowStyle(grd_dutdatelist.row, "data", "color") = "#0000FF";
- }
- else
- {
- grd_dutdatelist.rowStyle(grd_dutdatelist.row, "data", "color") = "#000000";
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line7" class="line_1" style="left:0; x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <caption id="caption25" class="tit_2" style="left:5px; top:55px; width:151px; height:14px; ">당직일자 List</caption>
- <button id="btn_grdadddutdatelist" class="btn2_letter3" style="left:1020px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_dutdatelist, "A");
- ]]>
- </script>
- </button>
- <button id="btn_savedutdatelistexcel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "") {
- grd_dutdatelist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="btn_grddeldutdatelist" class="btn2_letter3" style="left:1075px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_dutdatelist, "D");
- ]]>
- </script>
- </button>
- <caption id="caption2" style="left:132px; top:48px; width:858px; height:20px; font-weight:bold; color:#ff0000; ">※ 해당병원의 개원기념일, 선거일, 명절은 반드시 휴일 구분을 변경하여 주시기 바랍니다.</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRTS03801");
- ]]>
- </script>
- </button>
- <line id="line75" class="line_6" style="x1:0px; y1:24px; x2:1195px; y2:24px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|