123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPPI01100" position="absolute 0 0 997 664" titletext="수술 예방적 항생제 상세조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" text="수술 예방적 항생제 상세조회" class="tit_1" position="absolute 0 0 272 26"/>
- <Button id="btn_excelsave" taborder="2" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" class="btn7" position="absolute 911 6 991 25" anchor="top right"/>
- <Grid id="Grid00" taborder="3" binddataset="ds_grd_dtllist" useinputpanel="false" position="absolute 0 31 992 660" anchor="all" cellmovingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="104"/>
- <Column size="235"/>
- <Column size="140"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- </Columns>
- <Rows>
- <Row size="44" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="환자번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" displaytype="normal" text="처방코드"/>
- <Cell col="3" displaytype="normal" text="처방명"/>
- <Cell col="4" displaytype="normal" text="시행일시"/>
- <Cell col="5" displaytype="normal" text="세파여부"/>
- <Cell col="6" displaytype="normal" text="퇴원약여부"/>
- <Cell col="7" displaytype="normal" text="구분"/>
- <Cell col="8" displaytype="normal" text="1회량"/>
- <Cell col="9" displaytype="normal" text="횟수"/>
- <Cell col="10" text="1일량"/>
- <Cell col="11" displaytype="normal" text="일수 총투"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:patnm"/>
- <Cell col="2" displaytype="normal" text="bind:prcpcd"/>
- <Cell col="3" displaytype="normal" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" displaytype="date" text="bind:execdd" mask="yyyy-MM-dd HH:mm:ss"/>
- <Cell col="5" displaytype="normal" text="bind:sefa"/>
- <Cell col="6" displaytype="normal" text="bind:dscdrug"/>
- <Cell col="7" displaytype="normal" text="bind:gbn"/>
- <Cell col="8" displaytype="number" text="bind:execprcpqty"/>
- <Cell col="9" displaytype="number" text="bind:execprcptims"/>
- <Cell col="10" displaytype="number" expr="expr:execprcpqty * execprcptims"/>
- <Cell col="11" displaytype="number" text="bind:execprcpdayno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="ln_clodhist00" class="line_10" position="absolute 0 27 992 32" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_dtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grd_dtllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <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 "pam_pamcomnxp::PAM001.xjs";
- function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj)
- }
- function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(Grid00);
- fInitialize();
- }
- function fInitialize(){
-
- fGetDocuList();
- }
- function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function fGetDocuList(){
- ds_send_dtl.copyData(arg_ds_hidden_receivedata);
-
- var oParam = {};
- oParam.id = "TRPPI01300";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetOpPrvnAntibioDtlList";
- oParam.inds = "req=ds_send_dtl";
- oParam.outds = "ds_grd_dtllist=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPPI01300";
- tranf_submit(oParam);
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_grd_dtllist.rowcount > 0) {
- grdf_exportExcel(Grid00, "수술 예방적 항생제 상세내역" , "see");
- }else{
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|