diff --git a/src/views/evaluation/branch_hazard_assessment/components/evaluation.vue b/src/views/evaluation/branch_hazard_assessment/components/evaluation.vue index 090f743..7039d49 100644 --- a/src/views/evaluation/branch_hazard_assessment/components/evaluation.vue +++ b/src/views/evaluation/branch_hazard_assessment/components/evaluation.vue @@ -164,6 +164,12 @@ icon="el-icon-view" @click="fnEvaluation(row.HIDDEN_ID,row.SOURCE, row.CREATOR,'edit')">考评 + 删除 + @@ -420,6 +426,34 @@ export default { }) } }) + }, + fnDelvaluation(hiddenId) { + this.$confirm('确定要删除选中的评审记录吗?', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.listLoading = true + requestFN( + '/hiddenevaluationrecord/deleteEvaluation', + { + HIDDEN_ID: hiddenId + } + ).then((data) => { + this.listLoading = false + if (data.result === 'success') { + this.$message.success('删除成功') + this.getList() + } else { + this.$message({ + message: data.message, + type: 'error' + }) + } + }).catch((e) => { + }) + }).catch(() => { + }) } } }