123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN02800" position="absolute 0 0 666 600" titletext="출생증명서 정보조사지" oninit="SMMNN02800_oninit" onload="SMMNN02800_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="출생증명서 정보조사지" class="tit_1" position="absolute 0 0 164 21"/>
- <Div id="roundrect1" type="roundrectangle" position="absolute 0 21 666 91" class="div_SA"/>
- <Edit id="ipt_pid" taborder="1" position="absolute 302 61 415 80" onkeydown="ipt_pid_onkeydown" autoselect="true"/>
- <CheckBox id="bool2" taborder="2" position="absolute 330 30 347 50" onclick="bool2_onclick"/>
- <Static id="caption7" text="재원환자만" position="absolute 352 31 419 51"/>
- <Calendar id="ipt_bthddtodd" taborder="3" class="input_essential" position="absolute 202 31 313 50" autoselect="true"/>
- <Static id="caption4" text="~" position="absolute 184 33 199 47"/>
- <Calendar id="ipt_bthddfromdd" taborder="4" class="input_essential" position="absolute 64 31 175 50" autoselect="true"/>
- <Static id="caption3" text="분만일:" class="search_name" position="absolute 5 33 59 50"/>
- <Static id="caption2" text="산모명:" class="search_name" position="absolute 5 63 64 80"/>
- <Edit id="ipt_patnm" taborder="5" position="absolute 63 60 180 79" onkeydown="ipt_patnm_onkeydown" autoselect="true"/>
- <Static id="caption5" text="산모등록번호:" class="search_name" position="absolute 204 63 296 80"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 582 38 588 82"/>
- <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 600 48 656 70" onclick="btn_search_onclick"/>
- <Grid id="grd_bthreclist" class="datagrid2" taborder="7" binddataset="ds_grd_bthreclist" useinputpanel="false" position="absolute 0 122 666 372" oncelldblclick="grd_bthreclist_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="55"/>
- <Column size="56"/>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="58"/>
- <Column size="26"/>
- <Column size="50"/>
- <Column size="56"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="56"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="산모명"/>
- <Cell col="3" text="S/A"/>
- <Cell col="4" text="입원일자"/>
- <Cell col="5" text="분만일자"/>
- <Cell col="6" text="분만 일시"/>
- <Cell col="7" text="남편명"/>
- <Cell col="8" text="신생아 등록번호"/>
- <Cell col="9" text="신생아 이름"/>
- <Cell col="10" text="산모유형"/>
- <Cell col="11" text="재태연령"/>
- <Cell col="12" colspan="2" text="분만형태" taborder="undefined"/>
- <Cell col="14" text="분만장소"/>
- <Cell col="15" text="생사여부"/>
- <Cell col="16" text="성별"/>
- <Cell col="17" text="몸무게 (g)"/>
- <Cell col="18" text="중량(g)"/>
- <Cell col="19" text="cretno"/>
- <Cell col="20" text="wardcd"/>
- <Cell col="21" text="roomcd"/>
- <Cell col="22" text="indschacptstat"/>
- <Cell col="23" text="신장(Cm)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:pid" suppress="1" suppressalign="middle,over"/>
- <Cell col="2" text="bind:patnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="3" text="bind:sexage"/>
- <Cell col="4" text="bind:indd" mask="####-##-##"/>
- <Cell col="5" text="bind:bthdd" mask="####-##-##"/>
- <Cell col="6" text="bind:bthtm" mask="##:##"/>
- <Cell col="7" text="bind:ptnernm"/>
- <Cell col="8" text="bind:babyno"/>
- <Cell col="9" text="bind:babynm"/>
- <Cell col="10" text="bind:mothertype"/>
- <Cell col="11" text="bind:prgweekday"/>
- <Cell col="12" text="bind:dlivkindnm" enable="false"/>
- <Cell col="13" text="bind:dlivflagnm"/>
- <Cell col="14" text="bind:dlivplcenm"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="padding:0 0 0 5;" text="bind:deathyn" combodataset="ds_deathyn" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="16" text="bind:gndr"/>
- <Cell col="17" text="bind:weig"/>
- <Cell col="18" text="bind:avulsionweig"/>
- <Cell col="19" text="bind:cretno"/>
- <Cell col="20" text="bind:wardcd"/>
- <Cell col="21" text="bind:roomcd"/>
- <Cell col="22" text="bind:indschacptstat"/>
- <Cell col="23" text="bind:height"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption10" text="분만환자 리스트" class="tit_2" position="absolute 0 101 122 118"/>
- <Static id="caption11" text="출생증명서 정보조사 내역" class="tit_2" position="absolute 0 384 180 402"/>
- <Static id="caption43" text="산모 등록번호" class="cell_1" position="absolute 0 405 125 428" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption8" text="부" class="cell_1" position="absolute 0 454 25 477" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption12" text="모" class="cell_1" position="absolute 0 478 25 501" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption19" text="이름" class="cell_1" position="absolute 26 429 126 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption13" text="주민번호 앞자리" class="cell_1" position="absolute 127 429 236 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption14" text="만 나이" class="cell_1" position="absolute 237 429 314 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption15" text="직업" class="cell_1" position="absolute 315 429 426 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption16" text="연락처" class="cell_1" position="absolute 427 429 555 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption17" text="혈액형" class="cell_1" position="absolute 556 429 665 452" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption18" text="출생신고주소" class="cell_1" position="absolute 0 502 126 525" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption20" text="출생일시" class="cell_1" position="absolute 0 527 126 550" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption21" text="재태연령" class="cell_1" position="absolute 0 552 126 575" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption22" text="분만형태" class="cell_1" position="absolute 0 577 126 600" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption23" text="성별" class="cell_1" position="absolute 235 527 314 550" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption24" text="체중(g)" class="cell_1" position="absolute 427 527 506 550" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption25" text="Placenta(g)" class="cell_1" position="absolute 235 552 314 575" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption26" text="기타" class="cell_1" position="absolute 235 577 314 600" style="padding:0 0 0 0;align:center middle;"/>
- <Static id="caption27" class="cell_1" position="absolute 0 429 25 452"/>
- <Edit id="output1" taborder="8" readonly="true" position="absolute 27 454 126 477" enable="false"/>
- <Edit id="output2" taborder="9" readonly="true" position="absolute 27 478 126 501" enable="false"/>
- <Edit id="output3" taborder="10" readonly="true" position="absolute 127 454 236 477" enable="false"/>
- <Edit id="output4" taborder="11" readonly="true" position="absolute 127 478 236 501" enable="false"/>
- <Edit id="output5" taborder="12" readonly="true" position="absolute 237 454 314 477" enable="false"/>
- <Edit id="output6" taborder="13" readonly="true" position="absolute 237 478 314 501" enable="false"/>
- <Edit id="output7" taborder="14" readonly="true" position="absolute 315 454 427 477" enable="false"/>
- <Edit id="output8" taborder="15" readonly="true" position="absolute 315 478 427 501" enable="false"/>
- <Edit id="output9" taborder="16" readonly="true" position="absolute 428 454 556 477" enable="false"/>
- <Edit id="output10" taborder="17" readonly="true" position="absolute 428 478 556 501" enable="false"/>
- <Edit id="input1" taborder="18" position="absolute 127 502 665 525" autoselect="true"/>
- <Edit id="output12" taborder="19" readonly="true" position="absolute 557 454 665 477" enable="false"/>
- <Edit id="output13" taborder="20" readonly="true" position="absolute 557 478 665 501" enable="false"/>
- <MaskEdit id="output14" taborder="21" readonly="true" mask="####-##-## ##:##" position="absolute 127 527 234 550" enable="false" type="string"/>
- <Edit id="output15" taborder="22" readonly="true" position="absolute 127 552 234 575" enable="false"/>
- <Edit id="output16" taborder="23" readonly="true" position="absolute 127 577 234 600" enable="false"/>
- <Edit id="output17" taborder="24" readonly="true" position="absolute 315 527 426 550" enable="false"/>
- <Edit id="output18" taborder="25" readonly="true" position="absolute 315 552 426 575" enable="false"/>
- <Edit id="input2" taborder="26" position="absolute 315 577 426 600" autoselect="true"/>
- <Edit id="output20" taborder="27" readonly="true" position="absolute 508 527 624 550" enable="false"/>
- <Edit id="output21" taborder="28" readonly="true" position="absolute 127 406 233 427" enable="false"/>
- <Button id="btn_save" taborder="29" text="저장" class="btn5" position="absolute 623 380 665 399" onclick="btn_save_onclick"/>
- <Static id="caption1" text="A/S" class="cell_1" position="absolute 427 552 506 575" style="padding:0 0 0 0;align:center middle;"/>
- <Edit id="output11" taborder="30" readonly="true" position="absolute 508 552 624 575" enable="false"/>
- <Shape id="line00" class="line_10" position="absolute 0 114 666 126"/>
- <Shape id="line01" class="line_10" position="absolute 0 397 666 409"/>
- <Static id="caption00" class="cell_1" position="absolute 427 577 506 600" style="padding:0 0 0 0;align:center middle;" text="신장(Cm)"/>
- <Edit id="output00" taborder="31" readonly="true" enable="false" position="absolute 508 577 624 600"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_bthreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnernm" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="ptnerrrgstno" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="ptnerage" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="ptnerjobcd" type="STRING" size="256"/>
- <Column id="jobcd" type="STRING" size="256"/>
- <Column id="ptnertel" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="bthaddr" type="STRING" size="256"/>
- <Column id="ptnerbtype" type="STRING" size="256"/>
- <Column id="bdbtype" type="STRING" size="256"/>
- <Column id="bthdt" type="STRING" size="256"/>
- <Column id="prgweekday" type="STRING" size="256"/>
- <Column id="dlivkindnm" type="STRING" size="256"/>
- <Column id="gndr" type="STRING" size="256"/>
- <Column id="avulsionweig" type="STRING" size="256"/>
- <Column id="bthrecrmk" type="STRING" size="256"/>
- <Column id="weig" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="apgarscore" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="bthdd" type="STRING" size="256"/>
- <Column id="bthtm" type="STRING" size="256"/>
- <Column id="babyno" type="STRING" size="256"/>
- <Column id="babynm" type="STRING" size="256"/>
- <Column id="mothertype" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="height" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bthddfromdd" type="STRING" size="256"/>
- <Column id="bthddtodd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indschacptstat">true</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bthrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bthreclist" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_deathyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">live</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">dead</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnernm" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="ptnerrrgstno" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="ptnerage" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="ptnerjobcd" type="STRING" size="256"/>
- <Column id="jobcd" type="STRING" size="256"/>
- <Column id="ptnertel" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="bthaddr" type="STRING" size="256"/>
- <Column id="ptnerbtype" type="STRING" size="256"/>
- <Column id="bdbtype" type="STRING" size="256"/>
- <Column id="bthdt" type="STRING" size="256"/>
- <Column id="prgweekday" type="STRING" size="256"/>
- <Column id="dlivkindnm" type="STRING" size="256"/>
- <Column id="gndr" type="STRING" size="256"/>
- <Column id="avulsionweig" type="STRING" size="256"/>
- <Column id="bthrecrmk" type="STRING" size="256"/>
- <Column id="weig" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="apgarscore" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="bthdd" type="STRING" size="256"/>
- <Column id="bthtm" type="STRING" size="256"/>
- <Column id="babyno" type="STRING" size="256"/>
- <Column id="babynm" type="STRING" size="256"/>
- <Column id="mothertype" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="height" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item4" compid="bool2" propid="value" datasetid="ds_send" columnid="indschacptstat"/>
- <BindItem id="item5" compid="output21" propid="value" datasetid="ds_saveinfo" columnid="pid"/>
- <BindItem id="item6" compid="output1" propid="value" datasetid="ds_saveinfo" columnid="ptnernm"/>
- <BindItem id="item7" compid="output3" propid="value" datasetid="ds_saveinfo" columnid="ptnerrrgstno"/>
- <BindItem id="item8" compid="output5" propid="value" datasetid="ds_saveinfo" columnid="ptnerage"/>
- <BindItem id="item9" compid="output7" propid="value" datasetid="ds_saveinfo" columnid="ptnerjobcd"/>
- <BindItem id="item10" compid="output9" propid="value" datasetid="ds_saveinfo" columnid="ptnertel"/>
- <BindItem id="item11" compid="output12" propid="value" datasetid="ds_saveinfo" columnid="ptnerbtype"/>
- <BindItem id="item12" compid="output2" propid="value" datasetid="ds_saveinfo" columnid="patnm"/>
- <BindItem id="item13" compid="output4" propid="value" datasetid="ds_saveinfo" columnid="rrgstno"/>
- <BindItem id="item14" compid="output6" propid="value" datasetid="ds_saveinfo" columnid="age"/>
- <BindItem id="item15" compid="output8" propid="value" datasetid="ds_saveinfo" columnid="jobcd"/>
- <BindItem id="item16" compid="output10" propid="value" datasetid="ds_saveinfo" columnid="tel"/>
- <BindItem id="item17" compid="output13" propid="value" datasetid="ds_saveinfo" columnid="bdbtype"/>
- <BindItem id="item18" compid="input1" propid="value" datasetid="ds_saveinfo" columnid="bthaddr"/>
- <BindItem id="item19" compid="output14" propid="value" datasetid="ds_saveinfo" columnid="bthdt"/>
- <BindItem id="item20" compid="output17" propid="value" datasetid="ds_saveinfo" columnid="gndr"/>
- <BindItem id="item21" compid="output20" propid="value" datasetid="ds_saveinfo" columnid="weig"/>
- <BindItem id="item22" compid="output15" propid="value" datasetid="ds_saveinfo" columnid="prgweekday"/>
- <BindItem id="item23" compid="output18" propid="value" datasetid="ds_saveinfo" columnid="avulsionweig"/>
- <BindItem id="item24" compid="output11" propid="value" datasetid="ds_saveinfo" columnid="apgarscore"/>
- <BindItem id="item25" compid="output16" propid="value" datasetid="ds_saveinfo" columnid="dlivkindnm"/>
- <BindItem id="item26" compid="input2" propid="value" datasetid="ds_saveinfo" columnid="bthrecrmk"/>
- <BindItem id="item0" compid="ipt_bthddfromdd" propid="value" datasetid="ds_send" columnid="bthddfromdd"/>
- <BindItem id="item1" compid="ipt_bthddtodd" propid="value" datasetid="ds_send" columnid="bthddtodd"/>
- <BindItem id="item3" compid="ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item2" compid="ipt_patnm" propid="value" datasetid="ds_send" columnid="patnm"/>
- <BindItem id="item27" compid="output00" propid="value" datasetid="ds_saveinfo" columnid="height"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-03-02
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-03-02 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- function SMMNN02800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNN02800_onload(obj:Form, e:LoadEventInfo)
- {
- fInit();
- }
- function fInit()
- {
- grdf_initGrid(grd_bthreclist);
- //grdf_setToolTipBind(grd_bthreclist);
- var tdate = utlf_getCurrentDate().toDate().getDateFormat("YYYYMMDD");
- var fdate = tdate.substr(0,6) + "01";
-
- ds_send.setColumn(0, "bthddfromdd", fdate);
- ds_send.setColumn(0, "bthddtodd", tdate);
-
- //fSearch();
- }
- function fSearch()
- {
- var bthddfromdd = ds_send.getColumn(0, "bthddfromdd");
- var fromdd = (utlf_getCurrentDate().toDate()).getAddDate(-3,"M").getDateFormat("YYYYMMDD");
-
- if(bthddfromdd < fromdd){
- alert("현재일로 부터 3개월 이전 자료는 조회 할 수 없습니다.");
- return;
- }
-
- var oParam = {};
- oParam.id = "TRMNN02800";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqGetBthRecList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_bthreclist=bthreclist";
- oParam.async = true;
- oParam.callback = "cf_TRMNN02800";
- tranf_submit(oParam);
- }
- function cf_TRMNN02800(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function fSave()
- {
- if(utlf_isNull(ds_saveinfo.getColumn(0, "pid"))){
- alert("환자를 선택해 주십시오.");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXMNN02800";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqBrthInfo";
- oParam.inds = "saveinfo=ds_saveinfo";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXMNN02800";
- tranf_submit(oParam);
-
- fSearch();
-
- ds_saveinfo.deleteRow();
- }
- function cf_TXMNN02800(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function ipt_patnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- btn_search.click();
- }
- }
- function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- obj.updateToDataset();
- btn_search.click();
- }
- }
- function bool2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //btn_search.click();
- }
- function grd_bthreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var rowCnt = ds_grd_bthreclist.rowcount;
-
- if(rowCnt > 0){
- var rowPos = ds_grd_bthreclist.rowposition;
- ds_saveinfo.copyRow(0, ds_grd_bthreclist, rowPos);
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave();
- }
- ]]></Script>
- </Form>
- </FDL>
|