123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO06800" position="absolute 0 0 1186 713" titletext="권역외상의사 호출내역" oninit="SPMMO06801_oninit" onload="SPMMO06801_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 70 1185 713" id="grd_erdrcalllist" taborder="5" binddataset="ds_grd_erdrcalllist" cellsizingtype="both" treeinitstatus="expand,null" treeusecheckbox="false" treeuseexpandkey="true" treeuseimage="false" anchor="all" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0" band="left"/>
- <Column size="24" band="left"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="75"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="192"/>
- <Column size="48"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="levl"/>
- <Cell col="1"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="indd"/>
- <Cell col="4" text="cretno"/>
- <Cell col="5" text="visitno"/>
- <Cell col="6" text="erorddoctcd"/>
- <Cell col="7" text="호출순서"/>
- <Cell col="8" text="callcntcno"/>
- <Cell col="9" text="callcnts"/>
- <Cell col="10" text="이름"/>
- <Cell col="11" text="성별/나이"/>
- <Cell col="12" text="중증"/>
- <Cell col="13" text="내원일시"/>
- <Cell col="14" text="진료과"/>
- <Cell col="15" text="담당의"/>
- <Cell col="16" text="호출번호"/>
- <Cell col="17" text="호출일시"/>
- <Cell col="18" text="callnm"/>
- <Cell col="19" text="callpsnid"/>
- <Cell col="20" text="호출자"/>
- <Cell col="21" text="도착일시"/>
- <Cell col="22" text="visitrgstrid"/>
- <Cell col="23" text="호출내용"/>
- <Cell col="24" text="호출취소"/>
- <Cell col="25" text="소요시간(분)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lvl"/>
- <Cell col="1" celltype="head" text="expr:currow + 1"/>
- <Cell col="2" style="align:center middle;" text="bind:pid" suppress="1" suppressalign="middle,over"/>
- <Cell col="3" style="align:left middle;" text="bind:indd"/>
- <Cell col="4" style="align:left middle;" text="bind:cretno"/>
- <Cell col="5" style="align:left middle;" text="bind:visitno"/>
- <Cell col="6" style="align:left middle;" text="bind:erorddoctcd"/>
- <Cell col="7" style="align:left middle;" text="bind:callno"/>
- <Cell col="8" style="align:left middle;" text="bind:callcntcno"/>
- <Cell col="9" style="align:left middle;" text="bind:callcnts"/>
- <Cell col="10" style="align:center middle;" text="bind:pname" suppress="2" suppressalign="middle,over"/>
- <Cell col="11" text="bind:sa" suppress="3" suppressalign="middle,over"/>
- <Cell col="12" text="bind:serflag" suppress="4" suppressalign="middle,over"/>
- <Cell col="13" text="bind:indt" mask="####-##-## ##:##" suppress="5" suppressalign="middle,over"/>
- <Cell col="14" displaytype="combo" edittype="combo" style="padding:0 0 3 3;" text="bind:erorddeptcd" suppress="6" suppressalign="middle,over" combodataset="ds_orddept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="15" style="align:center middle;" text="bind:erorddoctnm"/>
- <Cell col="16" text="bind:dispcallcntcno"/>
- <Cell col="17" text="bind:calldt" mask="####-##-## ##:##"/>
- <Cell col="18" text="bind:callnm"/>
- <Cell col="19" text="bind:callpsnid"/>
- <Cell col="20" style="align:center middle;" text="bind:callpsnnm"/>
- <Cell col="21" text="bind:arrivdt" mask="expr:(!utlf_isNull(arrivdt) && arrivdt != "--------------") ? "####-##-## ##:##" : """/>
- <Cell col="22" text="bind:visitrgstrid"/>
- <Cell col="23" displaytype="text" style="align:left top;padding:3 2 1 2;" text="bind:callcnts" wordwrap="char"/>
- <Cell col="24" displaytype="normal" style="align:center;" text="bind:histcd"/>
- <Cell col="25" style="align:center middle;" text="bind:usetm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="권역외상의사 호출내역" position="absolute 0 52 179 68" align="align:center middle;" id="caption2" class="tit_2"/>
- <Shape position="absolute 987 7 993 39" linetype="vertical" id="line3"/>
- <Div id="Div00" taborder="6" position="absolute 0 0 1185 46" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption11" text="호출일자" class="search_name" position="absolute 11 14 87 34" anchor="default"/>
- <Calendar id="input11" taborder="0" position="absolute 80 14 170 33" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="진료과 / 담당의" class="search_name" position="absolute 301 14 419 34" anchor="default"/>
- <Combo id="combo2" taborder="3" innerdataset="ds_userlist" codecolumn="userid" datacolumn="usernm" position="absolute 519 14 619 34" anchor="default"/>
- <Static id="caption3" text="등록번호" class="search_name" position="absolute 641 14 710 34" anchor="default"/>
- <Edit id="input1" taborder="4" position="absolute 714 14 792 34" anchor="default" autoselect="true" onkeyup="Div00_input1_onkeyup"/>
- <Edit id="input2" taborder="5" enable="false" position="absolute 793 14 862 34" anchor="default"/>
- <Combo id="cmb_orddept" taborder="2" innerdataset="ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 416 14 516 34" anchor="default" onitemchanged="Div00_cmb_orddept_onitemchanged"/>
- <Button id="btn_req" taborder="7" text="조회" class="btn1" position="absolute 1121 14 1177 34" anchor="top right" onclick="Div00_btn_req_onclick"/>
- <Calendar id="input00" taborder="1" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 190 14 280 33" anchor="default" autoskip="true"/>
- <Static id="Static00" text="~" position="absolute 175 19 188 30" onclick="Div00_Static00_onclick" anchor="default"/>
- <CheckBox id="chk_resyn" taborder="6" text="전공의 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 875 6 959 22"/>
- <CheckBox id="chk_viewall" taborder="8" text="외상호출 취소" value="N" truevalue="Y" falsevalue="N" position="absolute 876 26 974 42"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_excel" taborder="7" useinputpanel="false" position="absolute 0 152 1181 471" binddataset="ds_grd_erdrcalllist" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="365"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="instcd"/>
- <Cell col="1" displaytype="normal" text="pid"/>
- <Cell col="2" displaytype="normal" text="indd"/>
- <Cell col="3" displaytype="normal" text="cretno"/>
- <Cell col="4" displaytype="normal" text="visitno"/>
- <Cell col="5" displaytype="normal" text="erorddoctcd"/>
- <Cell col="6" displaytype="normal" text="callno"/>
- <Cell col="7" displaytype="normal" text="serflag"/>
- <Cell col="8" displaytype="normal" text="pname"/>
- <Cell col="9" displaytype="normal" text="sa"/>
- <Cell col="10" displaytype="normal" text="erorddeptcd"/>
- <Cell col="11" displaytype="normal" text="erorddeptnm"/>
- <Cell col="12" displaytype="normal" text="erorddoctnm"/>
- <Cell col="13" displaytype="normal" text="mainsubflag"/>
- <Cell col="14" displaytype="normal" text="callcntcno"/>
- <Cell col="15" displaytype="normal" text="callcnts"/>
- <Cell col="16" displaytype="normal" text="calldt"/>
- <Cell col="17" displaytype="normal" text="callpsnnm"/>
- <Cell col="18" displaytype="normal" text="arrivdt"/>
- <Cell col="19" displaytype="normal" text="visitrgstnm"/>
- <Cell col="20" displaytype="normal" text="usetm"/>
- <Cell col="21" displaytype="normal" text="dispcallcntcno"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:instcd"/>
- <Cell col="1" displaytype="normal" text="bind:pid"/>
- <Cell col="2" displaytype="normal" text="bind:indd"/>
- <Cell col="3" displaytype="normal" text="bind:cretno"/>
- <Cell col="4" displaytype="normal" text="bind:visitno"/>
- <Cell col="5" displaytype="text" style="align:center;" text="bind:erorddoctcd"/>
- <Cell col="6" displaytype="normal" text="bind:callno"/>
- <Cell col="7" displaytype="normal" text="bind:serflag"/>
- <Cell col="8" displaytype="normal" text="bind:pname"/>
- <Cell col="9" displaytype="normal" text="bind:sa"/>
- <Cell col="10" displaytype="normal" text="bind:erorddeptcd"/>
- <Cell col="11" displaytype="normal" text="bind:erorddeptnm"/>
- <Cell col="12" displaytype="normal" text="bind:erorddoctnm"/>
- <Cell col="13" displaytype="normal" text="bind:mainsubflag"/>
- <Cell col="14" displaytype="text" style="align:center;" text="bind:callcntcno"/>
- <Cell col="15" displaytype="normal" text="bind:callcnts"/>
- <Cell col="16" displaytype="text" style="align:center;" text="bind:calldt"/>
- <Cell col="17" displaytype="normal" text="bind:callpsnnm"/>
- <Cell col="18" displaytype="text" style="align:center;" text="bind:arrivdt"/>
- <Cell col="19" displaytype="normal" text="bind:visitrgstnm"/>
- <Cell col="20" displaytype="normal" text="bind:usetm"/>
- <Cell col="21" displaytype="normal" text="bind:dispcallcntcno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excel1" taborder="8" text="엑셀1" onclick="btn_excel1_onclick" class="btn7" position="absolute 984 14 1045 34" anchor="top right" visible="false"/>
- <Button id="btn_excel2" taborder="9" text="엑셀2" class="btn7" position="absolute 1047 14 1108 34" anchor="top right" onclick="btn_excel2_onclick" visible="false"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_erdrcalllist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="indt" type="STRING"/>
- <Column id="visitno" type="STRING"/>
- <Column id="erorddoctcd" type="STRING"/>
- <Column id="callno" type="STRING"/>
- <Column id="serflag" type="STRING"/>
- <Column id="pname" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="erorddeptcd" type="STRING"/>
- <Column id="erorddeptnm" type="STRING"/>
- <Column id="erorddoctnm" type="STRING"/>
- <Column id="mainsubflag" type="STRING"/>
- <Column id="callcntcno" type="STRING"/>
- <Column id="callcnts" type="STRING"/>
- <Column id="calldt" type="STRING"/>
- <Column id="callpsnnm" type="STRING"/>
- <Column id="arrivdt" type="STRING"/>
- <Column id="visitrgstnm" type="STRING"/>
- <Column id="usetm" type="STRING"/>
- <Column id="dispcallcntcno" type="STRING"/>
- <Column id="histcd" type="STRING" size="256" sumtext="호출취소(L)"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="resyn" type="STRING" size="256"/>
- <Column id="viewdel" type="STRING" size="256" sumtext="N : 삭제포함 , Y : 삭제만"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="resyn">N</Col>
- <Col id="hngnm"/>
- <Col id="pid"/>
- <Col id="orddrid"/>
- <Col id="orddeptcd"/>
- <Col id="todd"/>
- <Col id="fromdd"/>
- <Col id="viewdel">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_mainyn" 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="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">주</Col>
- <Col id="value">M</Col>
- </Row>
- <Row>
- <Col id="label">부</Col>
- <Col id="value">S</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256" sumtext="userid"/>
- <Column id="dutplcecd" type="STRING" size="256" sumtext="dutplcecd"/>
- <Column id="workdd" type="STRING" size="256" sumtext="workdd"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="superuser" type="STRING" size="256" sumtext="근무확인"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="Div00.input11" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="Div00.cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
- <BindItem id="item2" compid="Div00.combo2" propid="value" datasetid="ds_cond" columnid="orddrid"/>
- <BindItem id="item3" compid="Div00.input1" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item4" compid="Div00.input2" propid="value" datasetid="ds_cond" columnid="hngnm"/>
- <BindItem id="item5" compid="Div00.input00" propid="value" datasetid="ds_cond" columnid="todd"/>
- <BindItem id="item6" compid="" propid="" datasetid="ds_grd_erdrcalllist" columnid=""/>
- <BindItem id="item7" compid="Div00.chk_resyn" propid="value" datasetid="ds_cond" columnid="resyn"/>
- <BindItem id="item8" compid="Div00.chk_viewall" propid="value" datasetid="ds_cond" columnid="viewdel"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-08-29
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-29 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- function SPMMO06801_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_erdrcalllist);
- }
- function SPMMO06801_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(grd_erdrcalllist);
-
- var currentDate = utlf_getCurrentDate();
-
- lf_mmbfGetDeptCodeComboList(ds_orddept, "D", currentDate);
- frmf_addComboItem("Div00.cmb_orddept"); //진료과 전체항목 추가
- frmf_addComboItem("Div00.combo2"); //의사콤보 전체항목 추가
-
- ds_cond.setColumn(0, "fromdd", currentDate);
- ds_cond.setColumn(0, "todd", currentDate);
- ds_cond.setColumn(0, "pid", "");
- ds_cond.setColumn(0, "hngnm", "");
- ds_cond.setColumn(0, "orddeptcd", "-");
- ds_cond.setColumn(0, "orddrid" , "-");
-
-
- ds_send.setColumn(0, "userid", sysf_getUserInfo("userid"));
- ds_send.setColumn(0, "dutplcecd", "2870000000");
- ds_send.setColumn(0, "workdd", currentDate);
-
- var oParam = {};
- oParam.id = "TRMNE05805";
- oParam.service = "ercareapp.ERPatMngt";
- oParam.method = "reqGetSuperUserTCenter";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_userinfo=userinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var sSuperUser = ds_userinfo.getColumn(0, "superuser");
- if (sSuperUser == "Y") {
- btn_excel1.visible = true;
- btn_excel2.visible = true;
- } else {
- btn_excel1.visible = false;
- btn_excel2.visible = false;
- }
-
- fReqERDrCallHistList();
- }
- function Div00_btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- fReqERDrCallHistList();
- }
- function Div00_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_mmbfGetUserComboList(ds_userlist, obj.value, "0330"); //전체로 변경이 아닌 경우, 해당부서 의사조회
- frmf_addComboItem("Div00.combo2"); //의사콤보 전체항목 추가
- Div00.combo2.value ="-";
- ds_cond.setColumn(0, "orddrid", "-");
- //Div00.combo2.updateToDataset();
- }
- function fReConcPhone(){
- var totrow = ds_grd_erdrcalllist.rowcount;
- var dispcallcntcno = "";
- var callcntcno = "";
-
- for(var currow = 0; currow < totrow; currow++){
- dispcallcntcno = "";
- callcntcno = ds_grd_erdrcalllist.getColumn(currow, "callcntcno");
- if(callcntcno.length == 11){
- dispcallcntcno = callcntcno.substr(0, 3) + "-" + callcntcno.substr(3, 4) + "-" + callcntcno.substr(7, 4);
- } else if (callcntcno.length == 10){
- dispcallcntcno = callcntcno.substr(0, 3) + "-" + callcntcno.substr(3, 3) + "-" + callcntcno.substr(6, 4);
- } else {
- dispcallcntcno = callcntcno;
- }
- ds_grd_erdrcalllist.setColumn(currow, "dispcallcntcno", dispcallcntcno);
- }
- }
- /**
- * @desc 응급실의사 호출내역 조회
- */
- function fReqERDrCallHistList(){
- ds_reqdata.copyData(ds_cond);
-
- var oParam = {};
- oParam.id = "TRMMO06802";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetTOrdDrCallHist";
- oParam.inds = "req=ds_reqdata";
- oParam.outds = "ds_grd_erdrcalllist=torddrcallhist";
- oParam.async = true;
- oParam.callback = "cf_TRMMO06802";
- tranf_submit(oParam);
- }
- function cf_TRMMO06802(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fReConcPhone();
- }
- function Div00_input1_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- if(utlf_isNull(obj.value)){
- return;
- }
- obj.updateToDataset();
- if(lf_reqPatInfo(ds_patnm, "pid", "ptbs", obj.value)) {
- ds_cond.setColumn(0, "hngnm", ds_patnm.getColumn(0, "hngnm"));
-
- fReqERDrCallHistList();
- }
- }
- }
- function btn_excel1_onclick(obj:Button, e:ClickEventInfo)
- {
- var sToDd = ds_cond.getColumn(0, "todd");
- var title = utlf_splitDateS(sToDd, "-") + " 권역외상의사 호출내역1";
- grdf_exportExcel(grd_excel, title, sToDd, false, "", "user");
- }
- function btn_excel2_onclick(obj:Button, e:ClickEventInfo)
- {
- var sToDd = ds_cond.getColumn(0, "todd");
- var title = utlf_splitDateS(sToDd, "-") + " 권역외상의사 호출내역2";
- grdf_exportExcel(grd_erdrcalllist, title, sToDd, false, "", "user");
- }
- ]]></Script>
- </Form>
- </FDL>
|