123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA00500" position="absolute 0 0 1196 818" titletext="단체예약접수현황조회" oninit="SMAHA00500_oninit" onload="SMAHA00500_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="단체예약접수현황조회" class="tit_1" position="absolute 0 0 223 25"/>
- <Button id="btn_prntlist" taborder="1" text="명단출력" class="btn6" position="absolute 2 789 82 811" anchor="left bottom"/>
- <Grid id="grd_rsrvacptlst" taborder="2" binddataset="ds_main_cmpypreslist1_item" useinputpanel="false" position="absolute 0 94 1195 342" autoenter="select" cellsizingtype="col" autofittype="col" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </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="사업장코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="2" text="bind:cmpynm"/>
- <Cell col="3" displaytype="date" text="bind:condd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="4" displaytype="combo" text="bind:contype" combodataset="ds_init_baseinfo_contypelst_A0113" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" displaytype="number" text="bind:totpatcnt"/>
- <Cell col="6" displaytype="number" text="bind:rsrvcnt"/>
- <Cell col="7" displaytype="number" text="bind:failcnt"/>
- <Cell col="8" displaytype="number" text="bind:holdcnt"/>
- <Cell col="9" displaytype="number" text="bind:cnclcnt"/>
- <Cell col="10" displaytype="number" text="bind:acptpatcnt"/>
- <Cell col="11" displaytype="number" text="bind:acptcnt"/>
- <Cell col="12" displaytype="number" text="bind:rcptcnt"/>
- <Cell col="13" displaytype="number" text="bind:rsltcnt"/>
- <Cell col="14" displaytype="number" text="bind:judgcnt"/>
- <Cell col="15" text="bind:cmpycd"/>
- </Band>
- <Band id="summary">
- <Cell style="background:#808080ff;background2:#808080ff;color:white;color2:white;"/>
- <Cell col="1" style="background:#808080ff;background2:#808080ff;color:white;color2:white;"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="합계"/>
- <Cell col="3" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;"/>
- <Cell col="4" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;"/>
- <Cell col="5" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('totpatcnt')"/>
- <Cell col="6" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rsrvcnt')"/>
- <Cell col="7" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('failcnt')"/>
- <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('holdcnt')"/>
- <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('cnclcnt')"/>
- <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('acptpatcnt')"/>
- <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('acptcnt')"/>
- <Cell col="12" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rcptcnt')"/>
- <Cell col="13" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rsltcnt')"/>
- <Cell col="14" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('judgcnt')"/>
- <Cell col="15"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_ordlst" taborder="3" binddataset="ds_main_cmpypreslist2_item" useinputpanel="false" position="absolute 0 372 1195 782" autoenter="select" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="110" band="left"/>
- <Column size="80" band="left"/>
- <Column size="120" band="left"/>
- <Column size="89" band="left"/>
- <Column size="80" band="left"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="250"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" 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="관계"/>
- <Cell col="24" text="비고사항"/>
- <Cell col="25" text="예약시간"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid" enable="false"/>
- <Cell col="2" text="bind:hngnm" enable="false"/>
- <Cell col="3" text="bind:rrgstno" enable="false"/>
- <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="6" displaytype="number" text="bind:baseexamamt"/>
- <Cell col="7" displaytype="number" text="bind:addexamamt"/>
- <Cell col="8" displaytype="number" text="bind:choiamt"/>
- <Cell col="9" displaytype="number" text="bind:cmpyamt"/>
- <Cell col="10" displaytype="number" text="bind:ownbamt"/>
- <Cell col="11" displaytype="number" text="bind:payinsubamt"/>
- <Cell col="12" displaytype="number" text="bind:clamamt"/>
- <Cell col="13" displaytype="checkbox" style="controlbackground:gainsboro;controlborder:1 solid #808080ff ;" text="bind:uncoflag" expr="expr:uncoflag == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="14" displaytype="combo" style="align:center middle;" text="bind:choiflag" combodataset="ds_init_baseinfo_choiflaglst_A0116" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="15" style="align:left middle;" text="bind:testcd"/>
- <Cell col="16" text="bind:zipcd"/>
- <Cell col="17" text="bind:detladdr"/>
- <Cell col="18" text="bind:email"/>
- <Cell col="19" text="bind:telno"/>
- <Cell col="20" text="bind:mpphon"/>
- <Cell col="21" text="bind:deptcd"/>
- <Cell col="22" text="bind:clntempid"/>
- <Cell col="23" text="bind:relacd"/>
- <Cell col="24" displaytype="text" edittype="text" text="bind:remfact"/>
- <Cell col="25" text="bind:rsrvtm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Div id="group5" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Static id="caption11" text="기준일자:" class="search_name" position="absolute 235 12 316 29"/>
- <Static id="caption12" text="사업체 :" class="search_name" position="absolute 755 12 833 29"/>
- <Shape id="line7" linetype="vertical" position="absolute 1107 11 1113 31" anchor="top right"/>
- <Radio id="rdo_srchcond" taborder="1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 340 11 505 31">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">예약</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C1</Col>
- <Col id="datacolumn">예약등록</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">접수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar id="ipt_srchfromdd" taborder="2" class="input_essential" position="absolute 513 11 613 30" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_srchtodd" taborder="3" class="input_essential" position="absolute 630 11 730 30" autoselect="true" dateformat="yyyy-MM-dd"/>
- <Edit id="ipt_srchcmpycd" taborder="4" class="input_search" position="absolute 830 11 930 30" onkeyup="group5_ipt_srchcmpycd_onkeyup" autoselect="true" autoskip="true"/>
- <Button id="btn_selcmpy" taborder="5" class="icon_search" position="absolute 935 11 951 27" onclick="group5_btn_selcmpy_onclick"/>
- <Edit id="opt_srchcmpynm" taborder="6" readonly="true" position="absolute 960 11 1100 30" class="output"/>
- <Button id="btn_search" taborder="7" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="group5_btn_search_onclick"/>
- <Static id="caption19" text="~" class="search_n_b" position="absolute 616 11 628 28"/>
- <Combo id="cmb_srchhealexamdetlflag" taborder="8" innerdataset="@ds_init_baseinfo_hedetlflaglst_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 92 12 217 31"/>
- <Static id="caption3" text="건진구분 :" class="search_name" position="absolute 5 12 91 29"/>
- <CheckBox id="chk_srchdateyn" taborder="9" position="absolute 310 10 330 30" truevalue="Y" onclick="group5_chk_srchdateyn_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 367 1195 373" anchor="left top right"/>
- <Static id="caption1" text="단체현황" class="tit_2" position="absolute 0 73 151 95"/>
- <Static id="caption2" text="상세현황" class="tit_2" position="absolute 0 351 151 373"/>
- <Button id="btn_excel1" taborder="5" text="엑셀저장" class="btn7" position="absolute 1114 67 1195 89" anchor="top right" onclick="btn_excel1_onclick"/>
- <Button id="btn_excel2" taborder="6" text="엑셀저장" class="btn7" position="absolute 1114 345 1195 367" anchor="top right" onclick="btn_excel2_onclick"/>
- <Button id="btn_prntseq" taborder="7" text="순서표" class="btn6" position="absolute 84 789 156 811" anchor="left bottom"/>
- <Button id="btn_prntlabel" taborder="8" text="라벨출력" class="btn6" position="absolute 158 789 238 811" anchor="left bottom"/>
- <Button id="btn_prntname" taborder="9" text="이름표출력" class="btn6" position="absolute 240 789 332 811" anchor="left bottom"/>
- </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="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchdateyn" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchcmpycd" type="STRING" size="256"/>
- <Column id="srchcmpynm" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchcondd" type="STRING" size="256"/>
- <Column id="srchcontype" type="STRING" size="256"/>
- <Column id="srchpkgcd" type="STRING" size="256"/>
- <Column id="srchstatflag" type="STRING" size="256"/>
- <Column id="srchselect" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchhealexamflag"/>
- <Col id="srchdateyn">Y</Col>
- <Col id="srchcond"/>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchcmpycd"/>
- <Col id="srchcmpynm"/>
- <Col id="srchinstcd"/>
- <Col id="srchcondd"/>
- <Col id="srchcontype"/>
- <Col id="srchpkgcd"/>
- <Col id="srchstatflag"/>
- <Col id="srchselect"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cmpypreslist1_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cmpypreslist1_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="condd" type="STRING" size="256" sumtext="계약일자"/>
- <Column id="contype" type="STRING" size="256" sumtext="계약구분"/>
- <Column id="cmpynm" type="STRING" size="256" sumtext="사업장명"/>
- <Column id="totpatcnt" type="INT" size="256" sumtext="총인원"/>
- <Column id="rsrvcnt" type="INT" size="256" sumtext="예약"/>
- <Column id="failcnt" type="INT" size="256" sumtext="예약"/>
- <Column id="holdcnt" type="INT" size="256" sumtext="보류"/>
- <Column id="cnclcnt" type="INT" size="256" sumtext="취소"/>
- <Column id="acptpatcnt" type="INT" size="256" sumtext="접수인원"/>
- <Column id="acptcnt" type="INT" size="256" sumtext="접수"/>
- <Column id="rcptcnt" type="INT" size="256" sumtext="수납"/>
- <Column id="rsltcnt" type="INT" size="256" sumtext="판정대기"/>
- <Column id="judgcnt" type="INT" size="256" sumtext="판정완료"/>
- <Column id="cmpycd" type="STRING" size="256" sumtext="사업체코드"/>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cmpypreslist2_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cmpypreslist2_item_oncolumnchanged">
- <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="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="detlflag" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphon" type="STRING" size="256" sumtext="핸드폰번호"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="clntempid" type="STRING" size="256" sumtext="사번"/>
- <Column id="relacd" type="STRING" size="256" sumtext="관계코드"/>
- <Column id="choiflag" type="STRING" size="256" sumtext="선택검사"/>
- <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
- <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
- <Column id="orddd" type="STRING" size="256" sumtext="건진일자"/>
- <Column id="statflag" type="STRING" size="256" sumtext="상태"/>
- <Column id="baseexamamt" type="STRING" size="256" sumtext="건진금액"/>
- <Column id="addexamamt" type="STRING" size="256" sumtext="추가금액"/>
- <Column id="choiamt" type="STRING" size="256" sumtext="선택금액"/>
- <Column id="cmpyamt" type="STRING" size="256" sumtext="선택금액"/>
- <Column id="ownbamt" type="STRING" size="256" sumtext="선택금액"/>
- <Column id="payinsubamt" type="STRING" size="256" sumtext="조합금액"/>
- <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
- <Column id="uncoflag" type="STRING" size="256" sumtext="청구여부"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고사항"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_contypelst_A0113" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_choiflaglst_A0116" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_hedetlflaglst_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_hedetlflaglst_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchselect" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item1" compid="group5.chk_srchdateyn" propid="value" datasetid="ds_send" columnid="srchdateyn"/>
- <BindItem id="item2" compid="group5.rdo_srchcond" propid="value" datasetid="ds_send" columnid="srchcond"/>
- <BindItem id="item3" compid="group5.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
- <BindItem id="item4" compid="group5.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
- <BindItem id="item5" compid="group5.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
- <BindItem id="item6" compid="group5.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
- </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 "ast_healexamxp::AHA001.xjs";
- var vHealExamFlag = "";
- var vHealExamDetlFlag = "";
- function SMAHA00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHA00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_ordlst);
- grdf_initGrid(grd_rsrvacptlst);
-
- fGetBasicCdList();
- }
- function fGetBasicCdList()
- {
- vHealExamFlag = fGetHealExamFlag();
- vHealExamDetlFlag = fGetHealExamDetlFlag();
-
- if( vHealExamFlag == "C" )
- {
- var arrParam = [ {dsNm: "ds_init_baseinfo_hedetlflaglst_A0069", cdGrpId: "A0069"}
- ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
- ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
- ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}
- ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
- ,{dsNm: "ds_init_baseinfo_contypelst_A0113", cdGrpId: "A0113"}];
- appf_getCodeList(arrParam);
-
- group5.cmb_srchhealexamdetlflag.value = vHealExamDetlFlag;
- }
- else
- {
- var arrParam = [ {dsNm: "ds_init_baseinfo_hedetlflaglst_A0070", cdGrpId: "A0070"}
- ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
- ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
- ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}
- ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
- ,{dsNm: "ds_init_baseinfo_contypelst_A0113", cdGrpId: "A0113"}];
- appf_getCodeList(arrParam);
- }
-
- //submit("TRZBC00101");
- if( vHealExamFlag=="C" )
- {
- group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0069";
- group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
- group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
- }
- else
- {
- group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0070";
- group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
- group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
- }
- var curDt = utlf_getCurrentDate();
-
- group5.ipt_srchfromdd.value = curDt;
- group5.ipt_srchtodd.value = curDt;
- group5.rdo_srchcond.value = "C";
-
- ds_main_cmpypreslist1_item.clearData();
- ds_main_cmpypreslist2_item.clearData();
- }
- function group5_chk_srchdateyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- }
- else
- {
- ds_send.setColumn(0, "srchdateyn", "");
- }
- }
- function group5_ipt_srchcmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group5.btn_selcmpy.click();
- }
- }
- function group5_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetComnCd("SMAHA00400", "08" , "nm", group5.ipt_srchcmpycd.value, group5.ipt_srchcmpycd, group5.opt_srchcmpynm);
- }
- function group5_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetRsrvAcptList();
- }
- function fGetRsrvAcptList()
- {
- ds_main_cmpypreslist1_item.clearData();
- ds_main_cmpypreslist2_item.clearData();
-
- if( utlf_isNull(vHealExamFlag))
- {
- sysf_messageBox("조회조건이 불충분합니다!", "E999");
- return ;
- }
- var cmpycd = ds_send.getColumn(0, "srchcmpycd");
-
- if(utlf_isNull(cmpycd))
- {
- sysf_messageBox("사업체코드를", "C001");
- return ;
- }
-
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
- ds_send.setColumn(0, "srchhealexamflag", vHealExamFlag);
- var oParam = {};
- oParam.id = "TRAHA00501";
- oParam.service = "healexamrsrvacptapp.HealExamPrest";
- oParam.method = "reqGetCmntRsrvList1";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cmpypreslist1_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA00501";
- tranf_submit(oParam);
- }
- function ds_main_cmpypreslist1_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- fGetCmpyDetlList();
- }
- function fGetCmpyDetlList()
- {
- if(parseInt(ds_main_cmpypreslist1_item.getCaseCount("sel == 'Y'")) == 0)
- {
- ds_main_cmpypreslist2_item.clearData();
- return false;
- }
- for(var i = 0; i < ds_main_cmpypreslist1_item.rowcount; i++)
- {
- var chk = ds_main_cmpypreslist1_item.getColumn(i, "sel");
- if(chk == "Y")
- {
- ds_send.setColumn(0, "srchcondd" , ds_main_cmpypreslist1_item.getColumn(i, "condd"));
- ds_send.setColumn(0, "srchcontype" , ds_main_cmpypreslist1_item.getColumn(i, "contype"));
- ds_main_cmpypreslist1_item.updatecontrol = false;
- ds_main_cmpypreslist1_item.setRowType(i, "i");
- ds_main_cmpypreslist1_item.updatecontrol = true;
- }
- else
- {
- ds_main_cmpypreslist1_item.updatecontrol = false;
- ds_main_cmpypreslist1_item.setRowType(i, "");
- ds_main_cmpypreslist1_item.updatecontrol = true;
- }
- }
- ds_send_srchselect.copyData(grdf_getGridUpdateData(grd_rsrvacptlst));
- ds_send_srchselect.updateColID("cmpycd", "srchcmpycd");
- ds_send_srchselect.updateColID("condd", "srchcondd");
- ds_send_srchselect.updateColID("contype", "srchcontype");
-
- var oParam = {};
- oParam.id = "TRAHA00502";
- oParam.service = "healexamrsrvacptapp.HealExamPrest";
- oParam.method = "reqGetCmntRsrvList2";
- oParam.inds = "req=ds_send cmpyinfo=ds_send_srchselect";
- oParam.outds = "ds_main_cmpypreslist2_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA00502";
- tranf_submit(oParam);
- }
- function cf_TRAHA00502(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- ds_main_cmpypreslist1_item.applyChange();
- }
- }
- function btn_excel1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_rsrvacptlst, "excel", "SheetName", "true", "", "");
- }
- function btn_excel2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_ordlst, "excel", "SheetName", "true", "", "");
- }
- function ds_main_cmpypreslist2_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "uncoflag")
- {
- obj.setColumn(e.row, "uncoflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|