Edit D:\rfid\libsystem\page\parameter\js\sys_task.js
var rdrfieldComBoxData=[{field:"lib_cir_reader.libcode",code:"libcode",name:"??????"},{field:"lib_cir_reader.rdrno",code:"rdrno",name:"???????"},{field:"lib_cir_reader.name",code:"name",name:"???????"},{field:"lib_cir_reader.idcard",code:"idcard",name:"??????"},{field:"lib_cir_reader.otherno",code:"otherno",name:"??????"},{field:"lib_cir_reader.password",code:"password",name:"???????"},{field:"lib_cir_reader.status",code:"rdrstatus",name:"???????"},{field:"lib_cir_reader.rdrtype",code:"rdrtype",name:"???????"},{field:"lib_cir_reader.rdrfld1",code:"rdrfld1",name:mystorage.get("rdr_fld1")},{field:"lib_cir_reader.rdrfld2",code:"rdrfld2",name:mystorage.get("rdr_fld2")},{field:"lib_cir_reader.rdrfld3",code:"rdrfld3",name:mystorage.get("rdr_fld3")},{field:"lib_cir_reader.rdrfld4",code:"rdrfld4",name:mystorage.get("rdr_fld4")},{field:"lib_cir_reader.birthday",code:"birthday",name:"???"},{field:"lib_cir_reader.gender",code:"gender",name:"???"},{field:"lib_cir_reader.hobby",code:"hobby",name:"???"},{field:"lib_cir_reader.specialty",code:"specialty",name:"???"},{field:"lib_cir_reader.telephone",code:"telephone",name:"??????"},{field:"lib_cir_reader.email",code:"email",name:"email"},{field:"lib_cir_reader.nation",code:"nation",name:"???"},{field:"lib_cir_reader.nativeplace",code:"nativeplace",name:"???"},{field:"lib_cir_reader.address",code:"address",name:"??????"},{field:"lib_cir_reader.unit",code:"unit",name:"??????"},{field:"lib_cir_reader.createdate",code:"createdate",name:"??????"},{field:"lib_cir_reader.startdate",code:"startdate",name:"??????"},{field:"lib_cir_reader.enddate",code:"enddate",name:"??????"},{field:"lib_cir_reader.canceldate",code:"canceldate",name:"??????"},{field:"lib_cir_reader.note",code:"note",name:"???"}];var typeHandlerComBoxData=[{code:"0",name:"???"},{code:"1",name:"???????"},{code:"3",name:"???"},{code:"4",name:"???"},{code:"5",name:"??????"},{code:"6",name:"???"},{code:"7",name:"??????"},{code:"8",name:"?????"},{code:"9",name:"???"},{code:"10",name:"???"},{code:"11",name:"?????"}];$(function(){var b=[{code:"email",key:"email",condition:"libcode",value:mystorage.get("libcode")},{code:"type",key:"scheduledtasktype"},];commonSetParaInit(null,"paramjson",null,b);var a=[{code:"type",key:"scheduledtasktype"},];commonSetParaInit(null,"record",null,a);$("#type").combobox({onChange:function(d,c){if(d=="0"||d=="4"){if(d=="4"){$("#day-tips").text("?????????")}else{$("#day-tips").text("?????????")}$(".days-text").show();$(".update-rdr-text").hide();$(".email-text").show()}else{if(d=="7"){$(".days-text").hide();$(".update-rdr-text").show();$(".email-text").hide()}else{$(".days-text").hide();$(".email-text").show();$(".update-rdr-text").hide()}}}});initRdrFld()});function initRdrFld(){$("#1").combobox({data:rdrfieldComBoxData,valueField:"code",textField:"name",onLoadSuccess:function(){$(this).combobox("select","rdrtype")}});var b={};b=[{field:"oldvalue",title:"????",width:"50%",editor:"textbox"},{field:"newvalue",title:"????",width:"50%",editor:"textbox"},];eidtorOtherGridObject=$("#2");eidtorOtherGridObject.datagrid({iconCls:"e-icon fa fa-cog",fit:true,title:"????????????",fitColumns:true,singleSelect:true,border:true,nowrap:false,striped:true,toolbar:toolbarOther,onClickRow:onClickOtherEditorRow,columns:[b]});var a={};a=[{field:"condition",title:"??????",width:"30%",formatter:onShowJosnRdrComBoxData,editor:{type:"combobox",options:{valueField:"code",textField:"name",panelHeight:"200",required:true,editable:false,data:rdrfieldComBoxData}}},{field:"typeHandler",title:"???",width:"30%",formatter:onShowJosnTypeHandlerComBoxData,editor:{type:"combobox",options:{valueField:"code",textField:"name",panelHeight:"200",required:true,editable:false,data:typeHandlerComBoxData}}},{field:"value",title:"??",width:"40%",editor:"textbox"},];eidtorGridObject=$("#3");eidtorGridObject.datagrid({iconCls:"e-icon fa fa-cog",fit:true,title:"?????????",fitColumns:true,singleSelect:true,border:true,nowrap:false,striped:true,toolbar:toolbar,onClickRow:onClickEditorRow,columns:[a]})}function openWin(a){cleanJsonData("record");if(!a){setValue("1","rdrtype")}$("#win").window("open")}function saveRecord(){acceptEidtorGrid();acceptEidtorOtherGrid();var a=getJsonData(null,"record");if(!a){openMessageDlg("??????");return}if(a.type=="7"){setValue("email","1")}if(verifyRequiredFields()){openMessageDlg("??????????????");return}if(verifyReasonableData(a)){return}var b=$('[insert-check="repeat"]');if(operation=="insert.do"&&b.length>0){verifyRepeatData(a,b)}else{saveRecordOk(a)}}function onShowJosnTypeHandlerComBoxData(b,c){var d=typeHandlerComBoxData;if(b){for(var a=0;a<d.length;a++){if(b==d[a].code){return d[a].name}}return b}else{return b}}function onShowJosnRdrComBoxData(b,c){var d=rdrfieldComBoxData;if(b){for(var a=0;a<d.length;a++){if(b==d[a].code){return d[a].name}}return b}else{return b}}function myFormatter(a,b){return onGridShowNameBycode("type",a)}function myTimeFormatter(a,b){return a.substr(0,2)+":"+a.substr(2)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de