|
@@ -383,7 +383,7 @@
|
|
|
</shiro:hasPermission>
|
|
|
,"cancancel":<c:choose><c:when test="${projectRecords.projectStatus == 2 && fns:getUser().id == projectRecords.createBy.id}">"1"</c:when><c:otherwise>"0"</c:otherwise></c:choose>
|
|
|
,"deleteAdmin":<c:choose><c:when test="${'1' == projectRecords.flagAdmin && projectRecords.projectStatus == 5}">"1"</c:when><c:otherwise>"0"</c:otherwise></c:choose>
|
|
|
- ,"recordStatus":<c:choose><c:when test="${'5' != projectRecords.projectReportRecordStatus && projectRecords.projectStatus == 5}">"1"</c:when><c:otherwise>"0"</c:otherwise></c:choose>
|
|
|
+
|
|
|
</c:when>
|
|
|
<c:otherwise>
|
|
|
,"candel":"0"
|
|
@@ -396,13 +396,20 @@
|
|
|
</c:otherwise>
|
|
|
</c:choose>
|
|
|
<shiro:hasPermission name="ruralProject:ruralCostProjectRecords:edit">,"canedit3":<c:choose><c:when test="${projectRecords.projectStatus == 5 && fn:contains(projectRecords.leaderIds,fns:getUser().id)}">"1"</c:when><c:otherwise>"0"</c:otherwise></c:choose></shiro:hasPermission>
|
|
|
- <shiro:hasPermission name="ruralProject:ruralCostProjectRecords:adminAccessory">
|
|
|
- ,"adminAccessory":
|
|
|
+ <shiro:hasPermission name="ruralProject:ruralCostProjectRecords:accessory">
|
|
|
+ ,"recordStatus":
|
|
|
<c:choose>
|
|
|
<c:when test="${projectRecords.projectStatus == 5 && '5' != projectRecords.projectReportRecordStatus}">"1"</c:when>
|
|
|
<c:otherwise>"0"</c:otherwise>
|
|
|
</c:choose>
|
|
|
</shiro:hasPermission>
|
|
|
+ <shiro:hasPermission name="ruralProject:ruralCostProjectRecords:adminAccessory">
|
|
|
+ ,"adminAccessory":
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectRecords.projectStatus == 5 && '5' != projectRecords.projectReportRecordStatus}">"1"</c:when>
|
|
|
+ <c:otherwise>"0"</c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </shiro:hasPermission>
|
|
|
}
|
|
|
</c:forEach>
|
|
|
</c:if>
|