|
@@ -278,6 +278,10 @@
|
|
|
{
|
|
|
xml +="<a href=\"javascript:void(0)\" onclick=\"openDialog('添加项目计划信息', '${ctx}/project/projectPlanConsulting/form?view=form&id='+encodeURIComponent('" + d.id + "'),'95%','95%','')\" class=\"layui-btn layui-btn-xs layui-bg-blue\" > 添加</a>";
|
|
|
}
|
|
|
+ if(d.adminEdit != undefined && d.adminEdit =="1")
|
|
|
+ {
|
|
|
+ xml +="<a href=\"javascript:void(0)\" onclick=\"openDialog('编辑项目计划信息', '${ctx}/project/projectPlanConsulting/form?view=form&id='+encodeURIComponent('" + d.id + "'),'95%','95%','')\" class=\"layui-btn layui-btn-xs layui-bg-green\" > 编辑</a>";
|
|
|
+ }
|
|
|
xml+="</div>"
|
|
|
return xml;
|
|
|
|
|
@@ -313,6 +317,11 @@
|
|
|
<shiro:hasPermission name="ruralProject:ruralProjectView:consultingPlanView">
|
|
|
,"showView":1
|
|
|
</shiro:hasPermission>
|
|
|
+ <shiro:hasPermission name="project:projectPlanCost:adminEdit">
|
|
|
+ <c:if test="${projectRecords.planCount>0}">
|
|
|
+ ,"adminEdit":<c:choose><c:when test="${projectRecords.projectStatus == 5}">"1"</c:when><c:otherwise>"0"</c:otherwise></c:choose>
|
|
|
+ </c:if>
|
|
|
+ </shiro:hasPermission>
|
|
|
}
|
|
|
</c:forEach>
|
|
|
</c:if>
|