123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMARH00600" position="absolute 0 0 1202 748" titletext="병의원현황조회" oninit="SMARH00600_oninit" onload="SMARH00600_onload">
- <Layouts>
- <Layout>
- <Static id="caption2" text="병의원현황조회" class="tit_1" position="absolute 0 0 194 24"/>
- <Div id="group1" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 24 1195 104">
- <Layouts>
- <Layout>
- <cp_checkboxList id="chk_hospgrade" taborder="24" scrollbars="none" position="absolute 570 4 902 58" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 294 12 306 29" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="1" class="input_search" position="absolute 187 9 290 28" autoselect="true" autoskip="true" anchor="default"/>
- <Calendar id="ipt_todd" taborder="2" class="input_search" position="absolute 310 10 413 29" anchor="default" autoselect="true"/>
- <Shape id="line8" linetype="vertical" class="line_4" position="absolute 1116 5 1122 53" anchor="default"/>
- <Static id="caption9" text="조회일자 :" class="search_name" position="absolute 12 10 84 27" anchor="default"/>
- <Static id="caption13" text="병원구분 :" class="search_name" position="absolute 420 10 499 27" anchor="default"/>
- <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 1126 11 1182 33" onclick="group1_btn_search_onclick" anchor="default"/>
- <Static id="caption35" text="지역명 :" class="search_name" position="absolute 865 9 934 26" anchor="default"/>
- <Static id="caption10" text="주요특성분야 :" class="search_name" position="absolute 12 58 142 75" anchor="default"/>
- <Static id="caption1" text="병의원명 :" class="search_name" position="absolute 865 35 952 52" anchor="default"/>
- <Edit id="ipt_coophospnm" taborder="21" position="absolute 952 34 1107 53" onkeyup="group1_ipt_coophospnm_onkeyup" anchor="default" autoselect="true"/>
- <CheckBox id="chk_hosp" taborder="22" position="absolute 496 6 566 26" text="병원전체" truevalue="H" onclick="group1_chk_hosp_onclick" anchor="default"/>
- <CheckBox id="chk_clinic" taborder="23" position="absolute 496 29 566 49" text="의원전체" truevalue="C" onclick="group1_chk_clinic_onclick" anchor="default"/>
- <Combo id="cmb_dayflag" taborder="25" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 86 9 186 28" anchor="default" onitemchanged="group1_cmb_dayflag_onitemchanged" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">협력체결일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">폐업일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <CheckBox id="chk_mjfieldall" taborder="26" text="전체" value="N" truevalue="Y" falsevalue="N" position="absolute 117 55 173 75" anchor="default" onclick="group1_chk_mjfieldall_onclick"/>
- <CheckBox id="chk_mjfield15" taborder="27" text="간호통합" value="N" truevalue="Y" falsevalue="N" onclick="grp_mjfield_chk_mjfield01_onclick" position="absolute 167 55 239 75" anchor="default"/>
- <CheckBox id="chk_mjfield17" taborder="28" text="공동간병" value="N" truevalue="Y" falsevalue="N" onclick="grp_mjfield_chk_mjfield01_onclick" position="absolute 245 55 317 75" anchor="default"/>
- <CheckBox id="chk_mjfield04" taborder="29" text="인공호흡기" value="N" truevalue="Y" falsevalue="N" position="absolute 324 55 408 75" anchor="default"/>
- <CheckBox id="chk_mjfield13" taborder="30" text="항생제" value="N" truevalue="Y" falsevalue="N" position="absolute 410 55 472 75" anchor="default"/>
- <CheckBox id="chk_mjfield16" taborder="31" text="입원실" value="N" truevalue="Y" falsevalue="N" position="absolute 473 55 531 75" anchor="default"/>
- <CheckBox id="chk_mjfield07" taborder="32" text="감염" value="N" truevalue="Y" falsevalue="N" position="absolute 538 55 588 75" anchor="default"/>
- <CheckBox id="chk_mjfield08" taborder="33" text="투석" value="N" truevalue="Y" falsevalue="N" position="absolute 590 55 640 75" anchor="default"/>
- <CheckBox id="chk_mjfield11" taborder="34" text="호스피스 말기암관리" value="N" truevalue="Y" falsevalue="N" position="absolute 693 55 825 75" anchor="default"/>
- <CheckBox id="chk_mjfield09" taborder="35" text="재활" value="N" truevalue="Y" falsevalue="N" position="absolute 641 55 692 75" anchor="default"/>
- <Combo id="cmb_condareacd" taborder="36" innerdataset="ds_init_areacd" codecolumn="sidocd" datacolumn="sidonm" onitemchanged="group1_cmb_condareacd_onitemchanged" class="combo_search" position="absolute 933 8 1015 27"/>
- <Combo id="cmb_areacddelt" taborder="37" innerdataset="ds_cmb_areadetl" codecolumn="sidocddetl" datacolumn="sidonmdetl" class="combo_search" enable="false" position="absolute 1017 8 1107 27"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 136 1195 142" anchor="left top right"/>
- <Button id="btn_excel" taborder="2" text="엑셀" class="btn7" position="absolute 1137 117 1195 136" onclick="btn_excel_onclick"/>
- <Static id="caption8" text="병의원현황 리스트" class="tit_2" position="absolute 0 120 230 142"/>
- <Grid id="grd_list" taborder="3" binddataset="ds_main_list_hosp_list" autoenter="select" useinputpanel="false" cellsizingtype="both" position="absolute 0 141 1195 715" anchor="all" oncelldblclick="grd_list_oncelldblclick" extendsizetype="row" autosizingtype="row" onvscrolllastover="grd_list_onvscrolllastover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="0" band="left"/>
- <Column size="60" band="left"/>
- <Column size="140" band="left"/>
- <Column size="59"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="28"/>
- <Column size="28"/>
- <Column size="150"/>
- <Column size="130"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="65"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="28" 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" colspan="2" text="지역" taborder="undefined"/>
- <Cell col="7" colspan="2" text="우편번호" taborder="undefined"/>
- <Cell col="9" colspan="2" text="주소" taborder="undefined"/>
- <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" text="항생제"/>
- <Cell col="28" text="입원실"/>
- <Cell col="29" text="감염"/>
- <Cell col="30" text="투석"/>
- <Cell col="31" text="재활"/>
- <Cell col="32" text="호스피스 말기암관리"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:coophospcd"/>
- <Cell col="2" text="bind:corpno"/>
- <Cell col="3" style="align:left top;padding:2 2 2 2;" text="bind:coophospnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:dirofhospnm" wordwrap="word"/>
- <Cell col="5" displaytype="combo" style="align:center middle;padding:0 0 0 3;" text="bind:sidocd" combodataset="ds_init_areacd" combocodecol="sidocd" combodatacol="sidonm" enable="false"/>
- <Cell col="6" displaytype="combo" style="align:center middle;" text="bind:sidocddetl" combodataset="ds_init_areacddelt" combocodecol="sidocddetl" combodatacol="sidonmdetl"/>
- <Cell col="7" text="bind:zipcd1"/>
- <Cell col="8" text="bind:zipcd2"/>
- <Cell col="9" style="align:left middle;padding:3 3 3 3;" text="bind:addr" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="10" style="align:left middle;padding:0 0 0 3;" text="bind:detladdr"/>
- <Cell col="11" style="align:left middle;padding:0 0 0 3;" text="bind:telno"/>
- <Cell col="12" style="align:left middle;padding:0 0 0 3;" text="bind:faxno"/>
- <Cell col="13" text="bind:clsmatyn"/>
- <Cell col="14" displaytype="date" text="bind:rgstdd" calendardisplaynulltype="nulltext"/>
- <Cell col="15" displaytype="date" text="bind:coopconcltdd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" displaytype="date" text="bind:cooptodd" calendardisplaynulltype="nulltext"/>
- <Cell col="17" displaytype="date" text="bind:closedd" calendardisplaynulltype="nulltext"/>
- <Cell col="18" style="align:left middle;padding:0 0 0 3;" text="bind:reprorddeptnm"/>
- <Cell col="19" text="bind:perchgrnm"/>
- <Cell col="20" text="bind:perchgrjobpos"/>
- <Cell col="21" text="bind:perchgrtel"/>
- <Cell col="22" text="bind:perchgrmpphone"/>
- <Cell col="23" text="bind:hospgradenm"/>
- <Cell col="24" style="align:center middle;" text="bind:mjfield15"/>
- <Cell col="25" style="align:center middle;" text="bind:mjfield17"/>
- <Cell col="26" style="align:center middle;" text="bind:mjfield04"/>
- <Cell col="27" style="align:center middle;" text="bind:mjfield13"/>
- <Cell col="28" style="align:center middle;" text="bind:mjfield16"/>
- <Cell col="29" style="align:center middle;" text="bind:mjfield07"/>
- <Cell col="30" style="align:center middle;" text="bind:mjfield08"/>
- <Cell col="31" style="align:center middle;" text="bind:mjfield09"/>
- <Cell col="32" style="align:center middle;" text="bind:mjfield11"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button10" taborder="4" text="초기화" class="btn4" position="absolute 1127 721 1195 743" anchor="right bottom" onclick="button10_onclick"/>
- </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="f_date" type="STRING" size="256"/>
- <Column id="t_date" type="STRING" size="256"/>
- <Column id="hospgrade" type="STRING" size="256"/>
- <Column id="coophospnm" type="STRING" size="256"/>
- <Column id="offset" type="INT" size="256"/>
- <Column id="pagesize" type="INT" size="256"/>
- <Column id="sidocd" type="STRING" size="256"/>
- <Column id="sidocddetl" type="STRING" size="256"/>
- <Column id="mjfield15" type="STRING" size="256"/>
- <Column id="mjfield17" type="STRING" size="256"/>
- <Column id="mjfield04" type="STRING" size="256"/>
- <Column id="mjfield13" type="STRING" size="256"/>
- <Column id="mjfield16" type="STRING" size="256"/>
- <Column id="mjfield07" type="STRING" size="256"/>
- <Column id="mjfield08" type="STRING" size="256"/>
- <Column id="mjfield09" type="STRING" size="256"/>
- <Column id="mjfield11" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="f_date"/>
- <Col id="t_date"/>
- <Col id="hospgrade"/>
- <Col id="coophospnm"/>
- <Col id="offset">0</Col>
- <Col id="pagesize">5000</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_hosp_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospcd" type="STRING" size="256" sumtext="병의원코드"/>
- <Column id="coophospnm" type="STRING" size="256" sumtext="병의원명"/>
- <Column id="dirofhospnm" type="STRING" size="256" sumtext="병원장명"/>
- <Column id="areacd" type="STRING" size="256" sumtext="지역코드"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소1"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="주소2"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="faxno" type="STRING" size="256" sumtext="팩스번호"/>
- <Column id="clsmatyn" type="STRING" size="256" sumtext="동문여부"/>
- <Column id="reprorddeptnm" type="STRING" size="256" sumtext="대표과"/>
- <Column id="coopconcltdd" type="STRING" size="256" sumtext="협력체결일"/>
- <Column id="perchgrnm" type="STRING" size="256" sumtext="실무자명"/>
- <Column id="perchgrjobpos" type="STRING" size="256" sumtext="실무자직위"/>
- <Column id="perchgrtel" type="STRING" size="256" sumtext="실무자전화번호"/>
- <Column id="perchgrmpphone" type="STRING" size="256" sumtext="실무자핸드폰"/>
- <Column id="hospgrade" type="STRING" size="256" sumtext="병원구분"/>
- <Column id="hospgradenm" type="STRING" size="256" sumtext="병원구분명"/>
- <Column id="mjfield01" type="STRING" size="256" sumtext="주요특성분야(응급실운영)"/>
- <Column id="mjfield02" type="STRING" size="256" sumtext="주요특성분야(수술여부)"/>
- <Column id="mjfield03" type="STRING" size="256" sumtext="주요특성분야(중환자실)"/>
- <Column id="mjfield04" type="STRING" size="256" sumtext="주요특성분야(인공호흡기)"/>
- <Column id="mjfield05" type="STRING" size="256" sumtext="주요특성분야(재원:항암,RT환자)"/>
- <Column id="mjfield06" type="STRING" size="256" sumtext="주요특성분야(혈액,종양내과)"/>
- <Column id="mjfield07" type="STRING" size="256" sumtext="주요특성분야(감염관리)"/>
- <Column id="mjfield08" type="STRING" size="256" sumtext="주요특성분야(투석)"/>
- <Column id="mjfield09" type="STRING" size="256" sumtext="주요특성분야(재활)"/>
- <Column id="mjfield10" type="STRING" size="256" sumtext="주요특성분야(장기요양)"/>
- <Column id="mjfield11" type="STRING" size="256" sumtext="주요특성분야(호스피스 말기암관리)"/>
- <Column id="mjfield12" type="STRING" size="256" sumtext="주요특성분야(수혈)"/>
- <Column id="mjfield13" type="STRING" size="256" sumtext="주요특성분야(항생제)"/>
- <Column id="mjfield14" type="STRING" size="256" sumtext="주요특성분야(통증)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_hospgrade_A0429" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_list_hosp_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_areacd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_areacddelt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_areadetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="f_date"/>
- <BindItem id="item1" compid="group1.ipt_todd" propid="value" datasetid="ds_send" columnid="t_date"/>
- <BindItem id="item2" compid="group1.chk_hosp" propid="value" datasetid="ds_temp" columnid="chkhosp"/>
- <BindItem id="item3" compid="group1.chk_clinic" propid="value" datasetid="ds_temp" columnid="chkclinic"/>
- <BindItem id="item20" compid="group1.ipt_coophospnm" propid="value" datasetid="ds_send" columnid="coophospnm"/>
- <BindItem id="item21" compid="group1.cmb_dayflag" propid="value" datasetid="ds_send" columnid="flag"/>
- <BindItem id="item42" compid="group1.chk_mjfield15" propid="value" datasetid="ds_send" columnid="mjfield15"/>
- <BindItem id="item53" compid="group1.chk_mjfield17" propid="value" datasetid="ds_send" columnid="mjfield17"/>
- <BindItem id="item43" compid="group1.chk_mjfield04" propid="value" datasetid="ds_send" columnid="mjfield04"/>
- <BindItem id="item44" compid="group1.chk_mjfield13" propid="value" datasetid="ds_send" columnid="mjfield13"/>
- <BindItem id="item46" compid="group1.chk_mjfield16" propid="value" datasetid="ds_send" columnid="mjfield16"/>
- <BindItem id="item47" compid="group1.chk_mjfield07" propid="value" datasetid="ds_send" columnid="mjfield07"/>
- <BindItem id="item50" compid="group1.chk_mjfield08" propid="value" datasetid="ds_send" columnid="mjfield08"/>
- <BindItem id="item48" compid="group1.chk_mjfield11" propid="value" datasetid="ds_send" columnid="mjfield11"/>
- <BindItem id="item49" compid="group1.chk_mjfield09" propid="value" datasetid="ds_send" columnid="mjfield09"/>
- <BindItem id="item80" compid="group1.cmb_condareacd" propid="value" datasetid="ds_send" columnid="sidocd"/>
- <BindItem id="item51" compid="group1.cmb_areacddelt" propid="value" datasetid="ds_send" columnid="sidocddetl"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- var arErrorCode = new HashArray();
- var lgv_offset = 0;
- var lgv_pagesize = 1000;
- function SMARH00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMARH00600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_list);
-
- fInit();
- }
- // 초기값 셋팅
- function fInit()
- {
- group1.cmb_dayflag.index = 0;
-
- // 공통코드 목록 가져오기
- var arrParam = [{dsNm: "ds_init_hospgrade_A0429", cdGrpId: "A0429"}]
- appf_getCodeList(arrParam);
-
- //진료협력에서 관리하는 시/도 지역코드 조회
- var oParam = {};
- oParam.id = "TXARH00101";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqGetAreaSDList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_areacd=hosparea";
- oParam.async = false;
- tranf_submit(oParam);
-
- //진료협력에서 관리하는 전체 지역코드 조회
- var oParam = {};
- oParam.id = "TXARH00101";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqGetAreaList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_init_areacddelt=hosparea";
- oParam.async = false;
- tranf_submit(oParam);
-
- //병의원 정보 저장 시, 사용할 수 있도록 copy
- ds_cmb_areadetl.copyData(ds_init_areacddelt);
- frmf_addComboItem("group1.cmb_condareacd","- 전 체 -","-","above");
-
- group1.cmb_condareacd.index = 0;
-
- var sProp="col=4,row=2,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=25,overflow='visible'";
- group1.chk_hospgrade.setInitComp(sProp, ds_init_hospgrade_A0429,"cdid","cdnm","fn_cmpEvent");
-
- // 오늘 날짜로 세팅(시작일자는 그해 1월1일로 설정)
- var CurrentDate = utlf_getCurrentDate();
- ds_send.setColumn(0, "f_date", utlf_getYear() + "0101");
- ds_send.setColumn(0, "t_date", CurrentDate);
-
- var chkvalue = "C1|C2|C6";
- ds_send.setColumn(0, "hospgrade","C1|C2|C6");
- group1.chk_hospgrade.setData(chkvalue.split("|"), "",false);
- }
- function fn_cmpEvent()
- {
- var Data = group1.chk_hospgrade.getData();
- Data = String(Data).replace(",", "|");
- ds_send.setColumn(0, "hospgrade", Data);
- }
- function mjFieldEvent(sVisible, h)
- {
- group1.caption10.visible = sVisible;
- group1.chk_mjfieldall.visible = sVisible;
- group1.chk_mjfield15.visible = sVisible;
- group1.chk_mjfield17.visible = sVisible;
- group1.chk_mjfield04.visible = sVisible;
- group1.chk_mjfield13.visible = sVisible;
- group1.chk_mjfield16.visible = sVisible;
- group1.chk_mjfield07.visible = sVisible;
- group1.chk_mjfield08.visible = sVisible;
- group1.chk_mjfield09.visible = sVisible;
- group1.chk_mjfield11.visible = sVisible;
- //group1 높이 수정
- group1.position.height = h;
-
- if(sVisible)
- {
- grd_list.setFormatColProperty(17, "size", 0);
- }
- else
- {
- grd_list.setFormatColProperty(17, "size", 80);
- }
- }
- function group1_cmb_dayflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(obj.index == 0)
- {
- mjFieldEvent(true, 80);
- }
- else
- {
- mjFieldEvent(false, 60);
- }
- }
- function group1_chk_hosp_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var strChkHosp = "C1|C2|C4|C6";
-
- if(obj.value == "H")
- {
- group1.chk_hospgrade.setData(strChkHosp.split("|"), "",false);
- }
- else
- {
- group1.chk_hospgrade.setData("", strChkHosp.split("|"),false);
- }
- fn_cmpEvent();
- }
- function group1_chk_clinic_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var strChkClinic = "C3|C5|C7|C8";
-
- if(obj.value == "C")
- {
- group1.chk_hospgrade.setData(strChkClinic.split("|"), "",false);
- }
- else
- {
- group1.chk_hospgrade.setData("", strChkClinic.split("|"),false);
- }
- fn_cmpEvent();
- }
- function group1_cmb_condareacd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var areacd = obj.value;
-
- if(areacd != "-")
- {
- ds_init_areacddelt.filterstr = "sidocd == '"+areacd+"'";
- ds_cmb_areadetl.copyData(ds_init_areacddelt, true);
- ds_init_areacddelt.filterstr = "";
-
- group1.cmb_areacddelt.enable = true;
- frmf_addComboItem("group1.cmb_areacddelt", "- 전 체 -", "-", "above");
-
- group1.cmb_areacddelt.index = 0;
- group1.cmb_areacddelt.value = "-";
- }
- else
- {
- ds_cmb_areadetl.clearData();
- group1.cmb_areacddelt.enable = false;
- }
- }
- function group1_ipt_coophospnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group1.btn_search.click();
- }
- }
- function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function fSearch()
- {
- ds_main_list_hosp_list.clearData();
- ds_send.setColumn(0, "offset", "0"); // grid의 header row는 제외
- ds_send.setColumn(0, "pagesize", lgv_pagesize);
-
- dsf_setDefaultVal(ds_send, "sidocd:-,sidocddetl:-");
-
- var oParam = {};
- oParam.id = "TRARH00601";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqGetCoopHospConCltList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_hosp_list=hosp_list";
- oParam.async = false;
- //oParam.callback = "cf_TRARH00601";
- tranf_submit(oParam);
-
- lgv_offset = 0;
- lgv_pagesize = 1000;
- }
- function grd_list_onvscrolllastover(obj:Grid, e:ScrollEventInfo)
- {
- lgv_offset += 1000;
-
- fSubmitOnScroll();
- }
- function fSubmitOnScroll()
- {
- // end of scroll
- ds_send.setColumn(0, "offset", lgv_offset);
- ds_send.setColumn(0, "pagesize", lgv_pagesize);
- dsf_setDefaultVal(ds_send, "sidocd:-,sidocddetl:-");
-
- var oParam = {};
- oParam.id = "TRARH00601";
- oParam.service = "healcarecoopapp.CoopHospMngt";
- oParam.method = "reqGetCoopHospConCltList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_list_hosp_list=hosp_list";
- oParam.async = false;
- //oParam.callback = "cf_TRARH00601";
- tranf_submit(oParam);
-
- if(ds_temp_list_hosp_list.rowcount > 0)
- {
- ds_main_list_hosp_list.copyData(ds_temp_list_hosp_list);
- }
-
- ds_temp_list_hosp_list.clearData();
- }
- function cf_TRARH00601(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- }
- function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGrdListClick();
- }
- function fGrdListClick()
- {
- if (ds_main_list_hosp_list.rowposition < 0) return;
-
- var lrow = ds_main_list_hosp_list.rowposition ;
- var coophospnm = ds_main_list_hosp_list.getColumn(lrow, "coophospnm");
- var corpno = ds_main_list_hosp_list.getColumn(lrow, "corpno");
- frmf_setParameter("SMARH00600_coophospnm", coophospnm);
- frmf_setParameter("SMARH00600_corpno", corpno);
- var hideOption = frmf_setParameter("hideoption", "ALL");
-
- var wndobj = frmf_findPopup("SMARH00100");
- if( utlf_isNull(wndobj))
- {
- frmf_open("SMARH00100", "SMARH00100", "", "", "", "", "", "", "", "", "", "", "M");
- }
- else
- {
- wndobj.grd_cooplist.setFocus();
- wndobj.fCUDBtnDisable();
- wndobj.fPersonalInfoHide();
- wndobj.fAutoListUp();
- }
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fExcel();
- }
- function fExcel()
- {
- var title = "";
- if (ds_main_list_hosp_list.rowcount < 0) return;
-
- if(group1.cmb_dayflag.value == "1")
- {
- title = "협력병의원 체결리스트";
- }
- else
- {
- title = "폐업병원리스트";
- }
-
- grdf_exportExcel(grd_list, title+"("+ds_send.getColumn(0, "f_date")+"~"+ds_send.getColumn(0, "t_date")+")", "Sheet1", "true", "", "");
- }
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- fAllClear();
- }
- function fAllClear()
- {
- ds_send.clearData();
- ds_send.addRow();
- // 오늘 날짜로 세팅(시작일자는 그해 1월1일로 설정)
- var CurrentDate = utlf_getCurrentDate();
- ds_send.setColumn(0, "f_date", utlf_getYear() + "0101");
- ds_send.setColumn(0, "t_date", CurrentDate);
-
- ds_main_list_hosp_list.clearData();
- var chkvalue = "C1|C2|C6";
- ds_send.setColumn(0, "hospgrade", chkvalue);
-
- group1.chk_hospgrade.setCheckAll(false);
- group1.chk_hospgrade.setData(String(chkvalue).split("|"), "", false);
-
- group1.cmb_dayflag.index = 0;
- group1.cmb_condareacd.index = 0;
- }
- function group1_chk_mjfieldall_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- group1.chk_mjfield04.value = "Y";
- group1.chk_mjfield07.value = "Y";
- group1.chk_mjfield08.value = "Y";
- group1.chk_mjfield09.value = "Y";
- group1.chk_mjfield11.value = "Y";
- group1.chk_mjfield13.value = "Y";
- group1.chk_mjfield15.value = "Y";
- group1.chk_mjfield16.value = "Y";
- group1.chk_mjfield17.value = "Y";
- }
- else
- {
- group1.chk_mjfield04.value = "N";
- group1.chk_mjfield07.value = "N";
- group1.chk_mjfield08.value = "N";
- group1.chk_mjfield09.value = "N";
- group1.chk_mjfield11.value = "N";
- group1.chk_mjfield13.value = "N";
- group1.chk_mjfield15.value = "N";
- group1.chk_mjfield16.value = "N";
- group1.chk_mjfield17.value = "N";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|