123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>부서 및 의사조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <usndept>
- <usndeptlist/>
- </usndept>
- </main>
- <send>
- <deptref>
- <instcd/>
- <actdeptcd/>
- <actdeptnm/>
- <actprcpdrid/>
- <actprcpdrnm/>
- <usndeptch/>
- <usndeptip/>
- </deptref>
- </send>
- <init>
- <usndept>
- <label>부서코드</label>
- <value>actdeptcd</value>
- <label>부서명</label>
- <value>actdeptnm</value>
- <label>의사코드</label>
- <value>actprcpdrid</value>
- <label>의사명</label>
- <value>actprcpdrnm</value>
- </usndept>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRPIC90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptref" resultref="/root/main/usndept"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue(rdo_usndept.attribute("ref"), "actdeptcd");
- model.removeNodeset("/root/main/usndept/usndeptlist");
- model.copyNode("root/main","/root/temp/validation");
- // model.setValue("/root/send/deptref/instcd",model.getValue("/root/temp/defalut/instcd"));
- model.refresh();
- ]]>
- </script>
- <submission id="TRPIC90404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptref" resultref="/root/main/usndept"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- var vflag = null;
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="450" pageheight="700">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:12px; top:30px; width:425px; height:55px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:143px; height:15px; ">부서코드 및 의사ID 조회</caption>
- <caption id="caption1" class="search_name" style="left:25px; top:60px; width:105px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_usndept" ref="/root/send/deptref/usndeptch" class="radio_search" appearance="full" cellspacing="10" cols="4" style="left:25px; top:35px; width:305px; height:25px; ">
- <choices>
- <item>
- <label>부서코드</label>
- <value>actdeptcd</value>
- </item>
- <item>
- <label>부서명</label>
- <value>actdeptnm</value>
- </item>
- <item>
- <label>의사ID</label>
- <value>actprcpdrid</value>
- </item>
- <item>
- <label>의사명</label>
- <value>actprcpdrnm</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_usndept.value == "actdeptcd") {
- ipt_usndept.attribute("imemode") = "disabled";
- }
- else if (rdo_usndept.value == "actdeptnm") {
- ipt_usndept.attribute("imemode") = "hangul";
- }
- else if (rdo_usndept.value == "actprcpdrnm"){
- ipt_usndept.attribute("imemode") = "hangul";
- }else{
- ipt_usndept.attribute("imemode") = "disabled";
- }
- model.setValue("/root/send/deptref/usndeptip" ,"");
- model.setFocus("ipt_usndept");
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[원하는 조건을 선택 후 데이터를 입력해 주세요]]>
- </hint>
- </select1>
- <input id="ipt_usndept" ref="/root/send/deptref/usndeptip" style="left:118px; top:60px; width:147px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_usndeptsch", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:362px; y1:37px; x2:362px; y2:77px; "/>
- <button id="btn_usndeptsch" class="btn1_letter2" style="left:372px; top:44px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_usndept.value == "actdeptcd") {
- model.setValue("/root/send/deptref/actdeptcd" ,ipt_usndept.value);
- model.setValue("/root/send/deptref/actdeptnm" , "");
- model.setValue("/root/send/deptref/actprcpdrid" , "");
- model.setValue("/root/send/deptref/actprcpdrnm" , "");
-
- }else if(rdo_usndept.value == "actdeptnm"){
-
- model.setValue("/root/send/deptref/actdeptnm",ipt_usndept.value);
- model.setValue("/root/send/deptref/actdeptcd" , "");
- model.setValue("/root/send/deptref/actprcpdrid" , "");
- model.setValue("/root/send/deptref/actprcpdrnm" , "");
-
- }else if(rdo_usndept.value == "actprcpdrid"){
- model.setValue("/root/send/deptref/actprcpdrid" ,ipt_usndept.value);
- model.setValue("/root/send/deptref/actdeptcd" , "");
- model.setValue("/root/send/deptref/actdeptnm" , "");
- model.setValue("/root/send/deptref/actprcpdrnm" , "");
-
- }else{
-
- model.setValue("/root/send/deptref/actprcpdrnm",ipt_usndept.value);
- model.setValue("/root/send/deptref/actdeptcd" , "");
- model.setValue("/root/send/deptref/actdeptnm" , "");
- model.setValue("/root/send/deptref/actprcpdrid" , "");
-
- }
-
- model.setValue("/root/send/deptref/usndeptch", rdo_usndept.value);
- model.setValue("/root/send/deptref/instcd", getUserInfo("dutplceinstcd"));
- //model.refresh();
- submit("TRPIC90401");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="tit_2" style="left:5px; top:95px; width:147px; height:13px; ">행위재료 검색</caption>
- <line id="line2" class="line_1" style="x1:7px; y1:110px; x2:442px; y2:110px; "/>
- <datagrid id="grd_usndept" nodeset="/root/main/usndept/usndeptlist" caption="부서코드^부서명^의사코드^의사명^기관코드" colsep="^" colwidth="93, 110, 101, 81, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:11px; top:118px; width:428px; height:512px; ">
- <col ref="actdeptcd" style="text-align:center; "/>
- <col ref="actdeptnm" style="text-align:center; "/>
- <col ref="actprcpdrid" style="text-align:center; "/>
- <col ref="actprcpdrnm" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //if( grd_usndept.isCell(event.target) && grd_usndept.row > grd_usndept.fixedRows )
- //{
- btn_access.dispatch("DOMActivate");
- //}
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
-
- grd_usndept.gridToInstance();
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_access" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:320px; top:640px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- opener.javascript.setParameter("actdeptcd",model.getValue("/root/main/usndept/usndeptlist["+grd_usndept.row+"]/actdeptcd"));//common.js popup설정(["+grd_usndept.row+"] => 선택한 그리드 행
- opener.javascript.setParameter("actdeptnm",model.getValue("/root/main/usndept/usndeptlist["+grd_usndept.row+"]/actdeptnm"));
- opener.javascript.setParameter("actprcpdrid",model.getValue("/root/main/usndept/usndeptlist["+grd_usndept.row+"]/actprcpdrid"));
- opener.javascript.setParameter("actprcpdrnm",model.getValue("/root/main/usndept/usndeptlist["+grd_usndept.row+"]/actprcpdrnm"));
- model.close();
-
- ]]>
- </script>
- <hint>
- <![CDATA[리스트를 선택 후 클릭해 주세요]]>
- </hint>
- </button>
- <button id="btn_cancel" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:385px; top:640px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- <hint>
- <![CDATA[popup창을 닫습니다]]>
- </hint>
- </button>
- </xhtml:body>
- </xhtml:html>
|