SMAHS02300_2차대상자관리대장.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-16"?>
  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. <twotargetlst>
  11. <item>
  12. <hngnm/>
  13. <pid/>
  14. <age/>
  15. <sex/>
  16. <lifeyn/>
  17. <telno/>
  18. <mpphon/>
  19. <zipcode/>
  20. <addr/>
  21. </item>
  22. </twotargetlst>
  23. </main>
  24. <send>
  25. <srchhealexamflag/>
  26. <srchhealexamdetlflag/>
  27. <srchlifeyn>N</srchlifeyn>
  28. <srchfromdd/>
  29. <srchtodd/>
  30. <srchpid/>
  31. <srchpnm/>
  32. </send>
  33. <hidden>
  34. </hidden>
  35. <init>
  36. <baseinfo>
  37. </baseinfo>
  38. </init>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. var sFlag = getScreenMenuParameter(); // 메뉴파라미터(건진구분을 셋팅)
  44. vHealexamFlag = sFlag.substr(0,1);
  45. vHealexamdetlFlag = sFlag;
  46. fSrchInit();
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <script type="javascript">
  51. <![CDATA[
  52. var vHealexamFlag = "";
  53. var vHealexamdetlFlag = "";
  54. /*************************************************************************************************************************************************
  55. * 2차 대상자를 조회하기 위한 조회기준들을 초기화 한다.
  56. *************************************************************************************************************************************************/
  57. function fSrchInit() {
  58. var cur_date = getCurrentDate();
  59. model.setValue("/root/send/srchhealexamflag" , vHealexamFlag);
  60. model.setValue("/root/send/srchhealexamdetlflag" , vHealexamdetlFlag);
  61. model.setValue("/root/send/srchfromdd" , cur_date );
  62. model.setValue("/root/send/srchtodd" , cur_date )
  63. }
  64. /*************************************************************************************************************************************************
  65. * 2차 대상자를 조회한다.
  66. *************************************************************************************************************************************************/
  67. function fGetTwoGnrlTargetList() {
  68. submit("TRAHS02300");
  69. }
  70. ]]>
  71. </script>
  72. <submission id="TRAHA00001"/>
  73. <submission id="TRAHS02300" method="post" ref="/root/send" resultref="/root/main/twotargetlst"/>
  74. </model>
  75. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  81. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  82. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  83. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  84. </xhtml:head>
  85. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1206;">
  86. <group id="group3" style="left:0px; top:0px; width:1211px; height:13px; ">
  87. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">2차 대상자관리대장</caption>
  88. </group>
  89. <group id="group2" style="left:4px; top:23px; width:1203px; height:35px; ">
  90. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1202px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  91. <caption id="caption2" class="search_name" style="left:220px; top:9px; width:205px; height:17px; ">기간 : ~</caption>
  92. <line id="line2" class="line_4" style="x1:1132px; y1:7px; x2:1132px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  93. <button id="btn_search" class="btn1_letter2" style="left:1139px; top:7px; width:56px; height:22px; ">
  94. <caption>조회</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. fGetTwoGnrlTargetList();
  98. ]]>
  99. </script>
  100. </button>
  101. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="7" inputtype="date" style="left:285px; top:8px; width:120px; height:19px; "/>
  102. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="7" inputtype="date" style="left:430px; top:8px; width:120px; height:19px; "/>
  103. <button id="btn_excelsave" class="btn6_letter4" style="left:1045px; top:8px; width:80px; height:22px; ">
  104. <caption>액셀저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  108. grd_twotargetlst.saveExcel(fileName, "SheetName", true, true, "", "", false);
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:975px; top:8px; width:56px; height:22px; ">
  113. <caption>출력</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. ]]>
  117. </script>
  118. </button>
  119. <line id="line3" class="line_4" visibility="hidden" style="x1:1038px; y1:7px; x2:1038px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  120. <caption id="caption3" class="search_name" style="left:565px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  121. <caption id="caption4" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">생애여부 :</caption>
  122. <select1 id="combo1" ref="/root/send/srchlifeyn" appearance="minimal" style="left:100px; top:8px; width:105px; height:19px; ">
  123. <choices>
  124. <item>
  125. <label>생애전환기</label>
  126. <value>Y</value>
  127. </item>
  128. <item>
  129. <label>일반건진</label>
  130. <value>N</value>
  131. </item>
  132. </choices>
  133. </select1>
  134. <button id="btn_srchpat" class="icon_search" style="left:770px; top:8px; width:16px; height:16px; ">
  135. <caption/>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  139. ]]>
  140. </script>
  141. </button>
  142. <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" maxlength="10" style="left:655px; top:8px; width:110px; height:19px; ">
  143. <script type="javascript" ev:event="onkeyup">
  144. <![CDATA[
  145. if(event.keyCode == 13) {
  146. inputEnterKey("btn_srchpat", "DOMActivate");
  147. }
  148. ]]>
  149. </script>
  150. </input>
  151. <output id="opt_srchpnm" ref="/root/send/srchpnm" class="output_fix" style="left:790px; top:8px; width:175px; height:19px; "/>
  152. </group>
  153. <caption id="caption1" class="tit_2" style="left:10px; top:65px; width:87px; height:14px; ">2차 대상자</caption>
  154. <line id="line1" class="line_1" style="x1:5px; y1:80px; x2:1205px; y2:80px; "/>
  155. <datagrid id="grd_twotargetlst" nodeset="/root/main/twotargetlst/item" caption="성명^등록번호^접수일자^나이^성별^생애여부^연락처^휴대전화^우편번호^주소" colsep="^" colwidth="100, 100, 100, 50, 50, 100, 130, 130, 130, 300" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:85px; width:1200px; height:695px; ">
  156. <col ref="hngnm"/>
  157. <col ref="pid"/>
  158. <col ref="age" format="yyyy-mm-dd"/>
  159. <col ref="sex"/>
  160. <col ref="lifeyn"/>
  161. <col ref="telno" type="combo">
  162. <choices>
  163. <item>
  164. <label>생애전환기</label>
  165. <value>Y</value>
  166. </item>
  167. <item>
  168. <label>생애전환기</label>
  169. <value>N</value>
  170. </item>
  171. </choices>
  172. </col>
  173. <col ref="mpphon"/>
  174. <col ref="zipcode"/>
  175. <col ref="addr"/>
  176. <col ref="addr"/>
  177. </datagrid>
  178. </xhtml:body>
  179. </xhtml:html>