123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SMPIE03600" position="absolute 0 0 1280 1024" titletext="심사보류 관리" onload="SMPIE03600_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 800 14" style="" text="심사보류 관리" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 13 1195 757" style="">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 0 10 1194 45" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1194 35" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;" />
- <Static id="caption2" class="search_name" position="absolute 15 8 101 25" style="" text="청구년월 :" />
- <Button id="button1" class="btn1_letter2" position="absolute 1123 7 1179 29" style="" text="조회" onclick="group3_group2_button1_onclick" />
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1108 7 1111 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
- <Calendar id="ipt_clamym" class="input_search" mask="yyyy-mm" position="absolute 104 8 175 27" style="" anchor="default" onkillfocus="group3_group2_ipt_clamym_onkillfocus" />
- <Combo innerdataset="ds_init_clamdg_clamdglist" datacolumn="clamdgnm" codecolumn="clamdgcd" columncount="-1" rowcount="-1" id="cmb_clamdg" class="combo_search" position="absolute 180 8 240 27" style="" />
- <Static id="cp_patnm" class="search_name" position="absolute 513 8 589 25" style="" text="환자조회" />
- <Edit id="ipt_patunitsrch" class="input_search" taborder="3" position="absolute 595 8 685 27" style="" anchor="default" onkeypress="group3_group2_ipt_patunitsrch_onkeypress" onlbuttonup="group3_group2_ipt_patunitsrch_onlbuttonup" />
- <Edit id="opt_insukind" class="output_search" position="absolute 465 8 485 27" style="" anchor="default" readonly="true" />
- <Combo innerdataset="ds_init_P0421list_P0421" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_insukind" class="combo_search" position="absolute 360 8 460 27" style="" />
- <Static id="caption13" class="search_name" position="absolute 275 8 351 25" style="" text="보험유형" />
- <Static id="caption3" class="search_name" position="absolute 710 8 783 25" style="" text="심사자" />
- <Combo innerdataset="ds_init_U0001list_U0001" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_judgrid" taborder="1" position="absolute 785 8 885 27" style="" />
- <Static id="caption1" class="search_name" position="absolute 900 8 976 25" style="" text="보류구분" />
- <Combo innerdataset="ds_hidden_flag_item" datacolumn="cd" codecolumn="nm" columncount="-1" rowcount="-1" id="combo1" taborder="1" position="absolute 980 8 1080 27" style="" />
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption5" class="tit_2" position="absolute 5 56 198 70" style="" text="심사보류 리스트" />
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 71 1194 74" style="" anchor="default" />
- <Grid id="grd_judghold" binddataset="ds_main_grdlist_judghold" class="datagrid2" position="absolute 0 76 1194 739" style="" onlbuttonup="group3_grd_judghold_onlbuttonup" oncellclick="group3_grd_judghold_oncellclick" ontextchanged="group3_grd_judghold_ontextchanged">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="66" />
- <Column size="33" />
- <Column size="53" />
- <Column size="25" />
- <Column size="56" />
- <Column size="61" />
- <Column size="50" />
- <Column size="58" />
- <Column size="35" />
- <Column size="21" />
- <Column size="63" />
- <Column size="52" />
- <Column size="76" />
- <Column size="234" />
- <Column size="51" />
- <Column size="267" />
- <Column size="44" />
- <Column size="35" />
- <Column size="33" />
- <Column size="150" />
- <Column size="88" />
- <Column size="50" />
- </Columns>
- <Rows>
- <Row size="24" band="head" />
- <Row size="24" />
- </Rows>
- <Band id="head">
- <Cell text="등록번호" />
- <Cell col="1" text="pidsn" />
- <Cell col="2" text="decoseq" />
- <Cell col="3" text="seq" />
- <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="심사자" />
- </Band>
- <Band id="body">
- <Cell text="bind:pid" />
- <Cell col="1" text="bind:pidsn" />
- <Cell col="2" text="bind:decoseq" />
- <Cell col="3" text="bind:seq" />
- <Cell col="4" text="bind:patnm" />
- <Cell col="5" text="bind:clamym" />
- <Cell col="6" text="bind:clamdg" />
- <Cell col="7" text="bind:flag" />
- <Cell col="8" text="bind:ioflag" />
- <Cell col="9" text="bind:insukind" />
- <Cell col="10" text="bind:ordfildcd" />
- <Cell col="11" text="bind:orddeptcd" />
- <Cell col="12" text="bind:reteno" />
- <Cell col="13" text="bind:reteresn" />
- <Cell col="14" text="bind:judgrretecd" />
- <Cell col="15" text="bind:judgrretespec" />
- <Cell col="16" text="bind:reclamyn" />
- <Cell col="17" text="bind:lossyn" />
- <Cell col="18" text="bind:depoyn" />
- <Cell col="19" text="bind:abdresncd" />
- <Cell col="20" text="bind:rem" />
- <Cell col="21" text="bind:judgrid" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_memo" position="absolute 385 170 865 475" style="">
- <Layouts>
- <Layout>
- <Shape id="rr_memo" anchor="default" type="roundrectangle" position="absolute 0 0 480 305" style="" />
- <TextArea id="ipt_memo" position="absolute 6 24 475 270" style="" />
- <Static id="cp_navi" class="search_name" position="absolute 6 5 160 22" style="" text="상세내역 입력_조회" />
- <Button id="btn_confirm" class="btn4_letter2" position="absolute 351 275 407 297" style="" text="확인" onclick="group3_grp_memo_btn_confirm_onclick" />
- <Button id="btn_cancel" class="btn4_letter2" position="absolute 415 275 471 297" style="" text="취소" onclick="group3_grp_memo_btn_cancel_onclick" />
- </Layout>
- </Layouts>
- </Div>
- <Button id="button90" class="btn5_letter2" position="absolute 1149 50 1191 69" style="" text="저장" onclick="group3_button90_onclick" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" scrollbars="autoboth" position="absolute 0 757 1195 784" style="">
- <Layouts>
- <Layout>
- <Shape id="line33" class="line_6" linetype="horizontal" position="absolute 0 0 1194 3" style="" anchor="default" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_P0425list_P0425" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256" />
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="judgrid" type="STRING" size="256" />
- <Column id="flag" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0421list_P0421" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"></Col>
- <Col id="pid"></Col>
- <Col id="hngnm"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0283list_P0283" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="judghold" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_sppmc02500" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0283list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0466list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_grdlist_judghold" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" />
- <Column id="pidsn" type="STRING" size="256" />
- <Column id="decoseq" type="STRING" size="256" />
- <Column id="seq" type="STRING" size="256" />
- <Column id="patnm" type="STRING" size="256" />
- <Column id="clamym" type="STRING" size="256" />
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="flag" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ordfildcd" type="STRING" size="256" />
- <Column id="orddeptcd" type="STRING" size="256" />
- <Column id="reteno" type="STRING" size="256" />
- <Column id="reteresn" type="STRING" size="256" />
- <Column id="judgrretecd" type="STRING" size="256" />
- <Column id="judgrretespec" type="STRING" size="256" />
- <Column id="reclamyn" type="STRING" size="256" />
- <Column id="lossyn" type="STRING" size="256" />
- <Column id="depoyn" type="STRING" size="256" />
- <Column id="abdresncd" type="STRING" size="256" />
- <Column id="rem" type="STRING" size="256" />
- <Column id="judgrid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"></Col>
- <Col id="pidsn"></Col>
- <Col id="decoseq"></Col>
- <Col id="seq"></Col>
- <Col id="patnm"></Col>
- <Col id="clamym"></Col>
- <Col id="clamdg"></Col>
- <Col id="flag"></Col>
- <Col id="ioflag"></Col>
- <Col id="insukind"></Col>
- <Col id="ordfildcd"></Col>
- <Col id="orddeptcd"></Col>
- <Col id="reteno"></Col>
- <Col id="reteresn"></Col>
- <Col id="judgrretecd"></Col>
- <Col id="judgrretespec"></Col>
- <Col id="reclamyn"></Col>
- <Col id="lossyn"></Col>
- <Col id="depoyn"></Col>
- <Col id="abdresncd"></Col>
- <Col id="rem"></Col>
- <Col id="judgrid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_hidden_flag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- <Column id="cd" type="STRING" size="256" />
- <Column id="nm" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd"></Col>
- <Col id="nm"></Col>
- </Row>
- <Row>
- <Col id="cd">주민보류</Col>
- <Col id="nm">01</Col>
- </Row>
- <Row>
- <Col id="cd">자격보류</Col>
- <Col id="nm">02</Col>
- </Row>
- <Row>
- <Col id="cd">반송</Col>
- <Col id="nm">03</Col>
- </Row>
- <Row>
- <Col id="cd">자격반송</Col>
- <Col id="nm">04</Col>
- </Row>
- <Row>
- <Col id="cd">심사보류</Col>
- <Col id="nm">05</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_P0425list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="patinfolist" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patinfolist"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0421list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="U0001list" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clamdg"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0466list_P0466" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256" />
- <Column id="cdid" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"></Col>
- <Col id="cdid"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="onmove" type="STRING" size="256" />
- <Column id="contents" type="STRING" size="256" />
- <Column id="pre_x" type="STRING" size="256" />
- <Column id="pre_y" type="STRING" size="256" />
- <Column id="typeflag" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="onmove"></Col>
- <Col id="contents"></Col>
- <Col id="pre_x"></Col>
- <Col id="pre_y"></Col>
- <Col id="typeflag"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.ipt_clamym" propid="value" datasetid="ds_send_search" columnid="clamym" />
- <BindItem id="item1" compid="group3.group2.cmb_clamdg" propid="value" datasetid="ds_send_search" columnid="clamdg" />
- <BindItem id="item2" compid="group3.group2.ipt_patunitsrch" propid="value" datasetid="ds_send_search" columnid="pid" />
- <BindItem id="item3" compid="group3.group2.opt_insukind" propid="value" datasetid="ds_send_search" columnid="insukind" />
- <BindItem id="item4" compid="group3.group2.cmb_insukind" propid="value" datasetid="ds_send_search" columnid="insukind" />
- <BindItem id="item5" compid="group3.group2.cmb_judgrid" propid="value" datasetid="ds_send_search" columnid="judgrid" />
- <BindItem id="item6" compid="group3.group2.combo1" propid="value" datasetid="ds_send_search" columnid="flag" />
- <BindItem id="item7" compid="group3.grp_memo.ipt_memo" propid="value" datasetid="ds_memo" columnid="contents" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SMPIE03600_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- // 화면 초기화
- fInitialize();
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- // 화면 초기화
- function fInitialize()
- {
- ds_main_grdlist_judghold.clearData(); // 그리드 초기화
- // submit("TRPIB00603"); // 심사자 콤보리스트
- var oParam = {};
- oParam.id = "TRPIB00603";
- oParam.service = "insubasecdmngtapp.JudgCmt";
- oParam.method = "reqGetJudgRidList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=U0001 ds_=UserInfo";
- oParam.async = false;
- oParam.callback = "cf_TRPIB00603";
- tranf_submit(oParam);
- /*
- function cf_TRPIB00603(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIB00603(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIB00603") > -1
- arErrorCode.pop("TRPIB00603") < 0
- */
- var arrParam = [ {dsNm: "ds_init_P0421list"
- ,"ds_init_P0466list"
- ,"ds_init_P0283list"
- ,"ds_init_P0425list"
- ,
- cdGrpId: "P0421" // 보험유형
- ,"P0466" // 부제기사유
- ,"P0283" // 보류사유
- ,"P0425" // 보류사유
- } ];
- appf_getCodeList(arrParam,
- );
- //group3.group2.cmb_insukind.refresh();
- // 청구년월, 차수 셋팅 시작
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
- ds_send_search.setColumn( 0, "clamym",currentym);
- //group3.group2.ipt_clamym.refresh();
- pidfGetClamdg();
- group3.group2.cmb_clamdg.select(0);
- //group3.group2.cmb_clamdg.refresh();
- // 청구년월 셋팅 끝
- }
- // 환자단위 조회
- function fPatSrch()
- {
- var ipt_pid = ds_send_search.getColumn(0, "pid");
- if (ipt_pid) {
- if ( !isNaN(ipt_pid) )
- {
- ds_hidden_sppmc02500_cond.setColumn( 0, "srchcond", "1"); // 검색조건 : 등록번호로 설정
- ds_hidden_sppmc02500_cond.setColumn( 0, "pid", ipt_pid);
- }
- else
- {
- ds_hidden_sppmc02500_cond.setColumn( 0, "srchcond", "2"); // 검색조건 : 환자명으로 설정
- ds_hidden_sppmc02500_cond.setColumn( 0, "hngnm", ipt_pid);
- }
- } else {
- ds_hidden_sppmc02500_cond.clearData(); ds_hidden_sppmc02500_cond.addRow();
- }
- // pam_commonweb_xrw_SPPMC02500_환자조회.xrw
- frmf_modal("SPPMC02500", "SPPMC02500", "ds_hidden_sppmc02500_cond""-"ds_send"", "", "1", "150", "150", "", "", "", "", "", "M"); // SPPMC02500_환자조회.xrw
- var srch_pid = ds_main_patinfo_patinfolist.getColumn(0, "pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- ds_main_patinfo_patinfolist.clearData(); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- dsf_makeValue( ds_main_patinfo, "patinfolist", "string", "" ); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- ds_send_search.setColumn( 0, "pid", srch_pid);
- }
- //model.refresh();
- }
- // 청구년월 함수
- function pidfGetClamdg() {
- ds_init_clamdg.clearData();
- dsf_makeValue( ds_init, "clamdg", "string", "" ); submit("TRPID20407");
- frmf_addComboItem("group3.group2.cmb_clamdg"," ","","above"); // 데이터가 별로 없으므로 차수는 전체 가능하게 변신
- }
- // 상세내역 Byte 체크
- function fChkBytes()
- {
- var iLen = 0; // 상세내역 길이가 500 byte가 되었는지 계산
- var eng_size = 0;
- var hng_size = 0;
- for (var i=0; i < group3.grp_memo.ipt_memo.value.length; i++) {
- var sBit = group3.grp_memo.ipt_memo.value.charAt(i);
- if (escape(sBit).length > 4) {
- iLen = iLen + 3; // 한글
- } else {
- iLen = iLen + 1; // 영문,기호
- }
- }
- if (iLen > 500) { // 영문(500자), 한글(250자)
- eng_size = iLen - 500;
- hng_size = Math.round((iLen - 500)_3);
- err_msg = "한글 " + hng_size + "자, 영문 " + eng_size + "자 를";
- sysf_messageBox(err_msg, "E003");
- return "N";
- }
- }
- // 조회
- function fSearch()
- {
- // submit("TRPIE03600");
- var oParam = {};
- oParam.id = "TRPIE03600";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetJudgHold";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=judghold";
- oParam.async = false;
- oParam.callback = "cf_TRPIE03600";
- tranf_submit(oParam);
- /*
- function cf_TRPIE03600(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIE03600(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIE03600") > -1
- arErrorCode.pop("TRPIE03600") < 0
- */
- }
- // 저장
- function fSaveData()
- {
- if(!group3.grd_judghold.getUpdateDataXml("update"))
- {
- sysf_messageBox("저장할 자료가","I004");
- return;
- }
- ds_send.setColumn( 0, "judghold",group3.grd_judghold.getUpdateData());
- // if (submit("TXPIE00800"))
- var oParam = {};
- oParam.id = "TXPIE00800";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeJudgHold";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=judghold";
- oParam.async = false;
- oParam.callback = "cf_TXPIE00800";
- tranf_submit(oParam);
- /*
- function cf_TXPIE00800(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXPIE00800(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXPIE00800") > -1
- arErrorCode.pop("TXPIE00800") < 0
- */
- {
- fSearch();
- }
- }
- function group3_group2_button1_onclick(obj:Button, e:ClickEventInfo) {
- fSearch();
- }
- function group3_group2_ipt_clamym_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- pidfGetClamdg();
- //group3.group2.cmb_clamdg.refresh();
- group3.group2.cmb_clamdg.select(0);
- }
- function group3_group2_ipt_patunitsrch_onkeydown(obj:Edit, e:KeyEventInfo) {
- if (event.keyCode == "13") { // Enter 입력 시에
- if (group3.group2.ipt_patunitsrch.text.length > 1) { // 2글자 이상이면
- obj.updateToDataset(); // (tfHelper.js) 현재 인풋값 노드 반영
- if( isNaN(ds_send_search.getColumn(0, "pid")) ) // PID로 검색시 조회
- {
- fPatSrch();
- }
- else
- {
- fSearch();
- }
- }
- }
- }
- function group3_group2_ipt_patunitsrch_onlbuttonup(obj:Edit, e:MouseEventInfo) {
- fPatSrch();
- }
- function group3_grd_judghold_onlbuttonup(obj:Grid, e:MouseEventInfo) {
- var row = group3.grd_judghold.row;
- // 해당행의 상세내역값을 메모창에 보여줄 값으로 복사
- ds_memo.setColumn( 0, "contents",ds_main_grdlist_judghold.getColumn(row, "judgrretespec")));
- //group3.grp_memo.ipt_memo.refresh();
- // 메모창 출현
- group3.grp_memo.visible= true;
- }
- function group3_grd_judghold_oncellclick(obj:Grid, e:GridClickEventInfo) {
- var row = group3.grd_judghold.row;
- var col = group3.grd_judghold.col;
- // 상세내역을 클릭했을 경우 메모창의 텍스트박스 값 변경
- if ( col == group3.grd_judghold.colRef("judgrretespec"))
- {
- ds_memo.setColumn( 0, "contents",ds_main_grdlist_judghold.getColumn(row, "judgrretespec")));
- //group3.grp_memo.ipt_memo.refresh();
- }
- }
- function group3_grd_judghold_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo) {
- var row = group3.grd_judghold.row;
- var col = group3.grd_judghold.col;
- // 상세내역을 클릭했을 경우 메모창의 텍스트박스 값 변경
- if ( col == group3.grd_judghold.colRef("judgrretespec"))
- {
- group3.grp_memo.ipt_memo.value = ds_main_grdlist_judghold.getColumn(row, "judgrretespec"));
- //group3.grp_memo.ipt_memo.refresh();
- if ( fChkBytes() == "N" )
- {
- group3.grp_memo.visible= true;
- }
- }
- }
- function group3_grp_memo_btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
- // 500Byte 이상은 체크
- err_chk = fChkBytes();
- if (err_chk != "N")
- {
- var row = group3.grd_judghold.row;
- var value = ds_main_grdlist_judghold.getColumn(row, "judgrretespec"));
- if(value != group3.grp_memo.ipt_memo.value){
- ds_main_grdlist.setColumn( row , "judgrretespec",group3.grp_memo.ipt_memo.text);
- group3.grd_judghold.addstatus(group3.grd_judghold.row, "update");
- }
- group3.grp_memo.ipt_memo.value= "";
- //group3.grp_memo.ipt_memo.refresh();
- group3.grp_memo.visible = false;
- }
- }
- function group3_grp_memo_btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
- group3.grp_memo.ipt_memo.value= "";
- group3.grp_memo.visible = false;
- }
- function group3_button90_onclick(obj:Button, e:ClickEventInfo) {
- if ( group3.grp_memo.visible == true )
- {
- sysf_messageBox("상세내역 입력_조회 창이 닫히지 ","E007");
- }
- else
- {
- fSaveData();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|