123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353 |
- <?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>
- <gnrlcnstdtbt>
- <item>
- <orddd/>
- <ordtm/>
- <orddeptnm/>
- <orddeptcd/>
- <centnm/>
- <centcd/>
- <subdeptnm/>
- <subdeptcd/>
- <orddrnm/>
- <orddrid/>
- <rsrvflag/>
- <histstat/>
- <remfact/>
- <telrsrvrem/>
- <updtcnclresn/>
- <callrid/>
- <pid/>
- </item>
- </gnrlcnstdtbt>
- <result/>
- <histstatcd/>
- <srchflag/>
- <endcnfmyn/>
- <prcsstat/>
- </main>
- <send>
- <orddrid/>
- <orddeptcd/>
- <fromdd/>
- <todd/>
- <callrid/>
- <pid/>
- <cdgrupid/>
- <centcd/>
- <subdeptcd/>
- </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>
- <list2>
- <item>
- <dispseq/>
- <usernm/>
- <cdid/>
- <fromdd/>
- </item>
- </list2>
- </init>
- <hidden>
- <flag>
- <orddeptcd/>
- <orddrid/>
- <seqno/>
- <drappdd/>
- </flag>
- </hidden>
- <temp>
- <holilist/>
- <gridcnt/>
- <sum_unitcnt/>
- </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("P0037","P0406", "P0464", "P0341"), new Array("/root/init/P0037list","/root/init/P0406list", "/root/init/P0464list", "/root/init/P0341list"));
- pamGetDeptCDDrIDList();
- addComboItem("cmb_orddeptcd","전체","","above");
- addComboItem("cmb_orddrid","전체","","above");
-
- model.refresh();
- fInitialize();
- ]]>
- </script>
- <submission id="TRPMP01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gnrlcnstdtbt"/>
- <submission id="TRPMP01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/list2"/>
- <submission id="TRZSD00207" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </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" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/main/gnrlcnstdtbt/item");
-
- var curDate = getCurrentDate();
- model.setValue("/root/send/fromdd", curDate);
- model.setValue("/root/send/todd", curDate);
- model.setValue("/root/send/cdgrupid", "P0001");
-
- submit("TRPMP01802");
- submit("TRPMP01902");
-
- model.refresh();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; 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:1195px; height:719px; ">
- <group id="group4" style="left:0px; top:14px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1134px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMP01802");
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_default" appearance="minimal" style="left:490px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:5px; top:9px; width:73px; height:17px; ">진료과 :</caption>
- <caption id="caption7" class="search_name" style="left:380px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:95px; top:9px; width:100px; 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[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/send/orddrid", "");
- cmb_orddrid.refresh();
-
- cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ cmb_orddeptcd.value +"' or dp = '']";
- cmb_subdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <line id="line13" class="line_4" style="x1:1128px; y1:7px; x2:1128px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:35px; width:91px; height:17px; ">등록번호 :</caption>
- <caption id="caption2" class="search_name" style="left:380px; top:34px; width:109px; height:17px; ">일반 상담자 :</caption>
- <input id="input1" ref="/root/send/pid" style="left:95px; top:34px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search","DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/send/callrid" appearance="minimal" style="left:490px; top:34px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list2/item">
- <label ref="usernm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" style="left:872px; top:9px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <caption id="caption3" class="search_name" style="left:690px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:887px; top:9px; width:85px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:785px; top:9px; width:85px; height:19px; "/>
- <select1 id="combo2" ref="/root/send/centcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:754px; top:34px; width:126px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/centcd/centcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[cd = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/main/orddeptcd", "");
- cmb_orddeptcd.refresh(); */
-
-
- var centcd = model.getValue("/root/send/centcd");
- if( centcd == '' || centcd == '-' ){
-
- combo3.visible = false;
- cmb_orddeptcd.visible = true;
-
- model.setValue("/root/send/orddeptcd", '');
- model.setValue("/root/send/orddrid", '');
-
- cmb_orddeptcd.refresh();
- cmb_orddrid.refresh();
- }else{
- // var instcd = model.getValue("/root/hidden/session/sess_dutplceinstcd");
- var instcd = getUserInfo("dutplcecd");
- var deptcd = model.getValue("/root/send/centcd");
- var base_dd = new Date().getDateFormat("YYYYMMDD");
- var sort_field = "dispseq";//정렬필드(출력순서:'dispseq')
- var sort_method = "asc"; //정렬방법(오름차순:'asc')
- zsufGetCntrSubOrdDepartmentList(instcd, deptcd, 'O', "/root/hidden/init/cntrsuborddeptlist", base_dd);
-
- combo3.visible = true;
- cmb_orddeptcd.visible = false;
- model.setValue("/root/send/orddeptcd", '');
- model.setValue("/root/send/orddrid", '');
-
- cmb_orddeptcd.refresh();
- cmb_orddrid.refresh();
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="search_name" visibility="hidden" style="left:690px; top:35px; width:73px; height:17px; ">센터 :</caption>
- <select1 id="combo3" ref="/root/send/orddeptcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:95px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/cntrsuborddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/send/orddrid", "");
- cmb_orddrid.refresh();
-
- var orddeptcd = model.getValue("/root/send/orddeptcd");
-
- cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ orddeptcd +"' or dp = '-']";
- cmb_subdeptcd.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_subdeptcd" ref="/root/send/subdeptcd" class="combo_default" appearance="minimal" style="left:200px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptcd/subdeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
- model.setValue("/root/send/orddrid", "");
- cmb_orddrid.refresh();
-
- var orddeptcd = model.getValue("/root/send/orddeptcd");
-
- cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ orddeptcd +"' or dp = '-']";
- cmb_subdeptcd.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <col type="checkbox"/>
- <caption id="caption4" class="tit_2" style="left:6px; top:84px; width:219px; height:13px; ">예약분배 리스트</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:99px; x2:1194px; y2:99px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/gnrlcnstdtbt/item" caption="진료일자^시간^진료과^caption5^센터명^caption1^세부과^caption2^진료의사^caption4^예약구분^진료비^일반상담자^remark^전화예약 참고사항^변경취소 사유^caption3" colsep="^" colwidth="90, 57, 100, 17, 100, 18, 76, 16, 72, 15, 100, 56, 100, 207, 172, 191" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:105px; width:1194px; height:610px; ">
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="centnm" style="text-align:center; "/>
- <col ref="centcd" visibility="hidden"/>
- <col ref="subdeptnm" style="text-align:center; "/>
- <col ref="subdeptcd" visibility="hidden"/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="orddrid" visibility="hidden"/>
- <col disabled="true" ref="rsrvflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0341list/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="histstat" style="text-align:center; "/>
- <col ref="callrid" style="text-align:center; "/>
- <col ref="remfact"/>
- <col ref="telrsrvrem"/>
- <col ref="updtcnclresn"/>
- </datagrid>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:734px; width:1195px; height:31px; ">
- <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|