|
@@ -1,6 +1,11 @@
|
|
|
|
+<%@ page import="com.jeeplus.modules.sys.utils.UserUtils" %>
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
|
|
+
|
|
|
|
+<%
|
|
|
|
+ boolean admin = UserUtils.getUser().isAdmin();
|
|
|
|
+%>
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<head>
|
|
<title>项目列表</title>
|
|
<title>项目列表</title>
|
|
@@ -961,25 +966,27 @@
|
|
if ('0'!=d.projectReportStatus && '6'!=d.projectReportStatus && '1'!=d.projectReportStatus){
|
|
if ('0'!=d.projectReportStatus && '6'!=d.projectReportStatus && '1'!=d.projectReportStatus){
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改质量复核', '${ctx}/ruralProject/ruralProjectMessage/adminEditForm?projectId=" + 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=\"openDialogre('修改质量复核', '${ctx}/ruralProject/ruralProjectMessage/adminEditForm?projectId=" + d.id + "','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改质量复核</a>";
|
|
}
|
|
}
|
|
- if(d.paperFilingStatus == 5 || d.paperFilingStatus == 7){
|
|
|
|
|
|
+ /*if(d.paperFilingStatus == 5 || d.paperFilingStatus == 7){
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改纸质归档案卷号', '${ctx}/paperFiling/paperFiling/adminPaperFiling?id=" + d.ppfId + "&projectId=" + d.id +"&view=filing ','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=\"openDialogre('修改纸质归档案卷号', '${ctx}/paperFiling/paperFiling/adminPaperFiling?id=" + d.ppfId + "&projectId=" + d.id +"&view=filing ','95%', '95%','','提交,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 修改纸质归档</a>";
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
//项目升级按钮
|
|
//项目升级按钮
|
|
if (d.submitMoney==1){
|
|
if (d.submitMoney==1){
|
|
if (d.projectReportRecordStatus==0 || d.projectReportRecordStatus==1 || d.projectReportRecordStatus==2 || d.projectReportRecordStatus==3 || d.projectReportRecordStatus==6){
|
|
if (d.projectReportRecordStatus==0 || d.projectReportRecordStatus==1 || d.projectReportRecordStatus==2 || d.projectReportRecordStatus==3 || d.projectReportRecordStatus==6){
|
|
xml+="<a href=\"#\" onclick=\"projectUpgrade('"+d.id+"','"+d.projectReportRecordStatus+"','"+d.filingProjectStatus+"','"+d.projectReportStatus+"','"+d.projectReportStatusTwo+"')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 项目升级</a>";
|
|
xml+="<a href=\"#\" onclick=\"projectUpgrade('"+d.id+"','"+d.projectReportRecordStatus+"','"+d.filingProjectStatus+"','"+d.projectReportStatus+"','"+d.projectReportStatusTwo+"')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 项目升级</a>";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if(d.projectReportStatus == 5 || d.projectReportStatus == 7){
|
|
|
|
|
|
+ /*if(d.projectReportStatus == 5 || d.projectReportStatus == 7){
|
|
if (d.projectReportStatusTwo != 5 && d.projectReportStatusTwo != 2){
|
|
if (d.projectReportStatusTwo != 5 && d.projectReportStatusTwo != 2){
|
|
xml+="<a href=\"#\" onclick=\"openDialogre('修改报告质量复核信息', '${ctx}/ruralProject/ruralProjectMessageNew/reviewForm?projectId=" + d.id +"&view=reloadReport&edit=reviewAgain','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=\"openDialogre('修改报告质量复核信息', '${ctx}/ruralProject/ruralProjectMessageNew/reviewForm?projectId=" + d.id +"&view=reloadReport&edit=reviewAgain','95%', '95%','','送审,暂存,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;'> 重新复核</a>";
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
</shiro:hasPermission>
|
|
</shiro:hasPermission>
|
|
|
|
|
|
<shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
<shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
if(d.reportedState == 5 || d.reportedState == 7){
|
|
if(d.reportedState == 5 || d.reportedState == 7){
|
|
- xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralCostProjectMessageNew/submitReportedProvincialStanding?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;background-color: #1E9FFF'> 提交省站</a>";
|
|
|
|
|
|
+ if(!<%=admin%>){
|
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralCostProjectMessageNew/submitReportedProvincialStanding?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='height: 32px;margin-top: 5px;margin-bottom: 5px;background-color: #1E9FFF'> 提交省站</a>";
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</shiro:hasPermission>
|
|
</shiro:hasPermission>
|
|
//材料库处理按钮
|
|
//材料库处理按钮
|