123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIJ04400" position="absolute 0 0 960 660" titletext="KDRG분류관리" onload="SPPIJ04400_onload" oninit="SPPIJ04400_oninit">
- <Layouts>
- <Layout>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 28 959 632" style="" anchor="all">
- <Layouts>
- <Layout>
- <Grid id="grd_drgalist" binddataset="ds_main_drgalist" class="datagrid3" position="absolute 0 70 959 604" style="" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="409"/>
- <Column size="404"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="INSTCD"/>
- <Cell col="1" text="분류"/>
- <Cell col="2" text="KDRG번호"/>
- <Cell col="3" colspan="2" text="KDRG명" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:instcd"/>
- <Cell col="1" displaytype="combo" style="align:center middle;padding:0 0 0 2;" text="bind:drgtype" combodataset="ds_grd_cmb_drgtype" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" style="align:left middle;" text="bind:drgcd"/>
- <Cell col="3" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="4" style="align:left middle;" text="bind:engnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 51 238 66" style="" text="DRG기준자료 리스트" anchor="default"/>
- <Div id="group1" position="absolute 0 5 959 45" style="align: top;" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="roundrect3" anchor="left top right" type="roundrectangle" position="absolute 0 0 959 40" style=""/>
- <Button id="btn_select" class="btn1" taborder="3" position="absolute 900 10 956 32" style="" text="조회" onclick="grp_biz_group1_btn_select_onclick" anchor="top right"/>
- <Shape id="line3" class="line_4" linetype="vertical" position="absolute 885 5 888 38" style="" anchor="top right"/>
- <Edit id="ipt_drgno" position="absolute 100 10 200 29" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_drgno_onkeypress" onkeydown="grp_biz_group1_ipt_drgno_onkeydown" imemode="alpha" inputmode="upper" taborder="0"/>
- <Static id="caption30" class="search_name" position="absolute 8 11 91 28" style="" text="KDRG번호 :" anchor="left top"/>
- <Static id="caption1" class="search_name" position="absolute 432 10 511 27" style="" text="KDRG 명 :" anchor="left top"/>
- <Edit id="ipt_hngnm" position="absolute 511 10 806 29" style="" anchor="left top" onkeypress="grp_biz_group1_ipt_hngnm_onkeypress" onkeydown="grp_biz_group1_ipt_hngnm_onkeydown" imemode="hangul" taborder="1"/>
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_drgtype" class="combo_search" position="absolute 315 10 410 29" style="" onkeypress="grp_biz_group1_cmb_drgtype_onkeypress" anchor="left top" onkeydown="grp_biz_group1_cmb_drgtype_onkeydown" taborder="2">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn"/>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전문</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">단순</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption2" class="search_name" position="absolute 218 11 308 28" style="" text="KDRG 분류 :" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excelsave" class="btn7" position="absolute 880 49 959 68" style="" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_cancel" class="btn4" position="absolute 903 637 959 659" style="" text="종료" anchor="right bottom"/>
- <Static id="cap_title" text="KDRG 분류관리" class="tit_1" position="absolute 0 0 216 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="drgcd" type="STRING" size="256"/>
- <Column id="drgtype" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_drgalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="drga" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drga"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_cmb_drgtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">전문</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">일반</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">단순</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_drgno" propid="value" datasetid="ds_send" columnid="drgcd"/>
- <BindItem id="item1" compid="grp_biz.group1.ipt_hngnm" propid="value" datasetid="ds_send" columnid="hngnm"/>
- <BindItem id="item2" compid="grp_biz.group1.cmb_drgtype" propid="value" datasetid="ds_send" columnid="drgtype"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPPIJ04400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIJ04400_onload(obj:Form, e:LoadEventInfo) {
- grdf_initGrid(grp_biz.grd_drgalist);
- // 화면을 초기화한다.
- fInitialize();
- }
- function fInitialize() {
- grp_biz.group1.btn_select.click();
- }
- function fGetDocuList() {
-
- var oParam = {};
- oParam.id = "TRPIJ04400";
- oParam.service = "bfjudgapp.DRGCdIF";
- oParam.method = "reqGetKDrgAList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_drgalist=rslt";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ04400";
- tranf_submit(oParam);
- }
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo) {
- fGetDocuList();
- }
- function grp_biz_group1_ipt_drgno_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_group1_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_group1_cmb_drgtype_onkeydown(obj:Combo, e:KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- fGetDocuList();
- }
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_drgalist.rowcount > 0) {
- grdf_exportExcel(grp_biz.grd_drgalist, "exportExcel", "see");
- } else {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|