123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?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>
- <list>
- <resultHtml>
- <description/>
- <!--한국허가기준적응증(kfda)-->
- </resultHtml>
- </list>
- <edi_nm/>
- </main>
- <send>
- <req>
- <pYakpumCd/>
- <!--약품코드-->
- <pGcnSeqNo/>
- <!--성분명(제형,함량구분)약품코드※적응증리스트와약품과의연결-->
- </req>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /*
- 화면을 초기화 합니다.
- 선택된 약품리스트를 불러온다. zcnfGetDurgList();
- 선택된 약품리스트중에 선택되어진 약픔정보를 가져온다.zcnfGetDurgInfo();
- 선택된 약품정보를 가지고 화면에 출력할 적응증정보를 조회한다.getDetailDrugInfo();
- */
- fInitialize();
- /*
- 데이터를 조회 합니다.
- */
- zcnfGetDurgList();
- zcnfGetDurgInfo();
- var param1 = model.getValue("/root/main/selectedDrugInfo/pYakpumCd");
- var param2 = model.getValue("/root/main/selectedDrugInfo/pGcnSeqNo");
- var selecredRow = model.getValue("/root/main/selectedDrugInfo/pSelectRow");
- getDetailDrugInfo(param1,param2, selecredRow);
- // model.refresh();
- if(selecredRow == ""){
- selecredRow = 1;
- }
- model.setFocus("left_datagrid1");
- left_datagrid1.select(selecredRow,1) = true;
- left_datagrid1.refresh();
-
- ]]>
- </script>
- <submission id="TRZCR02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/referenceweb/js/ZCR001.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화 작업을 합니다.
- */
- function fInitialize(){
- model.removeNodeset("/root/main/list/resultHtml");
- }
- /*
- model.getValue(); 를 함수로 만들었습니다.
- param1 : node는 grid의 xPath입니다.
- param2 : row는 grid에서 선택한 row값입니다.
- param3 : element는 getvalue할 해당 element 명입니다.
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
- function fGetValue(node, row, element) {
- var rtnValue = model.getValue(node + "[" + row + "]/" + element);
- return rtnValue;
- }
- /*
- model.reqGetDetailInfo(); 를 함수로 만들었습니다.
- param1 : 선택된 약품 grid에서 선택된 약품코드 입니다.
- param2 : 선택된 약품 grid에서 선택된 GCN코드 입니다.
- param3 : 선택된 약품 grid에서 선택된 ROW값 입니다.
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
-
- function reqGetDetailInfo(param1,param2,param3) {
- //req Parameter setValue
- model.makeValue("/root/send/req/pYakpumCd",param1);
- model.makeValue("/root/send/req/pGcnSeqNo",param2);
-
- model.makeValue("/root/main/edi_nm", model.getValue("/root/main/list4/resultDrugSearchDetail/edi_nm"));
- opt_DrugNm.refresh();
- // browser 연동
- objBrower.Navigate2(getActionURL("TRZCR02201")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2);
- }
- function FirstDIS_Request(){
- model.makeValue("/root/firstDISsend/refno","12");
- model.makeValue("/root/firstDISsend/drugcode",model.getValue("/root/main/selectedDrugInfo/pYakpumCd"));
- //model.makeValue("/root/difsend/refcd",);
- modal("../../referenceweb/xrw/SPZCR00301_주의사항문의", "", "", "", "SPZCR00301","/root/firstDISsend","/root/main/req");
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
- </xhtml:head>
- <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; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">적응증</caption>
- <import id="import1" instancetype="merge" src="../../../com/navigationweb/xrw/SMZCN00201_선택약품.xrw" style="left:5px; top:15px; width:360px; height:765px; "/>
- <line id="line8" class="line_1" style="x1:370px; y1:39px; x2:1202px; y2:39px; "/>
- <caption id="caption12" class="tit_2" style="left:375px; top:24px; width:115px; height:13px; ">선택된 약품</caption>
- <caption id="caption5" class="cell_1" style="left:370px; top:44px; width:132px; height:23px; text-align:center; ">약품명</caption>
- <line id="line5" class="line_3" style="x1:370px; y1:66px; x2:1202px; y2:66px; "/>
- <output id="opt_DrugNm" ref="/root/main/edi_nm" class="output_fix" style="left:505px; top:45px; width:697px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:370px; y1:101px; x2:1202px; y2:101px; "/>
- <caption id="caption2" class="tit_2" style="left:375px; top:86px; width:220px; height:14px; ">적응증(Indications)</caption>
- <object id="objBrower" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" style="left:370px; top:106px; width:832px; height:637px; font-family:굴림; font-size:7pt; padding-left:0; padding-top:0; padding-right:0; padding-bottom:0; background-image:../../../com/commonweb/images/grid_bg.gif; "/>
- <import id="import2" src="../../../com/navigationweb/xrw/SPZCN00101_Copyright.xrw" style="left:370px; top:752px; width:833px; height:27px; "/>
- <button id="button10" class="btn2_letter2" style="left:1155px; top:75px; width:42px; height:19px; ">
- <caption>출력</caption>
- <!--script type="vbscript" ev:event="onclick">
- <![CDATA[
- on error resume next
- call objBrower.ExecWB(6,1)
- ]]>
- </script-->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/send/req/pYakpumCd");
- var param2 = model.getValue("/root/send/req/pGcnSeqNo");
- var pPrintYn = "Y";
- var pDrugNm = model.getValue("/root/main/edi_nm");
- // browser 연동
- objBrowerPrint.Navigate2(getActionURL("TRZCR02201")+ "&pYakpumCd=" + param1 + "&pGcnSeqNo=" + param2 + "&pPrintYn=" + pPrintYn + "&pDrugNm=" + encodeURI(pDrugNm));
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|