diff --git a/src/views/journal/index.vue b/src/views/journal/index.vue
index 6f8ecf1..c545cad 100644
--- a/src/views/journal/index.vue
+++ b/src/views/journal/index.vue
@@ -155,7 +155,7 @@
详情
+
+ 删除
+
@@ -567,6 +586,16 @@ export default {
}
});
},
+ handleDeleteClick(row) {
+ journalApi.delete(row.id).then(res => {
+ if (res.code === 200) {
+ this.$message.success(res.message);
+ this.fetchData(this.queryForm.lastQuery);
+ } else {
+ this.$message.error(res.message);
+ }
+ });
+ },
/**
* 表格内状态滑块切换事件
*/