123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW15400" position="absolute 0 0 1220 570" titletext="정맥염관찰기록 팝업이미지" oninit="SPMNW15400_oninit" onload="SPMNW15400_onload" onbeforeclose="SPMNW15400_onbeforeclose">
- <Layouts>
- <Layout>
- <Tab position="absolute 470 7 740 540" id="switch1" class="tab_Normal" tabindex="0" style="buttonborder:1 none #808080ff ;border:1 solid #808080ff ;">
- <Tabpages>
- <Tabpage text="" position="absolute 0 0 238 538" id="case1" style="anchor:default;">
- <Layouts>
- <Layout>
- <Button position="absolute 185 10 227 29" id="button18" class="btn2" visible="false" text="확인" onclick="switch1_case1_button18_onclick"/>
- <Edit readonly="true" position="absolute 89 43 225 62" id="output3"/>
- <Static text="선택부위 :" position="absolute 20 40 87 63" align="align:center middle;" id="caption14" class="cell_1"/>
- <Radio position="absolute 90 75 195 100" id="radio2" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">(L)</Col>
- <Col id="datacolumn">Left</Col>
- </Row>
- <Row>
- <Col id="codecolumn">(R)</Col>
- <Col id="datacolumn">Right</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox position="absolute 20 13 65 33" id="checkbox38" truevalue="Y" text="기타" falsevalue="N" onclick="switch1_case1_checkbox38_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case2">
- <Layouts>
- <Layout>
- <Button position="absolute 185 10 227 29" id="button2" class="btn2" visible="false" text="확인" onclick="switch1_case2_button2_onclick"/>
- <Static text="선택부위 :" position="absolute 20 40 87 63" align="align:center middle;" id="caption1" class="cell_1"/>
- <Radio position="absolute 90 75 195 100" id="radio1" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">(L)</Col>
- <Col id="datacolumn">Left</Col>
- </Row>
- <Row>
- <Col id="codecolumn">(R)</Col>
- <Col id="datacolumn">Right</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit readonly="true" position="absolute 92 43 228 62" id="output1"/>
- <Radio position="absolute 65 110 200 140" id="radio3" class="radio_search" columncount="5" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1st</Col>
- <Col id="datacolumn">1</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2nd</Col>
- <Col id="datacolumn">2</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3rd</Col>
- <Col id="datacolumn">3</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4th</Col>
- <Col id="datacolumn">4</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5th</Col>
- <Col id="datacolumn">5</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox position="absolute 20 10 65 30" id="checkbox37" text="기타" truevalue="Y" falsevalue="N" onclick="switch1_case2_checkbox37_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case3">
- <Layouts>
- <Layout>
- <Button position="absolute 186 10 228 29" id="button3" class="btn2" visible="false" text="확인" onclick="switch1_case3_button3_onclick"/>
- <Static text="선택부위 :" position="absolute 20 40 87 63" align="align:center middle;" id="caption2" class="cell_1"/>
- <Radio position="absolute 90 75 195 100" id="radio4" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">(L)</Col>
- <Col id="datacolumn">Left</Col>
- </Row>
- <Row>
- <Col id="codecolumn">(R)</Col>
- <Col id="datacolumn">Right</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 25 110 205 140" id="radio5" class="radio_search" columncount="5" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">palm</Col>
- <Col id="datacolumn">palm(손바닥)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">back</Col>
- <Col id="datacolumn">back(손등)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit readonly="true" position="absolute 92 43 228 62" id="output2"/>
- <CheckBox position="absolute 20 10 65 30" id="checkbox36" text="기타" truevalue="Y" falsevalue="N" onclick="switch1_case3_checkbox36_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" position="absolute 0 0 238 538" id="case4">
- <Layouts>
- <Layout>
- <Button position="absolute 185 10 227 29" id="button4" class="btn2" visible="false" text="확인" onclick="switch1_case4_button4_onclick"/>
- <Static text="선택부위 :" position="absolute 20 40 87 63" align="align:center middle;" id="caption3" class="cell_1"/>
- <Radio position="absolute 90 75 195 100" id="radio6" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">(L)</Col>
- <Col id="datacolumn">Left</Col>
- </Row>
- <Row>
- <Col id="codecolumn">(R)</Col>
- <Col id="datacolumn">Right</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio position="absolute 35 110 215 140" id="radio7" class="radio_search" columncount="5" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">sole</Col>
- <Col id="datacolumn">sole(발바닥)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">top</Col>
- <Col id="datacolumn">top(발등)</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit readonly="true" position="absolute 92 43 228 62" id="output4"/>
- <CheckBox position="absolute 20 10 65 30" id="checkbox35" text="기타" truevalue="Y" falsevalue="N" onclick="switch1_case4_checkbox35_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case5">
- <Layouts>
- <Layout>
- <Button position="absolute 205 10 247 29" id="button1" class="btn2" visible="false" text="확인" onclick="switch1_case5_button1_onclick"/>
- <CheckBox position="absolute 10 10 55 30" id="checkbox27" text="기타" truevalue="Y" falsevalue="N" onclick="switch1_case5_checkbox27_onclick"/>
- <Edit position="absolute 56 10 203 29" id="input1" enable="false"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div position="absolute 10 10 465 540" id="group1">
- <Layouts>
- <Layout>
- <ImageViewer position="absolute 0 5 455 530" id="img1" image="URL('IMG::emr//MN/antposimg2.png')" style="background:#ffffffff;" stretch="fit"/>
- <CheckBox position="absolute 48 302 68 322" id="checkbox1" truevalue="(anterior)finger" onclick="group1_checkbox1_onclick"/>
- <CheckBox position="absolute 110 327 130 347" id="checkbox2" truevalue="(anterior)thigh" onclick="group1_checkbox2_onclick"/>
- <CheckBox position="absolute 132 378 152 398" id="checkbox3" truevalue="(anterior)leg" onclick="group1_checkbox3_onclick"/>
- <CheckBox position="absolute 295 348 315 368" id="checkbox4" truevalue="(anterior)knee" onclick="group1_checkbox4_onclick"/>
- <CheckBox position="absolute 300 318 320 338" id="checkbox5" truevalue="(anterior)inguinal" onclick="group1_checkbox5_onclick"/>
- <CheckBox position="absolute 345 255 365 275" id="checkbox6" truevalue="(anterior)hand" onclick="group1_checkbox6_onclick"/>
- <CheckBox position="absolute 355 227 375 247" id="checkbox7" truevalue="(anterior)abdomen" onclick="group1_checkbox7_onclick"/>
- <CheckBox position="absolute 325 165 345 185" id="checkbox8" truevalue="(anterior)chest" onclick="group1_checkbox8_onclick"/>
- <CheckBox position="absolute 295 115 315 135" id="checkbox9" truevalue="(anterior)neck" onclick="group1_checkbox9_onclick"/>
- <CheckBox position="absolute 108 409 128 429" id="checkbox12" truevalue="(anterior)ankle" onclick="group1_checkbox12_onclick"/>
- <CheckBox position="absolute 110 438 130 458" id="checkbox14" truevalue="(anterior)foot" onclick="group1_checkbox14_onclick"/>
- <CheckBox position="absolute 218 28 238 48" id="checkbox16" truevalue="(anterior)face" onclick="group1_checkbox16_onclick"/>
- <CheckBox position="absolute 300 80 320 100" id="checkbox17" truevalue="(anterior)ear" onclick="group1_checkbox17_onclick"/>
- <CheckBox position="absolute 95 91 115 111" id="checkbox18" truevalue="(anterior)chin" onclick="group1_checkbox18_onclick"/>
- <CheckBox position="absolute 50 141 70 161" id="checkbox19" truevalue="(anterior)shoulder" onclick="group1_checkbox19_onclick"/>
- <CheckBox position="absolute 25 184 45 204" id="checkbox20" truevalue="(anterior)upper-arm" onclick="group1_checkbox20_onclick"/>
- <CheckBox position="absolute 25 226 45 246" id="checkbox21" truevalue="(anterior)lower-arm" onclick="group1_checkbox21_onclick"/>
- <CheckBox position="absolute 296 401 316 421" id="checkbox30" truevalue="(anterior)malleolus" onclick="group1_checkbox30_onclick"/>
- <CheckBox position="absolute 312 444 332 464" id="checkbox31" truevalue="(anterior)toe" onclick="group1_checkbox31_onclick"/>
- <CheckBox position="absolute 6 259 21 279" id="checkbox22" truevalue="(anterior)wrist" onclick="group1_checkbox22_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 750 10 1210 545" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 5 460 530" align="align:center middle;" id="grd_userlist" binddataset="ds_main_detlgrup_getVO" anchor="default" autosizingtype="row" extendsizetype="row" oncellclick="grp_sea_grd_userlist_oncellclick" autoenter="select" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="47"/>
- <Column size="120"/>
- <Column size="168"/>
- <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="코드명"/>
- <Cell col="3" text="코드설명"/>
- <Cell col="4" text="그룹코드"/>
- <Cell col="5" text="코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:grupnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:cdnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="3" displaytype="text" style="padding:2 2 2 2;" text="bind:detlinfo" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" text="bind:grupcd"/>
- <Cell col="5" text="bind:cd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1165 545 1207 564" id="button5" class="btn2" text="확인" onclick="button5_onclick"/>
- <Static id="Static00" position="absolute 470 6 526 18" style="border:0 none #808080ff,0 none #808080ff,1 solid #808080ff,0 none #808080ff;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_detlgrup_getVO" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlgrup_getVO_oncolumnchanged">
- <ColumnInfo>
- <Column id="grupnm" type="STRING"/>
- <Column id="sel" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- <Column id="detlinfo" type="STRING"/>
- <Column id="grupcd" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond_anteriogrup_anteriogruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_anteriogrup_anteriogruplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="face" type="STRING" size="256"/>
- <Column id="chin" type="STRING" size="256"/>
- <Column id="shoulder" type="STRING" size="256"/>
- <Column id="upperarm" type="STRING" size="256"/>
- <Column id="lowerarm" type="STRING" size="256"/>
- <Column id="wrist" type="STRING" size="256"/>
- <Column id="finger" type="STRING" size="256"/>
- <Column id="thigh" type="STRING" size="256"/>
- <Column id="leg" type="STRING" size="256"/>
- <Column id="ankle" type="STRING" size="256"/>
- <Column id="foot" type="STRING" size="256"/>
- <Column id="ear" type="STRING" size="256"/>
- <Column id="neck" type="STRING" size="256"/>
- <Column id="chest" type="STRING" size="256"/>
- <Column id="abdomen" type="STRING" size="256"/>
- <Column id="hand" type="STRING" size="256"/>
- <Column id="inguinal" type="STRING" size="256"/>
- <Column id="knee" type="STRING" size="256"/>
- <Column id="malleolus" type="STRING" size="256"/>
- <Column id="toe" type="STRING" size="256"/>
- <Column id="select" type="STRING" size="256"/>
- <Column id="select2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond_positiongrup_positiongruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="part" type="STRING" size="256"/>
- <Column id="leftright" type="STRING" size="256"/>
- <Column id="seqforback" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256" sumtext="기준일자(발생일자)"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_param" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etc" type="STRING" size="256"/>
- <Column id="dressing" type="STRING" size="256"/>
- <Column id="grupcd" type="STRING" size="256"/>
- <Column id="genrplceEtcStr" type="STRING" size="256"/>
- <Column id="causeEtcStr" type="STRING" size="256"/>
- <Column id="interventionEtcStr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case1.checkbox38" propid="value" datasetid="ds_main_cond_anteriogrup_anteriogruplist" columnid="select2"/>
- <BindItem id="item1" compid="switch1.case1.output3" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="part"/>
- <BindItem id="item2" compid="switch1.case1.radio2" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="leftright"/>
- <BindItem id="item3" compid="switch1.case2.checkbox37" propid="value" datasetid="ds_main_cond_anteriogrup_anteriogruplist" columnid="select2"/>
- <BindItem id="item4" compid="switch1.case2.output1" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="part"/>
- <BindItem id="item5" compid="switch1.case2.radio1" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="leftright"/>
- <BindItem id="item6" compid="switch1.case2.radio3" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="seqforback"/>
- <BindItem id="item7" compid="switch1.case3.checkbox36" propid="value" datasetid="ds_main_cond_anteriogrup_anteriogruplist" columnid="select2"/>
- <BindItem id="item8" compid="switch1.case3.output2" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="part"/>
- <BindItem id="item9" compid="switch1.case3.radio4" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="leftright"/>
- <BindItem id="item10" compid="switch1.case3.radio5" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="seqforback"/>
- <BindItem id="item11" compid="switch1.case4.checkbox35" propid="value" datasetid="ds_main_cond_anteriogrup_anteriogruplist" columnid="select2"/>
- <BindItem id="item12" compid="switch1.case4.output4" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="part"/>
- <BindItem id="item13" compid="switch1.case4.radio6" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="leftright"/>
- <BindItem id="item14" compid="switch1.case4.radio7" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="seqforback"/>
- <BindItem id="item15" compid="switch1.case5.checkbox27" propid="value" datasetid="ds_main_cond_anteriogrup_anteriogruplist" columnid="select2"/>
- <BindItem id="item16" compid="switch1.case5.input1" propid="value" datasetid="ds_main_cond_positiongrup_positiongruplist" columnid="part"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SPMNW15400
- * Creator : yjh
- * Make Date : 2016-10-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-19 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_wardcarexp::SPMNW15300.xjs"; //yjh : 커밋
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var wincloseButton = false;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15400
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNW15400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15400
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNW15400_onload(obj:Form, e:LoadEventInfo)
- {
- switch1.tabindex = 4;
- fInitialize();
-
- //grd_userlist.mergecol(grd_userlist.colRef("sel")) = false;
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW15400
- * Event : onbeforeclose
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 닫기전
- ****************************************************************************************/
- function SPMNW15400_onbeforeclose(obj:Form, e:CloseEventInfo)
- {
- if( !wincloseButton ){
- opener.frmf_setParameter("returnnull", "close");
- } else {
- opener.frmf_setParameter("returnnull", "confirmbutton");
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_cond_anteriogrup_anteriogruplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_cond_anteriogrup_anteriogruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "select" :
- group1.checkbox16.value = "";
- group1.checkbox17.value = "";
- group1.checkbox9.value = "";
- group1.checkbox8.value = "";
- group1.checkbox7.value = "";
- group1.checkbox6.value = "";
- group1.checkbox5.value = "";
- group1.checkbox4.value = "";
- group1.checkbox30.value = "";
- group1.checkbox31.value = "";
- group1.checkbox14.value = "";
- group1.checkbox12.value = "";
- group1.checkbox3.value = "";
- group1.checkbox2.value = "";
- group1.checkbox1.value = "";
- group1.checkbox22.value = "";
- group1.checkbox21.value = "";
- group1.checkbox20.value = "";
- group1.checkbox19.value = "";
- group1.checkbox18.value = "";
-
- if( e.newvalue == "(anterior)face" ){
- group1.checkbox16.value = e.newvalue;
- }else if( e.newvalue == "(anterior)ear" ){
- group1.checkbox17.value = e.newvalue;
- }else if( e.newvalue == "(anterior)neck" ){
- group1.checkbox9.value = e.newvalue;
- }else if( e.newvalue == "(anterior)chest" ){
- group1.checkbox8.value = e.newvalue;
- }else if( e.newvalue == "(anterior)abdomen" ){
- group1.checkbox7.value = e.newvalue;
- }else if( e.newvalue == "(anterior)hand" ){
- group1.checkbox6.value = e.newvalue;
- }else if( e.newvalue == "(anterior)inguinal" ){
- group1.checkbox5.value = e.newvalue;
- }else if( e.newvalue == "(anterior)knee" ){
- group1.checkbox4.value = e.newvalue;
- }else if( e.newvalue == "(anterior)malleolus" ){
- group1.checkbox30.value = e.newvalue;
- }else if( e.newvalue == "(anterior)toe" ){
- group1.checkbox31.value = e.newvalue;
- }else if( e.newvalue == "(anterior)foot" ){
- group1.checkbox14.value = e.newvalue;
- }else if( e.newvalue == "(anterior)ankle" ){
- group1.checkbox12.value = e.newvalue;
- }else if( e.newvalue == "(anterior)leg" ){
- group1.checkbox3.value = e.newvalue;
- }else if( e.newvalue == "(anterior)thigh" ){
- group1.checkbox2.value = e.newvalue;
- }else if( e.newvalue == "(anterior)finger" ){
- group1.checkbox1.value = e.newvalue;
- }else if( e.newvalue == "(anterior)wrist" ){
- group1.checkbox22.value = e.newvalue;
- }else if( e.newvalue == "(anterior)lower-arm" ){
- group1.checkbox21.value = e.newvalue;
- }else if( e.newvalue == "(anterior)upper-arm" ){
- group1.checkbox20.value = e.newvalue;
- }else if( e.newvalue == "(anterior)shoulder" ){
- group1.checkbox19.value = e.newvalue;
- }else if( e.newvalue == "(anterior)chin" ){
- group1.checkbox18.value = e.newvalue;
- }
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox16
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function group1_checkbox16_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)face" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)face");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox17_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)ear" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)ear");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox9_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)neck" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)neck");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox8_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)chest" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)chest");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox7_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)abdomen" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)abdomen");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox6_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)hand" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)hand");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox5_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)inguinal" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)inguinal");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox4_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)knee" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)knee");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox30_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)malleolus" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)malleolus");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox31_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)toe" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)toe");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox14_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)foot" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)foot");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox12_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)ankle" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)ankle");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox3_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)leg" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)leg");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)thigh" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)thigh");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)finger" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)finger");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox22_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)wrist" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)wrist");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox21_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)lower-arm" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)lower-arm");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox20_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)upper-arm" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)upper-arm");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox19_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)shoulder" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)shoulder");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- function group1_checkbox18_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "(anterior)chin" ){
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "(anterior)chin");
-
- fbodyselect();
- }else{
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
-
- fbodyunselect();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button18
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function switch1_case1_button18_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox38
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case1_checkbox38_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case1.checkbox38.value == "Y" ){
- switch1.case5.input1.enable = true;
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select2", "Y");
- ds_main_cond_positiongrup_positiongruplist.setColumn(0, "part", ""); //선택부위초기화
-
- switch1.case5.button1.setFocus();
- switch1.tabindex = 4;
- }else {
- switch1.case5.input1.enable = false;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function switch1_case2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox37
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case2_checkbox37_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case2.checkbox37.value == "Y" ){
- switch1.case5.input1.enable = true;
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select2", "Y");
- ds_main_cond_positiongrup_positiongruplist.setColumn(0, "part", ""); //선택부위초기화
- switch1.case5.button1.setFocus();
- switch1.tabindex = 4;
- }else {
- switch1.case5.input1.enable = false;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function switch1_case3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox36
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case3_checkbox36_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case3.checkbox36.value == "Y" ){
- switch1.case5.input1.enable = true;
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select2", "Y");
- ds_main_cond_positiongrup_positiongruplist.setColumn(0, "part", ""); //선택부위초기화
- switch1.case5.button1.setFocus();
- switch1.tabindex = 4;
- }else {
- switch1.case5.input1.enable = false;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function switch1_case4_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox35
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case4_checkbox35_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case4.checkbox35.value == "Y" ){
- switch1.case5.input1.enable = true;
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select","");
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select2","Y");
- ds_main_cond_positiongrup_positiongruplist.setColumn(0, "part",""); //선택부위초기화
- switch1.case5.button1.setFocus();
- switch1.tabindex = 4;
- }else {
- switch1.case5.input1.enable = false;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인버튼 클릭시
- ****************************************************************************************/
- function switch1_case5_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : checkbox27
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function switch1_case5_checkbox27_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case5.checkbox27.value == "Y" ){
- switch1.case5.input1.enable = true;
- ds_main_cond_anteriogrup_anteriogruplist.setColumn(0, "select", "");
- }else {
- switch1.case5.input1.enable = false;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_userlist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_sea_grd_userlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //기타입력영역을 보여준다.
- fShowEtcInputArea();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_detlgrup_getVO
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_detlgrup_getVO_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var grupcd = ds_main_detlgrup_getVO.getColumn(e.row, "grupcd");
-
- if( e.columnid == "detlinfo" ){
- if( grupcd == "00000001" ){
- ds_param.setColumn(0, "genrplceEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- } else if( grupcd == "00000002" ){
- ds_param.setColumn(0, "causeEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- } else if( grupcd == "00000003" ){
- ds_param.setColumn(0, "stageEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- }else if( grupcd == "00000004" ){
- ds_param.setColumn(0, "interventionEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
- }
-
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 버튼 클릭시
- ****************************************************************************************/
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- wincloseButton = true ;
- fPopImgClose();
- }
- ]]></Script>
- </Form>
- </FDL>
|