123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPRSD00260" position="absolute 0 0 731 570" titletext="연구과제 검색화면" oninit="SPRSD00260_oninit" onload="SPRSD00260_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 8 0 708 560" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 5 700 40" id="group2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 700 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Edit position="absolute 297 8 432 27" id="ipt_refcond" class="input_essential" onkeydown="group3_group2_ipt_refcond_onkeydown"/>
- <Button position="absolute 629 7 685 29" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
- <Shape position="absolute 611 6 617 30" linetype="vertical" id="line13" class="line_4"/>
- <Static text="조회조건 :" position="absolute 211 9 297 26" id="caption2" class="search_name"/>
- <Radio position="absolute 15 9 200 29" id="rdo_refcond" class="radio_search" columncount="2" innerdataset="@ds_init_refcond" datacolumn="label" codecolumn="value" style="border:1 solid #808080ff ;" onitemclick="group3_group2_rdo_refcond_onitemclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="연구과제리스트" position="absolute 0 49 145 65" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 65 700 71" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 0 69 700 529" id="grd_studylist" class="grd_prodcmpylist" binddataset="ds_main_studylist" onmousemove="group3_grd_studylist_onmousemove" oncelldblclick="group3_grd_studylist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="218"/>
- <Column size="93"/>
- <Column size="95"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="연구과제번호"/>
- <Cell col="1" text="연구과제명"/>
- <Cell col="2" text="청구일자FROM"/>
- <Cell col="3" text="청구일자 TODD"/>
- <Cell col="4" text="사원번호"/>
- <Cell col="5" text="책임자"/>
- <Cell col="6" text="프로젝트여부"/>
- <Cell col="7" text="기관코드"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stdysubjno"/>
- <Cell col="1" text="bind:stdysubjnm"/>
- <Cell col="2" style="align:center middle;" text="bind:fromdd" mask="####-##-##"/>
- <Cell col="3" style="align:center middle;" text="bind:todd" mask="####-##-##"/>
- <Cell col="4" text="bind:stdypsn"/>
- <Cell col="5" text="bind:stdypnm"/>
- <Cell col="6" style="align:center middle;" text="bind:projectyn"/>
- <Cell col="7" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 533 700 560" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 587 5 643 27" id="btn_confirm" class="btn4" text="확인" onclick="group3_group1_btn_confirm_onclick"/>
- <Button position="absolute 644 5 700 27" id="btn_cancel" class="btn4" text="취소" onclick="group3_group1_btn_cancel_onclick"/>
- <Shape position="absolute 0 0 700 6" linetype="horizontal" id="line32" class="line_6"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_studylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stdysubjno" type="STRING" size="256"/>
- <Column id="projectyn" type="STRING" size="256"/>
- <Column id="stdysubjnm" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="stdypsn" type="STRING" size="256"/>
- <Column id="stdypnm" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="stdysubjno"/>
- <Col id="projectyn"/>
- <Col id="stdysubjnm"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="stdypsn"/>
- <Col id="stdypnm"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_refcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">연구과제번호</Col>
- <Col id="value">stdysubjno</Col>
- </Row>
- <Row>
- <Col id="label">연구과제명</Col>
- <Col id="value">stdysubjnm</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="stdysubjnm" type="STRING" size="256"/>
- <Column id="stdysubjno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="projectyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refcond"/>
- <Col id="reqdd"/>
- <Col id="stdysubjnm"/>
- <Col id="stdysubjno"/>
- <Col id="instcd"/>
- <Col id="projectyn"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.ipt_refcond" propid="value" datasetid="ds_send" columnid="stdysubjnm"/>
- <BindItem id="item1" compid="group3.group2.rdo_refcond" propid="value" datasetid="ds_send" columnid="refcond"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SPRSD00260_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPRSD00260_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "instcd" , ds_target_defaultvalue.getColumn(0, "instcd") );
- ds_send.setColumn(0, "reqdd" , ds_target_defaultvalue.getColumn(0, "reqdd") );
- ds_send.setColumn(0, "projectyn", ds_target_defaultvalue.getColumn(0, "projectyn") );
-
-
- if( utlf_isNull(ds_target_defaultvalue.getColumn(0, "projectyn")) )
- {
- ds_send.setColumn(0, "projectyn", "N");
- }
-
- ds_send.setColumn(0, "refcond", "stdysubjno");
-
- frmf_inputEnterKey("group3.group2.btn_search", "onclick", new ClickEventInfo );
- group3.group2.ipt_refcond.setFocus();
- }
- function group3_group2_ipt_refcond_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
- }
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(rdo_refcond.value == "stdysubjnm") {
- ds_send.setColumn(0, "stdysubjnm",group3.group2.ipt_refcond.text);
- }
- else {
- ds_send.setColumn(0, "stdysubjno",group3.group2.ipt_refcond.text);
- }
-
- dsf_setDefaultVal(ds_send, "projectyn:N");
-
- var oParam = {};
- oParam.id = "TRRSD00261";
- oParam.service = "purccommonapp.PurcCommon";
- oParam.method = "reqGetStudyList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_studylist=studylist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function group3_group2_rdo_refcond_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
- if(rdo_refcond.value == "stdysubjnm") {
- //group3.group2.ipt_refcond.imemode = "stdysubjnm";
- }
- else if (rdo_refcond.value == "stdysubjno") {
- group3.group2.ipt_refcond.imemode = "none";
- }
- else {
- group3.group2.ipt_refcond.imemode = "none";
- }
-
- group3.group2.ipt_refcond.setFocus();
- }
- function group3_grd_studylist_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row >-1 && e.col > -1){
-
- if(!utlf_isNull(group3.grd_studylist.getCellValue(e.row,e.col))){
-
- group3.grd_studylist.tooltiptext = group3.grd_studylist.getCellValue(e.row,e.col);
-
- }else{
- group3.grd_studylist.tooltiptext ="";
- }
- }
-
- }
- function group3_grd_studylist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row > -1 && e.col > -1 ) {
- frmf_inputEnterKey("group3.group1.btn_confirm", "onclick", new ClickEventInfo );
- }
- }
- function group3_group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- misfPopUpListReturn(group3.grd_studylist);
- }
- function group3_group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|