123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <?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>
- <view>
- <userlist>
- <userkindcd/>
- <userid/>
- <usernm/>
- <cdnm/>
- <hospnm/>
- </userlist>
- </view>
- </main>
- <send>
- <srchnm/>
- </send>
- </root>
- </instance>
- <script type="javascript" src="../../../com/basiccodeweb/js/basiccodeweb.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/view/userlist");
- model.setFocus("input3");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function search() {
- if(model.getValue("/root/send/srchnm").length < 2) {
- messageBox("두글자 이상입력하세요!", "I");
- model.setFocus("input3");
- return;
- }
- submit("TRIRS00154");
- model.setFocus("input3");
- }
- ]]>
- </script>
- <submission id="TRIRS00154" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchnm" replace="instance" resultref="/root/main/view"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="343" guideline="1,518;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:5px; width:518px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:517px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성명 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:445px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- search();
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/srchnm" class="input_search" style="left:84px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setFocus("btn_search");
- search();
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:100px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">연구자 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:517px; y2:61px; "/>
- <datagrid id="popupdata" nodeset="/root/main/view/userlist" caption="성명^구분^소속^직위" colwidth="100, 80, 140, 140" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:66px; width:517px; height:250px; ">
- <col ref="usernm"/>
- <col ref="userkindcd" type="combo">
- <choices>
- <item>
- <label>내부연구자</label>
- <value>1</value>
- </item>
- <item>
- <label>외부연구자</label>
- <value>2</value>
- </item>
- <item>
- <label>코디네이터</label>
- <value>3</value>
- </item>
- <item>
- <label>관리약사</label>
- <value>4</value>
- </item>
- <item>
- <label>담당자</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="hospnm"/>
- <col ref="cdnm"/>
- <col ref="userid" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var userid = model.getValue("/root/main/view/userlist["+popupdata.row+"]/userid");
- var usernm = model.getValue("/root/main/view/userlist["+popupdata.row+"]/usernm");
- var hospnm = model.getValue("/root/main/view/userlist["+popupdata.row+"]/hospnm");
- var cdnm = model.getValue("/root/main/view/userlist["+popupdata.row+"]/cdnm");
-
- var obj = new Object();
- obj.userid = userid;
- obj.usernm = usernm;
- obj.hospnm = hospnm;
- obj.cdnm = cdnm;
- opener.window.javascript.setUserInfo(obj, opener.javascript.getParameter("activeMode"));
- window.close();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <caption id="caption3" style="left:10px; top:5px; width:390px; height:20px; ">검색된 연구자를 선택할경우 더블클릭 해주십시오</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|