123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMC04400" position="absolute 0 0 864 331" titletext="상병수술조회" onload="SPPMC04400_onload">
- <Layouts>
- <Layout>
- <Div id="group3" scrollbars="autoboth" position="absolute 5 0 855 290" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 5 9 131 26" style="" text="상벙_수술 리스트"/>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 5 27 845 31" style="" anchor="default"/>
- <Grid id="grd_snwop" binddataset="ds_main_snwoplist" taborder="7" position="absolute 5 30 845 290" style="" oncelldblclick="group3_grd_snwop_oncelldblclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="92"/>
- <Column size="281"/>
- <Column size="406"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="코드명"/>
- <Cell col="1" text="상병_수술명"/>
- <Cell col="2" text="한글명"/>
- <Cell col="3" text="영문명"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:icdcd"/>
- <Cell col="1" style="align:left middle;" text="bind:cd"/>
- <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="3" style="align:left middle;" text="bind:engnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" scrollbars="autoboth" position="absolute 0 295 845 322" style="">
- <Layouts>
- <Layout>
- <Button id="btn_cancel" class="btn4" taborder="9" position="absolute 785 5 841 27" style="" text="취소" onclick="group1_btn_cancel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256"/>
- <Column id="refstatement" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refcond"/>
- <Col id="refstatement"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_sppmc04400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="icdcd" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_snwoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="icdcd" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="icdcd"/>
- <Col id="cd"/>
- <Col id="hngnm"/>
- <Col id="engnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_sppmc04400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
- function SPPMC04400_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_snwop);
- ds_main_snwoplist.clearData();
- ds_hidden_sppmc04400_rslt.clearData();
-
- var refcond = ds_send_search.getColumn(0, "refcond");
-
- if (refcond == "1" || refcond == "2" || refcond == "3" || refcond == "4") {
- var oParam = {};
- oParam.id = "TRPMC04401";
- oParam.service = "pamcomnapp.SnwOp";
- oParam.method = "reqGetSnwOp";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_snwoplist=snwoplist";
- oParam.async = false;
- tranf_submit(oParam);
- } //if end
- }
- function group3_grd_snwop_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- row = ds_main_snwoplist.rowposition;
- if (frmf_checkOpener()) {
- if (row > 0) {
- if (ds_main_snwoplist.rowcount > 0) {
- opener.ds_hidden_sppmc04400_rslt.copyRow(0, ds_main_snwoplist, row)
- this.close();
- }
- }
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- if (row > 0) {
- if (ds_main_snwoplist.rowcount > 0) {}
- ds_hidden_sppmc04400_rslt.copyRow(0, ds_main_snwoplist, row);
- } else {}
- }
- function group1_btn_cancel_onclick(obj: Button, e: ClickEventInfo) {
- opener.frmf_setParameter("SMPAI00400_param", "_");
- this.close();
- }]]></Script>
- </Form>
- </FDL>
|