123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNO02900" position="absolute 0 0 1203 784" titletext="외래환자 설명, 안내문 출력" oninit="SMMNO02900_oninit" onload="SMMNO02900_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 2 1195 27" id="group1">
- <Layouts>
- <Layout>
- <Static text="외래환자 설명, 안내문 출력" position="absolute 0 0 197 25" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 757 1195 784" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Edit readonly="true" position="absolute 5 4 40 23" align="align:right middle;" id="opt_cnt"/>
- <Static text="건이 조회되었습니다" position="absolute 45 4 175 24" align="align:center middle;" id="caption10"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1195 755" id="group5" class="datagrid2" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute 1 55 1195 61" linetype="horizontal" id="line1" class="line_10"/>
- <Grid position="absolute 1 60 1195 740" id="grd_OutRsrvPatList" class="datagrid2" binddataset="ds_grd_OutRsrvPatList" onrbuttondown="group5_grd_OutRsrvPatList_onrbuttondown" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="79"/>
- <Column size="53"/>
- <Column size="77"/>
- <Column size="78"/>
- <Column size="41"/>
- <Column size="107"/>
- <Column size="53"/>
- <Column size="109"/>
- <Column size="100"/>
- <Column size="59"/>
- <Column size="52"/>
- <Column size="70"/>
- <Column size="25"/>
- <Column size="15"/>
- <Column size="16"/>
- <Column size="61"/>
- <Column size="82"/>
- <Column size="105"/>
- <Column size="106"/>
- <Column size="340"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="31" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="진료일"/>
- <Cell col="2" text="예약 시간"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="S/A"/>
- <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" colspan="2" text="재진 챠트" taborder="undefined"/>
- <Cell col="16" text="기타 구분"/>
- <Cell col="17" text="보험유형"/>
- <Cell col="18" text="전화번호1"/>
- <Cell col="19" text="전화번호2"/>
- <Cell col="20" text="주소"/>
- <Cell col="21" text="remfact"/>
- <Cell col="22" text="orddeptcd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="(chk == 'Y' || chk == '1')?1:0"/>
- <Cell col="1" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
- <Cell col="2" displaytype="date" text="bind:ordtm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:sexage"/>
- <Cell col="6" text="bind:rrgstno"/>
- <Cell col="7" text="bind:centcdnm"/>
- <Cell col="8" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:subdeptcdnm"/>
- <Cell col="10" text="bind:usernm"/>
- <Cell col="11" text="bind:fsexamflag"/>
- <Cell col="12" text="bind:rsrvflag"/>
- <Cell col="13" text="bind:calcyn"/>
- <Cell col="14" text="bind:chrtflag"/>
- <Cell col="15" text="bind:chrtflage"/>
- <Cell col="16" text="bind:req"/>
- <Cell col="17" text="bind:insukind"/>
- <Cell col="18" text="bind:hometel"/>
- <Cell col="19" text="bind:mpphontel"/>
- <Cell col="20" style="align:left;" text="bind:addr"/>
- <Cell col="21" text="bind:careacpt"/>
- <Cell col="22" text="bind:orddeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 14 1195 49" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="진료일자 :" position="absolute 16 10 92 27" id="caption3" class="search_name" anchor="default"/>
- <Static text="진료과 :" position="absolute 246 10 305 27" id="caption2" class="search_name" anchor="default"/>
- <Static text="진료의 :" position="absolute 531 10 590 27" id="caption4" class="search_name" anchor="default"/>
- <Button position="absolute 1113 7 1169 29" id="button4" class="btn6" taborder="9" text="출력" anchor="default" onclick="group5_grp_sea_button4_onclick"/>
- <Combo position="absolute 595 9 760 28" id="cmb_orddr" class="combo_s_essential" enable="false" taborder="4" innerdataset="ds_init_cmb_orddr" datacolumn="userdepthngnm" codecolumn="userid" anchor="default" onitemchanged="group5_grp_sea_cmb_orddr_onitemchanged"/>
- <Combo position="absolute 310 9 465 28" id="cmb_orddept" class="combo_s_essential" taborder="3" innerdataset="ds_init_cmb_orddept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group5_grp_sea_cmb_orddept_onitemchanged"/>
- <Button position="absolute 1054 7 1110 29" id="btn_ref" class="btn1" taborder="8" text="조회" anchor="default" onclick="group5_grp_sea_btn_ref_onclick"/>
- <Calendar position="absolute 95 9 195 28" id="ipt_orddd" class="input_s_essential" taborder="1" anchor="default" onchanged="group5_grp_sea_ipt_orddd_onchanged"/>
- <Shape position="absolute 1037 6 1043 28" linetype="vertical" id="line11" class="line_4" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <PopupMenu id="PopupMenu00" position="absolute 1249 41 1338 67" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="PopupMenu00_onmenuclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="idcolumn" size="256"/>
- <Column id="captioncolumn" size="256"/>
- <Column id="levelcolumn" size="256"/>
- <Column id="enablecolumn" size="256"/>
- <Column id="iconcolumn" size="256"/>
- <Column id="checkboxcolumn" size="256"/>
- <Column id="hotkeycolumn" size="256"/>
- <Column id="userdatacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idcolumn">fPatMemo</Col>
- <Col id="captioncolumn">환자메모</Col>
- <Col id="levelcolumn"/>
- <Col id="enablecolumn"/>
- <Col id="iconcolumn"/>
- <Col id="checkboxcolumn"/>
- <Col id="hotkeycolumn"/>
- <Col id="userdatacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- </PopupMenu>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_OutRsrvPatList" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="ordtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="centcdnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="subdeptcdnm" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="fsexamflag" type="STRING"/>
- <Column id="rsrvflag" type="STRING"/>
- <Column id="calcyn" type="STRING"/>
- <Column id="chrtflag" type="STRING"/>
- <Column id="chrtflage" type="STRING"/>
- <Column id="req" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="hometel" type="STRING"/>
- <Column id="mpphontel" type="STRING"/>
- <Column id="addr" type="STRING"/>
- <Column id="careacpt" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userdepthngnm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_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="orddd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddr" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rsrvflag7" type="STRING" size="256"/>
- <Column id="nursacptyn" type="STRING" size="256"/>
- <Column id="prntusge" type="STRING" size="256"/>
- <Column id="prcpspecflag" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- <Column id="ordclsdeptflag" type="STRING" size="256"/>
- <Column id="supdeptcd" type="STRING" size="256"/>
- <Column id="gettdayacptyn" type="STRING" size="256"/>
- <Column id="chktdayacptyn" type="STRING" size="256"/>
- <Column id="guidedocuyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddd"/>
- <Col id="orddeptcd"/>
- <Col id="orddr"/>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="rsrvflag7">Y</Col>
- <Col id="nursacptyn">Y</Col>
- <Col id="prntusge"/>
- <Col id="prcpspecflag">Y</Col>
- <Col id="orddeptnm"/>
- <Col id="orddrnm"/>
- <Col id="cnt">0</Col>
- <Col id="ordclsdeptflag"/>
- <Col id="supdeptcd"/>
- <Col id="gettdayacptyn">N</Col>
- <Col id="chktdayacptyn">N</Col>
- <Col id="guidedocuyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.grp_sea.ipt_orddd" propid="value" datasetid="ds_cond" columnid="orddd"/>
- <BindItem id="item1" compid="group5.grp_sea.cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
- <BindItem id="item2" compid="group5.grp_sea.cmb_orddr" propid="value" datasetid="ds_cond" columnid="orddr"/>
- <BindItem id="item3" compid="grp_btn.opt_cnt" propid="value" datasetid="ds_cond" columnid="cnt"/>
- </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 "com_departmentcodexp::ZSD001.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- var uijeongbuinstcd="", sunggainstcd="", vincentinstcd=""; // 의정부성모,부천성가, 성빈센트병원기관코드_20090606
- var tdayAcptYN = "N"; // 외래진료예약 시 당일접수환자포함 조회 병원 (2009.06.23 JJE)
- function fInitialize(){
-
- grdf_initGrid(group5.grd_OutRsrvPatList);
- ds_grd_OutRsrvPatList.clearData();
-
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var standard_yn = "rcptuseyn";
- var ord_deptflag = 'X';
- //var rslt_ref = "/root/init/orddept";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = utlf_getCurrentDate();
- //오늘 날짜로 초기화 하는 부분.(진료일자를 default로 오늘 날짜로 선택함)
- ds_cond.setColumn(0,"orddd", dt);
-
- // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
- zsdfGetCareOutOrderDepartmentList(instcd, "ds_init_cmb_orddept", dt);
- dsf_addDsItem( ds_init_cmb_orddept, "deptcd","depthngnm", "전체진료과", "0000000000", "above");
-
- //model.resetInstanceNode("/root/main/cond/orddept");
-
- // 공통코드 스크립트 호출
- var arrParam = [{dsNm: "ds_init_comcd", cdGrpId: "Z0008"}
- ]
- appf_getCodeList(arrParam);
-
- //zbcfGetCodeList( new Array("Z0008"), new Array("/root/init/comcd"));
- var dutplcecd = sysf_getUserInfo("dutplcecd"); // 근무지부서코드
- var suporddeptcd = sysf_getUserInfo("ordsupdeptcd");
-
- if (!utlf_isNull(dutplcecd)) {
- ds_cond.setColumn(0,"orddeptcd", dutplcecd); // 근무지부서코드
- fDeptDoctSearch(); // 의사리스트조회
- }
-
- }
- /**
- * @group :
- * @ver : 2007.09.17
- * @by : 문창곤
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 진료과의 의사 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fDeptDoctSearch(typegubn){
- group5.grp_sea.cmb_orddr.enable= true;
-
- ds_grd_OutRsrvPatList.clearData();
-
- var orddd = ds_cond.getColumn(0,"orddd");
- var orddeptcd = ds_cond.getColumn(0,"orddeptcd");
-
-
- var sordclsdeptflag = ds_init_cmb_orddept.lookup("deptcd",orddeptcd ,"ordclsdeptflag"); // 센터/대표/분과/서브 구분
- var ssupdeptcd = ds_init_cmb_orddept.lookup("deptcd",orddeptcd ,"supdeptcd"); // 상위부서코드
- var sorddeptkind = ds_init_cmb_orddept.lookup("deptcd",orddeptcd ,"orddeptkind"); // 센터/대표 구분
-
- var sorddeptflag = "";
-
- if (sorddeptkind == "C") { // 센터이면
- sorddeptflag = "C";
- } else { // 그외에 기타과
- sorddeptflag = "etc";
- }
-
- ds_cond.setColumn(0,"ordclsdeptflag",sorddeptflag);
- var ordclsdeptflag = sorddeptflag;
- ds_cond.setColumn(0,"supdeptcd",ssupdeptcd);
- var supdeptcd = ssupdeptcd;
- dsf_createDsRow("ds_temp", [{col: "orddeptcd", val:orddeptcd }
- ,{col: "orddd", val:orddd }
- ,{col: "ordclsdeptflag", val:ordclsdeptflag }
- ,{col: "supdeptcd", val:supdeptcd }
- ]);
- var oParam = {};
- oParam.id = "TRMNO00104";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetDrId";
- oParam.inds = "reqdrid=ds_temp";
- oParam.outds = "ds_init_cmb_orddr=orddr";
- oParam.async = false;
- oParam.callback = "cf_TRMNO00104";
- tranf_submit(oParam);
-
- if(ds_init_cmb_orddr.rowcount > 0){
- // for(var i = 0; i < group5.grd_OutRsrvPatList.getCellCount("Head");i++) {
- // ds_grd_OutRsrvPatList.keystring="S:"+ lf_getBindCellName(group5.grd_OutRsrvPatList,i);
- // }
- //addComboInstance("/root/init/orddr", "userid^usernm", "00000000^전체의사", "orddr"); //진료의콤보 전체추가
- //addComboInstance("/root/init/orddr", "userid^userdepthngnm", "00000000^전체의사", "orddr"); //진료의콤보 전체추가
- dsf_addDsItem( ds_init_cmb_orddr, "userid", "userdepthngnm", "전체의사", "00000000", "above");
- group5.grp_sea.cmb_orddr.index = 1;
- } else {
- //addComboInstance("/root/init/orddr", "userid^usernm", "00000000^전체의사", "orddr"); //진료의콤보 전체추가
- dsf_addDsItem( ds_init_cmb_orddr, "userid", "userdepthngnm", "전체의사","00000000", "above");
-
- group5.grp_sea.cmb_orddr.index = 0;
-
- }
-
- ds_cond.setColumn(0,"orddeptnm", group5.grp_sea.cmb_orddept.text);
- }
- function cf_TRMNO00104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- /**
- * @group :
- * @ver : 2009.07.30
- * @by : 성미연
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자설명, 안내문출력 환자리스트 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fBtnRefClicked(){
- ds_grd_OutRsrvPatList.clearData();
-
- var sorddept = ds_cond.getColumn(0,"orddeptcd");
- var sorddr = ds_cond.getColumn(0,"orddr");
-
- var rsrvflag7 = ds_cond.getColumn(0,"rsrvflag7"); // 기타포함
- var sOrdDD = ds_cond.getColumn(0,"orddd");
- if(utlf_isNull(group5.grp_sea.cmb_orddept.value)){
- sysf_messageBox("진료과를 선택하지 ","E007");
- return;
- }
-
- //진료의 확인추가(진료의선택하지않아도 전체의사조회됨)-20090910-kys
- if(utlf_isNull(group5.grp_sea.cmb_orddr.value)) {
- sysf_messageBox("진료의를 선택하지 ","E007");
- return;
- }
-
- dsf_createDs("ds_send_req");
- dsf_copyDs(ds_send_req,ds_cond,"replace");
- dsf_makeValue(ds_send_req,"ordfromdd", "string",sOrdDD);
- dsf_makeValue(ds_send_req,"ordtodd","string", sOrdDD);
-
- var oParam = {};
- oParam.id = "TRMNO01801";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetOutRsrvPatList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_grd_OutRsrvPatList=outrsrvpatinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMNO01801";
- tranf_submit(oParam);
-
- ds_cond.setColumn(0,"orddrnm",group5.grp_sea.cmb_orddr.text);
- }
- function cf_TRMNO01801(sScvId, nErrorCode, sErrorMsg){
- if(nErrorCode == 0){//성공하였을때
-
- ds_cond.setColumn(0,"cnt",ds_grd_OutRsrvPatList.rowcount);
- group5.grd_OutRsrvPatList.setCellProperty("head",0,"text","1");
-
- for(var i = 0; i < ds_grd_OutRsrvPatList.rowcount; i++){
- //화면 로딩후 바로 출력버튼 클릭시 선택된내역이 없다는 창이 뜨는 오류로 수정함-20090928-kys(true->Y)
- ds_grd_OutRsrvPatList.setColumn(i,"chk", "Y");
- }
-
- }else{
- sysf_messageBox(sErrorMsg, "E");
- }
- }
- /**
- * @group :
- * @ver : 2009.07.30
- * @by : 성미연
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 외래환자설명, 안내문 출력
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fClickPrint(){
- if (ds_grd_OutRsrvPatList.findRow("chk","1") == -1){
- sysf_messageBox("선택된 내역이 없습니다.", "I");
- return;
- }
-
- //var printYN = "N";
-
- for(var i = 0; i < ds_grd_OutRsrvPatList.rowcount;i++) {
- var chk = ds_grd_OutRsrvPatList.getColumn(i,"chk");
- var pid = ds_grd_OutRsrvPatList.getColumn(i,"pid");
- var orddeptcd = ds_grd_OutRsrvPatList.getColumn(i,"orddeptcd");
-
- var SRow = ds_grd_OutRsrvPatList.findRow("pid",pid) ;
- var SChk = ds_grd_OutRsrvPatList.getColumn(SRow,"chk");
- var SOrddeptcd = ds_grd_OutRsrvPatList.getColumn(SRow,"orddeptcd");
-
- if(chk == "1"){
- if(SChk == "1" && orddeptcd == SOrddeptcd && SRow != "-1" && SRow < i){ //다른유형으로 접수됐을 경우 한번만 출력되도록 함
- continue;
- }else{
- // model.removenode("/root/temp/printdata");
- // //send 재구성
- // model.makeValue("/root/temp/printdata","");
- // model.copyNode("/root/temp/printdata", "/root/main/outrsrvpatlist/outrsrvpatinfo[" + i + "]");
- //
- // exeReportPreview("RPMNO02900", "XMLSTR", "", "", "true", "", "", "", "", "true"); //미리보기 뜨지 않음
- // //exeReportPreview("RPMNO02900", "XMLSTR", "", "", "", "", "", "", "", "true");
- dsf_createDs("ds_temp_printdata");
- dsf_copyColInfo(ds_temp_printdata,ds_grd_OutRsrvPatList);
- ds_temp_printdata.copyRow(ds_temp_printdata.addRow(),ds_grd_OutRsrvPatList,i);
- var rptname = "RPMNO02900";
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;"; //미리보기 옵션
- obj.xml_data_XML1 = rptf_getXMLString(ds_temp_printdata, "/root/temp/printdata");
- rptf_exeReportPreview30([rptname], [obj], option);
-
-
- }
- ds_grd_OutRsrvPatList.setColumn(i,"chk","0");
- }
-
-
- }
-
-
-
- }
- function fPatMemo() {
- var pid = ds_grd_OutRsrvPatList.getColumn(ds_grd_OutRsrvPatList.rowposition,"pid");
- var hngnm = ds_grd_OutRsrvPatList.getColumn(ds_grd_OutRsrvPatList.rowposition,"patnm");
- var orddeptcd = ds_grd_OutRsrvPatList.getColumn(ds_grd_OutRsrvPatList.rowposition,"orddeptcd");
-
- frmf_setParameter("SPMNO02300_PARM", pid + "▦" + hngnm + "▦" + orddeptcd);
- frmf_modal("SPMNO02300","SPMNO02300", "","", "", "", "", "", "", "", "", "", "M");
- }
-
- function SMMNO02900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNO02900_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function group5_grd_OutRsrvPatList_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- obj.setFocus();
- grdf_setSelectedCell(obj, e);
-
- obj.oncellclick.fireEvent(obj, new GridClickEventInfo());
- PopupMenu00.trackPopup(e.screenX,e.screenY);
- }
- function group5_grp_sea_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickPrint();
- }
- function group5_grp_sea_cmb_orddr_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fBtnRefClicked();
- }
- function group5_grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- obj.updateToDataset();
- fDeptDoctSearch();
- }
- function group5_grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fBtnRefClicked();
- }
- function group5_grp_sea_ipt_orddd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fDeptDoctSearch();
- }
- function PopupMenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- ]]></Script>
- </Form>
- </FDL>
|