123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIJ03800" position="absolute 0 0 948 637" titletext="복잡수술료 사유조회" oninit="SPPIJ03800_oninit" onload="SPPIJ03800_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 18 942 610" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 78 940 592" id="grd_cplxoplist" class="datagrid3" binddataset="ds_main_cplxop_cplxoplist" anchor="default" autofittype="col" cellsizingtype="row" extendsizetype="row" autosizingtype="row" oncellclick="grp_biz_grd_cplxoplist_oncellclick" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="61"/>
- <Column size="64"/>
- <Column size="74"/>
- <Column size="81"/>
- <Column size="225"/>
- <Column size="392"/>
- </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="사유"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" displaytype="date" edittype="none" text="bind:orddd" mask="yyyy-MM-dd"/>
- <Cell col="4" displaytype="normal" edittype="normal" text="bind:calcscorcd"/>
- <Cell col="5" edittype="normal" style="align:left middle;" text="bind:calcscorcdnm"/>
- <Cell col="6" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:resncnts" wordwrap="word" editautoselect="true" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="복잡수술료 사유조회 리스트" position="absolute 0 57 234 80" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 73 940 79" linetype="horizontal" id="line1" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Div position="absolute 0 6 940 46" align="align:center top;" id="group1" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 875 10 931 32" id="btn_select" class="btn1" taborder="32" text="조회" anchor="default" onclick="grp_biz_group1_btn_select_onclick"/>
- <Shape position="absolute 857 5 863 38" linetype="vertical" id="line3" class="line_4" anchor="default"/>
- <Edit position="absolute 100 10 165 29" id="ipt_drgno" anchor="default" onkeyup="grp_biz_group1_ipt_drgno_onkeyup"/>
- <Static text="환자번호 :" position="absolute 11 12 106 29" id="caption30" class="search_name" anchor="default"/>
- <Static text="진료일자 :" position="absolute 223 13 322 30" id="caption1" class="search_name" anchor="default"/>
- <Calendar position="absolute 310 11 395 30" id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd" anchor="default"/>
- <Button position="absolute 170 12 186 28" id="button27" class="icon_search" text="" anchor="default" onclick="grp_biz_group1_button27_onclick"/>
- <Calendar position="absolute 418 12 503 31" id="input1" class="input_search" mask="yyyy-mm-dd" anchor="default"/>
- <Static text="~" position="absolute 400 12 420 32" id="caption2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 860 54 940 73" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="default" onclick="grp_biz_btn_excelsave_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 884 611 940 633" id="btn_cancel" class="btn4" text="종료" onclick="btn_cancel_onclick"/>
- <Static id="cap_title" text="복잡수술료 사유조회" class="tit_1" position="absolute 0 0 216 23"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cplxoplist" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="ordtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cplxoplist"/>
- <Col id="pid"/>
- <Col id="cretno"/>
- <Col id="instcd">031</Col>
- <Col id="orddd"/>
- <Col id="ordtodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cplxop_cplxoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_drgno" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item1" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="orddd"/>
- <BindItem id="item2" compid="grp_biz.group1.input1" propid="value" datasetid="ds_send" columnid="ordtodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPPIJ03800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPPIJ03800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.grd_cplxoplist);
- grdf_setRowTypeIcon(grp_biz.grd_cplxoplist, 0);
-
- fInitialize();
- }
- var gToday = new Date();
- var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var gBasemonth = gToday.getDateFormat("MM");
- var gBaseday = gToday.getDateFormat("DD");
- var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
- var gCurrentym = gBaseyear + gBasemonth;
- function fInitialize()
- {
- if(frmf_checkOpener())
- {
- var pid = opener.frmf_getParameter("pid");
- var orddd = opener.frmf_getParameter("orddd");
- var ordtodd = opener.frmf_getParameter("ordtodd");
-
- ds_send.setColumn(0, "pid", pid);
- ds_send.setColumn(0, "orddd", orddd);
- ds_send.setColumn(0, "ordtodd", ordtodd);
- }
-
- if (utlf_isNull(ds_send.getColumn(0, "orddd")))
- {
- ds_send.setColumn(0, "orddd", utlf_getCurrentDate());
- ds_send.setColumn(0, "ordtodd", utlf_getCurrentDate());
- }
-
- grp_biz_group1_btn_select_onclick();
- }
-
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDocuList();
- }
- function fGetDocuList()
- {
- var oParam = {};
- oParam.id = "TRPIJ03800";
- oParam.service = "bfjudgapp.InHospJudg";
- oParam.method = "reqGetComplOpResnList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cplxop_cplxoplist=cplxop";
- oParam.async = false;
- //oParam.callback = "cf_TRPIJ03800";
- tranf_submit(oParam);
- }
- function grp_biz_group1_ipt_drgno_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetDocuList();
- }
- }
- function grp_biz_group1_button27_onclick(obj:Button, e:ClickEventInfo)
- {
- var ipt_pid = grp_biz.group1.ipt_drgno.value;
- ds_hidden_sppmc02500_cond.setColumn(0, "srchcond","1");
- ds_hidden_sppmc02500_cond.setColumn(0, "pid", ipt_pid);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden_sppmc02500_cond;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- var srch_pid = ds_patinfolist.getColumn(0, "pid");
-
- if (srch_pid)
- {
- ds_patinfolist.clearData();
-
- ds_send.setColumn(0, "pid", srch_pid);
- ds_send.setColumn(0, "cretno", "");
- }
- }
- function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_cplxop_cplxoplist.rowcount == 0)
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- else
- {
- grdf_exportExcel(grp_biz.grd_cplxoplist, "복잡수술료 사유조회", "see");
- }
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }]]></Script>
- </Form>
- </FDL>
|