123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <userinfo>
- <userid/>
- <hngnm/>
- <sex/>
- <age/>
- <ilja/>
- <depthngnm/>
- <yuhaeinja/>
- <panjeong/>
- <yujilhwan/>
- <chasu/>
- <seq/>
- </userinfo>
- <savedata>
- <cnstdd/>
- <cnstplace/>
- <cnstcnt/>
- <cnstrslt/>
- <chasedd/>
- <prcpdd/>
- </savedata>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <baseinfo>
- <A9010list/>
- </baseinfo>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TRAHA05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
- <submission id="TRAHA05004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
- <submission id="TXAHA05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main"/>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("A9010"), new Array("/root/init/baseinfo/A9010list")); // 상담결과 기준자료 조회
-
- var userid = opener.javascript.getParameter("userid");
- var chasu = opener.javascript.getParameter("chasu");
- var ilja = opener.javascript.getParameter("ilja");
- var seq = opener.javascript.getParameter("seq");
- if(!isNull(userid) && !isNull(chasu) && !isNull(ilja) && isNull(seq)){ // 신규로 상담일지 저장
- model.makeValue("/root/send/reqdata/userid", userid);
- model.makeValue("/root/send/reqdata/chasu", chasu);
- model.makeValue("/root/send/reqdata/ilja", ilja);
- model.makeValue("/root/send/reqdata/cnst", "Y");
- submit("TRAHA05002");
- var panjeong = "";
- if(model.getValue("/root/main/userinfo/panjeongc") != ""){
- panjeong += model.getValue("/root/main/userinfo/panjeongc") ;
- }
- if(model.getValue("/root/main/userinfo/panjeongd1") != ""){
- panjeong += model.getValue("/root/main/userinfo/panjeongd1");
- }
- if(model.getValue("/root/main/userinfo/panjeongd2") != ""){
- panjeong += model.getValue("/root/main/userinfo/panjeongd2");
- }
- var yujilhwan = model.getValue("/root/main/userinfo/panjeongd");
-
- model.makeValue("/root/main/userinfo/panjeong", panjeong);
- model.makeValue("/root/main/userinfo/yujilhwan", yujilhwan);
-
- model.makeNode("/root/main/savedata/cnstdd");
- model.makeNode("/root/main/savedata/cnstplace");
- model.makeNode("/root/main/savedata/cnstcnt");
- model.makeNode("/root/main/savedata/cnstrslt");
- model.makeNode("/root/main/savedata/chasedd");
- model.makeNode("/root/main/savedata/prcpdd");
- }else if(!isNull(userid) && !isNull(chasu) && !isNull(ilja) && !isNull(seq)){ // 기존에 저장된걸 수정
- model.makeValue("/root/send/reqdata/userid", userid);
- model.makeValue("/root/send/reqdata/chasu", chasu);
- model.makeValue("/root/send/reqdata/ilja", ilja);
- model.makeValue("/root/send/reqdata/seq", seq);
- submit("TRAHA05004");
- }
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="480">
- <line id="line10" class="line_1" style="x1:0px; y1:18px; x2:965px; y2:17px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:15px; ">검진사후관리상담일지</caption>
- <caption id="caption1" class="search_name" style="left:15px; top:50px; width:70px; height:17px; ">사 번 :</caption>
- <caption id="caption2" style="left:0px; top:25px; width:106px; height:20px; font-weight:bold; ">◆ 직원 인적사항</caption>
- <caption id="caption3" class="search_name" style="left:153px; top:50px; width:70px; height:17px; ">성 명 :</caption>
- <caption id="caption4" class="search_name" style="left:291px; top:50px; width:70px; height:17px; ">성 별 :</caption>
- <caption id="caption5" class="search_name" style="left:429px; top:50px; width:70px; height:17px; ">나 이 :</caption>
- <caption id="caption7" class="search_name" style="left:552px; top:50px; width:83px; height:17px; ">검 진 일 :</caption>
- <caption id="caption8" class="search_name" style="left:710px; top:50px; width:70px; height:17px; ">부 서 :</caption>
- <caption id="caption9" class="search_name" style="left:15px; top:76px; width:95px; height:17px; ">유해인자 :</caption>
- <caption id="caption10" class="search_name" style="left:15px; top:102px; width:160px; height:17px; ">검진판정(C/D1/D2) :</caption>
- <caption id="caption11" style="left:0px; top:165px; width:106px; height:20px; font-weight:bold; ">◆ 개인상담내역</caption>
- <caption id="caption12" class="search_name" style="left:15px; top:190px; width:70px; height:17px; ">상담일 :</caption>
- <input id="input1" ref="/root/main/savedata/cnstdd" inputtype="date" style="left:90px; top:190px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption13" class="search_name" style="left:210px; top:190px; width:82px; height:17px; ">상담장소 :</caption>
- <input id="input2" ref="/root/main/savedata/cnstplace" style="left:295px; top:190px; width:210px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:15px; top:215px; width:82px; height:17px; ">상담내용</caption>
- <textarea id="textarea1" ref="/root/main/savedata/cnstcnt" style="left:38px; top:236px; width:917px; height:114px; "/>
- <caption id="caption15" class="search_name" style="left:15px; top:355px; width:82px; height:17px; ">상담결과 :</caption>
- <caption id="caption16" style="left:0px; top:415px; width:95px; height:20px; font-weight:bold; ">◆ 추적검사일 :</caption>
- <select id="checkbox1" ref="/root/main/savedata/cnstrslt" overflow="visible" appearance="full" cellspacing="3" cols="3" rows="2" style="left:105px; top:355px; width:25px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/A9010list/A9010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <input id="input3" ref="/root/main/savedata/chasedd" inputtype="date" style="left:95px; top:415px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption17" style="left:265px; top:415px; width:85px; height:20px; font-weight:bold; ">◆ 처방일자 :</caption>
- <input id="input4" ref="/root/main/savedata/prcpdd" inputtype="date" style="left:350px; top:415px; width:100px; height:19px; text-align:center; "/>
- <caption id="caption18" class="search_name" style="left:15px; top:128px; width:115px; height:17px; ">유 질 환(D) :</caption>
- <output id="output1" ref="/root/main/userinfo/userid" style="left:85px; top:48px; width:55px; height:19px; "/>
- <output id="output2" ref="/root/main/userinfo/hngnm" style="left:222px; top:48px; width:55px; height:19px; "/>
- <output id="output3" ref="/root/main/userinfo/sex" style="left:358px; top:48px; width:25px; height:19px; "/>
- <output id="output4" ref="/root/main/userinfo/age" style="left:497px; top:48px; width:25px; height:19px; "/>
- <output id="output5" ref="/root/main/userinfo/ilja" format="yyyy-mm-dd" style="left:633px; top:48px; width:75px; height:19px; "/>
- <output id="output6" ref="/root/main/userinfo/depthngnm" style="left:778px; top:48px; width:185px; height:19px; "/>
- <output id="output8" ref="/root/main/userinfo/panjeong" style="left:170px; top:100px; width:789px; height:19px; "/>
- <output id="output7" ref="/root/main/userinfo/yuhaeinja" style="left:110px; top:75px; width:850px; height:19px; "/>
- <output id="output9" ref="/root/main/userinfo/yujilhwan" style="left:125px; top:126px; width:834px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:895px; top:435px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/savedata/cnstdd")==""){
- messageBox("상담일자가 입력되지 않았습니다.", "E");
- return;
- }
-
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main/savedata");
- model.makeValue("/root/send/savedata/userid", model.getValue("/root/main/userinfo/userid"));
- model.makeValue("/root/send/savedata/chasu", model.getValue("/root/main/userinfo/chasu"));
- model.makeValue("/root/send/savedata/ilja", model.getValue("/root/main/userinfo/ilja"));
- model.makeValue("/root/send/savedata/seq", model.getValue("/root/main/userinfo/seq"));
- model.makeValue("/root/send/savedata/histstat", "Y");
- if(submit("TXAHA05002")){
- messageBox("상담일지가 저장되었습니다.", "I");
- model.close();
- };
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|