123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAER00900" position="absolute 0 0 1196 770" titletext="치료실시완료현황" onload="SMAER00900_onload" oninit="SMAER00900_oninit">
- <Layouts>
- <Layout>
- <Static text="치료 실시 완료 현황" position="absolute 0 0 230 24" id="caption19" class="tit_1"/>
- <Shape position="absolute 0 82 1190 88" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 87 1190 766" id="datagrid1" binddataset="ds_main_nuclprcsprescondlist_nuclprcsprescond" autofittype="col" cellsizingtype="col" autoenter="select" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="43"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="268"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="81"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="68"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="No"/>
- <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" expr="currow+1"/>
- <Cell col="1" text="bind:seq"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:orddeptnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" text="bind:excuroomcd"/>
- <Cell col="8" text="bind:prcpnm"/>
- <Cell col="9" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
- <Cell col="10" displaytype="date" text="bind:dschdd" calendardisplaynulltype="nulltext"/>
- <Cell col="11" displaytype="date" text="bind:execdd" calendardisplaynulltype="nulltext"/>
- <Cell col="12" displaytype="number" text="bind:drugqty"/>
- <Cell col="13" text="bind:roomcd"/>
- <Cell col="14" text="bind:drnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1140 63 1190 82" id="button4" class="btn7" text="엑셀" onclick="button4_onclick"/>
- <Div id="grp_sea" taborder="1" position="absolute 0 24 1192 59" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 10 11 101 28" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="1" class="input_default" position="absolute 101 9 191 28" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Calendar id="ipt_todd" taborder="2" class="input_default" position="absolute 193 9 283 28" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 319 11 409 28" anchor="default"/>
- <Edit id="ipt_pid" taborder="3" class="input_search" position="absolute 400 9 480 28" anchor="default" onkeydown="grp_sea_ipt_pid_onkeydown" autoselect="true"/>
- <Button id="button61" taborder="4" class="icon_search" position="absolute 482 9 498 25" anchor="default" onclick="grp_sea_button61_onclick"/>
- <Edit id="ipt_patnm" taborder="5" readonly="true" position="absolute 499 9 570 28" anchor="default"/>
- <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1121 7 1177 29" anchor="default" onclick="grp_sea_btn_sea_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="tab_all" taborder="2" position="absolute 0 61 70 83" class="btn_tab_S" text="전체" onclick="tab_all_onclick"/>
- <Button id="tab_i" taborder="3" text="입원치료" class="btn_tab" position="absolute 71 61 141 83" onclick="tab_i_onclick"/>
- <Button id="tab_o" taborder="4" text="외래치료" class="btn_tab" position="absolute 142 61 212 83" onclick="tab_o_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_nuclprcsprescondlist_nuclprcsprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seq" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="excuroomcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="drugqty" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="drnm" type="STRING"/>
- </ColumnInfo>
- </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="srchpid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
- <BindItem id="item3" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_send_data" columnid="hngnm"/>
- </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";
- include "ast_examcurexp::AEZ0001.xjs";
- var vSuppdeptcd;
- function SMAER00900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAER00900_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(datagrid1);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
-
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
- ds_send.setColumn(0, "ioflag", "A");
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
-
- tab_all.class = "btn_tab_S";
- tab_i.class = "btn_tab";
- tab_o.class = "btn_tab";
- }
- function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- fnChkSubmit();
- }
- }
- function fnChkSubmit()
- {
- if((utlf_isNull(ds_send.getColumn(0, "fromdd"))|| utlf_isNull(ds_send.getColumn(0, "todd"))) && utlf_isNull(ds_send_data.getColumn(0, "srchpid")))
- {
- sysf_messageBox("조회일자와 등록번호중 하나는 ", "I003");
- }
- else
- {
- ds_send.setColumn(0, "pid", ds_send_data.getColumn(0, "srchpid"));
-
- var oParam = {};
- oParam.id = "TRAEA00901";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetExamCureNuclPrcsPresCondList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_nuclprcsprescondlist_nuclprcsprescond=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA00901";
- tranf_submit(oParam);
- }
- }
- function grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- ds_send_data.setColumn(0, "srchpid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_data.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fnChkSubmit();
- }
- function tab_all_onclick(obj:Button, e:ClickEventInfo)
- {
- tab_all.class = "btn_tab_S";
- tab_i.class = "btn_tab";
- tab_o.class = "btn_tab";
- ds_send.setColumn(0, "ioflag", "A");
- fnChkSubmit();
- }
- function tab_i_onclick(obj:Button, e:ClickEventInfo)
- {
- tab_all.class = "btn_tab";
- tab_i.class = "btn_tab_S";
- tab_o.class = "btn_tab";
-
- ds_send.setColumn(0, "ioflag", "I");
- fnChkSubmit();
- }
- function tab_o_onclick(obj:Button, e:ClickEventInfo)
- {
- tab_all.class = "btn_tab";
- tab_i.class = "btn_tab";
- tab_o.class = "btn_tab_S";
-
- ds_send.setColumn(0, "ioflag", "O");
- fnChkSubmit();
- }
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(datagrid1, "exportExcel", "Sheet1", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|