123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMC05400" position="absolute 0 0 1196 788" titletext="미숙아 사산/사태신고 조회" oninit="SMPMC05400_oninit" onload="SMPMC05400_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="4" tabindex="0" position="absolute 0 81 1195 754" class="tab_Normal" anchor="all">
- <Tabpages>
- <Tabpage id="case1">
- <Layouts>
- <Layout>
- <Grid id="grd_immature" class="datagrid2" taborder="5" binddataset="ds_main_immaturelist_list" useinputpanel="false" position="absolute 0 0 1195 660" anchor="all" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="18"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="300"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="15"/>
- <Column size="40"/>
- <Column size="20"/>
- <Column size="20"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="환자번호"/>
- <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" colspan="2" text="체중" taborder="undefined"/>
- <Cell col="13" colspan="3" text="임신기간" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:babynm"/>
- <Cell col="5" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
- <Cell col="6" text="bind:partnernm"/>
- <Cell col="7" style="align:left top;padding:5 2 3 2;" text="bind:addr" wordwrap="word"/>
- <Cell col="8" text="bind:tel"/>
- <Cell col="9" text="bind:bthplcenm"/>
- <Cell col="10" text="bind:bthdt"/>
- <Cell col="11" displaytype="text" style="align:right middle;" text="bind:weig"/>
- <Cell col="12" text="bind:weigunit"/>
- <Cell col="13" displaytype="text" style="align:right middle;" text="bind:prgweekcnt"/>
- <Cell col="14" text="bind:termunit"/>
- <Cell col="15" displaytype="text" style="align:right middle;" text="bind:prgadddaycnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2">
- <Layouts>
- <Layout>
- <Grid id="grd_stillborn" class="datagrid2" taborder="5" binddataset="ds_main_stillbornlist_list" useinputpanel="false" position="absolute 0 0 1195 660" anchor="all" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="18"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="300"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="20"/>
- <Column size="20"/>
- <Column size="100"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="주민번호"/>
- <Cell col="5" text="주소"/>
- <Cell col="6" text="사망일자"/>
- <Cell col="7" colspan="3" text="임신기간" taborder="undefined"/>
- <Cell col="10" text="발생장소"/>
- <Cell col="11" text="원인"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:chkflag == 'Y' ? 1 : 0 "/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:rrgstno" mask="######-#######" maskchar=" "/>
- <Cell col="5" text="bind:addr"/>
- <Cell col="6" displaytype="date" text="bind:deathdd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" text="bind:prgweekcnt"/>
- <Cell col="8" text="bind:termunit"/>
- <Cell col="9" text="bind:prgadddaycnt"/>
- <Cell col="10" displaytype="combo" text="bind:occurplce" combodataset="ds_cmb_occurplce" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="11" text="bind:reason"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="미숙아/사산/사태신고조회" class="tit_1" position="absolute 0 0 200 25"/>
- <Shape id="line32" class="line_6" position="absolute 0 753 1195 759" anchor="left right bottom"/>
- <Button id="button2" taborder="2" text="초기화" class="btn4" position="absolute 1127 760 1195 782" anchor="right bottom" onclick="button2_onclick"/>
- <Div id="group2" anchor="left top right" taborder="3" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1105 9 1111 31" anchor="top right"/>
- <Static id="caption17" text="조회조건 :" class="search_name" position="absolute 13 12 99 29" anchor="default"/>
- <Button id="btn_ref" taborder="12" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="group2_btn_ref_onclick"/>
- <Combo id="cmb_cond" taborder="13" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 95 11 205 30" onitemchanged="group2_cmb_cond_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">미숙아신고</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">사산/사태신고</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="ipt_fromdd" taborder="14" autoselect="true" autoskip="true" position="absolute 311 11 411 30" anchor="default"/>
- <Static id="caption1" text="조회기간 :" class="search_name" position="absolute 228 12 314 29" anchor="default"/>
- <Calendar id="ipt_todd" taborder="15" autoselect="true" position="absolute 436 11 536 30" anchor="default"/>
- <Static id="caption3" text="~" position="absolute 418 11 433 31" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption2" text="조회 목록" class="tit_2" position="absolute 0 73 300 95"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Button id="btn_print" taborder="5" text="출력" class="btn6" position="absolute 1064 67 1114 89" anchor="top right" onclick="btn_print_onclick"/>
- <Button id="btn_excel" taborder="6" text="엑셀저장" class="btn7" position="absolute 1115 67 1195 89" anchor="top right" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refcond" type="STRING" size="256"/>
- <Column id="cond_fromdd" type="STRING" size="256"/>
- <Column id="cond_todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refcond">0</Col>
- <Col id="cond_fromdd"/>
- <Col id="cond_todd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_immaturelist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_immaturelist_list_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="임산부성명"/>
- <Column id="babynm" type="STRING" size="256" sumtext="아기성명"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="partnernm" type="STRING" size="256" sumtext="배우자성명"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="tel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="bthplcenm" type="STRING" size="256" sumtext="분만기관명"/>
- <Column id="bthdt" type="STRING" size="256" sumtext="분만일자"/>
- <Column id="weig" type="STRING" size="256" sumtext="출생시아기체중"/>
- <Column id="prgweekcnt" type="STRING" size="256" sumtext="임신기간(주)"/>
- <Column id="prgadddaycnt" type="STRING" size="256" sumtext="임신기간(잔여일)"/>
- <Column id="weigunit" type="STRING" size="256" sumtext="체중단위"/>
- <Column id="termunit" type="STRING" size="256" sumtext="임신기간 단위"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="hospaddr" type="STRING" size="256" sumtext="병원주소"/>
- <Column id="hosptel" type="STRING" size="256" sumtext="병원전화"/>
- <Column id="healcntrnm" type="STRING" size="256" sumtext="보건소명"/>
- <Column id="prsdnm" type="STRING" size="256" sumtext="의료기관장"/>
- <Column id="proccorpcd" type="STRING" size="256" sumtext="요양기관기호"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="질병코드"/>
- <Column id="diagnm2" type="STRING" size="256" sumtext="진단"/>
- <Column id="diagcd2" type="STRING" size="256" sumtext="질병코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_stillbornlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_stillbornlist_list_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256" sumtext="선택여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="임산부성명"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="prgweekcnt" type="STRING" size="256" sumtext="임신기간(주)"/>
- <Column id="prgadddaycnt" type="STRING" size="256" sumtext="임신기간(잔여일)"/>
- <Column id="termunit" type="STRING" size="256" sumtext="임신기간 단위"/>
- <Column id="deathdd" type="STRING" size="256" sumtext="사망일자"/>
- <Column id="occurplce" type="STRING" size="256" sumtext="발생장소"/>
- <Column id="reason" type="STRING" size="256" sumtext="사망사유"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="hospaddr" type="STRING" size="256" sumtext="병원주소"/>
- <Column id="hosptel" type="STRING" size="256" sumtext="병원전화"/>
- <Column id="healcntrnm" type="STRING" size="256" sumtext="보건소명"/>
- <Column id="roominginyn" type="STRING" size="256" sumtext="모자동실실시여부"/>
- <Column id="roomingincnt" type="STRING" size="256" sumtext="모자동실병상수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_occurplce" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">의료기관</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_print_immature" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_print_stillborn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_cond" propid="value" datasetid="ds_send_data1" columnid="refcond"/>
- <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send_data1" columnid="cond_fromdd"/>
- <BindItem id="item2" compid="group2.ipt_todd" propid="value" datasetid="ds_send_data1" columnid="cond_todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- include "com_basiccodexp::ZBC001.xjs"
- var arErrorCode = new HashArray();
- function SMPMC05400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPMC05400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_immature);
- grdf_initGrid(switch1.case2.grd_stillborn);
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_main_immaturelist_list.clearData();
- ds_main_stillbornlist_list.clearData();
-
- ds_send_data1.clearData();
- ds_send_data1.addRow();
-
- ds_send_data1.setColumn(0, "refcond","0");
- ds_send_data1.setColumn(0, "cond_fromdd",utlf_getCurrentDate());
- ds_send_data1.setColumn(0, "cond_todd",utlf_getCurrentDate());
-
- fSelectRefItem();
- }
- function fSelectRefItem()
- {
- // 0. 미숙아신고 1. 사산, 사태신고
- var sRefCond = ds_send_data1.getColumn(0, "refcond");
-
- // 항목 선택에 따른 그리드 스위칭...
- // 미숙아
- if (sRefCond == "0")
- {
- switch1.tabindex = 0;
- }
-
- // 사산, 사태
- if (sRefCond == "1")
- {
- switch1.tabindex = 1;
- }
- }
- function group2_cmb_cond_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSelectRefItem();
- }
- function fCheckRefCondition()
- {
- // 1. 전체 2.환자번호 4.진료과 5.병동
- var sRefCond = ds_send_data1.getColumn(0, "refcond");
- var sCondFromdd = ds_send_data1.getColumn(0, "cond_fromdd");
- var sCondTodd = ds_send_data1.getColumn(0, "cond_todd");
- var bResult = false;
- // 조회날짜 체크
- if (utlf_isNull(sCondFromdd) || utlf_isNull(sCondTodd))
- {
- bResult = false;
- sysf_messageBox("조회 시작일자 또는 종료일자를 확인하십시오!!", "I");
- }
- else
- {
- bResult = true;
- }
- return bResult;
- }
- function group2_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- // 조회 구분별로 체크 로직 추가....
- var bOK = fCheckRefCondition();
- var sRefCond = ds_send_data1.getColumn(0, "refcond");
-
- if (bOK == true)
- {
- // 미숙아
- if (sRefCond == "0")
- {
- ds_main_immaturelist_list.clearData();
- var oParam = {};
- oParam.id = "TRPMC05401";
- oParam.service = "patinfomngtapp.HealCntrRept";
- oParam.method = "reqGetImmatureList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_immaturelist_list=list";
- oParam.async = false;
- //oParam.callback = "cf_TRPMC05401";
- tranf_submit(oParam);
-
- ds_main_immaturelist_list.updatecontrol = false;
- dsf_setFixVal(ds_main_immaturelist_list, "chkflag:N");
- ds_main_immaturelist_list.updatecontrol = true;
- var iCount = ds_main_immaturelist_list.rowcount;
- if (iCount == 0)
- {
- sysf_messageBox("조회 결과가 없습니다.", "I");
- }
- }
-
- // 사산, 사태
- if (sRefCond == "1")
- {
- ds_main_stillbornlist_list.clearData();
- var oParam = {};
- oParam.id = "TRPMC05402";
- oParam.service = "patinfomngtapp.HealCntrRept";
- oParam.method = "reqGetStillBornList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_main_stillbornlist_list=list";
- oParam.async = false;
- //oParam.callback = "cf_TRPMC05402";
- tranf_submit(oParam);
-
- ds_main_stillbornlist_list.updatecontrol = false;
- dsf_setFixVal(ds_main_stillbornlist_list, "chkflag:N");
- ds_main_stillbornlist_list.updatecontrol = true;
- var iCount = ds_main_stillbornlist_list.rowcount;
- if (iCount == 0)
- {
- sysf_messageBox("조회 결과가 없습니다.", "I");
- }
- }
- }
- }
- function ds_main_immaturelist_list_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkflag")
- {
- obj.setColumn(e.row, "chkflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_stillbornlist_list_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkflag")
- {
- obj.setColumn(e.row, "chkflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function fPrint()
- {
- var sRefCond = ds_send_data1.getColumn(0, "refcond");
-
- // 미숙아신고서
- if (sRefCond == "0")
- {
- var iRows = ds_main_immaturelist_list.rowcount;
- if (iRows >= 0)
- {
- ds_hidden_print_immature.copyData(ds_main_immaturelist_list);
- ds_hidden_print_immature.clearData();
- for (var idx = 0; idx < iRows ; idx++)
- {
- var bIsChecked = ds_main_immaturelist_list.getColumn(idx, "chkflag");
- if (bIsChecked == "Y")
- {
- ds_hidden_print_immature.copyRow(ds_hidden_print_immature.addRow(), ds_main_immaturelist_list, idx);
-
- dsf_makeValue(ds_hidden_print_immature, "year", "String", String(utlf_getCurrentDate()).substr(0, 4));
- dsf_makeValue(ds_hidden_print_immature, "month", "String", String(utlf_getCurrentDate()).substr(4, 2));
- dsf_makeValue(ds_hidden_print_immature, "day", "String", String(utlf_getCurrentDate()).substr(6, 2));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/hidden/print/immature", ds_hidden_print_immature);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPMC05403"],[objParam], option);
- ds_hidden_print_immature.clearData();
- }
- }
- }
- else
- {
- sysf_messageBox("출력할 내용이 없습니다!!", "I");
- }
- }
-
- // 사산보고서
- if (sRefCond == "1")
- {
- var iRows = ds_main_stillbornlist_list.rowcount;
- if (iRows > 0)
- {
- ds_hidden_print_stillborn.copyData(ds_main_stillbornlist_list);
- ds_hidden_print_stillborn.clearData();
-
- for (var idx = 0; idx < iRows ; idx++)
- {
- var bIsChecked = ds_main_stillbornlist_list.getColumn(idx, "chkflag");
- if (bIsChecked == "Y")
- {
- ds_hidden_print_stillborn.copyRow(ds_hidden_print_stillborn.addRow(), ds_main_stillbornlist_list, idx);
-
- dsf_makeValue(ds_hidden_print_stillborn, "year", "string", String(utlf_getCurrentDate()).substr(0, 4));
- dsf_makeValue(ds_hidden_print_stillborn, "month", "string", String(utlf_getCurrentDate()).substr(4, 2));
- dsf_makeValue(ds_hidden_print_stillborn, "day", "string", String(utlf_getCurrentDate()).substr(6, 2));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/hidden/print/stillborn", ds_hidden_print_stillborn);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = null;
- rptf_exeReportPreview30(["RPPMC05402"],[objParam], option);
-
- ds_hidden_print_stillborn.clearData();
- }
- }
- }
- else
- {
- sysf_messageBox("출력할 내용이 없습니다!!", "I");
- }
- }
- }
- function btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrint();
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var sRefCond = ds_send_data1.getColumn(0, "refcond");
- if (sRefCond == "0")
- {
- grdf_exportExcel(switch1.case1.grd_immature, utlf_getCurrentDate(), "SheetName", "true", "", "");
- }
-
- if (sRefCond == "1")
- {
- grdf_exportExcel(switch1.case2.grd_stillborn, utlf_getCurrentDate(), "SheetName", "true", "", "");
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitialize();
- }
- ]]></Script>
- </Form>
- </FDL>
|