123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <?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>외래예약 리스트 분배</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <orddrid/>
- <orddeptcd/>
- <orddeptnm/>
- <orddrnm/>
- <centcd/>
- <centnm/>
- <ddrsrvprescond>
- <item>
- <chk/>
- <orddd/>
- <ordtm/>
- <hngnm/>
- <rsrvflag/>
- <callrid/>
- <orddeptcd/>
- <orddrid/>
- <pid/>
- <cretno/>
- </item>
- </ddrsrvprescond>
- <list2>
- <item>
- <check/>
- <dispseq/>
- <usernm/>
- <cdid/>
- <fromdd/>
- </item>
- </list2>
- <result/>
- <histstatcd/>
- <srchflag/>
- <endcnfmyn/>
- <prcsstat/>
- </main>
- <send>
- <orddrid/>
- <orddeptcd/>
- <srchcond/>
- <fromdd/>
- <todd/>
- <updatedata>
- <datalist/>
- </updatedata>
- <ordendcnfmyn/>
- <acceptstatflag/>
- <histstat/>
- <endcnfmyn/>
- <prcsstat/>
- <cdgrupid/>
- <startdate/>
- <savedata/>
- <centcd/>
- </send>
- <init>
- <P0037list>
- <P0037>
- <cdnm/>
- <cdid/>
- </P0037>
- </P0037list>
- <P0406list>
- <P0406>
- <cdid/>
- <cdnm/>
- </P0406>
- </P0406list>
- <P0341list>
- <P0341>
- <cdid/>
- <cdnm/>
- </P0341>
- </P0341list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- <P0464list>
- <P0464>
- <cdid/>
- <cdnm/>
- </P0464>
- </P0464list>
- </init>
- <hidden>
- <flag>
- <orddeptcd/>
- <orddrid/>
- <seqno/>
- <drappdd/>
- </flag>
- </hidden>
- <temp>
- </temp>
- </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("P0341"), new Array("/root/init/P0341list"));
- pamGetDeptCDDrIDList();
-
- fInitialize();
-
- var orddeptcd = opener.javascript.getParameter("orddeptcd");
- var orddrid = opener.javascript.getParameter("orddrid");
- var drappdd = opener.javascript.getParameter("drappdd");
- var fromdd = opener.javascript.getParameter("fromdd");
- var todd = opener.javascript.getParameter("todd");
- var orddeptnm = opener.javascript.getParameter("orddeptnm");
- var orddrnm = opener.javascript.getParameter("orddrnm");
- var centcd = opener.javascript.getParameter("centcd");
- var centnm = opener.javascript.getParameter("centnm");
-
- model.setValue("/root/send/orddeptcd", orddeptcd);
- model.setValue("/root/send/orddrid", orddrid);
- model.setValue("/root/send/fromdd", fromdd);
- model.setValue("/root/send/todd", todd);
- model.setValue("/root/send/centcd", centcd);
-
- model.setValue("/root/main/orddeptnm", orddeptnm);
- model.setValue("/root/main/orddrnm", orddrnm);
- model.setValue("/root/main/centnm", centnm);
-
- submit("TRPMP01801");
-
- model.setValue("/root/send/cdgrupid", "P0001");
- model.setValue("/root/send/startdate", getCurrentDate());
- submit("TRPMP01902");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRPMP01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ddrsrvprescond"/>
- <submission id="TRPMP01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list2"/>
- <submission id="TXPMP01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tem"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.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">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/main/ddrsrvprescond/item");
- model.resetInstanceNode("/root/main/list2/item");
-
- model.refresh();
- }
-
- function fDataCheck( flag ){
-
- var ordendcnfmyn = "";
- for( var i = grd_ddrsrvprescond.fixedRows; i < grd_ddrsrvprescond.rows; i++){
-
- if( grd_ddrsrvprescond.valueMatrix( i, grd_ddrsrvprescond.colRef("check") ) == 'Y' ){
-
- }
- }
-
- return true;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="860" pageheight="590" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:830px; 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:830px; height:522px; ">
- <group id="group4" style="left:0px; top:14px; width:830px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:830px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" visibility="hidden" style="left:759px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:20px; top:9px; width:73px; height:17px; ">진료과 :</caption>
- <caption id="caption7" class="search_name" style="left:476px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
- <line id="line13" class="line_4" style="x1:753px; y1:7px; x2:753px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <output id="output1" ref="/root/main/orddeptnm" appearance="output" style="left:94px; top:8px; width:100px; height:19px; "/>
- <output id="output2" ref="/root/main/orddrnm" appearance="output" style="left:565px; top:8px; width:100px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:250px; top:9px; width:73px; height:17px; ">센터 :</caption>
- <output id="output3" ref="/root/main/centnm" appearance="output" style="left:314px; top:8px; width:100px; height:19px; "/>
- </group>
- <col type="checkbox"/>
- <caption id="caption4" class="tit_2" style="left:6px; top:59px; width:219px; height:14px; ">일별 예약현황</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:74px; x2:586px; y2:74px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/list2/item" caption="상담자" colsep="^" colwidth="173" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:610px; top:80px; width:220px; height:440px; ">
- <col ref="usernm" style="text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:610px; y1:74px; x2:830px; y2:74px; "/>
- <caption id="caption8" class="tit_2" style="left:610px; top:59px; width:120px; height:13px; ">일반 상담자</caption>
- <datagrid id="datagrid2" nodeset="/root/main/ddrsrvprescond/item" caption="^진료일자^시간^환자명^예약구분^일반상담자^caption3^caption1^caption2^caption4" colsep="^" colwidth="36, 98, 66, 80, 133, 133, 26, 31, 17, 18" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:1px; top:80px; width:584px; height:440px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtm" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="rsrvflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0341list/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="callrid"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:538px; width:830px; height:31px; ">
- <button id="btn_saveSche7" class="btn4_letter2" style="left:771px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:830px; y2:0px; "/>
- <button id="button1" class="btn4_letter2" style="left:705px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- nodeList = instance1.selectNodes("/root/main/ddrsrvprescond/item[chk='true']");
- rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == null ) {
- messageBox("예약 현황에서 처리할 대상을 선택해 주십시오.", "I999");
- return;
- }
-
- if ( datagrid1.row > 0 ) {
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata/ddrsrvprescond");
- model.makeNode("/root/send/savedata/list2");
-
- model.setValue("/root/send/savedata/ddrsrvprescond", rCSV);
- model.makeValue("/root/send/savedata/list2", model.getValue("/root/main/list2/item["+datagrid1.row+"]/cdid"));
-
- submit("TXPMP01801");
- } else {
- messageBox("일반 상담자를 선택해 주십시오.", "I999");
- return;
- }
-
- submit("TRPMP01801");
-
- model.setValue("/root/send/cdgrupid", "P0001");
- model.setValue("/root/send/startdate", getCurrentDate());
- submit("TRPMP01902");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter3" visibility="hidden" style="left:625px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|