123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653 |
- <?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>
- <hbookinfo>
- <hbookdetlinfo>
- <hbookseq/>
- <efcynm1/>
- <efcynm2/>
- <efcynm3/>
- <efcynm4/>
- <efcynm5/>
- <drugnm/>
- <drugcd/>
- <cost/>
- <comnm/>
- <mthdvolsmm/>
- <efcysmm/>
- <seffcsmm/>
- <etc/>
- <refcnts/>
- </hbookdetlinfo>
- </hbookinfo>
- </main>
- <send>
- <srchinfo>
- <srchflag>1</srchflag>
- <srchhbookseq/>
- <srchdrugcds/>
- <srchefcycd1/>
- <srchefcycd2/>
- <srchefcycd3/>
- <srchefcycd4/>
- <srchefcycd5/>
- <srchall/>
- <srchefcycd/>
- <srchefcylevel/>
- <srchsimple/>
- <btnflag/>
- </srchinfo>
- </send>
- <init>
- <efcysrchinfo>
- <efcyinfo1>
- </efcyinfo1>
- <efcyinfo2/>
- <efcyinfo3/>
- <efcyinfo4/>
- <efcyinfo5/>
- </efcysrchinfo>
- </init>
- <hidden>
- <stat>
- <exelstat/>
- </stat>
- </hidden>
- <temp>
- <ret/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/srchinfo/srchdrugcds", opener.javascript.getParameter("drugcd"));
- model.setValue("/root/send/srchinfo/srchhbookseq", opener.javascript.getParameter("srchhbookseq"));
- model.refresh();
-
- fSetEfcyCode("S", "%", 1 ); // 조회용 효능분류
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var align = "";
- var type = "";
- var picRow = 0; // 사진인덱스
-
- function fSetEfcyCode( typeflag, efcycd, efcylevel ){
- var node = null;
- var ipt_node = null;
-
- if (typeflag == "S") { // 조회
- node = "/root/init/efcysrchinfo";
- ipt_node = "/root/send/srchinfo/srch";
- } else if (typeflag == "I") { // 입력
-
- }
-
- model.setValue("/root/send/srchinfo/srchefcycd" ,efcycd);
- model.setValue("/root/send/srchinfo/srchefcylevel",efcylevel);
- var success = submit("TRADB01801","false");
-
- if (success) {
- model.copyNode(node+"/efcyinfo"+efcylevel , "/root/init/efcybaseinfo");
-
- if (efcylevel == 1) {
- model.removeNodeset(node+"/efcyinfo2/item");
- model.removeNodeset(node+"/efcyinfo3/item");
- model.removeNodeset(node+"/efcyinfo4/item");
- model.removeNodeset(node+"/efcyinfo5/item");
- model.setValue(ipt_node+"efcycd2","");
- model.setValue(ipt_node+"efcycd3","");
- model.setValue(ipt_node+"efcycd4","");
- model.setValue(ipt_node+"efcycd5","");
- } else if (efcylevel == 2) {
- model.removeNodeset(node+"/efcyinfo3/item");
- model.removeNodeset(node+"/efcyinfo4/item");
- model.removeNodeset(node+"/efcyinfo5/item");
- model.setValue(ipt_node+"efcycd3","");
- model.setValue(ipt_node+"efcycd4","");
- model.setValue(ipt_node+"efcycd5","");
- } else if (efcylevel == 3) {
- model.removeNodeset(node+"/efcyinfo4/item");
- model.removeNodeset(node+"/efcyinfo5/item");
- model.setValue(ipt_node+"efcycd4","");
- model.setValue(ipt_node+"efcycd5","");
- } else if (efcylevel == 4) {
- model.removeNodeset(node+"/efcyinfo5/item");
- model.setValue(ipt_node+"efcycd5","");
- }
- }
- }
-
- function fView(btnflag){
- var srchefcycd ="";
- var srchdrugcd = "";
- var srchflag = model.getValue("/root/send/srchinfo/srchflag");
- var srchefcycd1 = model.getValue("/root/send/srchinfo/srchefcycd1");
- var srchefcycd2 = model.getValue("/root/send/srchinfo/srchefcycd2");
- var srchefcycd3 = model.getValue("/root/send/srchinfo/srchefcycd3");
- var srchefcycd4 = model.getValue("/root/send/srchinfo/srchefcycd4");
- var srchefcycd5 = model.getValue("/root/send/srchinfo/srchefcycd5");
- var srchall = model.getValue("/root/send/srchinfo/srchall");
-
- if(srchflag =="2") {
- srchdrugcd = model.getValue("/root/send/srchinfo/srchdrugcds").toUpperCase();
- model.setValue("/root/send/srchinfo/srchdrugcds", srchdrugcd);
- } else if( srchflag =="3" ){
- if (srchefcycd5 != "") {
- srchefcycd = srchefcycd5;
- } else {
- if (srchefcycd4 != "") {
- srchefcycd = srchefcycd4;
- } else {
- if (srchefcycd3 != "") {
- srchefcycd = srchefcycd3;
- } else {
- if (srchefcycd2!= "") {
- srchefcycd = srchefcycd2;
- } else {
- if (srchefcycd1 != "") {
- srchefcycd = srchefcycd1;
- }
- }
- }
- }
- }
-
- if ((srchefcycd == null || srchefcycd == "") && srchall != "Y") {
- messageBox("효능코드를","C002");
- return false;
- }
- }
-
- model.setValue("/root/send/srchinfo/srchefcycd",srchefcycd);
- model.setValue("/root/send/srchinfo/btnflag", btnflag);
- submit("TRADB62701");
- }
-
- function fselSrchFlag(flag){
- if(flag != 3){
- model.setValue("/root/send/srchinfo/srchflag",flag);
- model.setValue("/root/send/srchinfo/srchefcycd1", "");
- model.setValue("/root/send/srchinfo/srchefcycd2", "");
- model.setValue("/root/send/srchinfo/srchefcycd3", "");
- model.setValue("/root/send/srchinfo/srchefcycd4", "");
- model.setValue("/root/send/srchinfo/srchefcycd5", "");
- }else if(flag == 3){
- model.setValue("/root/send/srchinfo/srchflag",flag);
- }
- }
- //**************************************************************************************************************
- // 엑셀저장 - 2009-02-10 Start - 김귀남
- //**************************************************************************************************************
- function saveDrugList(gridIDArray) {
- // gidIDArray
- // param = 전체출력 전환
- // param2 = 간략한 내용만 전환
- var File_PATH = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if (File_PATH != ""){
- // object 추가
- var tfexcel2 = body.createChild("xforms:object" , "id:tfexcel;clsid:{fe8d1001-6a9d-424d-ae2a-301493bb12da}");
- body.refresh();
-
- // excel application 실행
- // 0 : hidden , 1 : Nomal(default), 2 : Mnimized, 3 : Maximized
- tfexcel.launchnewinstance(0);
-
- //실행된 excel application에서 새로운 workbook을 생성
- tfexcel.createworkbook();
-
- // 복수의 그리드에 대하여 실행 가능 - 구분자는 ','
- var gridIDList = gridIDArray.split(",");
-
- // 그리드별로 (복수지정가능)
- for ( var i = 0 ; i < gridIDList.length ; i++ ){
-
- var me = trim(gridIDList[i]);
- var element = document.all(me);
- // sheet 이름 지정
- tfexcel.addsheet(i+1 , element.attribute("id") );
-
- //설정한 영역에 format을 설정
- //tfexcel.setformat(1,1,document.all(me).rows,document.all(me).cols, "@"); // 텍스트형식
- tfexcel.setbordercolor(1,1,element.rows,document.all(me).cols, "#000000");
- tfexcel.cellbgcolor(1,1,1,element.cols) = "#d9d9d9";
- tfexcel.font(1,1,element.rows,element.cols) = element.attribute("font-falmily");
- tfexcel.fontsize(1,1,element.rows,element.cols) = 9;
-
- var col_algin = align.split(",");
- var col_type = type.split(",");
-
- // 컬럼 순서대로 너비 지정(그리드의 속성 상속)
- for( col = 1 ; col <= element.cols ; col++) {
- tfexcel.colwidth(col) = element.colwidth(col-1) / 9.5; // colum 너비 지정
- tfexcel.halign(1,col,element.rows,col) = col_algin[col-1];
- }
-
- // 로우 순서대로 높이지정 (그리드의 속성 상속)
- for (var gridRow=1 ; gridRow <= element.rows; gridRow++) {
- for (var gridCol=1 ; gridCol <= element.cols; gridCol++) {
- // cellformat 설정이거나 콤보시 라벨내용을 삽입
- if ( element.cellFormat( gridRow-1 , gridCol-1 ) != "" || col_type[gridCol-1] == "combo") {
- tfexcel.cellvalue(gridRow,gridCol) = element.labelMatrix( gridRow-1, gridCol-1);
- }else{
- // 특이사항 없을 땐 value값을 삽입
- tfexcel.cellvalue(gridRow,gridCol) = element.valueMatrix( gridRow-1, gridCol-1);
- }
- }
- }
-
- // 캡션 정렬 설정
- tfexcel.valign(1,1,1, element.cols) = "center";
- tfexcel.halign(1,1,1, element.cols) = "center";
-
- // 각 행 세로정렬
- tfexcel.valign(2,1,element.rows, element.cols) = "top";
- }
-
- for ( var i = 1 ; i <= 3 ; i++ ){
- tfexcel.deletesheet(gridIDList.length + 1);
- }
- //workbook을 저장.
- tfexcel.save(File_PATH);
- //excel application을 종료. excel application 생성 후 반드시 close해야함.
- var close = tfexcel.close();
- //excel 실행
- window.exec("excel.exe",'\"'+ File_PATH + '\"');
- }
- }
- //**************************************************************************************************************
- // 엑셀저장 - 2009-02-10 End - 김귀남
- //**************************************************************************************************************
-
- function trim(trimData){
- return trimData.replace(/(^\s*)|(\s*$)/gi, "");
- }
-
-
- function saveDrugList2(gridIDArray , save) {
- try {
- //excel activeX생성
- var objExcel = new ActiveXObject("excel.Application");
- //워크시트 생성
- var objWorkbook = objExcel.Workbooks.add();
- var gridIDList = gridIDArray.split(",");
- var chart = false;
- var i = 0;
- for ( i = 0 ; i < gridIDList.length ; i++ ){
- // 그리드ID추출
- var me = trim(gridIDList[i]);
-
- // 그리드 정보 추출
- getHeader(me);
-
- // 그리드의 속성 중 chart 포함 여부 체크
- try {
- if(document.all(me).attribute("chart") == "true") chart = true;
- }
- catch(e) {}
- // 엑셀 시트 생성
- objWorkbook.Sheets.Add();
- // 엑셀 시트 이름 지정
- objWorkbook.ActiveSheet.Name = document.all(me).attribute("id");
- // 엑셀 시트 활성화
- objWorkbook.Sheets(document.all(me).attribute("id")).Activate();
- var Sheet = objWorkbook.ActiveSheet;
- var nCnt = document.all(me).rows - document.all(me).fixedRows + 1;
- //col별 정렬 추출
- var col_algin = align.split(",");
- //col별 type 추출
- var col_type = type.split(",");
- for (var j=0 ;j < document.all(me).cols ; j++) {
- // col의 width에 따라 excel cell의 열너비 지정
- Sheet.columns(j+1).columnWidth = document.all(me).colwidth(j) / 9.5;
- if (col_algin[j] == "center") col_align_key = -4108;
- else if (col_algin[j] == "right") col_align_key = -4152;
- else col_align_key = -4131;
-
- var rang = Sheet.Range( Sheet.cells( 1, j+1 ), Sheet.cells( document.all(me).rows, j+1));
- rang.HorizontalAlignment = col_align_key;
- rang.VerticalAlignment = -4108;
- }
- for (var irow=document.all(me).FixedRows - 1; irow < nCnt ; irow++) {
- for (var j=0 ; j < document.all(me).Cols; j++) {
- // 그리드의 데이터를 excel cell에 write
- Sheet.cells(irow + 1 ,j+1) = document.all(me).textMatrix(irow ,j);
- }
- }
- //그리드의 caption에 해당하는 부분 색 칠하기
- var rang = Sheet.Range( Sheet.cells( 1, 1 ), Sheet.cells( 1, document.all(me).cols));
- rang.Interior.Color = window.rgb(217,217,217);
- // excel cell에 속성 부여
- rang = Sheet.Range( Sheet.cells( 1, 1 ), Sheet.cells( document.all(me).rows, document.all(me).cols));
- // cell 너비보다 데이터가 길면 여러줄로 표시
- rang.WrapText = true;
- // cell font 지정
- rang.font.name = "굴림";
- // cell font size 지정
- rang.font.size = 9;
- // cell서식 지정(텍스트)
- //rang.numberFormat = "@";
- // cell 테두리 지정
- rang.borders.lineStyle = 1;
- // cell 테두리 두께 지정
- rang.borders.Weight = 2;
- // Draw Chart
- if (chart){
- // chart object 생성
- var ch = Sheet.ChartObjects.Add(rang.Left, rang.Top + rang.Height + 20 , 600, 300);
- // chart 종류 지정
- ch.Chart.ChartType = 51;
- ch.Chart.SetSourceData(rang, 2);
- }
- // excel cell의 행높이를 데이터의 길이에 따라 조절
- Sheet.rows.autoFit;
- }
- // 불필요한 sheet 삭제
- while (objWorkbook.Worksheets.Count > i) {
- objWorksheet = objWorkbook.Worksheets.Item(objWorkbook.Worksheets.Count);
- objWorksheet.Delete;
- }
- if (save == "" || save == null) save = "false";
- // 파일 저장여부 확인
- if ( save == "true" ){
- // 파일 저장후 open
- var File_PATH = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- objWorkbook.SaveAs(File_PATH);
- window.exec(File_PATH);
- }else{
- // 파일 저장은 안하고 open
- objExcel.Visible = true;
- }
- }
- catch (e){
- Sheet.Close(0);
- objExcel.Quit();
- alert("[makeExcelChart ERROR]::" + e.toString());
- }
- }
-
- function getHeader(me){
- try{
- var t_align = "";
- var t_type = "";
- for( var i = 1 ; i < document.all(me).children.length; i++){
- if( document.all(me).children(i).elementName == "xforms:col" ){
- t_align += document.all(me).children(i).attribute("text-align") + ",";
- t_type += document.all(me).children(i).attribute("type") + ",";
- }
- }
- align = t_align.substring(0,t_align.length - 1);
- type = t_type.substring(0,t_type.length - 1);
- }catch(e){
- alertBox("[getHeader]::"+e);
- }
- }
- ]]>
- </script>
- <submission id="TRADB62701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/hbookinfo"/>
- <submission id="TRADB01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/init/efcybaseinfo"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="500" pageheight="320" guideline="1,1195;1,0;1,1327;2,783;2,756;1,0;1,571;2,234;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <datagrid id="grd_param2" nodeset="/root/main/hbookinfo/hbookdetlinfo" visibility="hidden" autoresize="true" caption="분류1^분류2^분류3^분류4^분류5^상품명^코드^성분 및 함량^성분 및 함량" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:20px; top:110px; width:395px; height:75px; ">
- <col ref="efcynm1" style="text-align:center; vertical-align:top; "/>
- <col ref="efcynm2" style="text-align:center; vertical-align:top; "/>
- <col ref="efcynm3" style="text-align:center; vertical-align:top; "/>
- <col ref="efcynm4" style="text-align:center; vertical-align:top; "/>
- <col ref="efcynm5" style="text-align:center; vertical-align:top; "/>
- <col ref="drugnm" style="text-align:center; vertical-align:top; "/>
- <col ref="drugcd" style="text-align:center; vertical-align:top; "/>
- <col ref="comnm" style="text-align:center; vertical-align:top; "/>
- </datagrid>
- <datagrid id="grd_param" nodeset="/root/main/hbookinfo/hbookdetlinfo" visibility="hidden" autoresize="true" caption="hbookseq^분류1^분류2^분류3^분류4^분류5^상품명^코드^약가^성분 및 함량^용법^약리작용 및 효능^부작용^주의 및 금기^참고문헌" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 250, 200, 250, 200, 200, 100" mergecells="byrestriccol" rowsep="|" style="left:20px; top:35px; width:395px; height:65px; ">
- <col ref="hbookseq" visibility="hidden" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcynm1" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcynm2" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcynm3" style="left:300px; top:23px; width:100px; height:23px; text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcynm4" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcynm5" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="drugnm" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="drugcd" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="cost" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="comnm" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="mthdvolsmm" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="efcysmm" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="seffcsmm" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="etc" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- <col ref="refcnts" style="text-align:center; vertical-align:top; word-wrap:word; "/>
- </datagrid>
- <group id="group1" style="left:0px; top:0px; width:400px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:380px; height:14px; ">약품편람출력 v1.0</caption>
- </group>
- <button id="btn_prt" class="btn6_letter2" style="left:420px; top:215px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fView("exel") != false){
- if(model.getValue("/root/send/srchinfo/srchsimple") == 'Y') saveDrugList("grd_param2");
- else saveDrugList("grd_param");
- //saveDrugList2("grd_param", "true");
- }
- ]]>
- </script>
- </button>
- <button id="button" class="btn4_letter2" style="left:420px; top:245px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter2" _auth="X" style="left:420px; top:185px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fView("prnt") != false){
- exeReportPreview("RPADB62701", "XMLSTR", "", "", "true","","","","","true");
- }
- ]]>
- </script>
- </button>
- <select1 id="radio2" ref="/root/send/srchinfo/srchflag" class="radio_search" appearance="full" overflow="visible" style="left:15px; top:25px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>선택한 약만</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fselSrchFlag(1);
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/send/srchinfo/srchflag" class="radio_search" appearance="full" overflow="visible" style="left:15px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>코드별</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fselSrchFlag(2);
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radio3" ref="/root/send/srchinfo/srchflag" class="radio_search" appearance="full" overflow="visible" style="left:15px; top:150px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>효능별</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fselSrchFlag(3);
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchefcy4" ref="/root/send/srchinfo/srchefcycd4" appearance="minimal" style="left:115px; top:222px; width:280px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/efcysrchinfo/efcyinfo4/item">
- <label ref="efcynm"/>
- <value ref="efcycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fselSrchFlag(3);
- var srchefcycd4= model.getValue("/root/send/srchinfo/srchefcycd4");
- if(srchefcycd4 != ""){
- fSetEfcyCode( "S",srchefcycd4+"%", 5);
- }else{
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo5/item");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchefcy5" ref="/root/send/srchinfo/srchefcycd5" appearance="minimal" style="left:115px; top:246px; width:280px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/efcysrchinfo/efcyinfo5/item">
- <label ref="efcynm"/>
- <value ref="efcycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fselSrchFlag(3);
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchefcy1" ref="/root/send/srchinfo/srchefcycd1" appearance="minimal" style="left:115px; top:150px; width:280px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/efcysrchinfo/efcyinfo1/item">
- <label ref="efcynm"/>
- <value ref="efcycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fselSrchFlag(3);
- var srchefcycd1= model.getValue("/root/send/srchinfo/srchefcycd1");
- if(srchefcycd1 != ""){
- fSetEfcyCode( "S",srchefcycd1+"%", 2 );
- }else{
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo2/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo3/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo4/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo5/item");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchefcy2" ref="/root/send/srchinfo/srchefcycd2" appearance="minimal" style="left:115px; top:174px; width:280px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/efcysrchinfo/efcyinfo2/item">
- <label ref="efcynm"/>
- <value ref="efcycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fselSrchFlag(3);
- var srchefcycd2= model.getValue("/root/send/srchinfo/srchefcycd2");
- if(srchefcycd2 != ""){
- fSetEfcyCode( "S",srchefcycd2+"%", 3);
- }else{
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo3/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo4/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo5/item");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchefcy3" ref="/root/send/srchinfo/srchefcycd3" appearance="minimal" style="left:115px; top:198px; width:280px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/efcysrchinfo/efcyinfo3/item">
- <label ref="efcynm"/>
- <value ref="efcycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fselSrchFlag(3);
- var srchefcycd3= model.getValue("/root/send/srchinfo/srchefcycd3");
- if(srchefcycd3 != ""){
- fSetEfcyCode( "S",srchefcycd3+"%", 4);
- }else{
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo4/item");
- model.removeNodeset("/root/init/efcysrchinfo/efcyinfo5/item");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select id="chk_all" ref="/root/send/srchinfo/srchall" class="checkbox_search" overflow="visible" appearance="full" style="left:115px; top:270px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>카테고리 모두 선택</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="input1" ref="/root/send/srchinfo/srchdrugcds" class="input_search" style="left:115px; top:115px; width:280px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- fselSrchFlag(2);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:115px; top:55px; width:208px; height:60px; ">
- <![CDATA[원하는 코드를 입력하여 주십시오.
- 단, 코드와 코드 사이는 쉼표(,)로 구분
- 예)DAAP300, DBESE]]>
- </caption>
- <select id="checkbox1" ref="/root/send/srchinfo/srchsimple" class="checkbox_search" overflow="visible" appearance="full" style="left:270px; top:270px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간략한 내용만</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </xhtml:body>
- </xhtml:html>
|