123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABO01800" position="absolute 0 0 1204 776" titletext="정자, 난자 보관현황 리스트" oninit="SMABO01800_oninit" onload="SMABO01800_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 47 1195 767" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="정자난자보관현황 리스트" position="absolute 1 79 201 95" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 95 1194 101" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Div position="absolute 0 10 1194 70" align="align:center top;" id="grp_sea" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 60" id="roundrect1" class="roundrect_search" type="roundrectangle" anchor="default"/>
- <Static text="기간(이식일) :" position="absolute 15 8 127 25" id="caption2" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 234 9 246 26" id="caption5" class="search_no_b" anchor="default"/>
- <Calendar position="absolute 130 7 230 26" id="ipt_trnptfromdd" class="input_essential" anchor="default"/>
- <Calendar position="absolute 248 7 348 26" id="ipt_trnpttodd" class="input_essential" anchor="default"/>
- <Combo position="absolute 131 34 281 53" id="combo2" class="combo_search" innerdataset="@ds_init_cmbinfo_lrglist_item" datacolumn="hsctlrgnm" codecolumn="hsctlrgcd" anchor="default"/>
- <Static text="진단명 :" position="absolute 16 35 129 52" id="caption4" class="search_name" anchor="default"/>
- <Combo position="absolute 505 34 563 53" id="combo1" class="combo_search" innerdataset="@ds_init_cmbinfo_sex_P0313" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="성별 :" position="absolute 402 35 497 52" id="caption3" class="search_name" anchor="default"/>
- <Static text="교육 :" position="absolute 628 36 688 53" id="caption7" class="search_name" anchor="default"/>
- <Radio position="absolute 696 35 759 55" id="radio5" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="시행 :" position="absolute 851 35 911 52" id="caption8" class="search_name" anchor="default"/>
- <Radio position="absolute 919 34 982 54" id="radio1" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 1123 7 1179 29" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
- <Edit readonly="true" position="absolute 690 7 720 26" align="align:center middle;" id="output5" class="output" anchor="default"/>
- <Edit readonly="true" position="absolute 723 7 753 26" align="align:center middle;" id="output6" class="output" anchor="default"/>
- <Edit position="absolute 505 7 588 26" id="ipt_pid" class="input_essential" anchor="default" onkeydown="grp_biz_grp_sea_ipt_pid_onkeydown"/>
- <Edit readonly="true" position="absolute 607 7 687 26" align="align:center middle;" id="output17" class="output" anchor="default"/>
- <Static text="등록번호 :" position="absolute 402 8 513 25" id="caption16" class="search_name" anchor="default"/>
- <Shape position="absolute 1104 7 1110 54" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Button id="Button00" taborder="1" position="absolute 590 7 605 26" onclick="grp_biz_grp_sea_Button00_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1118 75 1192 94" id="btn_excsave" class="btn7" text="엑셀저장" anchor="default" onclick="grp_biz_btn_excsave_onclick"/>
- <Grid position="absolute 0 100 1194 720" align="align:center middle;" id="grd_spermovumlist" binddataset="ds_main_spermovumlist_item" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <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" 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="시행(유,무,실패)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="text" edittype="none" style="align:center middle;" text="bind:hngnm" enable="false"/>
- <Cell col="2" displaytype="text" edittype="none" style="align:center middle;" text="bind:pid" enable="false"/>
- <Cell col="3" displaytype="date" edittype="none" text="bind:trnptdd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="4" text="bind:diagcd1" enable="false"/>
- <Cell col="5" text="bind:age" enable="false"/>
- <Cell col="6" displaytype="combo" edittype="none" style="align:center;" text="bind:sex" combodataset="ds_init_cmbinfo_sex_P0313" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="7" text="bind:educyn" enable="false"/>
- <Cell col="8" text="bind:transfyn" enable="false"/>
- <Cell col="9" text="bind:execyn" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 20 1195 47" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 0 5 56 27" id="btn_prt" class="btn6" text="출력" onclick="grp_btn_btn_prt_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="정자난자보관현황 리스트" class="tit_1" position="absolute 0 0 200 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trnptfromdd" type="STRING" size="256"/>
- <Column id="trnpttodd" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="educyn" type="STRING" size="256"/>
- <Column id="execyn" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="trnptfromdd"/>
- <Col id="trnpttodd"/>
- <Col id="diagcd1"/>
- <Col id="sex"/>
- <Col id="educyn"/>
- <Col id="execyn"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_hsctinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="age"/>
- <Col id="sex"/>
- <Col id="pid"/>
- <Col id="rrgstno2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_lrglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmbinfo_sex_P0313" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_spermovumlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="trnptdd" type="STRING" size="256" sumtext="이식예정일자"/>
- <Column id="diagcd1" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="educyn" type="STRING" size="256" sumtext="교육여부"/>
- <Column id="transfyn" type="STRING" size="256" sumtext="의뢰여부"/>
- <Column id="execyn" type="STRING" size="256" sumtext="시행여부"/>
- </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="lrggrupcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lrggrupcd">DI</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_bmtpatientinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="popupendflag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.ipt_trnptfromdd" propid="value" datasetid="ds_send_req" columnid="trnptfromdd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.ipt_trnpttodd" propid="value" datasetid="ds_send_req" columnid="trnpttodd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.ipt_pid" propid="value" datasetid="ds_send_req" columnid="pid"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.combo2" propid="value" datasetid="ds_send_req" columnid="diagcd1"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send_req" columnid="sex"/>
- <BindItem id="item5" compid="grp_biz.grp_sea.radio5" propid="value" datasetid="ds_send_req" columnid="educyn"/>
- <BindItem id="item6" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send_req" columnid="execyn"/>
- <BindItem id="item7" compid="grp_biz.grp_sea.output17" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="hngnm"/>
- <BindItem id="item8" compid="grp_biz.grp_sea.output5" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="age"/>
- <BindItem id="item9" compid="grp_biz.grp_sea.output6" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="sex"/>
- </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";
- include "ast_hsctxp::bmtcommon.xjs";
- var arErrorCode = new HashArray();
- function SMABO01800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(grp_biz.grd_spermovumlist);
- }
- function SMABO01800_onload(obj:Form, e:LoadEventInfo)
- {
- var trnptfromdd = utlf_getCurrentDate().substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
- grp_biz.grp_sea.ipt_trnptfromdd.value = trnptfromdd;
- var trnpttodd = utlf_getCurrentDate().substr(0,6) + trnptfromdd.toDate().getMonthDay();
- grp_biz.grp_sea.ipt_trnpttodd.value = trnpttodd;
-
- var arrParam = [{dsNm: "ds_init_cmbinfo_sex_P0313", cdGrpId: "P0313"}];
- appf_getCodeList(arrParam);
- ds_init_cmbinfo_sex_P0313.insertRow(0);
- // bmtcommon.js : BMT 진단대분류 조회 : 맨 앞에 공백을 추가해주기 위해서 함수로 변경
- abofGetBmtDIagLrgList();
- ds_init_cmbinfo_lrglist_item.insertRow(0);
- }
- function grp_biz_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- ds_send_req.setColumn(0, "pid", grp_biz.grp_sea.ipt_pid.text);
- grp_biz_grp_sea_btn_sea_onclick();
- }
- }
- function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRABO01801";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetSpermOvumKeepPresCond";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_spermovumlist_item=item";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grp_biz.grd_spermovumlist, "정자난자보관현황리스트" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- //미리보기출력
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "root/send/req" , ds_send_req); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/main/spermovumlist/item", ds_main_spermovumlist_item); // 데이터셋 2
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPABO01801"],[objParam], option);
- }
- function grp_biz_grp_sea_Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- abofGetBmtPatientSearch(ds_main_hsctinfo_patinfolist, ds_temp_bmtpatientinfo);
- ds_send_req.setColumn(0, "pid", ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
- }
- ]]></Script>
- </Form>
- </FDL>
|