123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI05400" position="absolute 0 0 1180 696" titletext="병동 보고서 유형변경 대장" onload="SMPMI05400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="병동 보고서" class="tit_1" position="absolute 0 0 140 25" anchor="left top"/>
- <Tab id="swt_aipmmngt" taborder="1" tabindex="0" position="absolute 0 69 1178 693" onchanged="swt_aipmmngt_onchanged" anchor="all">
- <Tabpages>
- <Tabpage id="case_chandatetype" text="일자별유형변경대장" class="sw_box">
- <Layouts>
- <Layout>
- <Shape id="line20" linetype="horizontal" class="line_1" position="absolute 0 23 1170 29" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption3" text="일자별 유형변경 대장" class="tit_2" position="absolute 3 4 155 20" anchor="left top"/>
- <Button id="button1" taborder="1" text="엑셀저장" class="btn7" position="absolute 1095 3 1170 22" onclick="swt_aipmmngt_case_chandatetype_button1_onclick" anchor="top right"/>
- <Button id="button2" taborder="2" text="출력" class="btn6" position="absolute 1039 3 1090 22" onclick="swt_aipmmngt_case_chandatetype_button2_onclick" anchor="top right"/>
- <Grid id="grd_chandatetype" taborder="3" binddataset="ds_list_chandatetype" useinputpanel="false" position="absolute 0 27 1170 597" oncelldblclick="swt_aipmmngt_case_chandatetype_grd_chandatetype_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="작업일" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="3" colspan="4" text="변 경 전" taborder="undefined"/>
- <Cell col="7" colspan="4" text="변 경 후" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="작업자" taborder="undefined"/>
- <Cell row="1" col="3" text="유형"/>
- <Cell row="1" col="4" text="보조유형"/>
- <Cell row="1" col="5" text="시작일"/>
- <Cell row="1" col="6" text="종료일"/>
- <Cell row="1" col="7" text="유형"/>
- <Cell row="1" col="8" text="보조유형"/>
- <Cell row="1" col="9" text="시작일"/>
- <Cell row="1" col="10" text="종료일"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:asinsukindnm"/>
- <Cell col="4" text="bind:assupkindnm"/>
- <Cell col="5" displaytype="date" text="bind:asfromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" text="bind:astodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="7" text="bind:toinsukindnm"/>
- <Cell col="8" text="bind:tosupkindnm"/>
- <Cell col="9" displaytype="date" text="bind:tofromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="date" text="bind:totodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="11" text="bind:chantype"/>
- <Cell col="12" text="bind:workernm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_chanpattype" text="환자별유형대장" class="sw_box">
- <Layouts>
- <Layout>
- <Shape id="line21" linetype="horizontal" class="line_1" position="absolute 0 23 1176 29" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption4" text="환자별 유형변경 대장" class="tit_2" position="absolute 3 4 160 20" anchor="left top"/>
- <Grid id="grd_chanpat" taborder="1" binddataset="ds_list_schanpattype" useinputpanel="false" position="absolute 0 27 1176 597" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="작업일" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="3" colspan="4" text="변 경 전" taborder="undefined"/>
- <Cell col="7" colspan="4" text="변 경 후" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="작업자" taborder="undefined"/>
- <Cell row="1" col="3" text="유형"/>
- <Cell row="1" col="4" text="보조유형"/>
- <Cell row="1" col="5" text="시작일"/>
- <Cell row="1" col="6" text="종료일"/>
- <Cell row="1" col="7" text="유형"/>
- <Cell row="1" col="8" text="보조유형"/>
- <Cell row="1" col="9" text="시작일"/>
- <Cell row="1" col="10" text="종료일"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:asinsukindnm"/>
- <Cell col="4" text="bind:assupkindnm"/>
- <Cell col="5" displaytype="date" text="bind:asfromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" text="bind:astodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="7" text="bind:toinsukindnm"/>
- <Cell col="8" text="bind:tosupkindnm"/>
- <Cell col="9" displaytype="date" text="bind:tofromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="date" text="bind:totodd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="11" text="bind:chantype"/>
- <Cell col="12" text="bind:workernm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp" taborder="2" position="absolute 0 25 1176 60" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1172" height="35">
- <Static id="caption8" text="~" position="absolute 252 8 263 28" anchor="left top"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1097 7 1103 29" anchor="top right"/>
- <Static id="caption39" text="유형변경 기간조회 :" class="search_name" position="absolute 5 9 140 26" anchor="left top"/>
- <Calendar id="todd" taborder="1" class="input_search" position="absolute 263 8 369 27" anchor="left top"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1111 7 1167 29" anchor="top right" onclick="grp_btn_search_onclick"/>
- <Calendar id="fromdd" taborder="3" class="input_search" position="absolute 144 8 250 27" anchor="left top"/>
- <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 379 9 450 26" anchor="left top"/>
- <Edit id="input_pid" taborder="4" class="input_search" position="absolute 450 8 545 27" anchor="left top" onkeydown="grp_input_pid_onkeydown"/>
- <Edit id="output_hngnm" taborder="5" readonly="true" position="absolute 550 8 635 27" anchor="left top"/>
- <Button id="btn_search2" taborder="6" text="." position="absolute 970 8 1005 28" anchor="top right" onclick="grp_btn_search2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <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="sess_posinstcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="sess_posinstcd"/>
- <Col id="ioflag"/>
- <Col id="pid"/>
- <Col id="sendflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_list_chanpattype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="작업일"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="asinsukind" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="asinsukindnm" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="assupkindnm" type="STRING" size="256" sumtext="변경전보조"/>
- <Column id="asfromdd" type="STRING" size="256" sumtext="변경전시작일"/>
- <Column id="astodd" type="STRING" size="256" sumtext="변경전종료일"/>
- <Column id="toinsukind" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="toinsukindnm" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="tosupkindnm" type="STRING" size="256" sumtext="변경후보조"/>
- <Column id="tofromdd" type="STRING" size="256" sumtext="변경후시작일"/>
- <Column id="totodd" type="STRING" size="256" sumtext="변경후종료일"/>
- <Column id="chantype" type="STRING" size="256" sumtext="구분"/>
- <Column id="workernm" type="STRING" size="256" sumtext="작업자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_chandatetype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="작업일"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="asinsukind" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="asinsukindnm" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="assupkindnm" type="STRING" size="256" sumtext="변경전보조"/>
- <Column id="asfromdd" type="STRING" size="256" sumtext="변경전시작일"/>
- <Column id="astodd" type="STRING" size="256" sumtext="변경전종료일"/>
- <Column id="toinsukind" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="toinsukindnm" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="tosupkindnm" type="STRING" size="256" sumtext="변경후보조"/>
- <Column id="tofromdd" type="STRING" size="256" sumtext="변경후시작일"/>
- <Column id="totodd" type="STRING" size="256" sumtext="변경후종료일"/>
- <Column id="chantype" type="STRING" size="256" sumtext="구분"/>
- <Column id="workernm" type="STRING" size="256" sumtext="작업자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_schanpattype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256" sumtext="작업일"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="asinsukind" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="asinsukindnm" type="STRING" size="256" sumtext="변경전유형"/>
- <Column id="assupkindnm" type="STRING" size="256" sumtext="변경전보조"/>
- <Column id="asfromdd" type="STRING" size="256" sumtext="변경전시작일"/>
- <Column id="astodd" type="STRING" size="256" sumtext="변경전종료일"/>
- <Column id="toinsukind" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="toinsukindnm" type="STRING" size="256" sumtext="변경후유형"/>
- <Column id="tosupkindnm" type="STRING" size="256" sumtext="변경후보조"/>
- <Column id="tofromdd" type="STRING" size="256" sumtext="변경후시작일"/>
- <Column id="totodd" type="STRING" size="256" sumtext="변경후종료일"/>
- <Column id="chantype" type="STRING" size="256" sumtext="구분"/>
- <Column id="workernm" type="STRING" size="256" sumtext="작업자"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp.todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp.input_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item3" compid="grp.output_hngnm" propid="value" datasetid="ds_list_chanpattype" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'pam_opatmngtxp::PMOCOM.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /**
- * [fShowComBox description]
- * @return {[type]} [description]
- */
- function fShowComBox() {
- if (swt_aipmmngt.tabindex == 0) {
- grp.caption39.visible = true;
- grp.fromdd.visible = true;
- grp.caption8.visible = true;
- grp.todd.visible = true;
- grp.caption1.visible = false;
- grp.input_pid.visible = false;
- grp.output_hngnm.visible = false;
- }
- else if (swt_aipmmngt.tabindex == 1) {
- grp.caption39.visible = false;
- grp.fromdd.visible = false;
- grp.caption8.visible = false;
- grp.todd.visible = false;
- grp.caption1.visible = true;
- grp.input_pid.visible = true;
- grp.output_hngnm.visible = true;
- grp.caption1.position.x = 5;
- grp.caption1.position.width = 95;
- grp.input_pid.position.x = 95;
- grp.input_pid.position.width = 95;
- grp.output_hngnm.position.x = 195;
- grp.output_hngnm.position.width = 85;
- }
- }
- /**
- * submit 후 호출 될 공통 콜백
- * @param {[type]} sSvcId [description]
- * @param {[type]} nErrorCode [description]
- * @param {[type]} sErrorMsg [description]
- * @return {Function} [description]
- */
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /**
- * onload 이벤트 발생 시 호출
- * @param {[type]} obj:Form [description]
- * @param {[type]} e:LoadEventInfo [description]
- */
- function SMPMI05400_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- fShowComBox();
- fGetUserInfosSampling(); //세션정보
- ds_send.setColumn(0, "sess_posinstcd", ds_hidden_session.getColumn(0, "sess_dutplceinstcd"));
- ds_send.setColumn(0, "ioflag", "I");
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
- // dbs227, blocked cause reference is not using in this form
- // dsf_createDsRow('ds_TRPMI00106', [
- // { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
- // { col: 'ioflag', type: 'string', size: 256, val: '' },
- // { col: 'dridsorttype', type: 'string', size: 256, val: '' }
- // ], false);
- // ds_TRPMI00106.copyRow(0, ds_send, 0);
- // var oParam = {};
- // oParam.id = "TRPMI00106";
- // oParam.service = "pamcomnapp.PamComn";
- // oParam.method = "reqGetComCD";
- // oParam.inds = "req=ds_TRPMI00106";
- // oParam.outds = "ds_=disccd ds_=insukind ds_=suppkind ds_=suppkindhist ds_=orddeptcd ds_=orddrid ds_=wardcd ds_=roomcd ds_=bedcd ds_=roomgrdecd ds_=roomgrdelist ds_=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
- // oParam.async = false;
- // tranf_submit(oParam);
- // appf_getCodeList([
- // { dsNm: 'ds_init1_P0101', cdGrpId: 'P0101' },
- // { dsNm: 'ds_init1_P0028', cdGrpId: 'P0028' },
- // { dsNm: 'ds_init1_P0038', cdGrpId: 'P0038' }
- // ]);
- }
- /**
- * 등록번호 키보드 입력 이벤트
- * @param {[type]} obj: Edit [description]
- * @param {[type]} e: KeyEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_input_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
- if (e.keycode == 13) {
- obj.updateToDataset();
- grp.btn_search2.click();
- }
- }
- /**
- * "." 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_btn_search2_onclick(obj: Button, e: ClickEventInfo) {
- dsf_createDsRow('ds_TRPMI00106', [
- { col: 'fromdd', type: 'string', size: 256, val: '' },
- { col: 'todd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00106.copyRow(0, ds_send, 0);
- ds_list_chandatetype.clearData();
- ds_list_chanpattype.clearData();
- var oParam = {};
- oParam.id = "TRPMI05400";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqChanType";
- oParam.inds = "req=ds_TRPMI00106";
- oParam.outds = "ds_list_chandatetype=chandatetype ds_list_chanpattype=chanpattype";
- oParam.async = false;
- tranf_submit(oParam);
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function grp_btn_search_onclick(obj: Button, e: ClickEventInfo) {
- if (swt_aipmmngt.tabindex == 0) {
- ds_send.setColumn(0, "sendflag", "chandatetype");
- dsf_createDsRow('ds_TRPMI00106', [
- { col: 'fromdd', type: 'string', size: 256, val: '' },
- { col: 'todd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00106.copyRow(0, ds_send, 0);
- ds_list_chandatetype.clearData();
- ds_list_chanpattype.clearData();
- var oParam = {};
- oParam.id = "TRPMI05400";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqChanType";
- oParam.inds = "req=ds_TRPMI00106";
- oParam.outds = "ds_list_chandatetype=chandatetype ds_list_chanpattype=chanpattype";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else if (swt_aipmmngt.tabindex == 1) {
- ds_send.setColumn(0, "sendflag", "chanpattype");
- dsf_createDsRow('ds_TRPMI00106', [
- { col: 'fromdd', type: 'string', size: 256, val: '' },
- { col: 'todd', type: 'string', size: 256, val: '' },
- { col: 'pid', type: 'string', size: 256, val: '' },
- { col: 'sendflag', type: 'string', size: 256, val: '' }
- ], false);
- ds_TRPMI00106.copyRow(0, ds_send, 0);
- ds_list_chandatetype.clearData();
- ds_list_chanpattype.clearData();
- var oParam = {};
- oParam.id = "TRPMI05400";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqChanType";
- oParam.inds = "req=ds_TRPMI00106";
- oParam.outds = "ds_list_chandatetype=chandatetype ds_list_chanpattype=chanpattype";
- oParam.async = false;
- tranf_submit(oParam);
- ds_list_schanpattype.copyData(ds_list_chanpattype, false);
- }
- }
- /**
- * 스위치 탭 변경 후 이벤트
- * @param {[type]} obj: Tab [description]
- * @param {[type]} e: TabIndexChangeEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_onchanged(obj: Tab, e: TabIndexChangeEventInfo) {
- fShowComBox();
- }
- /**
- * 일자별 유형변경 대장 그리드 셀 더블클릭 이벤트
- * @param {[type]} obj: Grid [description]
- * @param {[type]} e: GridClickEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_case_chandatetype_grd_chandatetype_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- var row = swt_aipmmngt.case_chandatetype.grd_chandatetype.currentrow;
- var sPid = ds_list_chanpattype.getColumn(row, "pid");
-
- swt_aipmmngt.tabindex = 1;
- ds_send.setColumn(0, "pid", sPid);
- grp.btn_search2.click();
- }
- /**
- * [일자별유형변경대장 탭] 출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_case_chandatetype_button2_onclick(obj: Button, e: ClickEventInfo) {
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- // DOM 객체 설정
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/send" , ds_send);
- rptf_setNodeListToDOM(objDOM, "root/list/chandatetype" , ds_list_chandatetype);
-
- rptf_exeReportPreview30(["RPPMI05400"],[{ xml_data_XML1: objDOM.documentElement.source }], option);
- }
- /**
- * [일자별유형변경대장 탭] 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_case_chandatetype_button1_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(swt_aipmmngt.case_chandatetype.grd_chandatetype, "excel", "SheetName", true, false, "", "", false);
- }
- ]]></Script>
- </Form>
- </FDL>
|