SMZCR00901_심사지침.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <list>
  11. <resultKHIRALookup>
  12. <gcode/>
  13. <!--고시코드-->
  14. <idx/>
  15. <!--약제비심사상세연번-->
  16. <status/>
  17. <!--삭제여부-->
  18. <sungnm/>
  19. <!--고시이름-->
  20. <yakhyodesc/>
  21. <!--약효-->
  22. <gnumb/>
  23. <!--고시번호-->
  24. <gdate/>
  25. <!--고시기간-->
  26. <!--고시구분-->
  27. <!--고시약품명-->
  28. <!--고시내용-->
  29. </resultKHIRALookup>
  30. </list>
  31. <list2>
  32. <resultKHIRAHTLookup>
  33. <gcode/>
  34. <!--고시코드-->
  35. <idx/>
  36. <!--고시순번-->
  37. <gnumb/>
  38. <!--고시번호-->
  39. <gdate/>
  40. <!--고시기간-->
  41. <contents/>
  42. <!--심사내용-->
  43. <contents2/>
  44. <!--심사내용2-->
  45. <contents3/>
  46. <!--심사내용3-->
  47. <contents4/>
  48. <!--심사내용4-->
  49. <contents5/>
  50. <!--심사내용5-->
  51. </resultKHIRAHTLookup>
  52. </list2>
  53. <edi_nm/>
  54. <selectedDrugInfo>
  55. <pYakpumCd/>
  56. <pGcnSeqNo/>
  57. <pSelectRow/>
  58. </selectedDrugInfo>
  59. </main>
  60. <send>
  61. <req>
  62. <pYakpumCd/>
  63. <!--약품코드-->
  64. <!--고시번호-->
  65. <!--조회구분(0:리스트,1:상세내역)-->
  66. </req>
  67. <reqKHIRAHTLookup>
  68. <pGcode/>
  69. <!--약제비고시번호※약제비심사정보-->
  70. <pIdx/>
  71. <!--약제비일련번호-->
  72. </reqKHIRAHTLookup>
  73. <reqKHIRALookup/>
  74. </send>
  75. <init/>
  76. <hidden/>
  77. <temp/>
  78. </root>
  79. </instance>
  80. <script type="javascript" ev:event="xforms-ready">
  81. <![CDATA[
  82. /*
  83. 화면을 초기화 합니다.
  84. 선택된 약품리스트를 불러온다. zcnfGetDurgList();
  85. 선택된 약품리스트중에 선택되어진 약픔정보를 가져온다.zcnfGetDurgInfo();
  86. 선택된 약품정보를 가지고 화면에 출력할 약제비 심사지침정보를 조회한다.getDetailDrugInfo();
  87. */
  88. fInitialize();
  89. zcnfGetDurgList();
  90. zcnfGetDurgInfo();
  91. var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
  92. var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
  93. var selecredRow = model.getValue("/root/main/selectedDrugInfo/pSelectRow");
  94. getDetailDrugInfo(param1,param2, selecredRow);
  95. // model.refresh();
  96. if(selecredRow == ""){
  97. selecredRow = 1;
  98. }
  99. model.setFocus("left_datagrid1");
  100. left_datagrid1.select(selecredRow,1) = true;
  101. left_datagrid1.refresh();
  102. /*
  103. 조회 메서드는 Import 페이지의 getDetailDrugInfo에서 처리된다.
  104. 1. 폼 로딩시 선택된 약품의 심사지침 고시현황을 조회하여 화면에 리스트로 출력한다.(TRZCR02301)
  105. 2. 사용자는 심사지침 고시현황 리스트를 클릭하여 심사지침 고시 변경 이력을 리스트로 조회 할 수 있다.(TRZCR02401)
  106. 3. 사용자는 심사지침 고시현황 리스트를 더블클릭하여 심사지침 상세내역 팝업창을 통하여 상세내용을 조회 할 수 있다.
  107. 4. 사용자는 심사지침 변경 리스트를 더블클릭하여 변경이력 상세내역 팝업창을 통하여 상세내용을 조회 할 수 있다.
  108. */
  109. ]]>
  110. </script>
  111. <submission id="TRZCR02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
  112. <submission id="TRZCR02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqKHIRAHTLookup" resultref="/root/main/list2"/>
  113. </model>
  114. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  115. <script type="javascript" src="../../../com/referenceweb/js/ZCR001.js"/>
  116. <script type="javascript">
  117. <![CDATA[
  118. /*
  119. 초기화 작업을 합니다.
  120. */
  121. function fInitialize(){
  122. model.removeNodeset("/root/main");
  123. }
  124. /*
  125. model.getValue(); 를 함수로 만들었습니다.
  126. param1 : node는 grid의 xPath입니다.
  127. param2 : row는 grid에서 선택한 row값입니다.
  128. param3 : element는 getvalue할 해당 element 명입니다.
  129. 해당 getvalue값을 return 해줍니다.
  130. return 하지 않으면 해당값을 가져올 수 없습니다.
  131. */
  132. function fGetValue(node, row, element) {
  133. var rtnValue = model.getValue(node + "[" + row + "]/" + element);
  134. return rtnValue;
  135. }
  136. /*
  137. model.reqGetDetailInfo(); 를 함수로 만들었습니다.
  138. param1 : 선택된 약품 grid에서 선택된 약품코드 입니다.
  139. param2 : 선택된 약품 grid에서 선택된 GCN코드 입니다.
  140. param3 : 선택된 약품 grid에서 선택된 ROW값 입니다.
  141. 해당 getvalue값을 return 해줍니다.
  142. return 하지 않으면 해당값을 가져올 수 없습니다.
  143. */
  144. function reqGetDetailInfo(param1,param2,param3) {
  145. //각 화면별 개별처리;
  146. model.makeValue("/root/send/req/pYakpumCd",param1);
  147. model.makeValue("/root/send/req/pGcnSeqNo",param2);
  148. model.makeValue("/root/main/edi_nm", model.getValue("/root/main/list4/resultDrugSearchDetail/edi_nm"));
  149. submit("TRZCR02301");
  150. grd_resultKHIRALookup.refresh();
  151. opt_DrugNm.refresh();
  152. var param4 = model.getValue("/root/main/list/resultKHIRALookup[1]/gcode");
  153. var param5 = model.getValue("/root/main/list/resultKHIRALookup[1]/idx");
  154. reqGetDetailInfoSub(param4, param5);
  155. }
  156. function reqGetDetailInfoSub(param1, param2) {
  157. //각 화면별 개별처리;
  158. model.makeValue("/root/send/reqKHIRAHTLookup/pGcode",param1);
  159. model.makeValue("/root/send/reqKHIRAHTLookup/pIdx",param2);
  160. submit("TRZCR02401");
  161. grd_resultKHIRAHTLookup.refresh();
  162. }
  163. function FirstDIS_Request(){
  164. model.makeValue("/root/firstDISsend/refno","13");
  165. model.makeValue("/root/firstDISsend/drugcode",model.getValue("/root/main/selectedDrugInfo/pYakpumCd"));
  166. //model.makeValue("/root/difsend/refcd",);
  167. modal("../../referenceweb/xrw/SPZCR00301_심사지침문의", "", "", "", "SPZCR00301","/root/firstDISsend","/root/main/req");
  168. }
  169. ]]>
  170. </script>
  171. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  172. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  173. </xhtml:head>
  174. <xhtml:body pagewidth="1280" pageheight="990" guideline="2,299;1,1200;2,743;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  175. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">약제비 심사지침</caption>
  176. <import id="import1" instancetype="merge" src="../../../com/navigationweb/xrw/SMZCN00201_선택약품.xrw" style="left:5px; top:15px; width:360px; height:765px; "/>
  177. <line id="line8" class="line_1" style="x1:370px; y1:39px; x2:1202px; y2:39px; "/>
  178. <caption id="caption12" class="tit_2" style="left:375px; top:24px; width:115px; height:13px; ">선택된 약품</caption>
  179. <caption id="caption5" class="cell_1" style="left:370px; top:44px; width:132px; height:23px; text-align:center; ">약품명</caption>
  180. <line id="line5" class="line_3" style="x1:370px; y1:66px; x2:1202px; y2:66px; "/>
  181. <output id="opt_DrugNm" ref="/root/main/edi_nm" class="output_fix" style="left:505px; top:45px; width:697px; height:19px; "/>
  182. <datagrid id="grd_resultKHIRALookup" nodeset="/root/main/list/resultKHIRALookup" autoresize="true" caption="삭제여부^고시이름^약효^고시번호^고시기간^상세보기" colsep="^" colwidth="64, 257, 181, 127, 145, 53" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" rowheight="25" rowsep="|" style="left:370px; top:106px; width:832px; height:398px; ">
  183. <col ref="status"/>
  184. <col ref="sungnm"/>
  185. <col ref="yakhyodesc"/>
  186. <col ref="gnumb"/>
  187. <col ref="gdate"/>
  188. <col ref="btn" type="inputbutton"/>
  189. <script type="javascript" ev:event="onbuttonclick">
  190. <![CDATA[
  191. var rowcnt = grd_resultKHIRALookup.row;
  192. if (rowcnt >0 ) {
  193. var param1 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode");
  194. var param2 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx");
  195. reqGetDetailInfoSub(param1,param2);
  196. model.makeValue("/root/send/reqKHIRALookup/pGCode", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode"));
  197. model.makeValue("/root/send/reqKHIRALookup/idx", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx"));
  198. model.makeValue("/root/send/reqKHIRALookup/status", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/status"));
  199. model.makeValue("/root/send/reqKHIRALookup/sungnm", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/sungnm"));
  200. model.makeValue("/root/send/reqKHIRALookup/yakhyodesc", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/yakhyodesc"));
  201. model.makeValue("/root/send/reqKHIRALookup/gnumb", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gnumb"));
  202. model.makeValue("/root/send/reqKHIRALookup/gdate", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gdate"));
  203. modal("../../referenceweb/xrw/SPZCR00401_ 심사지침고시상세", "", "", "", "SPZCR00201","/root/send/reqKHIRALookup","/root/main/selectedKHIRA");
  204. }
  205. ]]>
  206. </script>
  207. <script type="javascript" ev:event="onclick">
  208. <![CDATA[
  209. if (isDataCell() == false) {
  210. return;
  211. }
  212. var rowcnt = grd_resultKHIRALookup.row;
  213. if (rowcnt >0 ) {
  214. var param1 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode");
  215. var param2 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx");
  216. reqGetDetailInfoSub(param1,param2);
  217. }
  218. ]]>
  219. </script>
  220. </datagrid>
  221. <line id="line1" class="line_1" style="x1:370px; y1:101px; x2:1202px; y2:101px; "/>
  222. <caption id="caption2" class="tit_2" style="left:375px; top:86px; width:220px; height:13px; ">심사지침 고시현황</caption>
  223. <datagrid id="grd_resultKHIRAHTLookup" nodeset="/root/main/list2/resultKHIRAHTLookup" autoresize="true" caption="고시번호^고시기간^상세보기" colsep="^" colwidth="219, 556, 53" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" rowheight="25" rowsep="|" style="left:370px; top:540px; width:832px; height:203px; ">
  224. <col ref="gnumb"/>
  225. <col ref="gdate"/>
  226. <col ref="btn" type="inputbutton"/>
  227. <script type="javascript" ev:event="onbuttonclick">
  228. <![CDATA[
  229. /*
  230. 1. 심사지침 고시 변경상세 팝업창 호출(SPZCR00501)
  231. - Parameter : 선택된 고시코드(/root/main/list2/resultKHIRAHTLookup/gcode), 고시순번(/root/main/list2/resultKHIRAHTLookup/idx)
  232. */
  233. var rowcnt = grd_resultKHIRAHTLookup.row;
  234. if (rowcnt >0 ) {
  235. model.makeValue("/root/send/reqKHIRAHTLookup/pGcode", model.getValue("/root/main/list2/resultKHIRAHTLookup["+rowcnt+"]/gcode"));
  236. model.makeValue("/root/send/reqKHIRAHTLookup/pIdx", model.getValue("/root/main/list2/resultKHIRAHTLookup["+rowcnt+"]/idx"));
  237. modal("../../referenceweb/xrw/SPZCR00501_ 심사지침고시변경상세", "", "", "", "SPZCR00501","/root/send/reqKHIRAHTLookup","/root/send/reqKHIRAUPHISLookup");
  238. }
  239. ]]>
  240. </script>
  241. </datagrid>
  242. <caption id="caption1" class="tit_2" style="left:373px; top:520px; width:220px; height:14px; ">선택된 심사지침 고시 변경내역</caption>
  243. <line id="line2" class="line_1" style="x1:370px; y1:535px; x2:1202px; y2:535px; "/>
  244. <import id="import2" src="../../../com/navigationweb/xrw/SPZCN00101_Copyright.xrw" style="left:370px; top:752px; width:833px; height:27px; "/>
  245. </xhtml:body>
  246. </xhtml:html>