123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPMNO00400_센터의사조회.xrw
- * 설 명 : 센터의사 조회.
- * 작 성 자 : 김병국
- * 작 성 일 : 20101204
- * 수정이력 :
- * 기 타 :
- -->
- <?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="">
- <send>
- <orddd/>
- <orddeptcd/>
- <specordyn/>
- <session/>
- </send>
- <main>
- <orddrinfo>
- <orddrinfolist/>
- </orddrinfo>
- </main>
- <init>
- <P0350list>
- <P0350>
- <cdnm/>
- <cdid/>
- </P0350>
- </P0350list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- </init>
- <hidden>
- <uid>
- <myself/>
- <opener/>
- </uid>
- <tmp/>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "rcptuseyn";
- var ord_deptflag = 'X';
- var rslt_ref = "/root/hidden/orddeptlist";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = getCurrentDate();
-
- //fGetDeptCodeList(ord_deptflag);
- //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
- //zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
- zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt); //현재 외래간호에서 쓰고있는 부서코드 콤보조회로 변경-kys-20091118
-
- // 테스트데이터 Start-------------------------
- // model.setValue("/root/send/orddd","20071011");
- // model.setValue("/root/send/orddeptcd","2230000000");
- // model.setValue("/root/send/specordyn","Y");
- // 테스트데이터 End-------------------------
- cmb_orddept.refresh();
-
- fSearch();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNO00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/session" resultref="/root/hidden/orddeptlist"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNO00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/orddrinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
-
- model.setValue("/root/send/orddd", model.property("orddd"));
- model.setValue("/root/send/orddeptcd", model.property("orddeptcd"));
- model.makeValue("/root/send/orddeptnm", cmb_orddept.label);
-
- submit("TRMNO00401");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="343" guideline="2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
- <group id="group2" style="left:0px; top:0px; width:518px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:517px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:65px; height:17px; ">센터 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:445px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:429px; y1:7px; x2:429px; y2:29px; border-color:#ffe4bb; "/>
- <select1 id="cmb_orddept" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:78px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:113px; height:14px; ">진료의사</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:517px; y2:60px; "/>
- <datagrid id="grd_orddrinfo" nodeset="/root/main/orddrinfo/orddrinfolist" caption="센터명^센터명^진료과^진료과^진료의사명^진료의사코드" colsep="^" colwidth="100, 100, 100, 100, 131, 129" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" navindex="7" style="left:0px; top:64px; width:517px; height:230px; ">
- <col ref="ordcentnm"/>
- <col ref="orddeptcd"/>
- <col ref="orddeptnm"/>
- <col ref="orddeptcd"/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- btn_confirm.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if( event.keyCode == 13 ){
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:402px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.property("orddrid") = grd_orddrinfo.valueMatrix(grd_orddrinfo.row, grd_orddrinfo.colRef("orddrid"));
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:461px; 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:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|