123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505 |
- <?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>
- <cond>
- <totcnt/>
- <curcnt/>
- <extra/>
- <exfromtmcd/>
- <exendtmcd/>
- <oproomcd/>
- <roomflag/>
- </cond>
- <optimeinfo>
- <optimelist/>
- </optimeinfo>
- <grdobj>
- <optime1/>
- <optime2/>
- <optime3/>
- </grdobj>
- <scheregtimelist>
- <scheregtimelist>
- <regfromtm/>
- <regendtm/>
- <irregfromtm/>
- <irregendtm/>
- </scheregtimelist>
- </scheregtimelist>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <init>
- <oproomlist/>
- <M0014/>
- <orddept/>
- <hardcd/>
- </init>
- <grdopmenu>
- <menu>
- <menu>
- <label>삭제</label>
- <func>fCnclOpScheTime</func>
- </menu>
- </menu>
- </grdopmenu>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO08800();
- ]]>
- </script>
- <submission id="TRMMO08801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/optimeinfo"/>
- <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitOpScheTime();
-
- var regendtm = model.getValue("/root/main/scheregtimelist/scheregtimelist/regendtm");
- if(regendtm == 8){
- alert(1);
- }
-
- /*for(var i = 56; i <=79; i++){
- grd_optimelist1.colHidden(i) = true;
- grd_optimelist2.colHidden(i) = true;
- grd_optimelist3.colHidden(i) = true;
- }*/
- ]]>
- </script>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/scheregtimelist"/>
- </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="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="963" pageheight="335" guideline="2,326;1,945;" style="color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <caption id="caption24" class="tit_2" style="left:1px; top:5px; width:126px; height:13px; ">수술예약시간</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:21px; x2:945px; y2:21px; "/>
- <datagrid id="grd_optimelist1" nodeset="/root/main/grdobj/optime1" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:26px; width:945px; height:89px; text-align:center; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell() == true) {
- fSelectOpScheTime(grd_optimelist1);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_optimelist1", false, "/root/grdopmenu/menu/menu", "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" ref="/root/main/cond/curcnt" style="left:445px; top:299px; width:34px; height:20px; text-align:center; "/>
- <caption id="caption2" style="left:478px; top:300px; width:15px; height:20px; text-align:center; ">/</caption>
- <caption id="caption3" ref="/root/main/cond/totcnt" style="left:489px; top:299px; width:33px; height:20px; text-align:center; "/>
- <button id="btn_af" class="icon_next" style="left:525px; top:302px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnAfter();
- ]]>
- </script>
- </button>
- <bool id="bool1" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/extra" style="left:656px; top:298px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetComboDisable();
- ]]>
- </script>
- </bool>
- <caption id="caption4" visibility="hidden" style="left:680px; top:298px; width:80px; height:20px; ">
- <![CDATA[정규시간 이외]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetComboDisable();
- ]]>
- </script>
- </caption>
- <button id="btn_save" class="btn4_letter2" style="left:830px; top:298px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChkSaveData();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:887px; top:298px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.javascript.setParameter("SPMMO08800_rtn_useyn", "N");
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_bf" class="icon_pre" style="left:428px; top:301px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnBefore();
- ]]>
- </script>
- </button>
- <caption id="caption5" visibility="hidden" style="left:170px; top:298px; width:15px; height:20px; text-align:center; ">~</caption>
- <select1 id="cmb_exfromtmcd" ref="/root/main/cond/exfromtmcd" disabled="true" visibility="hidden" appearance="minimal" editmode="search" itemcount="10" style="left:95px; top:298px; width:75px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0014/M0014">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_exendtmcd" ref="/root/main/cond/exendtmcd" disabled="true" visibility="hidden" appearance="minimal" editmode="search" itemcount="10" style="left:185px; top:298px; width:75px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0014/M0014">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_oproom" ref="/root/main/cond/oproomcd" visibility="visible" appearance="minimal" itemcount="10" style="left:0px; top:298px; width:75px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(cmb_oproom.label != ""){
- fClearOpScheGrdInfo();
- fSetOpRoomNM(Math.ceil(fFindInstanceCount(cmb_oproom.value)/3)); //수술방명 설정
- fSetOpScheTimeGrd(); //스케줄 표시
- }
- ]]>
- </script>
- </select1>
- <caption id="caption6" visibility="hidden" style="left:785px; top:299px; width:40px; height:20px; ">방없음</caption>
- <bool id="bool2" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/roomflag" style="left:761px; top:298px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <datagrid id="grd_optimelist2" nodeset="/root/main/grdobj/optime2" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:117px; width:945px; height:89px; text-align:center; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell() == true) {
- fSelectOpScheTime(grd_optimelist2);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_optimelist2", false, "/root/grdopmenu/menu/menu", "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_optimelist3" nodeset="/root/main/grdobj/optime3" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:207px; width:945px; height:89px; text-align:center; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell() == true) {
- fSelectOpScheTime(grd_optimelist3);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_optimelist3", false, "/root/grdopmenu/menu/menu", "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|