123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAER00610" position="absolute 0 0 1256 805" titletext="검사별 실시현황 조회" onload="SMAER00610_onload" oninit="SMAER00610_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 8 21 1203 765" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 1194 45" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 35" id="roundrect2" type="roundrectangle"/>
- <Static text="기준 월 :" position="absolute 10 10 96 27" id="caption3" class="search_name"/>
- <Shape position="absolute 1117 7 1123 29" linetype="vertical" id="line13" class="line_4"/>
- <Button position="absolute 1129 7 1185 29" id="btn_sea" class="btn1" text="조회" onclick="group3_grp_sea_btn_sea_onclick"/>
- <Edit position="absolute 448 8 518 27" id="ipt_pid" class="input_search" onkeydown="group3_grp_sea_ipt_pid_onkeydown"/>
- <Static text="등록번호 :" position="absolute 370 10 449 27" align="align:left middle;" id="caption8" class="search_name"/>
- <Calendar position="absolute 175 8 266 27" id="ipt_todd" class="input_search" mask="yyyy-mm-dd"/>
- <Calendar position="absolute 79 8 170 27" id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd"/>
- <Combo id="cmb_excuroom" taborder="1" innerdataset="ds_init_cmb_info_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" class="combo_search" position="absolute 723 9 893 28"/>
- <Static id="caption00" text="치료실 :" class="search_name" position="absolute 658 11 721 28"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 67 1195 73" linetype="vertical" id="line2" class="line_1"/>
- <Static text="환자별 Mu량 조회" position="absolute 5 55 146 70" id="caption10" class="tit_2"/>
- <Button position="absolute 1040 18 1104 37" id="btn_excel" class="btn2" text="엑셀저장" onclick="group3_btn_excel_onclick"/>
- <Grid position="absolute 0 75 1195 744" id="grd_mainordlist" binddataset="ds_grd_mainordlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="89"/>
- <Column size="88"/>
- <Column size="526"/>
- <Column size="72"/>
- <Column size="118"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="RTno"/>
- <Cell col="3" text="실시일시"/>
- <Cell col="4" text="MU 총량"/>
- <Cell col="5" text="치료코드명"/>
- <Cell col="6" text="에너지값"/>
- <Cell col="7" text="치료실"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" displaytype="text" style="align:center;" text="bind:rtno"/>
- <Cell col="3" text="bind:execdt"/>
- <Cell col="4" text="bind:rtcnt" tooltiptext="bind:rtcnt"/>
- <Cell col="5" style="align:left;" text="bind:diagnm"/>
- <Cell col="6" text="bind:energy"/>
- <Cell col="7" displaytype="combo" edittype="normal" style="align:center;" text="bind:excuroomcd" combodataset="ds_init_cmb_info_initexecroom" combocodecol="basecd" combodatacol="basecdflagdesc" combodisplay="edit"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 549 19 613 38" id="opt_patnm"/>
- <Button position="absolute 527 20 543 36" id="button61" class="icon_search" text=""/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 8 765 1203 792" id="grp_btn"/>
- <Button position="absolute 8 768 64 790" id="btn_prt" class="btn6" text="출력"/>
- <Static id="caption6" text="환자별 MU량 조회" class="tit_1" position="absolute 16 11 167 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_mainordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="rtno" type="STRING"/>
- <Column id="execdt" type="STRING"/>
- <Column id="rtcnt" type="STRING"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="energy" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="조회일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="조회일자"/>
- <Column id="suppdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="excucd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="excuroomcd" type="STRING" size="256" sumtext="검사치료실코드"/>
- <Column id="retroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdflagdesc" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info2_initexecroom2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdflagdesc" type="STRING"/>
- <Column id="basecd" type="STRING"/>
- </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="suppdeptcd" type="STRING" size="256"/>
- <Column id="roomflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="excuroomcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rtno" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppdeptcd"/>
- <Col id="roomflag">all</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="excuroomcd"/>
- <Col id="pid"/>
- <Col id="rtno"/>
- <Col id="status"/>
- <Col id="flag">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <Objects>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patphofileimg" type="STRING" size="256"/>
- <Column id="rtno" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphon" type="STRING" size="256"/>
- <Column id="apnttel" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="rtnorem" type="STRING" size="256"/>
- <Column id="apntdrid" type="STRING" size="256"/>
- <Column id="partgrupcd" type="STRING" size="256"/>
- <Column id="partcd" type="STRING" size="256"/>
- <Column id="fnexamyn" type="STRING" size="256"/>
- <Column id="schedesc" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="partdetlnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="patphofileimg"/>
- <Col id="rtno"/>
- <Col id="patnm"/>
- <Col id="pid"/>
- <Col id="sexage"/>
- <Col id="diagcd"/>
- <Col id="diagnm"/>
- <Col id="hometel"/>
- <Col id="mpphon"/>
- <Col id="apnttel"/>
- <Col id="atdoctid"/>
- <Col id="ioflag"/>
- <Col id="rtnorem"/>
- <Col id="apntdrid"/>
- <Col id="partgrupcd"/>
- <Col id="partcd"/>
- <Col id="fnexamyn"/>
- <Col id="schedesc"/>
- <Col id="rgstdd"/>
- <Col id="partdetlnm"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <ColumnInfo>
- <Column id="patphofileimg" type="STRING" size="256"/>
- <Column id="rtno" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphon" type="STRING" size="256"/>
- <Column id="apnttel" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="rtnorem" type="STRING" size="256"/>
- <Column id="apntdrid" type="STRING" size="256"/>
- <Column id="partgrupcd" type="STRING" size="256"/>
- <Column id="partcd" type="STRING" size="256"/>
- <Column id="fnexamyn" type="STRING" size="256"/>
- <Column id="schedesc" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="partdetlnm" type="STRING" size="256"/>
- <Column id="apntdrnm" type="STRING" size="256"/>
- <Column id="atdoctnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rtno"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="group3.grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
- <BindItem id="item0" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_patinfolist" columnid="pid"/>
- <BindItem id="item2" compid="group3.opt_patnm" propid="value" datasetid="ds_patinfolist" columnid="patnm"/>
- </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_examcurexp::AEZ0001.xjs";
- include "com_userdeptinfoxp::ZSU001.xjs";
- include "ast_tumorelctxp::combolist.xjs";
- function cf_TRAER00602(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRAOR00903(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- frmf_addComboItem( "group3.grp_sea.cmb_excuroom", "전체", "", "above");
- }
-
- function group3_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send2.setColumn(0,"fromdd",group3.grp_sea.ipt_fromdd.value);
- ds_send2.setColumn(0,"todd",group3.grp_sea.ipt_todd.value);
- // ds_send2.setColumn(0,"suppdeptcd",suppdeptcd);
- ds_send2.setColumn(0,"pid",group3.grp_sea.ipt_pid.value);
- // ds_send2.setColumn(0,"excucd",ds_send.getColumn(0,"excucd"));
- ds_send2.setColumn(0,"retroomcd",group3.grp_sea.cmb_excuroom.value);
-
- var oParam = {};
- oParam.id = "TRAER00602";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetExecMuCondList";
- oParam.inds = "req=ds_send2";
- oParam.outds = "ds_grd_mainordlist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAER00602";
- tranf_submit(oParam);
-
- }
- function SMAER00610_onload(obj:Form, e:LoadEventInfo)
- {
- var curDate = utlf_getCurrentDate();
- group3.grp_sea.ipt_fromdd.value = curDate;
- group3.grp_sea.ipt_todd.value = curDate;
- lf_aezfSetSuppDeptcd();
-
- dsf_createDsRow("ds_cond_TRAOR00903", [{col:"suppdeptcd", type:"STRING", size:256, val:suppdeptcd}
- , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
- , {col:"flag", type:"STRING", size:256, val:ds_send.getColumn(0, "roomflag")}]);
-
- var oParam = {};
- oParam.id = "TRAOR00903";
- oParam.service = "tumoracptexecapp.CureExec";
- oParam.method = "reqGetExCuRoomList";
- oParam.inds = "req=ds_cond_TRAOR00903";
- oParam.outds = "ds_init_cmb_info_initexecroom=item";
- oParam.async = false;
- oParam.callback = "cf_TRAOR00903";
- tranf_submit(oParam);
- // 치료실 셋팅.
- if( ds_init_cmb_info_initexecroom.rowcount > 0 ){
- ds_init_cmb_info2_initexecroom2.copyData(ds_init_cmb_info_initexecroom, true);
- ds_init_cmb_info2_initexecroom2.deleteRow(0);
- }
-
- }
- function SMAER00610_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_grd_mainordlist.rowcount>0){
- // grdf_exportExcel(group3.grd_mainordlist, "mu", "sheet1");
- grdf_exportExcel(group3.grd_mainordlist, "환자별 MU량 조회", "환자별 MU량 조회)", false, "", "", false);
- }
- }
- function group3_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13") {
- ds_send.setColumn(0,"rtno", "");
- ds_send.setColumn(0,"pid", obj.value);
- fgetPatInfoList();
-
- }
- }
- function fgetPatInfoList() {
- //if (utlf_isNull(ds_send.getColumn(0, "pid")) && utlf_isNull(ds_send.getColumn(0, "rtno")) ) {
- if (utlf_isNull(ds_send.getColumn(0, "pid"))) {
- sysf_messageBox("등록번호를 ", "C001");
- return;
- }
-
- dsf_createDsRow("ds_init_req",
- [{col:"suppdeptcd", val: suppdeptcd}
- ,{col:"searchdd", val:""}
- ,{col:"excuroomcd", val:""}
- ,{col:"rtno", val: ds_send.getColumn(0, "rtno")}
- ,{col:"pid", val: ds_send.getColumn(0, "pid")}
- ,{col:"schergstdd", val:""}]);
- dsf_createDsRow("ds_grid_patfixrem",
- [{col:"memodesc", val:""}]);
- var objParam = new Object();
- objParam.id = "TRAOR00117";
- objParam.service = "tumoracptexecapp.CureExec";
- objParam.method = "reqGetPatPrcpSpecList2";
- objParam.inds = "req=ds_init_req";
- objParam.outds ="ds_patinfolist=patinfolist ds_grid_diaglist=diaglist ds_grid_patfixrem=patfixrem";
- objParam.callback = "cbf_TRAOR00117";
- tranf_submit(objParam);
- }]]></Script>
- </Form>
- </FDL>
|