123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMB03800" position="absolute 0 0 658 280" titletext="수술예약스케줄 상세조회" oninit="SPMMB03800_oninit" onload="SPMMB03800_onload">
- <Layouts>
- <Layout>
- <Static text="수술예약스케줄 상세LIST" position="absolute 0 4 275 24" align="align:center middle;" id="caption11" class="tit_2"/>
- <Grid position="absolute 0 25 658 255" id="datagrid1" binddataset="ds_opschereclist" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="66"/>
- <Column size="60"/>
- <Column size="45"/>
- <Column size="222"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="135"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="S/A"/>
- <Cell col="4" text="수술명"/>
- <Cell col="5" text="수술방"/>
- <Cell col="6" text="집도의"/>
- <Cell col="7" text="비고"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:ptbsinfo"/>
- <Cell col="4" text="bind:opnm"/>
- <Cell col="5" text="bind:oproomnm"/>
- <Cell col="6" text="bind:perfdrnm"/>
- <Cell col="7" text="bind:opregstremfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 602 258 658 280" id="button5" class="btn3" text="닫기" onclick="button5_onclick" anchor="right bottom"/>
- <Static position="absolute 379 0 649 20" align="align:right middle;" id="cpt_opschedt" style="color:#3366ffff;align:right middle;font:Dotum,9,bold;" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_opschereclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="ptbsinfo" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="oproomnm" type="STRING"/>
- <Column id="perfdrnm" type="STRING"/>
- <Column id="opregstremfact" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256" sumtext="상태코드"/>
- <Column id="month" type="STRING" size="256" sumtext="수술대장번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="수술대장이력번호"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="todd" type="STRING" size="256" sumtext="수술대장이력코드"/>
- <Column id="oproomcd" type="STRING" size="256" sumtext="수술실코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과"/>
- <Column id="basedd" type="STRING" size="256" sumtext="기준일자"/>
- <Column id="queryflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="perfdrid" type="STRING" size="256" sumtext="집도의"/>
- <Column id="openflag" type="STRING" size="256"/>
- <Column id="scheperfdrid" type="STRING" size="256"/>
- <Column id="opschedt" type="STRING" size="256"/>
- <Column id="opscheday" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-08-29
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-29 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPMMB03800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMB03800_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- function fInitialize(){
- var opschedt = opener.frmf_getParameter("SPMMB03700_param_opschedt");
- var opscheday = opener.frmf_getParameter("SPMMB03700_param_opscheday");
- var perfdrid = opener.frmf_getParameter("SPMMB03700_param_perfdrid");
- var perfdeptcd = opener.frmf_getParameter("SPMMB03700_param_perfdeptcd");
- var nullcnt = 0;
-
- for(var i = 0; i < opscheday.length ; i++ ){
- if( opscheday.substring(i, i+1) == " " ){
- nullcnt++;
- }
- }
-
- for(var i = 0; i < nullcnt ; i++ ){
- opscheday = opscheday.replace(" ", "");
- }
-
- if( opscheday.length < 2 ){
- opscheday = "0" + opscheday;
- }
-
- ds_cond.setColumn(0, "opschedt" , opschedt);
- ds_cond.setColumn(0, "opscheday" , opscheday);
- ds_cond.setColumn(0, "perfdrid" , perfdrid);
- ds_cond.setColumn(0, "perfdeptcd" , perfdeptcd);
-
- cpt_opschedt.text = "【 " + opschedt.substring(0,4) + "년 " + opschedt.substring(4,6) + "월 " + opscheday + "일 】";
-
- fSelectCalendar();
- }
- function fSelectCalendar(){
- ds_cond.setColumn(0, "queryflag" , "cal");
- ds_cond.setColumn(0, "basedd" , ds_cond.getColumn(0, "opschedt") + ds_cond.getColumn(0, "opscheday"));
- ds_reqdata.copyData(ds_cond);
- sysf_trace(ds_cond.getColumn(0, "opschedt") + ", " + ds_cond.getColumn(0, "opscheday"));
- dsf_setDefaultVal(ds_reqdata, "perfdrid:-");
-
- var oParam = {};
- oParam.id = "TRMMO05701";
- oParam.service = "prcpmngtapp.OpMngt";
- oParam.method = "reqGetOpScheRecList";
- oParam.inds = "req=ds_reqdata";
- oParam.outds = "ds_opschereclist=opschereclist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|