123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- <?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>
- <gnrlcnstdtbt>
- <item>
- <orddd/>
- <ordtm/>
- <orddeptnm/>
- <orddeptcd/>
- <centnm/>
- <centcd/>
- <subdeptnm/>
- <subdeptcd/>
- <orddrnm/>
- <orddrid/>
- <rsrvflag/>
- <hngnm/>
- <pid/>
- <rrgstno/>
- <callrid/>
- <callrnm/>
- <callno/>
- <fstcalldt/>
- <scdcalldt/>
- <thdcalldt/>
- <cretno/>
- <orgcallno/>
- </item>
- </gnrlcnstdtbt>
- <result/>
- <histstatcd/>
- <srchflag/>
- <endcnfmyn/>
- <prcsstat/>
- </main>
- <send>
- <orddrid/>
- <orddeptcd/>
- <pid/>
- <callrid/>
- <cdgrupid/>
- <fromdd/>
- <todd/>
- <senddata/>
- <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>
- </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");
-
- fInitialize();
-
- /* var orddeptcd = opener.javascript.getParameter("orddeptcd");
- var orddrid = opener.javascript.getParameter("orddrid");
- //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 callrid = opener.javascript.getParameter("callrid");
-
- 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/callrid", callrid); */
-
- submit("TRPMP01703");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMP01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/list2"/>
- <submission id="TRPMP01703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/gnrlcnstdtbt"/>
- <submission id="TXPMP01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- <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");
-
- model.setValue("/root/send/cdgrupid", "P0001");
-
- submit("TRPMP01902");
-
- model.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1050" pageheight="700" guideline="1,1019;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1020px; 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:1020px; height:637px; ">
- <group id="group4" style="left:0px; top:14px; width:1020px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1020px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:954px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMP01703");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:948px; y1:7px; x2:948px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <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>
- <select1 id="combo2" ref="/root/send/centcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:709px; top:9px; 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>
- <select1 id="combo3" ref="/root/send/orddeptcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:100px; 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>
- <caption id="caption5" class="search_name" style="left:20px; top:9px; width:73px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:100px; 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>
- <caption id="caption7" class="search_name" style="left:395px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
- <caption id="caption8" class="search_name" visibility="hidden" style="left:645px; top:10px; width:73px; height:17px; ">센터 :</caption>
- <select1 id="cmb_subdeptcd" ref="/root/send/subdeptcd" class="combo_default" appearance="minimal" style="left:205px; 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:59px; width:219px; height:14px; ">일별 예약현황</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:74px; x2:1020px; y2:74px; "/>
- <datagrid id="grd_gnrlcnstdtbt" nodeset="/root/main/gnrlcnstdtbt/item" caption="진료일자^시간^진료과^caption7^센터명^caption1^세부과^caption9^진료의사^caption2^예약구분^환자명^등록번호^주민번호^caption6^일반상담자^전화횟수^1회 전화이력^2회 전화이력^3회 전화이력^caption3^caption5^caption4" colsep="^" colwidth="73, 40, 100, 5, 100, 4, 100, 6, 61, 4, 77, 91, 79, 100, 9, 70, 59, 120, 120, 120, 8, 10, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:1020px; height:555px; ">
- <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="hngnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="callrid" visibility="hidden"/>
- <col ref="callrnm" visibility="hidden"/>
- <col class="gridcombo" ref="callno" type="combo">
- <choices>
- <item>
- <label>1회</label>
- <value>1</value>
- </item>
- <item>
- <label>2회</label>
- <value>2</value>
- </item>
- <item>
- <label>3회</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="fstcalldt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="scdcalldt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="thdcalldt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="orgcallno" visibility="hidden"/>
- <col ref="orgcallno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/gnrlcnstdtbt/item["+ grd_gnrlcnstdtbt.row +"]/callno") < model.getValue("/root/main/gnrlcnstdtbt/item["+ grd_gnrlcnstdtbt.row +"]/orgcallno") ) {
- messageBox("수정하실 수 없습니다.", "I999");
- model.setValue("/root/main/gnrlcnstdtbt/item["+ grd_gnrlcnstdtbt.row +"]/callno", model.getValue("/root/main/gnrlcnstdtbt/item["+ grd_gnrlcnstdtbt.row +"]/orgcallno"));
-
- grd_gnrlcnstdtbt.rowStatus(grd_gnrlcnstdtbt.row) = 0;
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:649px; width:1020px; height:31px; ">
- <button id="btn_saveSche7" class="btn4_letter2" style="left:890px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/senddata", grd_gnrlcnstdtbt.getUpdateData());
- submit("TXPMP01701");
- submit("TRPMP01703");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1020px; y2:0px; "/>
- <button id="button1" class="btn4_letter2" style="left:955px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|