123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIF80301" position="absolute 0 0 1201 787" titletext="DRG 대상환자조회" oninit="SPPIF80301_oninit" onload="SPPIF80301_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 757 1195 784" id="grp_btn"/>
- <Div position="absolute 0 755 1195 783" id="group1" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 1138 5 1194 27" id="button45" class="btn4" text="닫기" onclick="group1_button45_onclick" anchor="right bottom"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="DRG 대상환자조회" class="tit_1" position="absolute 0 0 160 25"/>
- <Button id="button12" taborder="1" text="엑셀저장" class="btn7" position="absolute 1121 74 1195 93" onclick="button12_onclick" anchor="top right"/>
- <Shape id="line2" linetype="horizontal" class="line_1" position="absolute 0 93 1195 99" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static id="caption10" text="DRG 대상환자 리스트" class="tit_2" position="absolute 0 78 265 94"/>
- <Button id="button2" taborder="2" text="출력" class="btn6" visible="false" position="absolute 1069 74 1119 93" onclick="button2_onclick" anchor="top right"/>
- <Grid id="datagrid1" taborder="3" binddataset="main_list" useinputpanel="false" position="absolute 0 98 1195 758" cellsizebandtype="body" cellsizingtype="both" oncelldblclick="datagrid1_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40" band="left"/>
- <Column size="100"/>
- <Column size="56"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="35"/>
- <Column size="55"/>
- <Column size="139"/>
- <Column size="115"/>
- <Column size="32"/>
- <Column size="32"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="43"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="119"/>
- <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="49"/>
- <Column size="42"/>
- <Column size="33"/>
- <Column size="59"/>
- <Column size="74"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="4" taborder="undefined"/>
- <Cell col="1" rowspan="4" text="진료과" taborder="undefined"/>
- <Cell col="2" rowspan="4" text="진료의" taborder="undefined"/>
- <Cell col="3" rowspan="4" text="등록번호" taborder="undefined"/>
- <Cell col="4" rowspan="4" text="환자명" taborder="undefined"/>
- <Cell col="5" rowspan="4" text="나이" taborder="undefined"/>
- <Cell col="6" rowspan="4" text="DRG번호" taborder="undefined"/>
- <Cell col="7" rowspan="4" text="진단코드" taborder="undefined"/>
- <Cell col="8" rowspan="4" text="수술코드" taborder="undefined"/>
- <Cell col="9" rowspan="4" text="산부 인과 가산 유무" taborder="undefined"/>
- <Cell col="10" rowspan="4" text="로봇 수술 유무" taborder="undefined"/>
- <Cell col="11" rowspan="4" text="입원일자" taborder="undefined"/>
- <Cell col="12" rowspan="4" text="퇴원일자" taborder="undefined"/>
- <Cell col="13" rowspan="4" text="개시일" taborder="undefined"/>
- <Cell col="14" rowspan="4" text="종료일" taborder="undefined"/>
- <Cell col="15" rowspan="4" text="재원일" taborder="undefined"/>
- <Cell col="16" colspan="6" text="행위별내역" taborder="undefined"/>
- <Cell col="22" colspan="8" text="DRG내역" taborder="undefined"/>
- <Cell col="30" rowspan="4" text="진료비총액차액" taborder="undefined"/>
- <Cell col="31" colspan="5" text="청구내역" taborder="undefined"/>
- <Cell col="36" text="cretno"/>
- <Cell row="1" col="16" colspan="4" text="본인부담금" taborder="undefined"/>
- <Cell row="1" col="20" rowspan="3" text="공단부담금" taborder="undefined"/>
- <Cell row="1" col="21" rowspan="3" text="총진료비" taborder="undefined"/>
- <Cell row="1" col="22" colspan="6" text="본인부담금" taborder="undefined"/>
- <Cell row="1" col="28" rowspan="3" text="공단부담금" taborder="undefined"/>
- <Cell row="1" col="29" rowspan="3" text="총진료비" taborder="undefined"/>
- <Cell row="1" col="31" rowspan="3" text="청구월" taborder="undefined"/>
- <Cell row="1" col="32" rowspan="3" text="차수" taborder="undefined"/>
- <Cell row="1" col="33" rowspan="3" text="순번" taborder="undefined"/>
- <Cell row="1" col="34" rowspan="3" text="접수번호" taborder="undefined"/>
- <Cell row="1" col="35" rowspan="3" text="명일련번호" taborder="undefined"/>
- <Cell row="1" col="36" text="cretno"/>
- <Cell row="2" col="16" rowspan="2" text="급여 (식대포함)" taborder="undefined"/>
- <Cell row="2" col="17" rowspan="2" text="전액본인부담금" taborder="undefined"/>
- <Cell row="2" col="18" rowspan="2" text="비급여액 (선택진료비포함)" taborder="undefined"/>
- <Cell row="2" col="19" rowspan="2" text="계" taborder="undefined"/>
- <Cell row="2" col="22" rowspan="2" text="급여 (식대,외과가산포함)" taborder="undefined"/>
- <Cell row="2" col="23" rowspan="2" text="열외군보상" taborder="undefined"/>
- <Cell row="2" col="24" rowspan="2" text="DRG인정급여액" taborder="undefined"/>
- <Cell row="2" col="25" rowspan="2" text="전액본인부담액" taborder="undefined"/>
- <Cell row="2" col="26" rowspan="2" text="비급여액 (선택진료비포함)" taborder="undefined"/>
- <Cell row="2" col="27" rowspan="2" text="계" taborder="undefined"/>
- <Cell row="2" col="36" text="cretno"/>
- <Cell row="3" col="36" text="cretno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:orddeptcd" wordwrap="char"/>
- <Cell col="2" text="bind:medispclid"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" text="bind:drgno"/>
- <Cell col="7" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="8" style="align:left middle;" text="bind:opcd"/>
- <Cell col="9" text="bind:obgaaddyn"/>
- <Cell col="10" text="bind:robotyn"/>
- <Cell col="11" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="12" displaytype="date" text="bind:dschdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="13" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="14" displaytype="date" text="bind:todd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="15" displaytype="text" style="align:center middle;" text="bind:chosindayno" calendardisplaynulltype="none"/>
- <Cell col="16" style="align:right middle;" text="bind:h_ownbamt" mask="#,##0"/>
- <Cell col="17" style="align:right middle;" text="bind:h_allownbamt" mask="#,##0"/>
- <Cell col="18" style="align:right middle;" text="bind:h_nopyamt" mask="#,##0"/>
- <Cell col="19" style="align:right middle;" text="bind:h_totownbamt" mask="#,##0"/>
- <Cell col="20" style="align:right middle;" text="bind:h_insubamt" mask="#,##0"/>
- <Cell col="21" style="align:right middle;" text="bind:h_totamt" mask="#,##0"/>
- <Cell col="22" style="align:right middle;" text="bind:d_ownbamt" mask="#,##0"/>
- <Cell col="23" style="align:right middle;" text="bind:d_overownbamt" mask="#,##0"/>
- <Cell col="24" style="align:right middle;" text="bind:d_accpayownbamt" mask="#,##0"/>
- <Cell col="25" style="align:right middle;" text="bind:d_allownbamt" mask="#,##0"/>
- <Cell col="26" style="align:right middle;" text="bind:d_nopyamt" mask="#,##0"/>
- <Cell col="27" style="align:right middle;" text="bind:d_totownbamt" mask="#,##0"/>
- <Cell col="28" style="align:right middle;" text="bind:d_insubamt" mask="#,##0"/>
- <Cell col="29" style="align:right middle;" text="bind:d_totamt" mask="#,##0"/>
- <Cell col="30" style="align:right middle;" text="bind:drggapamt" mask="#,##0"/>
- <Cell col="31" style="align:left middle;" text="bind:clamym"/>
- <Cell col="32" style="align:left middle;" text="bind:clamdg"/>
- <Cell col="33" style="align:left middle;" text="bind:pidsn"/>
- <Cell col="34" style="align:left middle;" text="bind:acptno"/>
- <Cell col="35" style="align:left middle;" text="bind:docuseqno"/>
- <Cell col="36" text="bind:cretno"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="합계"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_ownbamt')" mask="#,##0"/>
- <Cell col="17" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_allownbamt')" mask="#,##0"/>
- <Cell col="18" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_nopyamt')" mask="#,##0"/>
- <Cell col="19" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_totownbamt')" mask="#,##0"/>
- <Cell col="20" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_insubamt')" mask="#,##0"/>
- <Cell col="21" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('h_totamt')" mask="#,##0"/>
- <Cell col="22" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_ownbamt')" mask="#,##0"/>
- <Cell col="23" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_overownbamt')" mask="#,##0"/>
- <Cell col="24" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_accpayownbamt')" mask="#,##0"/>
- <Cell col="25" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_allownbamt')" mask="#,##0"/>
- <Cell col="26" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_nopyamt')" mask="#,##0"/>
- <Cell col="27" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_totownbamt')" mask="#,##0"/>
- <Cell col="28" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_insubamt')" mask="#,##0"/>
- <Cell col="29" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('d_totamt')" mask="#,##0"/>
- <Cell col="30" displaytype="number" style="align:right middle;padding:0 3 0 0;" expr="expr:getSum('drggapamt')" mask="#,##0"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp" taborder="4" position="absolute 0 26 1194 64" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1194" height="38">
- <Radio id="radio2" taborder="8" columncount="3" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 986 9 1116 29" anchor="default" style="textpadding:0 0 0 2;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption5" text="로봇유무 :" class="search_name" position="absolute 905 11 990 28" anchor="default"/>
- <Combo id="cmb_orddeptcd" taborder="9" innerdataset="@init_list1" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 779 10 894 29" anchor="default"/>
- <Static id="caption4" text="진료과 :" class="search_name" position="absolute 706 11 781 28" anchor="default"/>
- <Combo id="cmb_clamdg" taborder="10" innerdataset="@init_clamdglist" codecolumn="clamdgcd" datacolumn="clamdgnm" class="combo_search" position="absolute 359 10 419 29" anchor="default"/>
- <Static id="caption3" text="~" position="absolute 593 9 608 29" anchor="default"/>
- <Calendar id="ipt_todd" taborder="11" class="input_search" position="absolute 606 10 696 29" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Calendar id="input1" taborder="12" class="input_search" position="absolute 504 10 591 29" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Static id="caption2" text="퇴원일 :" class="search_name" position="absolute 431 11 516 28" anchor="default"/>
- <Static id="caption1" text="기준선택 :" class="search_name" position="absolute 5 11 100 28" anchor="default"/>
- <Radio id="radio1" taborder="13" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 90 9 210 29" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">청구월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">퇴원일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption13" text="청구월 :" class="search_name" position="absolute 215 11 297 28" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="14" position="absolute 288 10 358 29" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true" autoskip="true" onkillfocus="grp_ipt_fromdd_onkillfocus" type="normal" mask="yyyy-MM"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1115 8 1121 30" anchor="top right"/>
- <Button id="button1" taborder="15" text="조회" class="btn1" position="absolute 1128 8 1184 30" anchor="top right" onclick="grp_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="init_clamdglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamdgnm" type="STRING"/>
- <Column id="clamdgcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="medispclid" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="drgno" type="STRING"/>
- <Column id="diagcd" type="STRING"/>
- <Column id="opcd" type="STRING"/>
- <Column id="obgaaddyn" type="STRING"/>
- <Column id="robotyn" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="fromdd" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="chosindayno" type="STRING"/>
- <Column id="h_ownbamt" type="STRING"/>
- <Column id="h_allownbamt" type="STRING"/>
- <Column id="h_nopyamt" type="STRING"/>
- <Column id="h_totownbamt" type="STRING"/>
- <Column id="h_insubamt" type="STRING"/>
- <Column id="h_totamt" type="STRING"/>
- <Column id="d_ownbamt" type="STRING"/>
- <Column id="d_overownbamt" type="STRING"/>
- <Column id="d_accpayownbamt" type="STRING"/>
- <Column id="d_allownbamt" type="STRING"/>
- <Column id="d_nopyamt" type="STRING"/>
- <Column id="d_totownbamt" type="STRING"/>
- <Column id="d_insubamt" type="STRING"/>
- <Column id="d_totamt" type="STRING"/>
- <Column id="drggapamt" type="STRING"/>
- <Column id="clamym" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="pidsn" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="docuseqno" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="init_list1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256" sumtext="심사자id"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="심사자이름"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과약어"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="root_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" sumtext="fromdd"/>
- <Column id="todd" type="STRING" size="256" sumtext="todd"/>
- <Column id="clamym" type="STRING" size="256" sumtext="clamym"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="clamdg"/>
- <Column id="kindcd" type="STRING" size="256" sumtext="kindcd"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="orddeptcd"/>
- <Column id="robot" type="STRING" size="256" sumtext="robot"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="hidden_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.radio1" propid="value" datasetid="root_send" columnid="kindcd"/>
- <BindItem id="item1" compid="grp.ipt_fromdd" propid="value" datasetid="root_send" columnid="clamym"/>
- <BindItem id="item2" compid="grp.cmb_clamdg" propid="value" datasetid="root_send" columnid="clamdg"/>
- <BindItem id="item3" compid="grp.input1" propid="value" datasetid="root_send" columnid="fromdd"/>
- <BindItem id="item4" compid="grp.ipt_todd" propid="value" datasetid="root_send" columnid="todd"/>
- <BindItem id="item5" compid="grp.cmb_orddeptcd" propid="value" datasetid="root_send" columnid="orddeptcd"/>
- <BindItem id="item6" compid="grp.radio2" propid="value" datasetid="root_send" columnid="robot"/>
- </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';
- //=======================================================================================
- // Local Functions
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 공통코드 Load작업
- ****************************************************************************************/
- function CommCode_Load(){
- // 전체 블록으로 처리되어 있음 dbs227
- //submit('TRPIJ00203');
-
- //zbcfGetCodeList(new Array('P0028', 'P0155', 'M0530','M0029','P0443', 'P0458'),
- //new Array('/root/init/P0028list', '/root/init/P0155list', '/root/init/M0530list', '/root/init/M0029list','/root/init/P0443list', '/root/init/P0458list'));
- }
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function pidfGetClamdg(){
-
- dsf_createDsRow('ds_req', [
- { col: 'clamym', type: 'string', size: 256, val: new String(root_send.getColumn(0, 'clamym')).substr(0, 6) },
- { col: 'clamtoym', type: 'string', size: 256, val: '' },
- { col: 'ioflag', type: 'string', size: 256, val: root_send.getColumn(0, 'ioflag') },
- { col: 'insukind', type: 'string', size: 256, val: '' }
- ], false);
-
- init_clamdglist.clearData();
- init_clamdglist.addRow();
-
- var oParam = {};
- oParam.id = 'TRPID20407';
- oParam.service = 'aftjudgapp.InAftJudgTrgtMan';
- oParam.method = 'reqGetClamdg';
- oParam.inds = 'req=ds_req';
- oParam.outds = 'init_clamdglist=clamdg';
- oParam.async = false;
- //oParam.callback = 'cf_TRPID20407';
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : oninit
- ****************************************************************************************/
- function SPPIF80301_oninit(obj:Form, e:InitEventInfo){
- // 화면공통
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : onload
- ****************************************************************************************/
- function SPPIF80301_onload(obj:Form, e:LoadEventInfo){
- // 메서드를 호출 할 필요 없음 dbs227
- //CommCode_Load();
-
- dsf_createDsRow('ds_req', [
- { col: 'instcd', type: 'string', size: 256, val: '' },
- { col: 'ordfildcd', type: 'string', size: 256, val: '' },
- { col: 'ordflag', type: 'string', size: 256, val: '' }
- ], false);
-
- init_list1.addRow();
-
- var oParam = {};
- oParam.id = 'TRPIJ00203';
- oParam.service = 'bfjudgapp.InHospJudgTrgtMan';
- oParam.method = 'reqGetDeptList';
- oParam.inds = 'req=ds_req';
- oParam.outds = 'init_list1=deptlist';
- oParam.async = false;
- //oParam.callback = 'cf_TRPIJ00203';
- tranf_submit(oParam);
-
- main_list.clearData();
-
- root_send.clearData();
- root_send.addRow();
-
- var today = utlf_getCurrentDate();
- root_send.setColumn(0, 'fromdd', today);
- root_send.setColumn(0, 'todd', today);
- root_send.setColumn(0, 'clamym', today.substr(0, 6));
-
- dsf_setDefaultVal(root_send, 'kindcd:C,clamdg:1,ioflag:I,robot:A');
-
- pidfGetClamdg();
- frmf_addComboItem('grp.cmb_clamdg', '전체', '', 'above');
-
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 청구월 포커스 잃을때 이벤트
- ****************************************************************************************/
- function grp_ipt_fromdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo){
- var clamym = new String(root_send.getColumn(0, 'clamym'));
- root_send.setColumn(0, 'clamym', clamym.substr(0, 6));
- pidfGetClamdg();
- frmf_addComboItem('grp.cmb_clamdg', '전체', '', 'above');
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_button1_onclick(obj:Button, e:ClickEventInfo){
- main_list.clearData();
- main_list.addRow();
-
- var oParam = {};
- oParam.id = 'TRPIF80104';
- oParam.service = 'clamuncoapp.ClamUnco';
- oParam.method = 'reqGetDrgAmtList';
- oParam.inds = 'req=root_send';
- oParam.outds = 'main_list=datagrid';
- oParam.async = false;
- //oParam.callback = 'cf_TRPIF80104';
- tranf_submit(oParam);
-
- dsf_setDefaultVal(main_list, 'medispclid:합계');
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 그리드 셀 더블클릭 이벤트
- ****************************************************************************************/
- function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo){
- var vpid = main_list.getColumn(datagrid1.currentrow, 'pid');
- var indd = main_list.getColumn(datagrid1.currentrow, 'indd');
- var ordfromdd = main_list.getColumn(datagrid1.currentrow, 'fromdd');
- var cretno = main_list.getColumn(datagrid1.currentrow, 'cretno');
-
- hidden_cond.clearData();
- hidden_cond.addRow();
-
- hidden_cond.setColumn(0, 'pid', vpid);
- hidden_cond.setColumn(0, 'indd', indd);
- hidden_cond.setColumn(0, 'ordfromdd', ordfromdd);
- hidden_cond.setColumn(0, 'cretno', cretno);
-
- frmf_setParameter('pid', vpid);
- frmf_setParameter('indd', indd);
- frmf_setParameter('ordfromdd', ordfromdd);
- frmf_setParameter('cretno', cretno);
-
- var obj = frmf_findPopup('SPPIJ03200');
-
- if(!utlf_isNull(obj)){
- obj.fInitialize();
- }
- else{
- var args = new Object();
-
- frmf_open('SPPIJ03200', 'SPPIJ03200', '', '', '', '', '', '', '', '', '', '', 'M');
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 닫기 버튼 클릭 이벤트
- ****************************************************************************************/
- function group1_button45_onclick(obj:Button, e:ClickEventInfo){
- this.close();
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 엑셀저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function button12_onclick(obj:Button, e:ClickEventInfo){
- var fileName = caption10.text;
- grdf_exportExcel(datagrid1, fileName, 'Sheet1', true, '', 'user', true);
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|