123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPATR00500" position="absolute 0 0 503 392" titletext="시험책임자 조회" oninit="SPATR00500_oninit" onload="SPATR00500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 1 79 501 353" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 500 6" linetype="horizontal" id="line1" class="line_1" anchor="default"/>
- <Grid position="absolute 0 5 500 274" align="align:center middle;" id="grd_drlist" binddataset="ds_main_orddrinfo_info" anchor="default" cellsizingtype="col" autofittype="col" oncelldblclick="grp_biz_grd_drlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="115"/>
- <Column size="104"/>
- <Column size="0"/>
- <Column size="268"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="시험자ID"/>
- <Cell col="1" text="시험자명"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="진료과"/>
- <Cell col="4" text="진료과코드"/>
- <Cell col="5" text="과제번호"/>
- <Cell col="6" text="과제ID"/>
- <Cell col="7" text="연구번호"/>
- </Band>
- <Band id="body">
- <Cell text="bind:empid"/>
- <Cell col="1" text="bind:empnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:empflag" combodataset="ds_cmb_empflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" text="bind:deptnm"/>
- <Cell col="4" text="bind:deptcd"/>
- <Cell col="5" text="bind:subjno" mask="yyyy-mm-dd hh:dd:ss"/>
- <Cell col="6" text="bind:subjid"/>
- <Cell col="7" text="bind:stdyno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line00" class="line_1" position="absolute 0 -1 500 5"/>
- <Shape id="line02" class="line_1" position="absolute 0 1 500 7"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1 355 501 382" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 444 5 500 27" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_btn_btn_cls_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="div_srch" taborder="1" text="Div00" position="absolute 1 19 501 79" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption2" text="시험자ID :" class="search_name" position="absolute 15 9 114 26" anchor="default"/>
- <Static id="caption3" text="시험자명 :" class="search_name" position="absolute 15 34 114 51" anchor="default"/>
- <Edit id="input1" taborder="1" position="absolute 105 8 190 27" anchor="default"/>
- <Edit id="input2" taborder="2" position="absolute 105 33 190 52" anchor="default"/>
- <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 432 19 488 41" anchor="default" onclick="div_srch_button1_onclick"/>
- <Static id="caption4" text="과제번호 :" class="search_name" position="absolute 210 9 309 26" anchor="default"/>
- <Static id="caption5" text="연구코드 :" class="search_name" position="absolute 210 34 309 51" anchor="default"/>
- <Edit id="input3" taborder="4" position="absolute 300 8 395 27" anchor="default"/>
- <Edit id="input4" taborder="5" position="absolute 300 33 395 52" anchor="default"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 417 8 423 53" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="시험자 조회" class="tit_2" position="absolute 1 1 112 22"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_orddrinfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordrid" type="STRING" size="256"/>
- <Column id="ordrnm" type="STRING" size="256"/>
- <Column id="empflag" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="subjno" type="STRING" size="256"/>
- <Column id="subjid" type="STRING" size="256"/>
- <Column id="stdyno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="subjno" type="STRING" size="256"/>
- <Column id="stdyno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddrid"/>
- <Col id="orddrnm"/>
- <Col id="subjno"/>
- <Col id="stdyno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_empflag" 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">F</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">G</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="div_srch.input1" propid="value" datasetid="ds_send_srchinfo" columnid="orddrid"/>
- <BindItem id="item1" compid="div_srch.input2" propid="value" datasetid="ds_send_srchinfo" columnid="orddrnm"/>
- <BindItem id="item2" compid="div_srch.input4" propid="value" datasetid="ds_send_srchinfo" columnid="stdyno"/>
- <BindItem id="item3" compid="div_srch.input3" propid="value" datasetid="ds_send_srchinfo" columnid="subjno"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function call_TRATR00501() {
- var oParam = {};
- oParam.id = "TRATR00501";
- oParam.service = "crccbaseapp.CrccBase";
- oParam.method = "reqGetOrdDrList";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_orddrinfo_info=info";
- oParam.async = false;
- //oParam.callback = "cf_TRATR00501";
- tranf_submit(oParam);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPATR00500
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPATR00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPATR00500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPATR00500_onload(obj:Form, e:LoadEventInfo)
- {
- var srchNm = opener.frmf_getParameter("SMATR00500_srchnm");
- var srchNo = opener.frmf_getParameter("SMATR00500_srchno");
- var srchCd = opener.frmf_getParameter("SMATR00500_srchcd");
-
- if( !utlf_isNull(srchNm) || !utlf_isNull(srchNo) || !utlf_isNull(srchCd) ){
- ds_send_srchinfo.setColumn(0,"orddrnm", srchNm);
- ds_send_srchinfo.setColumn(0,"subjno" , srchNo);
- ds_send_srchinfo.setColumn(0,"stdyno" , srchCd);
-
- call_TRATR00501();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : div_srch.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function div_srch_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- call_TRATR00501();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grp_biz.grd_drlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 더블클릭하여 내용 전달
- ****************************************************************************************/
- function grp_biz_grd_drlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row > -1 ){
- var id = ds_main_orddrinfo_info.getColumn(e.row,"empid");
- var nm = ds_main_orddrinfo_info.getColumn(e.row,"empnm");
- opener.frmf_setParameter("SMATR00500_rtnid", id);
- opener.frmf_setParameter("SMATR00500_rtnnm", nm);
- this.close();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : div_srch.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기
- ****************************************************************************************/
- function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|