123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW07500" position="absolute 0 0 506 306" titletext="증상정보" oninit="SPMNW07500_oninit" onload="SPMNW07500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 500 306" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static position="absolute 5 10 100 24" id="cap_title" class="tit_2"/>
- <Button position="absolute 456 5 498 24" id="button1" class="btn2_letter2" text="등록" onclick="grp_biz_button1_onclick"/>
- <Shape position="absolute 0 26 499 32" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Grid position="absolute 167 30 329 283" id="grd_direc" binddataset="ds_init_direc" oncellclick="grp_biz_grd_direc_oncellclick" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="114"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="방향"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" text="bind:choice"/>
- <Cell col="1" text="bind:direc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 0 285 162 304" id="ipt_part" visible="false"/>
- <Edit position="absolute 167 285 329 304" id="ipt_direc" visible="false"/>
- <Edit position="absolute 334 285 499 304" id="ipt_symp" visible="false"/>
- <Edit position="absolute 167 285 329 304" id="ipt_cate" visible="false"/>
- <Grid id="grd_symp" taborder="1" binddataset="ds_init_symp" useinputpanel="false" cellclickbound="cell" oncellclick="grp_biz_grd_symp_oncellclick" position="absolute 334 30 499 283">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="114"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="증상"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" text="bind:choice"/>
- <Cell col="1" text="bind:symp"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_cate" taborder="2" binddataset="ds_init_cate" useinputpanel="false" cellclickbound="cell" oncellclick="grp_biz_grd_cate_oncellclick" visible="false" position="absolute 167 30 329 283">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="114"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="부착기구"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" text="bind:choice"/>
- <Cell col="1" text="bind:cate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_part" taborder="3" binddataset="ds_init_part" useinputpanel="false" cellclickbound="cell" oncellclick="grp_biz_grd_part_oncellclick" position="absolute 0 30 162 283">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="114"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="부위"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" text="bind:choice"/>
- <Cell col="1" text="bind:part"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_part" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_init_part_oncolumnchanged">
- <ColumnInfo>
- <Column id="choice" type="STRING"/>
- <Column id="part" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="part">전신</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="flag">01</Col>
- <Col id="part">사지</Col>
- </Row>
- <Row>
- <Col id="flag">01</Col>
- <Col id="part">상지</Col>
- </Row>
- <Row>
- <Col id="part">하지</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">얼굴</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">안검</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">복부</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">목</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">두부</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">기타</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="part">전신</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">사지</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">상지</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">하지</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">얼굴</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">안검</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="part">전신</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">사지</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">상지</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">하지</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">얼굴</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">안검</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">chemo용 IV route</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="part">기타</Col>
- <Col id="flag">03</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_direc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_init_direc_oncolumnchanged">
- <ColumnInfo>
- <Column id="choice" type="STRING"/>
- <Column id="direc" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="direc">전체</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">상</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">하</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">좌</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">우</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">기타</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="direc">전체</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="direc">좌</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="direc">우</Col>
- <Col id="flag">02</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_symp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_init_symp_oncolumnchanged">
- <ColumnInfo>
- <Column id="choice" type="STRING"/>
- <Column id="symp" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="symp">둔함</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">쑤심</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">예리함</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">찌르는듯</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">퍼짐</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">마비</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">부전마비</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="symp">호흡곤란</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">객담</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">기침</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">폐잡음</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">청색증</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">객혈</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">이상호흡음</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">기관절개관</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="symp">연하곤란</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">오심</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">구토</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">소화장애</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">복부팽만</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">복부동통</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">점액변</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">인공장</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">토혈</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="symp">무감각</Col>
- <Col id="flag">04</Col>
- </Row>
- <Row>
- <Col id="symp">저림</Col>
- <Col id="flag">04</Col>
- </Row>
- <Row>
- <Col id="symp">동통</Col>
- <Col id="flag">04</Col>
- </Row>
- <Row>
- <Col id="symp">Pale</Col>
- <Col id="flag">05</Col>
- </Row>
- <Row>
- <Col id="symp">Jaundiced</Col>
- <Col id="flag">05</Col>
- </Row>
- <Row>
- <Col id="symp">Flushed</Col>
- <Col id="flag">05</Col>
- </Row>
- <Row>
- <Col id="symp">Cyanotic</Col>
- <Col id="flag">05</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">05</Col>
- </Row>
- <Row>
- <Col id="symp">발진</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">물집</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">흉터</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">상처</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">반점</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">욕창</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">발한</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">건조</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">소양감</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">불결함</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">06</Col>
- </Row>
- <Row>
- <Col id="symp">빈뇨</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">핍뇨</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">혈뇨</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">긴급뇨의</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">요실금</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">작열감</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">배뇨곤란</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">거품뇨</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">다뇨</Col>
- <Col id="flag">07</Col>
- </Row>
- <Row>
- <Col id="symp">기타</Col>
- <Col id="flag">07</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_init_cate_oncolumnchanged">
- <ColumnInfo>
- <Column id="choice" type="STRING"/>
- <Column id="cate" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row>
- <Col id="cate">PTBD</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="cate">L-Tube</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="cate">PEG</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="cate">기타</Col>
- <Col id="flag">01</Col>
- </Row>
- <Row>
- <Col id="cate">Foley catheter</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="cate">Cystostomy</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="cate">Nephrostomy</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="cate">Urostomy</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="cate">기타</Col>
- <Col id="flag">02</Col>
- </Row>
- <Row>
- <Col id="cate">colostomy</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="cate">ileostomy</Col>
- <Col id="flag">03</Col>
- </Row>
- <Row>
- <Col id="cate">기타</Col>
- <Col id="flag">03</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var part="";
- var direc = "";
- var symp="";
- var title = "";
- var cate = "";
- part = opener.frmf_getParameter("SPMNW07500_PARAM1");
- direc = opener.frmf_getParameter("SPMNW07500_PARAM2");
- symp = opener.frmf_getParameter("SPMNW07500_PARAM3");
- title = opener.frmf_getParameter("SPMNW07500_PARAM4");
- cate = opener.frmf_getParameter("SPMNW07500_PARAM5");
- function SPMNW07500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMNW07500_onload(obj:Form, e:LoadEventInfo)
- {
- grp_biz.cap_title.text = title;
-
- if(part == "00")
- {
- grp_biz.grd_part.visible = false;
- }
- else
- {
- ds_init_part.filter("flag == '"+ part +"'");
- }
-
- if(direc == "00")
- {
- grp_biz.grd_direc.visible= false;
- }
- else
- {
- ds_init_direc.filter("flag == '"+ direc +"'");
- }
- if(symp == "00")
- {
- grp_biz.grd_symp.visible= false;
- }
- else
- {
- ds_init_symp.filter("flag == '"+ symp +"'");
- }
-
- if(cate == "00")
- {
- grp_biz.grd_cate.visible= false;
- }
- else
- {
- grp_biz.grd_cate.visible= true;
- ds_init_cate.filter("flag == '"+ cate +"'");
- }
-
- opener.frmf_setParameter("SMMNW03100_PARAM4", "N");
- }
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- var my_array = new Array();
- // var part = opener.javascript.getParameter("SPMNW07500_PARAM1");
- // var direc = opener.javascript.getParameter("SPMNW07500_PARAM2");
- // var symp = opener.javascript.getParameter("SPMNW07500_PARAM3");
- opener.frmf_setParameter("SMMNW03100_PARAM4", "Y");
- if(part != "00")
- {
- for(var i = 0; i < ds_init_part.rowcount;i++)
- {
- if(ds_init_part.getColumn(i, "choice") == "1")
- {
- my_array[cnt] = ds_init_part.getColumn(i, "part");
-
- if(ds_init_part.getColumn(i, "part") == "기타")
- {
- my_array[cnt] += "(" + grp_biz.ipt_part.value + ")";
- }
- cnt++;
- }
- }
- opener.frmf_setParameter("SMMNW03100_PARAM1", my_array);
- cnt = 0;
- my_array = new Array();
- }
- if(direc != "00")
- {
- for(var i = 0; i < ds_init_direc.rowcount;i++)
- {
- if(ds_init_direc.getColumn(i, "choice") == "1")
- {
- my_array[cnt] = ds_init_direc.getColumn(i, "direc");
- if(ds_init_direc.getColumn(i, "direc") == "기타")
- {
- my_array[cnt] += "(" + grp_biz.ipt_direc.value + ")";
- }
- cnt++;
- }
- }
- opener.frmf_setParameter("SMMNW03100_PARAM2", my_array);
- cnt = 0;
- my_array = new Array();
- }
- if(symp != "00")
- {
- for(var i = 0; i < ds_init_symp.rowcount;i++)
- {
- if(ds_init_symp.getColumn(i, "choice") == "1")
- {
- my_array[cnt] = ds_init_symp.getColumn(i, "symp");
-
- if(ds_init_symp.getColumn(i, "symp") == "기타")
- {
- my_array[cnt] += "(" + grp_biz.ipt_symp.value + ")";
- }
- cnt++;
- }
- }
- opener.frmf_setParameter("SMMNW03100_PARAM3", my_array);
- cnt = 0;
- my_array = new Array();
- }
- if(cate != "00")
- {
- for(var i = 0; i < ds_init_cate.rowcount;i++)
- {
- if(ds_init_cate.getColumn(i, "choice") == "1")
- {
- my_array[cnt] = ds_init_cate.getColumn(i, "cate");
-
- if(ds_init_cate.getColumn(i, "cate") == "기타")
- {
- my_array[cnt] += "(" + grp_biz.ipt_cate.value + ")";
- }
- cnt++;
- }
- }
-
- opener.frmf_setParameter("SMMNW03100_PARAM5", my_array);
- cnt = 0;
- my_array = new Array();
- }
- this.close();
- }
- function ds_init_part_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- for(var i = 0; i < ds_init_part.rowcount; i++)
- {
- if(ds_init_part.getColumn(i, "choice") == "1" && ds_init_part.getColumn(i, "part") == "기타")
- {
- grp_biz.ipt_part.visible = true;
- }
- else
- {
- grp_biz.ipt_part.visible = false;
- grp_biz.ipt_part.value = "";
- }
- }
- }
- function ds_init_direc_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- for(var i = 0; i < ds_init_direc.rowcount; i++)
- {
- if(ds_init_direc.getColumn(i, "choice") == "1" && ds_init_direc.getColumn(i, "direc") == "기타")
- {
- grp_biz.ipt_direc.visible = true;
- }
- else
- {
- grp_biz.ipt_direc.visible = false;
- grp_biz.ipt_direc.value = "";
- }
- }
- }
- function ds_init_symp_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- for(var i = 0; i < ds_init_symp.rowcount; i++)
- {
- if(ds_init_symp.getColumn(i, "choice") == "1" && ds_init_symp.getColumn(i, "symp") == "기타")
- {
- grp_biz.ipt_symp.visible = true;
- }
- else
- {
- grp_biz.ipt_symp.visible = false;
- grp_biz.ipt_symp.value = "";
- }
- }
- }
- function ds_init_cate_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- for(var i = 0; i < ds_init_cate.rowcount; i++)
- {
- if(ds_init_cate.getColumn(i, "choice") == "1" && ds_init_cate.getColumn(i, "cate") == "기타")
- {
- grp_biz.ipt_cate.visible = true;
- }
- else
- {
- grp_biz.ipt_cate.visible = false;
- grp_biz.ipt_cate.value = "";
- }
- }
- }
- function grp_biz_grd_part_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 0 && ds_init_part.getColumn(e.row, "choice") == "1" ){
- ds_init_part.setColumn(e.row, "choice", "0");
- }else if( e.col == 0 ){
- ds_init_part.setColumn(e.row, "choice", "1");
- }
- }
- function grp_biz_grd_cate_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 0 && ds_init_cate.getColumn(e.row, "choice") == "1" ){
- ds_init_cate.setColumn(e.row, "choice", "0");
- }else if( e.col == 0 ){
- ds_init_cate.setColumn(e.row, "choice", "1");
- }
- }
- function grp_biz_grd_symp_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 0 && ds_init_symp.getColumn(e.row, "choice") == "1" ){
- ds_init_symp.setColumn(e.row, "choice", "0");
- }else if( e.col == 0 ){
- ds_init_symp.setColumn(e.row, "choice", "1");
- }
- }
- function grp_biz_grd_direc_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 0 && ds_init_direc.getColumn(e.row, "choice") == "1" ){
- ds_init_direc.setColumn(e.row, "choice", "0");
- }else if( e.col == 0 ){
- ds_init_direc.setColumn(e.row, "choice", "1");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|