123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA04520.xrw
- * 설 명 : 서직지출력
- * 설 계 자 : 손범성
- * 작 성 자 : 손범성
- * 작 성 일 : 2008.12.24
- * 기 타 :
- -->
- <?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>
- <prntoptinfo>
- <prntflag>paper</prntflag>
- <prntsize>01</prntsize>
- </prntoptinfo>
- <prntpatlst>
- <item>
- <sel/>
- <brthareacnts/>
- <hopedd/>
- <pid/>
- <visano/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <pkgnm/>
- <pkgcd/>
- <remcnts/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cretno/>
- <orddd/>
- <statflag/>
- <rrgstno1/>
- <rrgstno2/>
- <prntyn/>
- <prnttims/>
- <prntrid/>
- <prnttm/>
- <psptno/>
- <brthdd/>
- <judgdrid/>
- <meddrid/>
- </item>
- <item2>
- <sel/>
- <pid/>
- <engnm/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <prntyn/>
- <brthareacnts/>
- <hopedd/>
- <visano/>
- <hngnm/>
- <sex/>
- <age/>
- <pkgnm/>
- <pkgcd/>
- <remcnts/>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cretno/>
- <orddd/>
- <statflag/>
- <prnttims/>
- <prntrid/>
- <prnttm/>
- <brthdd/>
- <judgdrid/>
- <meddrid/>
- </item2>
- </prntpatlst>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <brthareacnts/>
- <pidcretfg/>
- <zipcdseq1/>
- <zipcdseq2/>
- <clntgrde/>
- <patremcnts/>
- <notice/>
- </item>
- </patinfo>
- </info>
- <prntinfo>
- <prnt>
- <pat/>
- <etc/>
- <phil/>
- <amer/>
- </prnt>
- </prntinfo>
- </main>
- <send>
- <srch>
- <srchfromdd/>
- <srchtodd/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchbrtharea/>
- <srchpid/>
- <srchpnm/>
- <srchflag/>
- </srch>
- <prnt/>
- <updata>
- <req/>
- </updata>
- </send>
- <init>
- <baseinfo>
- <contypelst/>
- <statlst/>
- <healexamflag>
- <item/>
- </healexamflag>
- <hedetlflaglst/>
- <brtharealst/>
- <chealexamflag/>
- <ghealexamflag/>
- <initaddrinfo/>
- <amerprntlst/>
- </baseinfo>
- <prnt>
- <prntflag/>
- </prnt>
- </init>
- <hidden>
- <count/>
- <signinfo>
- <img/>
- </signinfo>
- </hidden>
- <temp>
- <coninfolst/>
- <prntinfo/>
- <cdlst>
- </cdlst>
- <preview>Y</preview>
- <language>H</language>
- <send>
- <pid/>
- <hngnm/>
- <excelparam/>
- <srchtext/>
- </send>
- <prntpatlst/>
- </temp>
- <report>
- <cmpyrslt>
- <item/>
- </cmpyrslt>
- <iteminfo/>
- <itemjudg/>
- <patinfo/>
- </report>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitInfo();
- fGetBaseInfo();
- btn_prnt.dispatch("onclick");
- rdo_amerprntflag.select(0);
- if(cmb_brtharea.value == "") {
- cmb_brtharea.select(0);
- }else {
- fGetPrntPatList();
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA04011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA04521" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/temp/prntpatlst"/>
- <submission id="TRAHA04418" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prnt" replace="instance" resultref="root/main/prntinfo/prnt"/>
- <submission id="TXAHA04521" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updata/req" replace="instance" resultref="/root/hidden/count"/>
- <submission id="TRAHA03174" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/hidden/signinfo"/>
- <submission id="TRAHA00001"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
-
- /*=======================================================================================
- *공통코드 가져오기
- =======================================================================================*/
- function fGetBaseInfo(){
- var sFlag = "";
- if( checkOpener() ){
- sFlag = opener.javascript.getParameter("SMAHA04520_PARAM1") ;
- if(sFlag == "") {
- m_vHealexamflag = "G"
- m_vHealexamdetlflag = "G02"
- }else {
- m_vHealexamflag = sFlag.substr(0,1);
- m_vHealexamdetlflag = sFlag;
- }
- var sHopedd = opener.javascript.getParameter("SMAHA04520_PARAM2") ;
- var sPid = opener.javascript.getParameter("SMAHA04520_PARAM3") ;
- var sBrthArea = opener.javascript.getParameter("SMAHA04520_PARAM4") ;
- model.setValue("/root/temp/send/pid" , sPid);
- model.setValue("/root/send/srch/srchfromdd" , sHopedd);
- model.setValue("/root/send/srch/srchbrtharea" ,sBrthArea);
- model.setValue("/root/send/srch/pid" , sPid );
- model.setValue("/root/send/srch/hngnm" , "" );
- }
- else {
- if( m_vHealexamflag == "" ) {
- var sFlag = getScreenMenuParameter();
- if(sFlag == "") {
- m_vHealexamflag = "G"
- m_vHealexamdetlflag = "G02"
- }else {
- m_vHealexamflag = sFlag.substr(0,1);
- m_vHealexamdetlflag = sFlag;
- }
- }
- }
-
- //건진분류(종건/일건) , 건진상태구분, 계약종류
- zbcfGetCodeList( new Array( "A0069","A0070" ,"A0107","A0113","A0465" ),
- new Array ("/root/init/baseinfo/chealexamflag"
- ,"/root/init/baseinfo/ghealexamflag"
- ,"/root/init/baseinfo/statlst"
- ,"/root/init/baseinfo/contypelst"
- ,"/root/init/baseinfo/brtharealst" ) );
- submit("TRZBC00101");
-
- healGetCodeList( new Array("S040", "S050", "R001","V008"),
- new Array("/root/init/baseinfo/initsendaddressflag"
- , "/root/init/baseinfo/initsendaddressflag2"
- , "/root/init/baseinfo/initaddrinfo"
- , "/root/init/baseinfo/amerprntlst")
- );
- model.removeNodeset("/root/init/baseinfo/amerprntlst/V008[1]");
-
- model.makeValue("/root/init/addrinfo/CF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP2']/cdnm"));
- model.makeValue("/root/init/addrinfo/E01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E01']/cdnm"));
- model.makeValue("/root/init/addrinfo/E02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E02']/cdnm"));
- model.makeValue("/root/init/addrinfo/E03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E03']/cdnm"));
- model.makeValue("/root/init/addrinfo/E04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E04']/cdnm"));
- model.makeValue("/root/init/addrinfo/K01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K01']/cdnm"));
- model.makeValue("/root/init/addrinfo/K02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K02']/cdnm"));
- model.makeValue("/root/init/addrinfo/K03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K03']/cdnm"));
- model.makeValue("/root/init/addrinfo/K04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K04']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV1']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV2']/cdnm"));
- model.makeValue("/root/init/addrinfo/VF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'VF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/logoimg", getImageURL("cmc"));
-
- if(m_vHealexamflag == "C") {
- copyNodesetType("/root/init/baseinfo/healexamflag/item","/root/init/baseinfo/chealexamflag/A0069", "replace");
- }else {
- copyNodesetType("/root/init/baseinfo/healexamflag/item","/root/init/baseinfo/ghealexamflag/A0070", "replace");
- }
-
- model.setValue("/root/send/srch/srchhealexamflag" , m_vHealexamflag);
- cmb_srchhealexamdetlflag.refresh();
- cmb_srchhealexamdetlflag.value = m_vHealexamdetlflag ;
- }
- /*=======================================================================================
- *초기화
- =======================================================================================*/
- function fInitInfo(){
- var cur_date = getCurrentDate() ;
- model.setValue( ipt_srchfromdd.attribute("ref") , cur_date) ;
- model.setValue(ipt_srchtodd.attribute("ref") , cur_date) ;
-
- grd_prntlst.fixedcellcheckbox(0,1) = true;
- grd_amerlst.fixedcellcheckbox(0,1) = true;
-
- }
-
- /**=======================================================================================
- * 건진 결과 출력 대상자 리스트 조회
- =======================================================================================*/
- function fGetPrntPatList(){
- model.removeNode("/root/main/detlinfo/prntpatlst");//클리어 노드
-
- if(submit("TRAHA04521")) {
- var sFlag = model.getValue("/root/send/srch/srchflag");
-
- var patNodeList = instance1.selectNodes("/root/temp/prntpatlst/item");
- if(sFlag == "1") {
- model.removeNodeset("/root/main/prntpatlst/item");
- grd_prntlst.refresh();
-
- if(patNodeList.length > 0) {
- model.makeNode("/root/main/prntpatlst/item");
- copyNodesetType("/root/main/prntpatlst/item","/root/temp/prntpatlst/item","replace");
- grd_prntlst.refresh();
- }
-
- }else if(sFlag == "2") {
- model.removeNodeset("/root/main/prntpatlst/item2");
- if(patNodeList.length > 0) {
- model.makeNode("/root/main/prntpatlst/item2");
- copyNodesetType("/root/main/prntpatlst/item2","/root/temp/prntpatlst/item","replace");
- grd_amerlst.refresh();
- }
- }
- }
- }
- /**=======================================================================================
- @desc : 결과지 출력
- =======================================================================================*/
- function fPrintRslt(){
- setParameter("reportprintyn", ""); //출력여부 확인하기
- var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
- var ret = false;
-
- for( var i = 0 ; i < nodeList.length ; i++){
- model.makeValue("/root/send/prnt/healexamflag", nodeList.item(i).healexamflag.text ); //건진구분
- model.makeValue("/root/send/prnt/healexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
- model.makeValue("/root/send/prnt/rsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
- model.makeValue("/root/send/prnt/rsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
- model.makeValue("/root/send/prnt/pid", nodeList.item(i).pid.text ); //등록번호
- model.makeValue("/root/send/prnt/orddd", nodeList.item(i).orddd.text ); //건진일자
- model.makeValue("/root/send/prnt/cretno", nodeList.item(i).cretno.text ); //건진일자
-
- //그리드에 뿌려주기
- if( submit("TRAHA04418") ) {
- var brthArea = model.getValue("/root/main/prntinfo/prnt/pat/brthareacnts");
- var bDirectPrnt = "true";
- if( chk_preview.value == "Y" ){
- bDirectPrnt = "false";
- }
-
- if (bDirectPrnt == "false") { //미리보기
- if(brthArea == "PP") {
- exeReportPreview("RPAHR04412", "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }else if(brthArea == "ETC") {
- exeReportPreview("RPAHR04411", "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }
- } else {
- if(brthArea == "PP") {
- exeReportPreview("RPAHR04412", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- }else if(brthArea == "ETC") {
- exeReportPreview("RPAHR04411", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- }
- }
- }
- }
- if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
- grd_prntlst.clearStatus();
- for( var i = 0 ; i <= grd_prntlst.rows ; i++){
- if(grd_prntlst.valueMatrix(i,grd_prntlst.colRef("sel")) == "Y") {
- var statFg = grd_prntlst.valueMatrix( i , grd_prntlst.colRef("statflag"));
- if(statFg == "H" || statFg == "I") {
- grd_prntlst.rowStatus(i) = 2;
- }
- }
- }
- model.setValue("/root/send/updata/req" , grd_prntlst.getUpdateData());
- submit("TXAHA04521");
- }
- }
-
- /**=======================================================================================
- @desc : 미국 결과지 출력
- =======================================================================================*/
- function fPrintAmerRslt() {
- setParameter("reportprintyn", ""); //출력여부 확인하기
- var nodeList = instance1.selectNodes(grd_amerlst.nodeset + "[sel='Y']");
- var amerPrntFlag = model.getValue("/root/init/prnt/prntflag");
-
- if(nodeList.length < 1) {
- messageBox("선택된 대상자가","I004");
- return;
- }
-
- for( var i = 0 ; i < nodeList.length ; i++){
-
- var mark = ""
- var allYN = "N";
-
- switch(amerPrntFlag) {
- case "01" : allYN = "Y";
- case "02" : mark = "me_"; fSetAmerData(nodeList.item(i) , mark , "02"); if(allYN == "N"){ break; }
- case "03" : mark = "lf_"; fSetAmerData(nodeList.item(i) , mark , "03"); if(allYN == "N"){ break; }
- case "04" : mark = "mh_"; fSetAmerData(nodeList.item(i) , mark , "04"); if(allYN == "N"){ break; }
- case "05" : mark = "cx_"; fSetAmerData(nodeList.item(i) , mark , "05"); if(allYN == "N"){ break; }
- case "06" : mark = "vd_"; fSetAmerData(nodeList.item(i) , mark , "06"); if(allYN == "N"){ break; }
- default : break;
- }
-
- //alert("engnm : " + engNM + "\r\n" + "brthdd : " + brthDD + "\r\n" + "examdd : " + examDD + "\r\n" + "passNum : " + passNum + "\r\n" + "expDD : " + expDD + "\r\n" + "age : " + age + "\r\n");
- }
-
- if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
- grd_amerlst.clearStatus();
- for( var i = 0 ; i <= grd_amerlst.rows ; i++){
- if(grd_amerlst.valueMatrix(i,grd_amerlst.colRef("sel")) == "Y") {
- var statFg = grd_amerlst.valueMatrix( i , grd_amerlst.colRef("statflag"));
- if(statFg == "H" || statFg == "I") {
- grd_amerlst.rowStatus(i) = 2;
- }
- }
- }
- model.setValue("/root/send/updata/req" , grd_amerlst.getUpdateData());
- submit("TXAHA04521");
- }
- }
-
- function fSetAmerData(vNode , vMark , vFlag) {
- if(vNode == null) return;
- model.resetInstanceNode("/root/main/prntinfo/prnt/amer");
-
- var engNM = vNode.engnm.text;
- var brthDD = vNode.brthdd.text.toDate().getDateFormat("MM-DD-YYYY");
- var examDD = vNode.hopedd.text.toDate().getDateFormat("MM-DD-YYYY");
- var passNum = vNode.psptno.text;
- var pid = vNode.pid.text;
- var expDD = vNode.hopedd.text.toDate().getAddDate(1,"Y").getDateFormat("MM-DD-YYYY");
- var country = "KOREA";
- var age = vNode.age.text;
- var meddrid = vNode.meddrid.text;
-
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "engnm" , engNM);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "brthdd" , brthDD);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "country" , country);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "psptno" , passNum);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "examdd" , examDD);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "expiredd" , expDD);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "pid" , pid);
- model.makeValue("/root/main/prntinfo/prnt/amer/" + vMark + "age" , age);
-
- if(vFlag == "05") {
- // 사인 이미지 조회
- model.makeValue("/root/send/srch/srchsignedid" , meddrid);
- if(submit("TRAHA03174")) {
- model.makeNode("/root/main/prntinfo/prnt/amer/signdata");
-
- setImageRefInstance("/root/hidden/signinfo/img/singdata");
- setImageRefInstance("/root/main/prntinfo/prnt/amer/signdata");
-
- copyNodesetType("/root/main/prntinfo/prnt/amer/signdata" , "/root/hidden/signinfo/img/signdata" , "replace" );
-
- setImageRefInstance("/root/main/prntinfo/prnt/amer/signdata");
- }
- exeReportPreview("RPAHR04413", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- //exeReportPreview("RPAHR04413", "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }else if(vFlag == "06") {
- exeReportPreview("RPAHR04414", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- //exeReportPreview("RPAHR04414", "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }else {
- exeReportPreview("RPAHR04413", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
- //exeReportPreview("RPAHR04413", "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
- }
-
-
-
-
-
-
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1220" pageheight="820" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">서식출력</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:754px; width:1195px; height:28px; ">
- <button id="button1" class="btn6_letter4" style="left:0px; top:4px; width:80px; height:22px; ">
- <caption>결과출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var srcFlag = model.getValue("/root/send/srch/srchflag");
- if(srcFlag == "1") {
- fPrintRslt();
- }else {
- fPrintAmerRslt();
- }
- ]]>
- </script>
- </button>
- <select id="chk_preview" ref="/root/temp/preview" overflow="visible" appearance="full" cols="4" rows="1" style="left:90px; top:7px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>미리보기</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/temp/preview","Y");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.setValue("/root/temp/preview","");
- ]]>
- </script>
- </select>
- </group>
- <group id="group2" style="left:0px; top:18px; width:1190px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:45px; "/>
- <caption id="caption10" class="search_name" style="left:445px; top:12px; width:91px; height:17px; ">건진기간 :</caption>
- <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" inputtype="date" style="left:532px; top:11px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" inputtype="date" style="left:660px; top:11px; width:100px; height:19px; "/>
- <line id="line5" class="line_4" style="x1:1115px; y1:6px; x2:1115px; y2:39px; "/>
- <caption id="caption13" class="search_name" style="left:780px; top:11px; width:86px; height:17px; ">환자검색 :</caption>
- <caption id="caption14" class="search_n_b" style="left:641px; top:12px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_pid" ref="/root/send/srch/srchpid" class="input_search" style="left:867px; top:11px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode != 13) return ;
- model.setValue("/root/send/srch/srchpid" , ipt_pid.currentText)
- fGetPrntPatList();
- ]]>
- </script>
- </input>
- <button id="btn_selpat" class="icon_search" style="left:972px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHR00900", "pnm",model.getValue("/root/temp/send/srchtext") , "N","", ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
- if( model.getValue( ipt_pid.attribute("ref")) != "" ){
- fGetPrntPatList();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_pnm" ref="/root/send/srch/srchpnm" class="input_search" style="left:995px; top:11px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode != 13) return ;
- model.makeValue("/root/temp/send/srchtext" , ipt_pnm.currentText);
- inputEnterKey("btn_selpat","DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //조회 버튼 클릭 이벤트
- fGetPrntPatList();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:5px; top:11px; width:91px; height:17px; ">건진구분 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srch/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:92px; top:9px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflag/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetPrntPatList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_brtharea" ref="/root/send/srch/srchbrtharea" class="combo_search" appearance="minimal" style="left:307px; top:9px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/brtharealst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetPrntPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:240px; top:11px; width:66px; height:17px; ">국가 :</caption>
- </group>
- <switch id="switch1" style="left:0px; top:89px; width:1195px; height:666px; ">
- <case id="case_prnt" selected="true">
- <caption id="caption11" class="tit_2" style="left:5px; top:5px; width:144px; height:13px; ">상세내역</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:20px; x2:1187px; y2:20px; "/>
- <datagrid id="grd_prntlst" nodeset="/root/main/prntpatlst/item" caption="선택^국가^신검일자^등록번호^비자연번^한글이름^영문이름^성별^나이^패키지명^패키지코드^비고^healexamflag^healexamdetlflag^rsrvdd^rsrvno^cretno^orddd^statflag^rrgstno1^rrgstno2^출력여부^출력횟수^출력자ID^출력시간^여권번호^brthdd^judgdrid^meddrid^출력일시^orddd^판정의^caption1" colsep="^" colwidth="50, 100, 80, 80, 90, 90, 90, 40, 40, 150, 80, 270, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:25px; width:1182px; height:634px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col disabled="true" ref="brthareacnts" type="combo" format="yyyy-mm-dd">
- <choices>
- <itemset nodeset="/root/init/baseinfo/brtharealst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedd"/>
- <col ref="pid"/>
- <col ref="visano"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="pkgnm"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="remcnts"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="statflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="prntyn" visibility="hidden"/>
- <col ref="prnttims" visibility="hidden"/>
- <col ref="prntrid" visibility="hidden"/>
- <col ref="prnttm" visibility="hidden"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="brthdd" visibility="hidden"/>
- <col ref="judgdrid" visibility="hidden"/>
- <col ref="meddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_prntlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_amer">
- <caption id="caption3" class="tit_2" style="left:5px; top:38px; width:144px; height:13px; ">상세내역</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:53px; x2:1187px; y2:53px; "/>
- <datagrid id="grd_amerlst" nodeset="/root/main/prntpatlst/item2" caption="선택^등록번호^성명^주민번호^주민번호^여권번호^출력^국가^건진일자^비자연번^한글명^성별^나이^패키지명^퍄카지코드^비고^건진구분^건진상세구분^rsrvdd^rsrvno^cretno^orddd^statflag^출력횟수^출력자^출력시간^brthdd^judgdrid^meddrid^출력일시^orddd^판정의^caption1" colsep="^" colwidth="80, 200, 200, 150, 150, 200, 150, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40" defaultrows="1" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:5px; top:58px; width:1182px; height:601px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pid">
- <choices>
- <itemset nodeset="/root/init/baseinfo/brtharealst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="engnm"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="psptno"/>
- <col checkvalue="Y,N" disabled="true" ref="prntyn" type="checkbox"/>
- <col disabled="true" ref="brthareacnts" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/brtharealst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hopedd" visibility="hidden"/>
- <col ref="visano" visibility="hidden"/>
- <col ref="hngnm" visibility="hidden"/>
- <col ref="sex" visibility="hidden"/>
- <col ref="age" visibility="hidden"/>
- <col ref="pkgnm" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="remcnts" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col disabled="true" ref="statflag" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prnttims" visibility="hidden"/>
- <col ref="prntrid" visibility="hidden"/>
- <col ref="prnttm" visibility="hidden"/>
- <col ref="brthdd" visibility="hidden"/>
- <col ref="judgdrid" visibility="hidden"/>
- <col ref="meddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_prntlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="rdo_amerprntflag" ref="/root/init/prnt/prntflag" appearance="full" cellspacing="20" cols="6" overflow="visible" style="left:95px; top:11px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/amerprntlst/V008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_2" style="x1:5px; y1:5px; x2:1187px; y2:5px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:33px; x2:1187px; y2:33px; "/>
- <caption id="caption62" class="cell_1" style="left:5px; top:7px; width:84px; height:25px; vertical-align:middle; ">출력양식선택</caption>
- </case>
- </switch>
- <button id="btn_amer" class="btn_sw" group="tab" style="left:90px; top:67px; width:114px; height:22px; ">
- <caption>미국비자 양식출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/srch/srchbrtharea" , "US");
- cmb_brtharea.refresh();
- cmb_brtharea.disabled = true;
- model.setValue("/root/send/srch/srchflag" , "2");
- model.toggle("case_amer");
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn_sw" group="tab" style="left:0px; top:67px; width:89px; height:22px; ">
- <caption>서식지 재출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cmb_brtharea.disabled = false;
- model.setValue("/root/send/srch/srchflag" , "1");
- model.toggle("case_prnt");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|