SMAHA04096_검진사후관리상담일지.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>검진사후관리상담일지</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <userinfo>
  11. <userid/>
  12. <hngnm/>
  13. <sex/>
  14. <age/>
  15. <ilja/>
  16. <depthngnm/>
  17. <yuhaeinja/>
  18. <panjeong/>
  19. <yujilhwan/>
  20. <chasu/>
  21. <seq/>
  22. </userinfo>
  23. <savedata>
  24. <cnstdd/>
  25. <cnstplace/>
  26. <cnstcnt/>
  27. <cnstrslt/>
  28. <chasedd/>
  29. <prcpdd/>
  30. </savedata>
  31. </main>
  32. <send>
  33. <reqdata/>
  34. </send>
  35. <init>
  36. <baseinfo>
  37. <A9010list/>
  38. </baseinfo>
  39. </init>
  40. <temp/>
  41. </root>
  42. </instance>
  43. <submission id="TRAHA00001"/>
  44. <submission id="TRAHA00002"/>
  45. <submission id="TRAHA05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
  46. <submission id="TRAHA05004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
  47. <submission id="TXAHA05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main"/>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  54. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  55. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  56. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  57. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
  58. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. zbcfGetCodeList(new Array("A9010"), new Array("/root/init/baseinfo/A9010list")); // 상담결과 기준자료 조회
  62. var userid = opener.javascript.getParameter("userid");
  63. var chasu = opener.javascript.getParameter("chasu");
  64. var ilja = opener.javascript.getParameter("ilja");
  65. var seq = opener.javascript.getParameter("seq");
  66. if(!isNull(userid) && !isNull(chasu) && !isNull(ilja) && isNull(seq)){ // 신규로 상담일지 저장
  67. model.makeValue("/root/send/reqdata/userid", userid);
  68. model.makeValue("/root/send/reqdata/chasu", chasu);
  69. model.makeValue("/root/send/reqdata/ilja", ilja);
  70. model.makeValue("/root/send/reqdata/cnst", "Y");
  71. submit("TRAHA05002");
  72. var panjeong = "";
  73. if(model.getValue("/root/main/userinfo/panjeongc") != ""){
  74. panjeong += model.getValue("/root/main/userinfo/panjeongc") ;
  75. }
  76. if(model.getValue("/root/main/userinfo/panjeongd1") != ""){
  77. panjeong += model.getValue("/root/main/userinfo/panjeongd1");
  78. }
  79. if(model.getValue("/root/main/userinfo/panjeongd2") != ""){
  80. panjeong += model.getValue("/root/main/userinfo/panjeongd2");
  81. }
  82. var yujilhwan = model.getValue("/root/main/userinfo/panjeongd");
  83. model.makeValue("/root/main/userinfo/panjeong", panjeong);
  84. model.makeValue("/root/main/userinfo/yujilhwan", yujilhwan);
  85. model.makeNode("/root/main/savedata/cnstdd");
  86. model.makeNode("/root/main/savedata/cnstplace");
  87. model.makeNode("/root/main/savedata/cnstcnt");
  88. model.makeNode("/root/main/savedata/cnstrslt");
  89. model.makeNode("/root/main/savedata/chasedd");
  90. model.makeNode("/root/main/savedata/prcpdd");
  91. }else if(!isNull(userid) && !isNull(chasu) && !isNull(ilja) && !isNull(seq)){ // 기존에 저장된걸 수정
  92. model.makeValue("/root/send/reqdata/userid", userid);
  93. model.makeValue("/root/send/reqdata/chasu", chasu);
  94. model.makeValue("/root/send/reqdata/ilja", ilja);
  95. model.makeValue("/root/send/reqdata/seq", seq);
  96. submit("TRAHA05004");
  97. }
  98. model.refresh();
  99. ]]>
  100. </script>
  101. <script type="javascript">
  102. <![CDATA[
  103. ]]>
  104. </script>
  105. </model>
  106. </xhtml:head>
  107. <xhtml:body pagewidth="980" pageheight="480">
  108. <line id="line10" class="line_1" style="x1:0px; y1:18px; x2:965px; y2:17px; "/>
  109. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:15px; ">검진사후관리상담일지</caption>
  110. <caption id="caption1" class="search_name" style="left:15px; top:50px; width:70px; height:17px; ">사 번 :</caption>
  111. <caption id="caption2" style="left:0px; top:25px; width:106px; height:20px; font-weight:bold; ">◆ 직원 인적사항</caption>
  112. <caption id="caption3" class="search_name" style="left:153px; top:50px; width:70px; height:17px; ">성 명 :</caption>
  113. <caption id="caption4" class="search_name" style="left:291px; top:50px; width:70px; height:17px; ">성 별 :</caption>
  114. <caption id="caption5" class="search_name" style="left:429px; top:50px; width:70px; height:17px; ">나 이 :</caption>
  115. <caption id="caption7" class="search_name" style="left:552px; top:50px; width:83px; height:17px; ">검 진 일 :</caption>
  116. <caption id="caption8" class="search_name" style="left:710px; top:50px; width:70px; height:17px; ">부 서 :</caption>
  117. <caption id="caption9" class="search_name" style="left:15px; top:76px; width:95px; height:17px; ">유해인자 :</caption>
  118. <caption id="caption10" class="search_name" style="left:15px; top:102px; width:160px; height:17px; ">검진판정(C/D1/D2) :</caption>
  119. <caption id="caption11" style="left:0px; top:165px; width:106px; height:20px; font-weight:bold; ">◆ 개인상담내역</caption>
  120. <caption id="caption12" class="search_name" style="left:15px; top:190px; width:70px; height:17px; ">상담일 :</caption>
  121. <input id="input1" ref="/root/main/savedata/cnstdd" inputtype="date" style="left:90px; top:190px; width:100px; height:19px; text-align:center; "/>
  122. <caption id="caption13" class="search_name" style="left:210px; top:190px; width:82px; height:17px; ">상담장소 :</caption>
  123. <input id="input2" ref="/root/main/savedata/cnstplace" style="left:295px; top:190px; width:210px; height:19px; "/>
  124. <caption id="caption14" class="search_name" style="left:15px; top:215px; width:82px; height:17px; ">상담내용</caption>
  125. <textarea id="textarea1" ref="/root/main/savedata/cnstcnt" style="left:38px; top:236px; width:917px; height:114px; "/>
  126. <caption id="caption15" class="search_name" style="left:15px; top:355px; width:82px; height:17px; ">상담결과 :</caption>
  127. <caption id="caption16" style="left:0px; top:415px; width:95px; height:20px; font-weight:bold; ">◆ 추적검사일 :</caption>
  128. <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; ">
  129. <choices>
  130. <itemset nodeset="/root/init/baseinfo/A9010list/A9010">
  131. <label ref="cdnm"/>
  132. <value ref="cdid"/>
  133. </itemset>
  134. </choices>
  135. </select>
  136. <input id="input3" ref="/root/main/savedata/chasedd" inputtype="date" style="left:95px; top:415px; width:100px; height:19px; text-align:center; "/>
  137. <caption id="caption17" style="left:265px; top:415px; width:85px; height:20px; font-weight:bold; ">◆ 처방일자 :</caption>
  138. <input id="input4" ref="/root/main/savedata/prcpdd" inputtype="date" style="left:350px; top:415px; width:100px; height:19px; text-align:center; "/>
  139. <caption id="caption18" class="search_name" style="left:15px; top:128px; width:115px; height:17px; ">유 질 환(D) :</caption>
  140. <output id="output1" ref="/root/main/userinfo/userid" style="left:85px; top:48px; width:55px; height:19px; "/>
  141. <output id="output2" ref="/root/main/userinfo/hngnm" style="left:222px; top:48px; width:55px; height:19px; "/>
  142. <output id="output3" ref="/root/main/userinfo/sex" style="left:358px; top:48px; width:25px; height:19px; "/>
  143. <output id="output4" ref="/root/main/userinfo/age" style="left:497px; top:48px; width:25px; height:19px; "/>
  144. <output id="output5" ref="/root/main/userinfo/ilja" format="yyyy-mm-dd" style="left:633px; top:48px; width:75px; height:19px; "/>
  145. <output id="output6" ref="/root/main/userinfo/depthngnm" style="left:778px; top:48px; width:185px; height:19px; "/>
  146. <output id="output8" ref="/root/main/userinfo/panjeong" style="left:170px; top:100px; width:789px; height:19px; "/>
  147. <output id="output7" ref="/root/main/userinfo/yuhaeinja" style="left:110px; top:75px; width:850px; height:19px; "/>
  148. <output id="output9" ref="/root/main/userinfo/yujilhwan" style="left:125px; top:126px; width:834px; height:19px; "/>
  149. <button id="btn_search" class="btn1_letter2" style="left:895px; top:435px; width:56px; height:22px; ">
  150. <caption>저장</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. if(model.getValue("/root/main/savedata/cnstdd")==""){
  154. messageBox("상담일자가 입력되지 않았습니다.", "E");
  155. return;
  156. }
  157. model.makeNode("/root/send/savedata");
  158. model.copyNode("/root/send/savedata", "/root/main/savedata");
  159. model.makeValue("/root/send/savedata/userid", model.getValue("/root/main/userinfo/userid"));
  160. model.makeValue("/root/send/savedata/chasu", model.getValue("/root/main/userinfo/chasu"));
  161. model.makeValue("/root/send/savedata/ilja", model.getValue("/root/main/userinfo/ilja"));
  162. model.makeValue("/root/send/savedata/seq", model.getValue("/root/main/userinfo/seq"));
  163. model.makeValue("/root/send/savedata/histstat", "Y");
  164. if(submit("TXAHA05002")){
  165. messageBox("상담일지가 저장되었습니다.", "I");
  166. model.close();
  167. };
  168. ]]>
  169. </script>
  170. </button>
  171. </xhtml:body>
  172. </xhtml:html>