|
@@ -409,6 +409,7 @@
|
|
if(d.reportedState !=undefined && d.reportedState != null && d.reportedState !='' && d.reportedState !='0'){
|
|
if(d.reportedState !=undefined && d.reportedState != null && d.reportedState !='' && d.reportedState !='0'){
|
|
if(d.reportedState == 1){
|
|
if(d.reportedState == 1){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
|
|
+ xml+="<a href=\"${ctx}/project/projectReportedImport/delete?id=" + d.id + "\" onclick=\"return confirmx('确认要删除该项目信息吗?', this.href)\" class=\"layui-btn layui-btn-xs btn-danger btn-xs layui-bg-red\" > 删除</a>";
|
|
}
|
|
}
|
|
if(d.reportedState == 2){
|
|
if(d.reportedState == 2){
|
|
xml+="<a href=\"${ctx}/project/projectReportedImport/cancelInvalidateByReported?id=" + d.id + "&processInstanceId=" + d.processInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 撤回上报</a>";
|
|
xml+="<a href=\"${ctx}/project/projectReportedImport/cancelInvalidateByReported?id=" + d.id + "&processInstanceId=" + d.processInstanceId + "\" onclick=\"return confirmx('确认要撤回该上报审批吗?', this.href)\" class=\"layui-btn layui-btn-xs layui-bg-red\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 撤回上报</a>";
|
|
@@ -416,14 +417,17 @@
|
|
/*撤回修改*/
|
|
/*撤回修改*/
|
|
if(d.reportedState == 3){
|
|
if(d.reportedState == 3){
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
|
|
+ xml+="<a href=\"${ctx}/project/projectReportedImport/delete?id=" + d.id + "\" onclick=\"return confirmx('确认要删除该项目信息吗?', this.href)\" class=\"layui-btn layui-btn-xs btn-danger btn-xs layui-bg-red\" > 删除</a>";
|
|
}
|
|
}
|
|
/*驳回修改*/
|
|
/*驳回修改*/
|
|
if(d.reportedState == 4){
|
|
if(d.reportedState == 4){
|
|
//驳回操作
|
|
//驳回操作
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/reportedModify?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/reportedModify?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;' > 修改上报</a>";
|
|
|
|
+ xml+="<a href=\"${ctx}/project/projectReportedImport/delete?id=" + d.id + "\" onclick=\"return confirmx('确认要删除该项目信息吗?', this.href)\" class=\"layui-btn layui-btn-xs btn-danger btn-xs layui-bg-red\" > 删除</a>";
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上报</a>";
|
|
xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/project/projectReportedImport/updateReported?id=" + d.id + " ','95%', '95%','','上报,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上报</a>";
|
|
|
|
+ xml+="<a href=\"${ctx}/project/projectReportedImport/delete?id=" + d.id + "\" onclick=\"return confirmx('确认要删除该项目信息吗?', this.href)\" class=\"layui-btn layui-btn-xs btn-danger btn-xs layui-bg-red\" > 删除</a>";
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|