修复回收站功能

This commit is contained in:
WangHao
2021-02-07 18:25:30 +08:00
parent db1fae1c4f
commit 60f25fc199

View File

@ -756,9 +756,11 @@
this.bookmarkList = response.rows; this.bookmarkList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
this.listloading = false
} else { } else {
this.showbookmark = false; this.showbookmark = false;
this.showimg = true; this.showimg = true;
this.listloading = false
} }
}); });
}, },
@ -770,9 +772,11 @@
this.bookmarkList = response.rows; this.bookmarkList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
this.listloading = false
} else { } else {
this.showbookmark = false; this.showbookmark = false;
this.showimg = true; this.showimg = true;
this.listloading = false
} }
}); });
}, },
@ -839,6 +843,16 @@
getListConcat(){ getListConcat(){
var that=this; var that=this;
this.loading = true; this.loading = true;
if(this.queryParams.menuId=='BOOKMARK'){
//全部书签
this.getBookmarkList();
return;
}else if (routedata == 'RECYCLE') {
//回收站
this.getrecycleList();
}else{
selectBymenuIdUserID(this.queryParams).then(response => { selectBymenuIdUserID(this.queryParams).then(response => {
if (response.code == 200) { if (response.code == 200) {
this.bookmarkList = this.bookmarkList.concat(response.rows); this.bookmarkList = this.bookmarkList.concat(response.rows);
@ -853,6 +867,10 @@
this.loading = false; this.loading = false;
} }
}); });
}
}, },
/** 查询便签管理列表 */ /** 查询便签管理列表 */