123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <?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>
- <list>
- <grid1>
- <item>
- <m/>
- <userkind/>
- <usernm/>
- <userid/>
- <sosok/>
- <mpphonno/>
- <chrgyn/>
- <subjid/>
- <instcd/>
- <conreseryn/>
- <grupjoblncd/>
- </item>
- </grid1>
- <grid2>
- <item>
- <subjid/>
- <subjno/>
- <subjnm/>
- <itemnm/>
- <instcd/>
- <cmpynm/>
- </item>
- </grid2>
- </list>
- </main>
- <send>
- <data>
- <subjid/>
- <instcd/>
- <subjno/>
- <screenmenu/>
- </data>
- </send>
- <senddata>
- <grid1/>
- </senddata>
- <init>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <cmb_info>
- <initbank>
- <cdid/>
- <cdnm/>
- </initbank>
- </cmb_info>
- </init>
- <hidden>
- <source>
- <seqno/>
- </source>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList( new Array("R0001"), new Array("/root/init/cmb_info/initbank") );
- submit("TRZBC00101", false);
- model.removeNodeset("/root/main/list/grid1");
-
- model.setValue("/root/send/data/screenmenu", getScreenMenuParameter());
-
- submit("TRIRS00202", false);
- submit("TRIRZ00000", false);
-
- if ( model.getValue("/root/send/data/screenmenu") == 'C' ) {
- btn_save.disabled = true;
- } else {
- btn_save.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRICU01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/init/expendcdinfo"/>
- <submission id="TRZBC00101"/>
- <submission id="TRIRS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/list/grid1"/>
- <submission id="TXIRS00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/senddata/grid1" replace="instance" resultref="/root/hidden/source"/>
- <submission id="TRIRS00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/grid2"/>
- <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/baseinfo"/>
- </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="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="880" pageheight="580" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption1" class="tit_2" style="left:0px; top:50px; width:185px; height:13px; ">연구과제</caption>
- <button id="btn_save" class="btn5_letter3" navindex="30" style="left:765px; top:525px; width:53px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var update = getGridUpdateData(grd_reserapnt);
- model.setValue("/root/senddata/grid1", update);
- if (submit("TXIRS00201", false)){
- submit("TRIRS00201");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_reserapnt" nodeset="/root/main/list/grid1/item" autoresize="true" caption="역할^성명^사번^소속^연락처^선택^caption1^caption2" colsep="^" colwidth="100, 100, 100, 118, 130, 72, 55, 22, 17" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:347px; width:815px; height:165px; ">
- <col disabled="true" ref="userkind" 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>
- </choices>
- </col>
- <col ref="usernm"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="sosok"/>
- <col ref="mpphonno"/>
- <col checkvalue="Y,N" ref="chrgyn" type="radio"/>
- <col checkvalue="Y,N" ref="conreseryn" type="checkbox" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- if (grd_reserapnt.col == 6)
- {
- if (model.getValue("/root/main/list/grid1/item["+ grd_reserapnt.row +"]/grupjoblncd") != "28")
- {
- messageBox("계약연구원으로 선택하실 수 없습니다", "I");
- grd_reserapnt.valueMatrix(grd_reserapnt.row, grd_reserapnt.colRef("conreseryn")) = "N";
- }
- }
- */
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_subj" nodeset="/root/main/list/grid2/item" caption="과제ID^과제번호^과제명^품목명^해당병원^의뢰자" colsep="^" colwidth="100, 100, 211, 78, 116, 162" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:70px; width:815px; height:220px; ">
- <col ref="subjid"/>
- <col ref="subjno"/>
- <col ref="subjnm"/>
- <col ref="itemnm"/>
- <col disabled="true" ref="instcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="cmpynm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if( isDataCell() ){
- model.setValue("/root/send/data/subjid", model.getValue("/root/main/list/grid2/item[" + grd_subj.row + "]/subjid"));
- model.setValue("/root/send/data/instcd", model.getValue("/root/main/list/grid2/item[" + grd_subj.row + "]/instcd"));
-
- submit("TRIRS00201");
- var i =model.getValue("/root/main/list/grid1/item/m");
- if (i >0)
- {
- if (model.getValue("/root/main/list/grid1/item["+ i +"]/grupjoblncd") == "28") // 계약연구원
- model.setValue("/root/main/list/grid1/item["+ i +"]/conreseryn", "Y");
- else
- model.setValue("/root/main/list/grid1/item["+ i +"]/conreseryn", "N");
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:5px; y1:68px; x2:820px; y2:67px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:327px; width:185px; height:13px; ">연구관련담당자</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:345px; x2:820px; y2:344px; "/>
- <group id="group2" style="left:0px; top:5px; width:820px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:820px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption3" 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:735px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRIRS00202", false);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/data/subjno" class="input_search" style="left:114px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
- model.setFocus("btn_search");
- model.refresh();
- //search();
- }
- ]]>
- </script>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|