123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMANS00500" position="absolute 0 0 1195 733" titletext="임상영양통계" oninit="SMANS00500_oninit" onload="SMANS00500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1180 60" align="align:center top;" id="group1" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="기간 :" position="absolute 25 9 90 26" id="caption3" class="search_name" anchor="default"/>
- <Shape position="absolute 1092 7 1098 29" linetype="vertical" id="line14" class="line_4" anchor="default"/>
- <Calendar position="absolute 90 9 189 28" align="align:center middle;" id="ipt_fromdd" class="input_default" taborder="0" anchor="default" autoselect="true" autoskip="true"/>
- <Calendar position="absolute 205 9 304 28" align="align:center middle;" id="ipt_todd" class="input_default" taborder="1" anchor="default" autoskip="false" autoselect="true"/>
- <Static text="~" position="absolute 193 9 205 26" id="caption11" class="search_n_b" anchor="default"/>
- <Button position="absolute 1110 7 1166 29" id="btn_search" class="btn1" taborder="2" text="조회" anchor="default" onclick="group1_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 5 60 1185 66" linetype="horizontal" id="line2" class="line_1"/>
- <Grid position="absolute 5 89 1188 724" align="align:center middle;" id="grd_data" visible="false" binddataset="ds_grd_data">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="58"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <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="일반상담"/>
- <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="협진"/>
- <Cell col="12" text="영양집중지원"/>
- <Cell col="13" text="영양집중지원"/>
- <Cell col="14" text="영양집중지원"/>
- <Cell col="15" text="영양집중지원"/>
- <Cell col="16" text="집단교육"/>
- <Cell col="17" text="총계"/>
- <Cell row="1" text="구분"/>
- <Cell row="1" col="1" text="초기영양검색"/>
- <Cell row="1" col="2" text="치료식환자관리"/>
- <Cell row="1" col="3" text="식사회진관리"/>
- <Cell row="1" col="4" text="전화영양상담"/>
- <Cell row="1" col="5" text="추구관리"/>
- <Cell row="1" col="6" text="소계"/>
- <Cell row="1" col="7" text="입원"/>
- <Cell row="1" col="8" text="입원"/>
- <Cell row="1" col="9" text="외래"/>
- <Cell row="1" col="10" text="추구관리"/>
- <Cell row="1" col="11" text="소계"/>
- <Cell row="1" col="12" text="영양집중지원"/>
- <Cell row="1" col="13" text="영양집중지원"/>
- <Cell row="1" col="14" text="영양집중지원"/>
- <Cell row="1" col="15" text="영양집중지원"/>
- <Cell row="1" col="16" text="집단교육"/>
- <Cell row="1" col="17" text="총계"/>
- <Cell row="2" text="구분"/>
- <Cell row="2" col="1" text="초기영양검색"/>
- <Cell row="2" col="2" text="치료식환자관리"/>
- <Cell row="2" col="3" text="식사회진관리"/>
- <Cell row="2" col="4" text="전화영양상담"/>
- <Cell row="2" col="5" text="추구관리"/>
- <Cell row="2" col="6" text="소계"/>
- <Cell row="2" col="7" text="영양평가"/>
- <Cell row="2" col="8" text="영양교육"/>
- <Cell row="2" col="9" text=" 영양교육 "/>
- <Cell row="2" col="10" text="추구관리"/>
- <Cell row="2" col="11" text="소계"/>
- <Cell row="2" col="12" text="영양평가"/>
- <Cell row="2" col="13" text="영양교육"/>
- <Cell row="2" col="14" text="추구관리"/>
- <Cell row="2" col="15" text="소계"/>
- <Cell row="2" col="16" text="집단교육"/>
- <Cell row="2" col="17" text="총계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdnm"/>
- <Cell col="1" text="bind:kind1"/>
- <Cell col="2" text="bind:kind2"/>
- <Cell col="3" text="bind:kind3"/>
- <Cell col="4" text="bind:kind4"/>
- <Cell col="5" text="bind:kind5"/>
- <Cell col="6" text="bind:sum1"/>
- <Cell col="7" text="bind:kind6"/>
- <Cell col="8" text="bind:kind7"/>
- <Cell col="9" text="bind:kind8"/>
- <Cell col="10" text="bind:kind9"/>
- <Cell col="11" text="bind:sum2"/>
- <Cell col="12" text="bind:kind10"/>
- <Cell col="13" text="bind:kind11"/>
- <Cell col="14" text="bind:kind12"/>
- <Cell col="15" text="bind:sum3"/>
- <Cell col="16" text="bind:kind13"/>
- <Cell col="17" text="bind:totalsum"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="임상영양통계" class="tit_1" position="absolute 0 0 200 25"/>
- <Div id="grp_biz" taborder="1" scrollbars="none" position="absolute 5 65 1182 727"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="kind1" type="STRING" size="256"/>
- <Column id="kind2" type="STRING" size="256"/>
- <Column id="kind3" type="STRING" size="256"/>
- <Column id="kind4" type="STRING" size="256"/>
- <Column id="kind5" type="STRING" size="256"/>
- <Column id="sum1" type="STRING" size="256"/>
- <Column id="kind6" type="STRING" size="256"/>
- <Column id="kind7" type="STRING" size="256"/>
- <Column id="kind8" type="STRING" size="256"/>
- <Column id="kind9" type="STRING" size="256"/>
- <Column id="sum2" type="STRING" size="256"/>
- <Column id="kind10" type="STRING" size="256"/>
- <Column id="kind11" type="STRING" size="256"/>
- <Column id="kind12" type="STRING" size="256"/>
- <Column id="sum3" type="STRING" size="256"/>
- <Column id="kind13" type="STRING" size="256"/>
- <Column id="totalsum" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"/>
- <Col id="kind1"/>
- <Col id="kind2"/>
- <Col id="kind3"/>
- <Col id="kind4"/>
- <Col id="kind5"/>
- <Col id="sum1"/>
- <Col id="kind6"/>
- <Col id="kind7"/>
- <Col id="kind8"/>
- <Col id="kind9"/>
- <Col id="sum2"/>
- <Col id="kind10"/>
- <Col id="kind11"/>
- <Col id="kind12"/>
- <Col id="sum3"/>
- <Col id="kind13"/>
- <Col id="totalsum"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send_data" columnid="fromdd"/>
- <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send_data" columnid="todd"/>
- </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";
- var arErrorCode = new HashArray();
- function SMANS00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- function SMANS00500_onload(obj:Form, e:LoadEventInfo)
- {
- group1.ipt_fromdd.value = utlf_getCurrentDate();
- group1.ipt_todd.value = utlf_getCurrentDate();
- }
- function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if (utlf_isNull(ds_send_data.getColumn(0, "fromdd"))){
- sysf_messageBox("조회시작일자는", "I003");
- group1.ipt_fromdd.setFocus();
- return;
- }
- if (utlf_isNull(ds_send_data.getColumn(0, "todd"))){
- sysf_messageBox("조회종료일자는", "I003");
- group1.ipt_todd.setFocus();
- return;
- }
- if (utlf_isValidDateTime(ds_send_data.getColumn(0, "fromdd"), "YYYYMMDD") == false){
- sysf_messageBox("조회 시작년월의 형식이", "E016");
- group1.ipt_fromdd.setFocus();
- return;
- }
- if (utlf_isValidDateTime(ds_send_data.getColumn(0, "todd"), "YYYYMMDD") == false){
- sysf_messageBox("조회 종료년월의 형식이", "E016");
- group1.ipt_todd.setFocus();
- return;
- }
- if (ds_send_data.getColumn(0, "fromdd") > ds_send_data.getColumn(0, "todd")){
- sysf_messageBox("조회 시작년월은 종료년월 보다 클 수", "I004");
- group1.ipt_fromdd.setFocus();
- return;
- }
- var oParam = {};
- oParam.id = "TRANS00501";
- oParam.service = "dietstatsapp.DietStats";
- oParam.method = "reqGetClincNutrStats";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_main_data=ret";
- oParam.async = false;
- tranf_submit(oParam);
- //exeReportPreview("RPANS00501", "XMLSTR", "", "", "false","","","","","false", "", "");
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/data", ds_main_data);
- rptf_setNodeListToDOM(objDOM, "root/send/data", ds_send_data);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;print=0;zoom=0;";
- rptf_exeReportPreview30(["RPANS00501"],[objParam], option, "", "grp_biz");
- }
- ]]></Script>
- </Form>
- </FDL>
|