|
@@ -1,5 +1,9 @@
|
|
|
+<%@ page import="com.jeeplus.modules.sys.utils.UserUtils" %>
|
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
+<%
|
|
|
+ boolean admin = UserUtils.getUser().isAdmin();
|
|
|
+%>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>项目列表</title>
|
|
@@ -1079,7 +1083,7 @@
|
|
|
}
|
|
|
return xml;
|
|
|
}}
|
|
|
- ,{field:'op',align:'center',title:"操作",width:330,templet:function(d) {
|
|
|
+ ,{field:'op',align:'center',title:"操作",width:380,templet:function(d) {
|
|
|
////对操作进行初始化
|
|
|
var xml = '<div class=\"layui-btn-group\">';
|
|
|
|
|
@@ -1176,12 +1180,13 @@
|
|
|
}
|
|
|
</shiro:hasPermission>
|
|
|
|
|
|
- <shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
|
- if(d.reportedState == 10){
|
|
|
- xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageAll/adminSubmitReportedProvincialStanding?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='margin-top: 5px;margin-bottom: 5px;' > 提交省站</a>";
|
|
|
- }
|
|
|
- </shiro:hasPermission>
|
|
|
-
|
|
|
+ <c:if test="<%=admin%>">
|
|
|
+ <shiro:hasPermission name="ruralProject:ruralCostProjectMessage:reportedProvincialStanding">
|
|
|
+ if(d.reportedState == 10){
|
|
|
+ xml+="<a href=\"#\" onclick=\"openDialogreReportSwitch('上报管理', '${ctx}/ruralProject/ruralProjectMessageAll/adminSubmitReportedProvincialStanding?id=" + d.id + " ','95%', '95%','','上报,关闭')\" class=\"layui-btn layui-btn-xs layui-bg-green\" style='margin-top: 5px;margin-bottom: 5px;' > 提交省站</a>";
|
|
|
+ }
|
|
|
+ </shiro:hasPermission>
|
|
|
+ </c:if>
|
|
|
|
|
|
|
|
|
xml+="</div>";
|