123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLP02800" position="absolute 0 0 1197 793" titletext="건진조회" oninit="SMLLP02800_oninit" onload="SMLLP02800_onload">
- <Layouts>
- <Layout>
- <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1127 24 1195 46" onclick="btn_reset_onclick" anchor="top right"/>
- <Button id="button11" taborder="2" text="출력" class="btn6" position="absolute 0 33 56 55" onclick="button11_onclick" anchor="left top"/>
- <Static id="caption6" text="건진조회" class="tit_1" position="absolute 0 0 88 25" anchor="left top"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 123 1194 129" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Div id="group1" taborder="3" position="absolute 0 62 1195 97" anchor="left top right" class="div_SA2">
- <Layouts>
- <Layout>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
- <Button id="btn_Ref" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group1_btn_Ref_onclick" anchor="top right"/>
- <Static id="caption11" text="조회일자 :" class="search_name" position="absolute 890 10 981 27" anchor="top right"/>
- <Calendar id="input1" taborder="4" class="input_search" position="absolute 985 9 1085 28" onkeyup="group1_input1_onkeyup" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption3" text="건진조회리스트" class="tit_2" position="absolute 1 106 116 122" anchor="left top"/>
- <Grid id="grd_slist" taborder="4" binddataset="ds_grd_slist" useinputpanel="false" position="absolute 0 127 1194 792" anchor="all" cellsizingtype="none" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="105"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="320"/>
- </Columns>
- <Rows>
- <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="ABO"/>
- <Cell col="6" text="진료과"/>
- <Cell col="7" text="WBC"/>
- <Cell col="8" text="HBsAg"/>
- <Cell col="9" text="HIVAg/Ab"/>
- <Cell col="10" text="Plt"/>
- <Cell col="11" text="진단"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:abo"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:wbc"/>
- <Cell col="8" text="bind:hbs"/>
- <Cell col="9" text="bind:hiv"/>
- <Cell col="10" text="bind:plt"/>
- <Cell col="11" text="bind:termhngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_slist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="abo" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="wbc" type="STRING"/>
- <Column id="hbs" type="STRING"/>
- <Column id="hiv" type="STRING"/>
- <Column id="plt" type="STRING"/>
- <Column id="termhngnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SMLLP02800_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLLP02800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_slist);
- fSetInit();
- }
-
- function fSetInit()
- {
- group1.input1.value = utlf_getCurrentDate();
- }
- //조회
- function fGetSList()
- {
- ds_send.setColumn(0, "fromdd", group1.input1.value);
- var oParam = {};
- oParam.id = "TRLLP02801";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetSWorkList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_slist=getSWorkList";
- oParam.async = false;
- //oParam.callback = "cf_TRLLP02801";
- tranf_submit(oParam);
- }
- //조회
- function group1_btn_Ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSList();
- }
- function group1_input1_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetSList();
- }
- }
- //초기화
- function btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/main/slist", ds_grd_slist);
- rptf_setValueToDOM(objDOM, "root/send/fromdd", group1.input1.value);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPLLP02800"],[objParam], option);
- }
- ]]></Script>
- </Form>
- </FDL>
|