123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?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>
- <hngnm/>
- <sex/>
- <age/>
- <tel/>
- <rrgstno1/>
- <rrgstno2/>
- <infcnts/>
- <symp/>
- <paminfo/>
- <pid/>
- <orddd/>
- <cretno/>
- <ioeflag/>
- <wrtedt/>
- <reptflag/>
- <seqno/>
- <reptdt/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init>
- <A0643list/>
- </init>
- <temp/>
- <diaginfo/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXASI05000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main"/>
- <submission id="TRASI05000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
- <submission id="TXASI05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main"/>
- </model>
- <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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInit() {
- zbcfGetCodeList(new Array("A0643"), new Array("/root/init/A0643list"));
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- if(pamInfoCvs != ""){ //cvs가 ""이 아닌 경우에만 처리함.
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
- var ioflag = model.getValue("/root/main/paminfo/list/ioflag");
-
- if(ioflag == "I" || ioflag == "E"){
- model.setValue("/root/main/pid", model.getValue("/root/main/paminfo/list/pid"));
- model.setValue("/root/main/orddd", model.getValue("/root/main/paminfo/list/indd"));
- model.setValue("/root/main/cretno", model.getValue("/root/main/paminfo/list/cretno"));
- model.setValue("/root/main/ioeflag", ioflag);
- model.refresh();
- }else if(ioflag == "O"){
- model.setValue("/root/main/pid", model.getValue("/root/main/paminfo/list/pid"));
- model.setValue("/root/main/orddd", model.getValue("/root/main/paminfo/list/orddd"));
- model.setValue("/root/main/cretno", model.getValue("/root/main/paminfo/list/cretno"));
- model.setValue("/root/main/ioeflag", ioflag);
- model.refresh();
- }
- model.setValue("/root/main/hngnm", model.getValue("/root/main/paminfo/list/hngnm"));
- model.setValue("/root/main/sex", model.getValue("/root/main/paminfo/list/sex"));
- model.setValue("/root/main/age", model.getValue("/root/main/paminfo/list/age"));
- model.setValue("/root/main/tel", model.getValue("/root/main/paminfo/list/mpphontel"));
- model.setValue("/root/main/rrgstno1", model.getValue("/root/main/paminfo/list/rrgstno1"));
- model.setValue("/root/main/rrgstno2", model.getValue("/root/main/paminfo/list/rrgstno2"));
- }else if(isPopup()){
- model.setValue("/root/main/pid", opener.javascript.getParameter("pid"));
- model.setValue("/root/main/orddd", opener.javascript.getParameter("indd"));
- model.setValue("/root/main/wrtedt",opener.javascript.getParameter("wrtedt"));
- model.setValue("/root/main/cretno",opener.javascript.getParameter("cretno"));
- model.copyNode("/root/send/reqdata", "/root/main");
- submit("TRASI05000");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="780" pageheight="300" style="margin-left:8; margin-right:8; ">
- <group id="grp_main" scroll="auto" style="left:0px; top:0px; width:755px; height:255px; ">
- <caption id="caption57" class="tit_1" style="left:0px; top:0px; width:285px; height:40px; ">해외유입기생충 감염증 표본감시 결과신고</caption>
- <output id="opt_patnm" ref="/root/main/hngnm" class="output_fix" style="left:82px; top:22px; width:216px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:315px; top:22px; width:50px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
- <caption id="caption11" class="cell_1" style="left:408px; top:22px; width:47px; height:23px; text-align:center; vertical-align:middle; ">연령</caption>
- <caption id="caption13" class="search_no_b" visibility="hidden" style="left:185px; top:46px; width:12px; height:17px; ">-</caption>
- <output id="opt_rgstno" ref="/root/main/rrgstno1" class="output_fix" style="left:82px; top:46px; width:100px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:22px; width:79px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:46px; width:79px; height:23px; text-align:center; vertical-align:middle; ">생년월일</caption>
- <output id="opt_sexflag" ref="/root/main/sex" class="output_fix" style="left:370px; top:22px; width:30px; height:19px; "/>
- <output id="opt_age" ref="/root/main/age" class="output_fix" style="left:458px; top:22px; width:37px; height:19px; "/>
- <output id="output1" ref="/root/main/rrgstno2" class="output_fix" visibility="hidden" style="left:197px; top:46px; width:100px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:505px; top:20px; width:67px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <output id="output3" ref="/root/main/tel" class="output_fix" style="left:575px; top:20px; width:130px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:70px; width:79px; height:20px; text-align:center; vertical-align:middle; ">질 환 명</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:140px; width:79px; height:20px; text-align:center; vertical-align:middle; ">기타의견</caption>
- <textarea id="textarea1" ref="/root/main/infcnts" scroll="false" style="left:81px; top:140px; width:669px; height:75px; "/>
- <button id="btn_cncl" class="btn4_letter2" style="left:622px; top:223px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- if(model.getValue("/root/main/wrtedt")==""){
- messageBox("저장되지 않은 건은 삭제" ,"E001");
- return;
- }
-
- if(model.getValue("/root/main/reptdt").substring(0,8) != "99991231" ){
- messageBox(" 이미 신고된 건은 삭제 " ,"E001");
- return;
- }
-
- var result = messageBox("","Q001"); //삭제하시겠습니까?
-
- if (result == "7"){
- messageBox("삭제가 취소되었습니다","I");
- return;
- }else if (result == "6"){
- model.copyNode("/root/send/savedata", "/root/main");
- model.makeValue("/root/send/savedata/state", "D");
- if(submit("TXASI05001")){
- messageBox("삭제" ,"I001");
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:681px; top:223px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/symp", "");
- model.setValue("/root/main/infcnts", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:562px; top:223px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/symp")==""){
- messageBox("질환명은 ", "I003");
- return;
- }
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main");
- model.makeValue("/root/send/savedata/deptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/savedata/wrteid", getUserInfo("userid"));
- /*
- model.makeValue("/root/send/savedata/pid", model.getValue("/root/main/pid"));
- model.makeValue("/root/send/savedata/ioeflag", model.getValue("/root/main/ioflag"));
- model.makeValue("/root/send/savedata/orddd", model.getValue("/root/main/orddd"));
- model.makeValue("/root/send/savedata/cretno", model.getValue("/root/main/cretno"));
- model.makeValue("/root/send/savedata/infcnts", model.getValue("/root/main/infcnts"));
- model.makeValue("/root/send/savedata/symp", model.getValue("/root/main/symp"));
- model.makeValue("/root/send/savedata/reptdt", model.getValue("/root/main/reptdt"));
- model.makeValue("/root/send/savedata/wrtedt", model.getValue("/root/main/wrtedt"));
- model.makeValue("/root/send/savedata/reptflag", model.getValue("/root/main/reptflag"));
- */
- if(submit("TXASI05000")){
- messageBox("저장" ,"I001");
- window.close();
- }
- ]]>
- </script>
- </button>
- <select id="checkbox12" ref="/root/main/symp" overflow="visible" appearance="full" cellspacing="10" cols="4" vcellspacing="4" style="left:81px; top:70px; width:669px; height:68px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0643list/A0643">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|