Edit D:\rfid\libsystem\page\catalogue\global_search.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String type = "cata"; if(null != request.getParameter("type")){ type = request.getParameter("type"); } %> <select id="libcodeSelect" item-type="record" no-limit="??????" class="easyui-combobox" style="width:100px;height:26px;" editable="false" data-options=""> </select> <%if(type.equals("check") || type.equals("com")){%> <select id="orderbatchno" item-type="record" class="easyui-combobox" style="width:160px;height:26px;" editable="false" data-options=""> </select> <%}%> <select id="bibindex" item-type="record" class="easyui-combobox" style="width:100px;height:26px;" editable="false" data-options=""> </select> <input id="keyword" class="easyui-textbox" data-options="buttonText:'???????',buttonIcon:'e-icon-search fa fa-search',prompt:'?????????????????????',onClickButton:function(){bibController.prototype.search()}" style="width:250px;height:26px;"> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'e-icon fa fa-server'" onclick="z3950Controller.prototype.search(1,10,5)">Z3950????</a> <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'e-icon fa fa-database'" onclick="rfidController.prototype.search(6)"> ??????????? </a> <a id="addSearchCondtion" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'e-icon fa fa-plus'" onclick="addSearchCondtion()"> ????????????? </a> <div class="add-condtion" style="border-top: 1px solid #D4D4D4;margin-top: 6px;padding-top: 6px;display: none;"> <select id="bibindextitle" item-type="record" class="easyui-combobox" style="width:100px;height:26px;" editable="false" data-options=""> </select> <select id="titlehandler" item-type="record" class="easyui-combobox" style="width:100px;height:26px;" editable="false" data-options=""> </select> <input id="titlekey" item-type="record" class="easyui-textbox" style="width:261px;height: 28px;"> <select class="easyui-combobox" id="bibindexauthor" item-type="record" style="width:100px;height:26px;" editable="false" data-options=""> </select> <select id="authorhandler" item-type="record" class="easyui-combobox" style="width:100px;height:26px;" editable="false" data-options=""> </select> <input id="authorkey" item-type="record" class="easyui-textbox" style="width:240px;height: 28px;"> </div> <script type="text/javascript"> $(function() { if($('#orderbatchno').length > 0 ){ $("#libcodeSelect").combobox({ onChange : function(n, o) { renderControllerView.prototype.batchno(n); } }); } renderControllerView.prototype.bibindex(); renderControllerView.prototype.batchno(); getPageConfig("page_type",initSearchCombox,"cat"); }); function addSearchCondtion(){ if($('.add-condtion').is(':hidden')){ renderControllerView.prototype.addSearchCondtion(); $(".add-condtion").show(); $('#addSearchCondtion').linkbutton({ text:'?????????????' }); }else{ $(".add-condtion").hide(); $('#addSearchCondtion').linkbutton({ text:'?????????????' }); setValue("titlekey",""); setValue("authorkey",""); } } function setSearchCondtion(data){ if(data.rows.length>0){ var json = data.rows[0]; var paramjson = JSON.parse(json.paramjson); if(paramjson.libcode){ setValue("libcodeSelect",paramjson.libcode); }else{ setValue("libcodeSelect",""); } } } function initSearchCombox(data){ var libcodeSelect ={ "code" : "libcodeSelect", "key" : "libcode", "condition" : "code", "value" : vLibcode, "tagclass" : "easyui-combobox", }; if(data.rows.length>0){ _setConfig.prototype.callSet(data); var json = data.rows[0]; var paramjson = JSON.parse(json.paramjson); libcodeSelect.deafultVal = paramjson.libcode; } _myPage.prototype.initDataOne(libcodeSelect) } _myPage.prototype.initDataOneSuccess = function(data,params){ enterEvent("keyword",bibController.prototype.search); var input = mystorage.get("input"); if(input && input == "1"){ $("input",$("#keyword").next("span")).click(function(){ this.select(); }); } } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de