123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SPPMI06020" position="absolute 0 0 430 600" titletext="병실환자정보" onload="SPPMI06020_onload">
- <Layouts>
- <Layout>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 0 435 560" style="">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 0 0 425 35" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 425 35" style="" />
- <Static id="caption2" class="search_name" position="absolute 5 9 91 26" style="" text="기간조회 :" />
- <Button id="btn_search" class="btn1_letter2" position="absolute 360 8 416 30" style="" text="조회" onclick="group3_group2_btn_search_onclick" />
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 349 7 352 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
- <Calendar id="input1" position="absolute 95 8 180 27" style="" anchor="default" />
- <Static id="caption3" position="absolute 180 9 205 29" style="align:center ;" text="~" />
- <Calendar id="input2" position="absolute 205 8 290 27" style="" anchor="default" />
- <Button id="btn_chan" visible="false" position="absolute 325 15 330 25" style="" text="" />
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch1" position="absolute 0 35 427 559" style="" anchor="default">
- <Tabpages>
- <Tabpage id="case1" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 5 5 123 18" style="" text="일자별 병실 현황" />
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 21 425 24" style="" anchor="default" />
- <Grid id="datagrid1" binddataset="ds_main_data1" position="absolute 0 26 425 521" style="align:center ;" oncelldblclick="group3_switch1_case1_datagrid1_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="일자" />
- <Cell col="1" text="병상수" />
- <Cell col="2" text="재원병상수" />
- <Cell col="3" text="빈병상수" />
- </Band>
- <Band id="body">
- <Cell text="bind:roomdd" />
- <Cell col="1" text="bind:bedcnt" />
- <Cell col="2" text="bind:inpatcnt" />
- <Cell col="3" text="bind:vacancnt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button2" class="btn2_letter4" position="absolute 350 1 392 20" style="" text="엑셀저장" />
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" selected="true" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption4" class="tit_2" position="absolute 5 5 123 18" style="" text="일자별 병실 현황" />
- <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 0 21 425 24" style="" anchor="default" />
- <Grid id="datagrid2" binddataset="ds_main_data2" position="absolute 0 26 425 521" style="align:center ;">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120" />
- <Column size="75" />
- <Column size="75" />
- <Column size="75" />
- <Column size="75" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="진료과" />
- <Cell col="1" text="병상수" />
- <Cell col="2" text="재원병상수" />
- <Cell col="3" text="빈병상수" />
- <Cell col="4" text="가동율" />
- </Band>
- <Band id="body">
- <Cell text="bind:orddeptcd" />
- <Cell col="1" text="bind:bedcnt" />
- <Cell col="2" text="bind:inpatcnt" />
- <Cell col="3" text="bind:vacancnt" />
- <Cell col="4" text="bind:bedrate" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button1" class="btn5_letter2" position="absolute 325 1 367 20" style="" text="이전" />
- <Button id="button3" class="btn2_letter2" position="absolute 370 1 412 20" style="" text="출력" />
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" scrollbars="autoboth" position="absolute 0 561 425 590" style="">
- <Layouts>
- <Layout>
- <Button id="btn_confirm" class="btn4_letter2" position="absolute 302 5 358 27" style="" text="확인" onclick="group1_btn_confirm_onclick" />
- <Button id="btn_cancel" class="btn4_letter2" position="absolute 361 5 417 27" style="" text="취소" onclick="group1_btn_cancel_onclick" />
- </Layout>
- </Layouts>
- </Div>
- </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="fromdd" type="STRING" size="256" />
- <Column id="todd" type="STRING" size="256" />
- <Column id="roomdd" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"></Col>
- <Col id="todd"></Col>
- <Col id="roomdd"></Col>
- </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" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" />
- <Column id="bedcnt" type="STRING" size="256" />
- <Column id="inpatcnt" type="STRING" size="256" />
- <Column id="vacancnt" type="STRING" size="256" />
- <Column id="bedrate" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddeptcd"></Col>
- <Col id="bedcnt"></Col>
- <Col id="inpatcnt"></Col>
- <Col id="vacancnt"></Col>
- <Col id="bedrate"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="roomdd" type="STRING" size="256" />
- <Column id="bedcnt" type="STRING" size="256" />
- <Column id="inpatcnt" type="STRING" size="256" />
- <Column id="vacancnt" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="roomdd"></Col>
- <Col id="bedcnt"></Col>
- <Col id="inpatcnt"></Col>
- <Col id="vacancnt"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.input1" propid="value" datasetid="ds_send" columnid="fromdd" />
- <BindItem id="item1" compid="group3.group2.input2" propid="value" datasetid="ds_send" columnid="todd" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_utilHelper.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- function SPPMI06020_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- //var arrParam = [ {dsNm: "",
- cdGrpId: "" } ];
- appf_getCodeList(arrParam, );
- //submit("TRPMI00106");
- //model.refresh();
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- // submit("TRPMI06020");
- var oParam = {};
- oParam.id = "TRPMI06020";
- oParam.service = "ipatmngtapp.ErRgst";
- oParam.method = "reqGetErAdrv";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=adrvmessage";
- oParam.async = false;
- oParam.callback = "cf_TRPMI06020";
- tranf_submit(oParam);
- /*
- function cf_TRPMI06020(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI06020(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI06020") > -1
- arErrorCode.pop("TRPMI06020") < 0
- */
- }
- function group3_switch1_case1_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- var row = group3.switch1.case1.datagrid1.row;
- var sRoomdd = ds_main_data1.getColumn(row, "roomdd"));
- ds_send.setColumn( 0, "roomdd" , sRoomdd);
- submit();
- group3.group2.btn_chan.dispatch("onclick");
- }
- function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
- window.close();
- }
- function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
- window.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|