Edit D:\rfid\libsystem\page\application\js\bookreview.js
$(function(){setGridHeight()});function searchRecord(){var a=base_path+"sys/bookreview/listUnionReader.do";var b={};if(getValue("reviewdatebegdate")>0){b["limit[0].condition"]="reviewdate";b["limit[0].typeHandler"]="7";b["limit[0].value"]=getValue("reviewdatebegdate").replace(new RegExp("-","g"),"")}if(getValue("reviewdateenddate")>0){b["limit[1].condition"]="reviewdate";b["limit[1].typeHandler"]="5";b["limit[1].value"]=getValue("reviewdateenddate").replace(new RegExp("-","g"),"")}$("#datagrid-single").datagrid({url:a,queryParams:b,onLoadSuccess:function(c){},method:"post"})}function checkRecord(){var a=$("#datagrid-single").datagrid("getSelected");if(a){$.messager.confirm("??????","???????????????????????????????",function(c){if(c){var b=base_path+"sys/bookreview/update.do";var d={};d.id=a.id;d.status="1";$.post(b,d,function(e){if(e.status=="0"){searchRecord()}else{openMessageDlg(e.message)}},"json")}})}else{openMessageDlg("????????¤??????????")}}function deleteRecord(){var a=$("#datagrid-single").datagrid("getSelected");if(a){$.messager.confirm("??????","???????????????????????????",function(c){if(c){var b=base_path+"sys/bookreview/delete.do";var d={};d.id=a.id;$.post(b,d,function(e){if(e.status=="0"){searchRecord()}else{openMessageDlg(e.message)}},"json")}})}else{openMessageDlg("????????¤??????????")}};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de