gps管理
This commit is contained in:
parent
4ad1778e6d
commit
4131765f6d
@ -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>';
|
||||
}
|
||||
};
|
||||
}
|
||||
/*       */
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user