|
@@ -202,9 +202,11 @@ |
|
@@ -202,9 +202,11 @@ |
202
|
if (authStatus == null || authStatus == '0') {
|
202
|
if (authStatus == null || authStatus == '0') {
|
203
|
authStatusStr = "待审核";
|
203
|
authStatusStr = "待审核";
|
204
|
// $("#authBtn").attr("style", "display:block");
|
204
|
// $("#authBtn").attr("style", "display:block");
|
205
|
- } else if (authStatus == '1') {
|
205
|
+ } else if (authStatus == '1' ) {
|
206
|
authStatusStr = "已通过";
|
206
|
authStatusStr = "已通过";
|
207
|
- $("#cancelBtn").attr("style", "display:block");
|
207
|
+ if(detailInfo.publishTime == 'N'){
|
|
|
208
|
+ $("#cancelBtn").attr("style", "display:block");
|
|
|
209
|
+ }
|
208
|
} else if (authStatus == '2') {
|
210
|
} else if (authStatus == '2') {
|
209
|
authStatusStr = "未通过";
|
211
|
authStatusStr = "未通过";
|
210
|
// $("#authBtn").attr("style", "display:block");
|
212
|
// $("#authBtn").attr("style", "display:block");
|
|
@@ -293,7 +295,7 @@ |
|
@@ -293,7 +295,7 @@ |
293
|
alert(data.message);
|
295
|
alert(data.message);
|
294
|
}else{
|
296
|
}else{
|
295
|
$.messager.alert("操作成功", "操作成功", "info");
|
297
|
$.messager.alert("操作成功", "操作成功", "info");
|
296
|
- location = contextPath+"/html/grass/article/draftArticleList.html";
|
298
|
+ location .reload();
|
297
|
}
|
299
|
}
|
298
|
}, "json");
|
300
|
}, "json");
|
299
|
}
|
301
|
}
|
|
@@ -306,7 +308,7 @@ |
|
@@ -306,7 +308,7 @@ |
306
|
alert(data.message);
|
308
|
alert(data.message);
|
307
|
}else{
|
309
|
}else{
|
308
|
$.messager.alert("操作成功", "发布成功", "info");
|
310
|
$.messager.alert("操作成功", "发布成功", "info");
|
309
|
- location = contextPath+"/html/grass/article/draftArticleList.html";
|
311
|
+ location .reload();
|
310
|
}
|
312
|
}
|
311
|
}, "json");
|
313
|
}, "json");
|
312
|
}
|
314
|
}
|