123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES00600" position="absolute 0 0 1196 765" titletext="당일검사현황(예약검사)" onload="SMAES00600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="당일검사현황(예약검사)" class="tit_1" position="absolute 0 0 200 25"/>
- <Div id="grp_sea" taborder="1" style="align: top;" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 15 12 101 29" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1110 10 1113 30" anchor="top right"/>
- <Button id="btn_sea" taborder="1" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 1126 9 1182 31" anchor="top right"/>
- <Combo id="cmb_srchdd" taborder="2" innerdataset="ds_init_com_srchdate_item" codecolumn="value" datacolumn="label" onitemchanged="grp_sea_cmb_srchdd_onitemchanged" position="absolute 107 11 180 30" columncount="-1" rowcount="-1" anchor="default"/>
- <Combo id="cmb_srchmm" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_sea_cmb_srchmm_onitemchanged" position="absolute 183 11 256 30" columncount="-1" rowcount="-1" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">1월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">2월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">3월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">04</Col>
- <Col id="datacolumn">4월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">05</Col>
- <Col id="datacolumn">5월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">06</Col>
- <Col id="datacolumn">6월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">07</Col>
- <Col id="datacolumn">7월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">08</Col>
- <Col id="datacolumn">8월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">09</Col>
- <Col id="datacolumn">9월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">10월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">11월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">12월</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="당일검사현황(예약검사)" class="tit_2" position="absolute 0 73 200 90"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Grid id="grd_list" taborder="2" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 94 1195 764" selecttype="multirow" autofittype="col" extendsizetype="row" autosizingtype="row" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="75"/>
- <Column size="110"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="검사실명" taborder="undefined"/>
- <Cell col="3" text="1"/>
- <Cell col="4" text="2"/>
- <Cell col="5" text="3"/>
- <Cell col="6" text="4"/>
- <Cell col="7" text="5"/>
- <Cell col="8" text="6"/>
- <Cell col="9" text="7"/>
- <Cell col="10" text="8"/>
- <Cell col="11" text="9"/>
- <Cell col="12" text="10"/>
- <Cell col="13" text="11"/>
- <Cell col="14" text="12"/>
- <Cell col="15" text="13"/>
- <Cell col="16" text="14"/>
- <Cell col="17" text="15"/>
- <Cell col="18" text="16"/>
- <Cell col="19" text="17"/>
- <Cell col="20" text="18"/>
- <Cell col="21" text="19"/>
- <Cell col="22" text="20"/>
- <Cell col="23" text="21"/>
- <Cell col="24" text="22"/>
- <Cell col="25" text="23"/>
- <Cell col="26" text="24"/>
- <Cell col="27" text="25"/>
- <Cell col="28" text="26"/>
- <Cell col="29" text="27"/>
- <Cell col="30" text="28"/>
- <Cell col="31" text="29"/>
- <Cell col="32" text="30"/>
- <Cell col="33" text="31"/>
- <Cell col="34" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="35" text="구분"/>
- <Cell col="36" text="검사실명"/>
- <Cell col="37" text="일"/>
- <Cell col="38" text="월"/>
- <Cell col="39" text="화"/>
- <Cell col="40" text="수"/>
- <Cell col="41" text="목"/>
- <Cell col="42" text="금"/>
- <Cell col="43" text="토"/>
- <Cell col="44" text="일"/>
- <Cell col="45" text="월"/>
- <Cell col="46" text="화"/>
- <Cell col="47" text="수"/>
- <Cell col="48" text="목"/>
- <Cell col="49" text="금"/>
- <Cell col="50" text="토"/>
- <Cell col="51" text="일"/>
- <Cell col="52" text="월"/>
- <Cell col="53" text="화"/>
- <Cell col="54" text="수"/>
- <Cell col="55" text="목"/>
- <Cell col="56" text="금"/>
- <Cell col="57" text="토"/>
- <Cell col="58" text="일"/>
- <Cell col="59" text="월"/>
- <Cell col="60" text="화"/>
- <Cell col="61" text="수"/>
- <Cell col="62" text="목"/>
- <Cell col="63" text="금"/>
- <Cell col="64" text="토"/>
- <Cell col="65" text="일"/>
- <Cell col="66" text="월"/>
- <Cell col="67" text="화"/>
- <Cell col="68" text="합계"/>
- <Cell row="1" col="3" text="일"/>
- <Cell row="1" col="4" text="월"/>
- <Cell row="1" col="5" text="화"/>
- <Cell row="1" col="6" text="수"/>
- <Cell row="1" col="7" text="목"/>
- <Cell row="1" col="8" text="금"/>
- <Cell row="1" col="9" text="토"/>
- <Cell row="1" col="10" text="일"/>
- <Cell row="1" col="11" text="월"/>
- <Cell row="1" col="12" text="화"/>
- <Cell row="1" col="13" text="수"/>
- <Cell row="1" col="14" text="목"/>
- <Cell row="1" col="15" text="금"/>
- <Cell row="1" col="16" text="토"/>
- <Cell row="1" col="17" text="일"/>
- <Cell row="1" col="18" text="월"/>
- <Cell row="1" col="19" text="화"/>
- <Cell row="1" col="20" text="수"/>
- <Cell row="1" col="21" text="목"/>
- <Cell row="1" col="22" text="금"/>
- <Cell row="1" col="23" text="토"/>
- <Cell row="1" col="24" text="일"/>
- <Cell row="1" col="25" text="월"/>
- <Cell row="1" col="26" text="화"/>
- <Cell row="1" col="27" text="수"/>
- <Cell row="1" col="28" text="목"/>
- <Cell row="1" col="29" text="금"/>
- <Cell row="1" col="30" text="토"/>
- <Cell row="1" col="31" text="일"/>
- <Cell row="1" col="32" text="월"/>
- <Cell row="1" col="33" text="화"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:testnm" wordwrap="char" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="2" displaytype="text" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:testroom" wordwrap="char" suppress="2" suppressalign="middle,over" autosizerow="limitmin"/>
- <Cell col="3" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day01"/>
- <Cell col="4" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day02"/>
- <Cell col="5" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day03"/>
- <Cell col="6" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day04"/>
- <Cell col="7" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day05"/>
- <Cell col="8" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day06"/>
- <Cell col="9" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day07"/>
- <Cell col="10" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day08"/>
- <Cell col="11" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day09"/>
- <Cell col="12" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day10"/>
- <Cell col="13" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day11"/>
- <Cell col="14" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day12"/>
- <Cell col="15" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day13"/>
- <Cell col="16" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day14"/>
- <Cell col="17" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day15"/>
- <Cell col="18" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day16"/>
- <Cell col="19" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day17"/>
- <Cell col="20" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day18"/>
- <Cell col="21" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day19"/>
- <Cell col="22" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day20"/>
- <Cell col="23" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day21"/>
- <Cell col="24" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day22"/>
- <Cell col="25" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day23"/>
- <Cell col="26" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day24"/>
- <Cell col="27" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day25"/>
- <Cell col="28" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day26"/>
- <Cell col="29" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day27"/>
- <Cell col="30" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day28"/>
- <Cell col="31" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day29"/>
- <Cell col="32" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day30"/>
- <Cell col="33" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_day31"/>
- <Cell col="34" displaytype="number" style="background:#ffffffff;background2:#ffffffff;color:#000000ff;color2:#000000ff;" text="bind:p_daysum"/>
- </Band>
- <Band id="summary" style="background:#ccffccff;cellfont:Dotum,9,bold;cellcolor:#0000ffff;">
- <Cell/>
- <Cell col="1" colspan="2" text="총계" taborder="undefined"/>
- <Cell col="3" displaytype="number" text="expr:getSum('p_day01')"/>
- <Cell col="4" displaytype="number" text="expr:getSum('p_day02')"/>
- <Cell col="5" displaytype="number" text="expr:getSum('p_day03')"/>
- <Cell col="6" displaytype="number" text="expr:getSum('p_day04')"/>
- <Cell col="7" displaytype="number" text="expr:getSum('p_day05')"/>
- <Cell col="8" displaytype="number" text="expr:getSum('p_day06')"/>
- <Cell col="9" displaytype="number" text="expr:getSum('p_day07')"/>
- <Cell col="10" displaytype="number" text="expr:getSum('p_day08')"/>
- <Cell col="11" displaytype="number" text="expr:getSum('p_day09')"/>
- <Cell col="12" displaytype="number" text="expr:getSum('p_day10')"/>
- <Cell col="13" displaytype="number" text="expr:getSum('p_day11')"/>
- <Cell col="14" displaytype="number" text="expr:getSum('p_day12')"/>
- <Cell col="15" displaytype="number" text="expr:getSum('p_day13')"/>
- <Cell col="16" displaytype="number" text="expr:getSum('p_day14')"/>
- <Cell col="17" displaytype="number" text="expr:getSum('p_day15')"/>
- <Cell col="18" displaytype="number" text="expr:getSum('p_day16')"/>
- <Cell col="19" displaytype="number" text="expr:getSum('p_day17')"/>
- <Cell col="20" displaytype="number" text="expr:getSum('p_day18')"/>
- <Cell col="21" displaytype="number" text="expr:getSum('p_day19')"/>
- <Cell col="22" displaytype="number" text="expr:getSum('p_day20')"/>
- <Cell col="23" displaytype="number" text="expr:getSum('p_day21')"/>
- <Cell col="24" displaytype="number" text="expr:getSum('p_day22')"/>
- <Cell col="25" displaytype="number" text="expr:getSum('p_day23')"/>
- <Cell col="26" displaytype="number" text="expr:getSum('p_day24')"/>
- <Cell col="27" displaytype="number" text="expr:getSum('p_day25')"/>
- <Cell col="28" displaytype="number" text="expr:getSum('p_day26')"/>
- <Cell col="29" displaytype="number" text="expr:getSum('p_day27')"/>
- <Cell col="30" displaytype="number" text="expr:getSum('p_day28')"/>
- <Cell col="31" displaytype="number" text="expr:getSum('p_day29')"/>
- <Cell col="32" displaytype="number" text="expr:getSum('p_day30')"/>
- <Cell col="33" displaytype="number" text="expr:getSum('p_day31')"/>
- <Cell col="34" displaytype="number" text="expr:getSum('p_daysum')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excsave" taborder="3" text="엑셀저장" onclick="btn_excsave_onclick" class="btn7" position="absolute 1119 67 1195 89" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="testnm" type="STRING" size="256"/>
- <Column id="testroom" type="STRING" size="256"/>
- <Column id="p_day01" type="STRING" size="256"/>
- <Column id="p_day02" type="STRING" size="256"/>
- <Column id="p_day03" type="STRING" size="256"/>
- <Column id="p_day04" type="STRING" size="256"/>
- <Column id="p_day05" type="STRING" size="256"/>
- <Column id="p_day06" type="STRING" size="256"/>
- <Column id="p_day07" type="STRING" size="256"/>
- <Column id="p_day08" type="STRING" size="256"/>
- <Column id="p_day09" type="STRING" size="256"/>
- <Column id="p_day10" type="STRING" size="256"/>
- <Column id="p_day11" type="STRING" size="256"/>
- <Column id="p_day12" type="STRING" size="256"/>
- <Column id="p_day13" type="STRING" size="256"/>
- <Column id="p_day14" type="STRING" size="256"/>
- <Column id="p_day15" type="STRING" size="256"/>
- <Column id="p_day16" type="STRING" size="256"/>
- <Column id="p_day17" type="STRING" size="256"/>
- <Column id="p_day18" type="STRING" size="256"/>
- <Column id="p_day19" type="STRING" size="256"/>
- <Column id="p_day20" type="STRING" size="256"/>
- <Column id="p_day21" type="STRING" size="256"/>
- <Column id="p_day22" type="STRING" size="256"/>
- <Column id="p_day23" type="STRING" size="256"/>
- <Column id="p_day24" type="STRING" size="256"/>
- <Column id="p_day25" type="STRING" size="256"/>
- <Column id="p_day26" type="STRING" size="256"/>
- <Column id="p_day27" type="STRING" size="256"/>
- <Column id="p_day28" type="STRING" size="256"/>
- <Column id="p_day29" type="STRING" size="256"/>
- <Column id="p_day30" type="STRING" size="256"/>
- <Column id="p_day31" type="STRING" size="256"/>
- <Column id="p_daysum" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="testnm"/>
- <Col id="testroom"/>
- <Col id="p_day01"/>
- <Col id="p_day02"/>
- <Col id="p_day03"/>
- <Col id="p_day04"/>
- <Col id="p_day05"/>
- <Col id="p_day06"/>
- <Col id="p_day07"/>
- <Col id="p_day08"/>
- <Col id="p_day09"/>
- <Col id="p_day10"/>
- <Col id="p_day11"/>
- <Col id="p_day12"/>
- <Col id="p_day13"/>
- <Col id="p_day14"/>
- <Col id="p_day15"/>
- <Col id="p_day16"/>
- <Col id="p_day17"/>
- <Col id="p_day18"/>
- <Col id="p_day19"/>
- <Col id="p_day20"/>
- <Col id="p_day21"/>
- <Col id="p_day22"/>
- <Col id="p_day23"/>
- <Col id="p_day24"/>
- <Col id="p_day25"/>
- <Col id="p_day26"/>
- <Col id="p_day27"/>
- <Col id="p_day28"/>
- <Col id="p_day29"/>
- <Col id="p_day30"/>
- <Col id="p_day31"/>
- <Col id="p_daysum"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="execfromdd" type="STRING" size="256"/>
- <Column id="execfromyy" type="STRING" size="256"/>
- <Column id="srchyy" type="STRING" size="256"/>
- <Column id="srchmm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instance1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instance1"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_com_srchdate_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.cmb_srchdd" propid="value" datasetid="ds_send" columnid="srchyy"/>
- <BindItem id="item1" compid="grp_sea.cmb_srchmm" propid="value" datasetid="ds_send" columnid="srchmm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 캡션 요일 설정
- ****************************************************************************************/
- function fSetDay() {
- var toyy = ds_send.getColumn(0, "srchyy");
- var tomm = ds_send.getColumn(0, "srchmm");
- var sToDate = toyy + tomm + "01";
- var m = sToDate.toDate().getMonth();
- setWeek(toyy, m);
- }
- function setWeek(toyy, m) {
- var str = "일,월,화,수,목,금,토";
- var endM = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
- var days = new Array("일","월","화","수","목","금","토");
- var week = str.split(",");
- var setCap = "";
- var cnt = timeCalculate(toyy, m);
- for(var i=1; i<=31; i++) {
- setCap = setCap+"^"+days[cnt];
- cnt++;
- if(cnt > 6) {
- cnt = 0;
- }
- }
- setCapArr = setCap.split("^");
- for(var i = 69 ; i <= 99 ; i++) {
- grd_list.setCellProperty("Head", i, "text", setCapArr[i-68]);
- }
- if(endM[m] > 30) {
- grdf_colHidden(grd_list, "p_day29,p_day30,p_day31", "N,N,N");
- }else if(endM[m] < 30) {
- grdf_colHidden(grd_list, "p_day29,p_day30,p_day31", "Y,Y,Y");
- }else {
- grdf_colHidden(grd_list, "p_day29,p_day30,p_day31", "N,N,Y");
- }
- }
- function timeCalculate(toyy, m) {
- var c = new Date(toyy,m,"1");
- var weeknm = c.getDay();
- var dayOfWeek = parseInt(weeknm)-2;
- return weeknm;
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 조회기간 년도 설정
- ****************************************************************************************/
- function mkDate(){
- var startyy = "";
- for(var i=8; 0 <= i; i--) {
- startyy = utlf_getCurrentDate().toDate().getAddDate(-i,"Y").getDateFormat().substr(0,4);
- frmf_addComboItem("grp_sea.cmb_srchdd",startyy +"년",startyy,"above");
- }
- grp_sea.cmb_srchdd.value = utlf_getCurrentDate().substr(0,4);
- grp_sea.cmb_srchmm.value = utlf_getCurrentDate().substr(4,2);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAES00600_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- ds_send_globalinstance.setColumn(0, "instance1", frmf_getParameter("AST_DEPTCD"));
- ds_main_list_item.clearData();
- ds_send.setColumn( 0, "suppdeptcd", ds_send_globalinstance.getColumn(0, "instance1"));
- mkDate();
- fSetDay();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
- var srchyy = ds_send.getColumn(0, "srchyy");
- var srchmm = ds_send.getColumn(0, "srchmm");
- ds_send.setColumn( 0, "execfromdd", srchyy + srchmm);
- ds_main_list_item.clearData();
- var oParam = {};
- oParam.id = "TRAES00601";
- oParam.service = "examcurestatsapp.RsrvSysts";
- oParam.method = "reqGetRsrvSystsDDtList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAES00601";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRAES00601") > -1) {
- ds_main_list_item.keystring = "S:testnm";
- }
- }
- function cf_TRAES00601(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 년월변경
- ****************************************************************************************/
- function grp_sea_cmb_srchdd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fSetDay();
- }
- function grp_sea_cmb_srchmm_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fSetDay();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
- if( ds_main_list_item.rowcount > 0 ){
- grdf_exportExcel(grd_list, "Excel", "Sheet1", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|