|
@@ -563,6 +563,13 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
handleClick(row) {
|
|
|
+ if (row.publish_status == 1) {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "此教材处于上架状态不可以进行编辑",
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }
|
|
|
sessionStorage.setItem("Bookdetail", JSON.stringify(row));
|
|
|
this.$router.push("/input?bookId=" + row.id);
|
|
|
},
|