123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRD02300" position="absolute 0 0 710 320" titletext="원무전과전실" onload="SPMRD02300_onload">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 29 710 32" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
- <Static id="caption6" class="tit_1" position="absolute 0 0 147 26" style="" text="원무 전과전실 정보"/>
- <Shape id="line4" class="line_3" linetype="horizontal" position="absolute 0 317 710 320" style="" anchor="default"/>
- <Grid id="grd_tranlist" binddataset="ds_main_traninfo_tranlist" position="absolute 0 33 710 315" style="" cellsizingtype="col" taborder="0">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="81"/>
- <Column size="79"/>
- <Column size="86"/>
- <Column size="94"/>
- <Column size="63"/>
- <Column size="66"/>
- <Column size="54"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="최종수성일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:pid"/>
- <Cell col="2" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:indd"/>
- <Cell col="3" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:cretno"/>
- <Cell col="4" displaytype="date" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:fromdd" calendardisplaynulltype="none"/>
- <Cell col="5" displaytype="date" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:todd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="text" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:orddept"/>
- <Cell col="7" displaytype="text" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:ward"/>
- <Cell col="8" displaytype="text" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:roomcd"/>
- <Cell col="9" displaytype="text" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:medispcl"/>
- <Cell col="10" style="background:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");background2:EXPR(histstat != "Y" ? "#CCCCCC" : "#FFFFFF");" text="bind:histstat"/>
- <Cell col="11" text="bind:fstrgstnm"/>
- <Cell col="12" text="bind:fstrgstdt"/>
- <Cell col="13" text="bind:lastupdtnm"/>
- <Cell col="14" text="bind:lastupdtdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="bool1" truevalue="Y" falsevalue="N" position="absolute 161 7 273 27" style="font:,,bold;" text="날짜 단위로보기" anchor="left bottom" onclick="bool1_onclick" taborder="1"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_dschanalyhist_dschanalyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="histstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="histstat"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="indxlist" type="STRING" size="256"/>
- </ColumnInfo>
- </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>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dschanalyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </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>
- <Column id="traninfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_traninfo_tranlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="bool1" propid="value" datasetid="ds_main_dschanalyhist_dschanalyinfo" columnid="histstat"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-16
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-16 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "com_commodulexp::SSZFM00401.xjs"
- var arErrorCode = new HashArray();
- function fSetColor(){
- var cnt = ds_main_traninfo_tranlist.rowcount;
- var histstat = "";
- for(var i=0; i<cnt; i++){
- histstat = ds_main_traninfo_tranlist.getColumn(i, "histstat");
- grd_tranlist.setCellProprty("body", i, "background", "#FFFFFF"); grd_tranlist.setCellProperty("body", i, "background2", "#FFFFFF");
- if("Y" != histstat){
- grd_tranlist.setCellProprty("body", i, "background", "#CCCCCC"); grd_tranlist.setCellProperty("body", i, "background2", "#CCCCCC");
- }
- }
- }
- function SPMRD02300_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
-
- grdf_initGrid(grd_tranlist);
-
- if(frmf_checkOpener())
- {
- try{
- ds_main_dschanalyhist_dschanalyinfo.copyData(arg_ds_main_dschanalyhist_dschanalyinfo);
- }catch(e){}
- }
- var oParam = {};
- oParam.id = "TRMRD00419";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetPamTraninfo";
- oParam.inds = "req=ds_main_dschanalyhist_dschanalyinfo";
- oParam.outds = "ds_main_traninfo_tranlist=tranlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD00419";
- tranf_submit(oParam);
- }
- function bool1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRMRD00419";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetPamTraninfo";
- oParam.inds = "req=ds_main_dschanalyhist_dschanalyinfo";
- oParam.outds = "ds_main_traninfo_tranlist=tranlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD00419";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|