Edit D:\rfid\libsystem\page\iframe\js\com_bib_loadIframe.js
function setParaBatchNo(a){var b="????????????";if(a==0){b="????????????"}if(a==1){b="????????????"}if(a==2){b="????????????"}if(a==3){b="????????????"}if(a==4){b="????????????"}if($(".batchnoFrame").html()==""){$(".batchnoFrame").html('<iframe id="batchnoFrame" name="batchnoFrame" frameborder="0" src="../global/batchno.jsp?type='+a+'" style="width:760px;height:430px;border-top:1px solid #D4D4D4;"></iframe>')}else{batchnoFrame.onLoadGridData(a)}$("#bibsetpara_batchno_dlg").dialog("setTitle",b);$("#bibsetpara_batchno_dlg").dialog("open")}function checkRepeatBib(b,a){var d=0;try{d=vType}catch(f){d=0}var c="null";if(b){selectEditBibId=getValue("bibid");c=getValue("callno")}if($(".checkrepeatFrame").html()==""){if(a){$(".checkrepeatFrame").html('<iframe id="checkrepeatFrame" name="checkrepeatFrame" frameborder="0" src="../iframe/iframe_checkrepeatbib2.jsp?id='+selectEditBibId+"&type="+d+"&callno="+c+'" style="width:760px;height:590px;border-top:1px solid #D4D4D4;"></iframe>')}else{$(".checkrepeatFrame").html('<iframe id="checkrepeatFrame" name="checkrepeatFrame" frameborder="0" src="../iframe/iframe_checkrepeatbib.jsp?id='+selectEditBibId+"&type="+d+"&callno="+c+'" style="width:760px;height:590px;border-top:1px solid #D4D4D4;"></iframe>')}}else{checkrepeatFrame.checkRepeatBibCondtion(selectEditBibId,d,c)}$("#checkrepeatbib_dlg").dialog("open")}function checkDiscontinuity(){var a=base_path+"lib/biblios/get.do";var b={};b.id=getValue("bibid");$.post(a,b,function(e){if(e.status=="0"){var d=e.rows[0];var c=d.classno;libcode=getValue("libcode");$(".checkDiscontinuityFrame").html('<iframe id="checkDiscontinuityFrame" name="checkDiscontinuityFrame" frameborder="0" src="../iframe/iframe_checkDiscontinuity.jsp?classno='+c+"&libcode="+libcode+'" style="width:760px;height:560px;border-top:1px solid #D4D4D4;"></iframe>');$("#checkDiscontinuity_dlg").dialog("open")}else{openMessageDlg(e.message)}},"json")}function setCheckHoldList(){var b=getValue("page_copies");var a=getValue("page_holdlist");mystorage.set("set_grid_holdlist",a);$("#holdgrid_dlg").dialog("open");if($(".holdgridFrame").html()==""){$(".holdgridFrame").html('<iframe id="holdgridFrame" name="holdgridFrame" frameborder="0" src="../iframe/iframe_holdgrid.jsp?copies='+b+'" style="width:700px;height:440px;border-top:1px solid #D4D4D4;"></iframe>')}else{holdgridFrame.checkRepeatHoldGrid(b)}}function setCheckHoldSaveResult(b,a){if(b.length==0){setValue("page_holdlist","")}else{setValue("page_holdlist",JSON.stringify(b))}if(a!=undefined){setValue("page_copies",a)}$("#holdgrid_dlg").dialog("close")}function orderBibRecord(d,c){if(getValue("page_order_batchno").length==0){return openMessageDlg("???????????,?????????????????????")}var b=selectEditBibId;var a="(???)???";if(c==1){a="(???)???";b=selectCenterBibId}var f=0;if(d){if(!isUpdateByLibcode(d.libcode)){return openMessageDlg("??????????????????!")}f=d.id}else{var e=$("#acqDataGridList").datagrid("getSelected");if(c==1){e=$("#centerDataGridList").datagrid("getSelected")}if(!e){if(c==0){return openMessageDlg("????????????????,??????")}else{return openMessageDlg("????????????????,??????")}}if(!e.classno){return openMessageDlg("????????????????????????,???????????????????????!")}mystorage.set("cat_classno",e.classno)}if($(".orderbibFrame").html()==""){$(".orderbibFrame").html('<iframe id="orderbibFrame" name="orderbibFrame" frameborder="0" src="../iframe/iframe_orderbib.jsp?bibId='+b+"&id="+f+'" style="width:900px;height:420px;border-top:1px solid #D4D4D4;"></iframe>')}else{orderbibFrame.orderbibReLoadData(b,f)}$("#orderbib_dlg").dialog("setTitle",a);$("#orderbib_dlg").dialog("open")}function checkBibRecord(c,g,f){if(getValue("page_check_batchno").length==0){return openMessageDlg("???????????,?????????????????????")}var e=0;var a=0;var d=0;var b="(???)";if(g==1){b="(???)"}if(f!=undefined){if(f==0){b=b+"??????"}else{b=b+"??????"}}else{b=b+"??????"}if(!c){if(getValue("page_check_batchno").length==0){return openMessageDlg("???????????,?????????????????????")}var h=$("#acqDataGridList").datagrid("getSelected");if(g==1){h=$("#centerDataGridList").datagrid("getSelected")}if(!h){if(g==0){return openMessageDlg("????????????????,?????????")}else{return openMessageDlg("????????????????,?????????")}}e=h.id;if(f==0){var i=$("#orderDataGridList").datagrid("getSelected");if(!i){return openMessageDlg("?????????¤??????,?????????")}a=i.id}else{if(f==1){if(!h.classno){return openMessageDlg("???????????????????????????,???????????????????????!")}}}}else{if(!isUpdateByLibcode(c.libcode)){return openMessageDlg("??????????????????!")}d=c.id;e=c.bibid}if($(".checkbibFrame").html()==""){$(".checkbibFrame").html('<iframe id="checkbibFrame" name="checkbibFrame" frameborder="0" src="../iframe/iframe_checkbib.jsp?bibId='+e+"&id="+d+"&orderid="+a+'" style="width:1000px;height:740px;border-top:1px solid #D4D4D4;"></iframe>')}else{checkbibFrame.checkbibReLoadData(e,a,d)}$("#checkbib_dlg").dialog("setTitle",b);$("#checkbib_dlg").dialog("open")}function onHandlerHoldingsRecord(c){var b=0;var d=0;if(c){b=c.bibid;d=c.id}else{var a=$("#acqDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("????????????????,??????")}b=a.id}if($(".cataholdFrame").html()==""){$(".cataholdFrame").html('<iframe id="cataholdFrame" name="cataholdFrame" frameborder="0" src="../iframe/iframe_catahold.jsp?bibId='+b+"&id="+d+"&type="+vType+'" style="width:780px;height:390px;border-top:1px solid #D4D4D4;"></iframe>')}else{cataholdFrame.cataholdReLoadData(d,b,vType)}$("#catahold_dlg").dialog("open")}function subscribeOrderBibRecord(e,d){if(getValue("page_order_batchno").length==0){return openMessageDlg("???????????,?????????????????????")}mystorage.set("acq_suborder_checkedItems",checkedItems);var c=0;var f=0;if(e){c=e.bibid;f=e.id;d=0}else{var b=$("#acqDataGridList").datagrid("getSelected");if(!b&&d==0){return openMessageDlg("????????????????,??????")}if(b){c=b.id}}if($(".subscribeorderFrame").html()==""){$(".subscribeorderFrame").html('<iframe id="subscribeorderFrame" name="subscribeorderFrame" frameborder="0" src="../iframe/iframe_subscribeorderbib.jsp?bibId='+c+"&id="+f+"&type="+d+'" style="width:860px;height:460px;border-top:1px solid #D4D4D4;"></iframe>')}else{subscribeorderFrame.subscribeorderReLoadData(c,f,d)}var a="??????";if(d==1){a="?????"}$("#subscribeorder_dlg").dialog("setTitle",a);$("#subscribeorder_dlg").dialog("open")}function orderPerRecord(f,e){var d=$("#orderDataGridList").datagrid("getRows");var b="???";var c=0;var h=0;if(e==0){b+="???"}if(e==1){b+="???";if(d.length==0){return openMessageDlg("?????????,????????????")}orderPerRecordHandlerTypeToMyStorage(f)}if(e==2){b+="???";if(d.length==0){return openMessageDlg("?????????,????????????")}orderPerRecordHandlerTypeToMyStorage(f)}var g="0";if(vPageNameFlag=="?????????"){g="1"}if(f){c=f.bibid;h=f.id}else{var a=$("#acqDataGridList").datagrid("getSelected");if(!a){return openMessageDlg("????????????????,??????")}c=a.id}if($(".suborderperFrame").html()==""){$(".suborderperFrame").html('<iframe id="suborderperFrame" name="suborderperFrame" frameborder="0" src="../iframe/iframe_per_subscribeorderper.jsp?bibId='+c+"&id="+h+"&type="+e+"&urlflag="+g+'" style="width:880px;height:580px;border-top:1px solid #D4D4D4;"></iframe>')}else{suborderperFrame.orderPerReLoadData(c,h,e,g)}$("#suborderper_dlg").dialog("setTitle",b);$("#suborderper_dlg").dialog("open")}function orderPerRecordHandlerTypeToMyStorage(a){if(!a){a=$("#orderDataGridList").datagrid("getSelected");mystorage.set("acq_order_per_handler_type",a)}else{mystorage.remove("acq_order_per_handler_type")}}function colseIframeDlg(c,a,b){if(a&&b){if(a==0||a==2){setValue("page_order_batchno",b)}else{if(a==1||a==3){setValue("page_check_batchno",b)}else{if(a==4){setValue("page_bind_batchno",b)}}}}$("#"+c+"").dialog("close")};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de