...
|
...
|
@@ -202,9 +202,11 @@ |
|
|
if (authStatus == null || authStatus == '0') {
|
|
|
authStatusStr = "待审核";
|
|
|
// $("#authBtn").attr("style", "display:block");
|
|
|
} else if (authStatus == '1') {
|
|
|
} else if (authStatus == '1' ) {
|
|
|
authStatusStr = "已通过";
|
|
|
$("#cancelBtn").attr("style", "display:block");
|
|
|
if(detailInfo.publishTime == 'N'){
|
|
|
$("#cancelBtn").attr("style", "display:block");
|
|
|
}
|
|
|
} else if (authStatus == '2') {
|
|
|
authStatusStr = "未通过";
|
|
|
// $("#authBtn").attr("style", "display:block");
|
...
|
...
|
@@ -293,7 +295,7 @@ |
|
|
alert(data.message);
|
|
|
}else{
|
|
|
$.messager.alert("操作成功", "操作成功", "info");
|
|
|
location = contextPath+"/html/grass/article/draftArticleList.html";
|
|
|
location .reload();
|
|
|
}
|
|
|
}, "json");
|
|
|
}
|
...
|
...
|
@@ -306,7 +308,7 @@ |
|
|
alert(data.message);
|
|
|
}else{
|
|
|
$.messager.alert("操作成功", "发布成功", "info");
|
|
|
location = contextPath+"/html/grass/article/draftArticleList.html";
|
|
|
location .reload();
|
|
|
}
|
|
|
}, "json");
|
|
|
}
|
...
|
...
|
|