123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAVT02103" position="absolute 0 0 1199 788" titletext="조직은행 방사선조사 내역" onload="SMAVT02103_onload">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 0 1195 25" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 210 23" style="" text="조직은행 방사선조사 내역"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1194 757" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 5 52 223 69" style="" text="조직은행 방사선조사 내역 리스트" anchor="default"/>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 71 1194 75" style="" anchor="default"/>
- <Grid id="dtg_batchlist" binddataset="ds_main_batchlist_item" position="absolute 0 289 1194 739" style="align:center ;" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="301"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="Graft No"/>
- <Cell col="2" text="배치번호"/>
- <Cell col="3" text="방사선"/>
- <Cell col="4" text="Description"/>
- <Cell col="5" text="Size"/>
- <Cell col="6" text="유효기간"/>
- <Cell col="7" text="방사선SEQ"/>
- <Cell col="8" text="총무게"/>
- <Cell col="9" text="조사전 ice"/>
- <Cell col="10" text="조사후 ice"/>
- <Cell col="11" text="비고"/>
- <Cell col="12" text="상태"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:graftno" suppress="1" suppressalign="middle,over"/>
- <Cell col="2" style="align:center middle;" text="bind:batchno"/>
- <Cell col="3" displaytype="combo" text="bind:radialynd" combodataset="ds_init_combobscdlst_C09" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" text="bind:grafttypecd" combodataset="ds_init_combogtcdlst_item" combocodecol="grafttypecd" combodatacol="grafttypenm"/>
- <Cell col="5" text="bind:sizewcnt"/>
- <Cell col="6" displaytype="date" text="bind:expiredate" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" text="bind:rseq"/>
- <Cell col="8" text="bind:totalweight"/>
- <Cell col="9" text="bind:dryiceb"/>
- <Cell col="10" text="bind:dryicea"/>
- <Cell col="11" text="bind:bigo"/>
- <Cell col="12" displaytype="combo" text="bind:rstated" combodataset="ds_init_combobscdlst_C23" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" position="absolute 0 10 1194 45" style="align: top;" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="default"/>
- <Button id="btn_sea" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_biz_grp_sea_btn_sea_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" class="btn7" position="absolute 1118 50 1194 69" style="" text="엑셀저장" onclick="grp_biz_btn_excsave_onclick" anchor="default"/>
- <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 286 1194 290" style="" anchor="default"/>
- <Grid id="dtg_batchinfolist" binddataset="ds_main_batchinfolist_item" position="absolute 0 74 1194 264" style="align:center ;" oncelldblclick="grp_biz_dtg_batchinfolist_oncelldblclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="150"/>
- <Column size="101"/>
- <Column size="350"/>
- <Column size="550"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="조사일자"/>
- <Cell col="2" text="방사선조사SEQ"/>
- <Cell col="3" text="장소"/>
- <Cell col="4" text="이송방법"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" text="bind:rdd" mask="yyyy-MM-dd" suppress="1" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <Cell col="2" text="bind:rseq" suppress="2" suppressalign="middle,over"/>
- <Cell col="3" displaytype="combo" text="bind:rplaced" combodataset="ds_init_combobscdlst_C22" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" text="bind:rpathd" combodataset="ds_init_combobscdlst_C21" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 757 1190 784" style="">
- <Layouts>
- <Layout>
- <Button id="btn_prt" class="btn6" visible="false" position="absolute 0 5 56 27" style="" text="출력" onclick="grp_btn_btn_prt_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_batchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_batchinfolist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rdd" type="STRING" size="256"/>
- <Column id="rseq" type="STRING" size="256"/>
- <Column id="rplaced" type="STRING" size="256"/>
- <Column id="rpathd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rdd"/>
- <Col id="rseq"/>
- <Col id="rplaced"/>
- <Col id="rpathd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_batchinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="combobscdlst" type="STRING" size="256"/>
- <Column id="comboabncdlst" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="combobscdlst"/>
- <Col id="comboabncdlst"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_batchlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="graftno" type="STRING" size="256"/>
- <Column id="partseq" type="STRING" size="256"/>
- <Column id="batchno" type="STRING" size="256"/>
- <Column id="radialynd" type="STRING" size="256"/>
- <Column id="grafttypecd" type="STRING" size="256"/>
- <Column id="sizewcnt" type="STRING" size="256"/>
- <Column id="expiredate" type="STRING" size="256"/>
- <Column id="rseq" type="STRING" size="256"/>
- <Column id="totalweight" type="STRING" size="256"/>
- <Column id="dryiceb" type="STRING" size="256"/>
- <Column id="dryicea" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="rstated" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="graftno"/>
- <Col id="partseq"/>
- <Col id="batchno"/>
- <Col id="radialynd"/>
- <Col id="grafttypecd"/>
- <Col id="sizewcnt"/>
- <Col id="expiredate"/>
- <Col id="rseq"/>
- <Col id="totalweight"/>
- <Col id="dryiceb"/>
- <Col id="dryicea"/>
- <Col id="bigo"/>
- <Col id="rstated"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_rexprnt_benflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" 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="keep">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchuseyn" type="STRING" size="256"/>
- <Column id="srchgrafttypecd" type="STRING" size="256"/>
- <Column id="srchgrafttypenm" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchrdd" type="STRING" size="256"/>
- <Column id="srchrseq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchuseyn"/>
- <Col id="srchgrafttypecd"/>
- <Col id="srchgrafttypenm"/>
- <Col id="srchflag"/>
- <Col id="srchrdd"/>
- <Col id="srchrseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_combobscdlst_C09" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_combobscdlst_C20" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_combobscdlst_C21" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_combobscdlst_C22" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_combobscdlst_C23" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_combogtcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="grafttypecd" type="STRING" size="256"/>
- <Column id="grafttypenm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grafttypecd"/>
- <Col id="grafttypenm"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- include "ast_tissuebankbasexp::tissuebankcombolist.xjs";
- //include "ast_healexamxp::AHA001.xjs";
- include "com_zipcodexp::ZBP001.xjs";
- var arErrorCode = new HashArray();
- //스크립트 시작 ***
- //전체에서 event와 src를 제외한 script 를 모두포함.
- // 화면 초기화
- function fGetScreenInit(){
- ds_send.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
- ds_send.setColumn( 0, "srchtodd", utlf_getCurrentDate());
- ds_main_batchlist.clearData();
- ds_main_batchinfolist.clearData();
-
- var arrparm = [
- {dsNm: "ds_init_combobscdlst_C09", cdGrpId: "C09"}, // C09 유무구분
- {dsNm: "ds_init_combobscdlst_C20", cdGrpId: "C20"}, // C20 방사선량
- {dsNm: "ds_init_combobscdlst_C21", cdGrpId: "C21"}, // C21 이송방법 및 온도
- {dsNm: "ds_init_combobscdlst_C22", cdGrpId: "C22"}, // C22 방사선조사 장소
- {dsNm: "ds_init_combobscdlst_C23", cdGrpId: "C23"} // C23 방사선조사 상태
- ]; // C25 의료관리자 2011.1.19 cyw
-
- tbGetBscdList( arrparm );
- // Graft Tsdype List
- ds_init_combogtcdlst_item.clearData();
- ds_send.setColumn( 0, "srchuseyn", "Y");
-
- //submit("TRAVB00003");
- var oParam = {};
- oParam.id = "TRAVB00003";
- oParam.service = "tissuebankbaseapp.TissueBankType";
- oParam.method = "reqGetGtCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_combogtcdlst_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- //submit("TRAVT02103");
- var oParam = {};
- oParam.id = "TRAVT02103";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetStatistics080";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_batchinfolist_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- //model.refresh();
- }
- //스크립트 끝
- function SMAVT02103_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(grp_biz.dtg_batchinfolist);
- grdf_initGrid(grp_biz.dtg_batchlist);
-
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- ds_main_batchinfolist.clearData();
- ds_main_batchlist.clearData();
- fGetScreenInit();
- }
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo) {
- if( ds_send.getColumn(0, "srchfromdd") == ""){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- if( ds_send.getColumn(0, "srchtodd") == "" ){
- sysf_messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
- //submit("TRAVT02103");
- var oParam = {};
- oParam.id = "TRAVT02103";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetStatistics080";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_batchinfolist_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- //model.refresh();
- }
- function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
- // var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- //
- // if (filename != "")
- // {
- // dtg_abnclslist.saveExcel(filename);
- grdf_exportExcel(grp_biz.dtg_schblist, "Sheet1", "방사선조사내역", false, "" , 'user' , true);
- // }
- }
- function grp_biz_dtg_batchinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
-
- if( e.row >= 0 ){
- var row = ds_main_batchinfolist_item.rowposition;
- ds_send.setColumn( 0, "srchrdd", ds_main_batchinfolist_item.getColumn(row, "rdd"));
- ds_send.setColumn( 0, "srchrseq", ds_main_batchinfolist_item.getColumn(row, "rseq"));
- //if( submit("TRAVT02104") ){
- var oParam = {};
- oParam.id = "TRAVT02104";
- oParam.service = "tissuebankapp.TissueBankProcess";
- oParam.method = "reqGetStatistics090";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_batchlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAVT02104";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAVT02104") > -1) {
- "partseq"
-
- dsf_setTypeFormat(ds_main_batchlist_item, "batchno:string");
-
- var cnt = ds_main_batchlist_item.rowcount;
- for( i = 0 ; i < cnt ; i++ ){
- if( String(ds_main_batchlist_item.getColumn(i, "batchno")).length == 1 ){
- ds_main_batchlist_item.setColumn( i , "batchno", "00"+ ds_main_batchlist_item.getColumn(i, "batchno"))
- }
- if( String(ds_main_batchlist_item.getColumn(i, "batchno")).length == 2 ){
- ds_main_batchlist_item.setColumn( i , "batchno", "0"+ ds_main_batchlist_item.getColumn(i, "batchno"))
- }
- }
- }
- //model.refresh();
- }
- }
- function cf_TRAVT02104(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo) {
- }
- ]]></Script>
- </Form>
- </FDL>
|