123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHS03000" position="absolute 0 0 1201 791" titletext="월별초진재진현황" oninit="SMAHS03000_oninit" onload="SMAHS03000_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 65" id="group2" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="기간 ~" position="absolute 23 9 237 34" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 1121 9 1127 31" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
- <Calendar position="absolute 66 11 186 30" id="ipt_ftodd" class="input_default" taborder="1" mask="yyyy-mm" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" style="align:center middle;" onchanged="group2_ipt_ftodd_onchanged"/>
- <Calendar position="absolute 211 11 331 30" id="ipt_fromdd" class="input_default" taborder="2" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" editformat="yyyy-MM" style="align:center middle;" onchanged="group2_ipt_fromdd_onchanged"/>
- <Button position="absolute 978 9 1058 31" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_btn_excelsave_onclick"/>
- <Button position="absolute 1062 9 1118 31" id="btn_prt" class="btn6" text="출력" anchor="top right" onclick="group2_btn_prt_onclick"/>
- <Button position="absolute 1131 9 1187 31" id="btn_search" class="btn1" taborder="3" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 79 1195 786" align="align:center middle;" id="grd_earncntlist" binddataset="ds_main_earncntlist_item" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="초진"/>
- <Cell col="3" text="재진"/>
- <Cell col="4" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:hopedd" mask="yyyy-MM" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="number" text="bind:cnt1"/>
- <Cell col="3" displaytype="number" text="bind:cnt2"/>
- <Cell col="4" displaytype="number" text="bind:cnt3"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;"/>
- <Cell col="1" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="총계"/>
- <Cell col="2" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cnt1')"/>
- <Cell col="3" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cnt2')"/>
- <Cell col="4" displaytype="number" style="background:#808080ff;background2:#808080ff;color:#ffffffff;color2:#ffffffff;font:arial,9,bold;" text="expr:getSum('cnt3')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption60" text="월별초진재진현황" class="tit_1" position="absolute 0 0 246 25"/>
- </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="healexamflag" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- <Col id="srchtodd"/>
- <Col id="srchfromdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_earncntlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hopedd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cnt1" type="STRING" size="256" sumtext="초진"/>
- <Column id="cnt2" type="STRING" size="256" sumtext="재진"/>
- <Column id="cnt3" type="STRING" size="256" sumtext="합계"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_ftodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- </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";
- function SMAHS03000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHS03000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_earncntlist);
- ds_send.setColumn(0, "srchtodd", String(utlf_getCurrentDate()).substring(0, 6));
- ds_send.setColumn(0, "srchfromdd", String(utlf_getCurrentDate()).substring(0, 6));
-
- group2.ipt_ftodd.setFocus();
- }
- function group2_ipt_ftodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "srchtodd", String(obj.value).substring(0, 6));
- }
- function group2_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_send.setColumn(0, "srchfromdd", String(obj.value).substring(0, 6));
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "healexamflag", "C");
- var oParam = {};
- oParam.id = "TRAHS03000";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetEarnCnt";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_earncntlist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHS03000";
- tranf_submit(oParam);
- }
- function group2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_earncntlist, "excel", "SheetName", "true", "", "");
- }
- function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/earncntlist/item", ds_main_earncntlist_item);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPAHS03000"],[objParam], option);
- }
- ]]></Script>
- </Form>
- </FDL>
|