123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNE09500" position="absolute 0 0 932 778" titletext="NEDIS, 외상등록체계 재검토 내역 관리" oninit="SMMNE09500_oninit" onload="SMMNE09500_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="NEDIS, 외상등록체계 재검토 내역 관리" class="tit_1" position="absolute 0 0 264 25"/>
- <Grid id="grd_patlist" class="datagrid2" taborder="1" binddataset="ds_main_patlist" useinputpanel="false" autofittype="col" position="absolute 0 74 930 774" anchor="all" oncelldblclick="grd_patlist_oncelldblclick" oncellclick="grd_patlist_oncellclick" oncloseup="grd_patlist_oncloseup" onlbuttonup="grd_patlist_onlbuttonup" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="65"/>
- <Column size="97"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="220"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="환자번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" colspan="2" text="내원일시" taborder="undefined"/>
- <Cell col="5" text="전송상태"/>
- <Cell col="6" colspan="2" text="퇴실일시" taborder="undefined"/>
- <Cell col="8" text="응급진료결과"/>
- <Cell col="9" colspan="2" text="퇴원일시" taborder="undefined"/>
- <Cell col="11" text="퇴원결과"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" style="padding:0 0 0 5;" text="bind:ptmiidno"/>
- <Cell col="2" text="bind:ptminame"/>
- <Cell col="3" displaytype="expr:utlf_isNull(ptmiindt) ? 'normal' : 'date'" text="bind:ptmiindt"/>
- <Cell col="4" text="bind:ptmiintm" mask="99:99" maskchar=" "/>
- <Cell col="5" displaytype="combo" edittype="combo" style="padding:0 0 0 5;" text="bind:ptmistat" combodataset="ds_init_ptmistat" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6" displaytype="expr:utlf_isNull(ptmiotdt) ? 'normal' : 'date'" text="bind:ptmiotdt"/>
- <Cell col="7" text="bind:ptmiottm" mask="99:99" maskchar=" "/>
- <Cell col="8" displaytype="combo" edittype="combo" style="padding:0 0 0 5;" text="bind:ptmiemrt" combodataset="ds_init_ptmiemrt" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="expr:utlf_isNull(ptmidcdt) ? 'normal' : 'date'" text="bind:ptmidcdt" maskchar=" " calendardisplaynulltype="default"/>
- <Cell col="10" text="bind:ptmidctm" mask="99:99" maskchar=" "/>
- <Cell col="11" displaytype="combo" edittype="combo" style="padding:0 0 0 5;" text="bind:ptmidcrt" combodataset="ds_init_ptmidcrt" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group3" taborder="2" class="div_SA" position="absolute 0 25 930 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_srchindxcd" taborder="0" text="조회" class="btn1" position="absolute 696 10 752 32" anchor="top right" onclick="group3_btn_srchindxcd_onclick"/>
- <Shape id="line27" linetype="vertical" class="line_4" position="absolute 680 10 686 32" anchor="top right"/>
- <Static id="caption1" text="기 간 :" class="search_name" position="absolute 19 13 74 30" anchor="default"/>
- <Calendar id="input1" taborder="1" class="input_s_essential" position="absolute 81 10 186 32" anchor="default" dateformat="yyyy-MM-dd" value="null" tabstop="true" autoselect="true" autoskip="true"/>
- <Button id="btn_save" taborder="3" text="수정 없는 재검토 확인" class="btn2" position="absolute 758 10 916 32" anchor="top right" onclick="group3_btn_save_onclick"/>
- <Calendar id="input2" taborder="2" class="input_s_essential" position="absolute 211 10 316 32" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Static id="caption3" text="~" position="absolute 193 11 206 31" anchor="default"/>
- <Radio id="Radio00" taborder="4" columncount="2" rowcount="0" position="absolute 345 12 529 34" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_Radio00_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">PTMI</Col>
- <Col id="datacolumn">네디스</Col>
- </Row>
- <Row>
- <Col id="codecolumn">TRMS</Col>
- <Col id="datacolumn">외상등록체계</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line13" class="line_10" position="absolute 0 69 930 75" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="ptmiidno" type="STRING"/>
- <Column id="ptmiindt" type="STRING"/>
- <Column id="ptmiintm" type="STRING"/>
- <Column id="ptmistat" type="STRING"/>
- <Column id="ptmiotdt" type="STRING"/>
- <Column id="ptmiottm" type="STRING"/>
- <Column id="ptmiemrt" type="STRING"/>
- <Column id="ptmidcdt" type="STRING"/>
- <Column id="ptmidctm" type="STRING"/>
- <Column id="ptmidcrt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sdate" type="STRING" size="256"/>
- <Column id="edate" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ptmistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">재검토필요(퇴실후)</Col>
- <Col id="cdid">B</Col>
- </Row>
- <Row>
- <Col id="cdnm">재검토필요(퇴원후)</Col>
- <Col id="cdid">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ptmiemrt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">증상이 호전되어 귀가</Col>
- <Col id="cdid">11</Col>
- </Row>
- <Row>
- <Col id="cdnm">말기질환으로 귀가(가정간호 등)</Col>
- <Col id="cdid">12</Col>
- </Row>
- <Row>
- <Col id="cdnm">가망 없는 퇴원(hopeless discharge)</Col>
- <Col id="cdid">13</Col>
- </Row>
- <Row>
- <Col id="cdnm">자의 퇴원</Col>
- <Col id="cdid">14</Col>
- </Row>
- <Row>
- <Col id="cdnm">외래방문 후 귀가</Col>
- <Col id="cdid">15</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타 다른 상태로 귀가</Col>
- <Col id="cdid">18</Col>
- </Row>
- <Row>
- <Col id="cdnm">병실부족 전원</Col>
- <Col id="cdid">21</Col>
- </Row>
- <Row>
- <Col id="cdnm">중환자실 부족 전원</Col>
- <Col id="cdid">22</Col>
- </Row>
- <Row>
- <Col id="cdnm">당장 응급 수술/처치 불가 전원</Col>
- <Col id="cdid">23</Col>
- </Row>
- <Row>
- <Col id="cdnm">전문 응급의료를 요하여 상급병원 전원</Col>
- <Col id="cdid">24</Col>
- </Row>
- <Row>
- <Col id="cdnm">경증으로 1,2차 의료기관 전원</Col>
- <Col id="cdid">25</Col>
- </Row>
- <Row>
- <Col id="cdnm">장기 시설로 전원</Col>
- <Col id="cdid">26</Col>
- </Row>
- <Row>
- <Col id="cdnm">환자 사정으로 전원</Col>
- <Col id="cdid">27</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타 다른 사유로 전원</Col>
- <Col id="cdid">28</Col>
- </Row>
- <Row>
- <Col id="cdnm">일반병실로 입원</Col>
- <Col id="cdid">31</Col>
- </Row>
- <Row>
- <Col id="cdnm">중환자실로 입원</Col>
- <Col id="cdid">32</Col>
- </Row>
- <Row>
- <Col id="cdnm">수술실로 간 후 병실로 입원</Col>
- <Col id="cdid">33</Col>
- </Row>
- <Row>
- <Col id="cdnm">수술실로 간 후 중환자실로 입원</Col>
- <Col id="cdid">34</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타 다른 사유로 입원</Col>
- <Col id="cdid">38</Col>
- </Row>
- <Row>
- <Col id="cdnm">내원 시 이미 사망한 상태(DOA)</Col>
- <Col id="cdid">41</Col>
- </Row>
- <Row>
- <Col id="cdnm">응급실에서 DNR로 사망</Col>
- <Col id="cdid">42</Col>
- </Row>
- <Row>
- <Col id="cdnm">응급실에서 CPR 후 사망</Col>
- <Col id="cdid">43</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타 다른 사유로 사망</Col>
- <Col id="cdid">48</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타</Col>
- <Col id="cdid">88</Col>
- </Row>
- <Row>
- <Col id="cdnm">미상</Col>
- <Col id="cdid">99</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ptmidcrt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">정상퇴원</Col>
- <Col id="cdid">1</Col>
- </Row>
- <Row>
- <Col id="cdnm">자의퇴원</Col>
- <Col id="cdid">2</Col>
- </Row>
- <Row>
- <Col id="cdnm">전원</Col>
- <Col id="cdid">3</Col>
- </Row>
- <Row>
- <Col id="cdnm">사망</Col>
- <Col id="cdid">4</Col>
- </Row>
- <Row>
- <Col id="cdnm">탈원</Col>
- <Col id="cdid">5</Col>
- </Row>
- <Row>
- <Col id="cdnm">가망없는 퇴원</Col>
- <Col id="cdid">6</Col>
- </Row>
- <Row>
- <Col id="cdnm">기타</Col>
- <Col id="cdid">8</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond_emcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.input1" propid="value" datasetid="ds_cond" columnid="sdate"/>
- <BindItem id="item1" compid="group3.input2" propid="value" datasetid="ds_cond" columnid="edate"/>
- <BindItem id="item2" compid="group3.Radio00" propid="value" datasetid="ds_cond" columnid="flag"/>
- </Bind>
- <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 arErrorCode = new HashArray();
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMMNE09500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNE09500_onload(obj:Form, e:LoadEventInfo)
- {
- ds_cond.setColumn(0, "flag", "PTMI");
- var workdd = utlf_getCurrentDate();
- ds_cond.setColumn(0, "sdate", workdd);
- ds_cond.setColumn(0, "edate", workdd);
-
- var oParam = {};
- oParam.id = "TRMNE09502";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "regGetEmcdForNedis";
- oParam.inds = "";
- oParam.outds = "ds_cond_emcdinfo=emcdinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE09502";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group3_btn_srchindxcd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_srchdata.clear();
- ds_send_srchdata.copyData(ds_cond);
- ds_send_srchdata.addColumn("emcd", "string", 256);
- ds_send_srchdata.setColumn(0, "emcd", ds_cond_emcdinfo.getColumn(0, "emcd"));
-
-
- // 20200211 김현석, 재검토 내역 중 외상등록체계도 추가. 요청번호:20200206038
- if ( ds_cond.getColumn(0, "flag") == "PTMI")
- {
- var oParam = {};
- oParam.id = "TRMNE09501";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetNedisReviewPlist";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_patlist=patlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE09501";
- } else if ( ds_cond.getColumn(0, "flag") == "TRMS")
- {
- var oParam = {};
- oParam.id = "TRMNE09504";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetTrReviewPlist";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_patlist=patlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE09501";
- }
-
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 수정 없는 재검토 확인 button event
- ******************************************************************/
- function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_savedata.clear();
- ds_send_savedata.addColumn("ptmiemcd", "string", 256);
- ds_send_savedata.addColumn("ptmiidno", "string", 256);
- ds_send_savedata.addColumn("ptmiindt", "string", 256);
- ds_send_savedata.addColumn("ptmiintm", "string", 256);
- ds_send_savedata.addColumn("ptmistat", "string", 256);
- ds_send_savedata.addColumn("sendstat", "string", 256);
-
- var cnt = ds_main_patlist.rowcount;
- var sData = "";
- var ptmiemcd = ds_cond_emcdinfo.getColumn(0, "emcd");
- var ptmiidno, ptmiindt, ptmiintm, ptmistat, sendstat;
-
- for( var i = 0; i < cnt; i++ ) {
- if( ds_main_patlist.getColumn(i, "chk") == "1" ) {
- var iRow = ds_send_savedata.addRow();
-
- ds_send_savedata.setColumn(iRow, "ptmiemcd", ptmiemcd);
- ds_send_savedata.setColumn(iRow, "ptmiidno", ds_main_patlist.getColumn(i, "ptmiidno"));
- ds_send_savedata.setColumn(iRow, "ptmiindt", ds_main_patlist.getColumn(i, "ptmiindt"));
- ds_send_savedata.setColumn(iRow, "ptmiintm", ds_main_patlist.getColumn(i, "ptmiintm"));
- ds_send_savedata.setColumn(iRow, "ptmistat", ds_main_patlist.getColumn(i, "ptmistat"));
- ds_send_savedata.setColumn(iRow, "sendstat", "O");
- }
- }
-
- // 20200211 김현석, 재검토 내역 중 외상등록체계도 추가. 요청번호:20200206038
- if ( ds_cond.getColumn(0, "flag") == "PTMI")
- {
- var oParam = {};
- oParam.id = "TXMNE09501";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqSetNedisReviewPlist";
- oParam.inds = "savedata=ds_send_savedata";
- oParam.outds = "ds_temp=item";
- oParam.async = false;
- oParam.callback = "cf_TXMNE09501";
- } else if ( ds_cond.getColumn(0, "flag") == "TRMS")
- {
- var oParam = {};
- oParam.id = "TXMNE09501";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqSetTrReviewPlist";
- oParam.inds = "savedata=ds_send_savedata";
- oParam.outds = "ds_temp=item";
- oParam.async = false;
- oParam.callback = "cf_TXMNE09501";
- }
- tranf_submit(oParam);
-
- if( arErrorCode.pop("TXMNE09501") > -1 ) {
- frmf_inputEnterKey("group3.btn_srchindxcd", "onclick", new ClickEventInfo);
- } else {
- sysf_messageBox("전송에 실패하였습니다", "E999");
- }
- }
- function cf_TXMNE09501(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /******************************************************************
- * Argument :
- * Description : list 상세조회 event
- ******************************************************************/
- function grd_patlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var cRow = ds_main_patlist.rowposition;
-
- if( cRow < 0 ){
- return;
- }
-
- var pid = ds_main_patlist.getColumn(cRow, "ptmiidno");
- var orddd = ds_main_patlist.getColumn(cRow, "ptmiindt");
-
- ds_send_reqdata.clear();
- ds_send_reqdata.addColumn("pid", "string", 256);
- ds_send_reqdata.addColumn("orddd", "string", 256);
- var iRow = ds_send_reqdata.addRow();
-
- ds_send_reqdata.setColumn(iRow, "pid", pid);
- ds_send_reqdata.setColumn(iRow, "orddd", orddd);
-
- var oParam = {};
- oParam.id = "TRMNE09503";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "regGetPatinfoForTriage";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_patinfo=patinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNE09503";
- tranf_submit(oParam);
-
- if( ds_temp_patinfo.rowcount > 0 ){
-
- var paramstr = ds_temp_patinfo.getColumn(0, "pid") + "▦" +
- ds_temp_patinfo.getColumn(0, "orddd") + "▦" +
- ds_temp_patinfo.getColumn(0, "cretno") + "▦" +
- ds_temp_patinfo.getColumn(0, "sex") + "▦" +
- ds_temp_patinfo.getColumn(0, "age") + "▦" +
- "▦" +
- ds_temp_patinfo.getColumn(0, "patnm") + "▦" +
- ds_temp_patinfo.getColumn(0, "orddeptcd") + "▦" +
- ds_temp_patinfo.getColumn(0, "orddeptnm") + "▦" +
- ds_temp_patinfo.getColumn(0, "orddrid") ;
-
- frmf_setParameter("SPMNE04400_param", paramstr);
- frmf_modal("SPMNE04400", "SPMNE04400", null, null, null, null, null, null, null, null, null, null, "M");
-
- frmf_setParameter("SPMNE04400_param", "");
- }
- }
- var lastrow1 = -1;
- var lastcol1 = -1;
- var bDrop1 = false;
- function grd_patlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow1 = -1;
- lastcol1 = -1;
- }
- function grd_patlist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var dsGridBind = eval(obj.binddataset);
- var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
-
- if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
- obj.showEditor(false);
- }
-
- bDrop1 = false;
- lastrow1 = e.row;
- lastcol1 = e.col;
- }
- function grd_patlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
-
- var dsGridBind = eval(obj.binddataset);
-
- // Combo DropDown Click 처리
- obj.autoenter = "key";
-
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop1 = true;
- }
- if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
- // Combo 선택시 활성화 및 combodatacol 변경
- if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
- obj.showEditor(true);
- }else{
- if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
- obj.setCellPos(e.col);
- dsGridBind.rowposition = e.row;
- obj.showEditor(true);
- if(bDrop1) {
- obj.dropdownCombo();
- }
- }
- }
- }else{
- obj.autoenter = "key";
- }
- }
- function group3_Radio00_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- group3_btn_srchindxcd_onclick(null, null);
- }
- ]]></Script>
- </Form>
- </FDL>
|