123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506 |
- <?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="">
- <send>
- <search>
- <dayflag>1</dayflag>
- <f_date/>
- <t_date/>
- <coophospnm/>
- <dirofhospnm/>
- <drnm/>
- <orddeptcd/>
- <orddrid/>
- <hospgrade/>
- <codrdeptcd/>
- <hospflag>1</hospflag>
- <zeroyn/>
- <areacd/>
- <offset>0</offset>
- <pagesize>5000</pagesize>
- <spcldryn/>
- </search>
- <doctor/>
- </send>
- <main>
- <list>
- <hosp_list>
- <coophospnm/>
- <drnm/>
- <count/>
- <areacd/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <detladdr/>
- <telno/>
- <faxno/>
- <clsmatyn/>
- <hospgrade/>
- <codrdeptnm/>
- <rgstdd/>
- <jobposnm/>
- <mjfield01/>
- <mjfield02/>
- <mjfield03/>
- <mjfield04/>
- <mjfield05/>
- <mjfield06/>
- <mjfield07/>
- <mjfield08/>
- <mjfield09/>
- <mjfield10/>
- <mjfield11/>
- <mjfield12/>
- <mjfield13/>
- <mjfield14/>
- </hosp_list>
- </list>
- </main>
- <init>
- <hospgrade>
- <A0429/>
- </hospgrade>
- <hospgrade1>
- <A0429/>
- </hospgrade1>
- <areacd>
- <A0426/>
- </areacd>
- <dept>
- <dept>
- </dept>
- </dept>
- <doctlist>
- <medispcl>
- <doctid/>
- <doctnm/>
- </medispcl>
- <atdoct>
- <doctid/>
- <doctnm/>
- </atdoct>
- </doctlist>
- <condareacd>
- <A0426/>
- </condareacd>
- <conddept>
- <dept/>
- </conddept>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRARC01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doctor" resultref="/root/init/doctlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRARH00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" add="bottom" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/utilHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script src="../../../com/departmentcodeweb/js/common.js" type="javascript"/>
- <script src="../../../com/departmentcodeweb/js/ZSD001.js" type="javascript"/>
- <script type="javascript">
- <![CDATA[
- //===========================
- // 의뢰건이 있는 병원만 조회가 된다.
- //===========================
-
- // 초기값
- function fInit()
- {
- // 공통코드 목록 가져오기
- zbcfGetCodeList(new Array("A0429", "A0429"), new Array("/root/init/hospgrade", "/root/init/hospgrade1") , true);
-
- // 유형코드
- zbcfGetKindCodeList(
- new Array("A0014", "A0014"), //업무규칙
- new Array("A0426", "A0426"), //코드군
- new Array("/root/init/areacd", "/root/init/condareacd"), //노드
- true, //minimum : true TRZBC00105
- new Array("", ""), //sorting 항목
- new Array("", "")
- );
-
-
- // 오늘 날짜로 세팅
- var CurrentDate = getCurrentDate();
- model.setValue("/root/send/search/f_date", CurrentDate.substr(0, 6) + "01");
- model.setValue("/root/send/search/t_date", CurrentDate);
-
- // 진료과
- //var instcd = "012";
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "rcptuseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/dept";
- var sort_method = "depthngnm";
- //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
- sort_field = "depthngnm"
- zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method);
-
- //kimsj 091201 개원의 진료과 서울성모병원 진료과로 세팅
- var instcd1 = "012";
- var rslt_ref1 = "/root/init/conddept";
- zsdfGetInOutOrdDeptList(instcd1, rslt_ref1, sort_field, sort_method);
-
- addComboItem("cmb_orddeptcd", "", "", "above");
- addComboItem("cmb_condareacd", "", "", "above");
-
- addComboItem("cmb_hospgrade", "협력병의원", "CA", "above");
-
- addComboItem("cmb_hospgrade", "", "", "above");
-
- cmb_hospgrade.select(0);
-
- model.removeNodeset("/root/main/list/hosp_list");
-
- fDoctSerach();
-
- // 그리더 헤더 셋팅
- fRdoSelect();
-
- model.refresh();
- }
-
- // 진료의사 조회
- function fDoctSerach()
- {
- // 진료의사
- model.removenode("/root/send/doctor");
- model.makeValue("/root/send/doctor/orddd", model.getValue("/root/send/search/f_date"));
- model.makeValue("/root/send/doctor/orddeptcd", model.getValue("/root/send/search/orddeptcd"));
-
- submit("TRARC01302", false);
- cmb_orddrid.select(0);
- //model.setValue("/root/main/patient/orddrid", orddrid);
- }
-
- // 조회
- function fSearch()
- {
-
- //model.removeNodeset("/root/main/list/hosp_list");
- model.removeNodeset("/root/main/list");
-
- model.setValue("/root/send/search/offset", "0");
- // reqGetRqstHospList
- // getRqstHospList
- if (submit("TRARH00401") == true)
- {
- //grd_list.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
- //fHospDisabled(true);
- }
- else
- {
- messageBox("조회를", "E009");
- }
- }
-
-
- function fSubmitOnScroll() {
-
- //if (grd_list.rows < 24) return;
-
- if(grd_list.vscroll.attribute("max") == grd_list.vscroll.attribute("pos")) {
- // end of scroll
- model.setValue("/root/send/search/offset", grd_list.rows-grd_list.fixedRows); // grid의 header row는 제외
- submit("TRARH00401");
- grd_list.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
- }
- }
-
- // 초기화
- function fAllClear()
- {
- model.resetInstanceNode("/root/send/search");
-
- // 오늘 날짜로 세팅
- var CurrentDate = getCurrentDate();
- model.setValue("/root/send/search/f_date", CurrentDate.substr(0, 6) + "01");
- model.setValue("/root/send/search/t_date", CurrentDate);
-
- cmb_dayflag.select(0);
- cmb_hospgrade.select(0);
- rdo_hospflag.select(0);
- fRdoSelect();
- model.removeNodeset("/root/main/list/hosp_list");
-
- model.refresh();
- }
-
- // 리스트 엑셀 파일로 저장
- function fExcel()
- {
- if (grd_list.rows <= 1) return;
-
- var fileName = window.fileDialog("save", ",", false, "의뢰병원현황 리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_list.saveExcel(fileName, "의뢰병원현황", false, false, "", "", false);
- }
- }
-
- // 그리드 헤더
- function fRdoSelect()
- {
- if (rdo_hospflag.value == "1")
- {
- grd_list.caption = "병의원명^병원장명^의뢰건수^지역명^우편번호^우편번호^주소^주소^전화번호^팩스번호^동문여부^병원구분^대표과^병원등록일자";
- }
- else if (rdo_hospflag.value == "2")
- {
- grd_list.caption = "병의원명^의뢰의사명^의뢰건수^지역명^우편번호^우편번호^주소^주소^전화번호^팩스번호^동문여부^병원구분^의뢰의사 진료과^병원등록일자";
- }
- else
- {
- grd_list.caption = "병의원명^실무자명^의뢰건수^지역명^우편번호^우편번호^주소^주소^전화번호^팩스번호^동문여부^병원구분^대표과^병원등록일자";
- }
- }
-
- // 라벨 출력
- function fLabelPrint()
- {
- exeReportPreview("RPARH00401", "XMLSTR");
- }
-
-
-
- ]]>
- </script>
- <xhtml:body guideline="1,2;1,1195;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
- <group id="group2" style="left:0px; top:13px; width:1195px; height:744px; vertical-align:top; ">
- <group id="group1" style="left:0px; top:10px; width:1194px; height:95px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:90px; "/>
- <line id="line8" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:85px; "/>
- <caption id="caption9" class="search_name" style="left:20px; top:10px; width:94px; height:17px; ">등록일자 :</caption>
- <caption id="caption11" class="search_name" style="left:850px; top:35px; width:94px; height:17px; ">병원장명 :</caption>
- <caption id="caption5" class="search_no_b" style="left:357px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/send/search/t_date" class="input_search" inputtype="date" style="left:375px; top:10px; width:95px; height:19px; "/>
- <input id="input5" ref="/root/send/search/f_date" class="input_search" inputtype="date" style="left:255px; top:10px; width:95px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:320px; top:60px; width:104px; height:17px; ">의뢰의사명 :</caption>
- <caption id="caption4" class="search_name" style="left:590px; top:35px; width:94px; height:17px; ">병의원명 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:31px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddrid" ref="/root/send/search/orddrid" class="combo_search" appearance="minimal" style="left:945px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/doctlist/medispcl/">
- <label ref="doctnm"/>
- <value ref="doctid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:590px; top:10px; width:94px; height:17px; ">진료과 :</caption>
- <caption id="caption6" class="search_name" style="left:850px; top:10px; width:94px; height:17px; ">진료의사 :</caption>
- <caption id="caption13" class="search_name" style="left:20px; top:35px; width:91px; height:17px; ">병원구분 :</caption>
- <select1 id="cmb_hospgrade" ref="/root/send/search/hospgrade" class="combo_search" appearance="minimal" style="left:155px; top:35px; width:130; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hospgrade/A0429">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_condareacd" ref="/root/send/search/areacd" class="combo_search" appearance="minimal" style="left:425px; top:35px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/condareacd/A0014A0426">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:20px; top:60px; width:130px; height:17px; ">의뢰의사 진료과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/search/orddeptcd" class="combo_search" appearance="minimal" style="left:685px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDoctSerach();
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_coophospnm" ref="/root/send/search/coophospnm" class="input_search" style="left:685px; top:35px; width:130px; height:19px; "/>
- <input id="ipt_dirofhospnm" ref="/root/send/search/dirofhospnm" class="input_search" style="left:945px; top:35px; width:130px; height:19px; "/>
- <input id="ipt_drnm" ref="/root/send/search/drnm" class="input_search" style="left:425px; top:60px; width:130; height:19px; "/>
- <select1 id="cmb_codrorddeptcd" ref="/root/send/search/codrdeptcd" class="combo_search" appearance="minimal" style="left:155px; top:60px; width:130; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/conddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_hospflag" ref="/root/send/search/hospflag" appearance="full" cols="3" overflow="visible" style="left:590px; top:60px; width:185px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>병원별</label>
- <value>1</value>
- </item>
- <item>
- <label>의사별</label>
- <value>2</value>
- </item>
- <item>
- <label>실무자별</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fRdoSelect();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dayflag" ref="/root/send/search/dayflag" class="combo_search" appearance="minimal" style="left:155px; top:10px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>의뢰등록일자</label>
- <value>1</value>
- </item>
- <item>
- <label>병원등록일자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select id="chk_clsmatyn" ref="/root/send/search/zeroyn" overflow="visible" appearance="full" style="left:775px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의뢰0건 포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption35" class="search_name" style="left:320px; top:35px; width:86px; height:17px; ">지역명 :</caption>
- <select id="checkbox1" ref="/root/send/search/spcldryn" overflow="visible" appearance="full" cols="2" sep="','" style="left:875px; top:60px; width:225px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>치과의사제외</label>
- <value>2</value>
- </item>
- <item>
- <label>한의사제외</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:131px; x2:1194px; y2:131px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:112px; width:139px; height:13px; ">의뢰병원현황 리스트</caption>
- <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:109px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcel();
- ]]>
- </script>
- </button>
- <datagrid id="grd_list" nodeset="/root/main/list/hosp_list" autoresize="true" caption="병의원명^의뢰의사명^의뢰건수^지역명^우편번호^우편번호^주소^주소^전화번호^팩스번호^동문여부^병원구분^의뢰의사 진료과^병원등록일자^응급실 운영^수술여부^중환자실^인공호흡기^재원:항암,RT환자^혈액,종양내과^감염관리^투석^재활^장기요양^호스피스 말기암관리^수혈^항생제^통증" colsep="^" colwidth="130, 110, 70, 110, 60, 60, 250, 240, 110, 110, 70, 90, 110, 100, 100, 100, 100, 100, 105, 100, 100, 100, 100, 100, 120, 100, 100, 100" dataheight="25" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:135px; width:1195px; height:603px; vertical-align:middle; ">
- <col ref="coophospnm"/>
- <col ref="drnm"/>
- <col ref="count" style="text-align:center; "/>
- <col disabled="true" ref="areacd" type="combo">
- <choices>
- <itemset nodeset="/root/init/areacd/A0014A0426">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="zipcd1" style="text-align:center; "/>
- <col ref="zipcd2" style="text-align:center; "/>
- <col ref="addr"/>
- <col ref="detladdr"/>
- <col ref="telno"/>
- <col ref="faxno"/>
- <col ref="clsmatyn" style="text-align:center; "/>
- <col disabled="true" ref="hospgrade" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/hospgrade1/A0429">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="codrdeptnm"/>
- <col ref="rgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mjfield01" style="text-align:center; "/>
- <col ref="mjfield02" style="text-align:center; "/>
- <col ref="mjfield03" style="text-align:center; "/>
- <col ref="mjfield04" style="text-align:center; "/>
- <col ref="mjfield05" style="text-align:center; "/>
- <col ref="mjfield06" style="text-align:center; "/>
- <col ref="mjfield07" style="text-align:center; "/>
- <col ref="mjfield08" style="text-align:center; "/>
- <col ref="mjfield09" style="text-align:center; "/>
- <col ref="mjfield10" style="text-align:center; "/>
- <col ref="mjfield11" style="text-align:center; "/>
- <col ref="mjfield12" style="text-align:center; "/>
- <col ref="mjfield13" style="text-align:center; "/>
- <col ref="mjfield14" style="text-align:center; "/>
- <script type="javascript" ev:event="onscrolldown">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- </datagrid>
- <button id="btn_labelprint" class="btn2_letter4" style="left:1085px; top:109px; width:64px; height:19px; ">
- <caption>라벨출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLabelPrint();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의뢰병원현황</caption>
- </group>
- <group id="group6" style="left:0px; top:755px; width:1195px; height:27px; ">
- <button id="btn_allclear" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAllClear();
- ]]>
- </script>
- </button>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|