查看成绩报告删除传ID问题

dev_2022-05-11
e 3 years ago
parent 4ed82ecdc6
commit 2011c40fe9
  1. 4
      src/pages/achievement/vir/index.vue

@ -152,7 +152,7 @@ export default {
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 => {
@ -166,7 +166,7 @@ export default {
type: "warning"
}).then(() => {
let ids = this.multipleSelection.map(item => {
return item.projectId;
return item.reportId;
});
this.$post(this.api.deleteExperimentalReport, ids).then(res => {
this.multipleSelection = [];

Loading…
Cancel
Save