123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPSTP00400" position="absolute 0 0 1280 1024" titletext="통계집계" oninit="SPSTP00400_oninit" onload="SPSTP00400_onload">
- <Layouts>
- <Layout>
- <Static id="caption00" text="의료정보 통계집계" class="tit_1" position="absolute 0 0 189 25"/>
- <Div id="group4" taborder="2" position="absolute 0 27 361 235" class="div_SA2"/>
- <Static id="caption1" position="absolute 25 170 259 187" style="" text="※ 현재일이후 통계는 집계 할 수 없습니다."/>
- <Static id="caption2" class="search_name" position="absolute 22 70 107 87" style="background:_gradation URL(../../.._com_commonweb_images_search_bullet1.gif) ;" text="기준일자"/>
- <Button id="btn_execute" class="btn4" position="absolute 266 129 322 151" text="실행" onclick="btn_execute_onclick"/>
- <Calendar id="in_dschdd" class="input_search" taborder="1" mask="yyyy-mm-dd" position="absolute 98 69 200 88" style="align:center;" anchor="default"/>
- <Calendar id="to_dschdd" class="input_search" taborder="1" mask="yyyy-mm-dd" position="absolute 219 69 321 88" style="align:center;" anchor="default"/>
- <Static id="caption3" position="absolute 204 69 219 89" style="" text="~"/>
- </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="in_dschdd" type="STRING" size="256"/>
- <Column id="to_dschdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="in_dschdd"/>
- <Col id="to_dschdd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="in_dschdd" propid="value" datasetid="ds_send" columnid="in_dschdd"/>
- <BindItem id="item1" compid="to_dschdd" propid="value" datasetid="ds_send" columnid="to_dschdd"/>
- </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 SPSTP00400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPSTP00400_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "in_dschdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "to_dschdd", utlf_getCurrentDate());
- }
- function btn_execute_onclick(obj:Button, e:ClickEventInfo)
- {
- var fDschdd = ds_send.getColumn(0, "in_dschdd");
- var tDschdd = ds_send.getColumn(0, "to_dschdd");
-
- if(fDschdd > tDschdd)
- {
- alert("기간이 잘못되었습니다!");
- in_dschdd.setFocus();
- return;
- }
- if ( !utlf_isNull(fDschdd) && !utlf_isNull(tDschdd))
- {
- var oParam = {};
- oParam.id = "TXSTP00400";
- oParam.service = "stspamapp.StsRecord";
- oParam.method = "reqExeRecordBatch";
- oParam.inds = "req=ds_send";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXSTP00400";
- tranf_submit(oParam);
- }
- else
- {
- alert("집계일자를 입력하세요");
- in_dschdd.setFocus();
- return;
- }
- }
- function cf_TXSTP00400(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- alert("비정상적으로 배치를 수행 했습니다.");
- return;
- }
- else
- {
- alert("정상적으로 배치를 수행 했습니다.");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|