123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?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>
- <studylist>
- <stdysubjno/>
- <projectyn/>
- <stdysubjnm/>
- <fromdd/>
- <todd/>
- <stdypsn/>
- <stdypnm/>
- <instcd/>
- </studylist>
- </main>
- <target/>
- <init>
- <refcond>
- <label>연구과제번호</label>
- <value>stdysubjno</value>
- <label>연구과제명</label>
- <value>stdysubjnm</value>
- </refcond>
- </init>
- <send>
- <refcond/>
- <reqdd/>
- <stdysubjnm/>
- <stdysubjno/>
- <instcd/>
- <projectyn/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/instcd", model.getValue("/root/target/defaultvalue/instcd") );
- model.setValue("/root/send/reqdd", model.getValue("/root/target/defaultvalue/reqdd") );
- model.setValue("/root/send/projectyn", model.getValue("/root/target/defaultvalue/projectyn") );
- // rdo_refcond.select(1);
-
-
- if( (model.getValue("/root/target/defaultvalue/projectyn") == "") || (model.getValue("/root/target/defaultvalue/projectyn") == null))
- {
- model.setValue("/root/send/projectyn", "N");
- }
-
- model.setValue(rdo_refcond.attribute("ref"),"stdysubjno");
-
- btn_search.dispatch("DOMActivate");
- model.setFocus("ipt_refcond");
-
- ]]>
- </script>
- <submission id="TRRSD00261" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="731" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8; top:0px; width:700; height:560; ">
- <group id="group2" style="left:0px; top:5px; width:700; height:35; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:700; height:35; "/>
- <input id="ipt_refcond" ref="/root/send/stdysubjnm" class="input_s_essential" style="left:297px; top:8; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:629px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_refcond.value == "stdysubjnm") {
- model.setValue("/root/send/stdysubjnm",ipt_refcond.label);
- }
- else {
- model.setValue("/root/send/stdysubjno",ipt_refcond.label);
- }
- submit("TRRSD00261");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:614px; y1:6px; x2:614px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:211px; top:9; width:86px; height:17px; ">조회조건 :</caption>
- <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15; top:9; width:145px; height:20px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/refcond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_refcond.value == "stdysubjnm") {
- ipt_refcond.attribute("imemode") = "stdysubjnm";
- }
- else if (rdo_refcond.value == "stdysubjno") {
- ipt_refcond.attribute("imemode") = "disabled";
- }
- else {
- ipt_refcond.attribute("imemode") = "disabled";
- }
-
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:13px; ">연구과제리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:700px; y2:64px; "/>
- <datagrid id="grd_studylist" nodeset="/root/main/studylist" class="grd_prodcmpylist" caption="연구과제번호^연구과제명^청구일자FROM^청구일자 TODD^사원번호^책임자^프로젝트여부^기관코드" colsep="^" colwidth="100, 218, 93, 95, 80, 80, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:69px; width:700px; height:460px; ">
- <col ref="stdysubjno"/>
- <col ref="stdysubjnm"/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="stdypsn"/>
- <col ref="stdypnm"/>
- <col ref="projectyn" visibility="hidden" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_studylist.isCell( event.target ) && grd_studylist.row >= grd_studylist.fixedRows ) {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_studylist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group1" scroll="auto" style="left:0px; top:533px; width:700; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:587px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_studylist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:644px; 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:700; y2:0px; "/>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|