123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <resultKHIRALookup>
- <gcode/>
- <!--고시코드-->
- <idx/>
- <!--약제비심사상세연번-->
- <status/>
- <!--삭제여부-->
- <sungnm/>
- <!--고시이름-->
- <yakhyodesc/>
- <!--약효-->
- <gnumb/>
- <!--고시번호-->
- <gdate/>
- <!--고시기간-->
- <!--고시구분-->
- <!--고시약품명-->
- <!--고시내용-->
- </resultKHIRALookup>
- </list>
- <list2>
- <resultKHIRAHTLookup>
- <gcode/>
- <!--고시코드-->
- <idx/>
- <!--고시순번-->
- <gnumb/>
- <!--고시번호-->
- <gdate/>
- <!--고시기간-->
- <contents/>
- <!--심사내용-->
- <contents2/>
- <!--심사내용2-->
- <contents3/>
- <!--심사내용3-->
- <contents4/>
- <!--심사내용4-->
- <contents5/>
- <!--심사내용5-->
- </resultKHIRAHTLookup>
- </list2>
- <edi_nm/>
- <selectedDrugInfo>
- <pYakpumCd/>
- <pGcnSeqNo/>
- <pSelectRow/>
- </selectedDrugInfo>
- </main>
- <send>
- <req>
- <pYakpumCd/>
- <!--약품코드-->
- <!--고시번호-->
- <!--조회구분(0:리스트,1:상세내역)-->
- </req>
- <reqKHIRAHTLookup>
- <pGcode/>
- <!--약제비고시번호※약제비심사정보-->
- <pIdx/>
- <!--약제비일련번호-->
- </reqKHIRAHTLookup>
- <reqKHIRALookup/>
- </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();
- /*
- 조회 메서드는 Import 페이지의 getDetailDrugInfo에서 처리된다.
- 1. 폼 로딩시 선택된 약품의 심사지침 고시현황을 조회하여 화면에 리스트로 출력한다.(TRZCR02301)
- 2. 사용자는 심사지침 고시현황 리스트를 클릭하여 심사지침 고시 변경 이력을 리스트로 조회 할 수 있다.(TRZCR02401)
- 3. 사용자는 심사지침 고시현황 리스트를 더블클릭하여 심사지침 상세내역 팝업창을 통하여 상세내용을 조회 할 수 있다.
- 4. 사용자는 심사지침 변경 리스트를 더블클릭하여 변경이력 상세내역 팝업창을 통하여 상세내용을 조회 할 수 있다.
- */
-
- ]]>
- </script>
- <submission id="TRZCR02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
- <submission id="TRZCR02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqKHIRAHTLookup" resultref="/root/main/list2"/>
- </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");
- }
- /*
- 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) {
- //각 화면별 개별처리;
- 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"));
- submit("TRZCR02301");
-
- grd_resultKHIRALookup.refresh();
- opt_DrugNm.refresh();
-
- var param4 = model.getValue("/root/main/list/resultKHIRALookup[1]/gcode");
- var param5 = model.getValue("/root/main/list/resultKHIRALookup[1]/idx");
- reqGetDetailInfoSub(param4, param5);
- }
- function reqGetDetailInfoSub(param1, param2) {
- //각 화면별 개별처리;
- model.makeValue("/root/send/reqKHIRAHTLookup/pGcode",param1);
- model.makeValue("/root/send/reqKHIRAHTLookup/pIdx",param2);
-
- submit("TRZCR02401");
-
- grd_resultKHIRAHTLookup.refresh();
- }
- function FirstDIS_Request(){
- model.makeValue("/root/firstDISsend/refno","13");
- 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/commonweb/js/tfHelper.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; "/>
- <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; ">
- <col ref="status"/>
- <col ref="sungnm"/>
- <col ref="yakhyodesc"/>
- <col ref="gnumb"/>
- <col ref="gdate"/>
- <col ref="btn" type="inputbutton"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var rowcnt = grd_resultKHIRALookup.row;
-
- if (rowcnt >0 ) {
- var param1 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode");
- var param2 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx");
- reqGetDetailInfoSub(param1,param2);
- model.makeValue("/root/send/reqKHIRALookup/pGCode", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode"));
- model.makeValue("/root/send/reqKHIRALookup/idx", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx"));
- model.makeValue("/root/send/reqKHIRALookup/status", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/status"));
- model.makeValue("/root/send/reqKHIRALookup/sungnm", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/sungnm"));
- model.makeValue("/root/send/reqKHIRALookup/yakhyodesc", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/yakhyodesc"));
- model.makeValue("/root/send/reqKHIRALookup/gnumb", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gnumb"));
- model.makeValue("/root/send/reqKHIRALookup/gdate", model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gdate"));
-
- modal("../../referenceweb/xrw/SPZCR00401_ 심사지침고시상세", "", "", "", "SPZCR00201","/root/send/reqKHIRALookup","/root/main/selectedKHIRA");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell() == false) {
- return;
- }
- var rowcnt = grd_resultKHIRALookup.row;
-
- if (rowcnt >0 ) {
- var param1 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/gcode");
- var param2 = model.getValue("/root/main/list/resultKHIRALookup["+rowcnt+"]/idx");
- reqGetDetailInfoSub(param1,param2);
- }
- ]]>
- </script>
- </datagrid>
- <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:13px; ">심사지침 고시현황</caption>
- <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; ">
- <col ref="gnumb"/>
- <col ref="gdate"/>
- <col ref="btn" type="inputbutton"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- /*
- 1. 심사지침 고시 변경상세 팝업창 호출(SPZCR00501)
- - Parameter : 선택된 고시코드(/root/main/list2/resultKHIRAHTLookup/gcode), 고시순번(/root/main/list2/resultKHIRAHTLookup/idx)
- */
- var rowcnt = grd_resultKHIRAHTLookup.row;
-
- if (rowcnt >0 ) {
- model.makeValue("/root/send/reqKHIRAHTLookup/pGcode", model.getValue("/root/main/list2/resultKHIRAHTLookup["+rowcnt+"]/gcode"));
- model.makeValue("/root/send/reqKHIRAHTLookup/pIdx", model.getValue("/root/main/list2/resultKHIRAHTLookup["+rowcnt+"]/idx"));
- modal("../../referenceweb/xrw/SPZCR00501_ 심사지침고시변경상세", "", "", "", "SPZCR00501","/root/send/reqKHIRAHTLookup","/root/send/reqKHIRAUPHISLookup");
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:373px; top:520px; width:220px; height:14px; ">선택된 심사지침 고시 변경내역</caption>
- <line id="line2" class="line_1" style="x1:370px; y1:535px; x2:1202px; y2:535px; "/>
- <import id="import2" src="../../../com/navigationweb/xrw/SPZCN00101_Copyright.xrw" style="left:370px; top:752px; width:833px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|