123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF30150" position="absolute 0 0 1200 696" titletext="장애인 및 대불청구 대상자관리" oninit="SMPIF30150_oninit" onload="SMPIF30150_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 669" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout width="1194" height="669">
- <Static text="장애인 및 대불청구 대상자관리" position="absolute 1 11 241 33" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 27 1194 33" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Grid position="absolute 0 32 1194 664" id="grd_pifmiounc" class="datagrid2" binddataset="ds_main_list00_gridpifmiounc" autofittype="col" oncellclick="group3_grd_pifmiounc_oncellclick" onkeydown="group3_grd_pifmiounc_onkeydown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="77"/>
- <Column size="58"/>
- <Column size="47"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="31" band="head"/>
- <Row size="28"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="반송"/>
- <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="심사결정액"/>
- <Cell col="15" text="심결장애인"/>
- <Cell col="16" text="기관삭감액"/>
- <Cell col="17" text="장애인전환금"/>
- <Cell col="18" text="입금액"/>
- <Cell col="19" text="입금기관기호"/>
- <Cell col="20" text="입금기관명"/>
- <Cell col="21" text="조정삭감액"/>
- <Cell col="22" text="반송액"/>
- <Cell col="23" text="비고"/>
- <Cell col="24" text="기관기호"/>
- <Cell col="25" text="기관명"/>
- <Cell col="26" text="심사자"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:lossyn" expr="expr:lossyn == 'Y' || lossyn == '1' ? 1 : 0"/>
- <Cell col="2" text="bind:payyn"/>
- <Cell col="3" text="bind:depodd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="4" text="bind:tretflag"/>
- <Cell col="5" text="bind:acptno"/>
- <Cell col="6" text="bind:docuseqno"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:patnm"/>
- <Cell col="9" text="bind:orddeptcd"/>
- <Cell col="10" displaytype="number" text="bind:clamtotordamt"/>
- <Cell col="11" displaytype="number" text="bind:clamamt"/>
- <Cell col="12" displaytype="number" text="bind:clhandicaprfund"/>
- <Cell col="13" text="bind:judgdg"/>
- <Cell col="14" displaytype="number" text="bind:jrjudgdeciamt"/>
- <Cell col="15" displaytype="number" text="bind:jrhandicaprfund"/>
- <Cell col="16" text="bind:instreductamt" mask="#,###"/>
- <Cell col="17" text="bind:handicapcvrtamt" mask="#,###"/>
- <Cell col="18" text="bind:depoamt" mask="#,###"/>
- <Cell col="19" text="bind:depoprocinstmark"/>
- <Cell col="20" style="align:left middle;" text="bind:depoprocinstmarknm"/>
- <Cell col="21" text="bind:adjtcutamt" mask="#,###"/>
- <Cell col="22" text="bind:sendamt" mask="#,###"/>
- <Cell col="23" text="bind:rem"/>
- <Cell col="24" text="bind:procinstmark"/>
- <Cell col="25" text="bind:procinstmarknm"/>
- <Cell col="26" text="bind:judgrid"/>
- <Cell col="27" text="bind:decoseq"/>
- <Cell col="28" text="bind:clamym"/>
- <Cell col="29" text="bind:clamdg"/>
- <Cell col="30" text="bind:pidsn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1114 7 1194 26" id="button12" class="btn7" text="엑셀저장" onclick="group3_button12_onclick"/>
- <Button position="absolute 1005 7 1058 26" id="button10" class="btn2" text="열카피" onclick="group3_button10_onclick"/>
- <Button position="absolute 1060 7 1113 26" id="button11" class="btn2" text="행카피" onclick="group3_button11_onclick"/>
- <Button position="absolute 950 7 1003 26" id="button13" class="btn2" text="셀카피" onclick="group3_button13_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1 663 1195 690" id="group2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 1136 3 1192 25" id="btn_cancel" class="btn4" text="닫기" anchor="default" onclick="group2_btn_cancel_onclick"/>
- <Button position="absolute 1079 3 1135 25" id="button2" class="btn4" text="저장" anchor="default" onclick="group2_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_sendlnk_clam_med" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_sendlist00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamno" type="STRING" size="256"/>
- <Column id="acptno" type="STRING" size="256"/>
- <Column id="judgdg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list00_gridpifmiounc" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lossyn" type="STRING" size="256" sumtext="반송여부"/>
- <Column id="payyn" type="STRING" size="256" sumtext="입금여부"/>
- <Column id="depodd" type="STRING" size="256" sumtext="입금일자"/>
- <Column id="tretflag" type="STRING" size="256" sumtext="처리구분명"/>
- <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="docuseqno" type="STRING" size="256" sumtext="명일련"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순번"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
- <Column id="adjtresn" type="STRING" size="256" sumtext="조정사유"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
- <Column id="patrrgstno" type="STRING" size="256" sumtext="환자주민번호"/>
- <Column id="clamtotordamt" type="STRING" size="256" sumtext="청구총진료비"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="청구액"/>
- <Column id="clhandicaprfund" type="STRING" size="256" sumtext="청구장애인기금"/>
- <Column id="clamsubtamt" type="STRING" size="256" sumtext="청구대불금"/>
- <Column id="jrjudgdeciamt" type="STRING" size="256" sumtext="심사결정액"/>
- <Column id="jrhandicaprfund" type="STRING" size="256" sumtext="심결장애인기금"/>
- <Column id="jrsubtamt" type="STRING" size="256" sumtext="심결대불금"/>
- <Column id="instreductamt" type="STRING" size="256" sumtext="기관삭감액"/>
- <Column id="handicapcvrtamt" type="STRING" size="256" sumtext="장애인전환금"/>
- <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
- <Column id="depoprocinstmark" type="STRING" size="256" sumtext="입금보장기관기호"/>
- <Column id="depoprocinstmarknm" type="STRING" size="256" sumtext="입금보장기관명"/>
- <Column id="adjtcutamt" type="STRING" size="256" sumtext="조정삭감액"/>
- <Column id="sendamt" type="STRING" size="256" sumtext="반송액"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="procinstmark" type="STRING" size="256" sumtext="기관기호"/>
- <Column id="procinstmarknm" type="STRING" size="256" sumtext="기관명"/>
- <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
- <Column id="decotretflag" type="STRING" size="256" sumtext="미수처리구분"/>
- <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="pidsn" type="STRING" size="256" sumtext="등록번호순번"/>
- <Column id="decoseq" type="STRING" size="256" sumtext="미수일련번호"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- var col = "N";
- function SMPIF30150_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF30150_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.grd_pifmiounc);
- grdf_setRowTypeIcon(group3.grd_pifmiounc, 0);
-
- grdf_setToolTipBind(group3.grd_pifmiounc);
-
- if(frmf_checkOpener())
- {
- ds_send_sendlnk_clam_med.copyData(arg_ds_send_sendlnk);
- }
-
- ds_send_sendlist00.setColumn(0, "clamno", ds_send_sendlnk_clam_med.getColumn(0, "clamno"));
- ds_send_sendlist00.setColumn(0, "acptno", ds_send_sendlnk_clam_med.getColumn(0, "acptno"));
- ds_send_sendlist00.setColumn(0, "judgdg", ds_send_sendlnk_clam_med.getColumn(0, "judgdg"));
- var oParam = {};
- oParam.id = "TRPIF30151";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetPifmiounc";
- oParam.inds = "req=ds_send_sendlist00";
- oParam.outds = "ds_main_list00_gridpifmiounc=gridpifmiounc";
- oParam.async = false;
- oParam.callback = "cf_TRPIF30151";
- tranf_submit(oParam);
- }
- function cf_TRPIF30151()
- {
- var vrowcount = ds_main_list00_gridpifmiounc.rowcount;
-
- ds_main_list00_gridpifmiounc.updatecontrol = false;
-
- for(var i = 0; i < vrowcount; i++)
- {
- ds_main_list00_gridpifmiounc.setColumn(i, "seqno", i);
- }
-
- ds_main_list00_gridpifmiounc.updatecontrol = true;
- }
- function group3_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
-
- group3.grd_pifmiounc.selecttype = "multiarea";
- }
- function group3_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "Y";
-
- group3.grd_pifmiounc.selecttype = "multiarea";
- }
- function group3_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- col = "N";
-
- group3.grd_pifmiounc.selecttype = "multirow";
- }
- function group3_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- var today = new Date();
-
- var yy = today.getYear() + "";
- var mm = today.getMonth() + 1;
- var dd = today.getDate();
-
- if(mm < 10)
- {
- mm = "0" + mm;
- }
- else
- {
- mm = mm + "";
- }
-
- if(dd < 10)
- {
- dd = "0" + dd;
- }
- else
- {
- dd = dd + "";
- }
-
- var tmp = yy + mm + dd;
-
- if(ds_main_list00_gridpifmiounc.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- else
- {
- grdf_exportExcel(group3.grd_pifmiounc, "장애인대불금관리_"+tmp, "see");
- }
- }
- function group2_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function group3_grd_pifmiounc_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == 1)
- {
- if(ds_main_list00_gridpifmiounc.getColumn(e.row, "lossyn") == "1")
- {
- ds_main_list00_gridpifmiounc.setColumn(e.row, "lossyn", "Y");
- }
- else
- {
- ds_main_list00_gridpifmiounc.setColumn(e.row, "lossyn", "N");
- }
- }
-
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
- var lv_nAreaStartCol;
- var lv_nAreaEndCol;
- if(col == "Y")
- {
- lv_nAreaStartRow = 0;
- lv_nAreaEndRow = parseInt(obj.rowcount-1);
- lv_nAreaStartCol = parseInt(obj.currentcol);
- lv_nAreaEndCol = parseInt(obj.currentcol);
-
- grdf_initGridStyle(obj);
-
- for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
- {
- for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
- {
- obj.setCellProperty("body",nCell,"background","#FFE7E5");
- obj.setCellProperty("body",nCell,"background2","#FFE7E5");
- }
- }
- }
- else
- {
- grdf_initGridStyle(obj);
- }
- }
- function group3_grd_pifmiounc_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(col == "Y")
- {
- var CONST_SEPARATOR = " "; //컬럼별 구분자
- var lv_oBindDs = eval(obj.binddataset);
- var lv_sColID;
- var lv_sVal;
- var lv_sClipboard = "";
- var lv_nAreaStartRow;
- var lv_nAreaEndRow;
- var lv_nAreaStartCol;
- var lv_nAreaEndCol;
-
- if(obj.selecttype == "multiarea")
- {
- lv_nAreaStartRow = 0;
- lv_nAreaEndRow = parseInt(obj.rowcount-1);
- lv_nAreaStartCol = parseInt(obj.currentcol);
- lv_nAreaEndCol = parseInt(obj.currentcol);
- }
-
- for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
- {
- for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
- {
- lv_sColID = obj.getCellProperty("body",nCell,"text");
- lv_sVal = obj.getCellValue(nRow,nCell);
- lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
- }
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
- lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
- }
- lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
-
- iv_sClipboard = lv_sClipboard;
-
- system.setClipboard("CF_TEXT",lv_sClipboard);
- }
- else
- {
- if (e.ctrlKey == true && e.keycode == 67 )
- {
- grdf_clipboardCopy(obj, "PAM");
- }
- }
- }
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_list00_gridpifmiounc.rowcount;
- var cnt = 0;
-
- for(var i = 0; i < row; i++)
- {
- if(ds_main_list00_gridpifmiounc.getRowType(i) == 4)
- {
- ++cnt;
- }
- }
-
- if(cnt > 0)
- {
- var oParam = {};
- oParam.id = "TXPIF30151";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqPutHandiCaprFundAmt";
- oParam.inds = "req=ds_main_list00_gridpifmiounc:U";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPIF30151";
- tranf_submit(oParam);
- }
- }
- function cf_TXPIF30151(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return false;
- }
- else
- {
- var oParam = {};
- oParam.id = "TRPIF30151";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetPifmiounc";
- oParam.inds = "req=ds_send_sendlist00";
- oParam.outds = "ds_main_list00_gridpifmiounc=gridpifmiounc";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF30151";
- tranf_submit(oParam);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|