From 3f996243d9dcf1a5a2e367dd9938b1dfe7165c4d Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Mon, 11 Jul 2022 18:13:48 +0800 Subject: [PATCH] zx --- src/views/QuestManage/_questList/index.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/views/QuestManage/_questList/index.vue b/src/views/QuestManage/_questList/index.vue index 49b661f..8baa4e1 100644 --- a/src/views/QuestManage/_questList/index.vue +++ b/src/views/QuestManage/_questList/index.vue @@ -65,6 +65,7 @@ 查看 传播效果 终止 + 立刻结算 @@ -176,6 +177,18 @@ export default defineComponent({ }).catch(() => {}); }).catch(() => {}) }, + hanlderFinish(id) { + this.$alert( + '是否立即结算?', //文字 + '立即结算', //标题 + {type: 'warning'} + ).then(() => { + this.proxy.$post("/task/finish", {id: id}).then(res => { + this.getData(); + this.$message.success('操作成功'); + }).catch(() => {}); + }).catch(() => {}) + }, hanlderDelete(id) { this.$alert( '是否删除?', //文字