123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLMP00500" position="absolute 0 0 1199 799" titletext="결핵균검사의뢰조회" oninit="SMLMP00500_oninit" onload="SMLMP00500_onload">
- <Layouts>
- <Layout>
- <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 32 1195 54" onclick="button5_onclick" anchor="top right"/>
- <Button id="btn_prntset" taborder="2" text="프린터설정" class="btn6" position="absolute 0 32 89 54" onclick="btn_prntset_onclick"/>
- <Static id="cap_title" text="결핵균검사의뢰조회" class="tit_1" position="absolute 0 0 149 30"/>
- <Div id="group2" taborder="3" position="absolute 0 56 1195 121" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="접수일 :" class="search_name" position="absolute 326 9 400 26" anchor="default"/>
- <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_search_onclick" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="12" class="input_s_essential" position="absolute 406 8 512 27" anchor="default"/>
- <Static id="caption3" text="~" class="search_no_b" position="absolute 517 9 532 26" anchor="default"/>
- <Calendar id="ipt_todd" taborder="13" class="input_s_essential" position="absolute 532 8 638 27" onkeyup="group2_ipt_todd_onkeyup" anchor="default"/>
- <Radio id="radio1" taborder="14" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 90 9 299 26" onitemchanged="group2_radio1_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미검</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">접수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">최종보고</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 700 9 789 26" anchor="top right"/>
- <Edit id="input2" taborder="15" class="input_search" position="absolute 895 8 990 27" onkeyup="group2_input2_onkeyup" anchor="top right"/>
- <Edit id="input3" taborder="16" class="input_search" visible="false" position="absolute 1000 8 1020 27" anchor="top right"/>
- <Static id="caption5" text="장" visible="false" position="absolute 1023 9 1048 29" anchor="top right"/>
- <CheckBox id="checkbox1" taborder="17" position="absolute 646 8 701 28" text="6개월" onclick="group2_checkbox1_onclick" value="false" anchor="default"/>
- <Static id="caption6" text="구분 :" class="search_name" position="absolute 15 9 89 26" anchor="default"/>
- <Combo id="combo1" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 790 8 890 27" anchor="top right">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">등록번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">바코드번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">환자성명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">작업번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption7" text="조회그룹 :" class="search_name" position="absolute 700 39 789 56" anchor="top right"/>
- <Combo id="combo2" taborder="19" innerdataset="ds_init_combo2" codecolumn="cd" datacolumn="nm" position="absolute 790 38 925 57" anchor="top right"/>
- <Radio id="radio2" taborder="20" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 420 39 605 56" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption9" text="입/외 구분 :" class="search_name" position="absolute 326 39 424 56" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="결핵균검사리스트" class="tit_2" position="absolute 1 131 132 148"/>
- <Grid id="grd_testlist" taborder="4" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 149 1194 788" oncelldblclick="grd_testlist_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="68"/>
- <Column size="78"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="219"/>
- <Column size="71"/>
- <Column size="125"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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" text="등록번호"/>
- <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" text="결과"/>
- <Cell col="13" text="외부의뢰일"/>
- <Cell col="14" text="의뢰항목"/>
- <Cell col="15" text="외부의뢰 결과일"/>
- <Cell col="16" text="Comment"/>
- <Cell col="17" text="bcno"/>
- <Cell col="18" text="sex"/>
- <Cell col="19" text="patage"/>
- <Cell col="20" text="orddrnm"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:spcacptdt" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" text="bind:workno"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:roomcd"/>
- <Cell col="8" text="bind:spcstat"/>
- <Cell col="9" text="bind:tclsnm"/>
- <Cell col="10" text="bind:spcnm"/>
- <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:rsltrgstdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="12" text="bind:reptrslt"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:reqdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="14" text="bind:reqkind"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:reqlastreptdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="16" text="bind:prcpremfact"/>
- <Cell col="17" text="bind:bcno"/>
- <Cell col="18" text="bind:sex"/>
- <Cell col="19" text="bind:patage"/>
- <Cell col="20" text="bind:orddrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excel" taborder="5" text="엑셀" class="btn7" position="absolute 1141 123 1192 143" onclick="btn_excel_onclick" anchor="top right"/>
- <Static id="caption8" text="선택된 바코드 :" class="tit_2" position="absolute 270 131 384 149"/>
- <Edit id="input1" taborder="6" position="absolute 384 127 489 146"/>
- <Button id="button3" taborder="7" text="출력" class="btn6" position="absolute 491 126 544 145" onclick="button3_onclick"/>
- <Edit id="input4" taborder="8" position="absolute 688 126 768 145"/>
- <Static id="caption10" text="선택된 등록번호 :" class="tit_2" position="absolute 555 131 682 147"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="rsltrgstdt" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="reqdt" type="STRING"/>
- <Column id="reqkind" type="STRING"/>
- <Column id="reqlastreptdt" type="STRING"/>
- <Column id="prcpremfact" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="patage" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_LB0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="searchtext" type="STRING" size="256"/>
- <Column id="getgbn" type="STRING" size="256"/>
- <Column id="getgroup" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">2</Col>
- <Col id="getgbn">1</Col>
- <Col id="getgroup">00</Col>
- <Col id="ioflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_barcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tsectlblnm" type="STRING" size="256"/>
- <Column id="tsectlblnm2" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="barcdprndt" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="patnm2" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="deptroom" type="STRING" size="256"/>
- <Column id="spclblnm" type="STRING" size="256"/>
- <Column id="tubelblnm" type="STRING" size="256"/>
- <Column id="secttsect" type="STRING" size="256"/>
- <Column id="tclslblnmlist" type="STRING" size="256"/>
- <Column id="tclslblnmlist2" type="STRING" size="256"/>
- <Column id="infcinfolist" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- <Column id="bcollbarcdprntcnt" type="STRING" size="256"/>
- <Column id="spcacptbarcdprntcnt" type="STRING" size="256"/>
- <Column id="microbarcdprntcnt" type="STRING" size="256"/>
- <Column id="mdiabarcdprntcnt" type="STRING" size="256"/>
- <Column id="workno" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="dept" type="STRING" size="256"/>
- <Column id="spcacptdd" type="STRING" size="256"/>
- <Column id="dnornm" type="STRING" size="256"/>
- <Column id="divgrupcd" type="STRING" size="256"/>
- <Column id="divgrupnm" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- <Column id="bedposcnts" type="STRING" size="256"/>
- <Column id="prntkind" type="STRING" size="256"/>
- <Column id="prntsetupinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkm" type="STRING" size="256"/>
- <Column id="bcnoinfo" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="patage" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="spcacptdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="input4" propid="value" datasetid="ds_grd_testlist" columnid="pid"/>
- <BindItem id="item1" compid="input1" propid="value" datasetid="ds_grd_testlist" columnid="bcno"/>
- <BindItem id="item2" compid="group2.checkbox1" propid="value" datasetid="ds_temp_chkm" columnid="label"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LPZ001.xjs";
- include "lis_commonxp::LZZ002.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLMP00500_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLMP00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_testlist);
- fsetinit(); //초기화
- }
- //초기화
- function fsetinit()
- {
- group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
- group2.ipt_todd.value = utlf_getCurrentDate();
- group2.radio1.value = '2';
- group2.radio2.value = '1';
- group2.combo1.value = '1';
- var sInDsName = dsf_createDsRow("ds_temp_scrnid"
- , [{col: "scrnid", val: frmf_getScreenID()}]);
-
- var sOutDsName = dsf_createDsRow("ds_barcdprntsetup"
- , [{col: "prntsetupinfo"}
- , {col: "macaddr"}]);
-
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid="+sInDsName;
- oParam.outds = sOutDsName+"=getSetUpInfo";
- oParam.async = false;
- oParam.callback = "cbf_TRLLC90101";
- tranf_submit(oParam);
-
- lzzfMakeBrcdPrntObjHanDo("CommAX");
- var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "codeflag", val : "0140|"}]);
-
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=" + sInDsName;
- oParam.outds = "ds_init_combo2=0140"
- oParam.async = false;
- oParam.callback = "cf_TRLZZ00101";
- tranf_submit(oParam);
- group2.combo2.value = '00';
- }
- //조회
- function fgetList()
- {
- ds_send_req.setColumn(0, "srchflag", group2.radio1.value);
- ds_send_req.setColumn(0, "todd", group2.ipt_todd.value);
- ds_send_req.setColumn(0, "fromdd", group2.ipt_fromdd.value);
- ds_send_req.setColumn(0, "searchtext", group2.input2.value);
- ds_send_req.setColumn(0, "getgroup", group2.combo2.value);
-
- var oParam = {};
- oParam.id = "TRLMP00501";
- oParam.service = "refprintmngtapp.MicroRefPrintMngt";
- oParam.method = "reqGetTbTestRsltList";
- oParam.inds = "refparam=ds_send_req";
- oParam.outds = "ds_grd_testlist=tbtestrsltinfo";
- oParam.async = false;
- tranf_submit(oParam);
- }
- //프린트설정
- function fSetPrint()
- {
- var count = ds_barcodeinfo.rowcount;
-
- if(count == 0)
- {
- ds_barcodeinfo.addRow();
- }
- var objArg = new Object();
- objArg.arg_ds_barcdprntsetup_info = ds_temp_barcdprntsetup;
- frmf_open("SPLLC90100", "SPLLC90100", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function fExeBarcdReprnt()
- {
- var bcno = "'" + input1.value + "'" ;
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "bcnolist", val: bcnolist.substr(0, bcnolist.length - 1)}
- , {col: "bcollgbn", val: "Y"}
- , {col: "bio", val: ""}
- , {col: "worklist", val: ""}]);
- var oParam = {};
- oParam.id = "TRLZZ00102";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetBarCodeInfo";
- oParam.inds = "bcollbcnolist=" +sInDsName;
- oParam.outds = "ds_=barcodeinfo";
- oParam.async = false;
- tranf_submit(oParam);
- }
- //콜백함수
- function cbf_TRLLC90101(strSvcID, nErrorCode, strErrorMag)
- {
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- //콜백함수
- function cf_TRLZZ00101(strSvcID, nErrorCode, strErrorMag)
- {
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- //조회
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fgetList();
- }
- function group2_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fgetList();
- }
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function group2_input2_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fgetList();
- }
- }
- //6개월체크
- function group2_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(group2.checkbox1.value == 1)
- {
- var vdate = utlf_getCurrentDate();
- group2.ipt_fromdd.value = ((vdate.toDate("YYYYMMDD")).getAddDate(-6, "M")).getDateFormat("YYYYMMDD") ;
- group2.ipt_todd.value = utlf_getCurrentDate();
- }
- else
- {
- group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
- group2.ipt_todd.value = utlf_getCurrentDate();
- }
- }
- //구분값변경
- function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_grd_testlist.clearData();
- }
- //엑셀
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_testlist, lf_lisGetTitle(this), "see");
- }
- //프리트설정
- function btn_prntset_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- //바코드출력
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeBarcdReprnt();
- }
- //의뢰항목입력
- function grd_testlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(group2.radio1.value == 1)
- {
- return;
- }
-
- var row = grd_testlist.currentrow;
-
- ds_hidden.setColumn(0, "bcno", ds_grd_testlist.getColumn(row, "bcno"));
- ds_hidden.setColumn(0, "hngnm", ds_grd_testlist.getColumn(row, "hngnm"));
- ds_hidden.setColumn(0, "sex", ds_grd_testlist.getColumn(row, "sex"));
- ds_hidden.setColumn(0, "patage", ds_grd_testlist.getColumn(row, "patage"));
- ds_hidden.setColumn(0, "roomcd", ds_grd_testlist.getColumn(row, "roomcd"));
- ds_hidden.setColumn(0, "orddeptnm", ds_grd_testlist.getColumn(row, "orddeptnm"));
- ds_hidden.setColumn(0, "orddrnm", ds_grd_testlist.getColumn(row, "orddrnm"));
- ds_hidden.setColumn(0, "spccd", ds_grd_testlist.getColumn(row, "spccd"));
- ds_hidden.setColumn(0, "pid", ds_grd_testlist.getColumn(row, "pid"));
- ds_hidden.setColumn(0, "tclscd", ds_grd_testlist.getColumn(row, "tclscd"));
- ds_hidden.setColumn(0, "spcacptdt", ds_grd_testlist.getColumn(row, "spcacptdt"));
-
- var objArg = new Object();
- objArg.arg_ds_temp_tbtestrsltinfo = ds_hidden;
- frmf_modal("SPLMP90100", "SPLMP90100", objArg, "","0", "600", "600", "", "", "", "", "", "M");
- }]]></Script>
- </Form>
- </FDL>
|