Authored by 张帅

fix

... ... @@ -1269,7 +1269,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{
rspBo.setSort(article.getSort() == null ? 1 : article.getSort());
rspBo.setCopyright(article.getCopyright());
rspBo.setActionUrl(linkMap.get(article.getId()) == null ? "" : linkMap.get(article.getId()));
rspBo.setHasPublished(article.getCreateTime() >= System.currentTimeMillis() ? "Y":"N");
rspBo.setHasPublished(article.getCreateTime() >= System.currentTimeMillis() ? "N":"Y");
rspBoList.add(rspBo);
});
return rspBoList;
... ...
... ... @@ -179,7 +179,7 @@
$("#cancelBtn").attr("style", "display:none");
} else if (authStatus == '1' ) {
authStatusStr = "已通过";
if(detailInfo.hasPublished == 'Y'){
if(detailInfo.hasPublished == 'N'){
// $("#cancelBtn").attr("style", "display:block");
$("#publishBtn").attr("style", "display:none");
$("#timerBtn").attr("style", "display:none");
... ...
... ... @@ -160,7 +160,7 @@
$("#cancelBtn").attr("style", "display:none");
} else if (authStatus == '1' ) {
authStatusStr = "已通过";
if(detailInfo.hasPublished == 'Y'){
if(detailInfo.hasPublished == 'N'){
// $("#cancelBtn").attr("style", "display:block");
$("#publishBtn").attr("style", "display:none");
$("#timerBtn").attr("style", "display:none");
... ...