123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABO01600" position="absolute 0 0 1199 789" titletext="교육 의뢰 리스트" oninit="SMABO01600_oninit" onload="SMABO01600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="교육 의뢰 리스트" class="tit_1" position="absolute 0 0 200 25"/>
- <Button id="btn_prt" taborder="1" text="출력" class="btn6" position="absolute 0 26 56 48" onclick="btn_prt_onclick"/>
- <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 99 1194 118" anchor="top right" onclick="btn_excsave_onclick"/>
- <Static id="caption1" text="교육 의뢰 리스트" class="tit_2" position="absolute 0 102 147 123"/>
- <Grid id="grd_edulist" taborder="3" binddataset="ds_main_bmteducreq_bmteducreqlist" useinputpanel="false" position="absolute 0 123 1194 782" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all" onrbuttondown="grd_edulist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="89"/>
- <Column size="58"/>
- <Column size="94"/>
- <Column size="75"/>
- <Column size="66"/>
- <Column size="43"/>
- <Column size="38"/>
- <Column size="76"/>
- <Column size="77"/>
- <Column size="78"/>
- <Column size="86"/>
- <Column size="153"/>
- <Column size="80"/>
- <Column size="76"/>
- <Column size="56"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="UNIT"/>
- <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="상태"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" edittype="none" text="bind:wardnm"/>
- <Cell col="2" text="bind:roomcd"/>
- <Cell col="3" edittype="none" text="bind:deptnm"/>
- <Cell col="4" edittype="none" text="bind:pid"/>
- <Cell col="5" text="bind:hngnm"/>
- <Cell col="6" displaytype="combo" text="bind:sex" combodataset="ds_init_cmbinfo_sex_P0313" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="7" text="bind:age"/>
- <Cell col="8" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext"/>
- <Cell col="9" displaytype="date" text="bind:dschdclrdt" calendardisplaynulltype="nulltext"/>
- <Cell col="10" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="11" text="bind:requsernm"/>
- <Cell col="12" text="bind:formnm"/>
- <Cell col="13" displaytype="date" text="bind:repldd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" text="bind:recvusernm"/>
- <Cell col="15" text="bind:cnststatnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 0 118 1194 124" anchor="left top right"/>
- <Div id="grp_sea" taborder="4" class="div_SA2" position="absolute 0 49 1194 89" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="기관(의뢰일) :" class="search_name" position="absolute 15 12 127 29" anchor="default"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 233 13 245 30" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 10 1110 32" anchor="top right"/>
- <Calendar id="ipt_reqfromdd" taborder="2" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 130 11 230 30" anchor="default"/>
- <Calendar id="ipt_reqtodd" taborder="3" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 249 11 349 30" anchor="default"/>
- <CheckBox id="checkbox1" taborder="4" class="checkbox_search" position="absolute 364 11 484 31" anchor="default" text="교육한 환자 제외" truevalue="checkbox1" onclick="grp_sea_checkbox1_onclick"/>
- <CheckBox id="checkbox2" taborder="5" class="checkbox_search" position="absolute 499 11 619 31" anchor="default" text="퇴원한 환자 제외" truevalue="checkbox1" onclick="grp_sea_checkbox2_onclick"/>
- <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Edit id="output5" taborder="7" readonly="true" class="output" position="absolute 919 11 949 30" anchor="default"/>
- <Edit id="output6" taborder="8" readonly="true" class="output" position="absolute 952 11 982 30" anchor="default"/>
- <Edit id="ipt_pid" taborder="9" autoselect="true" autoskip="true" class="input_essential" position="absolute 734 11 834 30" anchor="default" onkeyup="grp_sea_ipt_pid_onkeyup"/>
- <Edit id="output17" taborder="10" readonly="true" class="output" position="absolute 836 11 916 30" anchor="default"/>
- <Static id="caption16" text="등록번호 :" class="search_name" position="absolute 645 12 731 29" anchor="default"/>
- <Button id="btn_pid" taborder="11" onclick="grp_sea_btn_pid_onclick" position="absolute 818 14 831 27" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="pmn_menu1" position="absolute 1215 99 1278 128" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick"/>
- </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="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="dschyn" type="STRING" size="256"/>
- <Column id="cnststat" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="dschyn"/>
- <Col id="cnststat"/>
- <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_main_bmteducreq_bmteducreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예정일"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="의뢰일자"/>
- <Column id="requsernm" type="STRING" size="256" sumtext="의뢰자명"/>
- <Column id="formnm" type="STRING" size="256" sumtext="의뢰명"/>
- <Column id="repldd" type="STRING" size="256" sumtext="회신일자"/>
- <Column id="recvusernm" type="STRING" size="256" sumtext="회신자명"/>
- <Column id="cnststatnm" type="STRING" size="256" sumtext="의뢰상태명"/>
- <Column id="cnststat" type="STRING" size="256" sumtext="의뢰상태"/>
- <Column id="cretno" type="INT" size="256" sumtext="원무등록번호"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="의뢰과코드"/>
- <Column id="requserid" type="STRING" size="256" sumtext="의뢰과의사ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_sex_P0313" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <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"/>
- <Dataset id="ds_menu" 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="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="func">fOpenPopupConsult</Col>
- <Col id="label">타과의뢰</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_reqfromdd" propid="value" datasetid="ds_send_req" columnid="reqfromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_reqtodd" propid="value" datasetid="ds_send_req" columnid="reqtodd"/>
- <BindItem id="item2" compid="grp_sea.checkbox1" propid="value" datasetid="ds_send_req" columnid="dschyn"/>
- <BindItem id="item3" compid="grp_sea.checkbox2" propid="value" datasetid="ds_send_req" columnid="cnststat"/>
- <BindItem id="item4" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send_req" columnid="pid"/>
- <BindItem id="item5" compid="grp_sea.output17" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="hngnm"/>
- <BindItem id="item6" compid="grp_sea.output5" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="age"/>
- <BindItem id="item7" compid="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";
- function SMABO01600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMABO01600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_edulist);
-
- var arrParam = [{dsNm: "ds_init_cmbinfo_sex_P0313", cdGrpId: "P0313"}]
- appf_getCodeList(arrParam);
-
- var reqfromdd = String(utlf_getCurrentDate()).substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
- ds_send_req.setColumn(0, "reqfromdd", reqfromdd);
- var reqtodd = String(utlf_getCurrentDate()).substr(0,6) + reqfromdd.toDate().getMonthDay();
- ds_send_req.setColumn(0, "reqtodd", reqtodd);
-
- if ( frmf_checkOpener())
- {
- var param = opener.frmf_getParameter("opener_parameter_id");
- if(!utlf_isNull(param))
- {
- condarray = param.split("▦");
- ds_send_req.setColumn(0, "pid", condarray[0]);
- return;
- }
- }
- var paminfo = sysf_getGlobalVariable("paminfo");
- if (!utlf_isNull(paminfo))
- {
- ds_temp_paminfo.clearData();
- dsf_setCSVToDs("ds_temp_paminfo", paminfo);
-
- var pid = ds_temp_paminfo.getColumn(0, "pid");
- ds_send_req.setColumn(0, "pid", pid);
- }
- else
- {
- var gv_pid = sysf_getGlobalVariable("gv_pid", "A");
- if(!utlf_isNull(gv_pid))
- {
- ds_send_req.setColumn(0, "pid", gv_pid);
- }
- }
- }
- function grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "checkbox1")
- {
- }
- else
- {
- ds_send_req.setColumn(0, "dschyn", "");
- }
- }
- function grp_sea_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "checkbox1")
- {
- }
- else
- {
- ds_send_req.setColumn(0, "cnststat", "");
- }
- }
- function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_sea.btn_sea.click();
- }
- }
- function grp_sea_btn_pid_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"));
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRABO00001";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetPatientBaseInfo";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_hsctinfo_patinfolist=patinfolist";
- oParam.async = false;
- //oParam.callback = "cf_TRABO00001";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRABO01601";
- oParam.service = "hsctcoordinatorapp.HsctPatient";
- oParam.method = "reqGetBmtEducReqList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_bmteducreq_bmteducreqlist=bmteducreqlist";
- oParam.async = false;
- //oParam.callback = "cf_TRABO01601";
- tranf_submit(oParam);
- }
- function btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/bmteducreq/bmteducreqlist" , ds_main_bmteducreq_bmteducreqlist);
- rptf_setNodeListToDOM(objDOM, "/root/send/req" , ds_send_req);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "";
- rptf_exeReportPreview30(["RPABO01601"],[objParam], option);
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_edulist, "교육의뢰리스트", "see", "false");
- }
- function grd_edulist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function fOpenPopupConsult()
- {
- var iselectrow = ds_main_bmteducreq_bmteducreqlist.rowposition;
- var spid = ds_main_bmteducreq_bmteducreqlist.getColumn(iselectrow, "pid");
- var sorddd = ds_main_bmteducreq_bmteducreqlist.getColumn(iselectrow, "indd");
- var scretno = ds_main_bmteducreq_bmteducreqlist.getColumn(iselectrow, "cretno");
- var sorddeptcd = ds_main_bmteducreq_bmteducreqlist.getColumn(iselectrow, "reqdeptcd");
- var srequserid = ds_main_bmteducreq_bmteducreqlist.getColumn(iselectrow, "requserid");
- var sflag = spid + "▦" + "" + "▦" + "" + "▦" + "" + "▦" + "" + "▦" + "";
- frmf_setParameter("SMMMR05000_param_pinfo", sflag);
- frmf_modal("SMMMR05000", "SMMMR05000", "", "", "", "", "", "", "", "", "", "", "M");
- }]]></Script>
- </Form>
- </FDL>
|