123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <?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>
- <drtodayend>
- <drtodayendlist/>
- </drtodayend>
- </main>
- <send>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- </send>
- <init>
- <P0037list>
- <P0037>
- <cdnm/>
- <cdid/>
- </P0037>
- </P0037list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- <P0316list>
- <P0316>
- <cdnm/>
- <cdid/>
- </P0316>
- </P0316list>
- </init>
- <hidden>
- <tmp/>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0037", "P0316"), new Array("/root/init/P0037list", "/root/init/P0316list"));
- pamGetDeptCDDrIDList();
-
- model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/cd");
- model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/nm");
- copyNodesetType("/root/init/orddeptcd/orddeptcdlist", "/root/init/temp/orddeptcd/orddeptcdlist", "before");
- //fInitControl();
- fInitialize();
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMB01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drtodayend"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.removeNodeset("/root/main/drtodayend/drtodayendlist");
-
- //날자 입력 항목에 오늘 날자 세팅
- var curDate = getCurrentDate();
- model.setValue("/root/send/orddd", curDate);
- //model.setValue("/root/send/todd", curDate);
- //model.refresh();
- }
- /*
- function fInitControl()
- {
-
- //서버 일자로 처리
- today = new Date();
- var isYear, isMonth, ls_day;
-
- isYear = (today.getYear()).toString();
- isMonth = (today.getMonth() + 1).toString();
- isDay = (today.getDate()).toString();
-
- //1~9월까지 숫자 앞에 0을 붙여준다. ex) 1 -> 01
- if ((isMonth.toString()).length == 1) isMonth = ("0".concat(isMonth.toString()));
- if ((isDay.toString()).length == 1) isDay = ("0".concat(isDay.toString()));
-
- model.setValue("root/send/orddd", isYear.concat(isMonth, isDay) );
- //model.refresh();
- }
- */
- ]]>
- </script>
- </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:800px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">의사별당일마감조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:800px; height:662px; ">
- <group id="group4" style="left:0px; top:10px; width:800px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:800px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:732px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( ipt_orddd.value != "" ){
- if (submit("TRPMB01601")) {
- // var rows = grd_holische_mis.rows;
- // var fixedRows = grd_holische_mis.fixedRows;
- // var dataRows = rows - fixedRows;
- // var strDate = "";
- //
- // for (var i = dataRows ; i>0; i--){
- // strDate = "";
- // strDate = model.getValue("/root/main/drtodayend/drtodayendlist["+i+"]/lastupdtdt");
- // strDate = strDate.substr(0,10) + " "+ strDate.substr(11,2)+ ":" + strDate.substr(14,2);
- // model.setValue("/root/main/drtodayend/drtodayendlist["+i+"]/lastupdtdt",strDate);
- // }
- }
- }else{
- messageBox("진료일자를", "C002");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:716px; y1:7px; x2:716px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:289px; top:8px; width:198px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_orddd.value != "" ){
- submit("TRPMB01601");
- }else{
- messageBox("진료일자를", "C002");
- }
-
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/send/orddrid", "");
- cmb_orddrid.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:213px; top:9px; width:133px; height:17px; ">진료과 :</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">진료일자 :</caption>
- <input id="ipt_orddd" ref="/root/send/orddd" class="input_search" navindex="1" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
- </group>
- <col type="checkbox"/>
- <caption id="caption4" class="tit_2" style="left:6px; top:55px; width:139px; height:13px; ">의사별당일마감내역</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:800px; y2:70px; "/>
- <datagrid id="grd_holische_mis" nodeset="/root/main/drtodayend/drtodayendlist" class="datagrid1" autoresize="true" caption="진료일자^진료과^진료의사^오전/오후^마감사유^마감기간^작업자^작업시간" colsep="^" colwidth="85, 130, 61, 61, 130, 208, 90, 120" dataheight="25" defaultrows="2" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:0px; top:75px; width:800px; height:581px; ">
- <col ref="orddd" visibility="hidden" format="yyyy-mm-dd"/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="ampmflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/P0316list/P0316">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="ordendresn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0037list/P0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="enddt" style="text-align:center; "/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_holische_mis.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:675px; width:800px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:800px; y2:0px; "/>
- <button id="btn_cancel" class="btn4_letter2" navindex="6" style="left:744px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_s_essential" navindex="3" appearance="minimal" style="left:559px; top:31px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:496px; top:31px; width:60px; height:17px; ">의사 :</caption>
- </xhtml:body>
- </xhtml:html>
|