diff --git a/src/pages/achievement/teach/index.vue b/src/pages/achievement/teach/index.vue index b78f8d1..6b45802 100644 --- a/src/pages/achievement/teach/index.vue +++ b/src/pages/achievement/teach/index.vue @@ -177,10 +177,11 @@ export default { } }, handleDelete(row) { // 删除 + console.log(row) this.$confirm("确定要删除吗?", "提示", { type: "warning" }).then(() => { - this.$post(this.api.deleteExperimentalReport, [row.projectId]).then(res => { + this.$post(this.api.deleteExperimentalReport, [row.reportId]).then(res => { util.successMsg("删除成功"); this.getData(); }).catch(res => { @@ -194,8 +195,9 @@ export default { type: "warning" }).then(() => { let ids = this.multipleSelection.map(item => { - return item.projectId; + return item.reportId; }); + console.log(ids) this.$post(this.api.deleteExperimentalReport, ids).then(res => { this.multipleSelection = []; this.$refs.table.clearSelection(); diff --git a/src/pages/information/contentManage/contentList.vue b/src/pages/information/contentManage/contentList.vue index e57a9a9..be3f220 100644 --- a/src/pages/information/contentManage/contentList.vue +++ b/src/pages/information/contentManage/contentList.vue @@ -96,14 +96,6 @@ export default { this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => { this.listData = res.articleList; this.totals = res.total; - // 测试中。。。以下可删 - for(let i=0; i<9; i++) { - this.listData.push(res.articleList[0]) - } - - console.log(res) - - if (!this.listData.length && this.totals) { this.pageNo--; this.getData(); @@ -216,9 +208,4 @@ export default { .off + span { display: none; } - -.page-content { - height: 67vh; - overflow: auto!important; -} \ No newline at end of file diff --git a/src/pages/information/contentManage/index.vue b/src/pages/information/contentManage/index.vue index 4031e8a..80cef3d 100644 --- a/src/pages/information/contentManage/index.vue +++ b/src/pages/information/contentManage/index.vue @@ -85,10 +85,11 @@ export default {