|
@@ -531,13 +531,13 @@
|
|
|
,{field:'op',align:'center',title:"操作",width:180,templet:function(d){
|
|
|
////对操作进行初始化
|
|
|
var xml="<div class=\"layui-btn-group\">";
|
|
|
- /*if(d.notifyFlag != undefined && d.notifyFlag !=null && "" != d.notifyFlag && d.notifyFlag == 1)
|
|
|
+ if(d.notifyFlag != undefined && d.notifyFlag !=null && "" != d.notifyFlag && d.notifyFlag == 1)
|
|
|
{
|
|
|
xml+="<a href=\"#\" onclick=\"notifyDialogre('项目审批', '${ctx}/workprojectnotify/workProjectNotify/form?id=" + d.notifyId +"&home=project','95%', '95%')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 审批</a>";
|
|
|
}
|
|
|
if(d.canedit1 != undefined && d.canedit1 =="1")
|
|
|
{
|
|
|
- xml+="<a href=\"#\" onclick=\"openDialogre('修改项目', '${ctx}/ruralProject/ruralCostProjectRecords/form?id=" + d.id +"','95%', '95%','','送审,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogre('修改项目', '${ctx}/ruralProject/ruralCostProjectRecords/form?id=" + d.id +"','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
}
|
|
|
if(d.canedit2 != undefined && d.canedit2 =="1")
|
|
|
{
|
|
@@ -545,7 +545,7 @@
|
|
|
}
|
|
|
if(d.canrecall != undefined && d.canrecall =="1")
|
|
|
{
|
|
|
- xml+="<a href=\"#\" onclick=\"openDialogre('调整项目', '${ctx}/ruralProject/ruralCostProjectRecords/form?id=" + d.id + "','95%', '95%','','送审,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogre('调整项目', '${ctx}/ruralProject/ruralCostProjectRecords/form?id=" + d.id + "','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 修改</a>";
|
|
|
}
|
|
|
if(d.candel != undefined && d.candel =="1")
|
|
|
{
|
|
@@ -554,7 +554,7 @@
|
|
|
if(d.cancancel != undefined && d.cancancel =="1")
|
|
|
{
|
|
|
xml+="<a href=\"${ctx}/ruralProject/ruralCostProjectRecords/revoke?id=" + d.id + "&processInstanceId=" + d.procId + "&projectStatus="+d.projectStatus+"\" onclick=\"return confirmx('确认要撤回该项目审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 撤回</a>";
|
|
|
- }*/
|
|
|
+ }
|
|
|
//项目在没有归档完成之前可对文档进行操作
|
|
|
if(d.recordStatus != undefined && d.recordStatus =="1")
|
|
|
{
|