123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>스케줄 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dutinfo>
- <dutlist/>
- </dutinfo>
- </main>
- <cond>
- <sdate/>
- <edate/>
- <dutcd/>
- <drid/>
- <subdeptcd/>
- </cond>
- <init>
- <orddeptinfo>
- <orddeptinfolist>
- <orddeptcd/>
- <orddeptnm/>
- </orddeptinfolist>
- </orddeptinfo>
- <basic>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </basic>
- </init>
- <send/>
- <memocond>
- <yyyy/>
- <fromdd/>
- <todd/>
- <dutcd/>
- <subdeptcd/>
- </memocond>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sStartdate = getCurrentDate().substr(0, 6) + "01";
- var sCurdate = getCurrentDate();
-
- model.setValue("/root/cond/sdate", sStartdate);
- model.setValue("/root/cond/edate", sCurdate);
-
- fDutinfo();
- fDrinfo();
-
- model.refresh();
- ]]>
- </script>
- <!--submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/basic"/>
- <submission id="TRMNE05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
- <submission id="TRMNE05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/drinfo"/>
- <submission id="TRMNE05803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/deptinfo"/>
- <submission id="TRMNE05804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prtinfo"/>
- <submission id="TRMNE05805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/userinfo"/>
- <submission id="TXMNE05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/-->
- <submission id="TRMNE09101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TRMNE09102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dutinfo"/>
- <submission id="TRMNE09103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/drinfo"/>
- <submission id="TRMNE09104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/memoinfo"/>
- <submission id="TXMNE09101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TXMNE09102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript">
- <![CDATA[
- var xPAth = "/root/main/workerinfo/workerinfolist";
-
- function fDutinfo() {
-
- var sStartdate = model.getValue("/root/cond/sdate");
- var sCurdate = model.getValue("/root/cond/edate");
-
- model.makeValue("/root/send/sdate", sStartdate);
- model.makeValue("/root/send/edate", sCurdate);
-
- submit("TRMNE09101");
- }
-
- function fDrinfo() {
-
- var sStartdate = model.getValue("/root/cond/sdate");
- var sCurdate = model.getValue("/root/cond/edate");
- var sDutcd = model.getValue("/root/cond/dutcd");
- var sSubdeptcd = model.getValue("/root/cond/subdeptcd");
-
- if (sDutcd == "-") {
- sDutcd = "";
- }
-
- model.makeValue("/root/send/sdate", sStartdate);
- model.makeValue("/root/send/edate", sCurdate);
- model.makeValue("/root/send/dutcd", sDutcd);
- model.makeValue("/root/send/subdeptcd", sSubdeptcd);
-
- submit("TRMNE09103");
- }
-
- function fSearch() {
- var sStartdate = model.getValue("/root/cond/sdate");
- var sCurdate = model.getValue("/root/cond/edate");
- var sDutcd = model.getValue("/root/cond/dutcd");
- if (sDutcd == "-") {
- sDutcd = "";
- }
- var sSubdepetcd = model.getValue("/root/cond/subdepetcd");
- var sDrid = model.getValue("/root/cond/drid");
- if (sDrid == "-") {
- sDrid = "";
- }
-
- model.makeValue("/root/send/sdate", sStartdate);
- model.makeValue("/root/send/edate", sCurdate);
- model.makeValue("/root/send/dutcd", sDutcd);
- model.makeValue("/root/send/subdepetcd", sSubdepetcd);
- model.makeValue("/root/send/drid", sDrid);
-
- submit("TRMNE09102");
- }
-
- function fSave() {
-
- var savedata = getGridUpdateData(grd_workerlist);
- model.removeNodeset("/root/send/savedata");
- model.makeValue("/root/send/savedata", savedata);
- submit("TXMNE09101");
-
- fSearch();
- }
-
- function fSaveMemo() {
-
- model.removeNodeset("/root/send/savedata");
-
- model.makeValue("/root/send/savedata/yyyy", model.getValue("/root/memocond/yyyy"));
- model.makeValue("/root/send/savedata/fromdd", model.getValue("/root/memocond/fromdd"));
- model.makeValue("/root/send/savedata/todd", model.getValue("/root/memocond/todd"));
- model.makeValue("/root/send/savedata/dutcd", model.getValue("/root/memocond/dutcd"));
- model.makeValue("/root/send/savedata/subdeptcd", model.getValue("/root/memocond/subdeptcd"));
- model.makeValue("/root/send/savedata/memo", model.getValue("/root/main/memoinfo/memolist/memo"));
-
- submit("TXMNE09102");
-
- //fSearch();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1000" pageheight="680" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:87px; width:980px; height:335px; text-align:center; ">
- <line id="line3" class="line_1" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
- <datagrid id="grd_workerlist" nodeset="/root/main/dutinfo/dutlist" autoresize="true" caption="시작일자^종료일자^근무지^근무지코드^상세근무지^비고^의사^의사^n-zone^연락처^emplno^yyyy" colsep="^" colwidth="75, 75, 240, 0, 120, 150, 45, 70, 60, 100, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:5px; width:980px; height:330px; ">
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="dutnm" style="text-align:left; "/>
- <col ref="dutcd"/>
- <col ref="subdeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/dept/">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="cmt" type="input" style="text-align:left; "/>
- <col ref="drid"/>
- <col ref="drnm"/>
- <col ref="pdano"/>
- <col ref="mpphonno"/>
- <col ref="emplno"/>
- <col ref="yyyy"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_workerlist.row;
-
- var sYyyy = "";
- var sFromdd = "";
- var sTodd = "";
- var sDutcd = "";
- var sSubdeptcd = "";
-
- if (row > 0) {
- model.removeNodeset("/root/send");
-
- sYyyy = model.getValue("/root/main/dutinfo/dutlist[" + row + "]/yyyy");
- sFromdd = model.getValue("/root/main/dutinfo/dutlist[" + row + "]/fromdd");
- sTodd = model.getValue("/root/main/dutinfo/dutlist[" + row + "]/todd");
- sDutcd = model.getValue("/root/main/dutinfo/dutlist[" + row + "]/dutcd");
- sSubdeptcd = model.getValue("/root/main/dutinfo/dutlist[" + row + "]/subdeptcd");
-
- if (sDutcd == "" && sSubdeptcd == "") {
- messageBox("조회할 근무지 정보가 없습니다.", "E999");
- } else {
-
- model.makeValue("/root/memocond/yyyy", sYyyy);
- model.makeValue("/root/memocond/fromdd", sFromdd);
- model.makeValue("/root/memocond/todd", sTodd);
- model.makeValue("/root/memocond/dutcd", sDutcd);
- model.makeValue("/root/memocond/subdeptcd", sSubdeptcd);
-
- model.makeValue("/root/send/yyyy", sYyyy);
- model.makeValue("/root/send/fromdd", sFromdd);
- model.makeValue("/root/send/todd", sTodd);
- model.makeValue("/root/send/dutcd", sDutcd);
- model.makeValue("/root/send/subdeptcd", sSubdeptcd);
-
- if ( submit("TRMNE09104") ) {
- dutnm = model.getValue("/root/main/memoinfo/memolist/dutnm");
- subdeptnm = model.getValue("/root/main/memoinfo/memolist/subdeptnm");
-
- caption4.text = "근무지 별 메모 (" + dutnm + " / " + subdeptnm + ")";
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:720px; height:13px; ">기간별 인턴 근무현황</caption>
- <group id="group4" style="left:1px; top:20px; width:980px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:980px; height:65px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:841px; top:23px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:4px; top:11px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">기 간:</caption>
- <caption id="caption8" style="left:197px; top:9px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_srhto" ref="/root/cond/edate" class="input_s_essential" inputtype="date" style="left:215px; top:10px; width:92px; height:19px; text-align:center; background-image:../../../com/commonweb/images/input_s_essential.gif; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDutinfo();
- fDrinfo();
- ]]>
- </script>
- <input id="ipt_srhfrom" ref="/root/cond/sdate" class="input_s_essential" inputtype="date" style="left:95px; top:10px; width:92px; height:19px; text-align:center; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDutinfo();
- fDrinfo();
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:4px; top:39px; width:92px; height:17px; ">근 무 지:</caption>
- <select1 id="cmb_dept" ref="/root/cond/dutcd" class="combo_search" appearance="minimal" style="left:95px; top:37px; width:213px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dutinfo">
- <label ref="dutnm"/>
- <value ref="dutcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDrinfo();
- ]]>
- </script>
- </select1>
- <line id="line1" style="x1:831px; y1:11px; x2:831px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:624px; top:39px; width:92px; height:17px; ">의 사:</caption>
- <select1 id="combo1" ref="/root/cond/drid" class="combo_search" appearance="minimal" style="left:710px; top:37px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drinfo/drinfo">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="btn1_letter2" navindex="3" style="left:899px; top:23px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:326px; top:39px; width:95px; height:17px; ">상세근무지:</caption>
- <select1 id="combo2" ref="/root/cond/subdeptcd" class="combo_search" appearance="minimal" style="left:427px; top:37px; width:168px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dept/">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDrinfo();
- ]]>
- </script>
- </select1>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:427px; width:980px; height:228px; text-align:center; ">
- <line id="line2" class="line_1" style="x1:0px; y1:23px; x2:980px; y2:23px; "/>
- <caption id="caption4" class="tit_1" style="left:0px; top:5px; width:720px; height:13px; ">근무지 별 메모</caption>
- <textarea id="textarea1" ref="/root/main/memoinfo/memolist/memo" style="left:0px; top:28px; width:980px; height:200px; text-align:left; "/>
- <button id="button2" class="btn1_letter2" navindex="3" style="left:899px; top:0px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveMemo();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|