123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI05300" position="absolute 0 0 1174 673" titletext="재원중인 직원 감면현황" onload="SMPMI05300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="감면현황" class="tit_1" position="absolute 0 0 120 25" anchor="left top"/>
- <Tab id="swt_aipmmngt" taborder="1" tabindex="0" position="absolute 0 60 1170 669" style="buttonbackground:stretch 10,10;background:stretch 0,0;" anchor="all">
- <Tabpages>
- <Tabpage id="case_instafreduct" class="sw_box">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 21 1170 27" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption2" text="재원환자 감면 현황" class="tit_2" position="absolute 5 3 142 19" anchor="left top"/>
- <Button id="btn_print1" taborder="1" text="출력" class="btn6" position="absolute 1032 2 1084 21" onclick="swt_aipmmngt_case_instafreduct_btn_print1_onclick" anchor="top right"/>
- <Button id="btn_saveexcel1" taborder="2" text="엑셀저장" class="btn7" position="absolute 1092 2 1167 21" onclick="swt_aipmmngt_case_instafreduct_btn_saveexcel1_onclick" anchor="top right"/>
- <Grid id="grd_instafreduct" taborder="3" binddataset="ds_list_instafreduct" useinputpanel="false" position="absolute 0 26 1170 596" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="100"/>
- </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" colspan="2" text="보험유형" taborder="undefined"/>
- <Cell col="5" text="보조유형"/>
- <Cell col="6" text="진료과명"/>
- <Cell col="7" text="관련직원명"/>
- <Cell col="8" text="근무처"/>
- <Cell col="9" text="관계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:indd"/>
- <Cell col="3" displaytype="normal" edittype="none" text="bind:insukind" enable="false"/>
- <Cell col="4" displaytype="normal" edittype="none" text="bind:insukindnm"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:suppkind" combodataset="ds_init_suppkind" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:emplnm"/>
- <Cell col="8" text="bind:deptnm"/>
- <Cell col="9" text="bind:famyrelcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp" taborder="2" position="absolute 0 25 1172 60" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1172" height="35">
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1097 7 1103 29" anchor="top right"/>
- <Static id="caption39" text="조회일자 :" class="search_name" visible="false" position="absolute 3 10 100 26" anchor="left top"/>
- <Button id="btn_search2" taborder="1" text="조회" class="btn1" position="absolute 1111 7 1167 29" anchor="top right" onclick="grp_btn_search2_onclick"/>
- <Calendar id="fromdd" taborder="2" class="input_search" visible="false" position="absolute 80 8 170 27" anchor="left top" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- </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="sess_posinstcd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sess_posinstcd"/>
- <Col id="ioflag"/>
- <Col id="fromdd"/>
- </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_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init1_P0101list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init1_P0028list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init1_P0038list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_list_instafreduct" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="insukind" type="STRING" size="256" sumtext="유형코드"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="유형명"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형코드"/>
- <Column id="suppkindnm" type="STRING" size="256" sumtext="보조유형명"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="emplnm" type="STRING" size="256" sumtext="관련직원명"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="근무처"/>
- <Column id="famyrelcd" type="STRING" size="256" sumtext="관계"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- </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
- //---------------------------------------------------------------------------------------
- /**
- * 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 SMPMI05300_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- 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());
- 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_init_insukind=insukind ds_init_suppkind=suppkind";
- oParam.async = false;
- tranf_submit(oParam);
- appf_getCodeList([
- { dsNm: 'ds_init1_P0101list', cdGrpId: 'P0101' },
- { dsNm: 'ds_init1_P0028list', cdGrpId: 'P0028' },
- { dsNm: 'ds_init1_P0038list', cdGrpId: 'P0038' }
- ]);
- }
- /**
- * 조회 버튼 클릭 이벤트
- * @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_TRPMI05300', [{ col: 'fromdd', type: 'string', size: 256, val: ds_send.getColumn(0, 'fromdd') }]);
- ds_list_instafreduct.clearData();
- var oParam = {};
- oParam.id = "TRPMI05300";
- oParam.service = "ipatmngtapp.OutHosAcc";
- oParam.method = "reqInStafReduct";
- oParam.inds = "req=ds_TRPMI05300";
- oParam.outds = "ds_list_instafreduct=instafreduct";
- oParam.async = false;
- tranf_submit(oParam);
- }
- /**
- * 출력 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_case_instafreduct_btn_print1_onclick(obj: Button, e: ClickEventInfo) {
- // DOM 객체 설정
- var objDOM = rptf_createDOM();
- // 데이터셋 1
- rptf_setValueToDOM(objDOM, "root/send/fromdd", ds_send.getColumn(0, 'fromdd'));
- rptf_setNodeListToDOM(objDOM, "root/list/instafreduct", ds_list_instafreduct);
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;excel=1;show=1";
- rptf_exeReportPreview30(["RPPMI05300"],[{ xml_data_XML1: objDOM.documentElement.source }], option);
- }
- /**
- * 엑셀저장 버튼 클릭 이벤트
- * @param {[type]} obj: Button [description]
- * @param {[type]} e: ClickEventInfo [description]
- * @return {[type]} [description]
- */
- function swt_aipmmngt_case_instafreduct_btn_saveexcel1_onclick(obj: Button, e: ClickEventInfo) {
- grdf_exportExcel(swt_aipmmngt.case_instafreduct.grd_instafreduct, "excel", "SheetName", true, "", "user", false);
- }
- ]]></Script>
- </Form>
- </FDL>
|