123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMC03903" position="absolute 0 0 1196 761" titletext="중증 치매 자격 승인 관리" onload="SPPMC03903_onload" oninit="SPPMC03903_oninit">
- <Layouts>
- <Layout>
- <Static id="cap_title" class="tit_1" position="absolute 0 0 140 25" style="" text="사전 승인 관리" anchor="left top"/>
- <Shape id="line16" class="line_1" linetype="horizontal" position="absolute 0 90 1195 94" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Button id="btn_save" class="btn2" position="absolute 1153 67 1195 89" style="" text="저장" onclick="btn_save_onclick" anchor="top right"/>
- <Static id="caption1" class="tit_2" position="absolute 0 73 80 90" style="" text="승인 내역" anchor="left top"/>
- <Grid id="grd_aprv" binddataset="ds_main_aprvlist_aprvinfo" position="absolute 0 94 1195 760" style="align:center ;" onaftersort="grd_aprv_onaftersort" onrbuttondown="grd_aprv_onrbuttondown" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="280"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="140"/>
- </Columns>
- <Rows>
- <Row size="36" band="head"/>
- <Row size="24"/>
- </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="처방전 발급번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:rrgstno"/>
- <Cell col="4" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="5" text="bind:cretno"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:orddrnm"/>
- <Cell col="8" text="bind:suppkindnm"/>
- <Cell col="9" displaytype="combo" style="align:center middle;" text="bind:ordtype" combodataset="ds_cmb_ordtype" combocodecol="value" combodatacol="label"/>
- <Cell col="10" text="bind:spclcd"/>
- <Cell col="11" displaytype="date" text="bind:execdd" calendardisplaynulltype="none"/>
- <Cell col="12" text="bind:indays"/>
- <Cell col="13" displaytype="date" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:rqstdd" calendardisplaynulltype="none"/>
- <Cell col="14" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:diagcd"/>
- <Cell col="15" style="align:left middle;color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:diagnm"/>
- <Cell col="16" displaytype="combo" style="align:center middle;color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvflag" combodataset="ds_cmb_aprvflag" combocodecol="value" combodatacol="label"/>
- <Cell col="17" displaytype="date" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvfromdd" calendardisplaynulltype="none"/>
- <Cell col="18" displaytype="date" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvtodd" calendardisplaynulltype="none"/>
- <Cell col="19" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvdays"/>
- <Cell col="20" displaytype="combo" style="align:center middle;color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvjudg" combodataset="ds_cmb_aprvjudg" combocodecol="value" combodatacol="label"/>
- <Cell col="21" displaytype="text" style="align:center middle;color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:aprvno"/>
- <Cell col="22" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:drugyn"/>
- <Cell col="23" style="color:#0000ffff;color2:#0000ffff;font:BIND(fontFace);" text="bind:drugno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excl" class="btn7" position="absolute 1028 67 1151 89" style="" text="엑셀파일불러오기" onclick="btn_excl_onclick" anchor="top right"/>
- <Div id="grp_sea" taborder="4" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1195" height="35">
- <Static id="caption17" text="진료일 :" class="search_name" position="absolute 5 12 65 29" anchor="left top"/>
- <Static id="caption2" text="~" position="absolute 169 13 179 30" style="align:center ;" anchor="left top"/>
- <Button id="btn_search" taborder="1" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1132 10 1188 32" anchor="top right"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1120 10 1123 32" anchor="top right"/>
- <Calendar id="ipt_fromdd" taborder="2" position="absolute 76 11 165 30" anchor="left top" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_todd" taborder="3" position="absolute 183 11 272 30" anchor="left top" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
- <Static id="caption3" text="특정 코드 :" class="search_name" position="absolute 293 13 373 30" anchor="left top"/>
- <CheckBox id="chk_all" taborder="4" text="전체" truevalue="Y" position="absolute 379 11 428 31" innerdataset="[object Dataset]" datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" anchor="left top" falsevalue="N" value="N" onclick="grp_sea_chk_all_onclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </CheckBox>
- <cp_checkboxList id="chk_spclcd" titletext="CheckBox List" taborder="5" text="chk_spclcd" scrollbars="none" position="absolute 435 11 635 31" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="left top"/>
- <Static id="caption4" text="승인 여부 :" class="search_name" position="absolute 650 12 730 29" anchor="left top"/>
- <Radio id="chk_aprvflag" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 741 11 896 31" anchor="left top" style="textpadding:0 3 0 3;" index="-1" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미승인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">승인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="cap_pid" text="등록번호 :" class="search_name" position="absolute 913 12 988 29" anchor="left top"/>
- <Edit id="ipt_pid" taborder="7" position="absolute 996 11 1066 30" anchor="left top" onkeydown="grp_sea_ipt_pid_onkeydown" autoselect="true"/>
- <Button id="btn_pid" taborder="8" class="icon_search" position="absolute 1071 13 1085 29" anchor="left top" onclick="grp_sea_btn_pid_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_excl" taborder="5" binddataset="ds_temp_excllist_exclinfo" useinputpanel="false" onrbuttondown="grd_aprv_onrbuttondown" position="absolute 175 198 1176 730" anchor="all" style="align:center ;" onaftersort="grd_aprv_onaftersort" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <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="100"/>
- <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="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="normal" text="bind:no"/>
- <Cell col="1" displaytype="normal" text="bind:hngnm"/>
- <Cell col="2" displaytype="normal" text="bind:rrgstno"/>
- <Cell col="3" displaytype="normal" text="bind:rgstno" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="normal" text="bind:rqstdd"/>
- <Cell col="5" displaytype="normal" text="bind:aprvflag"/>
- <Cell col="6" displaytype="normal" text="bind:ordtype"/>
- <Cell col="7" displaytype="normal" style="align:center middle;" text="bind:aprvfromdd"/>
- <Cell col="8" displaytype="normal" text="bind:aprvtodd"/>
- <Cell col="9" displaytype="normal" text="bind:aprvdays" calendardisplaynulltype="none"/>
- <Cell col="10" displaytype="normal" text="bind:diagcd"/>
- <Cell col="11" displaytype="normal" text="bind:diagnm" calendardisplaynulltype="none"/>
- <Cell col="12" displaytype="normal" text="bind:drlcno"/>
- <Cell col="13" displaytype="normal" style="align:left middle;" text="bind:drnm"/>
- <Cell col="14" displaytype="normal" text="bind:drflag"/>
- <Cell col="15" displaytype="normal" text="bind:drugyn" calendardisplaynulltype="none"/>
- <Cell col="16" displaytype="normal" text="bind:drugno" calendardisplaynulltype="none"/>
- <Cell col="17" displaytype="normal" text="bind:aprvjudg"/>
- <Cell col="18" displaytype="normal" text="bind:aprvno"/>
- <Cell col="19" displaytype="normal" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excl_down" taborder="6" text="EXCEL" class="btn7" position="absolute 959 67 1026 89" anchor="top right" onclick="btn_excl_down_onclick"/>
- <PopupMenu id="pmn_menu1" position="absolute 1227 114 1323 139" innerdataset="@ds_hidden_popupmenu_item" idcolumn="func" captioncolumn="label" levelcolumn="label" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave"/>
- </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="spclcd" type="STRING" size="256"/>
- <Column id="aprvflag" type="STRING" size="256"/>
- <Column id="aprvupdt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="spclcdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="spclcd"/>
- <Col id="aprvflag">N</Col>
- <Col id="aprvupdt"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="allflag" type="STRING" size="256"/>
- <Column id="spclcdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="allflag">Y</Col>
- <Col id="spclcdflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_aprvlist_aprvinfo" 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="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindnm" type="STRING" size="256" sumtext="보조유형명"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특정코드"/>
- <Column id="execdd" type="STRING" size="256" sumtext="실시일"/>
- <Column id="indays" type="STRING" size="256" sumtext="재원일수"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="주상병코드"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="주상병명"/>
- <Column id="rqstdd" type="STRING" size="256" sumtext="신청일"/>
- <Column id="aprvflag" type="STRING" size="256" sumtext="사전승인구분"/>
- <Column id="aprvfromdd" type="STRING" size="256" sumtext="사전승인시작일"/>
- <Column id="aprvtodd" type="STRING" size="256" sumtext="사전승인종료일"/>
- <Column id="aprvdays" type="STRING" size="256" sumtext="사전승인일수"/>
- <Column id="aprvjudg" type="STRING" size="256" sumtext="사전승인심사여부"/>
- <Column id="aprvno" type="STRING" size="256" sumtext="사전승인번호"/>
- <Column id="drugyn" type="STRING" size="256" sumtext="처방전발급여부"/>
- <Column id="drugno" type="STRING" size="256" sumtext="처방전발급번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_excllist_exclinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="no" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="rgstno" type="STRING" size="256"/>
- <Column id="rqstdd" type="STRING" size="256"/>
- <Column id="aprvflag" type="STRING" size="256"/>
- <Column id="ordtype" type="STRING" size="256"/>
- <Column id="aprvfromdd" type="STRING" size="256"/>
- <Column id="aprvtodd" type="STRING" size="256"/>
- <Column id="aprvdays" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="drlcno" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="drflag" type="STRING" size="256"/>
- <Column id="drugyn" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="aprvjudg" type="STRING" size="256"/>
- <Column id="aprvno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_aprvlist_rsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rtncnt" type="STRING" size="256" sumtext="실행결과"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_popupmenu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="level" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">승인 내역 삭제</Col>
- <Col id="func">fDelAprv</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_aprvupdt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_ordtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">DSC</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_aprvflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">기본</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">연장</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_aprvjudg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label"/>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">승인</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_spclcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">V800</Col>
- <Col id="value">V800</Col>
- </Row>
- <Row>
- <Col id="label">V810</Col>
- <Col id="value">V810</Col>
- </Row>
- <Row>
- <Col id="label">V801</Col>
- <Col id="value">V801</Col>
- </Row>
- <Row>
- <Col id="label">V811</Col>
- <Col id="value">V811</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.chk_all" propid="value" datasetid="ds_hidden" columnid="allflag"/>
- <BindItem id="item3" compid="grp_sea.chk_spclcd" propid="value" datasetid="ds_hidden" columnid="spclcdflag"/>
- <BindItem id="item4" compid="grp_sea.chk_aprvflag" propid="value" datasetid="ds_send" columnid="aprvflag"/>
- <BindItem id="item5" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- function SPPMC03903_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPMC03903_onload(obj: Form, e: LoadEventInfo)
- {
- grdf_setGridSort(grd_aprv);
- grdf_setRowTypeIcon(grd_aprv, 0);
- var props = "col=4,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- grp_sea.chk_spclcd.setInitComp(props, ds_chk_spclcd,"value","label","fn_checkbox1");
-
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
- }
- function fn_checkbox1()
- {
- ds_hidden.setColumn(0, "spclcdflag", String(grp_sea.chk_spclcd.getData()).replace(",", " "));
-
- if(utlf_transNullToEmpty(ds_hidden.getColumn(0, 'spclcdflag')) != '')
- {
- ds_hidden.setColumn(0, 'allflag', '');
- }
- }
- function grp_sea_chk_all_onclick(obj: CheckBox, e: ClickEventInfo)
- {
- if (obj.value == "Y")
- {
- grp_sea.chk_spclcd.setCheckAll(false);
- ds_hidden.setColumn(0, "spclcdflag", "V800','V810','V801','V811");
- }
- }
- function grp_sea_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo)
- {
- if (e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_search.click();
- }
- }
- function grp_sea_btn_pid_onclick(obj: Button, e: ClickEventInfo)
- {
- ds_patinfolist.clearData();
- frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
- if (frmf_getParameter('SPPMC02500_popupendflag') != "cancel")
- {
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- }
- }
- function btn_search_onclick(obj: Button, e: ClickEventInfo)
- {
- fSetSpclCd();
- var oParam = {};
- oParam.id = "TRPMC03921";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetPreAprvList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_aprvlist_aprvinfo=aprv";
- oParam.async = false;
- oParam.callback = "cf_TRPMC03921";
- tranf_submit(oParam);
- }
- function cf_TRPMC03921(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- ds_main_aprvlist_aprvinfo.addColumn("fontFace", "string");
- }
- function fSetSpclCd()
- {
- if (ds_hidden.getColumn(0, "allflag") == "Y")
- {
- ds_send.setColumn(0, "spclcd", "'V800','V810','V801','V811'");
- }
- else
- {
- ds_send.setColumn(0, "spclcd", "'" + utlf_transNullToEmpty(ds_hidden.getColumn(0, "spclcdflag")).replace(/ /g, "','") + "'");
- }
- }
- function btn_excl_down_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_aprv, "중증 치매 승인 관리", "Sheet1", "true", "", "");
- }
- function btn_excl_onclick(obj: Button, e: ClickEventInfo)
- {
- ds_temp_excllist_exclinfo.clearData();
- grdf_ImportExcel("ds_temp_excllist_exclinfo", 2, grd_excl, 0);
- var cnt = 0;
- for (var i = 0; i < ds_temp_excllist_exclinfo.rowcount; i++)
- {
- var ePath = ds_temp_excllist_exclinfo;
- var rrgstno = ePath.getColumn(i, "rrgstno");
- var aprvfromdd = utlf_transNullToEmpty(ePath.getColumn(i, "aprvfromdd")).replace(/\./g, "");
- var aprvtodd = utlf_transNullToEmpty(ePath.getColumn(i, "aprvtodd")).replace(/\./g, "");
- for (var j = 0; j < ds_main_aprvlist_aprvinfo.rowcount; j++)
- {
- var aPath = ds_main_aprvlist_aprvinfo;
- if (aPath.getColumn(j, "rrgstno") == rrgstno && aPath.getColumn(j, "execdd") >= aprvfromdd && aPath.getColumn(j, "execdd") <= aprvtodd )
- {
- aPath.setColumn(j, "rqstdd", utlf_transNullToEmpty(ePath.getColumn(i, "rqstdd")).replace(/\./g, ""));
- aPath.setColumn(j, "diagcd", ePath.getColumn(i, "diagcd"));
- aPath.setColumn(j, "diagnm", ePath.getColumn(i, "diagnm"));
- switch (ePath.getColumn(i, "aprvflag"))
- {
- case "기본":
- aPath.setColumn(j, "aprvflag", "0");
- break;
- case "연장":
- aPath.setColumn(j, "aprvflag", "1");
- break;
- default:
- aPath.setColumn(j, "aprvflag", "");
- break;
- }
- aPath.setColumn(j, "aprvfromdd", utlf_transNullToEmpty(ePath.getColumn(i, "aprvfromdd")).replace(/\./g, ""));
- aPath.setColumn(j, "aprvtodd", utlf_transNullToEmpty(ePath.getColumn(i, "aprvtodd")).replace(/\./g, ""));
- aPath.setColumn(j, "aprvdays", utlf_transNullToEmpty(ePath.getColumn(i, "aprvdays")).replace(/일/g, ""));
- switch (ePath.getColumn(i, "aprvjudg"))
- {
- case "":
- aPath.setColumn(j, "aprvjudg", "0");
- break;
- case "승인":
- aPath.setColumn(j, "aprvjudg", "1");
- break;
- default:
- aPath.setColumn(j, "aprvjudg", "");
- break;
- }
- aPath.setColumn(j, "aprvno", ePath.getColumn(i, "aprvno"));
- aPath.setColumn(j, "drugyn", ePath.getColumn(i, "drugyn"));
- aPath.setColumn(j, "drugno", ePath.getColumn(i, "drugno"));
- aPath.updatecontrol = false;
- aPath.setRowType(j, "u");
- dsf_makeValue(aPath, "fontFace", "string", "Dotum,9,bold", j);
- aPath.updatecontrol = true;
- cnt++;
- }
- }
- }
- if (cnt < 1)
- {
- sysf_messageBox("일치하는 항목이 없습니다.", "E999");
- }
- else
- {
- sysf_messageBox("[ " + cnt + " ] 건의 승인 정보를 불러왔습니다.", "I999");
- }
- }
- function grd_aprv_onrbuttondown(obj: Grid, e: GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
- ds_main_aprvlist_aprvinfo.rowposition = e.row;
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- obj.closePopup();
- eval(e.id +"();");
- }
- function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
- {
- obj.closePopup();
- }
- function btn_save_onclick(obj: Button, e: ClickEventInfo)
- {
- if (sysf_messageBox("변경 내역을 저장하시겠습니까?", "Q999") != 6) return;
- var updategrid = grdf_getGridUpdateData(grd_aprv);
- grdf_setStatusColumn(updategrid, "status");
- ds_send_aprvupdt.copyData(updategrid, true);
- fSetSpclCd();
- var oParam = {};
- oParam.id = "TXPMC03911";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqSetPreAprvList";
- oParam.inds = "req=ds_send aprv=ds_send_aprvupdt";
- oParam.outds = "ds_main_aprvlist_aprvinfo=aprv ds_main_aprvlist_rsltinfo=rslt";
- oParam.async = false;
- oParam.callback = "cf_TXPMC03911";
- tranf_submit(oParam);
- var rtnCnt = ds_main_aprvlist_rsltinfo.getColumn(0, "rtncnt");
-
- if (rtnCnt > 0)
- {
- sysf_messageBox("[ " + rtnCnt + " ] 건의 내역이 저장되었습니다.", "I999");
- }
- else
- {
- sysf_messageBox("변경 내역이 없습니다.", "E999");
- }
- }
- function cf_TXPMC03911(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- ds_main_aprvlist_aprvinfo.addColumn("fontFace", "string");
- }
- function fDelAprv()
- {
- if (utlf_transNullToEmpty(ds_main_aprvlist_aprvinfo.getColumn(grd_aprv.currentrow, "rqstdd")) == "")
- {
- sysf_messageBox("승인 정보가 없습니다.", "E999");
- return;
- }
- for (var i = 0; i < ds_main_aprvlist_aprvinfo.rowcount; i++)
- {
- if (ds_main_aprvlist_aprvinfo.getRowType(i) > 1)
- {
- sysf_messageBox("변경된 내역을 저장한 후 삭제해 주십시오.", "E999");
- return;
- }
- }
- if (sysf_messageBox("해당 내역을 삭제하시겠습니까?", "Q999") != 6) return;
-
- ds_main_aprvlist_aprvinfo.updatecontrol = false;
- ds_main_aprvlist_aprvinfo.setRowType(ds_main_aprvlist_aprvinfo.rowposition, "d");
- ds_main_aprvlist_aprvinfo.updatecontrol = true;
-
- var updategrid = grdf_getGridUpdateData(grd_aprv);
- grdf_setStatusColumn(updategrid, "status");
- ds_send_aprvupdt.copyData(updategrid, true);
- fSetSpclCd();
-
- var oParam = {};
- oParam.id = "TXPMC03911";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqSetPreAprvList";
- oParam.inds = "req=ds_send aprv=ds_send_aprvupdt";
- oParam.outds = "ds_main_aprvlist_aprvinfo=aprv ds_main_aprvlist_rsltinfo=rslt";
- oParam.async = false;
- oParam.callback = "cf_TXPMC03911";
- tranf_submit(oParam);
-
- var rtnCnt = ds_main_aprvlist_rsltinfo.getColumn(0, "rtncnt");
-
- if (rtnCnt < 1)
- {
- sysf_messageBox("삭제에 실패했습니다.", "C999");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|