123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>예약내역조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <srchtelrsrv>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <fromdd/>
- <todd/>
- <pid/>
- <orddept/>
- <orddr/>
- <srchcond/>
- <ddflag/>
- </srchtelrsrv>
- <outtelrsrv>
- <outtelrsrvlist/>
- </outtelrsrv>
- <result/>
- </main>
- <send/>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- <P0021list>
- <P0021>
- <cdnm/>
- <cdid/>
- </P0021>
- </P0021list>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- <P0341list>
- <P0341>
- <cdnm/>
- <cdid/>
- </P0341>
- </P0341list>
- </init>
- <hidden>
- <source>
- <srchcond/>
- <autoflag/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- <fromdd/>
- <todd/>
- <checkfnexam>2</checkfnexam>
- </source>
- </hidden>
- <tmp>
- <reservation/>
- <openflag/>
- <rsrvlist/>
- </tmp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- zbcfGetCodeList(new Array("P0021", "P0008", "P0341"), new Array("/root/init/P0021list", "/root/init/P0008list", "/root/init/P0341list"));
-
- //진료과코드 진료의ID 조회
- pamGetDeptCDDrIDList();
-
- //초기화
- fInitialize();
- model.refresh();
-
- //팝업화면으로 사용될 때
-
- // 화면권한설정 가져오기
- var chk = checkAuth("x");
-
- if ( chk == false ) {
- group1.visible = false;
- } else if (checkOpener()){
- patInfoNodePath = opener.javascript.getParameter("SPPMO00800_NODEPATH");
-
- // var flag = opener.javascript.getParameter("openflag");
- // model.setValue("/root/tmp/openflag", flag);
- // btn_patSearch.dispatch("DOMActivate");
- }else{
-
- group1.visible = false;
- }
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/result/patinfo"/>
- <submission id="TRPMO00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/result/patinfo"/>
- <submission id="TRPMO00208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/srchtelrsrv" resultref="/root/main/outtelrsrv"/>
- </model>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- var patInfoNodePath = '';
-
- function fInitialize(){
-
- model.resetInstanceNode("/root/main/srchtelrsrv");
- model.removeNodeset("/root/main/outtelrsrv");
-
- var curDate = getCurrentDate();
- model.setValue("/root/main/srchtelrsrv/fromdd", curDate);
- model.setValue( "/root/main/srchtelrsrv/todd", curDate);
- model.setValue("/root/main/srchtelrsrv/srchcond","ALL");
- //의정부 요청사항 - 예약일 기본 세팅
- model.setValue("/root/main/srchtelrsrv/ddflag", 'O');
-
- var flag = model.getValue("/root/tmp/openflag");
-
- if(flag == "T"){
- btn_confirm.visible = false;
- }
-
- caption20.visible = true;
- ipt_rgstno1.visible = true;
- ipt_rgstno2.visible = true;
- caption3.visible = true;
- cmb_orddept.visible = true;
- caption4.visible = true;
- cmb_orddr.visible = true;
- radio2.visible = true;
- ipt_fromdd.visible = true;
- caption24.visible = true;
- ipt_todd.visible = true;
- caption23.visible = true;
-
- grd_pseursrv.colHidden(5) = true; // 접수일자 숨김
- grd_pseursrv.colHidden(6) = false; // 접수일자 보임
- grd_pseursrv.colHidden(7) = false; // 예약일자 보임
- grd_pseursrv.colHidden(8) = false; // 시간 보임
- grd_pseursrv.colHidden(15) = false; // 예약구분 보임
- grd_pseursrv.colHidden(16) = false; // 초/재 보임
- grd_pseursrv.colHidden(17) = false; // 최초입력자이름 보임
- grd_pseursrv.colHidden(18) = false; // 최초입력시간 보임
-
- model.refresh();
- }
-
- function fRsrvInfolistPrint(){
-
- model.removeNodeset("/root/temp/rsrvlist");
-
-
- var fromdd = model.getValue("/root/main/srchtelrsrv/fromdd");
- var todd = model.getValue("/root/main/srchtelrsrv/todd");
-
- // model.alert(orddd);
-
- var srchcond = model.getValue("/root/main/srchtelrsrv/srchcond");
-
-
-
- model.makeNode("/root/temp/rsrvlist/pid");
- model.makeNode("/root/temp/rsrvlist/hngnm");
- model.makeNode("/root/temp/rsrvlist/rrgstno1");
- model.makeNode("/root/temp/rsrvlist/rrgstno2");
- model.makeNode("/root/temp/rsrvlist/acptdd");
- model.makeNode("/root/temp/rsrvlist/orddd");
- model.makeNode("/root/temp/rsrvlist/ordtm");
- model.makeNode("/root/temp/rsrvlist/orddeptnm");
- model.makeNode("/root/temp/rsrvlist/orddrnm");
- model.makeNode("/root/temp/rsrvlist/fsexamflag");
- model.makeNode("/root/temp/rsrvlist/fstrgstnm");
- model.makeNode("/root/temp/rsrvlist/fstrgstdt");
- model.makeNode("/root/temp/rsrvlist/telrsrvrem");
- model.makeNode("/root/temp/rsrvlist/fromdd");
- model.makeNode("/root/temp/rsrvlist/todd");
- model.makeNode("/root/temp/rsrvlist/srchcond");
-
-
- if(srchcond == 'ALL'){
- model.setValue("/root/temp/rsrvlist/srchcond", '전체');
- }else if(srchcond == '2'){
- model.setValue("/root/temp/rsrvlist/srchcond", '전화');
- }else if(srchcond == '5'){
- model.setValue("/root/temp/rsrvlist/srchcond", '인터넷');
- }else if(srchcond == 'C'){
- model.setValue("/root/temp/rsrvlist/srchcond", '의뢰');
- }else if(srchcond == '1'){
- model.setValue("/root/temp/rsrvlist/srchcond", '협력');
- }else if(srchcond == 'K'){
- model.setValue("/root/temp/rsrvlist/srchcond", '병동');
- }
-
-
- //상단에 진료과 진료의 세팅
- model.makeNode("/root/temp/rsrvlist/orddeptcd");
- model.makeNode("/root/temp/rsrvlist/orddrid");
-
- //var orddd = model.getValue("");
- model.makeValue("/root/temp/rsrvlist/orddeptcd", cmb_orddept.label);
- model.makeValue("/root/temp/rsrvlist/orddrid", cmb_orddr.label);
-
- //일자
- model.setValue("/root/temp/rsrvlist/fromdd", fromdd);
- model.setValue("/root/temp/rsrvlist/todd", todd);
-
- //model.alert(model.getValue("/root/main/h_otpt3/otpt/orddd");
- // model.copyNode("/root/temp/rsrvlist", "/root/main/h_otpt3/otpt[" + datagrid6.row + "]");
-
- //model.alert(model.getValue("/root/temp/rsrvlist"));
-
-
-
- for (i = 1; i <= getNodesetCount("/root/main/outtelrsrv/outtelrsrvlist"); i++) {
- model.makeValue("/root/temp/rsrvlist[" + i + "]/pid",grd_pseursrv.labelmatrix(i, 1));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/hngnm",grd_pseursrv.labelmatrix(i, 2));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/rrgstno1",grd_pseursrv.labelmatrix(i, 3));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/rrgstno2",grd_pseursrv.labelmatrix(i, 4));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/acptdd",grd_pseursrv.labelmatrix(i, 6));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/orddd",grd_pseursrv.labelmatrix(i, 7));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/ordtm",grd_pseursrv.labelmatrix(i, 8));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/orddeptnm",grd_pseursrv.labelmatrix(i, 9));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/orddrnm",grd_pseursrv.labelmatrix(i, 10));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/fsexamflag",grd_pseursrv.labelmatrix(i, 16));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/fstrgstnm",grd_pseursrv.labelmatrix(i, 17));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/fstrgstdt",grd_pseursrv.labelmatrix(i, 18));
- model.makeValue("/root/temp/rsrvlist[" + i + "]/telrsrvrem",grd_pseursrv.labelmatrix(i, 19));
-
- }
-
-
-
- exeReportPreview("RPPMO00800", "XMLSTR", "","", "false","","","","","false");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1040px; height:465px; ">
- <group id="group2" style="left:0px; top:5px; width:1040px; height:95px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1040px; height:65px; "/>
- <caption id="caption2" class="search_name" style="left:0px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
- <line id="line13" class="line_4" style="x1:949px; y1:7px; x2:949px; y2:60px; "/>
- <caption id="caption20" style="left:414px; top:8px; width:58px; height:19px; vertical-align:middle; ">주민번호 :</caption>
- <caption id="caption23" style="left:526px; top:8px; width:15px; height:19px; text-align:center; ">-</caption>
- <input id="ipt_rgstno1" ref="/root/main/srchtelrsrv/rrgstno1" class="input_default" navindex="2" maxlength="6" format="999999" style="left:475px; top:8px; width:50px; height:19px; "/>
- <caption id="caption24" style="left:293px; top:40px; width:15px; height:19px; text-align:center; ">~</caption>
- <input id="ipt_rgstno2" ref="/root/main/srchtelrsrv/rrgstno2" class="input_default" navindex="3" maxlength="7" format="9999999" style="left:541px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/srchtelrsrv/todd" class="input_default" navindex="5" inputtype="date" style="left:309px; top:40px; width:85px; height:19px; "/>
- <input id="ipt_name" ref="/root/main/srchtelrsrv/hngnm" class="input_default" navindex="1" imemode="hangul" style="left:334px; top:8px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_patSearch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption19" style="left:296px; top:8px; width:35px; height:19px; vertical-align:middle; ">성명 :</caption>
- <input id="ipt_fromdd" ref="/root/main/srchtelrsrv/fromdd" class="input_default" navindex="4" inputtype="date" style="left:207px; top:40px; width:85px; height:19px; "/>
- <button id="btn_patSearch" class="btn1_letter2" navindex="6" style="left:970px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fromdd = model.getValue("/root/main/srchtelrsrv/fromdd");
- var todd = model.getValue("/root/main/srchtelrsrv/todd");
- var hngnm = model.getValue("/root/main/srchtelrsrv/hngnm");
- var rrgstno1 = model.getValue("/root/main/srchtelrsrv/rrgstno1");
- var rrgstno2 = model.getValue("/root/main/srchtelrsrv/rrgstno2");
- var orddept = model.getValue("/root/main/srchtelrsrv/orddept");
- var orddr = model.getValue("/root/main/srchtelrsrv/orddr");
-
- if( getDateInterval(fromdd, todd) < 0 ){
-
- messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
- return false;
-
- }
- if( getDateInterval(fromdd, todd) > 100 ){
- if(hngnm == ''|| rrgstno1 == '' || rrgstno2 == '' || orddept == '' || orddr == ''){
-
- messageBox("3달 이상의 데이터를 조회시 성명/주민번호/진료과 는 필수 입력입니다!", "E999", "");
- return false;
- }
- }
-
- submit("TRPMO00208");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:612px; top:10px; width:86px; height:17px; ">진료과 :</caption>
- <caption id="caption4" style="left:820px; top:11px; width:86px; height:17px; ">진료의 :</caption>
- <select1 id="cmb_orddept" ref="/root/main/srchtelrsrv/orddept" class="combo_search" appearance="minimal" style="left:660px; top:10px; width:142px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddept.value + "']";
- //model.setValue("/root/send/orddr", "");
- model.setValue("/root/main/srchtelrsrv/orddr","");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddr" ref="/root/main/srchtelrsrv/orddr" class="combo_search" appearance="minimal" style="left:868px; top:11px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/main/srchtelrsrv/orddept");
-
- if (orddeptcd == null || orddeptcd == "" || orddeptcd == " " || orddeptcd == "-")
- {
- messageBox("진료과 선택을 먼저 하십시요!","E999","");
- model.setValue("/root/main/srchtelrsrv/orddr","");
- //cmb_orddrid.dispatch("xforms-value-changed");
- model.refresh();
- model.setFocus("cmb_orddept");
- return;
-
- }/*else{
- var specordyn = model.getValue("/root/init/orddrid/orddridlist[cd = '" + cmb_orddr.value + "']/sp");
- model.setValue("/root/send/specordyn", specordyn);
- model.refresh();
- }*/
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/main/srchtelrsrv/srchcond" appearance="minimal" style="left:156px; top:8px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>전화예약</label>
- <value>2</value>
- </item>
- <item>
- <label>인터넷</label>
- <value>5</value>
- </item>
- <item>
- <label>의뢰</label>
- <value>C</value>
- </item>
- <item>
- <label>협력</label>
- <value>1</value>
- </item>
- <item>
- <label>병동</label>
- <value>K</value>
- </item>
- <item>
- <label>포털예약</label>
- <value>W</value>
- </item>
- <item>
- <label>HIE</label>
- <value>V</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var srchcond = model.getValue("/root/main/srchtelrsrv/srchcond");
-
- if(srchcond == 'H'){
- caption20.visible = false;
- ipt_rgstno1.visible = false;
- ipt_rgstno2.visible = false;
- caption3.visible = false;
- cmb_orddept.visible = false;
- caption4.visible = false;
- cmb_orddr.visible = false;
- radio2.visible = false;
- ipt_fromdd.visible = false;
- caption24.visible = false;
- ipt_todd.visible = false;
- caption23.visible = false;
-
- grd_pseursrv.colHidden(5) = false; // 접수일자 보임
- grd_pseursrv.colHidden(6) = true; // 접수일자 숨김
- grd_pseursrv.colHidden(7) = true; // 예약일자 숨김
- grd_pseursrv.colHidden(8) = true; // 시간 숨김
- grd_pseursrv.colHidden(15) = true; // 예약구분 숨김
- grd_pseursrv.colHidden(16) = true; // 초/재 숨김
- grd_pseursrv.colHidden(17) = true; // 최초입력자이름 숨김
- grd_pseursrv.colHidden(18) = true; // 최초입력시간 숨김
-
-
- }else{
- caption20.visible = true;
- ipt_rgstno1.visible = true;
- ipt_rgstno2.visible = true;
- caption3.visible = true;
- cmb_orddept.visible = true;
- caption4.visible = true;
- cmb_orddr.visible = true;
- radio2.visible = true;
- ipt_fromdd.visible = true;
- caption24.visible = true;
- ipt_todd.visible = true;
- caption23.visible = true;
-
- grd_pseursrv.colHidden(5) = true; // 접수일자 숨김
- grd_pseursrv.colHidden(6) = false; // 접수일자 보임
- grd_pseursrv.colHidden(7) = false; // 예약일자 보임
- grd_pseursrv.colHidden(8) = false; // 시간 보임
- grd_pseursrv.colHidden(15) = false; // 예약구분 보임
- grd_pseursrv.colHidden(16) = false; // 초/재 보임
- grd_pseursrv.colHidden(17) = false; // 최초입력자이름 보임
- grd_pseursrv.colHidden(18) = false; // 최초입력시간 보임
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" style="left:95px; top:7px; width:65px; height:19px; vertical-align:middle; ">예약구분 :</caption>
- <select1 id="radio2" ref="/root/main/srchtelrsrv/ddflag" appearance="full" cols="3" overflow="visible" style="left:95px; top:40px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수일</label>
- <value>R</value>
- </item>
- <item>
- <label>예약일</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <button id="btn_print" class="btn6_letter2" style="left:971px; top:69px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //
- // if (fileName != "")
- // {
- // datagrid6.saveExcel(fileName, "SheetName", true, true, "", "", "true");
- // }
- fRsrvInfolistPrint();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:100px; width:113px; height:13px; ">예약 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:115px; x2:1040px; y2:115px; "/>
- <datagrid id="grd_pseursrv" nodeset="/root/main/outtelrsrv/outtelrsrvlist" class="datagrid2" visibility="visible" caption="등록번호^성명^주민번호^주민번호^핸드폰번호^접수일자^예약일자^시간^진료과^진료의^진료과^진료의^선택진료^변경
여부^예약
구분^초/재^최초입력자이름^최초입력시간^전화예약참고사항" colsep="^" colwidth="93, 65, 65, 65, 150, 70, 70, 40, 110, 75, 110, 60, 35, 35, 80, 75, 90, 120, 200" dataheight="23" defaultrows="2" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:120px; width:1040px; height:340px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="mpphontel"/>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="ordtm" format="hh:nn"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="specordyn" visibility="hidden"/>
- <col ref="bfordddyn" visibility="hidden"/>
- <col disabled="true" ref="rsrvflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0341list/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="fsexamflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0021list/P0021">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fstrgstnm"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="telrsrvrem"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- var cur_col = grd_pseursrv.col;
- var cur_row = grd_pseursrv.row;
-
- // if( cur_row > 0 && cur_col > 0){
-
- //선택된 행의 값을 예약 파트로 복사
- /*model.setValue("/root/main/reservation/orddd", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/orddd"));
- model.setValue("/root/main/reservation/ordtm", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/ordtm"));
- model.setValue("/root/main/reservation/orddeptcd", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/orddeptcd"));
- cmb_deptcd.dispatch("xforms-value-changed");
- model.setValue("/root/main/reservation/orddrid", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/orddrid"));
- cmb_orddrid.dispatch("xforms-value-changed");
- model.setValue("/root/main/reservation/acptdd", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/acptdd"));
- model.setValue("/root/main/reservation/acptno", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/acptno"));
- model.setValue("/root/main/reservation/specorddescyn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/specorddescyn"));
- model.setValue("/root/main/reservation/insuchrgyn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/insuchrgyn"));
- model.setValue("/root/main/reservation/ordreqdescyn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/ordreqdescyn"));
- model.setValue("/root/main/reservation/ordreqhospgrde", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/ordreqhospgrde"));
- model.setValue("/root/main/reservation/fstacptid", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/fstacptid"));
- model.setValue("/root/main/reservation/fstacptdt", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/fstacptdt"));
- model.setValue("/root/main/reservation/acptseqno", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/acptseqno"));
- model.setValue("/root/main/reservation/cretno", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/cretno"));
- model.setValue("/root/main/reservation/telrsrvrem", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/telrsrvrem"));
-
- //model.setValue("/root/main/reservation/fsexamflag", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/fsexamflag"));
- model.setValue("/root/main/reservation/calcyn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/calcyn"));
- model.setValue("/root/main/reservation/calcflag", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/calcflag"));
- model.setValue("/root/main/reservation/histstat", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/histstat"));
- model.setValue("/root/main/reservation/dracptyn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/dracptyn"));
- model.setValue("/root/main/reservation/prcpgenryn", model.getvalue("/root/main/outhist/outhistlist["+cur_row+"]/prcpgenryn"));
- -------------------------------------------------------------------------------
- model.setValue("/root/init/reservation/pid", model.getValue("/root/main/outhist/outhistlist["+cur_row+"]/pid"));
- model.setValue("/root/init/reservation/hngnm", model.getValue("/root/main/outhist/outhistlist["+cur_row+"]/hngnm"));
- model.setValue("/root/init/reservation/rrgstno1", model.getValue("/root/main/outhist/outhistlist["+cur_row+"]/rrgstno1"));
- model.setValue("/root/init/reservation/rrgstno2", model.getValue("/root/main/outhist/outhistlist["+cur_row+"]/rrgstno2"));
-
- model.refresh();
-
- }
- if ( checkOpener() ) {
- cur_row = grd_pseursrv.row;
- cur_col = grd_pseursrv.col;
-
- if( cur_row > 0 && cur_col > 0){
- opener.btn_init.dispatch("DOMActivate");
- opener.model.setValue("/root/main/ptbs/ptbs_pid", model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/pid"));
- opener.model.setValue("/root/main/ptbs/ptbs_hngnm", model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/hngnm"));
-
- opener.model.setValue("/root/main/ptbs/ptbs_rrgstno1", model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/rrgstno1"));
- opener.model.setValue("/root/main/ptbs/ptbs_rrgstno2", model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/rrgstno2"));
- }
- }
-
- */
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // var openflag = model.getValue("/root/tmp/openflag");
- // if(openflag != "T"){
- if(isDataCell()) {
- if ( checkOpener() ) {
- btn_confirm.dispatch("DOMActivate");
- }
- }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // var openflag = model.getValue("/root/tmp/openflag");
- // if(openflag != "T"){
- if ( checkOpener() ) {
- if(event.keyCode == "13") {
- btn_confirm.dispatch("DOMActivate");
- }
- }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pseursrv.gridToInstance();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:461px; width:1040px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="7" style="left:851px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(checkOpener()){
- cur_row = grd_pseursrv.row;
- cur_col = grd_pseursrv.col;
- if( cur_row > 0 && cur_col > 0){
- opener.btn_init.dispatch("DOMActivate");
- opener.model.setValue(patInfoNodePath + "pid" , model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/pid"));
- opener.model.setValue(patInfoNodePath + "hngnm" , model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/hngnm"));
- opener.model.setValue(patInfoNodePath + "rrgstno1" , model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/rrgstno1"));
- opener.model.setValue(patInfoNodePath + "rrgstno2" , model.getvalue("/root/main/outtelrsrv/outtelrsrvlist["+cur_row+"]/rrgstno2"));
- }else {
-
- }
- opener.model.refresh();
- window.close();
-
- }else{
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="8" style="left:910px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:700px; y2:0px; "/>
- <button id="button1" accesskey="f9" class="btn4_letter3" navindex="7" style="left:969px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fInitialize();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|