gps管理

This commit is contained in:
liuzhao 2018-06-15 12:12:24 +08:00
parent 4ad1778e6d
commit 4131765f6d

View File

@ -40,7 +40,7 @@
function newRecord(){
var sUrl = "/Tenwa/Gps/GpsRegister/GpsRegister.jsp";
AsDialog.PopView(sUrl,"","resizable=yes;dialogWidth=700px;dialogHeight=330px;center:yes;status:no;statusbar:no",function(){
AsDialog.PopView(sUrl,"","resizable=yes;dialogWidth=900px;dialogHeight=260px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"新增GPS信息");
@ -53,7 +53,7 @@
alert("请选择一条信息");
return;
}else{
AsDialog.PopView(sUrl,"id="+id,"resizable=yes;dialogWidth=700px;dialogHeight=330px;center:yes;status:no;statusbar:no",function(){
AsDialog.PopView(sUrl,"id="+id,"resizable=yes;dialogWidth=900px;dialogHeight=260px;center:yes;status:no;statusbar:no",function(){
reloadSelf();
},"修改GPS信息");
}
@ -110,6 +110,19 @@
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate");
}
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
if(getObj(0,i,"GPS_NET")!=null){
var gps=getItemValue(0,i,"GPS_NET");
getObj(0,i,"GPS_NET").innerHTML='<a class="box" style="text-align:center;" href=\''+gps+'\' style={color:#000;text-decoration:underline;}><font color="blue">'+gps+'</font></a>';
}
};
}
/* &nbsp&nbsp&nbsp&nbsp&nbsp */
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>