123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPCHT00800" position="absolute 0 0 756 509" titletext="판정코드 검색" oninit="SPCHT00800_oninit" onload="SPCHT00800_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="분류코드" class="tit_2" position="absolute 0 51 78 72"/>
- <Shape id="line1" class="line_10" position="absolute 0 67 360 73"/>
- <Div id="grp_sea" taborder="1" class="div_SA2" position="absolute 0 0 750 40">
- <Layouts>
- <Layout>
- <Static id="caption2" text="대분류 :" class="search_name" position="absolute 16 12 102 29"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 659 8 665 30"/>
- <Combo id="cmb_clscd" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 105 11 255 30" onitemchanged="grp_sea_cmb_clscd_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">1차건진</Col>
- </Row>
- <Row>
- <Col id="codecolumn">S</Col>
- <Col id="datacolumn">2차건진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_clscd2" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 105 11 255 30">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">선택형결과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 678 8 734 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption3" text="상세코드" class="tit_2" position="absolute 366 51 444 72"/>
- <Shape id="line2" class="line_10" position="absolute 366 67 750 73"/>
- <Grid id="grd_etclst" taborder="2" binddataset="ds_main_etclst_item" useinputpanel="false" position="absolute 0 72 360 472" autoenter="select" cellsizingtype="col" oncelldblclick="grd_etclst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="214"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="caption1"/>
- <Cell col="2" text="코드"/>
- <Cell col="3" text="분류코드명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:etccdkey"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:etccd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:etcdetlnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_detlcodelst" taborder="3" binddataset="ds_main_detlcodelst_item" useinputpanel="false" position="absolute 366 72 750 472" autoenter="select" cellsizingtype="col" oncelldblclick="grd_detlcodelst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="100"/>
- <Column size="240"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="코드"/>
- <Cell col="2" text="상세코드명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:etcdetlcd"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:etcdetlnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cancel" taborder="4" text="취소" class="btn4" position="absolute 694 481 750 503"/>
- <Button id="btn_conform" taborder="5" text="확인" class="btn4" position="absolute 635 481 691 503"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clscd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_etclst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etccdkey" type="STRING" size="256" sumtext="코드"/>
- <Column id="etccd" type="STRING" size="256" sumtext="코드"/>
- <Column id="etcdetlnm" type="STRING" size="256" sumtext="분류코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etcdetlcd" type="STRING" size="256" sumtext="상세코드"/>
- <Column id="etcdetlnm" type="STRING" size="256" sumtext="상세코드명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clscd" type="STRING" size="256"/>
- <Column id="etccd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clscd"/>
- <Col id="etccd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_clscd2" propid="value" datasetid="ds_send" columnid="clscd"/>
- <BindItem id="item1" compid="grp_sea.cmb_clscd" propid="value" datasetid="ds_send" columnid="clscd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPCHT00800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPCHT00800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_detlcodelst);
- grdf_initGrid(grd_etclst);
-
- var rsltflag = opener.frmf_getParameter("rsltflag");
- if( rsltflag == "O")
- {
- grp_sea.cmb_clscd.visible = false;
- grp_sea.cmb_clscd2.enable = false;
- ds_send.setColumn(0, "clscd", "R");//선택형
- fGetEtcList();
- }
- else
- {
- grp_sea.cmb_clscd.visible = true;
- grp_sea.cmb_clscd2.visible = false;
- }
- }
- function grp_sea_cmb_clscd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fGetEtcList();
- }
- function fGetEtcList()
- {
- ds_main_etclst_item.clearData();
- ds_main_detlcodelst_item.clearData();
-
- var oParam = {};
- oParam.id = "TRCHT00801";
- oParam.service = "healexammngtapp.HealExamTrgt";
- oParam.method = "reqGetHealExamJudgCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_etclst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00801";
- tranf_submit(oParam);
- }
- function grd_etclst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetDetlCodeList();
- }
- function fGetDetlCodeList()
- {
- var idx = ds_main_etclst_item.rowposition;
- if( idx < 0) return ;
- ds_main_detlcodelst_item.clearData();
-
- ds_send_req.setColumn(0, "clscd", ds_send.getColumn(0, "clscd"));
- ds_send_req.setColumn(0, "etccd", ds_main_etclst_item.getColumn(idx, "etccd"));
- var oParam = {};
- oParam.id = "TRCHT00802";
- oParam.service = "healexammngtapp.HealExamTrgt";
- oParam.method = "reqGetHealExamJudgDetCodeList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_detlcodelst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00802";
- tranf_submit(oParam);
- }
- function grd_detlcodelst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetOpenerSend();
- }
- function fGetOpenerSend()
- {
- var grid = ds_main_detlcodelst_item;
- var rsltflag = opener.frmf_getParameter("rsltflag");
- if (ds_main_detlcodelst_item.rowposition >= 0)
- {
- var clscd = ds_send_req.getColumn(0, "clscd");
- var etccd = ds_send_req.getColumn(0, "etccd");
- var etcdetlcd = grid.getColumn(grid.rowposition, "etcdetlcd");
- var etcdetlnm = grid.getColumn(grid.rowposition, "etcdetlnm");
- var joincd = clscd + etccd + etcdetlcd;
- var objArg = new Object();
- if(rsltflag == "joincode")
- {
- objArg.joincd = joincd;
- objArg.etcdetlnm = etcdetlnm;
- }
- else if(rsltflag == "O")
- {//선택형
- objArg.etcdetlnm = etcdetlnm;
- }
- else if(rsltflag == "4code")
- {//4code
- objArg.clscd = clscd;
- objArg.etccd = etccd;
- objArg.etcdetlcd = etcdetlcd;
- objArg.etcdetlnm = etcdetlnm;
- }
- this.close(objArg);
- }
- else
- {
- sysf_messageBox("조회하신 후 목록을 ","C002");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|