|
@@ -350,12 +350,12 @@
|
|
function complain(d){//操作中显示的内容
|
|
function complain(d){//操作中显示的内容
|
|
if(d.pid=="0") {
|
|
if(d.pid=="0") {
|
|
return [
|
|
return [
|
|
- '<a href="javascript:void(0)" onclick="openDialogreAudit(\'新增工作内容\', \'${ctx}/project/projectVisa/form?contractId='+d.contractId+' \',\'95%\',\'95%\')" style=\"color: white;background: darkseagreen\" class="op-btn op-btn-add" ><i class="fa fa-plus"></i> 新增</a>',
|
|
|
|
|
|
+ '<a href="javascript:void(0)" onclick="openDialogreAudit(\'新增工作内容\', \'${ctx}/project/projectVisa/form?type=1&contractId='+d.contractId+' \',\'95%\',\'95%\')" style=\"color: white;background: darkseagreen\" class="op-btn op-btn-add" ><i class="fa fa-plus"></i> 新增</a>',
|
|
].join('');
|
|
].join('');
|
|
} else if (d.pid!="0"){
|
|
} else if (d.pid!="0"){
|
|
return [
|
|
return [
|
|
- '<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改工作内容\', \'${ctx}/project/projectVisa/updateTable?id='+d.id+'&contractId='+d.contractId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>',
|
|
|
|
- /*'<a href="${ctx}/projectcontentinfo/projectcontentinfo/delete?infoId='+d.id+'&id='+d.contentPId+'&type=8&condition=record" onclick="return confirmxRefresh(\'确认要删除该工作内容报告吗?\', this.href)" class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>',*/
|
|
|
|
|
|
+ '<a href="javascript:void(0)" onclick="openDialogreAudit(\'修改工作内容\', \'${ctx}/project/projectVisa/updateTable?type=1&id='+d.id+'&contractId='+d.contractId+'\',\'95%\',\'95%\')" class="op-btn op-btn-edit" ><i class="fa fa-edit"></i> 编辑</a>',
|
|
|
|
+ '<a href="${ctx}/project/projectVisa/delete?type=1&id='+d.id+'" onclick="return confirmxRefresh(\'确认要删除该签证汇总表吗?\', this.href)" class="op-btn op-btn-delete"><i class="fa fa-trash"></i> 删除</a>',
|
|
].join('');
|
|
].join('');
|
|
|
|
|
|
}
|
|
}
|
|
@@ -486,7 +486,7 @@
|
|
parent.layer.msg(data.msg,{icon:2});
|
|
parent.layer.msg(data.msg,{icon:2});
|
|
}
|
|
}
|
|
//parent.refreshTrees();
|
|
//parent.refreshTrees();
|
|
- location = '${ctx}/project/projectRecords/list';
|
|
|
|
|
|
+ location = '${ctx}/project/projectVisa/list';
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|