|
|
|
@ -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 = []; |
|
|
|
|