123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <list4>
- <resultDrugSearchDetail>
- <hcode/>
- <edi_nm/>
- <hamryang/>
- <prescription_channel/>
- <jehyeng/>
- <insurance_demand/>
- <edi_cd/>
- <jeyaksa_nm/>
- <yakhyo_no/>
- <yaksort_nm/>
- <yaksort_nm_cust/>
- <drug_category/>
- <national_support_flag/>
- <fda_pregnancy_category/>
- <special_as_flag/>
- <yakpum_cd/>
- <gcn_seqno/>
- <img_con/>
- <eng_nm/>
- <bogijunga/>
- <ahfs_desc/>
- <ahfs/>
- <atc_desc/>
- <atc/>
- <atc3_desc/>
- <atc3_desc_cust/>
- </resultDrugSearchDetail>
- <resultDrugIngredient>
- <iengnm/>
- <hamryangnm/>
- </resultDrugIngredient>
- </list4>
- <selectedlist>
- <list>
- <hdrugcd/>
- <fdrugcd/>
- <gcnseqno/>
- <edicd/>
- <engnm/>
- <edi_nm/>
- <iengnm/>
- </list>
- </selectedlist>
- <selectedDrugInfo>
- <pYakpumCd/>
- <pGcnSeqNo/>
- <pSelectRow/>
- </selectedDrugInfo>
- </main>
- <send>
- <reqDetail>
- <pYakpumCd/>
- <pGcnSeqNo/>
- </reqDetail>
- </send>
- <temp>
- <pClassficationCd/>
- <pSearchType/>
- </temp>
- <firstDISsend>
- <drugcode/>
- <refno/>
- <refcd/>
- </firstDISsend>
- </root>
- </instance>
- <submission id="TRZCN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqDetail" resultref="/root/main/list4"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- model.getDetailDrugInfo(); 를 함수로 만들었습니다.
- param1 : 선택된 약품 grid에서 선택된 약품코드(pYakpumCd) 입니다.
- param2 : 선택된 약품 grid에서 선택된 GCN코드(pGcnSeqNo) 입니다.
- reqGetDetailInfo() 함수를 PARENT 상에 작성
- PARENT 오픈시점에 실행하여 PARENT의첫번째 탭의 상세 정보를 조회한다.
-
- */
- function getDetailDrugInfo(param1, param2, param3 ){
- left_img2.visible = true;
- model.makeValue("root/send/reqDetail/pYakpumCd", param1);
- model.makeValue("root/send/reqDetail/pGcnSeqNo", param2);
- model.makeValue("/root/main/selectedDrugInfo/pYakpumCd", param1);
- model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo", param2);
- model.makeValue("/root/main/selectedDrugInfo/pSelectRow", param3);
- //alert("선택화면");
- zcnfSetDurgInfo();
- left_button1.visible = false ;
- submit("TRZCN00501");
- reqGetDetailInfo(param1, param2, 0);
-
- left_img1.src = getDomain()+"/dif/images/"+param1+".jpg";
- // left_img1.src = "../../../com/navigationweb/images/"+param1+".jpg";
- left_img1.refresh();
- if (left_img1.getBase64data()==''){
- } else {
- left_img2.visible = false;
- left_button1.visible = true;
- }
- left_button1.refresh();
- //model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body navindex="99999999999999999999" scroll="autovscroll" pagewidth="359" pageheight="770" idprefix="left_" style="border-color:transparent; border-width:0; ">
- <group id="left_group1" style="left:1px; top:5px; width:350px; height:760px; ">
- <object id="objBrowerPrint" clsid="{8856f961-340a-11d0-a96b-00c04fd705a2}" Visible="false" StatusBar="false" style="left:5px; top:176px; width:0px; height:0px; 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; ">
- <script type="javascript" ev:event="DocumentComplete(pDisp, URL)">
- <![CDATA[
- objBrowerPrint.ExecWB(6,1);
- ]]>
- </script>
- </object>
- </group>
- <table id="left_table1" cellspacing="-1" style="left:5px; top:285px; width:345px; height:479px; border-color:#B0B0B0; ">
- <tr>
- <td style="width:115px; height:100px; "/>
- <td style="width:227px; height:100px; ">
- <shape id="left_rectangle1" appearance="rectangle" style="left:0px; top:3px; width:230px; height:150px; "/>
- <img id="left_img1" src="../../../com/navigationweb/images/no_image.jpg" style="left:26px; top:8px; width:176px; height:88px; background-stretch:stretch; "/>
- <img id="left_img2" visibility="hidden" src="../../../com/navigationweb/images/no_image.jpg" style="left:26px; top:8px; width:176px; height:88px; background-stretch:stretch; "/>
- </td>
- </tr>
- <tr>
- <td style="width:115px; height:64px; "/>
- <td style="width:227px; height:64px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:26px; "/>
- <td style="width:227px; height:26px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:25px; "/>
- <td style="width:227px; height:25px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:63px; "/>
- <td style="width:227px; height:63px; ">
- <datagrid id="left_datagrid2" nodeset="/root/main/list4/resultDrugIngredient" colwidth="150, 77" dataheight="13" rowsep="|" style="left:0px; top:0px; width:228px; height:63px; border-color:#ffffff; border-style:hidden; ">
- <col ref="iengnm"/>
- <col ref="hamryangnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- modal("../../navigationweb/xrw/SPZCN00401", "", "", "", "SPZCN00401","/root/main/list4","/root/main/list4");
- ]]>
- </script>
- </datagrid>
- </td>
- </tr>
- <tr>
- <td style="width:115px; height:25px; "/>
- <td style="width:227px; height:25px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:25px; "/>
- <td style="width:227px; height:25px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:37px; "/>
- <td style="width:227px; height:37px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:38px; "/>
- <td style="width:227px; height:38px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:38px; "/>
- <td style="width:227px; height:38px; "/>
- </tr>
- <tr>
- <td style="width:115px; height:26px; "/>
- <td style="width:227px; height:26px; "/>
- </tr>
- </table>
- <output id="left_output3" ref="/root/main/list4/resultDrugSearchDetail/yaksort_nm" class="output" appearance="output" style="left:124px; top:621px; width:225px; height:19px; "/>
- <caption id="left_caption7" class="tit_2" style="left:5px; top:10px; width:98px; height:13px; ">선택된 약품</caption>
- <caption id="left_caption8" class="cell_1" style="left:6px; top:388px; width:115px; height:63px; ">
- <![CDATA[성상정보
- ]]>
- </caption>
- <textarea id="left_textarea1" ref="/root/main/list4/resultDrugSearchDetail/img_con" disabled="false" scroll="auto" editable="false" maxbyte="10" style="left:121px; top:386px; width:229px; height:66px; letter-spacing:1; margin-top:3; "/>
- <caption id="left_caption10" class="cell_1" style="left:6px; top:621px; width:115px; height:36px; ">약효분류명</caption>
- <output id="left_output5" ref="/root/main/list4/resultDrugSearchDetail/fda_pregnancy_category" class="output" appearance="output" style="left:124px; top:737px; width:225px; height:19px; "/>
- <caption id="left_caption9" class="cell_1" style="left:6px; top:453px; width:115px; height:24px; ">약품명</caption>
- <caption id="left_caption11" class="cell_1" style="left:6px; top:659px; width:115px; height:37px; vertical-align:top; ">AHFS약효분류</caption>
- <button id="left_button2" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:238px; top:4px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rowcnt = left_datagrid1.row;
- model.removeNode ("/root/main/selectedlist/list["+rowcnt+"]");
-
- model.removeNodeset("/root/main/list4/resultDrugSearchDetail");
- model.removeNodeset("/root/main/list4/resultDrugIngredient");
- zcnfSetDurgList();
- if(left_datagrid1.rows > 0){
- var berofrow = 1;
- var param1 = model.getValue("/root/main/selectedlist/list" + "[" + berofrow + "]/" + "fdrugcd");
- var param2 = model.getValue("/root/main/selectedlist/list" + "[" + berofrow+ "]/" + "gcnseqno");
- getDetailDrugInfo(param1, param2, berofrow);
- model.refresh();
- left_datagrid1.select(berofrow,1) = true;
- model.setFocus("left_datagrid1");
- }else{
- model.makeValue("root/send/reqDetail/pYakpumCd", "");
- model.makeValue("root/send/reqDetail/pGcnSeqNo", "");
- model.makeValue("/root/main/selectedDrugInfo/pYakpumCd", "");
- model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo", "");
- left_img2.visible = true;
- left_button1.visible = false;
- zcnfSetDurgInfo();
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="left_button3" class="btn4_letter5" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:259px; top:258px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
- <caption>문의/제안</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- 각 화면별 문의 세팅값 처리
- */
- model.removeNodeset("/root/firstDISsend");
- FirstDIS_Request();
- ]]>
- </script>
- </button>
- <output id="left_output7" ref="/root/main/list4/resultDrugSearchDetail/eng_nm" class="output" appearance="output" style="left:124px; top:479px; width:225px; height:19px; "/>
- <button id="left_button4" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:11px; top:367px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>감액</caption>
- </button>
- <output id="left_output8" ref="/root/main/list4/resultDrugSearchDetail/edi_nm" class="output" appearance="output" style="left:124px; top:453px; width:225px; height:19px; "/>
- <line id="left_line1" class="line_1" style="x1:6px; y1:286px; x2:351px; y2:286px; border-color:#808080; "/>
- <button id="left_button5" class="btn2_letter5" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:11px; top:427px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../navigationweb/xrw/SPZCN00501_성상정보상세", "", "", "", "SPZCN00501","/root/main/list4/resultDrugSearchDetail/img_con","/root/main/img_con");
- ]]>
- </script>
- </button>
- <line id="left_line3" class="line_1" style="x1:5px; y1:24px; x2:350px; y2:24px; "/>
- <datagrid id="left_datagrid1" nodeset="/root/main/selectedlist/list" caption="CMC약품코드^약품명^성분명" colsep="^" colwidth="90, 150, 100, 100" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" style="left:5px; top:29px; width:345px; height:215px; ">
- <col ref="hdrugcd"/>
- <col ref="edi_nm"/>
- <col ref="iengnm"/>
- <col ref="gcnseqno" visibility="hidden"/>
- <col ref="fdrugcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell() == false) {
- return;
- }
- /*
- 1. 약품선택시 하단화면에 약품 상세 정보 출력
- 2. 약품선택시 PARENT 화면의 정보조회 공통 펑션 실행5
- */
- var rowcnt = left_datagrid1.row;
-
- if (rowcnt >0 ) {
- var param1 = model.getValue("/root/main/selectedlist/list" + "[" +rowcnt + "]/" + "fdrugcd");
- var param2 = model.getValue("/root/main/selectedlist/list" + "[" +rowcnt + "]/" + "gcnseqno");
- getDetailDrugInfo(param1, param2, rowcnt);
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="left_caption1" class="cell_1" style="left:6px; top:291px; width:115px; height:95px; ">
- <![CDATA[약품사진
- ]]>
- </caption>
- <caption id="left_caption2" class="cell_1" style="left:6px; top:479px; width:115px; height:24px; ">영문상품명</caption>
- <caption id="left_caption3" class="cell_1" style="left:6px; top:737px; width:115px; height:24px; ">임신카테고리</caption>
- <caption id="left_caption4" class="cell_1" style="left:6px; top:505px; width:115px; height:62px; ">
- <![CDATA[성분명/함량
- ]]>
- </caption>
- <output id="left_output1" ref="/root/main/list4/resultDrugSearchDetail/bogijunga" class="output" appearance="output" style="left:124px; top:569px; width:225px; height:19px; "/>
- <caption id="left_caption5" class="cell_1" style="left:6px; top:569px; width:115px; height:24px; ">보험상한가</caption>
- <output id="left_output2" ref="/root/main/list4/resultDrugSearchDetail/jeyaksa_nm" class="output" appearance="output" style="left:124px; top:595px; width:225px; height:19px; "/>
- <caption id="left_caption6" class="cell_1" style="left:6px; top:595px; width:115px; height:24px; ">제약회사</caption>
- <button id="left_button6" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:283px; top:4px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>전체삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset ("/root/main/selectedlist/list");
- model.removeNodeset("/root/send/reqDetail");
- model.makeValue("/root/main/selectedDrugInfo/pYakpumCd",'0');
- model.makeValue("/root/main/selectedDrugInfo/pGcnSeqNo",'0 ');
-
- model.removeNodeset("/root/main/list4/resultDrugSearchDetail");
- model.removeNodeset("/root/main/list4/resultDrugIngredient");
-
- //left_datagrid1.refresh();
- left_img2.visible = true;
- left_button1.visible = false;
- zcnfSetDurgList();
- zcnfSetDurgInfo();
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="left_caption12" class="cell_1" style="left:6px; top:698px; width:115px; height:37px; vertical-align:top; ">ATC분류</caption>
- <textarea id="left_textarea3" ref="/root/main/list4/resultDrugSearchDetail/atc_desc" disabled="false" navindex="0" overflow="visible" scroll="autovscroll" editable="false" style="left:121px; top:697px; width:229px; height:40px; "/>
- <button id="left_button1" class="btn2_letter5" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:11px; top:362px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../navigationweb/xrw/SPZCN00301_이미지상세", "", "", "", "SPZCN00301","/root/send/reqDetail","/root/send");
- ]]>
- </script>
- </button>
- <button id="left_button7" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:543px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../navigationweb/xrw/SPZCN00401_복합성분상세", "", "", "", "SPZCN00401","/root/main/list4","/root/main/list4");
- ]]>
- </script>
- </button>
- <button id="left_button8" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:673px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/main/list4/resultDrugSearchDetail/ahfs");
- model.makeValue("/root/temp/pClassficationCd", param1);
- model.makeValue("/root/temp/pSearchType", '01');
- modal("../../navigationweb/xrw/SPZCN00201_AHFS분류상세", "", "", "", "SPZCN00201","/root/temp","/root/send");
- ]]>
- </script>
- </button>
- <button id="left_button9" class="btn2_letter5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:12px; top:712px; width:75px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>상세보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var param1 = model.getValue("/root/main/list4/resultDrugSearchDetail/atc");
- model.makeValue("/root/temp/pClassficationCd", param1);
- model.makeValue("/root/temp/pSearchType", '02');
- modal("../../navigationweb/xrw/SPZCN00601_ATC분류상세", "", "", "", "SPZCN00601","/root/temp","/root/send");
- ]]>
- </script>
- </button>
- <textarea id="left_textarea2" ref="/root/main/list4/resultDrugSearchDetail/ahfs_desc" disabled="false" navindex="0" overflow="visible" scroll="autovscroll" editable="false" style="left:121px; top:658px; width:229px; height:40px; "/>
- </xhtml:body>
- </xhtml:html>
|