Merge remote-tracking branch 'origin/master'

dev_2022-05-11
e 3 years ago
commit d3aba5705a
  1. 6
      src/pages/achievement/teach/index.vue
  2. 13
      src/pages/information/contentManage/contentList.vue
  3. 3
      src/pages/information/contentManage/index.vue
  4. 2
      src/pages/information/list/index.vue

@ -177,10 +177,11 @@ export default {
} }
}, },
handleDelete(row) { // handleDelete(row) { //
console.log(row)
this.$confirm("确定要删除吗?", "提示", { this.$confirm("确定要删除吗?", "提示", {
type: "warning" type: "warning"
}).then(() => { }).then(() => {
this.$post(this.api.deleteExperimentalReport, [row.projectId]).then(res => { this.$post(this.api.deleteExperimentalReport, [row.reportId]).then(res => {
util.successMsg("删除成功"); util.successMsg("删除成功");
this.getData(); this.getData();
}).catch(res => { }).catch(res => {
@ -194,8 +195,9 @@ export default {
type: "warning" type: "warning"
}).then(() => { }).then(() => {
let ids = this.multipleSelection.map(item => { let ids = this.multipleSelection.map(item => {
return item.projectId; return item.reportId;
}); });
console.log(ids)
this.$post(this.api.deleteExperimentalReport, ids).then(res => { this.$post(this.api.deleteExperimentalReport, ids).then(res => {
this.multipleSelection = []; this.multipleSelection = [];
this.$refs.table.clearSelection(); this.$refs.table.clearSelection();

@ -96,14 +96,6 @@ export default {
this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => { this.$get(`${this.api.queryArticleByCondition}/${this.pageNo}/${this.pageSize}`, data).then(res => {
this.listData = res.articleList; this.listData = res.articleList;
this.totals = res.total; 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) { if (!this.listData.length && this.totals) {
this.pageNo--; this.pageNo--;
this.getData(); this.getData();
@ -216,9 +208,4 @@ export default {
.off + span { .off + span {
display: none; display: none;
} }
.page-content {
height: 67vh;
overflow: auto!important;
}
</style> </style>

@ -85,10 +85,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.menu-con { .menu-con {
//
height: calc(100vh - 250px); height: calc(100vh - 250px);
border-right: solid 1px #e6e6e6; border-right: solid 1px #e6e6e6;
background-color: #F2F6FC; background-color: #F2F6FC;
overflow: hidden; // overflow: hidden;
.el-menu { .el-menu {
background-color: transparent; background-color: transparent;

@ -45,7 +45,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.page .el-tabs--left { .page .el-tabs--left {
height: calc(100vh - 250px); // height: calc(100vh - 250px);
/deep/ .el-tabs__item { /deep/ .el-tabs__item {
height: 60px; height: 60px;

Loading…
Cancel
Save