123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLP01000" position="absolute 0 0 1256 805" titletext="누적결과조회" onload="SMLLP01000_onload">
- <Layouts>
- <Layout>
- <Div id="div" position="absolute 0 26 1256 802" anchor="all" positiontype="position">
- <Layouts>
- <Layout>
- <Tab id="tab" position="absolute 0 118 1256 776" anchor="all" positiontype="position" onchanged="div_tab_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="결 과">
- <Layouts>
- <Layout width="1256" height="548">
- <Grid id="grd_result" position="absolute -4 0 1252 631" anchor="all" positiontype="position" onmousemove="div_tab_case1_grd_result_onmousemove">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="27" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" position="absolute 0 1 1190 1" anchor="default" linetype="horizontal" positiontype="position"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="그 래 프">
- <Layouts>
- <Layout>
- <Grid id="grd_grape" position="absolute 0 0 233 631" anchor="left top bottom" onclick="datagrid3_onclick" binddataset="ds_rsltRow" positiontype="position" oncellclick="div_tab_case2_grd_grape_oncellclick" onheadclick="div_tab_case2_grd_grape_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="25"/>
- <Column size="177"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="검사항목"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" style="align:left;" text="bind:tclsscrnnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" position="absolute 0 1 1190 1" anchor="default" linetype="horizontal" positiontype="position"/>
- <ActiveX id="object1" visible="false" position="absolute 240 1 1249 629" progid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" useautobitmapcache="1" anchor="all" taborder="1"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Edit id="ipt_tclscdlist" visible="false" position="absolute 241 116 341 136" anchor="default" positiontype="position"/>
- <Button id="btn_excel" class="btn7" position="absolute 386 116 439 136" anchor="top right" text="엑셀" onclick="div_btn_excel_onclick" positiontype="position"/>
- <Grid id="grd_caption" taborder="1" binddataset="ds_testMdlList" useinputpanel="false" selecttype="cell" oncellclick="div_grd_caption_oncellclick" position="absolute 447 0 1256 136" anchor="left top right" onclick="datagrid1_onclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="120"/>
- <Column size="25"/>
- <Column size="120"/>
- <Column size="25"/>
- <Column size="120"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="25"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="0" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell colspan="2" text="caption1"/>
- <Cell col="2" colspan="2" text="caption2"/>
- <Cell col="4" colspan="2" text="caption3"/>
- <Cell col="6" colspan="2" text="caption4"/>
- <Cell col="8" colspan="2" text="caption6"/>
- <Cell col="10" colspan="2" text="caption7"/>
- <Cell col="12" colspan="2" text="caption5"/>
- <Cell col="14" colspan="2" text="caption10"/>
- <Cell col="16" colspan="2" text="caption9"/>
- <Cell col="18" colspan="2" text="caption8"/>
- <Cell col="20" colspan="2" text="caption11"/>
- </Band>
- <Band id="body">
- <Cell style="background:EXPR(img00== 'Y' ? (testmdlcd00 == 1 ? '#FFFFFA' : (chk00 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img00== 'Y' ? (testmdlcd00 == 1 ? '#FFFFFA' : (chk00 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img00 == 'Y' ? (readonly00 == '0' && chk00 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd00 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="1" style="align:left middle;background:EXPR(img00 == 'Y' ? (testmdlcd00 == 1 ? '#FFFFFA' : (chk00 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img00 == 'Y' ? (testmdlcd00 == 1 ? '#FFFFFA' : (chk00 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm00"/>
- <Cell col="2" style="background:EXPR(img01 == 'Y' ? (testmdlcd01 == 1 ? '#FFFFFA' : (chk01 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img01 == 'Y' ? (testmdlcd01 == 1 ? '#FFFFFA' : (chk01 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img01 == 'Y' ? (readonly01 == '0' && chk01 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd01 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="3" style="align:left middle;background:EXPR(img01 == 'Y' ? (testmdlcd01 == 1 ? '#FFFFFA' : (chk01 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img01 == 'Y' ? (testmdlcd01 == 1 ? '#FFFFFA' : (chk01 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm01"/>
- <Cell col="4" style="background:EXPR(img02 == 'Y' ? (testmdlcd02 == 1 ? '#FFFFFA' : (chk02 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img02 == 'Y' ? (testmdlcd02 == 1 ? '#FFFFFA' : (chk02 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img02 == 'Y' ? (readonly02 == '0' && chk02 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd02 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="5" style="align:left middle;background:EXPR(img02 == 'Y' ? (testmdlcd02 == 1 ? '#FFFFFA' : (chk02 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img02 == 'Y' ? (testmdlcd02 == 1 ? '#FFFFFA' : (chk02 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm02" editimemode="none"/>
- <Cell col="6" style="background:EXPR(img03 == 'Y' ? (testmdlcd03 == 1 ? '#FFFFFA' : (chk03 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img03 == 'Y' ? (testmdlcd03 == 1 ? '#FFFFFA' : (chk03 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img03 == 'Y' ? (readonly03 == '0' && chk03 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd03 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="7" style="align:left middle;background:EXPR(img03 == 'Y' ? (testmdlcd03 == 1 ? '#FFFFFA' : (chk03 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img03 == 'Y' ? (testmdlcd03 == 1 ? '#FFFFFA' : (chk03 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm03"/>
- <Cell col="8" style="background:EXPR(img04 == 'Y' ? (testmdlcd04 == 1 ? '#FFFFFA' : (chk04 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img04 == 'Y' ? (testmdlcd04 == 1 ? '#FFFFFA' : (chk04 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img04 == 'Y' ? (readonly04 == '0' && chk04 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd04 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="9" style="align:left middle;background:EXPR(img04 == 'Y' ? (testmdlcd04 == 1 ? '#FFFFFA' : (chk04 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img04 == 'Y' ? (testmdlcd04 == 1 ? '#FFFFFA' : (chk04 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm04"/>
- <Cell col="10" style="background:EXPR(img05 == 'Y' ? (testmdlcd05 == 1 ? '#FFFFFA' : (chk05 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img05 == 'Y' ? (testmdlcd05 == 1 ? '#FFFFFA' : (chk05 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img05 == 'Y' ? (readonly05 == '0' && chk05 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd05 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="11" style="align:left middle;background:EXPR(img05 == 'Y' ? (testmdlcd05 == 1 ? '#FFFFFA' : (chk05 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img05 == 'Y' ? (testmdlcd05 == 1 ? '#FFFFFA' : (chk05 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm05"/>
- <Cell col="12" style="background:EXPR(img06 == 'Y' ? (testmdlcd06 == 1 ? '#FFFFFA' : (chk06 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img06 == 'Y' ? (testmdlcd06 == 1 ? '#FFFFFA' : (chk06 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img06 == 'Y' ? (readonly06 == '0' && chk06 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd06 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="13" style="align:left middle;background:EXPR(img06 == 'Y' ? (testmdlcd06 == 1 ? '#FFFFFA' : (chk06 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img06 == 'Y' ? (testmdlcd06 == 1 ? '#FFFFFA' : (chk06 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm06"/>
- <Cell col="14" style="background:EXPR(img07 == 'Y' ? (testmdlcd07 == 1 ? '#FFFFFA' : (chk07 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img07 == 'Y' ? (testmdlcd07 == 1 ? '#FFFFFA' : (chk07 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img07 == 'Y' ? (readonly07 == '0' && chk07 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd07 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="15" style="align:left middle;background:EXPR(img07 == 'Y' ? (testmdlcd07 == 1 ? '#FFFFFA' : (chk07 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img07 == 'Y' ? (testmdlcd07 == 1 ? '#FFFFFA' : (chk07 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm07"/>
- <Cell col="16" style="background:EXPR(img08 == 'Y' ? (testmdlcd08 == 1 ? '#FFFFFA' : (chk08 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img08 == 'Y' ? (testmdlcd08 == 1 ? '#FFFFFA' : (chk08 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img08 == 'Y' ? (readonly08 == '0' && chk08 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd08 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="17" style="align:left middle;background:EXPR(img08 == 'Y' ? (testmdlcd08 == 1 ? '#FFFFFA' : (chk08 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img08 == 'Y' ? (testmdlcd08 == 1 ? '#FFFFFA' : (chk08 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm08"/>
- <Cell col="18" style="background:EXPR(img09 == 'Y' ? (testmdlcd09 == 1 ? '#FFFFFA' : (chk09 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img09 == 'Y' ? (testmdlcd09 == 1 ? '#FFFFFA' : (chk09 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img09 == 'Y' ? (readonly09 == '0' && chk09 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd09 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="19" style="align:left middle;background:EXPR(img09 == 'Y' ? (testmdlcd09 == 1 ? '#FFFFFA' : (chk09 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img09 == 'Y' ? (testmdlcd09 == 1 ? '#FFFFFA' : (chk09 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm09"/>
- <Cell col="20" style="background:EXPR(img10 == 'Y' ? (testmdlcd10 == 1 ? '#FFFFFA' : (chk10 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img10 == 'Y' ? (testmdlcd10 == 1 ? '#FFFFFA' : (chk10 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');backgroundimage:EXPR(img10 == 'Y' ? (readonly10 == '0' && chk10 == '1' ? 'IMG::lis/chkBOOLG1.png' : (testmdlcd10 == 1 ? 'IMG::lis/chkBOOLG-.png' : 'IMG::lis/chkBOOLG0.png')) : '');"/>
- <Cell col="21" style="align:left middle;background:EXPR(img10 == 'Y' ? (testmdlcd10 == 1 ? '#FFFFFA' : (chk10 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');background2:EXPR(img10 == 'Y' ? (testmdlcd10 == 1 ? '#FFFFFA' : (chk10 == '1' ? '#ffe79d' : '#EEFFFF' )) : '#c0c0c0');" text="bind:nm10"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="div_search" taborder="2" style="align:center top;" position="absolute 0 0 438 110" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption2" text="등록번호" class="search_name" position="absolute 8 10 76 30"/>
- <Calendar id="cal_ddS" taborder="3" dateformat="yyyy-MM-dd" class="input_default" position="absolute 82 35 182 55"/>
- <Combo id="cmb_tgrp" taborder="4" innerdataset="@ds_init_lb0103" codecolumn="cd" datacolumn="nm" class="combo_default" position="absolute 82 60 267 80"/>
- <Static id="caption3" text="검사그룹" class="search_name" position="absolute 8 60 76 80"/>
- <Static id="caption5" text="접수일자" onclick="div_div_search_caption5_onclick" class="search_name" position="absolute 8 35 76 55"/>
- <Calendar id="cal_ddE" taborder="5" dateformat="yyyy-MM-dd" class="input_default" position="absolute 198 35 298 55"/>
- <Static id="caption7" text="~" position="absolute 185 38 200 55"/>
- <Button id="btn_help" taborder="7" text="조회" onclick="div_div_search_btn_help_onclick" class="btn1" position="absolute 301 10 357 30"/>
- <Edit id="ipt_pid" taborder="8" maxlength="9" onkeydown="div_div_search_ipt_pid_onkeydown" class="input_button" position="absolute 82 10 192 30"/>
- <Edit id="ipt_patnm" taborder="9" readonly="true" position="absolute 195 10 290 30" style="align:center middle;"/>
- <Button id="btn_reset" taborder="10" text="초기화" onclick="div_div_search_btn_reset_onclick" class="btn1" position="absolute 359 10 427 30"/>
- <Button id="img1" taborder="11" onclick="group1_btn_tclsnmlist_onclick" class="icon_search" position="absolute 265 59 286 79"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_print" taborder="1" text="출력" class="btn6" visible="false" position="absolute 1200 0 1256 20" anchor="top right"/>
- <CheckBox id="chk_all" taborder="2" text="전체선택" truevalue="true" position="absolute 448 4 518 24" anchor="left top right" onchanged="chk_all_onchanged" falsevalue="false"/>
- <Static id="caption6" text="누적결과조회" class="tit_1" position="absolute 0 0 155 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_sendtclsnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_rsltRow" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
- <Dataset id="ds_rsltHeader" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lb0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_testMdlList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="maxcol" type="STRING"/>
- <Column id="nm00" type="STRING"/>
- <Column id="nm01" type="STRING"/>
- <Column id="nm02" type="STRING"/>
- <Column id="nm03" type="STRING"/>
- <Column id="nm04" type="STRING"/>
- <Column id="nm05" type="STRING"/>
- <Column id="nm06" type="STRING"/>
- <Column id="nm07" type="STRING"/>
- <Column id="nm08" type="STRING"/>
- <Column id="nm09" type="STRING"/>
- <Column id="nm10" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_acptddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- <Column id="testmdlcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="testgrup" type="STRING" size="256"/>
- <Column id="tclsnmlist2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="div.div_search.ipt_patnm" propid="value" datasetid="ds_patnm" columnid="hngnm"/>
- <BindItem id="item51" compid="div.div_search.img1" propid="enable" datasetid="ds_bind" columnid="able"/>
- <BindItem id="item1" compid="div.div_search.cmb_tgrp" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- var p_SelSlipcd = "";
- function SMLLP01000_onload(obj:Form, e:LoadEventInfo){
- //폼 초기화 함수
- frmf_initForm(obj);
-
- //초기정보 조회
- lf_setInit_search();
-
- //초기화
- lf_setInit();
-
- //div.tab.case2.object1.Aspect.GDIPlus.Active = false;
- }
- function cbf_SMLLP01000(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- function lf_setInit(ref){
- if(ref != 2){
- var today = utlf_getCurrentDate();
- div.div_search.cal_ddS.value = /*"20130715"*/ today;//utlf_addMonth(today, -6);
- div.div_search.cal_ddE.value = /*"20130720"*/ today;
- div.div_search.ipt_pid.value = /*"000516320"*/appf_getPatientInfo("pid");
- div.div_search.ipt_patnm.value = /*"홍길동"*/appf_getPatientInfo("hngnm");
-
- lf_makeTestMdlList();
- ds_rsltRow.clearData();
-
- if(ref == 1){
- var grdCellcnt = div.tab.case1.grd_result.getCellCount("Body");
- for(i = 0; i < grdCellcnt; i++){
- div.tab.case1.grd_result.deleteContentsCol(2);
- }
-
- div.div_search.cmb_tgrp.text = "";
- }
- }
-
- //createTChart("object1", 250, 5, 233, 631, div.tab.case2); //그래프 object 생성
- drawLine999(div.tab.case2.object1, div.tab.case1.grd_result, 2, "누적결과추이", true);
-
- }
- function lf_makeTestMdlList(){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "pid", val: div.div_search.ipt_pid.value}
- , {col: "userdeptflagcd", val: lgv_sUserdeptflagcd }]);
-
- var oParam = {};
- oParam.id = "TRLLP01002";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetTestRef";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_testMdlList=testmdllist";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01000";
- tranf_submit(oParam);
-
- if(!utlf_isNull(ds_testMdlList.getColumn(0, "maxcol"))){
- var maxcol = parseInt(ds_testMdlList.getColumn(0, "maxcol")) + 1;
-
- //trace(maxcol + "/" + div.grd_caption.getCellCount("Body") + "/" + div.grd_caption.getCellCount("Body") / 2);
-
- // for(i = maxcol; i < div.grd_caption.getCellCount("Body") / 2; i++){
- // div.grd_caption.setRealColSize(i, 0);
- // }
- //2014.10.06 김남규 수정
- for(i = maxcol*2; i < div.grd_caption.getCellCount("Body"); i++){
- div.grd_caption.setRealColSize(i, 0);
- }
- }
-
- // for(i = 0; i < div.grd_caption.getCellCount("Body") / 2 ; i++ ){
- // ds_testMdlList.addColumn("testmdlcd" + utlf_lPad(i, 2, "0"), "string");
- // }
- //2014.10.06 김남규 수정
- for(i = 0; i < maxcol; i++ ){
- ds_testMdlList.addColumn("testmdlcd" + utlf_lPad(i, 2, "0"), "string");
- }
-
- }
- function lf_setInit_search(){
- // 초기정보 조회
- //0103 : 사용자별검사그룹
- lf_getDbDeptcd("0000|0103|","cbf_SMLLP01000");
- }
- function lf_getNResultRef(){
- var sPid = div.div_search.ipt_pid.value;
-
- if(utlf_isNull(sPid)){
- sysf_messageBox("등록번호를","C001","");
- return;
- }
-
- var sTestMdList = p_SelSlipcd;
- var sTgrpCd = div.div_search.cmb_tgrp.value;
-
- if(utlf_isNull(sTestMdList) && utlf_isNull(sTgrpCd)){
- sysf_messageBox("검사중분류를 ","C002","");
- return;
- }
-
- var vSelSlipcd = p_SelSlipcd;
-
- if(!utlf_isNull(vSelSlipcd)){
- vSelSlipcd = vSelSlipcd.substr(0, vSelSlipcd.length -1);
- }else{
- vSelSlipcd = "";
- }
-
- //0103 : 사용자별검사그룹
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "testgrup", val: div.div_search.cmb_tgrp.value}
- , {col: "startdd", val: div.div_search.cal_ddS.value}
- , {col: "enddd", val: div.div_search.cal_ddE.value}
- , {col: "pid", val: div.div_search.ipt_pid.value}
- , {col: "testmdllist", val: vSelSlipcd}]);
-
-
- // 서브밋호출
- ds_rsltRow.clearData();
- ds_rsltHeader.clearData();
-
- var oParam = {};
- oParam.id = "TRLLP01003";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetAcmlTestList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_rsltRow=row ds_rsltHeader=header";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01000";
- tranf_submit(oParam);
- //조회시 챠트 초기화
- div.tab.case2.object1.RemoveAllSeries();
- div.tab.case2.object1.Tools.clear();
-
- if(ds_rsltRow.rowcount < 0) return;
-
-
- //그리드 동적 생성
- //헤더 생성전 이미 만들어져 있는 그리드 삭제
- var grdCellcnt = div.tab.case1.grd_result.getCellCount("Body");
- for(i = 0; i < grdCellcnt; i++){
- div.tab.case1.grd_result.deleteContentsCol(2);
- }
- //header값 셋팅
- var gridCaption = ds_rsltHeader.getColumn(0, "caption");
- var gridCaptionArray = gridCaption.split("^");
-
- if(utlf_isNull(gridCaption)) return;
-
- //bind 값 셋팅
- var gridColRef = ds_rsltHeader.getColumn(0, "colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = ds_rsltHeader.getColumn(0, "type");
- var gridColTypeArray = gridColType.split("^");
-
- //열생성 후, header값, bind값 그리드에 설정
- for (var i = 0; i < gridColTypeArray.length; i++){
- div.tab.case1.grd_result.insertContentsCol(i + 2);
- div.tab.case1.grd_result.setCellProperty("head",i + 2,"text",gridCaptionArray[i]);
- div.tab.case1.grd_result.setCellProperty("Body",i + 2,"text","bind:" + gridColRefArray[i]);
- }
-
- // for(var i=0; i<ds_rsltRow.rowcount; i++){
- // if(ds_rsltRow.getColumn(i,"tclskind") == '4' || ds_rsltRow.getColumn(i,"tclskind") == '5' ){
- // ds_rsltRow.setColumn(i,"chk","1");
- // }
- // }
-
- //체크박스, 검사항목, 검체명, 참고치는 사이즈 고정
- div.tab.case1.grd_result.setFormatColProperty(2,"size",22);
- div.tab.case1.grd_result.setFormatColProperty(3,"size",150);
- div.tab.case1.grd_result.setFormatColProperty(4,"size",180);
- div.tab.case1.grd_result.setFormatColProperty(5,"size",80);
-
-
-
- //결과값은 일정하게 사이즈 조정
- for(i = 6; i < div.tab.case1.grd_result.getCellCount("Body"); i++){
- var sExpr = "EXPR( judg" + (i-6) + " == 'H' ? '#f7a08b' : (judg" + (i-6) + " == 'L' ? '#b9e5fb' : ''))"
- div.tab.case1.grd_result.setFormatColProperty(i,"size",70);
-
- //L/H값에 따라 그리드 색상변경
- div.tab.case1.grd_result.setCellProperty("Body",i, "background", sExpr);
- div.tab.case1.grd_result.setCellProperty("Body",i, "background2", sExpr);
- }
-
- //체크박스 열은 head와 Body모두 checkbox로 설정
- div.tab.case1.grd_result.setCellProperty("head",2,"displaytype","checkbox");
- div.tab.case1.grd_result.setCellProperty("head",2,"edittype","checkbox");
- div.tab.case1.grd_result.setCellProperty("Body",2,"displaytype","checkbox");
- div.tab.case1.grd_result.setCellProperty("Body",2,"edittype","checkbox");
-
- //그리드 검사항목, 검체명 align = left middle로 설정
- div.tab.case1.grd_result.setCellProperty("Body",3,"align","left middle");
- div.tab.case1.grd_result.setCellProperty("Body",4,"align","left middle");
-
- //조회해온 ds값 그리드에 bind
- div.tab.case1.grd_result.binddataset = ds_rsltRow;
-
- //그리드 올체크 가능하도록 설정
- grdf_setAllCheck(div.tab.case1.grd_result);
-
- }
- function lf_testLRGList_Click(){
- //for(i = 0; i < div.grd_caption.getCellCount("Body") / 2; i++){
- //대분류 선택시 For 루프 횟수 수정 - 2014-10-21 김남규
- var maxcol = parseInt(ds_testMdlList.getColumn(0, "maxcol")) + 1;
- for(i = 0; i < maxcol; i++){
- lf_testMdlList_Click(ds_testMdlList.rowposition, i);
- }
- }
- function lf_testMdlList_Click(nRow, nCol){
- var curRow = nRow;
- var curCol = nCol;
-
- var vCol = utlf_lPad(curCol, 2, "0");
- var vChk = ds_testMdlList.getColumn(curRow, "chk" + vCol);
- var vSlipcd = ds_testMdlList.getColumn(curRow, "cd" + vCol);
- var vReadonly = ds_testMdlList.getColumn(curRow, "readonly" + vCol);
-
- if(vReadonly != "1"){
- if(vChk == "1"){
- ds_testMdlList.setColumn(curRow, "chk" + vCol, "0")
-
- if(p_SelSlipcd.indexOf("'" + vSlipcd + "'" + ",") >= 0){
- p_SelSlipcd = p_SelSlipcd.replace("'" + vSlipcd + "',", "");
- }
- }else{
- ds_testMdlList.setColumn(curRow, "chk" + vCol, "1")
-
- if(p_SelSlipcd.indexOf("'" + vSlipcd + "',") <= 0){
- p_SelSlipcd = p_SelSlipcd + "'" + vSlipcd + "',";
- }
- }
- }
- }
- function lf_getFixedCols(objGrd){
- var cnt = 0;
- for(var i = objGrd.getFormatColCount()-1; i >= 0; i--){
- if(objGrd.getFormatColProperty(i, "fix") == "fixed"){
- cnt++;
- }
- }
- return cnt;
- }
- function lf_allChkYN(){
- var bChk = chk_all.value;
- var vSlipcd = ""
-
- var maxcol = parseInt(ds_testMdlList.getColumn(0, "maxcol")) + 1;
-
- if(bChk == "true"){
- for(i = 0; i < ds_testMdlList.rowcount; i++){
- //for(j = 0; j < div.grd_caption.getCellCount("Body") / 2; j++){
- for(j = 0; j < maxcol; j++){
- if(ds_testMdlList.getColumn(i, "readonly" + utlf_lPad(j, 2, "0")) == "0"){
- ds_testMdlList.setColumn(i, "chk" + utlf_lPad(j, 2, "0"), "1");
- vSlipcd = ds_testMdlList.getColumn(i, "cd" + utlf_lPad(j, 2, "0"));
- p_SelSlipcd = p_SelSlipcd + "'" + vSlipcd + "',";
- }
- }
- }
- }else{
- for(i = 0; i < ds_testMdlList.rowcount; i++){
- //for(j = 0; j < div.grd_caption.getCellCount("Body") / 2; j++){
- for(j = 0; j < maxcol; j++){
- ds_testMdlList.setColumn(i, "chk" + utlf_lPad(j, 2, "0"), "0");
- p_SelSlipcd = "";
- }
- }
- }
- }
- function lf_getACPTDD(){
- var sPid = div.div_search.ipt_pid.value;
-
- if(utlf_isNull(sPid)){
- sysf_messageBox("등록번호를","C001","");
- return;
- }else{
- sPid;
- }
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "pid", val: sPid}]);
-
- var oParam = {};
- oParam.id = "TRLLP01001";
- oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
- oParam.method = "reqGetAcptDDRef";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_acptddlist=acptddlist";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01000";
- tranf_submit(oParam);
-
- if(ds_acptddlist.rowcount > 0){
- div.div_search.cal_ddS.value = ds_acptddlist.getColumn(ds_acptddlist.rowcount-1, "cd");
- div.div_search.cal_ddE.value = ds_acptddlist.getColumn(0, "cd");
-
- lf_getTestMDLRef();
- }else{
- sysf_messageBox("결과가 ","I004","");
- }
- }
- function lf_getTestMDLRef(){
- var vTestmdlcdStr = "";
-
- for(i = 0; i < ds_acptddlist.rowcount; i++){
- if(ds_acptddlist.getColumn(i, "cd") >= div.div_search.cal_ddS.value){
- var vSelAcptDD = ds_acptddlist.getColumn(i, "cd");
- vTestmdlcdStr = vTestmdlcdStr + ds_acptddlist.getColumn(i, "testmdlcd");
- }
- }
-
- var maxcol = parseInt(ds_testMdlList.getColumn(0, "maxcol")) + 1;
-
- for(i = 0; i < ds_testMdlList.rowcount; i++){
- //for(j = 0; j < div.grd_caption.getCellCount("Body") / 2; j++){
- //2014.10.06 김남규 수정
- for(j = 0; j < maxcol; j++){
-
- var vCol = utlf_lPad(j, 2, "0");
- var vTestmdlcd = ds_testMdlList.getColumn(i, "cd" + vCol);
- if(!utlf_isNull(vTestmdlcd)){
- if( vTestmdlcdStr.indexOf(vTestmdlcd.getTrim()) < 0 ){
- ds_testMdlList.setColumn(i, "testmdlcd" + vCol, "1");
- ds_testMdlList.setColumn(i, "readonly" + vCol, "1");
- ds_testMdlList.setColumn(i, "chk" + vCol, "0");
-
- }else{
- ds_testMdlList.setColumn(i, "testmdlcd" + vCol, "0");
- ds_testMdlList.setColumn(i, "readonly" + vCol, "0");
- ds_testMdlList.setColumn(i, "chk" + vCol, "0");
- }
- }
- }
- }
- }
- function lf_userNMRef(){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "pid" , val: div.div_search.ipt_pid.value}]);
- var oParam = {};
- oParam.id = "TRLLP90402";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetNM";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_patnm=getnm";
- oParam.async = false;
- oParam.callback = "cbf_SMLLP01000";
- tranf_submit(oParam);
-
- }
- function fGraphGrdClick(obj:Grid, e:GridClickEventInfo){
-
- if(e.col == 1){
-
- /*if( ds_rsltRow.getColumn(e.row, "chk") == "1" ){
- datagrid2.valueMatrix(row , 1) = "true";
- }
- else {
- datagrid2.valueMatrix(row , 1) = "false";
- }*/
-
- drawLine999(div.tab.case2.object1, div.tab.case1.grd_result, 2, "누적결과추이", true);
- //lf_heightDrawLine(div.tab.case2.object1, div.tab.case2.grd_grape, "누적결과추이", true);
-
- }
- }
- function div_div_search_btn_reset_onclick(obj:Button, e:ClickEventInfo){
- //초기화
- lf_setInit(1);
- }
- function div_div_search_btn_help_onclick(obj:Button, e:ClickEventInfo){
- lf_getNResultRef();
- }
- function div_grd_caption_oncellclick(obj:Grid, e:GridClickEventInfo){
- if(e.cell == 0){
- lf_testLRGList_Click();
- }else if(e.cell % 2 == 0){
- lf_testMdlList_Click(ds_testMdlList.rowposition, e.cell / 2);
- }
- }
- function chk_all_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo){
- lf_allChkYN();
- }
- function div_div_search_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
-
- var rtn = frmf_setInputNodeCurPid_Change(obj.value);
- obj.value = rtn;
-
- lf_userNMRef();
- lf_getACPTDD();
- }
- }
- function div_btn_excel_onclick(obj:Button, e:ClickEventInfo){
- if(div.tab.case1.grd_result.rowcount < 1) return;
- grdf_exportExcel(div.tab.case1.grd_result, lf_lisGetTitle(this), "see");
- }
- function div_tab_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0) {
- div.tab.case2.object1.visible = false;
- } else if(obj.tabindex == 1) {
- div.tab.case2.object1.visible = true;
- //lf_heightDrawLine(div.tab.case2.object1, div.tab.case2.grd_grape, "누적결과추이", true);
- drawLine999(div.tab.case2.object1, div.tab.case1.grd_result, 2, "누적결과추이", true);
- }
- }
- //그래프에 결과치와 상하한치 라인을 그린다.
- function lf_heightDrawLine(tChartObj, gridObj, title, refresh) {
- // TChart 초기화
- if( refresh ) {
- tChartObj.RemoveAllSeries();
- tChartObj.Tools.clear();
- }
-
- // Title 설정
- if( title != null || title == "" ) {
- //수정
- tChartObj.Header.Text[0] = title;
- }
-
- var cColor; //라인색 설정
- var x, y; //그래프의 정점
- var seriesIndex; //새로 생성될 라인의 번호
-
- tChartObj.Aspect.View3D = 0; // 모양 설정 :: 0 = 2D | 1 = 3D
- tChartObj.Legend.CheckBoxes = true; // Legend 체크박스 설정
- tChartObj.Legend.Alignment = 0; // Legend 위치 설정 :: 0 = left | 1 = right | 2 = top| 3 = bottom
-
- //--------------결과치 그래프 시작-------------//
-
- for(i=0; ds_rsltRow.rowcount; i++) {
-
- if(ds_rsltRow.getColumn(i, "chk") == "1") {
-
- tChartObj.AddSeries(0); // 라인추가
- seriesIndex = tChartObj.SeriesCount - 1;
- tChartObj.Series(seriesIndex).asLine.Pointer.Visible = true; //Point 사용 여부
- tChartObj.Series(seriesIndex).asLine.Pointer.Style = 1; //PointStyle 설정 :: 0 - 8
- tChartObj.Axis.Bottom.Labels.Angle = 270; //하단 날자표시 각도
- tChartObj.Series(seriesIndex).Color = "red"; //결과 선의 색 설정. (빨강)
- tChartObj.Series(seriesIndex).Title = ds_rsltRow.getColumn(i, "tclsscrnnm"); //Legend 명칭
-
- for(j = 0;j<ds_rsltRow.getColCount();j++){
- x = utlf_transNullToEmpty(ds_rsltRow.getColumn(j,"acptdt0")); //x = 처방날짜
-
- //trace( ds_rsltRow.getColID(j) + ": " + String(ds_rsltRow.getColID(j)).indexOf("rslt") );
-
- if( String(ds_rsltRow.getColID(j)).indexOf("rslt") > -1 ) {
- y = utlf_transNullToEmpty( ds_rsltRow.getColumn( j, ds_rsltRow.getColID(j) ) ); //y = 결과치
- if( !utlf_isNull(y) ){
- x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12) + " ";
- //x,y 좌표값과 라인의 칼라 값을 받아 라인을 생성한다.
- trace("그리자 " + x + "/" + y);
- tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
-
- //tChartObj.Series(seriesIndex).AddXY (xx+1, y+1 , " ", tChartObj.Series(seriesIndex).Color);
- //tChartObj.Series(seriesIndex).LegendItemColor(cColor);
- }
- }
-
- }
-
- }
-
- }
-
-
- // tChartObj.AddSeries(0); // 라인추가
- // seriesIndex = tChartObj.SeriesCount - 1;
- // tChartObj.Series(seriesIndex).asLine.Pointer.Visible = true; //Point 사용 여부
- // tChartObj.Series(seriesIndex).asLine.Pointer.Style = 1; //PointStyle 설정 :: 0 - 8
- // tChartObj.Axis.Bottom.Labels.Angle = 270; //하단 날자표시 각도
- // tChartObj.Series(seriesIndex).Color = "blue"; //window.rgb(0, 0 , 255); //결과 선의 색 설정. (파란색)
- // tChartObj.Series(seriesIndex).Title = "결과값"; //Legend 명칭
- //
- // for(j = 0;j<gridObj.rowcount;j++){
- // x = utlf_transNullToEmpty(ds_rsltRow.getColumn(j,"acptdt0")); //x = 처방날짜
- // y = utlf_transNullToEmpty(ds_rsltRow.getColumn(j,"rslt0")); //y = 결과치
- // if(y != "" && !isNaN(y)){
- // x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12) + " ";
- // //x,y 좌표값과 라인의 칼라 값을 받아 라인을 생성한다.
- // tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- // }
- // }
- }
- function div_tab_case2_grd_grape_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fGraphGrdClick(obj, e);
- }
- function drawLine999(tChartObj, gridObj, row, title, refresh) {
- // TChart 초기화
- if( refresh ) {
- tChartObj.RemoveAllSeries();
- tChartObj.Tools.clear();
- }
-
- if( !utlf_isNull(title) ) {
- tChartObj.Header.Text[0] = title; // Title 설정
- }
-
- tChartObj.Aspect.View3D = 0; // 모양 설정 :: 0 = 2D | 1 = 3D
-
- tChartObj.Legend.CheckBoxes = true;
- tChartObj.Legend.Alignment = 0; // Legend 위치 설정 :: 0 = left | 1 = right | 2 = top| 3 = bottom
-
- var Rnd1, Rnd2, Rnd3;
- var cColor;
- var i;
- var x, y;
-
- for(j = 0; j<ds_rsltRow.rowcount; j++){
-
- if( ds_rsltRow.getColumn(j, "chk") == "1" ){
-
- tChartObj.AddSeries(0); // TChart Type 설정 :: 0 = Line | 1 = Bar ..
-
- var seriesIndex = tChartObj.SeriesCount - 1;
-
- tChartObj.Series(seriesIndex).asLine.Pointer.Visible = true;
- tChartObj.Series(seriesIndex).asLine.Pointer.Style = j; //PointStyle 설정 :: 0 - 8
- tChartObj.Series(seriesIndex).Title = ds_rsltRow.getColumn(j, "tclsscrnnm");
-
- tChartObj.Axis.Bottom.Labels.Angle = 270;
-
- r = Math.random();
- r = Math.round((255 - 1) * r + 1);
-
- g = Math.random();
- g = Math.round((255 - 1) * g + 1);
-
- b = Math.random();
- b = Math.round((255 - 1) * b + 1);
-
- cColor = (r).toString(16) + (g).toString(16) + (b).toString(16);
-
- xx= 0;
- for( i = 5; i < gridObj.getCellCount("Body")-1; i++ ){
-
- ds_rsltRow
-
- x = utlf_transNullToEmpty( ds_rsltRow.getColumn( j, "acptdt" + xx ) ); //model.getvalue("/root/main/rsltlist/row["+j+"]/acptdt" + xx);
- y = utlf_transNullToEmpty( ds_rsltRow.getColumn( j, "rsltORD" + xx ) ); //model.getvalue("/root/main/rsltlist/row["+j+"]/rsltORD" + xx);
-
- if( !utlf_isNull(y) ){
- x = x.substring(0,4) + "-" + x.substring(4,6) + "-" +x.substring(6,8) + " " + x.substring(8,10) + ":" + x.substring(10,12);
- tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- tChartObj.Series(seriesIndex).LegendItemColor(cColor);
- }
- xx ++;
- }
- }
- }
- }
- function div_tab_case2_grd_grape_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- var chk = obj.getCellProperty("Head", 1, "text");
-
- if(chk == "1") {
- //전체해제
- obj.setCellProperty("Head", 1, "text", "0");
-
- for(var i=0; i<ds_rsltRow.rowcount; i++) {
- ds_rsltRow.setColumn(i, "chk", "0");
- }
-
- } else {
- //전체선택
- obj.setCellProperty("Head", 1, "text", "1");
-
- for(var i=0; i<ds_rsltRow.rowcount; i++) {
- ds_rsltRow.setColumn(i, "chk", "1");
- }
-
- }
-
- //TChart
- drawLine999(div.tab.case2.object1, div.tab.case1.grd_result, 2, "누적결과추이", true);
-
- }
- function div_tab_case1_grd_result_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row < 0) return;
- if (e.col < 0) return;
- obj.tooltiptext = div.tab.case1.grd_result.getCellText(e.row,e.col); //툴팁
- }
- function group1_btn_tclsnmlist_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.testGrup = ds_hidden_ref_tclscdlist;
-
- frmf_modal("SMLLF90400", "SMLLF90400", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- }
- ]]></Script>
- </Form>
- </FDL>
|