diff --git a/src/views/Report/ReportManager.vue b/src/views/Report/ReportManager.vue index 566bdbd..56383be 100644 --- a/src/views/Report/ReportManager.vue +++ b/src/views/Report/ReportManager.vue @@ -91,7 +91,7 @@ @@ -913,13 +913,17 @@ export default { this.reportDateList(); }, // 报告删除 - reportDelete(ids) { + reportDelete(row) { + if(+row.isAct == 0){ + this.$message.warning("当前选择的"+row.name+"已经在流程中") + return + } this.$confirm('此操作将删除所选数据, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { - this.$api.report.reportDelete({ ids }).then(_ => { + this.$api.report.reportDelete({ ids:row.id }).then(_ => { this.$message.success('操作成功'); this.reportList(); this.reportDateList();