123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 :
- * 설 명 :
- * 설 계 자 : 박승만
- * 작 성 자 : 이성인
- * 작 성 일 : 2009.03.05
- * 수정이력 :
- * 기 타 :
- -->
- <?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>eZ-Pass 사전승인 동의서</xhtml:title>
- <model id="model1">
- <![CDATA[/>]]>
- <instance id="instance1">
- <root xmlns="">
- <send>
- <srchpid/>
- <srchfromdd/>
- <srchtodd/>
- <instcd/>
- <histyn/>
- </send>
- <main>
- <ezplist>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <ezpdd/>
- <ezpstat/>
- <remfact/>
- <seqno/>
- <hometel/>
- <mpphontel/>
- <instcd/>
- <lastupdtrid/>
- <lastupdtdt/>
- <elctsigncnts/>
- <elctsignkey/>
- </ezplist>
- <ezpinfo>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <ezpdd/>
- <ezpstat/>
- <remfact/>
- <seqno/>
- <hometel/>
- <mpphontel/>
- <instcd/>
- <lastupdtrid/>
- <lastupdtdt/>
- <elctsigncnts/>
- <elctsignkey/>
- <dataflag/>
- </ezpinfo>
- <usgeflag/>
- </main>
- <hidden>
- <session/>
- </hidden>
- <tmp>
- <patinfo/>
- <editmodeyn/>
- </tmp>
- <comport/>
- <init>
- <P0032list/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사인패드의 기기가 다르므로
- pamfGetCodeList(new Array("P0032"), new Array("/root/init/P0032list"));//사인패드의 공통코드
- setParameter("signpad_kind", model.getValue("/root/init/P0032list/P0032[cdid = '50']/cdnm"));
-
- if(getParameter("signpad_kind") == "ep-661" ) {
- //이지패드에서 빼서 앞에다 둬야지 인식이 잘된다.
- KiccDSCX1.Port = 11;
- KiccDSCX1.Speed = 57600;
- KiccDSCX1.LineType = 0;
- kocces_grup.attribute("visibility") = "hidden";
- kicc_grup.attribute("visibility") = "visible";
- SignPad_img.attribute("visibility") = "hidden";
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.GetSetSize("240", "120");
- kocces_grup.attribute("visibility") = "visible";
- kicc_grup.attribute("visibility") = "hidden";
- SignPad_img.attribute("visibility") = "hidden";
- }
- var sUserInfosS = getUserInfos();
- var UserInfosS_Array = sUserInfosS.split("|");
- model.makeValue("/root/tmp/instcd", UserInfosS_Array[6]);
- fDefaultSet();// 화면의 기본데이터 셋팅
- fPopupSet(); //팝업일때 데이터 셋팅
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
-
- ]]>
- </script>
- <submission id="TRPMC06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ezplist"/>
- <submission id="TRPMC06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp/srchpid" resultref="/root/main/ezpinfo"/>
- <submission id="TXPMC06303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/ezpinfo" resultref="/root/main/ezplist"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript">
- <![CDATA[
- function fPopupSet()
- {
- //만약 상태가 팝업이라면
- if( checkOpener() ){
- setParameter("SPPMC06300_ezp","");
- var SPPMC06300_PARM = opener.javascript.getParameter("SPPMC06300_PARM");
- var array_parm = SPPMC06300_PARM.split("▦");
- gUsgeflag = array_parm[0]; //1. 조회용 2. 등록용
- gPid = array_parm[1];
- setParameter("SPPMC06300_PARM","");
- model.setValue("/root/main/ezpinfo/pid" , gPid );
- model.setValue("/root/send/srchpid" , gPid );
- if(gPid == null || gPid == ""){
-
- }else{
- ipt_srchpid.value = gPid;
- btn_srch.dispatch("DOMActivate");
-
-
- ipt_pid.value = gPid;
- fEzpPtbsSrch();
- }
- //다없으면 첫번째if문을 탄다
-
- fEasyPadCall(); //이지패드콜
-
- }
- }//fPopupSet end
-
-
- function fSave(flag)
- {
- if(fChkValue()== false){return};
-
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- }
- model.makeValue("/root/main/ezpinfo/dataflag",flag); // flag U , I
- var srchpid = ipt_pid.currentText;
-
- if(submit("TXPMC06303",false)==false){
- return;
- }else{
- messageBox("저장 되었습니다.", "I999");
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.SPclose();
- window.close();// 부천성가는 사인패드가 이상하므로 본 화면을 먼저 끝낸다.
- }
-
- if(getParameter("signpad_kind") == "ep-661" ) {
- model.setValue("/root/send/srchfromdd",model.getValue("/root/main/ezpinfo/ezpdd"));
- model.setValue("/root/send/srchtodd",model.getValue("/root/main/ezpinfo/ezpdd"));
- model.setValue("/root/send/srchpid", srchpid);
- model.setValue("/root/tmp/srchpid", srchpid);
- fEzpSrch();
- //1번째 줄 자동 클릭
- grd_ezplist.row =1;
- grd_ezplist.dispatch("onentercell");
- grd_ezplist.dispatch("ondblclick");
- }
- }//fSave end
-
- function fEasyPadCall(){
- if(getParameter("signpad_kind") == "ep-661" ) {
- // model.setValue("/root/tmp/editmodeyn","Y");//이중 수정 모드를 막기 위함.
- KiccDSCX1.Open = false;
- KiccDSCX1.Open = true;
- //초기화
- KiccDSCX1.ReqInit();
-
- KiccDSCX1.ReqData = " 700081 ";
-
- KiccDSCX1.SignKind = 2;
- KiccDSCX1.ReqSign();
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- // model.setValue("/root/tmp/editmodeyn","Y");//이중 수정 모드를 막기 위함.
- SignPad.SignRequest(9, 38400, '');
- }
- }
-
- function fInit(){
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/ezplist");
- model.resetInstanceNode("/root/main/ezpinfo");
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();//사인내역 제거
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
-
- SignPad.SignRequest(9, 38400, "");
- kocces_grup.attribute("visibility") = "visible";
- SignPad_img.attribute("visibility") = "hidden";
- SignPad.SPclose();
- // SignPad_img.attribute("visibility") = "hidden";
- }
- }
-
- function fDefaultSet(){
- model.setValue("/root/comport" , "2");
- var curdate = getCurrentDate();
- cpt_date.attribute("text") = curdate.substr( 0,4) +"년 " + curdate.substr( 4,2) +"월 " + curdate.substr( 6,2) +"일" ;
- model.setValue("/root/send/srchfromdd",curdate.substr(0,8));//일자
- model.setValue("/root/send/srchtodd",curdate.substr(0,8));//일자
- model.setValue("/root/send/histyn","N")//이력포함.
- model.setValue("/root/send/instcd" , model.getValue("/root/tmp/instcd"));
- }
- function fChkValue()
- {
- if((model.getValue("/root/main/ezpinfo/pid")).getTrim() == ""){messageBox("환자등록번호를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/ezpinfo/hngnm")).getTrim() == ""){messageBox("환자성명을 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/ezpinfo/rrgstno1")).getTrim() == ""){messageBox("주민등록번호 앞자리를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/ezpinfo/rrgstno2")).getTrim() == ""){messageBox("주민등록번호 뒷자리를 입력하십시오", "E999"); return false;}
- if((model.getValue("/root/main/ezpinfo/ezpdd")).getTrim() == ""){messageBox("승인일을 입력하십시오", "E999"); return false;}
-
- try {
- if(getParameter("signpad_kind") == "ep-661" ) {
- model.setValue("/root/main/ezpinfo/elctsigncnts", KiccDSCX1.SignStr);
- model.setValue("/root/main/ezpinfo/elctsignkey", KiccDSCX1.Seed);
- }
-
- if(getParameter("signpad_kind") == "sign-1000" ) {
- var sign;
- var pid = model.getValue("/root/main/ezpinfo/pid");
- url = 'C:\\Program Files\\himed\\components\\KICC\\EasyPad\\' + pid +'.bmp'
- sign = SignPad.GetOnlyData(url);
-
- if (sign == -1){
- messageBox("사인 얻기 실패","E999","");
- return;
- }else{
- model.setValue("/root/main/ezpinfo/elctsigncnts", sign);
- model.setValue("/root/main/ezpinfo/elctsignkey", '-');
- }
- }
-
-
- }catch(e) {
- messageBox("서명정보가 없거나, 서명정보 오류입니다.","E999","");
- return false;
- }
- if((model.getValue("/root/main/ezpinfo/elctsigncnts")).getTrim() == ""){messageBox("서명하십시오", "E999"); return false;}
- }
-
- function fEzpSrch()
- {
- if(model.getValue("/root/send/srchpid")== "" || model.getValue("/root/send/srchpid")== null){
- messageBox("환자 번호를 입력 하십시오. ", "E999");
- return;
- }
- if(model.getValue("/root/send/srchfromdd") > model.getValue("/root/send/srchtodd")){
- messageBox("조회 시작일이 종료일보다 큽니다. ", "E999");
- return;
- }
- if(submit("TRPMC06301", false)){
- }else{
- messageBox("환자의 인적사항이 존재하지 않습니다.","E999");
- }
- }
-
- function fEzpPtbsSrch()
- {
- var srchpid = ipt_pid.currentText;
- model.makeValue("/root/tmp/srchpid",srchpid);
- if(srchpid == null || srchpid == ""){
- messageBox("환자번호를 입력 하십시오.","E999"); return;
- }
- if(submit("TRPMC06302",false)){
-
- }
-
- if(getNodesetCount("/root/main/ezpinfo") < 1){
- messageBox("환자의 인적사항이 존재하지 않습니다.","E999");
- }
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="530" style="font-size:12pt; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:795px; height:460px; ">
- <caption id="caption5" style="left:15px; top:5px; width:361px; height:30px; font-size:14pt; font-weight:bold; text-align:center; ">eZ-Pass 사전승인 동의서</caption>
- <caption id="caption1" style="left:15px; top:95px; width:85px; height:23px; font-size:10pt; font-weight:bold; vertical-align:middle; ">환 자 명 :</caption>
- <input id="ipt_rrgstno1" ref="/root/main/ezpinfo/rrgstno1" disabled="true" style="left:102px; top:121px; width:49px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- model.setFocus("ipt_rrgstno2");
- }
- ]]>
- </script>
- </input>
- <caption id="caption9" style="left:10px; top:354px; width:85px; height:103px; font-size:10pt; font-weight:bold; vertical-align:middle; ">서 명 :</caption>
- <group id="kicc_grup" visibility="hidden" style="left:95px; top:370px; width:200px; height:70px; ">
- <object id="KiccDSCX1" clsid="{065d9c0e-3d40-411b-9b88-d106c4c43b74}" style="left:0px; top:0px; width:200px; height:70px; background-stretch:stretch; "/>
- </group>
- <caption id="caption13" style="left:15px; top:70px; width:85px; height:23px; font-size:10pt; font-weight:bold; vertical-align:middle; ">환 자 번 호 :</caption>
- <input id="ipt_pid" ref="/root/main/ezpinfo/pid" navindex="1" style="left:102px; top:72px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- fEzpPtbsSrch();
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno2" ref="/root/main/ezpinfo/rrgstno2" disabled="true" style="left:157px; top:121px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- model.setFocus("ipt_hometel");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hometel" ref="/root/main/ezpinfo/hometel" disabled="true" style="left:102px; top:145px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- model.setFocus("ipt_mpphontel");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/ezpinfo/hngnm" disabled="true" style="left:102px; top:96px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- model.setFocus("ipt_rrgstno1");
- }
- ]]>
- </script>
- </input>
- <caption id="caption14" style="left:15px; top:120px; width:85px; height:23px; font-size:10pt; font-weight:bold; vertical-align:middle; ">주 민 번 호 :</caption>
- <caption id="caption18" class="tit_2" style="left:393px; top:5px; width:162px; height:13px; ">eZ-Pass 사전승인 이력</caption>
- <line id="line14" class="line_1" style="x1:393px; y1:20px; x2:783px; y2:20px; "/>
- <group id="group5" style="left:393px; top:25px; width:393px; height:70px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:391px; height:63px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:320px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srchpid = ipt_srchpid.currentText;
- model.setValue("/root/send/srchpid",srchpid);
- model.makeValue("/root/tmp/srchpid",srchpid);
- fEzpSrch();
- model.setValue("/root/send/srchpid",model.getValue("/root/tmp/srchpid" ));
- model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="line15" style="x1:310px; y1:6px; x2:310px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid" maxlength="10" style="left:103px; top:8px; width:87px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- btn_srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="search_name" style="left:10px; top:9px; width:90px; height:17px; ">환자번호 :</caption>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" inputtype="date" maxlength="10" style="left:103px; top:35px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption10" style="left:194px; top:35px; width:15px; height:20px; ">~</caption>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" inputtype="date" maxlength="10" style="left:210px; top:35px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <select id="checkbox1" ref="/root/send/histyn" overflow="visible" appearance="full" style="left:208px; top:10px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </select>
- <caption id="caption3" class="search_name" style="left:10px; top:34px; width:90px; height:17px; ">작성일자 :</caption>
- </group>
- <line id="line16" class="line_1" style="x1:393px; y1:90px; x2:783px; y2:90px; "/>
- <datagrid id="grd_ezplist" nodeset="/root/main/ezplist" caption="환자번호^성명^주민번호^주민번호^작성일자^상태^비고^일련번호^집전화번호^휴대폰번호^instcd^최종수정자^최종수정일시^서명^elctsignkey" colsep="^" colwidth="63, 63, 43, 50, 75, 55, 43, 53, 100, 100, 55, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:393px; top:95px; width:390px; height:365px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm" type="output"/>
- <col ref="rrgstno1" type="output"/>
- <col ref="rrgstno2" type="output"/>
- <col disabled="true" ref="ezpdd" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ezpstat" type="combo">
- <choices>
- <item>
- <label>정상</label>
- <value>Y</value>
- </item>
- <item>
- <label>수정</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="remfact"/>
- <col disabled="true" ref="seqno" type="output" style="text-align:right; "/>
- <col disabled="true" ref="hometel" type="output"/>
- <col ref="mpphontel" type="output"/>
- <col disabled="true" ref="instcd" type="output"/>
- <col disabled="true" ref="lastupdtrid" type="output"/>
- <col disabled="true" ref="lastupdtdt" type="output"/>
- <col ref="elctsigncnts" visibility="hidden"/>
- <col disabled="true" ref="elctsignkey" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 이중 수정모드를 막기위함.
- if(model.getValue("/root/tmp/editmodeyn") == "Y"){
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
- SignPad.SignRequest(9, 38400, "");
- }
- }
-
- copyNodesetType("/root/main/ezpinfo" ,"/root/main/ezplist[" + grd_ezplist.row + "]","replace");
- var curdate = model.getValue("/root/main/ezplist[" + grd_ezplist.row + "]/ezpdd");
- cpt_date.attribute("text") = curdate.substr( 0,4) +"년 " + curdate.substr( 4,2) +"월 " + curdate.substr( 6,2) +"일" ;
-
- // model.setValue("/root/main/ezpinfo/seqno", model.getValue("/root/main/ezplist["+ grd_ezplist.row +"]/seqno"));
-
- //서명을 보여주는 부분
- KiccDSCX1.Seed = model.getValue("/root/main/ezpinfo/elctsignkey");
- KiccDSCX1.SignStr = model.getValue("/root/main/ezpinfo/elctsigncnts");
- model.makeValue("/root/main/sign/signseed" , KiccDSCX1.Seed);
- model.makeValue("/root/main/sign/signstr" , KiccDSCX1.SignStr);
-
- //서명을 보여주는 부분
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.Seed = model.getValue("/root/main/ezpinfo/elctsignkey");
- KiccDSCX1.SignStr = model.getValue("/root/main/ezpinfo/elctsigncnts");
- model.makeValue("/root/main/sign/signseed" , KiccDSCX1.Seed);
- model.makeValue("/root/main/sign/signstr" , KiccDSCX1.SignStr);
- }
- if(getParameter("signpad_kind") == "sign-1000" ) {
-
- var sign = model.getValue("/root/main/ezpinfo/elctsigncnts");
- var pid = model.getValue("/root/main/ezpinfo/pid");
- url = 'C:\\Program Files\\himed\\components\\KICC\\EasyPad\\' + pid +'.bmp'
-
- SignPad.GetBMPReal(sign,url);
-
- model.setValue("/root/main/ezpinfo/elctsigncnts", sign);
-
- SignPad_img.attribute("src") = url ;
- // SignPad_img.initStyle("C:\\Program Files\\himed\\components\\KICC\\EasyPad\\19002860.bmp");
- SignPad_img.refresh();
- kocces_grup.attribute("visibility") = "hidden";
- SignPad_img.attribute("visibility") = "visible";
- }
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_ezplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <output id="opt_signseed" ref="/root/main/sign/signseed" visibility="hidden" style="left:340px; top:390px; width:30px; height:19px; "/>
- <output id="opt_signstr" ref="/root/main/sign/signstr" visibility="hidden" style="left:345px; top:420px; width:25px; height:19px; "/>
- <textarea id="tar_remark" ref="/root/main/ezpinfo/remfact" style="left:102px; top:195px; width:276px; height:72px; "/>
- <caption id="caption17" style="left:15px; top:195px; width:85px; height:72px; font-size:10pt; font-weight:bold; vertical-align:middle; ">비 고 :</caption>
- <caption id="caption4" style="left:15px; top:145px; width:94px; height:23px; font-size:10pt; font-weight:bold; vertical-align:middle; ">집전화번호 :</caption>
- <caption id="cpt_date" style="left:105px; top:345px; width:122px; height:20px; font-size:10pt; font-weight:bold; ">년 월 일</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:0px; x2:0px; y2:458px; color:#000000; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:0px; x2:390px; y2:0px; color:#000000; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:458px; x2:390px; y2:458px; color:#000000; "/>
- <input id="ipt_mpphontel" ref="/root/main/ezpinfo/mpphontel" disabled="true" style="left:102px; top:170px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13"){
- model.setFocus("tar_remark");
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:15px; top:170px; width:110px; height:23px; font-size:10pt; font-weight:bold; vertical-align:middle; ">휴대폰번호 :</caption>
- <select1 id="cmb_comport" ref="/root/comport" visibility="visible" appearance="minimal" style="left:345px; top:0px; width:41px; height:19px; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <group id="grp_report" visibility="hidden" style="left:330px; top:25px; width:55px; height:15px; "/>
- <img cache="false" id="SignPad_img" visibility="visible" src="a" style="left:105px; top:370px; width:190px; height:85px; background-stretch:stretch; "/>
- <group id="kocces_grup" style="left:110px; top:365px; width:200px; height:95px; ">
- <object id="SignPad" clsid="{cb6edab9-04a4-4a7b-b7cd-52933319a736}" style="left:0px; top:0px; width:180px; height:90px; border-color:#ff1100; border-style:0px solid; ">
- <script type="javascript" ev:event="getSignString()">
- <![CDATA[
- var sign;
- var pid = model.getValue("/root/main/ezpinfo/pid");
- url = 'C:\\Program Files\\himed\\components\\KICC\\EasyPad\\' + pid +'.bmp'
- sign = SignPad.GetOnlyData(url);
-
- if (sign == -1){
- messageBox("사인 얻기 실패","E999","");
- return;
- }else{
- model.setValue("/root/main/ezpinfo/elctsigncnts", sign);
- }
- ]]>
- </script>
- </object>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:465px; width:795px; height:30px; ">
- <button id="btn_cancel" class="btn4_letter10" style="left:133px; top:3px; width:127px; height:22px; ">
- <caption>eZ-Pass동의서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- cmb_comport.attribute("visibility") = "visible";
- //콤보박스의 실제값과 보이는 값이 틀리기 때문에 인스턴스를 재 구성
- model.makeNode("/root/main/rexpert/ezpinfo");
-
- copyNodesetType("/root/main/rexpert/ezpinfo" ,"/root/main/ezpinfo","replace");
- model.makeValue("/root/main/rexpert/ezpinfo/pid",ipt_srchpid.currentText);
- // var sRexpertPid = ipt_pid.currentText;
- // var sezpDd = ipt_ezpdd.currentText;
- var sPid = ipt_pid.currentText;
- var sSignName =sPid ;
- // var sSignName = sRexpertPid + sezpDd ;
- var sSignFolder = "C:\\Program Files\\himed\\components\\KICC\\EasyPad\\" +sSignName + ".bmp";
- if(getParameter("signpad_kind") == "ep-661" ) {
- KiccDSCX1.BmpSaveToFile ("C:\\Program Files\\himed\\components\\KICC\\EasyPad\\" +sSignName + ".bmp"); // pid_ 날짜
- }
- model.makeValue("/root/main/rexpert/ezpinfo/signimg", sSignFolder);
-
- // var sPrintYN = "false";
- // var sAutoCloseYN = "false";
- // var sViewYN = "";
- var pCond = "PRINT";
- var sComprot = model.getValue("/root/comport");
-
- var sPrintYN = "true";
- var sAutoCloseYN = "true";
- var sViewYN = "grp_report"
- /*
- if (pCond == "PREVIEW") {
- sPrintYN = "false";
- sAutoCloseYN = "false";
- sViewYN = "";
- }
-
- if (pCond == "PRINT") {
- sPrintYN = "true";
- sAutoCloseYN = "false";
- sViewYN = "grp_report";
- }
- */
- // KiccDSCX1.BmpSaveToFile ("C:\\11\\sign.bmp"); // pid_ 날짜
-
- exeReportPreview("RPPMC06300", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", "", sComprot);
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" disabled="false" style="left:287px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ezp = messageBox("내역을 저장 하시겠습니까? ", "Q999");
- if(ezp == "7"){ //아니오
- return;
- }else if(ezp == "6"){
- fSave("I");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter3" visibility="visible" style="left:2px; top:3px; width:68px; height:22px; ">
- <caption>재서명</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEasyPadCall();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:728px; top:4px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- KiccDSCX1.ReqInit();
- KiccDSCX1.Open = false;
- window.close();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter3" style="left:658px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- fDefaultSet();
- model.refresh();
- // opener.javascript.setParameter("SPPAO00400_ezp","Y");
- // opener.javascript.setParameter("SPPAO00400_TotCardAmt",totcardamt);
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn4_letter2" disabled="false" style="left:73px; top:3px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("U");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <line id="line1" class="line_2" style="x1:390px; y1:0px; x2:390px; y2:458px; color:#000000; "/>
- </xhtml:body>
- </xhtml:html>
|