|
@@ -250,7 +250,7 @@
|
|
|
{
|
|
|
xml+="<a href=\"#\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' onclick=\"notifyDialogre('审定单签章申请审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.approvalNotifyId +"&home=projectReportSignature','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
|
}
|
|
|
- if(d.approvalCancancel1 != undefined && d.approvalCancancel1 =="1")
|
|
|
+ if(d.approvalCancancel1 != undefined && d.approvalCancancel1 =="1" && d.isApproval == "2")
|
|
|
{
|
|
|
xml+="<a href=\"#\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' onclick=\"openDialogre('审定单签章申请', '${ctx}/projectReport/projectReportSignature/approvalForm?id=" + d.id +"','95%', '95%','','送审,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审定单签章</a>";
|
|
|
}
|
|
@@ -275,7 +275,7 @@
|
|
|
{
|
|
|
xml+="<a href=\"${ctx}/projectReport/projectReportSignature/deleteApproval?id=" + d.approvalId + "\" onclick=\"return confirmx('确认要作废该审定单签章申请信息吗?', this.href)\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-red\"> 删除审定单签章</a>";
|
|
|
}
|
|
|
- if(d.approvalCancancel2 != undefined && d.approvalCancancel2 =="1")
|
|
|
+ if(d.approvalCancancel2 != undefined && d.approvalCancancel2 =="1" && d.isReport == "1")
|
|
|
{
|
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('报告签章申请', '${ctx}/projectReport/projectReportSignature/reportForm?id=" + d.id +"','95%', '95%','','送审,暂存,关闭')\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' class=\"layui-btn layui-btn-xs layui-bg-green\" > 报告签章</a>";
|
|
|
}
|
|
@@ -605,6 +605,12 @@
|
|
|
,"signatureUrlFlag":"${projectReportSignature.signatureUrlFlag}"
|
|
|
,"signatureContractId":"${projectReportSignature.signatureContractId}"
|
|
|
,"reportSignatureUrl":"${projectReportSignature.reportSignatureUrl}"
|
|
|
+ <c:if test="${isReport == '1'}">
|
|
|
+ ,"isReport":"1"
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${isApproval == '2'}">
|
|
|
+ ,"isApproval":"2"
|
|
|
+ </c:if>
|
|
|
,"reportSignatureUrlFlag":"${projectReportSignature.reportSignatureUrlFlag}"
|
|
|
,"reportSignatureContractId":"${projectReportSignature.reportSignatureContractId}"
|
|
|
,"approvalSignatureUrl":"${projectReportSignature.approvalSignatureUrl}"
|