123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN02500" position="absolute 0 0 1206 760" titletext="출생 100일 대상자 조회" onload="SMMNN02500_onload" ontimer="SMMNN02500_ontimer" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 2 1195 31" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 191 22" style="" text="출생 100일 대상자 조회" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 28 1195 763" style="">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 66 1194 69" style="strokepen:4 solid #33bbbbff;" anchor="default"/>
- <Div id="grp_sea" position="absolute 0 5 1194 40" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1194 35" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Static id="caption2" class="search_name" position="absolute 15 8 105 25" style="" text="조회일자 :"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 970 5 973 27" style="" anchor="default"/>
- <Static id="caption4" position="absolute 212 10 227 24" style="align: middle;" text="~"/>
- <Calendar id="ipt_bthddtodd" class="input_s_essential" position="absolute 226 9 326 28" style="" anchor="default" onkillfocus="grp_biz_grp_sea_ipt_bthddtodd_onkillfocus" autoselect="true"/>
- <Calendar id="ipt_bthddfromdd" class="input_s_essential" position="absolute 109 9 209 28" style="" anchor="default" onkillfocus="grp_biz_grp_sea_ipt_bthddfromdd_onkillfocus" autoselect="true" autoskip="true"/>
- <Button id="btn_save" class="btn1" position="absolute 980 7 1036 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_save_onclick"/>
- <Button id="btn_print" class="btn6" position="absolute 1127 7 1183 29" style="" text="출력" onclick="grp_biz_grp_sea_btn_print_onclick"/>
- <Static id="caption3" class="search_name" position="absolute 355 8 445 25" style="" text="사망구분 :"/>
- <Button id="btn_saveexcel" class="btn7" position="absolute 1042 7 1122 29" style="" text="엑셀저장" onclick="grp_biz_grp_sea_btn_saveexcel_onclick"/>
- <CheckBox id="CheckBox00" taborder="1" text="사망제외" position="absolute 435 5 535 25" truevalue="Y" value="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" class="tit_2" position="absolute 1 48 214 66" style="align:left;" text="출생 100일 대상자 리스트"/>
- <Grid id="grd_nbabyhoundlist" binddataset="ds_main_nbabyinfo_nbabyinfolist" class="datagrid2" position="absolute 0 70 1194 724" style="" cellsizingtype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="125"/>
- <Column size="85"/>
- <Column size="72"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="362"/>
- <Column size="137"/>
- <Column size="64"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="출생일자"/>
- <Cell col="2" text="100일자"/>
- <Cell col="3" text="산모성명"/>
- <Cell col="4" text="아기이름"/>
- <Cell col="5" text="성별"/>
- <Cell col="6" text="몸무게"/>
- <Cell col="7" text="주소"/>
- <Cell col="8" text="전화번호"/>
- <Cell col="9" text="출생시사망"/>
- <Cell col="10" text="사망여부"/>
- <Cell col="11" text="seqno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:bthdt" mask="yyyy-MM-dd HH:MM" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:hundbthdt"/>
- <Cell col="3" style="align:left;" text="bind:patnm"/>
- <Cell col="4" style="align:left;" text="bind:babynm"/>
- <Cell col="5" text="bind:gndr"/>
- <Cell col="6" text="bind:weig"/>
- <Cell col="7" style="align:left;" text="bind:addr"/>
- <Cell col="8" style="align:left;" text="bind:hometel"/>
- <Cell col="9" text="bind:drdethyn"/>
- <Cell col="10" text="bind:inptdethyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 767 1195 794" style=""/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" 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="dethyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="dethyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_nbabyinfo" 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>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="printdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqdata"/>
- <Col id="printdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_nbabyinfo_nbabyinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bthdt" type="STRING" size="256"/>
- <Column id="hundbthdt" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="babynm" type="STRING" size="256"/>
- <Column id="gndr" type="STRING" size="256"/>
- <Column id="weig" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="drdethyn" type="STRING" size="256"/>
- <Column id="inptdethyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bthdt"/>
- <Col id="hundbthdt"/>
- <Col id="patnm"/>
- <Col id="babynm"/>
- <Col id="gndr"/>
- <Col id="weig"/>
- <Col id="addr"/>
- <Col id="hometel"/>
- <Col id="drdethyn"/>
- <Col id="inptdethyn"/>
- </Row>
- </Rows>
- </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"/>
- </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_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>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="printdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqdata"/>
- <Col id="printdata"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_printdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.CheckBox00" propid="value" datasetid="ds_main_cond" columnid="dethyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //include "emr_partrtnnbabyxp::SMMNN02500.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- var xnbabyhoundListPath = "ds_main_nbabyinfo_nbabyinfolist";
- var xPrintListPath = "ds_send_printdata_nbabyinfo_nbabyinfolist";
- function SMMNN02500_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_biz.grd_nbabyhoundlist)
- this.setTimer(0, 1);
- //fInitialize();
- }
- /**
- * _group :
- * _ver : 2008.11.20
- * _by : 정경화
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 초기화 작업을 합니다.
- * _param :
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fInitialize(){
-
- ds_main_cond.setColumn( 0, "fromdd", utlf_getCurrentDate());
- ds_main_cond.setColumn( 0, "todd", utlf_getCurrentDate());
- fGetnbabyhoundInfo();
- }
- /**
- * _group :
- * _ver : 2008.11.20
- * _by : 정경화
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 분만실 처치장부 조회.
- * _param :
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fGetnbabyhoundInfo(){
- ds_send_reqdata.copyData(ds_main_cond);
- var oParam = {};
- oParam.id = "TRMNN02501";
- oParam.service = "partrtnnbabyapp.NbabyCarePatMngt";
- oParam.method = "reqGetBabyHoundList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_nbabyinfo_nbabyinfolist=nbabyinfolist";
- oParam.async = false;
- // oParam.callback = "cf_TRMNN02501";
- tranf_submit(oParam);
- }
- /**
- * _group :
- * _ver : 2008.11.20
- * _by : 정경화
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 그리드 데이터 엑셀 전환
- * _param :
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fSaveExcel(){
- //grp_biz.grd_nbabyhoundlist.gridToInstance();
- //file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- //if(file != "") {
- grdf_exportExcel(grp_biz.grd_nbabyhoundlist, "출생100일대상자" + utlf_getCurrentDate(), "출생100일대상자", false, "", "user", false);
- //}
- }
- /**
- * _group :
- * _ver : 2008.11.20
- * _by : 정경화
- * _---------------------------------------------------
- * _type : function
- * _access : public
- * _desc : 출생 100일대상자 출력
- * _param : grid 명
- * _param :
- * _return :
- * _---------------------------------------------------
- */
- function fClickPrint(){
-
- ds_send_printdata.clearData();
- //dsf_makeValue( ds_send, "printdata", "string", "");
- ds_send_printdata.copyData(ds_main_nbabyinfo_nbabyinfolist);
- var nodecnt = ds_main_nbabyinfo_nbabyinfolist.rowcount;
- if(nodecnt > 0){
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "root/send/printdata/nbabyinfo/nbabyinfolist" , ds_send_printdata);
- rptf_setNodeListToDOM(objDOM, "root/send/printdata/cond" , ds_main_cond); // 데이터셋 2
-
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPMNN02501"],[objParam], option);
- }else{
- sysf_messageBox("출력할 내용이","I004");
- }
- }// header파일 중 SMMNN02500.js 파일 끝
- function grp_biz_grp_sea_ipt_bthddtodd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- fGetnbabyhoundInfo();
- }
- function grp_biz_grp_sea_ipt_bthddfromdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- fGetnbabyhoundInfo();
- }
- function grp_biz_grp_sea_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- fGetnbabyhoundInfo();
- }
- function grp_biz_grp_sea_btn_print_onclick(obj:Button, e:ClickEventInfo) {
- fClickPrint();
- }
- function grp_biz_grp_sea_btn_saveexcel_onclick(obj:Button, e:ClickEventInfo) {
- fSaveExcel();
- }
- function grp_biz_checkbox2_onkillfocus(obj:cp_checkboxList, e:KillFocusEventInfo) {
- fGetnbabyhoundInfo();
- }
- function SMMNN02500_ontimer(obj:Form, e:TimerEventInfo)
- {
-
- if (e.timerid == 0) {
- this.killTimer(0);
- fInitialize();
-
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|