123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO10500" position="absolute 0 0 1176 328" titletext="치식" onload="SPMMO10500_onload" oninit="SPMMO10500_oninit">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 685 297" id="rectangle1" type="rectangle"/>
- <Div position="absolute 5 51 680 251" id="group1" onclick="group1_onclick">
- <Layouts>
- <Layout>
- <Static text="A" position="absolute 285 115 320 150" align="align:center middle;" id="caption81" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="B" position="absolute 249 115 284 150" align="align:center middle;" id="caption82" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="A" position="absolute 355 115 390 150" align="align:center middle;" id="caption71" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="B" position="absolute 391 115 426 150" align="align:center middle;" id="caption72" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="C" position="absolute 212 115 247 150" align="align:center middle;" id="caption83" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="A" position="absolute 355 50 390 85" align="align:center middle;" id="caption61" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="C" position="absolute 428 115 463 150" align="align:center middle;" id="caption73" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="D" position="absolute 167 115 202 150" align="align:center middle;" id="caption84" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="B" position="absolute 391 50 426 85" align="align:center middle;" id="caption62" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="A" position="absolute 285 50 320 85" align="align:center middle;" id="caption51" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="E" position="absolute 131 115 166 150" align="align:center middle;" id="caption85" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="D" position="absolute 472 115 507 150" align="align:center middle;" id="caption74" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="C" position="absolute 428 50 463 85" align="align:center middle;" id="caption63" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="B" position="absolute 249 50 284 85" align="align:center middle;" id="caption52" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="1" position="absolute 285 155 320 190" align="align:center middle;" id="caption41" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="E" position="absolute 508 115 543 150" align="align:center middle;" id="caption75" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="D" position="absolute 472 50 507 85" align="align:center middle;" id="caption64" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="C" position="absolute 212 50 247 85" align="align:center middle;" id="caption53" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="1" position="absolute 355 155 390 190" align="align:center middle;" id="caption31" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="2" position="absolute 249 155 284 190" align="align:center middle;" id="caption42" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="1" position="absolute 355 10 390 45" align="align:center middle;" id="caption21" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="E" position="absolute 508 50 543 85" align="align:center middle;" id="caption65" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="D" position="absolute 167 50 202 85" align="align:center middle;" id="caption54" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="3" position="absolute 212 155 247 190" align="align:center middle;" id="caption43" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="2" position="absolute 391 155 426 190" align="align:center middle;" id="caption32" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="2" position="absolute 391 10 426 45" align="align:center middle;" id="caption22" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="1" position="absolute 285 10 320 45" align="align:center middle;" id="caption11" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="E" position="absolute 131 50 166 85" align="align:center middle;" id="caption55" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="4" position="absolute 167 155 202 190" align="align:center middle;" id="caption44" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="3" position="absolute 428 155 463 190" align="align:center middle;" id="caption33" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="3" position="absolute 428 10 463 45" align="align:center middle;" id="caption23" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="2" position="absolute 249 10 284 45" align="align:center middle;" id="caption12" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="5" position="absolute 131 155 166 190" align="align:center middle;" id="caption45" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="4" position="absolute 472 155 507 190" align="align:center middle;" id="caption34" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="4" position="absolute 472 10 507 45" align="align:center middle;" id="caption24" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="3" position="absolute 212 10 247 45" align="align:center middle;" id="caption13" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="5" position="absolute 508 155 543 190" align="align:center middle;" id="caption35" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="6" position="absolute 86 155 121 190" align="align:center middle;" id="caption46" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="5" position="absolute 508 10 543 45" align="align:center middle;" id="caption25" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="4" position="absolute 167 10 202 45" align="align:center middle;" id="caption14" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="6" position="absolute 553 155 588 190" align="align:center middle;" id="caption36" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="7" position="absolute 50 155 85 190" align="align:center middle;" id="caption47" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Shape position="absolute 335 20 341 180" linetype="vertical" id="line1" style="strokepen:1 dashed black;"/>
- <Static text="6" position="absolute 553 10 588 45" align="align:center middle;" id="caption26" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="5" position="absolute 131 10 166 45" align="align:center middle;" id="caption15" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Shape position="absolute 40 97 635 103" linetype="horizontal" id="line2" style="strokepen:3 dotted #9ebed4ff;"/>
- <Static text="7" position="absolute 589 155 624 190" align="align:center middle;" id="caption37" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="8" position="absolute 5 155 40 190" align="align:center middle;" id="caption48" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="7" position="absolute 589 10 624 45" align="align:center middle;" id="caption27" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="6" position="absolute 86 10 121 45" align="align:center middle;" id="caption16" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="8" position="absolute 633 155 668 190" align="align:center middle;" id="caption38" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="8" position="absolute 633 10 668 45" align="align:center middle;" id="caption28" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="7" position="absolute 50 10 85 45" align="align:center middle;" id="caption17" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- <Static text="8" position="absolute 5 10 40 45" align="align:center middle;" id="caption18" style="background:#ffffffff;border:1 solid #808080ff ;align:center middle;" onclick="group1_caption_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 9 300 95 319" id="button1" class="btn2" text="전악(영구치)" onclick="button1_onclick"/>
- <Button position="absolute 1045 299 1101 321" id="button3" class="btn4" text="확인" onclick="button3_onclick"/>
- <Button position="absolute 1104 299 1160 321" id="button4" class="btn4" text="취소" onclick="button4_onclick"/>
- <Button position="absolute 11 3 86 22" id="button5" class="btn2" text="1/3(영구치)" onclick="button5_onclick"/>
- <Button position="absolute 306 3 381 22" id="button7" class="btn2" text="1/3(영구치)" onclick="button7_onclick"/>
- <Button position="absolute 306 24 381 43" id="button8" class="btn2" text="1/3(유 치)" onclick="button8_onclick"/>
- <Button position="absolute 601 3 676 22" id="button9" class="btn2" text="1/3(영구치)" onclick="button9_onclick"/>
- <Button position="absolute 10 275 85 294" id="button10" class="btn2" text="1/3(영구치)" onclick="button10_onclick"/>
- <Button position="absolute 306 253 381 272" id="button12" class="btn2" text="1/3(유 치)" onclick="button12_onclick"/>
- <Button position="absolute 306 274 381 293" id="button13" class="btn2" text="1/3(영구치)" onclick="button13_onclick"/>
- <CheckBox position="absolute 398 300 471 320" id="bool1" text="임플란트" truevalue="Y" falsevalue="N"/>
- <Shape position="absolute 475 299 685 319" id="roundrect1" type="roundrectangle"/>
- <Shape position="absolute 484 303 497 316" id="rectangle2" type="rectangle" style="fillbrush:solid #99ccffff true;background:transparent;border:1 solid #000000ff ;"/>
- <Static text="#:일반치식" position="absolute 502 301 572 320" id="caption20" tooltiptext="일반치식"/>
- <Shape position="absolute 574 303 587 316" id="rectangle3" type="rectangle" style="fillbrush:solid #ff9090ff true;border:1 solid #000000ff ;"/>
- <Static text="ⓘ:임플란트치식" position="absolute 590 301 681 320" id="caption1" tooltiptext="일플란트치식"/>
- <Button position="absolute 974 299 1042 321" id="button15" class="btn4" text="초기화" onclick="button15_onclick"/>
- <Button position="absolute 603 274 678 293" id="button6" class="btn2" text="1/3(영구치)" onclick="button6_onclick"/>
- <Button position="absolute 12 100 76 119" id="button11" class="btn2" text="우 상" onclick="button11_onclick"/>
- <Button position="absolute 13 160 77 179" id="button16" class="btn2" text="우하유치" onclick="button16_onclick"/>
- <Button position="absolute 607 160 671 179" id="button18" class="btn2" text="좌하유치" onclick="button18_onclick"/>
- <Button position="absolute 607 101 671 120" id="button20" class="btn2" text="좌 상" onclick="button20_onclick"/>
- <Button position="absolute 12 123 76 142" id="button2" class="btn2" text="우상유치" onclick="button2_onclick"/>
- <Button position="absolute 13 183 77 202" id="button14" class="btn2" text="우 하" onclick="button14_onclick"/>
- <Button position="absolute 607 182 671 201" id="button17" class="btn2" text="좌 하" onclick="button17_onclick"/>
- <Button position="absolute 607 124 671 143" id="button19" class="btn2" text="좌상유치" onclick="button19_onclick"/>
- <Button position="absolute 99 300 174 319" id="button21" class="btn2" text="전악(유치)" onclick="button21_onclick"/>
- <Button position="absolute 11 24 86 43" id="button22" class="btn2" text="1/3(유 치)" onclick="button22_onclick"/>
- <Button position="absolute 601 24 676 43" id="button23" class="btn2" text="1/3(유 치)" onclick="button23_onclick"/>
- <Button position="absolute 10 253 85 272" id="button24" class="btn2" text="1/3(유 치)" onclick="button24_onclick"/>
- <Button position="absolute 603 253 678 272" id="button25" class="btn2" text="1/3(유 치)" onclick="button25_onclick"/>
- <Shape position="absolute 209 9 215 292" linetype="vertical" id="line3" style="strokepen:3 dotted #9ebed4ff;"/>
- <Shape position="absolute 470 9 476 292" linetype="vertical" id="line4" style="strokepen:3 dotted #9ebed4ff;"/>
- <Grid position="absolute 689 155 1160 297" id="grd_prcplist" binddataset="ds_main_prcplist" onlbuttonup="grd_prcplist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="391"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드"/>
- <Cell col="1" text="치식사항"/>
- <Cell col="2" text="rtntootfact"/>
- <Cell col="3" text="rowcnt"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 3 0 3;" text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;padding:0 3 0 3;" text="bind:tootfact"/>
- <Cell col="2" text="bind:rtntootfact"/>
- <Cell col="3" text="bind:rowcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 689 0 1160 150" id="grd_diaglist" binddataset="ds_main_diaglist" onlbuttonup="grd_diaglist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="391"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="치식사항"/>
- <Cell col="2" text="rtntootfact"/>
- <Cell col="3" text="rowcnt"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 3 0 3;" text="bind:diagcd"/>
- <Cell col="1" style="align:left middle;padding:0 3 0 3;" text="bind:tootfact"/>
- <Cell col="2" text="bind:rtntootfact"/>
- <Cell col="3" text="bind:rowcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING"/>
- <Column id="tootfact" type="STRING"/>
- <Column id="rtntootfact" type="STRING"/>
- <Column id="rowcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING"/>
- <Column id="tootfact" type="STRING"/>
- <Column id="rtntootfact" type="STRING"/>
- <Column id="rowcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="implantyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="bool1" propid="value" datasetid="ds_main_cond" columnid="implantyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-01-16
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-01-16 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- include "emr_prcpmngtxp::SPMMO10500.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO10500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면오픈시 폼load이후 실행
- ****************************************************************************************/
- function SPMMO10500_onload(obj:Form, e:LoadEventInfo)
- {
- /*
- * opener : frmf_setParameter("param_tootfact") 치식사항 설정 #21#22#23#24 -> 화면 초기화 시, 선택된 치아 색깔로 표시됨
- * : frmf_setParameter("param_diaglist") 진단내역 설정 #당뇨병#치질 -> 화면 초기화 시, 진단명 그리드에 설정
- * : frmf_setParameter("param_prcplist") 처방내역 설정 #약물치료#정신치료-> 화면 초기화시, 처방명 그리드에 설정
- * : frmf_getParameter("rtn_useyn") 사용여부를 확인(종료 혹은 X버튼 클릭으로 종료된 경우 처리)
- * : frmf_getParameter("rtn_tootfact") 선택된 치식사항 리턴
- *
- */
- frmf_initForm(obj); // 폼 초기화
-
- fInitialize();
-
- button1.setFocus();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_prcplist
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 처방리스트 그리드 클릭시
- ****************************************************************************************/
- function grd_prcplist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var currow = objects[objPrcpGrdID.binddataset].rowposition;
- if(currow > -1){
- fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(iDiagBfRow,1), "#ffffff");
- //objDiagGrdID.select(objDiagGrdID.row,2, objDiagGrdID.row,2) = false; //선택해제?
- objects[objDiagGrdID.binddataset].rowposition = -1;
- fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(iPrcpBfRow,1), "#ffffff");
- fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(currow,1), "#99ccff");
- iPrcpBfRow = currow;
- objCurGrdID = objPrcpGrdID;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_diaglist
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진단리스트 그리드 클릭시
- ****************************************************************************************/
- function grd_diaglist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- var currow = objects[objDiagGrdID.binddataset].rowposition;
- if(currow > -1){
- fFillColorCaption(objects[objPrcpGrdID.binddataset].getColumn(iPrcpBfRow,1), "#ffffff");
- //objPrcpGrdID.select(objPrcpGrdID.row,2,objPrcpGrdID.row,2) = false; //선택해제?
- objects[objPrcpGrdID.binddataset].rowposition = -1;
- fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(iDiagBfRow,1), "#ffffff");
- fFillColorCaption(objects[objDiagGrdID.binddataset].getColumn(currow,1), "#99ccff");
- iDiagBfRow = currow;
- objCurGrdID = objDiagGrdID;
- }
- }
- /****************************************************************************************
- * Components : Static
- * Components ID : group1.caption(치식전체)
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 치식선택 생삭 변경
- ****************************************************************************************/
- function group1_caption_onclick(obj:Static, e:ClickEventInfo)
- {
- fDragChoiTeeth(objCurGrdID, obj);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우상 1/3(영구치)
- ****************************************************************************************/
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_TOP_THIRD == false){
- fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#99ccff");
- bRIGHT_TOP_THIRD = true;
- }else{
- fFillColorCaption(sRIGHT_TOP_THIRD_TEETH, "#ffffff");
- bRIGHT_TOP_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button22
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우상 1/3(유치)
- ****************************************************************************************/
- function button22_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_TOP_YOUTH_THIRD == false){
- fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#99ccff");
- bRIGHT_TOP_YOUTH_THIRD = true;
- }else{
- fFillColorCaption(sRIGHT_TOP_THIRD_YOUNG_TEETH, "#ffffff");
- bRIGHT_TOP_YOUTH_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중상 1/3(영구치)
- ****************************************************************************************/
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bMIDDLE_TOP_THIRD == false){
- fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#99ccff");
- bMIDDLE_TOP_THIRD = true;
- }else{
- fFillColorCaption(sMIDDLE_TOP_THIRD_TEETH, "#ffffff");
- bMIDDLE_TOP_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button8
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중상 1/3(유치)
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bMIDDLE_TOP_YOUNG_THIRD == false){
- fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#99ccff");
- bMIDDLE_TOP_YOUNG_THIRD = true;
- }else{
- fFillColorCaption(sMIDDLE_TOP_THIRD_YOUNG_TEETH, "#ffffff");
- bMIDDLE_TOP_YOUNG_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button9
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌상 1/3(영구치)
- ****************************************************************************************/
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_TOP_THIRD == false){
- fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#99ccff");
- bLEFT_TOP_THIRD = true;
- }else{
- fFillColorCaption(sLEFT_TOP_THIRD_TEETH, "#ffffff");
- bLEFT_TOP_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button23
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌상 1/3(유치)
- ****************************************************************************************/
- function button23_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_TOP_THIRD_YOUTH == false){
- fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#99ccff");
- bLEFT_TOP_THIRD_YOUTH = true;
- }else{
- fFillColorCaption(sLEFT_TOP_THIRD_YOUTH_TEETH, "#ffffff");
- bLEFT_TOP_THIRD_YOUTH = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button24
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하 1/3(유치)
- ****************************************************************************************/
- function button24_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_BOTTOM_YOUTH_THIRD == false){
- fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
- bRIGHT_BOTTOM_YOUTH_THIRD = true;
- }else{
- fFillColorCaption(sRIGHT_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
- bRIGHT_BOTTOM_YOUTH_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button10
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하 1/3(영구치)
- ****************************************************************************************/
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_BOTTOM_THIRD == false){
- fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#99ccff");
- bRIGHT_BOTTOM_THIRD = true;
- }else{
- fFillColorCaption(sRIGHT_BOTTOM_THIRD_TEETH, "#ffffff");
- bRIGHT_BOTTOM_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button12
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중하 1/3(유치)
- ****************************************************************************************/
- function button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bMIDDLE_BOTTOM_YOUNG_THIRD == false){
- fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#99ccff");
- bMIDDLE_BOTTOM_YOUNG_THIRD = true;
- }else{
- fFillColorCaption(sMIDDLE_BOTTOM_THIRD_YOUNG_TEETH, "#ffffff");
- bMIDDLE_BOTTOM_YOUNG_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button13
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중하 1/3(영구치)
- ****************************************************************************************/
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bMIDDLE_BOTTOM_THIRD == false){
- fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#99ccff");
- bMIDDLE_BOTTOM_THIRD = true;
- }else{
- fFillColorCaption(sMIDDLE_BOTTOM_THIRD_TEETH, "#ffffff");
- bMIDDLE_BOTTOM_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button25
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하 1/3(유치)
- ****************************************************************************************/
- function button25_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_BOTTOM_THIRD_YOUTH == false){
- fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#99ccff");
- bLEFT_BOTTOM_THIRD_YOUTH = true;
- }else{
- fFillColorCaption(sLEFT_BOTTOM_THIRD_YOUTH_TEETH, "#ffffff");
- bLEFT_BOTTOM_THIRD_YOUTH = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하 1/3(영구치)
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_BOTTOM_THIRD == false){
- fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#99ccff");
- bLEFT_BOTTOM_THIRD = true;
- }else{
- fFillColorCaption(sLEFT_BOTTOM_THIRD_TEETH, "#ffffff");
- bLEFT_BOTTOM_THIRD = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button11
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우상
- ****************************************************************************************/
- function button11_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_TOP == false){
- fFillColorCaption(sRIGHT_TOP_TEETH, "#99ccff");
- bRIGHT_TOP = true;
- }else{
- fFillColorCaption(sRIGHT_TOP_TEETH, "#ffffff");
- bRIGHT_TOP = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우상유치
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_YOUTH_TOP == false){
- fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#99ccff");
- bRIGHT_YOUTH_TOP = true;
- }else{
- fFillColorCaption(sRIGHT_TOP_YOUNG_TEETH, "#ffffff");
- bRIGHT_YOUTH_TOP = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button16
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하유치
- ****************************************************************************************/
- function button16_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_YOUTH_BOTTOM == false){
- fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#99ccff");
- bRIGHT_YOUTH_BOTTOM = true;
- }else{
- fFillColorCaption(sRIGHT_BOTTOM_YOUNG_TEETH, "#ffffff");
- bRIGHT_YOUTH_BOTTOM = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button14
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우하
- ****************************************************************************************/
- function button14_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bRIGHT_BOTTOM == false){
- fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#99ccff");
- bRIGHT_BOTTOM = true;
- }else{
- fFillColorCaption(sRIGHT_BOTTOM_TEETH, "#ffffff");
- bRIGHT_BOTTOM = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button20
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌상
- ****************************************************************************************/
- function button20_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_TOP == false){
- fFillColorCaption(sLEFT_TOP_TEETH, "#99ccff");
- bLEFT_TOP = true;
- }else{
- fFillColorCaption(sLEFT_TOP_TEETH, "#ffffff");
- bLEFT_TOP = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button19
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌상유치
- ****************************************************************************************/
- function button19_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_YOUTH_TOP == false){
- fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#99ccff");
- bLEFT_YOUTH_TOP = true;
- }else{
- fFillColorCaption(sLEFT_TOP_YOUNG_TEETH, "#ffffff");
- bLEFT_YOUTH_TOP = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button18
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌하유치
- ****************************************************************************************/
- function button18_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_YOUTH_BOTTOM == false){
- fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#99ccff");
- bLEFT_YOUTH_BOTTOM = true;
- }else{
- fFillColorCaption(sLEFT_BOTTOM_YOUNG_TEETH, "#ffffff");
- bLEFT_YOUTH_BOTTOM = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button17
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 좌하
- ****************************************************************************************/
- function button17_onclick(obj:Button, e:ClickEventInfo)
- {
- if(bLEFT_BOTTOM == false){
- fFillColorCaption(sLEFT_BOTTOM_TEETH, "#99ccff");
- bLEFT_BOTTOM = true;
- }else{
- fFillColorCaption(sLEFT_BOTTOM_TEETH, "#ffffff");
- bLEFT_BOTTOM = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전악(영구치)
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTOTAL = sRIGHT_TOP_TEETH + sLEFT_TOP_TEETH + sRIGHT_BOTTOM_TEETH + sLEFT_BOTTOM_TEETH;
- if(bTOTAL == false){
- fFillColorCaption(sTOTAL, "#99ccff");
- bTOTAL = true;
- }else{
- fFillColorCaption(sTOTAL, "#ffffff");
- bTOTAL = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button21
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전악(유치)
- ****************************************************************************************/
- function button21_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTOTAL_YOUTH = sRIGHT_TOP_YOUNG_TEETH + sLEFT_TOP_YOUNG_TEETH + sRIGHT_BOTTOM_YOUNG_TEETH + sLEFT_BOTTOM_YOUNG_TEETH;
-
- if(bTOTAL_YOUTH == false){
- fFillColorCaption(sTOTAL_YOUTH, "#99ccff");
- bTOTAL_YOUTH = true;
- }else{
- fFillColorCaption(sTOTAL_YOUTH, "#ffffff");
- bTOTAL_YOUTH = false;
- }
- fGrdInptVal(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button15
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화 버튼
- ****************************************************************************************/
- function button15_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitToothfact(objCurGrdID);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인 버튼
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnfm_SPMMO10500();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소 버튼
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fCncl_SPMMO010500();
- }
- ]]></Script>
- </Form>
- </FDL>
|