修改APP意见反馈附件清单

This commit is contained in:
zhangjun 2020-08-04 10:39:08 +08:00
parent 773b6a6600
commit 1fa2de6f76
2 changed files with 1 additions and 46 deletions

View File

@ -5,11 +5,7 @@
Content:
History Log:
*/
String flowunid=CurPage.getParameter("ObjectNo");
String sObjectType=CurPage.getParameter("FlowNo");
ASObjectModel doTemp = new ASObjectModel("APPFeedbackOpinionList");
String isHistory=CurPage.getParameter("IsHistory");
String RightType=CurPage.getParameter("RightType");
String userName=CurUser.getUserName();
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
@ -29,10 +25,6 @@
//在加载完表格后调用
function afterSearch(){
var isHistory="<%=isHistory%>";
var rightType="<%=RightType%>";
var userName="<%=userName%>";
var sObjectType="<%=sObjectType%>";//¸ÃÁ÷³ÌÀàÐÍ
for(var i=0;i<getRowCount(0);i++){
var filelist=getObj(0,i,"filelist").innerHTML;
var obj=eval('('+filelist+')');
@ -42,9 +34,6 @@ function afterSearch(){
html+='【上传时间:'+obj[file]['inputtime']+'】';
html+='【上传人:'+obj[file]['inputuser']+'】';
html+='【大小:'+Math.floor(obj[file]['FileSize']/1024*100)/100+'kb】<a class="btn_icon_detail" onclick="editOffice(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\',\''+obj[file]['inputuser']+'\')">&nbsp;</a> ';
if(rightType!='ReadOnly'&&isHistory!="true"&&sObjectType==obj[file]['objecttype']&&userName==obj[file]['inputuser']){
html+='<a class="btn_icon btn_icon_close" onclick="deleteFile(\''+obj[file]['id']+'\')">&nbsp;</a>';
}
if(obj[file]['image']=="true"){
html+='<a class="btn_icon btn_icon_search" onclick="showImage(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');">&nbsp;</a>';
}
@ -78,44 +67,10 @@ function afterSearch(){
},name);
}
function upload(id){
//saveRecord();
var param="Library_id="+id;
var sUrl="/Tenwa/Comm/DocList/DocListInfo.jsp";
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=400px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
var str=RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","updateBussinessCheck","library_id="+id+",BussinessCheck=DocCheck_0");
// reloadSelf();
location.reload();
heping();
},"ÉÏ´«¸½¼þ");
}
function downloadFile(id){
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 deleteFile(id){
var sParams="attId="+id+",BussinessCheck=DocCheck_2";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","deleteAttr",sParams);
reloadSelf();
heping();
}
function newRecord(){
var sUrl = "";

View File

@ -194,7 +194,7 @@ public class ContractMakeController {
@Context Transaction sqlca) throws Exception {
ReturnMapUtil ReturnMapUtil = new ReturnMapUtil(tx, sqlca);
ARE.getLog()
.info("[CONTROLLER] BusinessDataController run .................");
.info("[CONTROLLER] ContractMakeController run .................");
ARE.getLog().info(
"[Path] /contract/make/deleteContract/contract" + " run .................");
try {