123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- <?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>
- <condition>
- <flag/>
- </condition>
- <trgtman>
- <trgtmanlist>
- <emplno/>
- <hngnm/>
- <rrgeno/>
- <deptcd/>
- <jobkindcd/>
- <jobposcd/>
- <prestgradgvnoffcorddd/>
- <orddd/>
- <hbsag/>
- <hbsab/>
- <rubellaigg/>
- <rblapastinocyn/>
- <rblapast/>
- <hbtrgtman/>
- <rblatrgtman/>
- <hbfstinocdd/>
- <hbscndinocdd/>
- <hbthrdinocdd/>
- <ifluinocdd/>
- <rblainocdd/>
- <instcd/>
- <gender/>
- <inocddyn/>
- <small/>
- <seqno/>
- <trgtmanyn/>
- <completeyn/>
- </trgtmanlist>
- </trgtman>
- <condition1>
- <inocflag/>
- </condition1>
- <newElement/>
- <input>
- <emplno/>
- <jobkind/>
- <jobposcd/>
- <fromdd/>
- <todd/>
- <jobkindcd/>
- <hngnm/>
- <small/>
- <seqno/>
- <gender/>
- </input>
- <combo1>
- <inocdd/>
- </combo1>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <cond1/>
- <cond2/>
- </send>
- <opprcpsrch/>
- <prcpsrch>
- <prcplist/>
- </prcpsrch>
- <init>
- <jobposcd/>
- <jobkind/>
- </init>
- <hidden/>
- <req/>
- </root>
- </instance>
- <submission id="TRASI03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/trgtman"/>
- <submission id="TXASI03100" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXASI03101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRASI03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/trgtman"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/dept/deptlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/infcmngtweb/js/SMASI03100.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/input/small","Y");
- model.makeValue("/root/send/reqdata/small",model.getValue("/root/main/input/small"));
- combo1.visible = false;
- zbcfGetCodeList(new Array("R0062","R0061"),new Array("/root/init/jobposcd","/root/init/jobkind"));
- influ();
- if ( checkOpener() ) {
- model.setValue("/root/main/input/emplno", opener.javascript.getParameter("SMASI03200_emplno"));
- model.setValue("/root/main/input/hngnm", opener.javascript.getParameter("SMASI03200_hngnm"));
- model.setValue("/root/main/input/jobkindcd", opener.javascript.getParameter("SMASI03200_jobkindcd"));
- model.setValue("/root/main/input/fromdd", opener.javascript.getParameter("SMASI03200_fromdd"));
- model.setValue("/root/main/input/todd", opener.javascript.getParameter("SMASI03200_todd"));
- model.setValue("/root/main/trgtman/trgtmanlist/rrgeno", opener.javascript.getParameter("SMASI03200_rrgeno"));
- model.setValue("/root/main/trgtman/trgtmanlist/trgtmanyn", opener.javascript.getParameter("SMASI03200_trgtmanyn"));
- model.setValue("/root/main/condition1/inocflag", opener.javascript.getParameter("SMASI03200_inocflag"));
-
-
-
- }
-
-
- model.setValue("/root/main/combo1/inocdd","");
- model.refresh();
- var rrgeno=model.getValue("/root/main/trgtman/trgtmanlist/rrgeno");
-
- var gender=rrgeno.substr(6,1);
-
- if(gender=="2"){
- model.setValue("/root/main/input/gender","여");
- output4.refresh();
- //output4.text="여";
- //model.setValue("/root/main/trgtman/trgtmanlist/gender",sex);
- }
- else if(gender=="1") {
- model.setValue("/root/main/input/gender","남");
- output4.refresh();
- //output4.text="남";
- // model.setValue("/root/main/trgtman/trgtmanlist/gender",sex);
- }
- btn_srchprcp.dispatch("onclick");
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="970" pageheight="510" guideline="1,954;2,500;">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:9px; top:27px; width:941px; height:73px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line8" class="line_1" style="x1:11px; y1:154px; x2:953px; y2:155px; "/>
- <button id="btn_srchprcp" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:899px; top:41px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/main/input/small","Y");
- model.makeValue("/root/send/reqdata/small",model.getValue("/root/main/input/small"));
- if(model.getValue("/root/main/input/emplno")==""){
- alert("사번을 입력 해 주세요");
- }
- else{
-
- if(model.getValue("/root/main/condition1/inocflag")==""){
- alert("접종구분을 선택해 주세요");
- }
- else{
- var inocflag=model.getValue("/root/main/condition1/inocflag");
-
-
-
- model.makeValue("/root/send/reqdata/inocflag",model.getValue("/root/main/condition1/inocflag"));
- model.makeValue("/root/send/reqdata/emplno",model.getValue("/root/main/input/emplno"));
- model.makeValue("/root/send/reqdata/fromdd",model.getValue("/root/main/input/fromdd"));
- model.makeValue("/root/send/reqdata/todd",model.getValue("/root/main/input/todd"));
- model.makeValue("/root/send/reqdata/inocdd",model.getValue("/root/main/combo1/inocdd"));
-
-
- submit("TRASI03101");
- /*
- if(model.getValue("/root/main/trgtman/trgtmanlist/inocddyn")=="N" || model.getValue("/root/main/trgtman/trgtmanlist/inocddyn")==""){
-
- model.setValue("/root/main/trgtman/trgtmanlist/completeyn","예정");}
- else if(model.getValue("/root/main/trgtman/trgtmanlist/inocddyn")=="Y"){
-
- model.setValue("/root/main/trgtman/trgtmanlist/completeyn","완료");}*/
- }
-
- var rrgeno=model.getValue("/root/main/trgtman/trgtmanlist/rrgeno");
-
- var gender=rrgeno.substr(6,1);
- var gender;
- if(gender=="2"){
- model.setValue("/root/main/input/gender","여");
- gender = model.getValue("/root/main/input/gender");
- output4.text =gender;
- //output4.text="여";
- //model.setValue("/root/main/trgtman/trgtmanlist/gender",sex);
- }
- else if(gender=="1") {
- model.setValue("/root/main/input/gender","남");
- gender = model.getValue("/root/main/input/gender");
- output4.text =gender;
- //output4.text="남";
- // model.setValue("/root/main/trgtman/trgtmanlist/gender",sex);
- }
-
-
- var a=getCurrentDate();
- var b=a.substr(0,4);
-
- var c = "19"+rrgeno.substr(0,2);
- output5.text=b-c+" "+"세";
-
-
-
-
-
- }
- if(inocflag=="P"){
- influ();
- }
- else if(inocflag=="D"){
- hb();
- }
- else if(inocflag=="T"){
- rbla();
- }
-
-
- if(model.getValue("/root/main/trgtman/trgtmanlist/inocddyn")==""){
-
- model.removenode("/root/main/trgtman/trgtmanlist");
- // grd_vacninoclist.refresh();
-
-
- }
-
- /* if(model.getValue("/root/main/trgtman/trgtmanlist/trgtmanyn")=="Y"){
-
- model.removenode("/root/main/trgtman/trgtmanlist");
- output1.visible = true;
- }*/
-
-
-
-
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_1" style="left:0px; top:1px; width:140px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">개인 예방접종 조회</caption>
- <caption id="caption25" class="tit_2" style="left:5px; top:113px; width:147px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">접종내역 확인</caption>
- <caption id="caption6" class="search_name" style="left:19px; top:41px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사번</caption>
- <input id="input1" ref="/root/main/input/emplno" style="left:76px; top:41px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srchprcp", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_vacninoclist" nodeset="root/main/trgtman/trgtmanlist" caption="상태^부서^직종^직위^발령일^항원검사일^항원검사결과^항체검사일^항체검사결과^Rubella Ig G 검사일^Rubella Ig G 검사결과^접종여부^과거력^B형간염대상자선택^풍진대상자선택^1차접종일^2차접종일^3차접종일^인플루엔자접종일^풍진접종일" colsep="^" colwidth="48, 79, 80, 82, 77, 82, 108, 81, 107, 124, 144, 72, 62, 120, 100, 115, 119, 118, 110, 100" mergecellsfixedrows="bycolrec" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:9px; top:156px; width:945px; height:320px; text-align:left; ">
- <col ref="completeyn" visibility="hidden" style="left:700px; top:23px; width:100px; height:23px; color:#ff0000; text-align:center; "/>
- <col ref="deptnm"/>
- <col disabled="true" ref="jobkindcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/jobkind/R0061">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="jobposcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/jobposcd/R0062">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="entcodd" visibility="hidden" format="yyyy/mm/dd" style="left:700px; top:23px; width:100px; height:23px; "/>
- <col ref="spcacptdt" visibility="hidden" format="yyyy/mm/dd"/>
- <col ref="reptrslt" visibility="hidden"/>
- <col ref="spcacptdt" visibility="hidden" format="yyyy/mm/dd"/>
- <col ref="repthbsabrslt" visibility="hidden"/>
- <col ref="spcacptdt" visibility="hidden" format="yyyy/mm/dd"/>
- <col ref="reptrslt" visibility="hidden"/>
- <col checkvalue="Y,N" ref="bfrblainocddyn" type="checkbox" visibility="hidden"/>
- <col checkvalue="Y,N" ref="bfrblayn" type="checkbox" visibility="hidden"/>
- <col ref="hbtrgtman" type="checkbox" visibility="hidden"/>
- <col ref="rblatrgtman" type="checkbox" visibility="hidden"/>
- <col disabled="true" ref="fstinocdd" type="inputdate" visibility="hidden"/>
- <col disabled="true" ref="scndinocdd" type="inputdate" visibility="hidden"/>
- <col disabled="true" ref="thrdinocdd" type="inputdate" visibility="hidden"/>
- <col disabled="true" ref="fstinocdd" type="inputdate" visibility="hidden"/>
- <col disabled="true" ref="fstinocdd" type="inputdate" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:910px; top:131px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "개인예방접종조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_vacninoclist.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:10px; top:481px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("SMASI03200_개인예방접종확인", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:885px; top:481px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/trgtman/trgtmanlist");
- model.removeNodeset("/root/main/input/emplno");
- model.removeNodeset("/root/main/condition1/inocflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:30px; top:131px; width:69px; height:20px; font-weight:bold; ">주민번호 :</caption>
- <caption id="caption9" style="left:265px; top:131px; width:45px; height:20px; font-weight:bold; ">성별 :</caption>
- <caption id="caption10" style="left:390px; top:131px; width:45px; height:20px; font-weight:bold; ">나이 :</caption>
- <output id="output3" ref="/root/main/trgtman/trgtmanlist/rrgeno" style="left:100px; top:131px; width:145px; height:19px; "/>
- <output id="output4" ref="/root/main/input/gender" style="left:305px; top:131px; width:60px; height:19px; "/>
- <output id="output5" style="left:430px; top:131px; width:65px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/condition1/inocflag" class="radio_search" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:654px; top:41px; width:235px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>인플루엔자</label>
- <value>P</value>
- </item>
- <item>
- <label>B형간염</label>
- <value>D</value>
- </item>
- <item>
- <label>풍진</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(model.getValue("/root/main/condition1/inocflag")=="D"){
- combo1.visible = true;
- model.setValue("/root/main/combo1/inocdd","");
-
- }
- else if(model.getValue("/root/main/condition1/inocflag")=="P"){
- combo1.visible = false;
- model.setValue("/root/main/combo1/inocdd","fstinocdd");
-
- }
- else if(model.getValue("/root/main/condition1/inocflag")=="T"){
- combo1.visible = false;
- model.setValue("/root/main/combo1/inocdd","fstinocdd");
- }
- btn_srchprcp.dispatch("onclick");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:572px; top:41px; width:81px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">접종유형</caption>
- <caption id="caption3" class="search_name" style="left:189px; top:41px; width:90px; height:17px; ">접종일자</caption>
- <input id="ipt_todd" ref="/root/main/input/todd" class="input_s_essential" inputtype="date" style="left:386px; top:41px; width:98px; height:19px; "/>
- <caption id="caption7" style="left:372px; top:41px; width:15px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/main/input/fromdd" class="input_s_essential" inputtype="date" style="left:274px; top:41px; width:93px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/combo1/inocdd" appearance="minimal" style="left:491px; top:41px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>1차</label>
- <value>fstinocdd</value>
- </item>
- <item>
- <label>2차</label>
- <value>scndinocdd</value>
- </item>
- <item>
- <label>3차</label>
- <value>thrdinocdd</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_name" ref="/root/main/input/hngnm" style="left:75px; top:70px; width:104px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchprcp", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:19px; top:70px; width:65px; height:17px; ">이름</caption>
- <select1 id="ipt_jobkind" ref="/root/main/input/jobkindcd" appearance="minimal" editmode="inputsearch" itemcount="20" style="left:245px; top:70px; width:104px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/jobkind/R0061">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:189px; top:70px; width:70px; height:17px; ">직종</caption>
- <output id="output1" style="left:655px; top:70px; width:230px; height:19px; font-size:12px; font-weight:bold; color:#ff0000; text-align:left; "/>
- <output id="output2" style="left:655px; top:70px; width:230px; height:19px; font-size:12pxpt; font-weight:bold; color:#0000ff; text-align:left; "/>
- </xhtml:body>
- </xhtml:html>
|