123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABC01800" position="absolute 0 0 1185 778" titletext="조혈모세포처리실 기준자료관리" oninit="SMABC01800_oninit" onload="SMABC01800_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="조혈모세포처리실 기준자료관리" class="tit_1" position="absolute 0 0 335 25"/>
- <Static id="caption2" text="중분류" class="tit_2" position="absolute 566 40 710 62" anchor="left top"/>
- <Static id="caption4" text="대분류" class="tit_2" position="absolute 0 40 144 62"/>
- <Static id="caption5" text="분할코드내역" class="cell_1" position="absolute 630 306 715 329"/>
- <Shape id="line1" class="line_10" position="absolute 565 56 1180 62" anchor="left top right"/>
- <Shape id="line2" class="line_10" position="absolute 0 56 560 62"/>
- <Shape id="line4" linetype="vertical" class="line_3" position="absolute 0 770 1180 776"/>
- <Grid id="grd_exptdeptlist" taborder="1" binddataset="ds_main_lrglist_item" useinputpanel="false" position="absolute 0 61 560 771" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left top bottom" oncellclick="grd_exptdeptlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="110"/>
- <Column size="428"/>
- </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"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:hsctlrgcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:hsctlrgnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_grdadd1" taborder="3" text="행추가" class="btn2" position="absolute 450 37 503 56" anchor="left top" onclick="btn_grdadd1_onclick"/>
- <Button id="btn_grddel1" taborder="4" text="행삭제" class="btn2" position="absolute 506 37 559 56" anchor="left top" onclick="btn_grddel1_onclick"/>
- <Button id="btn_grdadd2" taborder="5" text="행추가" class="btn2" position="absolute 1070 37 1123 56" anchor="top right" onclick="btn_grdadd2_onclick"/>
- <Button id="btn_grddel2" taborder="6" text="행삭제" class="btn2" position="absolute 1126 37 1179 56" anchor="top right" onclick="btn_grddel2_onclick"/>
- <Combo id="cmb_lrggrupcd" taborder="7" innerdataset="@ds_init_testflag_item" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 70 37 195 56"/>
- <Grid id="grd_voldivlist" taborder="2" binddataset="ds_main_mdllist_item" useinputpanel="false" position="absolute 565 61 1180 771" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="100"/>
- <Column size="467"/>
- </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"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:hsctmdlcd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:hsctmdlnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_save" taborder="8" text="저장" position="absolute 1122 6 1178 31" class="btn4" anchor="top right" onclick="btn_save_onclick"/>
- </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="lrggrupcd" type="STRING" size="256"/>
- <Column id="hsctlrgcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_testflag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">조혈모세포처리실</Col>
- <Col id="cdid">SC</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_lrglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_mdllist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hsctmdlcd" type="STRING" size="256" sumtext=""/>
- <Column id="hsctmdlnm" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_lrggrupcd" propid="value" datasetid="ds_send" columnid="lrggrupcd"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "ast_hsctxp::bmtcommon.xjs";
- function SMABC01800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMABC01800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_exptdeptlist);
- grdf_setRowTypeIcon(grd_exptdeptlist, 0);
- grdf_initGrid(grd_voldivlist);
- grdf_setRowTypeIcon(grd_voldivlist, 0);
-
- grd_exptdeptlist.setCellProperty("Body", 1, "edittype", "none");
- grd_exptdeptlist.setCellProperty("Body", 2, "edittype", "none");
-
- grd_voldivlist.setCellProperty("Body", 1, "edittype", "none");
- grd_voldivlist.setCellProperty("Body", 2, "edittype", "none");
-
- cmb_lrggrupcd.index = 0;
-
- dsf_setDefaultVal(ds_send, "lrggrupcd:DI");
- var oParam = {};
- oParam.id = "TRABO02101";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetLrgInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_lrglist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRABO02101";
- tranf_submit(oParam);
-
- ds_main_lrglist_item.rowposition = -1;
- btn_save.enable = frmf_checkAuth("X");
- }
- function grd_exptdeptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(ds_main_lrglist_item.rowposition >= 0 && e.col < 3)
- {
- ds_send.setColumn(0, "hsctlrgcd", ds_main_lrglist_item.getColumn(ds_main_lrglist_item.rowposition, "hsctlrgcd"));
- var oParam = {};
- oParam.id = "TRABO02102";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetMdlInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_mdllist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRABO02102";
- tranf_submit(oParam);
- }
- if(e.col >= 3 && e.col < 4 )
- {
- ds_main_mdllist_item.clearData();
- }
- }
- function btn_grdadd1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_lrglist_item.addRow();
- }
- function btn_grddel1_onclick(obj:Button, e:ClickEventInfo)
- {
- if (sysf_messageBox("코드가 삭제 됩니다.", "Q003") != 6 )
- {
- return false;
- }
- ds_main_lrglist_item.updatecontrol = false;
- ds_main_lrglist_item.setRowType(ds_main_lrglist_item.rowposition, "d");
- ds_main_lrglist_item.updatecontrol = true;
- }
- function btn_grdadd2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_mdllist_item.addRow();
- }
- function btn_grddel2_onclick(obj:Button, e:ClickEventInfo)
- {
- if (sysf_messageBox("코드가 삭제 됩니다.", "Q003") != 6 )
- {
- return false;
- }
- ds_main_mdllist_item.updatecontrol = false;
- ds_main_mdllist_item.setRowType(ds_main_mdllist_item.rowposition, "d");
- ds_main_mdllist_item.updatecontrol = true;
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveData();
- }
- function fSaveData()
- {
- var oParam = {};
- oParam.id = "TXABO02101";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqExeLrgInfo";
- oParam.inds = "req=ds_send data=ds_main_lrglist_item:u";
- oParam.outds = "ds_=item";
- oParam.typeStr = "m";
- oParam.async = false;
- //oParam.callback = "cf_TXABO02101";
- tranf_submit(oParam);
- var oParam = {};
- oParam.id = "TXABO02102";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqExeMdlInfo";
- oParam.inds = "req=ds_send mdldata=ds_main_mdllist_item:u";
- oParam.typeStr = "m";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXABO02102";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_send, "lrggrupcd:DI");
- var oParam = {};
- oParam.id = "TRABO02101";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetLrgInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_lrglist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRABO02101";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRABO02102";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetMdlInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_mdllist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRABO02102";
- tranf_submit(oParam);
- }]]></Script>
- </Form>
- </FDL>
|