收车报告上传文件

This commit is contained in:
liuzhao 2018-09-03 10:06:40 +08:00
parent 3e77a9141a
commit 8a8070763a

View File

@ -10,7 +10,7 @@
//String ishistory=CurPage.getParameter("IsHistory");
String RightType= CurPage.getParameter("RightType");
ASObjectModel doTemp = new ASObjectModel("CarReclaimRepertList");
doTemp.setVisible("action", true);
//doTemp.setVisible("action", true);
//doTemp.setVisible("filelist", false);
//doTemp.appendJboWhere(" and O.uuid=:uuid");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
@ -39,13 +39,13 @@ function afterSearch(){
var html="";
html+='<a onclick=downloadFile(\''+getItemValue(0,i,"ID")+'\')><font color="blue">'+getObj(0,i,"filename").innerHTML+'</font></a>';
getObj(0,i,"filename").innerHTML=html;
if(fileid.length>0){
<%-- if(fileid.length>0){
if("<%=RightType%>"=="ReadOnly"){
getObj(0,i,"action").innerHTML='&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn_icon_detail" onclick="editOffice(\''+fileid+'\',\''+filename+'\',\'1\')" title="²é¿´">&nbsp;</a>';
}else{
getObj(0,i,"action").innerHTML='&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn_icon_detail" onclick="editOffice(\''+fileid+'\',\''+filename+'\',\'1\')" title="²é¿´">&nbsp;</a>&nbsp;&nbsp;<a class="btn_icon_edit" onclick="editOffice(\''+fileid+'\',\''+filename+'\',\'2\')" title="±à¼­">&nbsp;</a>';
}
}
} --%>
}
}
//ÔÚÏ߱༭