123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA00950" position="absolute 0 0 1256 805" titletext="RM 입원환자 치료시간표" onload="SMAEA00950_onload" oninit="SMAEA00950_oninit">
- <Layouts>
- <Layout>
- <Grid id="datagrid2" taborder="11" binddataset="ds_grid_datagrid1" useinputpanel="false" cellsizingtype="col" position="absolute 0 94 1212 773" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="33"/>
- <Column size="83"/>
- <Column size="87"/>
- <Column size="111"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="90"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="90"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="90"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="16" celltype="head" style="align:center middle;" text="RM 재활치료실 입원환자 치료시간표" taborder="undefined"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell row="1" rowspan="2" celltype="head" taborder="undefined"/>
- <Cell row="1" col="1" rowspan="2" text="환자번호"/>
- <Cell row="1" col="2" rowspan="2" text="환자성명" taborder="undefined"/>
- <Cell row="1" col="3" rowspan="2" text="병실" taborder="undefined"/>
- <Cell row="1" col="4" colspan="3" text="운동치료"/>
- <Cell row="1" col="7" colspan="3" text="작업치료"/>
- <Cell row="1" col="10" colspan="3" text="전기온열치료실" taborder="undefined"/>
- <Cell row="1" col="13" colspan="3" text="음성언어치료실"/>
- <Cell row="1" col="16" text="caption2"/>
- <Cell row="1" col="17" text="caption3"/>
- <Cell row="1" col="18" text="caption4"/>
- <Cell row="1" col="19" text="caption5"/>
- <Cell row="1" col="20" text="caption6"/>
- <Cell row="1" col="21"/>
- <Cell row="2" col="4" text="1차"/>
- <Cell row="2" col="5" text="2차"/>
- <Cell row="2" col="6" text="치료사"/>
- <Cell row="2" col="7" text="1차"/>
- <Cell row="2" col="8" text="2차"/>
- <Cell row="2" col="9" text="치료사"/>
- <Cell row="2" col="10" text="1차"/>
- <Cell row="2" col="11" text="2차"/>
- <Cell row="2" col="12" text="치료사"/>
- <Cell row="2" col="13" text="1차"/>
- <Cell row="2" col="14" text="2차"/>
- <Cell row="2" col="15" text="치료사"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" celltype="head" style="background:azure;background2:azure;" text="bind:pid" suppress="0" suppressalign="first"/>
- <Cell col="2" text="bind:pname"/>
- <Cell col="3" text="bind:roomcd"/>
- <Cell col="4" style="background:EXPR(rm001!=null&&rm001>=1300?'gold':'');background2:EXPR(rm001!=null&&rm001>=1300?'gold':'');selectbackground:EXPR(rsrvtm1!=null&&rsrvtm1>=1300?'gold':'');" text="bind:rm001" mask="expr:rm001==null?"":'@@:@@'"/>
- <Cell col="5" style="background:EXPR(rm001_2!=null&&rm001_2>=1300?'gold':'');background2:EXPR(rm001_2!=null&&rm001_2>=1300?'gold':'');" text="bind:rm001_2" mask="expr:rm001_2==null?"":'@@:@@'"/>
- <Cell col="6" style="align:center middle;" text="bind:rm001_3" tooltiptype="mouse"/>
- <Cell col="7" style="background:EXPR(rm004!=null&&rm004>=1300?'gold':'');background2:EXPR(rm004!=null&&rm004>=1300?'gold':'');selectbackground:EXPR(rsrvtm2!=null&&rsrvtm2>=1300?'gold':'');" text="bind:rm004" mask="expr:rm004==null?"":'@@:@@'"/>
- <Cell col="8" style="background:EXPR(rm004_2!=null&&rm004_2>=1300?'gold':'');background2:EXPR(rm004_2!=null&&rm004_2>=1300?'gold':'');" text="bind:rm004_2" mask="expr:rm004_2==null?"":'@@:@@'" tooltiptext="bind:pid2"/>
- <Cell col="9" style="align:center middle;" text="bind:rm004_3" tooltiptype="mouse" tooltiptext="bind:rm004_3"/>
- <Cell col="10" style="background:EXPR(rm005!=null&&rm005>=1300?'gold':'');background2:EXPR(rm005!=null&&rm005>=1300?'gold':'');" text="bind:rm005" mask="expr:rm005==null?"":'@@:@@'"/>
- <Cell col="11" style="background:EXPR(rm005_2!=null&&rm005_2>=1300?'gold':'');background2:EXPR(rm005_2!=null&&rm005_2>=1300?'gold':'');" text="bind:rm005_2" mask="expr:rm005_2==null?"":'@@:@@'"/>
- <Cell col="12" text="bind:rm005_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
- <Cell col="13" style="background:EXPR(rm006!=null&&rm006>=1300?'gold':'');background2:0?gold:;selectbackground:EXPR(rsrvtm3!=null&&rsrvtm3>=1300?'gold':'');" text="bind:rm006" mask="expr:rm006==null?"":'@@:@@'"/>
- <Cell col="14" style="background:EXPR(rm006_2!=null&&rm006_2>=1300?'gold':'');background2:EXPR(rm006_2!=null&&rm006_2>=1300?'gold':'');" text="bind:rm006_2" mask="expr:rm006_2==null?"":'@@:@@'"/>
- <Cell col="15" style="align:center middle;" text="bind:rm006_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="datagrid1" taborder="5" useinputpanel="false" position="absolute 0 94 1212 773" anchor="all" binddataset="ds_grid_datagrid1" positiontype="position" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="33"/>
- <Column size="83"/>
- <Column size="65"/>
- <Column size="79"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="19" celltype="head" style="align:center middle;" text="RM 재활치료실 입원환자 치료시간표" taborder="undefined"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell row="1" rowspan="2" celltype="head" taborder="undefined"/>
- <Cell row="1" col="1" rowspan="2" text="환자번호"/>
- <Cell row="1" col="2" rowspan="2" text="환자성명" taborder="undefined"/>
- <Cell row="1" col="3" rowspan="2" text="병실" taborder="undefined"/>
- <Cell row="1" col="4" colspan="3" text="운동치료"/>
- <Cell row="1" col="7" colspan="3" text="작업치료"/>
- <Cell row="1" col="10" colspan="3" text="언어치료"/>
- <Cell row="1" col="13" colspan="3" text="심장호흡재활치료"/>
- <Cell row="1" col="16" colspan="3" text="심뇌운동치료"/>
- <Cell row="1" col="19" text="caption1"/>
- <Cell row="1" col="20" text="caption2"/>
- <Cell row="1" col="21" text="caption3"/>
- <Cell row="1" col="22" text="caption4"/>
- <Cell row="1" col="23" text="caption5"/>
- <Cell row="1" col="24" text="caption6"/>
- <Cell row="2" col="4" text="1차"/>
- <Cell row="2" col="5" text="2차"/>
- <Cell row="2" col="6" text="치료사"/>
- <Cell row="2" col="7" text="1차"/>
- <Cell row="2" col="8" text="2차"/>
- <Cell row="2" col="9" text="치료사"/>
- <Cell row="2" col="10" text="1차"/>
- <Cell row="2" col="11" text="2차"/>
- <Cell row="2" col="12" text="치료사"/>
- <Cell row="2" col="13" text="1차"/>
- <Cell row="2" col="14" text="2차"/>
- <Cell row="2" col="15" text="치료사"/>
- <Cell row="2" col="16" text="1차"/>
- <Cell row="2" col="17" text="2차"/>
- <Cell row="2" col="18" text="치료사"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" celltype="head" style="background:azure;background2:azure;" text="bind:pid" suppress="0" suppressalign="first"/>
- <Cell col="2" text="bind:pname"/>
- <Cell col="3" text="bind:roomcd"/>
- <Cell col="4" style="background:EXPR(rm001!=null&&rm001>=1300?'gold':'');background2:EXPR(rm001!=null&&rm001>=1300?'gold':'');selectbackground:EXPR(rsrvtm1!=null&&rsrvtm1>=1300?'gold':'');" text="bind:rm001" mask="expr:rm001==null?"":'@@:@@'"/>
- <Cell col="5" style="background:EXPR(rm001_2!=null&&rm001_2>=1300?'gold':'');background2:EXPR(rm001_2!=null&&rm001_2>=1300?'gold':'');" text="bind:rm001_2" mask="expr:rm001_2==null?"":'@@:@@'"/>
- <Cell col="6" style="align:center middle;" text="bind:rm001_3" tooltiptype="mouse"/>
- <Cell col="7" style="background:EXPR(rm004!=null&&rm004>=1300?'gold':'');background2:EXPR(rm004!=null&&rm004>=1300?'gold':'');selectbackground:EXPR(rsrvtm2!=null&&rsrvtm2>=1300?'gold':'');" text="bind:rm004" mask="expr:rm004==null?"":'@@:@@'"/>
- <Cell col="8" style="background:EXPR(rm004_2!=null&&rm004_2>=1300?'gold':'');background2:EXPR(rm004_2!=null&&rm004_2>=1300?'gold':'');" text="bind:rm004_2" mask="expr:rm004_2==null?"":'@@:@@'" tooltiptext="bind:pid2"/>
- <Cell col="9" style="align:center middle;" text="bind:rm004_3" tooltiptype="mouse" tooltiptext="bind:rm004_3"/>
- <Cell col="10" style="background:EXPR(rm005!=null&&rm005>=1300?'gold':'');background2:EXPR(rm005!=null&&rm005>=1300?'gold':'');selectbackground:EXPR(rsrvtm3!=null&&rsrvtm3>=1300?'gold':'');" text="bind:rm005" mask="expr:rm005==null?"":'@@:@@'"/>
- <Cell col="11" style="background:EXPR(rm005_2!=null&&rm005_2>=1300?'gold':'');background2:EXPR(rm005_2!=null&&rm005_2>=1300?'gold':'');" text="bind:rm005_2" mask="expr:rm005_2==null?"":'@@:@@'" tooltiptext="bind:pid3"/>
- <Cell col="12" style="align:center middle;" text="bind:rm005_3" tooltiptype="mouse" tooltiptext="bind:excucdnm3"/>
- <Cell col="13" style="background:EXPR(rm006!=null&&rm006>=1300?'gold':'');background2:EXPR(rm006!=null&&rm006>=1300?'gold':'');selectbackground:EXPR(rsrvtm4!=null&&rsrvtm4>=1300?'gold':'');" text="bind:rm006" mask="expr:rm006==null?"":'@@:@@'"/>
- <Cell col="14" style="background:EXPR(rm006_2!=null&&rm006_2>=1300?'gold':'');background2:EXPR(rm006_2!=null&&rm006_2>=1300?'gold':'');" text="bind:rm006_2" mask="expr:rm006_2==null?"":'@@:@@'" tooltiptext="bind:pid4"/>
- <Cell col="15" style="align:center middle;" text="bind:rm006_3" tooltiptype="mouse" tooltiptext="bind:excucdnm4"/>
- <Cell col="16" style="background:EXPR(rm007!=null&&rm007>=1300?'gold':'');background2:EXPR(rm007!=null&&rm007>=1300?'gold':'');" text="bind:rm007" mask="expr:rm007==null?"":'@@:@@'"/>
- <Cell col="17" style="background:EXPR(rm007_2!=null&&rm007_2>=1300?'gold':'');background2:EXPR(rm007_2!=null&&rm007_2>=1300?'gold':'');" text="bind:rm007_2" mask="expr:rm007_2==null?"":'@@:@@'" tooltiptext="bind:rm007_2"/>
- <Cell col="18" style="align:center middle;" text="bind:rm007_3" tooltiptype="mouse" tooltiptext="bind:rm007_3"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_prt" taborder="9" text="출력" onlbuttonup="btn_prt_onlbuttonup" class="btn6" position="absolute 1144 67 1200 87" anchor="right bottom" visible="false" positiontype="position" onclick="btn_prt_onclick"/>
- <Static id="caption19" text="RM 입원환자 치료예약시간표" class="tit_1" position="absolute 0 0 220 25" positiontype="position"/>
- <Button id="button51" taborder="8" text="엑셀" onclick="button51_onclick" class="btn7" position="absolute 1088 67 1140 89" anchor="top right" positiontype="position"/>
- <Div id="roundrect1" taborder="10" applystyletype="apply" style="align:center top;transformation:0,0 ;" scrollbars="none" class="div_SA" position="absolute 0 25 1248 65" anchor="left top right" type="roundrectangle" positiontype="position">
- <Layouts>
- <Layout>
- <Button id="btn_sea" taborder="95" text="조회" class="btn1" position="absolute 1164 10 1220 30" anchor="top right" onclick="btn_sea_onclick" positiontype="position"/>
- <Calendar id="ipt_frdt" taborder="100" class="input_default" position="absolute 56 11 164 31" anchor="default" value="null" onkeydown="roundrect1_ipt_frdt_onkeydown" autoselect="true" dateformat="yyyy-MM-dd ddd" positiontype="position"/>
- <Static id="caption04" text="날짜" class="search_name" position="absolute 8 11 52 31" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line03" class="line_10" position="absolute 0 89 1216 95" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="pname" type="STRING"/>
- <Column id="rm001" type="STRING"/>
- <Column id="rm001_2" type="STRING"/>
- <Column id="rm001_3" type="STRING"/>
- <Column id="rm004" type="STRING"/>
- <Column id="rm004_2" type="STRING"/>
- <Column id="rm004_3" type="STRING"/>
- <Column id="rm005" type="STRING"/>
- <Column id="rm005_2" type="STRING"/>
- <Column id="rm005_3" type="STRING"/>
- <Column id="rm006" type="STRING"/>
- <Column id="rm006_2" type="STRING"/>
- <Column id="rm006_3" type="STRING"/>
- <Column id="rm007" type="STRING"/>
- <Column id="rm007_2" type="STRING"/>
- <Column id="rm007_3" type="STRING"/>
- <Column id="titledesc" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- </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="suppdeptcd" type="STRING" size="256"/>
- <Column id="frdt" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppdeptcd"/>
- <Col id="frdt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd"/>
- <Column id="depthngnm"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_execr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="hngnm1" type="STRING" size="256"/>
- <Column id="hngnm2" type="STRING" size="256"/>
- <Column id="hngnm3" type="STRING" size="256"/>
- <Column id="hngnm4" type="STRING" size="256"/>
- <Column id="hngnm5" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvtm">09000930</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">09301000</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">10001030</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">10301100</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">11001130</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">12001300</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">13001330</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">13301400</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">14001430</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">14301500</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">15001530</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">15301600</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">16001630</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">16301700</Col>
- </Row>
- <Row>
- <Col id="rsrvtm">1700~</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_rexdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grid_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="pname" type="STRING"/>
- <Column id="rm001" type="STRING"/>
- <Column id="rm001_2" type="STRING"/>
- <Column id="rm001_3" type="STRING"/>
- <Column id="rm004" type="STRING"/>
- <Column id="rm004_2" type="STRING"/>
- <Column id="rm004_3" type="STRING"/>
- <Column id="rm005" type="STRING"/>
- <Column id="rm005_2" type="STRING"/>
- <Column id="rm005_3" type="STRING"/>
- <Column id="rm006" type="STRING"/>
- <Column id="rm006_2" type="STRING"/>
- <Column id="rm006_3" type="STRING"/>
- <Column id="rm007" type="STRING"/>
- <Column id="rm007_2" type="STRING"/>
- <Column id="rm007_3" type="STRING"/>
- <Column id="titledesc" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="roundrect1.ipt_frdt" propid="value" datasetid="ds_send" columnid="frdt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SMAEA00950_RM입원환자치료시간표.xfdl
- * Creator :
- * Make Date : 2014-04-18
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-04-18 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- // include "com_commodulexp::SSZFM00401.xjs"; // Dataset 뷰어용
- var sSystemcd = "";
- var sSysteminstcd = "" ;
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAEA00910
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAEA00950_onload(obj:Form, e:LoadEventInfo)
- {
-
- lf_aezfSetSuppDeptcd_main();
-
- //20180822 진료과 설정
- if (utlf_transNullToEmpty(suppdeptcd) =="") {
- suppdeptcd = sysf_getUserInfo( "dutplcecd" );
- }
-
- ds_send.setColumn(0,"suppdeptcd","2220200000");
- roundrect1.ipt_frdt.value = utlf_getCurrentDate();
-
- datagrid1.tooltiptype = "hover";
-
- sSystemcd = sysf_getSystemCd();
- sSysteminstcd = sSystemcd.substring(3,6);
-
- if (sSysteminstcd == "031" ) {
- datagrid1.visible = true;
- datagrid2.visible = false;
-
- } else {
- datagrid1.visible = false;
- datagrid2.visible = true;
-
- };
- }
- /****************************************************************************************
- * Components :
- * Components ID : button51
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button51_onclick(obj:Button, e:ClickEventInfo)
- {
- if (sSysteminstcd == "031" ) {
- grdf_exportExcel(datagrid1, "RM 입원환자 치료예약시간표", "sheet1", false, "", "user", false);
- } else {
- grdf_exportExcel(datagrid2, "RM 입원환자 치료예약시간표", "sheet1", false, "", "user", false);
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- setTitle();
- ds_send.setColumn(0,"frdt",roundrect1.ipt_frdt.value);
- ds_send.setColumn(0,"suppdeptcd","2220200000");
- ds_send.setColumn(0,"instcd",sSysteminstcd);
-
- var objParam = new Object();
- objParam.id = "TRAEA00950_dummy";
- objParam.service = "examcurersrvapp.RsrvRef";
- objParam.method = "reqGetCurerRsrvRMInpat";
- objParam.inds = "req=ds_send";
- objParam.outds ="ds_grid_datagrid1=rsrvlist";
- //objParam.callback = "cbf_TRAEA00904";
- tranf_submit(objParam);
- }
- function setTitle() {
- var curD = String(roundrect1.ipt_frdt.value);
- var curDD = curD.substr(0,4) + "-" + curD.substr(4,2) + "-" + curD.substr(6,2)
-
- datagrid1.setCellProperty("Head", 0, "text", "RM 재활치료실 입원환자 치료시간표 (" + curDD +")");
- }
- function roundrect1_ipt_frdt_onkeydown(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- btn_sea_onclick();
- }
- }
- function SMAEA00950_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
- function btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowCnt = datagrid1.rowcount;
- if( rowCnt > 0 ) {
- var printgubn = ds_send.getColumn(0, "printgubn");
- var reportid = "";
- var blank;
-
- reportid = "RPAEA00951";
-
- ds_send_rexdata.clearData();
- ds_send_rexdata.copyData(datagrid1,true);
- var srchsearch = "";
-
- if( !utlf_isNull(String(roundrect1.ipt_frdt.value)) ){
- srchsearch = "▣ 예약일자 : " + String(roundrect1.ipt_frdt.value);
- }
-
- ds_send_rexdata.addConstColumn("srchsearch", srchsearch);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setValueToDOM(objDOM, "root/send/srchsearch", srchsearch); // 조회조건 설정
-
- rptf_setNodeListToDOM(objDOM, "root/send/rexdata", ds_send_rexdata); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0";
- rptf_exeReportPreview30([reportid],[objParam], option);
-
- } else {
- sysf_messageBox( "출력할 재활치료실 치료시간표", "E013" );
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|