|
@@ -666,7 +666,7 @@ export default {
|
|
|
getList() {
|
|
|
let MethodName = "book-book_manager-PageQueryBookList";
|
|
|
let data = {
|
|
|
- name: this.form.name,
|
|
|
+ name: this.form.name.trim(),
|
|
|
page_capacity: this.page_capacity,
|
|
|
cur_page: this.currentPage,
|
|
|
org_id: this.form.agency,
|
|
@@ -857,12 +857,12 @@ export default {
|
|
|
},
|
|
|
// 删除书籍
|
|
|
handleDel(row) {
|
|
|
- if(row.publish_status==1){
|
|
|
- this.$message({
|
|
|
- type: "warning",
|
|
|
- message: "此教材处于上架状态不可以进行删除",
|
|
|
- });
|
|
|
- return false
|
|
|
+ if (row.publish_status == 1) {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "此教材处于上架状态不可以进行删除",
|
|
|
+ });
|
|
|
+ return false;
|
|
|
}
|
|
|
this.$confirm("确定要删除此书籍吗?", "提示", {
|
|
|
confirmButtonText: "确定",
|